toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregateReservation != null)
        'aggregateReservation': aggregateReservation!,
      if (commitment != null) 'commitment': commitment!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (resourcePolicies != null) 'resourcePolicies': resourcePolicies!,
      if (resourceStatus != null) 'resourceStatus': resourceStatus!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (shareSettings != null) 'shareSettings': shareSettings!,
      if (specificReservation != null)
        'specificReservation': specificReservation!,
      if (specificReservationRequired != null)
        'specificReservationRequired': specificReservationRequired!,
      if (status != null) 'status': status!,
      if (zone != null) 'zone': zone!,
    };