toJson method
Implementation
Map<String, dynamic> toJson() {
final algorithmSpecification = this.algorithmSpecification;
final outputDataConfig = this.outputDataConfig;
final resourceConfig = this.resourceConfig;
final roleArn = this.roleArn;
final stoppingCondition = this.stoppingCondition;
final checkpointConfig = this.checkpointConfig;
final definitionName = this.definitionName;
final enableInterContainerTrafficEncryption =
this.enableInterContainerTrafficEncryption;
final enableManagedSpotTraining = this.enableManagedSpotTraining;
final enableNetworkIsolation = this.enableNetworkIsolation;
final hyperParameterRanges = this.hyperParameterRanges;
final inputDataConfig = this.inputDataConfig;
final staticHyperParameters = this.staticHyperParameters;
final tuningObjective = this.tuningObjective;
final vpcConfig = this.vpcConfig;
return {
'AlgorithmSpecification': algorithmSpecification,
'OutputDataConfig': outputDataConfig,
'ResourceConfig': resourceConfig,
'RoleArn': roleArn,
'StoppingCondition': stoppingCondition,
if (checkpointConfig != null) 'CheckpointConfig': checkpointConfig,
if (definitionName != null) 'DefinitionName': definitionName,
if (enableInterContainerTrafficEncryption != null)
'EnableInterContainerTrafficEncryption':
enableInterContainerTrafficEncryption,
if (enableManagedSpotTraining != null)
'EnableManagedSpotTraining': enableManagedSpotTraining,
if (enableNetworkIsolation != null)
'EnableNetworkIsolation': enableNetworkIsolation,
if (hyperParameterRanges != null)
'HyperParameterRanges': hyperParameterRanges,
if (inputDataConfig != null) 'InputDataConfig': inputDataConfig,
if (staticHyperParameters != null)
'StaticHyperParameters': staticHyperParameters,
if (tuningObjective != null) 'TuningObjective': tuningObjective,
if (vpcConfig != null) 'VpcConfig': vpcConfig,
};
}