CustomResourceValidation.fromJson constructor

CustomResourceValidation.fromJson(
  1. Map<String, dynamic> json
)

Creates a CustomResourceValidation from JSON data.

Implementation

factory CustomResourceValidation.fromJson(Map<String, dynamic> json) {
  final tempOpenAPIV3SchemaJson = json['openAPIV3Schema'];

  final Map<String, dynamic>? tempOpenAPIV3Schema = tempOpenAPIV3SchemaJson;

  return CustomResourceValidation(
    openAPIV3Schema: tempOpenAPIV3Schema,
  );
}