SubscriptionSummary¶
- class oci.osub_subscription.models.SubscriptionSummary(**kwargs)¶
Bases:
objectSubscription summary
Methods:
__init__(**kwargs)Initializes a new SubscriptionSummary object with values from keyword arguments.
Attributes:
Gets the currency of this SubscriptionSummary.
Gets the service_name of this SubscriptionSummary.
Gets the status of this SubscriptionSummary.
Gets the subscribed_services of this SubscriptionSummary.
Gets the time_end of this SubscriptionSummary.
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.osub_subscription.models.Currency) – 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.
subscribed_services (list[oci.osub_subscription.models.SubscribedServiceSummary]) – 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
- property 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
- property status¶
Gets the status of this SubscriptionSummary. Status of the plan
- Returns
The status of this SubscriptionSummary.
- Return type
str
- property 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
- property 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
- property 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