o
    ëÉ¶dlD  ã                   @   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Zd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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/d0„ ƒZejd1d0„ ƒZd2d3„ Zd4d5„ Zd6d7„ Zd8S )9ÚRoverEntitlementz/
    Information about a RoverEntitlement.
    ÚCREATINGÚACTIVEÚINACTIVEÚDELETEDc                 K   s    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dddœ| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _dS )a=
  
        Initializes a new RoverEntitlement object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param tenant_id:
            The value to assign to the tenant_id property of this RoverEntitlement.
        :type tenant_id: str

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

        :param compartment_id:
            The value to assign to the compartment_id property of this RoverEntitlement.
        :type compartment_id: str

        :param display_name:
            The value to assign to the display_name property of this RoverEntitlement.
        :type display_name: str

        :param requestor_name:
            The value to assign to the requestor_name property of this RoverEntitlement.
        :type requestor_name: str

        :param requestor_email:
            The value to assign to the requestor_email property of this RoverEntitlement.
        :type requestor_email: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this RoverEntitlement.
            Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param entitlement_details:
            The value to assign to the entitlement_details property of this RoverEntitlement.
        :type entitlement_details: str

        :param lifecycle_state_details:
            The value to assign to the lifecycle_state_details property of this RoverEntitlement.
        :type lifecycle_state_details: str

        :param time_created:
            The value to assign to the time_created property of this RoverEntitlement.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this RoverEntitlement.
        :type time_updated: datetime

        :param freeform_tags:
            The value to assign to the freeform_tags property of this RoverEntitlement.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this RoverEntitlement.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this RoverEntitlement.
        :type system_tags: dict(str, dict(str, object))

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object)))Ú	tenant_idÚidÚcompartment_idÚdisplay_nameÚrequestor_nameÚrequestor_emailÚlifecycle_stateÚentitlement_detailsÚlifecycle_state_detailsÚtime_createdÚtime_updatedÚfreeform_tagsÚdefined_tagsÚsystem_tagsZtenantIdr   ZcompartmentIdZdisplayNameZrequestorNameZrequestorEmailZlifecycleStateZentitlementDetailsZlifecycleStateDetailsZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ
_tenant_idÚ_idÚ_compartment_idÚ_display_nameÚ_requestor_nameÚ_requestor_emailÚ_lifecycle_stateÚ_entitlement_detailsÚ_lifecycle_state_detailsÚ_time_createdÚ_time_updatedÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© r+   úFusr/lib/python3.10/site-packages/oci/rover/models/rover_entitlement.pyÚ__init__"   sX   Aòò
zRoverEntitlement.__init__c                 C   ó   | j S )z 
        Gets the tenant_id of this RoverEntitlement.
        tenant Id.


        :return: The tenant_id of this RoverEntitlement.
        :rtype: str
        ©r   ©r)   r+   r+   r,   r   “   ó   
zRoverEntitlement.tenant_idc                 C   ó
   || _ dS )z¨
        Sets the tenant_id of this RoverEntitlement.
        tenant Id.


        :param tenant_id: The tenant_id of this RoverEntitlement.
        :type: str
        Nr/   )r)   r   r+   r+   r,   r   Ÿ   ó   

c                 C   r.   )zÓ
        **[Required]** Gets the id of this RoverEntitlement.
        A property that can uniquely identify the rover entitlement.


        :return: The id of this RoverEntitlement.
        :rtype: str
        ©r   r0   r+   r+   r,   r   «   r1   zRoverEntitlement.idc                 C   r2   )zÅ
        Sets the id of this RoverEntitlement.
        A property that can uniquely identify the rover entitlement.


        :param id: The id of this RoverEntitlement.
        :type: str
        Nr4   )r)   r   r+   r+   r,   r   ·   r3   c                 C   r.   )zÖ
        **[Required]** Gets the compartment_id of this RoverEntitlement.
        The compartment Id for the entitlement.


        :return: The compartment_id of this RoverEntitlement.
        :rtype: str
        ©r   r0   r+   r+   r,   r   Ã   r1   zRoverEntitlement.compartment_idc                 C   r2   )zÔ
        Sets the compartment_id of this RoverEntitlement.
        The compartment Id for the entitlement.


        :param compartment_id: The compartment_id of this RoverEntitlement.
        :type: str
        Nr5   )r)   r   r+   r+   r,   r   Ï   r3   c                 C   r.   )a  
        Gets the display_name of this RoverEntitlement.
        A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.


        :return: The display_name of this RoverEntitlement.
        :rtype: str
        ©r   r0   r+   r+   r,   r   Û   r1   zRoverEntitlement.display_namec                 C   r2   )a  
        Sets the display_name of this RoverEntitlement.
        A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.


        :param display_name: The display_name of this RoverEntitlement.
        :type: str
        Nr6   )r)   r   r+   r+   r,   r   ç   r3   c                 C   r.   )zÒ
        **[Required]** Gets the requestor_name of this RoverEntitlement.
        Requestor name for the entitlement.


        :return: The requestor_name of this RoverEntitlement.
        :rtype: str
        ©r   r0   r+   r+   r,   r   ó   r1   zRoverEntitlement.requestor_namec                 C   r2   )zÐ
        Sets the requestor_name of this RoverEntitlement.
        Requestor name for the entitlement.


        :param requestor_name: The requestor_name of this RoverEntitlement.
        :type: str
        Nr7   )r)   r   r+   r+   r,   r   ÿ   r3   c                 C   r.   )zÕ
        **[Required]** Gets the requestor_email of this RoverEntitlement.
        Requestor email for the entitlement.


        :return: The requestor_email of this RoverEntitlement.
        :rtype: str
        ©r    r0   r+   r+   r,   r     r1   z RoverEntitlement.requestor_emailc                 C   r2   )zÔ
        Sets the requestor_email of this RoverEntitlement.
        Requestor email for the entitlement.


        :param requestor_email: The requestor_email of this RoverEntitlement.
        :type: str
        Nr8   )r)   r   r+   r+   r,   r     r3   c                 C   r.   )a¤  
        **[Required]** Gets the lifecycle_state of this RoverEntitlement.
        Lifecyclestate for the entitlement.

        Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this RoverEntitlement.
        :rtype: str
        )r!   r0   r+   r+   r,   r   #  s   z RoverEntitlement.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zÓ
        Sets the lifecycle_state of this RoverEntitlement.
        Lifecyclestate for the entitlement.


        :param lifecycle_state: The lifecycle_state of this RoverEntitlement.
        :type: str
        )r   r   r	   r
   ZUNKNOWN_ENUM_VALUEN)r   r!   )r)   r   Zallowed_valuesr+   r+   r,   r   2  s   


