a Of@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dd Z e d d Z e j d d Z e d dZej ddZe ddZej ddZe ddZej ddZddZddZddZdS)WorkRequestResourcez> A resource created or operated on by a work request. CREATEDUPDATEDDELETED IN_PROGRESSRELATEDFAILEDcKs<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", "FAILED", '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_uri entityType actionTyper entityUriN) swagger_types attribute_map _entity_type _action_type _identifier _entity_uri)selfkwargsr/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/stack_monitoring/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 rrrrrrSs 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 )rrrrrr_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", "FAILED", '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 )rr!rrrrkszWorkRequestResource.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 r UNKNOWN_ENUM_VALUEN)rr)rrallowed_valuesrrrr}s  cCs|jS)z **[Required]** Gets the identifier of this WorkRequestResource. The identifier of the resource the work request affects. :return: The identifier of this WorkRequestResource. :rtype: str rr!rrrrs zWorkRequestResource.identifiercCs ||_dS)z Sets the identifier of this WorkRequestResource. The identifier of the resource the work request affects. :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 the user can do a GET on to access the resource metadata :return: The entity_uri of this WorkRequestResource. :rtype: str rr!rrrrs 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%)rrrrrrs cCst|SN)rr!rrr__repr__szWorkRequestResource.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szWorkRequestResource.__eq__cCs ||k Sr&rr)rrr__ne__szWorkRequestResource.__ne__N)__name__ __module__ __qualname____doc__ACTION_TYPE_CREATEDACTION_TYPE_UPDATEDACTION_TYPE_DELETEDACTION_TYPE_IN_PROGRESSACTION_TYPE_RELATEDACTION_TYPE_FAILEDrpropertyrsetterrrrr'r+r,rrrrr s6+        rN)oci.utilrrroci.decoratorsrobjectrrrrrs