DiscoveryUriSourceUriDetails

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

Bases: oci.apigateway.models.source_uri_details.SourceUriDetails

Discovery Uri information.

Attributes

TYPE_DISCOVERY_URI str(object=’’) -> str
TYPE_VALIDATION_BLOCK str(object=’’) -> str
type [Required] Gets the type of this SourceUriDetails.
uri [Required] Gets the uri of this DiscoveryUriSourceUriDetails.

Methods

__init__(**kwargs) Initializes a new DiscoveryUriSourceUriDetails 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 DiscoveryUriSourceUriDetails object with values from keyword arguments. The default value of the type attribute of this class is DISCOVERY_URI and 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 DiscoveryUriSourceUriDetails. Allowed values for this property are: “DISCOVERY_URI”, “VALIDATION_BLOCK”
  • uri (str) – The value to assign to the uri property of this DiscoveryUriSourceUriDetails.
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
uri

[Required] Gets the uri of this DiscoveryUriSourceUriDetails. The discovery URI for the auth server.

Returns:The uri of this DiscoveryUriSourceUriDetails.
Return type:str