CloudExadataInfrastructureProperties.fromJson constructor

CloudExadataInfrastructureProperties.fromJson(
  1. Map json_
)

Implementation

CloudExadataInfrastructureProperties.fromJson(core.Map json_)
    : this(
        activatedStorageCount: json_['activatedStorageCount'] as core.int?,
        additionalStorageCount: json_['additionalStorageCount'] as core.int?,
        availableStorageSizeGb: json_['availableStorageSizeGb'] as core.int?,
        computeCount: json_['computeCount'] as core.int?,
        cpuCount: json_['cpuCount'] as core.int?,
        customerContacts: (json_['customerContacts'] as core.List?)
            ?.map((value) => CustomerContact.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        dataStorageSizeTb:
            (json_['dataStorageSizeTb'] as core.num?)?.toDouble(),
        dbNodeStorageSizeGb: json_['dbNodeStorageSizeGb'] as core.int?,
        dbServerVersion: json_['dbServerVersion'] as core.String?,
        maintenanceWindow: json_.containsKey('maintenanceWindow')
            ? MaintenanceWindow.fromJson(json_['maintenanceWindow']
                as core.Map<core.String, core.dynamic>)
            : null,
        maxCpuCount: json_['maxCpuCount'] as core.int?,
        maxDataStorageTb:
            (json_['maxDataStorageTb'] as core.num?)?.toDouble(),
        maxDbNodeStorageSizeGb: json_['maxDbNodeStorageSizeGb'] as core.int?,
        maxMemoryGb: json_['maxMemoryGb'] as core.int?,
        memorySizeGb: json_['memorySizeGb'] as core.int?,
        monthlyDbServerVersion:
            json_['monthlyDbServerVersion'] as core.String?,
        monthlyStorageServerVersion:
            json_['monthlyStorageServerVersion'] as core.String?,
        nextMaintenanceRunId: json_['nextMaintenanceRunId'] as core.String?,
        nextMaintenanceRunTime:
            json_['nextMaintenanceRunTime'] as core.String?,
        nextSecurityMaintenanceRunTime:
            json_['nextSecurityMaintenanceRunTime'] as core.String?,
        ociUrl: json_['ociUrl'] as core.String?,
        ocid: json_['ocid'] as core.String?,
        shape: json_['shape'] as core.String?,
        state: json_['state'] as core.String?,
        storageCount: json_['storageCount'] as core.int?,
        storageServerVersion: json_['storageServerVersion'] as core.String?,
        totalStorageSizeGb: json_['totalStorageSizeGb'] as core.int?,
      );