toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (count != null) 'count': count!,
  if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
  if (healthInfo != null) 'healthInfo': healthInfo!,
  if (id != null) 'id': id!,
  if (inUseCount != null) 'inUseCount': inUseCount!,
  if (kind != null) 'kind': kind!,
  if (name != null) 'name': name!,
  if (physicalTopology != null) 'physicalTopology': physicalTopology!,
  if (reservationMaintenance != null)
    'reservationMaintenance': reservationMaintenance!,
  if (reservationSubBlockCount != null)
    'reservationSubBlockCount': reservationSubBlockCount!,
  if (reservationSubBlockInUseCount != null)
    'reservationSubBlockInUseCount': reservationSubBlockInUseCount!,
  if (selfLink != null) 'selfLink': selfLink!,
  if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
  if (status != null) 'status': status!,
  if (zone != null) 'zone': zone!,
};