toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (description != null) 'description': description!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (hcx != null) 'hcx': hcx!,
      if (managementCluster != null) 'managementCluster': managementCluster!,
      if (name != null) 'name': name!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (nsx != null) 'nsx': nsx!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (vcenter != null) 'vcenter': vcenter!,
    };