DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault¶
- class oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault(**kwargs)¶
Bases:
DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecThe content of a Database Tools database API gateway config API spec sub resource defined within a pool.
Attributes:
A constant which can be used with the type property of a DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.
[Required] Gets the content of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.
[Required] Gets the display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.
[Required] Gets the key of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.
[Required] Gets the time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.
[Required] Gets the time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.
[Required] Gets the type of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.
Methods:
__init__(**kwargs)Initializes a new DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault 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 DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault object with values from keyword arguments. The default value of the
typeattribute of this class isDEFAULTand it should not be changed. 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 DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault.
type (str) – The value to assign to the type property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault. Allowed values for this property are: “DEFAULT”
display_name (str) – The value to assign to the display_name property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault.
content (str) – The value to assign to the content property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault.
time_created (datetime) – The value to assign to the time_created property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault.
time_updated (datetime) – The value to assign to the time_updated property of this DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefault.
- 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