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
currencyGets the currency of this SubscriptionSummary. service_nameGets the service_name of this SubscriptionSummary. statusGets the status of this SubscriptionSummary. subscribed_servicesGets the subscribed_services of this SubscriptionSummary. time_endGets the time_end of this SubscriptionSummary. time_startGets 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.
-
currency¶ Gets the currency of this SubscriptionSummary.
Returns: The currency of this SubscriptionSummary. Return type: oci.osub_subscription.models.Currency
-
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.osub_subscription.models.SubscribedServiceSummary]
-
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_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
-