NoContentValidation¶
- class oci.apigateway.models.NoContentValidation(**kwargs)¶
Bases:
ContentValidationNo content validation properties.
Attributes:
A constant which can be used with the validation_type property of a ContentValidation.
[Required] Gets the validation_type of this ContentValidation.
Methods:
__init__(**kwargs)Initializes a new NoContentValidation object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- VALIDATION_TYPE_NONE = 'NONE'¶
A constant which can be used with the validation_type property of a ContentValidation. This constant has a value of “NONE”
- __init__(**kwargs)¶
Initializes a new NoContentValidation object with values from keyword arguments. The default value of the
validation_typeattribute of this class isNONEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
validation_type (str) – The value to assign to the validation_type property of this NoContentValidation. Allowed values for this property are: “NONE”
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property validation_type¶
[Required] Gets the validation_type of this ContentValidation. Validation type defines the content validation method.
Make the validation to first parse the body as the respective format.
Allowed values for this property are: “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The validation_type of this ContentValidation.
- Return type
str