toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (apiVersions != null) 'apiVersions': apiVersions!,
  if (attributes != null) 'attributes': attributes!,
  if (createTime != null) 'createTime': createTime!,
  if (deploymentType != null) 'deploymentType': deploymentType!,
  if (description != null) 'description': description!,
  if (displayName != null) 'displayName': displayName!,
  if (documentation != null) 'documentation': documentation!,
  if (endpoints != null) 'endpoints': endpoints!,
  if (environment != null) 'environment': environment!,
  if (managementUrl != null) 'managementUrl': managementUrl!,
  if (name != null) 'name': name!,
  if (resourceUri != null) 'resourceUri': resourceUri!,
  if (slo != null) 'slo': slo!,
  if (sourceEnvironment != null) 'sourceEnvironment': sourceEnvironment!,
  if (sourceMetadata != null) 'sourceMetadata': sourceMetadata!,
  if (sourceProject != null) 'sourceProject': sourceProject!,
  if (sourceUri != null) 'sourceUri': sourceUri!,
  if (updateTime != null) 'updateTime': updateTime!,
};