CapacityAllocation.fromJson constructor

CapacityAllocation.fromJson(
  1. Map json_
)

Implementation

CapacityAllocation.fromJson(core.Map json_)
  : this(
      allocatedCapacityCount: json_['allocatedCapacityCount'] as core.int?,
      consumedCapacityCount: json_['consumedCapacityCount'] as core.int?,
      machineFamily: json_['machineFamily'] as core.String?,
      name: json_['name'] as core.String?,
      privateClouds: (json_['privateClouds'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
    );