ruạṛ
a O��f�9 � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s0 e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdd� Zedd� �Zej dd� �Zed d!� �Z!e!j d"d!� �Z!ed#d$� �Z"e"j d%d$� �Z"ed&d'� �Z#e#j d(d'� �Z#ed)d*� �Z$e$j d+d*� �Z$ed,d-� �Z%e%j d.d-� �Z%d/d0� Z&d1d2� Z'd3d4� Z(d5S )6�WorkRequestResourcez> A resource created or operated on by a work request. �CREATE�DELETE�PURGE�RECOVER�STOP�START�CHANGE_COMPARTMENT�CHANGE_CUST_ENC_KEY�DEACT_CUST_ENC_KEY�CREATE_ASSOCIATION�DELETE_ASSOCIATION�UPDATE_ENTITLEMENTS_FOR_CACCT�CREATE_ODA_INSTANCE_ATTACHMENT�UPDATE_ODA_INSTANCE_ATTACHMENT�DELETE_ODA_INSTANCE_ATTACHMENT�CREATE_IMPORTED_PACKAGE�UPDATE_IMPORTED_PACKAGE�DELETE_IMPORTED_PACKAGE�EXPORT�ACCEPTED�IN_PROGRESS� SUCCEEDED�FAILED� CANCELING�CANCELEDc K sP ddddddd�| _ ddddddd�| _d | _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 resource_action: The value to assign to the resource_action property of this WorkRequestResource. Allowed values for this property are: "CREATE", "DELETE", "PURGE", "RECOVER", "STOP", "START", "CHANGE_COMPARTMENT", "CHANGE_CUST_ENC_KEY", "DEACT_CUST_ENC_KEY", "CREATE_ASSOCIATION", "DELETE_ASSOCIATION", "UPDATE_ENTITLEMENTS_FOR_CACCT", "CREATE_ODA_INSTANCE_ATTACHMENT", "UPDATE_ODA_INSTANCE_ATTACHMENT", "DELETE_ODA_INSTANCE_ATTACHMENT", "CREATE_IMPORTED_PACKAGE", "UPDATE_IMPORTED_PACKAGE", "DELETE_IMPORTED_PACKAGE", "EXPORT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_action: str :param resource_type: The value to assign to the resource_type property of this WorkRequestResource. :type resource_type: str :param resource_id: The value to assign to the resource_id property of this WorkRequestResource. :type resource_id: str :param status: The value to assign to the status property of this WorkRequestResource. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param status_message: The value to assign to the status_message property of this WorkRequestResource. :type status_message: str :param resource_uri: The value to assign to the resource_uri property of this WorkRequestResource. :type resource_uri: str �str)�resource_action� resource_type�resource_id�status�status_message�resource_uri�resourceAction�resourceType� resourceIdr$ � statusMessage�resourceUriN)� swagger_types� attribute_map�_resource_action�_resource_type�_resource_id�_status�_status_message� _resource_uri)�self�kwargs� r6 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/oda/models/work_request_resource.py�__init__t s( #� � zWorkRequestResource.__init__c C s | j S )a **[Required]** Gets the resource_action of this WorkRequestResource. The action to take against the Digital Assistant instance. Allowed values for this property are: "CREATE", "DELETE", "PURGE", "RECOVER", "STOP", "START", "CHANGE_COMPARTMENT", "CHANGE_CUST_ENC_KEY", "DEACT_CUST_ENC_KEY", "CREATE_ASSOCIATION", "DELETE_ASSOCIATION", "UPDATE_ENTITLEMENTS_FOR_CACCT", "CREATE_ODA_INSTANCE_ATTACHMENT", "UPDATE_ODA_INSTANCE_ATTACHMENT", "DELETE_ODA_INSTANCE_ATTACHMENT", "CREATE_IMPORTED_PACKAGE", "UPDATE_IMPORTED_PACKAGE", "DELETE_IMPORTED_PACKAGE", "EXPORT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The resource_action of this WorkRequestResource. :rtype: str )r. �r4 r6 r6 r7 r! � s z#WorkRequestResource.resource_actionc C s g d�}t ||�sd}|| _dS )z� Sets the resource_action of this WorkRequestResource. The action to take against the Digital Assistant instance. :param resource_action: The resource_action of this WorkRequestResource. :type: str )r r r r r r r r r r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r. )r4 r! �allowed_valuesr6 r6 r7 r! � s c C s | j S )z� **[Required]** Gets the resource_type of this WorkRequestResource. The resource type that the work request affects. :return: The resource_type of this WorkRequestResource. :rtype: str �r/ r9 r6 r6 r7 r"