AllocationAggregateReservation.fromJson constructor

AllocationAggregateReservation.fromJson(
  1. Map json_
)

Implementation

AllocationAggregateReservation.fromJson(core.Map json_)
  : this(
      inUseResources: (json_['inUseResources'] as core.List?)
          ?.map(
            (value) =>
                AllocationAggregateReservationReservedResourceInfo.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      reservedResources: (json_['reservedResources'] as core.List?)
          ?.map(
            (value) =>
                AllocationAggregateReservationReservedResourceInfo.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      vmFamily: json_['vmFamily'] as core.String?,
      workloadType: json_['workloadType'] as core.String?,
    );