class oci.identity.models.DefaultTagDefinitionValidator(**kwargs)

Bases: oci.identity.models.base_tag_definition_validator.BaseTagDefinitionValidator

This is the default validatorType for definedTag. This is same as not setting any value on the validator field. By default only string value can be set for this definedTag.


Initializes a new DefaultTagDefinitionValidator object with values from keyword arguments. The default value of the validator_type attribute of this class is DEFAULT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:validator_type (str) -- The value to assign to the validator_type property of this DefaultTagDefinitionValidator. Allowed values for this property are: "ENUM", "DEFAULT"

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.


[Required] Gets the validator_type of this BaseTagDefinitionValidator. The primitive that any value set for this definedTag must be parseable as.

Allowed values for this property are: "ENUM", "DEFAULT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The validator_type of this BaseTagDefinitionValidator.
Return type:str