toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (deployedModels != null) 'deployedModels': deployedModels!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (enablePrivateServiceConnect != null)
        'enablePrivateServiceConnect': enablePrivateServiceConnect!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (modelDeploymentMonitoringJob != null)
        'modelDeploymentMonitoringJob': modelDeploymentMonitoringJob!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (predictRequestResponseLoggingConfig != null)
        'predictRequestResponseLoggingConfig':
            predictRequestResponseLoggingConfig!,
      if (privateServiceConnectConfig != null)
        'privateServiceConnectConfig': privateServiceConnectConfig!,
      if (trafficSplit != null) 'trafficSplit': trafficSplit!,
      if (updateTime != null) 'updateTime': updateTime!,
    };