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 (labels != null) 'labels': labels!,
      if (managementUri != null) 'managementUri': managementUri!,
      if (name != null) 'name': name!,
      if (networks != null) 'networks': networks!,
      if (oauth2ClientId != null) 'oauth2ClientId': oauth2ClientId!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (workforceIdentityBasedManagementUri != null)
        'workforceIdentityBasedManagementUri':
            workforceIdentityBasedManagementUri!,
      if (workforceIdentityBasedOauth2ClientId != null)
        'workforceIdentityBasedOauth2ClientId':
            workforceIdentityBasedOauth2ClientId!,
    };