AssociatedSubscriptions¶
- class oci.onesubscription.models.AssociatedSubscriptions(**kwargs)¶
Bases:
objectAssociated Subscriptions
Methods:
__init__(**kwargs)Initializes a new AssociatedSubscriptions object with values from keyword arguments.
Attributes:
Gets the lifecycle_state of this AssociatedSubscriptions.
Gets the subscription_number of this AssociatedSubscriptions.
Gets the time_valid_from of this AssociatedSubscriptions.
Gets 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.
- property lifecycle_state¶
Gets the lifecycle_state of this AssociatedSubscriptions. Lifecycle status of the subscription
- Returns
The lifecycle_state of this AssociatedSubscriptions.
- Return type
str
- property subscription_number¶
Gets the subscription_number of this AssociatedSubscriptions. Subscription Number
- Returns
The subscription_number of this AssociatedSubscriptions.
- Return type
str
- property 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
- property 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