SwitchSnapChannelDetails

class oci.os_management_hub.models.SwitchSnapChannelDetails(**kwargs)

Bases: object

Provides the information used to switch a snap channel.

Methods

__init__(**kwargs) Initializes a new SwitchSnapChannelDetails object with values from keyword arguments.

Attributes

channel Gets the channel of this SwitchSnapChannelDetails.
name [Required] Gets the name of this SwitchSnapChannelDetails.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this SwitchSnapChannelDetails.
  • channel (str) – The value to assign to the channel property of this SwitchSnapChannelDetails.
channel

Gets the channel of this SwitchSnapChannelDetails. The channel to switch to (e.g. stable, edge, beta, candidate, or a custom channel).

Returns:The channel of this SwitchSnapChannelDetails.
Return type:str
name

[Required] Gets the name of this SwitchSnapChannelDetails. The name of the snap.

Returns:The name of this SwitchSnapChannelDetails.
Return type:str