toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (etag != null) 'etag': etag!,
  if (fieldPathsPendingUpdate != null)
    'fieldPathsPendingUpdate': fieldPathsPendingUpdate!,
  if (group != null) 'group': group!,
  if (hub != null) 'hub': hub!,
  if (labels != null) 'labels': labels!,
  if (linkedInterconnectAttachments != null)
    'linkedInterconnectAttachments': linkedInterconnectAttachments!,
  if (linkedProducerVpcNetwork != null)
    'linkedProducerVpcNetwork': linkedProducerVpcNetwork!,
  if (linkedRouterApplianceInstances != null)
    'linkedRouterApplianceInstances': linkedRouterApplianceInstances!,
  if (linkedVpcNetwork != null) 'linkedVpcNetwork': linkedVpcNetwork!,
  if (linkedVpnTunnels != null) 'linkedVpnTunnels': linkedVpnTunnels!,
  if (name != null) 'name': name!,
  if (reasons != null) 'reasons': reasons!,
  if (spokeType != null) 'spokeType': spokeType!,
  if (state != null) 'state': state!,
  if (uniqueId != null) 'uniqueId': uniqueId!,
  if (updateTime != null) 'updateTime': updateTime!,
};