HEX
Server: Apache
System: Linux box5936.bluehost.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User: aviatjd3 (1318)
PHP: 8.3.32
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/optimizer/models/__pycache__/work_request_resource.cpython-39.pyc
a

���f��@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdd�Z	e
d	d
��Zejdd
��Ze
dd
��Z
e
jdd
��Z
e
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Zdd�Zdd�Zdd�ZdS)�WorkRequestResourcez,
    Details about the resource entity.
    �CREATED�UPDATED�DELETED�IN_PROGRESS�RELATEDcKsFdddddd�|_dddddd�|_d	|_d	|_d	|_d	|_d	|_d	S)
a�
        Initializes a new WorkRequestResource object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param entity_type:
            The value to assign to the entity_type property of this WorkRequestResource.
        :type entity_type: str

        :param action_type:
            The value to assign to the action_type property of this WorkRequestResource.
            Allowed values for this property are: "CREATED", "UPDATED", "DELETED", "IN_PROGRESS", "RELATED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type action_type: str

        :param identifier:
            The value to assign to the identifier property of this WorkRequestResource.
        :type identifier: str

        :param entity_uri:
            The value to assign to the entity_uri property of this WorkRequestResource.
        :type entity_uri: str

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

        �strzdict(str, str))�entity_type�action_type�
identifier�
entity_uri�metadataZ
entityTypeZ
actionTyperZ	entityUrirN)Z
swagger_typesZ
attribute_map�_entity_type�_action_type�_identifier�_entity_uri�	_metadata)�self�kwargs�r�N/usr/lib/python3.9/site-packages/oci/optimizer/models/work_request_resource.py�__init__&s"�	�zWorkRequestResource.__init__cCs|jS)z�
        **[Required]** Gets the entity_type of this WorkRequestResource.
        The resource type the work request affects.


        :return: The entity_type of this WorkRequestResource.
        :rtype: str
        �r�rrrrr
Xs
zWorkRequestResource.entity_typecCs
||_dS)z�
        Sets the entity_type of this WorkRequestResource.
        The resource type the work request affects.


        :param entity_type: The entity_type of this WorkRequestResource.
        :type: str
        Nr)rr
rrrr
ds
cCs|jS)a�
        **[Required]** Gets the action_type of this WorkRequestResource.
        The way in which this resource was affected by the work tracked by the work request.

        A resource being created, updated, or deleted remains in the `IN_PROGRESS` state until
        work is complete for that resource. At that point, the resource transitions to the `CREATED`, `UPDATED`,
        or `DELETED` state.

        Allowed values for this property are: "CREATED", "UPDATED", "DELETED", "IN_PROGRESS", "RELATED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The action_type of this WorkRequestResource.
        :rtype: str
        )rrrrrrpszWorkRequestResource.action_typecCs gd�}t||�sd}||_dS)a�
        Sets the action_type of this WorkRequestResource.
        The way in which this resource was affected by the work tracked by the work request.

        A resource being created, updated, or deleted remains in the `IN_PROGRESS` state until
        work is complete for that resource. At that point, the resource transitions to the `CREATED`, `UPDATED`,
        or `DELETED` state.


        :param action_type: The action_type of this WorkRequestResource.
        :type: str
        )rrr	r
rZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrr�s
cCs|jS)z�
        **[Required]** Gets the identifier of this WorkRequestResource.
        The resource identifier the work request affects.


        :return: The identifier of this WorkRequestResource.
        :rtype: str
        �rrrrrr�s
zWorkRequestResource.identifiercCs
||_dS)z�
        Sets the identifier of this WorkRequestResource.
        The resource identifier the work request affects.


        :param identifier: The identifier of this WorkRequestResource.
        :type: str
        Nr)rrrrrr�s
cCs|jS)z�
        Gets the entity_uri of this WorkRequestResource.
        The URI path that the user can do a GET on to access the resource metadata


        :return: The entity_uri of this WorkRequestResource.
        :rtype: str
        �rrrrrr�s
zWorkRequestResource.entity_uricCs
||_dS)z�
        Sets the entity_uri of this WorkRequestResource.
        The URI path that the user can do a GET on to access the resource metadata


        :param entity_uri: The entity_uri of this WorkRequestResource.
        :type: str
        Nr)rrrrrr�s
cCs|jS)z�
        Gets the metadata of this WorkRequestResource.
        Additional information about the resource.


        :return: The metadata of this WorkRequestResource.
        :rtype: dict(str, str)
        �rrrrrr�s
zWorkRequestResource.metadatacCs
||_dS)z�
        Sets the metadata of this WorkRequestResource.
        Additional information about the resource.


        :param metadata: The metadata of this WorkRequestResource.
        :type: dict(str, str)
        Nr )rrrrrr�s
cCst|�S�N)rrrrr�__repr__�szWorkRequestResource.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szWorkRequestResource.__eq__cCs
||kSr!rr$rrr�__ne__�szWorkRequestResource.__ne__N)�__name__�
__module__�__qualname__�__doc__ZACTION_TYPE_CREATEDZACTION_TYPE_UPDATEDZACTION_TYPE_DELETEDZACTION_TYPE_IN_PROGRESSZACTION_TYPE_RELATEDr�propertyr
�setterrrrrr"r&r'rrrrrs<2









rN)Zoci.utilrrrZoci.decoratorsr�objectrrrrr�<module>s