NoContentValidation

class oci.apigateway.models.NoContentValidation(**kwargs)

Bases: oci.apigateway.models.content_validation.ContentValidation

No content validation properties.

Attributes

VALIDATION_TYPE_NONE str(object=’’) -> str
validation_type [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'
__init__(**kwargs)

Initializes a new NoContentValidation object with values from keyword arguments. The default value of the validation_type attribute of this class is NONE and 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.

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