ruạṛ
a ���f�: � @ 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 @ s4 e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdd� Zedd� �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%ed-d.� �Z&e&j!d/d.� �Z&d0d1� Z'd2d3� Z(d4d5� Z)d6S )7�WorkRequestResourcez> A resource created or operated on by a work request. �CREATE�UPDATE�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", "UPDATE", "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_uriZresourceActionZresourceTypeZ resourceIdr% Z statusMessageZresourceUriN)Z swagger_typesZ attribute_map�_resource_action�_resource_type�_resource_id�_status�_status_message� _resource_uri)�self�kwargs� r0 �H/usr/lib/python3.9/site-packages/oci/oda/models/work_request_resource.py�__init__z s( #� � zWorkRequestResource.__init__c C s | j S )a **[Required]** Gets the resource_action of this WorkRequestResource. The action to take against the resource. Allowed values for this property are: "CREATE", "UPDATE", "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( �r. r0 r0 r1 r"