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                   @   sj  e Zd ZdZd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d,d-„ Zd.d/„ Zd0d1„ Zd2S )3ÚPluginz
    Description of plugin
    ÚENABLEDÚDISABLEDÚUPDATINGÚACTIVEÚINACTIVEÚNEEDS_ATTENTIONÚ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S )aª  
        Initializes a new Plugin object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param name:
            The value to assign to the name property of this Plugin.
        :type name: str

        :param agent_id:
            The value to assign to the agent_id property of this Plugin.
        :type agent_id: str

        :param plugin_version:
            The value to assign to the plugin_version property of this Plugin.
        :type plugin_version: str

        :param desired_state:
            The value to assign to the desired_state property of this Plugin.
            Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type desired_state: str

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

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

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

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Plugin.
        :type lifecycle_details: str

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

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

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

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object)))ÚnameÚagent_idÚplugin_versionÚdesired_stateÚtime_createdÚtime_updatedÚlifecycle_stateÚlifecycle_detailsÚfreeform_tagsÚdefined_tagsÚsystem_tagsr   ZagentIdZpluginVersionZdesiredStateZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_nameÚ	_agent_idÚ_plugin_versionÚ_desired_stateÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© r(   úBusr/lib/python3.10/site-packages/oci/cloud_bridge/models/plugin.pyÚ__init__.   sF   7õõ
zPlugin.__init__c                 C   ó   | j S )z¯
        **[Required]** Gets the name of this Plugin.
        Plugin identifier, which can be renamed.


        :return: The name of this Plugin.
        :rtype: str
        ©r   ©r&   r(   r(   r)   r   Œ   ó   
zPlugin.namec                 C   ó
   || _ dS )z£
        Sets the name of this Plugin.
        Plugin identifier, which can be renamed.


        :param name: The name of this Plugin.
        :type: str
        Nr,   )r&   r   r(   r(   r)   r   ˜   ó   

c                 C   r+   )z 
        **[Required]** Gets the agent_id of this Plugin.
        Agent identifier.


        :return: The agent_id of this Plugin.
        :rtype: str
        ©r   r-   r(   r(   r)   r   ¤   r.   zPlugin.agent_idc                 C   r/   )z˜
        Sets the agent_id of this Plugin.
        Agent identifier.


        :param agent_id: The agent_id of this Plugin.
        :type: str
        Nr1   )r&   r   r(   r(   r)   r   °   r0   c                 C   r+   )zª
        **[Required]** Gets the plugin_version of this Plugin.
        Plugin version.


        :return: The plugin_version of this Plugin.
        :rtype: str
        ©r   r-   r(   r(   r)   r   ¼   r.   zPlugin.plugin_versionc                 C   r/   )z¨
        Sets the plugin_version of this Plugin.
        Plugin version.


        :param plugin_version: The plugin_version of this Plugin.
        :type: str
        Nr2   )r&   r   r(   r(   r)   r   È   r0   c                 C   r+   )a|  
        Gets the desired_state of this Plugin.
        State to which the customer wants the plugin to move to.

        Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The desired_state of this Plugin.
        :rtype: str
        )r   r-   r(   r(   r)   r   Ô   ó   zPlugin.desired_statec                 C   s    ddg}t ||ƒsd}|| _dS )zÎ
        Sets the desired_state of this Plugin.
        State to which the customer wants the plugin to move to.


        :param desired_state: The desired_state of this Plugin.
        :type: str
        r   r   ÚUNKNOWN_ENUM_VALUEN)r   r   )r&   r   Úallowed_valuesr(   r(   r)   r   ã   ó   


c                 C   r+   )zæ
        **[Required]** Gets the time_created of this Plugin.
        The time when the Agent was created. An RFC3339 formatted datetime string.


        :return: The time_created of this Plugin.
        :rtype: datetime
        ©r   r-   r(   r(   r)   r   ò   r.   zPlugin.time_createdc                 C   r/   )zâ
        Sets the time_created of this Plugin.
        The time when the Agent was created. An RFC3339 formatted datetime string.


        :param time_created: The time_created of this Plugin.
        :type: datetime
        Nr7   )r&   r   r(   r(   r)   r   þ   r0   c                 C   r+   )z×
        Gets the time_updated of this Plugin.
        The time when the Agent was updated. An RFC3339 formatted datetime string.


        :return: The time_updated of this Plugin.
        :rtype: datetime
        ©r    r-   r(   r(   r)   r   
  r.   zPlugin.time_updatedc                 C   r/   )zâ
        Sets the time_updated of this Plugin.
        The time when the Agent was updated. An RFC3339 formatted datetime string.


        :param time_updated: The time_updated of this Plugin.
        :type: datetime
        Nr8   )r&   r   r(   r(   r)   r     r0   c                 C   r+   )a   
        **[Required]** Gets the lifecycle_state of this Plugin.
        The current state of the plugin.

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


        :return: The lifecycle_state of this Plugin.
        :rtype: str
        )r!   r-   r(   r(   r)   r   "  r3   zPlugin.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )z¼
        Sets the lifecycle_state of this Plugin.
        The current state of the plugin.


        :param lifecycle_state: The lifecycle_state of this Plugin.
        :type: str
        )r	   r
   r   r   r   r4   N)r   r!   )r&   r   r5   r(   r(   r)   r   1  r6   c                 C   r+   )a&  
        Gets the lifecycle_details of this Plugin.
        A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.


        :return: The lifecycle_details of this Plugin.
        :rtype: str
        ©r"   r-   r(   r(   r)   r   @  r.   zPlugin.lifecycle_detailsc                 C   r/   )a6  
        Sets the lifecycle_details of this Plugin.
        A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.


        :param lifecycle_details: The lifecycle_details of this Plugin.
        :type: str
        Nr9   )r&   r   r(   r(   r)   r   L  r0   c                 C   r+   )aß  
        Gets the freeform_tags of this Plugin.
        The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
        predefined name, type, or namespace/scope. 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 Plugin.
        :rtype: dict(str, str)
        ©r#   r-   r(   r(   r)   r   X  ó   zPlugin.freeform_tagsc                 C   r/   )aë  
        Sets the freeform_tags of this Plugin.
        The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
        predefined name, type, or namespace/scope. 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 Plugin.
        :type: dict(str, str)
        Nr:   )r&   r   r(   r(   r)   r   h  ó   
c                 C   r+   )aÏ  
        Gets the defined_tags of this Plugin.
        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 Plugin.
        :rtype: dict(str, dict(str, object))
        ©r$   r-   r(   r(   r)   r   x  r;   zPlugin.defined_tagsc                 C   r/   )aÚ  
        Sets the defined_tags of this Plugin.
        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 Plugin.
        :type: dict(str, dict(str, object))
        Nr=   )r&   r   r(   r(   r)   r   ˆ  r<   c                 C   r+   )a  
        Gets the system_tags of this Plugin.
        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 Plugin.
        :rtype: dict(str, dict(str, object))
        ©r%   r-   r(   r(   r)   r   ˜  r;   zPlugin.system_tagsc                 C   r/   )a  
        Sets the system_tags of this Plugin.
        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 Plugin.
        :type: dict(str, dict(str, object))
        Nr>   )r&   r   r(   r(   r)   r   ¨  r<   c                 C   s   t | ƒS ©N)r   r-   r(   r(   r)   Ú__repr__¸  s   zPlugin.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r&   Úotherr(   r(   r)   Ú__eq__»  s   zPlugin.__eq__c                 C   s
   | |k S r?   r(   rB   r(   r(   r)   Ú__ne__Á  s   
zPlugin.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZDESIRED_STATE_ENABLEDZDESIRED_STATE_DISABLEDZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_DELETEDr*   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r@   rD   rE   r(   r(   r(   r)   r      sr    ^





















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r(   r(   r(   r)   Ú<module>   s   