toJson method
Implementation
Map<String, dynamic> toJson() {
final ruleConfigurationName = this.ruleConfigurationName;
final ruleEvaluatorImage = this.ruleEvaluatorImage;
final instanceType = this.instanceType;
final localPath = this.localPath;
final ruleParameters = this.ruleParameters;
final s3OutputPath = this.s3OutputPath;
final volumeSizeInGB = this.volumeSizeInGB;
return {
'RuleConfigurationName': ruleConfigurationName,
'RuleEvaluatorImage': ruleEvaluatorImage,
if (instanceType != null) 'InstanceType': instanceType.toValue(),
if (localPath != null) 'LocalPath': localPath,
if (ruleParameters != null) 'RuleParameters': ruleParameters,
if (s3OutputPath != null) 'S3OutputPath': s3OutputPath,
if (volumeSizeInGB != null) 'VolumeSizeInGB': volumeSizeInGB,
};
}