DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec

class oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(**kwargs)

Bases: object

The content of a Database Tools database API gateway config API spec sub resource defined within a pool.

Attributes:

TYPE_DEFAULT

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

content

[Required] Gets the content of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

display_name

[Required] Gets the display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

key

[Required] Gets the key of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

time_created

[Required] Gets the time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

time_updated

[Required] Gets the time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

type

[Required] Gets the type of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

Methods:

__init__(**kwargs)

Initializes a new DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec 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_DEFAULT = 'DEFAULT'

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

__init__(**kwargs)

Initializes a new DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • key (str) – The value to assign to the key property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

  • type (str) – The value to assign to the type property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. Allowed values for this property are: “DEFAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • display_name (str) – The value to assign to the display_name property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

  • content (str) – The value to assign to the content property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

  • time_created (datetime) – The value to assign to the time_created property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

  • time_updated (datetime) – The value to assign to the time_updated property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

property content

[Required] Gets the content of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. The content of a string-escaped Open API spec in JSON format.

Returns

The content of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

Return type

str

property display_name

[Required] Gets the display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns

The display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

Return type

str

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 key

[Required] Gets the key of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. A system generated string that uniquely identifies an API spec sub resource within a given pool.

Returns

The key of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

Return type

str

property time_created

[Required] Gets the time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. The time the resource was created. An RFC3339 formatted datetime string.

Returns

The time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. The time the resource was updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

Return type

datetime

property type

[Required] Gets the type of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. The type of the Database Tools database API gateway config API spec sub resource.

Allowed values for this property are: “DEFAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.

Return type

str