toJson method
Converts a CustomResourceValidation instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempOpenAPIV3Schema = openAPIV3Schema;
if (tempOpenAPIV3Schema != null) {
jsonData['openAPIV3Schema'] = tempOpenAPIV3Schema;
}
return jsonData;
}