toJson method
Implementation
Map<String, dynamic> toJson() {
final localDeviceResourceData = this.localDeviceResourceData;
final localVolumeResourceData = this.localVolumeResourceData;
final s3MachineLearningModelResourceData =
this.s3MachineLearningModelResourceData;
final sageMakerMachineLearningModelResourceData =
this.sageMakerMachineLearningModelResourceData;
final secretsManagerSecretResourceData =
this.secretsManagerSecretResourceData;
return {
if (localDeviceResourceData != null)
'LocalDeviceResourceData': localDeviceResourceData,
if (localVolumeResourceData != null)
'LocalVolumeResourceData': localVolumeResourceData,
if (s3MachineLearningModelResourceData != null)
'S3MachineLearningModelResourceData':
s3MachineLearningModelResourceData,
if (sageMakerMachineLearningModelResourceData != null)
'SageMakerMachineLearningModelResourceData':
sageMakerMachineLearningModelResourceData,
if (secretsManagerSecretResourceData != null)
'SecretsManagerSecretResourceData': secretsManagerSecretResourceData,
};
}