o
    ëÉ¶d}"  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZdd„ Zdd„ Zd d!„ Zd"S )#ÚSubscriptionSummaryz
    Subscription summary
    c              	   K   sd   dddddddddœ| _ dddd	d
ddddœ| _d| _d| _d| _d| _d| _d| _d| _d| _	dS )a  
        Initializes a new SubscriptionSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param status:
            The value to assign to the status property of this SubscriptionSummary.
        :type status: str

        :param time_start:
            The value to assign to the time_start property of this SubscriptionSummary.
        :type time_start: datetime

        :param time_end:
            The value to assign to the time_end property of this SubscriptionSummary.
        :type time_end: datetime

        :param currency:
            The value to assign to the currency property of this SubscriptionSummary.
        :type currency: oci.onesubscription.models.SubscriptionCurrency

        :param service_name:
            The value to assign to the service_name property of this SubscriptionSummary.
        :type service_name: str

        :param hold_reason:
            The value to assign to the hold_reason property of this SubscriptionSummary.
        :type hold_reason: str

        :param time_hold_release_eta:
            The value to assign to the time_hold_release_eta property of this SubscriptionSummary.
        :type time_hold_release_eta: datetime

        :param subscribed_services:
            The value to assign to the subscribed_services property of this SubscriptionSummary.
        :type subscribed_services: list[oci.onesubscription.models.SubscriptionSubscribedService]

        ÚstrÚdatetimeZSubscriptionCurrencyz#list[SubscriptionSubscribedService])ÚstatusÚ
time_startÚtime_endÚcurrencyÚservice_nameÚhold_reasonÚtime_hold_release_etaÚsubscribed_servicesr	   Z	timeStartZtimeEndr   ZserviceNameZ
holdReasonZtimeHoldReleaseEtaZsubscribedServicesN)
Zswagger_typesZattribute_mapÚ_statusÚ_time_startÚ	_time_endÚ	_currencyÚ_service_nameÚ_hold_reasonÚ_time_hold_release_etaÚ_subscribed_services)ÚselfÚkwargs© r   úSusr/lib/python3.10/site-packages/oci/onesubscription/models/subscription_summary.pyÚ__init__   s4   'øø
zSubscriptionSummary.__init__c                 C   ó   | j S )z¨
        Gets the status of this SubscriptionSummary.
        Status of the plan


        :return: The status of this SubscriptionSummary.
        :rtype: str
        ©r   ©r   r   r   r   r	   W   ó   
zSubscriptionSummary.statusc                 C   ó
   || _ dS )z­
        Sets the status of this SubscriptionSummary.
        Status of the plan


        :param status: The status of this SubscriptionSummary.
        :type: str
        Nr   )r   r	   r   r   r   r	   c   ó   

c                 C   r   )zï
        Gets the time_start of this SubscriptionSummary.
        Represents the date when the first service of the subscription was activated


        :return: The time_start of this SubscriptionSummary.
        :rtype: datetime
        ©r   r    r   r   r   r
   o   r!   zSubscriptionSummary.time_startc                 C   r"   )zø
        Sets the time_start of this SubscriptionSummary.
        Represents the date when the first service of the subscription was activated


        :param time_start: The time_start of this SubscriptionSummary.
        :type: datetime
        Nr$   )r   r
   r   r   r   r
   {   r#   c                 C   r   )zá
        Gets the time_end of this SubscriptionSummary.
        Represents the date when the last service of the subscription ends


        :return: The time_end of this SubscriptionSummary.
        :rtype: datetime
        ©r   r    r   r   r   r   ‡   r!   zSubscriptionSummary.time_endc                 C   r"   )zè
        Sets the time_end of this SubscriptionSummary.
        Represents the date when the last service of the subscription ends


        :param time_end: The time_end of this SubscriptionSummary.
        :type: datetime
        Nr%   )r   r   r   r   r   r   “   r#   c                 C   r   )z¼
        Gets the currency of this SubscriptionSummary.

        :return: The currency of this SubscriptionSummary.
        :rtype: oci.onesubscription.models.SubscriptionCurrency
        ©r   r    r   r   r   r   Ÿ   s   zSubscriptionSummary.currencyc                 C   r"   )zÃ
        Sets the currency of this SubscriptionSummary.

        :param currency: The currency of this SubscriptionSummary.
        :type: oci.onesubscription.models.SubscriptionCurrency
        Nr&   )r   r   r   r   r   r   ©   s   
c                 C   r   )zÐ
        Gets the service_name of this SubscriptionSummary.
        Customer friendly service name provided by PRG


        :return: The service_name of this SubscriptionSummary.
        :rtype: str
        ©r   r    r   r   r   r   ³   r!   z SubscriptionSummary.service_namec                 C   r"   )zÛ
        Sets the service_name of this SubscriptionSummary.
        Customer friendly service name provided by PRG


        :param service_name: The service_name of this SubscriptionSummary.
        :type: str
        Nr'   )r   r   r   r   r   r   ¿   r#   c                 C   r   )z·
        Gets the hold_reason of this SubscriptionSummary.
        Hold reason of the plan


        :return: The hold_reason of this SubscriptionSummary.
        :rtype: str
        ©r   r    r   r   r   r   Ë   r!   zSubscriptionSummary.hold_reasonc                 C   r"   )zÁ
        Sets the hold_reason of this SubscriptionSummary.
        Hold reason of the plan


        :param hold_reason: The hold_reason of this SubscriptionSummary.
        :type: str
        Nr(   )r   r   r   r   r   r   ×   r#   c                 C   r   )zà
        Gets the time_hold_release_eta of this SubscriptionSummary.
        Represents the date of the hold release


        :return: The time_hold_release_eta of this SubscriptionSummary.
        :rtype: datetime
        ©r   r    r   r   r   r   ã   r!   z)SubscriptionSummary.time_hold_release_etac                 C   r"   )zô
        Sets the time_hold_release_eta of this SubscriptionSummary.
        Represents the date of the hold release


        :param time_hold_release_eta: The time_hold_release_eta of this SubscriptionSummary.
        :type: datetime
        Nr)   )r   r   r   r   r   r   ï   r#   c                 C   r   )a  
        Gets the subscribed_services of this SubscriptionSummary.
        List of Subscribed Services of the plan


        :return: The subscribed_services of this SubscriptionSummary.
        :rtype: list[oci.onesubscription.models.SubscriptionSubscribedService]
        ©r   r    r   r   r   r   û   r!   z'SubscriptionSummary.subscribed_servicesc                 C   r"   )a$  
        Sets the subscribed_services of this SubscriptionSummary.
        List of Subscribed Services of the plan


        :param subscribed_services: The subscribed_services of this SubscriptionSummary.
        :type: list[oci.onesubscription.models.SubscriptionSubscribedService]
        Nr*   )r   r   r   r   r   r     r#   c                 C   s   t | ƒS ©N)r   r    r   r   r   Ú__repr__  s   zSubscriptionSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__  s   zSubscriptionSummary.__eq__c                 C   s
   | |k S r+   r   r.   r   r   r   Ú__ne__  s   
zSubscriptionSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r   r   r   r   r,   r0   r1   r   r   r   r   r      sL    E






	
	







r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   