SubscriptionSummary

class oci.onesubscription.models.SubscriptionSummary(**kwargs)

Bases: object

Subscription summary.

Methods:

__init__(**kwargs)

Initializes a new SubscriptionSummary object with values from keyword arguments.

Attributes:

currency

Gets the currency of this SubscriptionSummary.

hold_reason

Gets the hold_reason of this SubscriptionSummary.

service_name

Gets the service_name of this SubscriptionSummary.

status

Gets the status of this SubscriptionSummary.

subscribed_services

Gets the subscribed_services of this SubscriptionSummary.

time_end

Gets the time_end of this SubscriptionSummary.

time_hold_release_eta

Gets the time_hold_release_eta of this SubscriptionSummary.

time_start

Gets the time_start of this SubscriptionSummary.

__init__(**kwargs)

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

Parameters
  • status (str) – The value to assign to the status property of this SubscriptionSummary.

  • time_start (datetime) – The value to assign to the time_start property of this SubscriptionSummary.

  • time_end (datetime) – The value to assign to the time_end property of this SubscriptionSummary.

  • currency (oci.onesubscription.models.SubscriptionCurrency) – The value to assign to the currency property of this SubscriptionSummary.

  • service_name (str) – The value to assign to the service_name property of this SubscriptionSummary.

  • hold_reason (str) – The value to assign to the hold_reason property of this SubscriptionSummary.

  • time_hold_release_eta (datetime) – The value to assign to the time_hold_release_eta property of this SubscriptionSummary.

  • subscribed_services (list[oci.onesubscription.models.SubscriptionSubscribedService]) – The value to assign to the subscribed_services property of this SubscriptionSummary.

property currency

Gets the currency of this SubscriptionSummary.

Returns

The currency of this SubscriptionSummary.

Return type

oci.onesubscription.models.SubscriptionCurrency

property hold_reason

Gets the hold_reason of this SubscriptionSummary. Hold reason of the plan.

Returns

The hold_reason of this SubscriptionSummary.

Return type

str

property service_name

Gets the service_name of this SubscriptionSummary. Customer-friendly service name provided by the PRG (Product Release Group).

Returns

The service_name of this SubscriptionSummary.

Return type

str

property status

Gets the status of this SubscriptionSummary. Plan status.

Returns

The status of this SubscriptionSummary.

Return type

str

property subscribed_services

Gets the subscribed_services of this SubscriptionSummary. List of plan’s subscribed services.

Returns

The subscribed_services of this SubscriptionSummary.

Return type

list[oci.onesubscription.models.SubscriptionSubscribedService]

property time_end

Gets the time_end of this SubscriptionSummary. The date when the last service of the subscription ends.

Returns

The time_end of this SubscriptionSummary.

Return type

datetime

property time_hold_release_eta

Gets the time_hold_release_eta of this SubscriptionSummary. The date of the hold release.

Returns

The time_hold_release_eta of this SubscriptionSummary.

Return type

datetime

property time_start

Gets the time_start of this SubscriptionSummary. The date when the first service of the subscription was activated.

Returns

The time_start of this SubscriptionSummary.

Return type

datetime