PrivateCloud.fromJson constructor

PrivateCloud.fromJson(
  1. Map json_
)

Implementation

PrivateCloud.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        deleteTime: json_.containsKey('deleteTime')
            ? json_['deleteTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        hcx: json_.containsKey('hcx')
            ? Hcx.fromJson(
                json_['hcx'] as core.Map<core.String, core.dynamic>)
            : null,
        managementCluster: json_.containsKey('managementCluster')
            ? ManagementCluster.fromJson(json_['managementCluster']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        networkConfig: json_.containsKey('networkConfig')
            ? NetworkConfig.fromJson(
                json_['networkConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        nsx: json_.containsKey('nsx')
            ? Nsx.fromJson(
                json_['nsx'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        vcenter: json_.containsKey('vcenter')
            ? Vcenter.fromJson(
                json_['vcenter'] as core.Map<core.String, core.dynamic>)
            : null,
      );