toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (automaticResources != null)
        'automaticResources': automaticResources!,
      if (createTime != null) 'createTime': createTime!,
      if (dedicatedResources != null)
        'dedicatedResources': dedicatedResources!,
      if (disableContainerLogging != null)
        'disableContainerLogging': disableContainerLogging!,
      if (disableExplanations != null)
        'disableExplanations': disableExplanations!,
      if (displayName != null) 'displayName': displayName!,
      if (enableAccessLogging != null)
        'enableAccessLogging': enableAccessLogging!,
      if (explanationSpec != null) 'explanationSpec': explanationSpec!,
      if (id != null) 'id': id!,
      if (model != null) 'model': model!,
      if (modelVersionId != null) 'modelVersionId': modelVersionId!,
      if (privateEndpoints != null) 'privateEndpoints': privateEndpoints!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (sharedResources != null) 'sharedResources': sharedResources!,
    };