ResourceDataContainer.fromJson constructor
ResourceDataContainer.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ResourceDataContainer.fromJson(Map<String, dynamic> json) {
return ResourceDataContainer(
localDeviceResourceData: json['LocalDeviceResourceData'] != null
? LocalDeviceResourceData.fromJson(
json['LocalDeviceResourceData'] as Map<String, dynamic>)
: null,
localVolumeResourceData: json['LocalVolumeResourceData'] != null
? LocalVolumeResourceData.fromJson(
json['LocalVolumeResourceData'] as Map<String, dynamic>)
: null,
s3MachineLearningModelResourceData:
json['S3MachineLearningModelResourceData'] != null
? S3MachineLearningModelResourceData.fromJson(
json['S3MachineLearningModelResourceData']
as Map<String, dynamic>)
: null,
sageMakerMachineLearningModelResourceData:
json['SageMakerMachineLearningModelResourceData'] != null
? SageMakerMachineLearningModelResourceData.fromJson(
json['SageMakerMachineLearningModelResourceData']
as Map<String, dynamic>)
: null,
secretsManagerSecretResourceData:
json['SecretsManagerSecretResourceData'] != null
? SecretsManagerSecretResourceData.fromJson(
json['SecretsManagerSecretResourceData']
as Map<String, dynamic>)
: null,
);
}