AssociatedSubscriptions¶
-
class
oci.onesubscription.models.AssociatedSubscriptions(**kwargs)¶ Bases:
objectAssociated Subscriptions
Methods
__init__(**kwargs)Initializes a new AssociatedSubscriptions object with values from keyword arguments. Attributes
lifecycle_stateGets the lifecycle_state of this AssociatedSubscriptions. subscription_numberGets the subscription_number of this AssociatedSubscriptions. time_valid_fromGets the time_valid_from of this AssociatedSubscriptions. time_valid_toGets the time_valid_to of this AssociatedSubscriptions. -
__init__(**kwargs)¶ Initializes a new AssociatedSubscriptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - subscription_number (str) – The value to assign to the subscription_number property of this AssociatedSubscriptions.
- time_valid_from (datetime) – The value to assign to the time_valid_from property of this AssociatedSubscriptions.
- time_valid_to (datetime) – The value to assign to the time_valid_to property of this AssociatedSubscriptions.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this AssociatedSubscriptions.
-
lifecycle_state¶ Gets the lifecycle_state of this AssociatedSubscriptions. Lifecycle status of the subscription
Returns: The lifecycle_state of this AssociatedSubscriptions. Return type: str
-
subscription_number¶ Gets the subscription_number of this AssociatedSubscriptions. Subscription Number
Returns: The subscription_number of this AssociatedSubscriptions. Return type: str
-
time_valid_from¶ Gets the time_valid_from of this AssociatedSubscriptions. Represents the valid from date of the subscription
Returns: The time_valid_from of this AssociatedSubscriptions. Return type: datetime
-
time_valid_to¶ Gets the time_valid_to of this AssociatedSubscriptions. Represents the valid to date of the subscription
Returns: The time_valid_to of this AssociatedSubscriptions. Return type: datetime
-