CancelSubscriptionDetails

class oci.self.models.CancelSubscriptionDetails(**kwargs)

Bases: object

The data to cancel a Subscription.

Methods:

__init__(**kwargs)

Initializes a new CancelSubscriptionDetails object with values from keyword arguments.

Attributes:

reason

Gets the reason of this CancelSubscriptionDetails.

__init__(**kwargs)

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

Parameters

reason (str) – The value to assign to the reason property of this CancelSubscriptionDetails.

property reason

Gets the reason of this CancelSubscriptionDetails. Optional reason provided by the customer for the cancellation.

Returns

The reason of this CancelSubscriptionDetails.

Return type

str