CreateDataSourceDetails

class oci.generative_ai.models.CreateDataSourceDetails(**kwargs)

Bases: object

Defines the data source that the semantic model connects to.

Attributes

CONNECTION_TYPE_DATABASE_TOOLS_CONNECTION A constant which can be used with the connection_type property of a CreateDataSourceDetails.
connection_type [Required] Gets the connection_type of this CreateDataSourceDetails.

Methods

__init__(**kwargs) Initializes a new CreateDataSourceDetails 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.
CONNECTION_TYPE_DATABASE_TOOLS_CONNECTION = 'DATABASE_TOOLS_CONNECTION'

A constant which can be used with the connection_type property of a CreateDataSourceDetails. This constant has a value of “DATABASE_TOOLS_CONNECTION”

__init__(**kwargs)

Initializes a new CreateDataSourceDetails 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:connection_type (str) – The value to assign to the connection_type property of this CreateDataSourceDetails. Allowed values for this property are: “DATABASE_TOOLS_CONNECTION”
connection_type

[Required] Gets the connection_type of this CreateDataSourceDetails. Specifies the type of underlying connection.

Allowed values for this property are: “DATABASE_TOOLS_CONNECTION”

Returns:The connection_type of this CreateDataSourceDetails.
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.