AllocationSpecificSKUReservation.fromJson constructor

AllocationSpecificSKUReservation.fromJson(
  1. Map json_
)

Implementation

AllocationSpecificSKUReservation.fromJson(core.Map json_)
    : this(
        assuredCount: json_.containsKey('assuredCount')
            ? json_['assuredCount'] as core.String
            : null,
        count:
            json_.containsKey('count') ? json_['count'] as core.String : null,
        inUseCount: json_.containsKey('inUseCount')
            ? json_['inUseCount'] as core.String
            : null,
        instanceProperties: json_.containsKey('instanceProperties')
            ? AllocationSpecificSKUAllocationReservedInstanceProperties
                .fromJson(json_['instanceProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        sourceInstanceTemplate: json_.containsKey('sourceInstanceTemplate')
            ? json_['sourceInstanceTemplate'] as core.String
            : null,
      );