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
dd„ Zdd„ Zdd„ ZdS )ÚSubscriptionzY
    Subscription information for compartmentId. Only root compartments are allowed.
    c                 K   s<   dddddœ| _ dddddœ| _d| _d| _d| _d| _dS )	a   
        Initializes a new Subscription object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this Subscription.
        :type id: str

        :param classic_subscription_id:
            The value to assign to the classic_subscription_id property of this Subscription.
        :type classic_subscription_id: str

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

        :param skus:
            The value to assign to the skus property of this Subscription.
        :type skus: list[oci.fusion_apps.models.SubscriptionSku]

        Ústrzlist[SubscriptionSku])ÚidÚclassic_subscription_idÚservice_nameÚskusr   ZclassicSubscriptionIdZserviceNamer   N)Zswagger_typesZattribute_mapÚ_idÚ_classic_subscription_idÚ_service_nameÚ_skus)ÚselfÚkwargs© r   úGusr/lib/python3.10/site-packages/oci/fusion_apps/models/subscription.pyÚ__init__   s   üü
zSubscription.__init__c                 C   ó   | j S )zÛ
        **[Required]** Gets the id of this Subscription.
        OCID of the subscription details for particular root compartment or tenancy.


        :return: The id of this Subscription.
        :rtype: str
        ©r   ©r   r   r   r   r   ;   ó   
zSubscription.idc                 C   ó
   || _ dS )zÍ
        Sets the id of this Subscription.
        OCID of the subscription details for particular root compartment or tenancy.


        :param id: The id of this Subscription.
        :type: str
        Nr   )r   r   r   r   r   r   G   ó   

c                 C   r   )zÉ
        **[Required]** Gets the classic_subscription_id of this Subscription.
        Subscription id.


        :return: The classic_subscription_id of this Subscription.
        :rtype: str
        ©r   r   r   r   r   r	   S   r   z$Subscription.classic_subscription_idc                 C   r   )zÐ
        Sets the classic_subscription_id of this Subscription.
        Subscription id.


        :param classic_subscription_id: The classic_subscription_id of this Subscription.
        :type: str
        Nr   )r   r	   r   r   r   r	   _   r   c                 C   r   )zá
        **[Required]** Gets the service_name of this Subscription.
        The type of subscription, such as 'CLOUDCM'/'SAAS'/'CRM', etc.


        :return: The service_name of this Subscription.
        :rtype: str
        ©r   r   r   r   r   r
   k   r   zSubscription.service_namec                 C   r   )zÝ
        Sets the service_name of this Subscription.
        The type of subscription, such as 'CLOUDCM'/'SAAS'/'CRM', etc.


        :param service_name: The service_name of this Subscription.
        :type: str
        Nr   )r   r
   r   r   r   r
   w   r   c                 C   r   )zÏ
        **[Required]** Gets the skus of this Subscription.
        Stock keeping unit.


        :return: The skus of this Subscription.
        :rtype: list[oci.fusion_apps.models.SubscriptionSku]
        ©r   r   r   r   r   r   ƒ   r   zSubscription.skusc                 C   r   )zÃ
        Sets the skus of this Subscription.
        Stock keeping unit.


        :param skus: The skus of this Subscription.
        :type: list[oci.fusion_apps.models.SubscriptionSku]
        Nr   )r   r   r   r   r   r      r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__›   s   zSubscription.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__ž   s   zSubscription.__eq__c                 C   s
   | |k S r   r   r!   r   r   r   Ú__ne__¤   s   
zSubscription.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r
   r   r   r#   r$   r   r   r   r   r      s,    )







r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   