DbServerProperties.fromJson constructor

DbServerProperties.fromJson(
  1. Map json_
)

Implementation

DbServerProperties.fromJson(core.Map json_)
  : this(
      dbNodeIds:
          (json_['dbNodeIds'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      dbNodeStorageSizeGb: json_['dbNodeStorageSizeGb'] as core.int?,
      maxDbNodeStorageSizeGb: json_['maxDbNodeStorageSizeGb'] as core.int?,
      maxMemorySizeGb: json_['maxMemorySizeGb'] as core.int?,
      maxOcpuCount: json_['maxOcpuCount'] as core.int?,
      memorySizeGb: json_['memorySizeGb'] as core.int?,
      ocid: json_['ocid'] as core.String?,
      ocpuCount: json_['ocpuCount'] as core.int?,
      state: json_['state'] as core.String?,
      vmCount: json_['vmCount'] as core.int?,
    );