a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZddZ e d d Z e j d d Z e d d Z e j dd Z e ddZej ddZe ddZej ddZddZddZddZdS)WorkRequestResourcez> A resource created or operated on by a work request. CREATEDUPDATEDDELETED IN_PROGRESSRELATEDcKs<ddddd|_ddddd|_d|_d|_d|_d|_dS)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 str) entity_type action_type identifier entity_uriZ entityTypeZ actionTyperZ entityUriN)Z swagger_typesZ attribute_map _entity_type _action_type _identifier _entity_uri)selfkwargsrH/usr/lib/python3.9/site-packages/oci/sch/models/work_request_resource.py__init__&szWorkRequestResource.__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 rrrrrr Qs 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 ]s cCs|jS)a **[Required]** Gets the action_type of this WorkRequestResource. The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively. 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 )rrrrrriszWorkRequestResource.action_typecCs gd}t||sd}||_dS)a Sets the action_type of this WorkRequestResource. The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively. :param action_type: The action_type of this WorkRequestResource. :type: str )rrr r r ZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrr{s  cCs|jS)z **[Required]** Gets the identifier of this WorkRequestResource. An OCID or other unique identifier for the resource affected by the work request. :return: The identifier of this WorkRequestResource. :rtype: str rrrrrrs zWorkRequestResource.identifiercCs ||_dS)z Sets the identifier of this WorkRequestResource. An OCID or other unique identifier for the resource affected by the work request. :param identifier: The identifier of this WorkRequestResource. :type: str Nr)rrrrrrs cCs|jS)z Gets the entity_uri of this WorkRequestResource. The URI path that you can use for a GET request to access the resource metadata. :return: The entity_uri of this WorkRequestResource. :rtype: str rrrrrrs zWorkRequestResource.entity_uricCs ||_dS)z Sets the entity_uri of this WorkRequestResource. The URI path that you can use for a GET request to access the resource metadata. :param entity_uri: The entity_uri of this WorkRequestResource. :type: str Nr)rrrrrrs cCst|SN)rrrrr__repr__szWorkRequestResource.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szWorkRequestResource.__eq__cCs ||k Srrr!rrr__ne__szWorkRequestResource.__ne__N)__name__ __module__ __qualname____doc__ZACTION_TYPE_CREATEDZACTION_TYPE_UPDATEDZACTION_TYPE_DELETEDZACTION_TYPE_IN_PROGRESSZACTION_TYPE_RELATEDrpropertyr setterrrrrr#r$rrrrr s4+        rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrs