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.
currency

Gets the currency of this SubscriptionSummary.

Returns:The currency of this SubscriptionSummary.
Return type:oci.onesubscription.models.SubscriptionCurrency
hold_reason

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

Returns:The hold_reason of this SubscriptionSummary.
Return type:str
service_name

Gets the service_name of this SubscriptionSummary. Customer friendly service name provided by PRG

Returns:The service_name of this SubscriptionSummary.
Return type:str
status

Gets the status of this SubscriptionSummary. Status of the plan

Returns:The status of this SubscriptionSummary.
Return type:str
subscribed_services

Gets the subscribed_services of this SubscriptionSummary. List of Subscribed Services of the plan

Returns:The subscribed_services of this SubscriptionSummary.
Return type:list[oci.onesubscription.models.SubscriptionSubscribedService]
time_end

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

Returns:The time_end of this SubscriptionSummary.
Return type:datetime
time_hold_release_eta

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

Returns:The time_hold_release_eta of this SubscriptionSummary.
Return type:datetime
time_start

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

Returns:The time_start of this SubscriptionSummary.
Return type:datetime