CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails

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

Bases: object

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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails 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
  • type (str) – The value to assign to the type property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecDetails. Allowed values for this property are: “DEFAULT”

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

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

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