toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accessType != null) 'accessType': accessType!,
  if (address != null) 'address': address!,
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (ipAddress != null) 'ipAddress': ipAddress!,
  if (labels != null) 'labels': labels!,
  if (name != null) 'name': name!,
  if (network != null) 'network': network!,
  if (pscForwardingRule != null) 'pscForwardingRule': pscForwardingRule!,
  if (subnetwork != null) 'subnetwork': subnetwork!,
  if (targetGoogleApi != null) 'targetGoogleApi': targetGoogleApi!,
  if (updateTime != null) 'updateTime': updateTime!,
};