Reservation.fromJson constructor

Reservation.fromJson(
  1. Map json_
)

Implementation

Reservation.fromJson(core.Map json_)
    : this(
        autoscale: json_.containsKey('autoscale')
            ? Autoscale.fromJson(
                json_['autoscale'] as core.Map<core.String, core.dynamic>)
            : null,
        concurrency: json_.containsKey('concurrency')
            ? json_['concurrency'] as core.String
            : null,
        creationTime: json_.containsKey('creationTime')
            ? json_['creationTime'] as core.String
            : null,
        edition: json_.containsKey('edition')
            ? json_['edition'] as core.String
            : null,
        ignoreIdleSlots: json_.containsKey('ignoreIdleSlots')
            ? json_['ignoreIdleSlots'] as core.bool
            : null,
        multiRegionAuxiliary: json_.containsKey('multiRegionAuxiliary')
            ? json_['multiRegionAuxiliary'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        originalPrimaryLocation: json_.containsKey('originalPrimaryLocation')
            ? json_['originalPrimaryLocation'] as core.String
            : null,
        primaryLocation: json_.containsKey('primaryLocation')
            ? json_['primaryLocation'] as core.String
            : null,
        secondaryLocation: json_.containsKey('secondaryLocation')
            ? json_['secondaryLocation'] as core.String
            : null,
        slotCapacity: json_.containsKey('slotCapacity')
            ? json_['slotCapacity'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );