toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accessLoggingConfig != null)
    'accessLoggingConfig': accessLoggingConfig!,
  if (consumerAcceptList != null) 'consumerAcceptList': consumerAcceptList!,
  if (createdAt != null) 'createdAt': createdAt!,
  if (description != null) 'description': description!,
  if (diskEncryptionKeyName != null)
    'diskEncryptionKeyName': diskEncryptionKeyName!,
  if (displayName != null) 'displayName': displayName!,
  if (host != null) 'host': host!,
  if (ipRange != null) 'ipRange': ipRange!,
  if (lastModifiedAt != null) 'lastModifiedAt': lastModifiedAt!,
  if (location != null) 'location': location!,
  if (name != null) 'name': name!,
  if (peeringCidrRange != null) 'peeringCidrRange': peeringCidrRange!,
  if (port != null) 'port': port!,
  if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!,
  if (serviceAttachment != null) 'serviceAttachment': serviceAttachment!,
  if (state != null) 'state': state!,
};