AllocationSpecificSKUAllocationReservedInstanceProperties.fromJson constructor

AllocationSpecificSKUAllocationReservedInstanceProperties.fromJson(
  1. Map json_
)

Implementation

AllocationSpecificSKUAllocationReservedInstanceProperties.fromJson(
  core.Map json_,
) : this(
      guestAccelerators: (json_['guestAccelerators'] as core.List?)
          ?.map(
            (value) => AcceleratorConfig.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      localSsds: (json_['localSsds'] as core.List?)
          ?.map(
            (value) =>
                AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      locationHint: json_['locationHint'] as core.String?,
      machineType: json_['machineType'] as core.String?,
      minCpuPlatform: json_['minCpuPlatform'] as core.String?,
    );