ValidationBlockSourceUriDetails¶
-
class
oci.apigateway.models.ValidationBlockSourceUriDetails(**kwargs)¶ Bases:
oci.apigateway.models.source_uri_details.SourceUriDetailsSource Uri information to be used from validation block.
Attributes
TYPE_DISCOVERY_URIstr(object=’’) -> str TYPE_VALIDATION_BLOCKstr(object=’’) -> str type[Required] Gets the type of this SourceUriDetails. Methods
__init__(**kwargs)Initializes a new ValidationBlockSourceUriDetails 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. -
TYPE_DISCOVERY_URI= 'DISCOVERY_URI'¶
-
TYPE_VALIDATION_BLOCK= 'VALIDATION_BLOCK'¶
-
__init__(**kwargs)¶ Initializes a new ValidationBlockSourceUriDetails object with values from keyword arguments. The default value of the
typeattribute of this class isVALIDATION_BLOCKand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: type (str) – The value to assign to the type property of this ValidationBlockSourceUriDetails. Allowed values for this property are: “DISCOVERY_URI”, “VALIDATION_BLOCK”
-
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.
-
type¶ [Required] Gets the type of this SourceUriDetails. Type of the Uri detail.
Allowed values for this property are: “DISCOVERY_URI”, “VALIDATION_BLOCK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this SourceUriDetails. Return type: str
-