CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails

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

Bases: CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails

The content of a Database Tools database API gateway config API spec sub resource to be created.

Attributes:

TYPE_DEFAULT

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

content

[Required] Gets the content of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails.

display_name

[Required] Gets the display_name of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails.

type

[Required] Gets the type of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails. This constant has a value of “DEFAULT”

__init__(**kwargs)

Initializes a new CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails object with values from keyword arguments. The default value of the type attribute of this class is DEFAULT 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDefaultDetails. Allowed values for this property are: “DEFAULT”

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

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

property content

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

Returns

The content of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails.

Return type

str

property display_name

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

Returns

The display_name of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails.

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 type

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

Allowed values for this property are: “DEFAULT”

Returns

The type of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails.

Return type

str