c                 C   r.   )zÈ
        Gets the entitlement_details of this RoverEntitlement.
        Details about the entitlement.


        :return: The entitlement_details of this RoverEntitlement.
        :rtype: str
        ©r"   r0   r+   r+   r,   r   A  r1   z$RoverEntitlement.entitlement_detailsc                 C   r2   )zÚ
        Sets the entitlement_details of this RoverEntitlement.
        Details about the entitlement.


        :param entitlement_details: The entitlement_details of this RoverEntitlement.
        :type: str
        Nr9   )r)   r   r+   r+   r,   r   M  r3   c                 C   r.   )zç
        Gets the lifecycle_state_details of this RoverEntitlement.
        A property that can contain details on the lifecycle.


        :return: The lifecycle_state_details of this RoverEntitlement.
        :rtype: str
        ©r#   r0   r+   r+   r,   r   Y  r1   z(RoverEntitlement.lifecycle_state_detailsc                 C   r2   )zý
        Sets the lifecycle_state_details of this RoverEntitlement.
        A property that can contain details on the lifecycle.


        :param lifecycle_state_details: The lifecycle_state_details of this RoverEntitlement.
        :type: str
        Nr:   )r)   r   r+   r+   r,   r   e  r3   c                 C   r.   )zÆ
        Gets the time_created of this RoverEntitlement.
        Time of creation for the entitlement.


        :return: The time_created of this RoverEntitlement.
        :rtype: datetime
        ©r$   r0   r+   r+   r,   r   q  r1   zRoverEntitlement.time_createdc                 C   r2   )zÑ
        Sets the time_created of this RoverEntitlement.
        Time of creation for the entitlement.


        :param time_created: The time_created of this RoverEntitlement.
        :type: datetime
        Nr;   )r)   r   r+   r+   r,   r   }  r3   c                 C   r.   )zÌ
        Gets the time_updated of this RoverEntitlement.
        Time when the entitlement was last updated.


        :return: The time_updated of this RoverEntitlement.
        :rtype: datetime
        ©r%   r0   r+   r+   r,   r   ‰  r1   zRoverEntitlement.time_updatedc                 C   r2   )z×
        Sets the time_updated of this RoverEntitlement.
        Time when the entitlement was last updated.


        :param time_updated: The time_updated of this RoverEntitlement.
        :type: datetime
        Nr<   )r)   r   r+   r+   r,   r   •  r3   c                 C   r.   )aí  
        Gets the freeform_tags of this RoverEntitlement.
        The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
        predefined name, type, or namespace. For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this RoverEntitlement.
        :rtype: dict(str, str)
        ©r&   r0   r+   r+   r,   r   ¡  ó   zRoverEntitlement.freeform_tagsc                 C   r2   )aù  
        Sets the freeform_tags of this RoverEntitlement.
        The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
        predefined name, type, or namespace. For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this RoverEntitlement.
        :type: dict(str, str)
        Nr=   )r)   r   r+   r+   r,   r   ±  ó   
c                 C   r.   )aã  
        Gets the defined_tags of this RoverEntitlement.
        The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this RoverEntitlement.
        :rtype: dict(str, dict(str, object))
        ©r'   r0   r+   r+   r,   r   Á  r>   zRoverEntitlement.defined_tagsc                 C   r2   )aî  
        Sets the defined_tags of this RoverEntitlement.
        The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this RoverEntitlement.
        :type: dict(str, dict(str, object))
        Nr@   )r)   r   r+   r+   r,   r   Ñ  r?   c                 C   r.   )a#  
        Gets the system_tags of this RoverEntitlement.
        The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces.
        For more information, see `Resource Tags`__.
        Example: `{orcl-cloud: {free-tier-retain: true}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :return: The system_tags of this RoverEntitlement.
        :rtype: dict(str, dict(str, object))
        ©r(   r0   r+   r+   r,   r   á  r>   zRoverEntitlement.system_tagsc                 C   r2   )a-  
        Sets the system_tags of this RoverEntitlement.
        The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces.
        For more information, see `Resource Tags`__.
        Example: `{orcl-cloud: {free-tier-retain: true}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :param system_tags: The system_tags of this RoverEntitlement.
        :type: dict(str, dict(str, object))
        NrA   )r)   r   r+   r+   r,   r   ñ  r?   c                 C   s   t | ƒS ©N)r   r0   r+   r+   r,   Ú__repr__  s   zRoverEntitlement.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r)   Úotherr+   r+   r,   Ú__eq__  s   zRoverEntitlement.__eq__c                 C   s
   | |k S rB   r+   rE   r+   r+   r,   Ú__ne__
  s   
zRoverEntitlement.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETEDr-   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   rC   rG   rH   r+   r+   r+   r,   r      s„    q



























r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r+   r+   r+   r,   Ú<module>   s   