UpdateChannelDetails

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

Bases: object

Details required to update a Channel

Methods:

__init__(**kwargs)

Initializes a new UpdateChannelDetails object with values from keyword arguments.

Attributes:

defined_tags

Gets the defined_tags of this UpdateChannelDetails.

description

Gets the description of this UpdateChannelDetails.

display_name

Gets the display_name of this UpdateChannelDetails.

freeform_tags

Gets the freeform_tags of this UpdateChannelDetails.

is_enabled

Gets the is_enabled of this UpdateChannelDetails.

source

Gets the source of this UpdateChannelDetails.

target

Gets the target of this UpdateChannelDetails.

__init__(**kwargs)

Initializes a new UpdateChannelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • source (oci.mysql.models.UpdateChannelSourceDetails) – The value to assign to the source property of this UpdateChannelDetails.

  • target (oci.mysql.models.UpdateChannelTargetDetails) – The value to assign to the target property of this UpdateChannelDetails.

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

  • is_enabled (bool) – The value to assign to the is_enabled property of this UpdateChannelDetails.

  • description (str) – The value to assign to the description property of this UpdateChannelDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateChannelDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateChannelDetails.

property defined_tags

Gets the defined_tags of this UpdateChannelDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this UpdateChannelDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateChannelDetails. User provided description of the Channel.

Returns

The description of this UpdateChannelDetails.

Return type

str

property display_name

Gets the display_name of this UpdateChannelDetails. The user-friendly name for the Channel. It does not have to be unique.

Returns

The display_name of this UpdateChannelDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateChannelDetails. Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this UpdateChannelDetails.

Return type

dict(str, str)

property is_enabled

Gets the is_enabled of this UpdateChannelDetails. Whether the Channel should be enabled or disabled. Enabling a previously disabled Channel will cause the Channel to be started. Conversely, disabling a previously enabled Channel will stop the Channel. Both operations are executed asynchronously.

Returns

The is_enabled of this UpdateChannelDetails.

Return type

bool

property source

Gets the source of this UpdateChannelDetails.

Returns

The source of this UpdateChannelDetails.

Return type

oci.mysql.models.UpdateChannelSourceDetails

property target

Gets the target of this UpdateChannelDetails.

Returns

The target of this UpdateChannelDetails.

Return type

oci.mysql.models.UpdateChannelTargetDetails