ChannelTarget

class oci.mysql.models.ChannelTarget(**kwargs)

Bases: object

Details about the Channel target.

Attributes:

TARGET_TYPE_DBSYSTEM

A constant which can be used with the target_type property of a ChannelTarget.

target_type

[Required] Gets the target_type of this ChannelTarget.

Methods:

__init__(**kwargs)

Initializes a new ChannelTarget 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.

TARGET_TYPE_DBSYSTEM = 'DBSYSTEM'

A constant which can be used with the target_type property of a ChannelTarget. This constant has a value of “DBSYSTEM”

__init__(**kwargs)

Initializes a new ChannelTarget 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

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

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 target_type

[Required] Gets the target_type of this ChannelTarget. The specific target identifier.

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

Returns

The target_type of this ChannelTarget.

Return type

str