DiscoveryUriSourceUriDetails

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

Bases: SourceUriDetails

Discovery Uri information.

Attributes:

TYPE_DISCOVERY_URI

A constant which can be used with the type property of a SourceUriDetails.

TYPE_VALIDATION_BLOCK

A constant which can be used with the type property of a SourceUriDetails.

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'

A constant which can be used with the type property of a SourceUriDetails. This constant has a value of “DISCOVERY_URI”

TYPE_VALIDATION_BLOCK = 'VALIDATION_BLOCK'

A constant which can be used with the type property of a SourceUriDetails. This constant has a value of “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.

property 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

property uri

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

Returns

The uri of this DiscoveryUriSourceUriDetails.

Return type

str