a N•ºf?ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sjeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZed!d"„ƒZejd#d"„ƒZed$d%„ƒZejd&d%„ƒZed'd(„ƒZ e jd)d(„ƒZ ed*d+„ƒZ!e!jd,d+„ƒZ!ed-d.„ƒZ"e"jd/d.„ƒZ"ed0d1„ƒZ#e#jd2d1„ƒZ#d3d4„Z$d5d6„Z%d7d8„Z&d9S):Ú WorkRequestz' An asynchronous work request. ÚCREATE_ANALYTICS_INSTANCEÚDELETE_ANALYTICS_INSTANCEÚSTART_ANALYTICS_INSTANCEÚSTOP_ANALYTICS_INSTANCEÚSCALE_ANALYTICS_INSTANCEÚ%CHANGE_ANALYTICS_INSTANCE_COMPARTMENTÚ*CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINTÚCREATE_VANITY_URLÚUPDATE_VANITY_URLÚDELETE_VANITY_URLÚCREATE_PRIVATE_ACCESS_CHANNELÚUPDATE_PRIVATE_ACCESS_CHANNELÚDELETE_PRIVATE_ACCESS_CHANNELÚUPDATE_INSTANCE_ENCRYPTION_KEYÚACCEPTEDÚ IN_PROGRESSÚFAILEDÚ SUCCEEDEDÚ CANCELINGÚCANCELEDc Ksnddddddddddœ |_dddd d d d d ddœ |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ dS)a? Initializes a new WorkRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this WorkRequest. :type id: str :param operation_type: The value to assign to the operation_type property of this WorkRequest. Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: str :param status: The value to assign to the status property of this WorkRequest. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param compartment_id: The value to assign to the compartment_id property of this WorkRequest. :type compartment_id: str :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.analytics.models.WorkRequestResource] :param percent_complete: The value to assign to the percent_complete property of this WorkRequest. :type percent_complete: float :param time_accepted: The value to assign to the time_accepted property of this WorkRequest. :type time_accepted: datetime :param time_started: The value to assign to the time_started property of this WorkRequest. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this WorkRequest. :type time_finished: datetime Ústrzlist[WorkRequestResource]ÚfloatÚdatetime) ÚidÚoperation_typeÚstatusÚcompartment_idÚ resourcesÚpercent_completeÚ time_acceptedÚ time_startedÚ time_finishedrÚ operationTyper Ú compartmentIdr"ÚpercentCompleteÚ timeAcceptedÚ timeStartedÚ timeFinishedN) Ú swagger_typesÚ attribute_mapÚ_idÚ_operation_typeÚ_statusÚ_compartment_idÚ _resourcesÚ_percent_completeÚ_time_acceptedÚ _time_startedÚ_time_finished)ÚselfÚkwargs©r:ú…/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/analytics/models/work_request.pyÚ__init__`s:/÷ ÷ zWorkRequest.__init__cCs|jS)zŸ **[Required]** Gets the id of this WorkRequest. The resource OCID. :return: The id of this WorkRequest. :rtype: str ©r/©r8r:r:r;r°s zWorkRequest.idcCs ||_dS)z‘ Sets the id of this WorkRequest. The resource OCID. :param id: The id of this WorkRequest. :type: str Nr=)r8rr:r:r;r¼s cCs|jS)a **[Required]** Gets the operation_type of this WorkRequest. The operation performed by the work request. Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operation_type of this WorkRequest. :rtype: str )r0r>r:r:r;rÈs zWorkRequest.operation_typecCs gd¢}t||ƒsd}||_dS)zÏ Sets the operation_type of this WorkRequest. The operation performed by the work request. :param operation_type: The operation_type of this WorkRequest. :type: str )rrr r r r r rrrrrrrÚUNKNOWN_ENUM_VALUEN)rr0)r8rÚallowed_valuesr:r:r;r×s  cCs|jS)aª **[Required]** Gets the status of this WorkRequest. The current status of the work request. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this WorkRequest. :rtype: str )r1r>r:r:r;r æs zWorkRequest.statuscCs gd¢}t||ƒsd}||_dS)z² Sets the status of this WorkRequest. The current status of the work request. :param status: The status of this WorkRequest. :type: str )rrrrrrr?N)rr1)r8r r@r:r:r;r õs  cCs|jS)zÏ **[Required]** Gets the compartment_id of this WorkRequest. The compartment OCID of this work request. :return: The compartment_id of this WorkRequest. :rtype: str ©r2r>r:r:r;r!s zWorkRequest.compartment_idcCs ||_dS)zÍ Sets the compartment_id of this WorkRequest. The compartment OCID of this work request. :param compartment_id: The compartment_id of this WorkRequest. :type: str NrA)r8r!r:r:r;r!s cCs|jS)zî **[Required]** Gets the resources of this WorkRequest. The resources this work request affects. :return: The resources of this WorkRequest. :rtype: list[oci.analytics.models.WorkRequestResource] ©r3r>r:r:r;r"s zWorkRequest.resourcescCs ||_dS)zç Sets the resources of this WorkRequest. The resources this work request affects. :param resources: The resources of this WorkRequest. :type: list[oci.analytics.models.WorkRequestResource] NrB)r8r"r:r:r;r"(s cCs|jS)zÏ **[Required]** Gets the percent_complete of this WorkRequest. Percentage of the request completed. :return: The percent_complete of this WorkRequest. :rtype: float ©r4r>r:r:r;r#4s zWorkRequest.percent_completecCs ||_dS)zÏ Sets the percent_complete of this WorkRequest. Percentage of the request completed. :param percent_complete: The percent_complete of this WorkRequest. :type: float NrC)r8r#r:r:r;r#@s cCs|jS)a **[Required]** Gets the time_accepted of this WorkRequest. The time the work request was accepted, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :return: The time_accepted of this WorkRequest. :rtype: datetime ©r5r>r:r:r;r$Ls zWorkRequest.time_acceptedcCs ||_dS)a Sets the time_accepted of this WorkRequest. The time the work request was accepted, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param time_accepted: The time_accepted of this WorkRequest. :type: datetime NrD)r8r$r:r:r;r$Zs cCs|jS)a  Gets the time_started of this WorkRequest. The time the work request was started, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :return: The time_started of this WorkRequest. :rtype: datetime ©r6r>r:r:r;r%hs zWorkRequest.time_startedcCs ||_dS)a Sets the time_started of this WorkRequest. The time the work request was started, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param time_started: The time_started of this WorkRequest. :type: datetime NrE)r8r%r:r:r;r%vs cCs|jS)a Gets the time_finished of this WorkRequest. The time the work request was finished, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :return: The time_finished of this WorkRequest. :rtype: datetime ©r7r>r:r:r;r&„s zWorkRequest.time_finishedcCs ||_dS)a Sets the time_finished of this WorkRequest. The time the work request was finished, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param time_finished: The time_finished of this WorkRequest. :type: datetime NrF)r8r&r:r:r;r&’s cCst|ƒS©N)rr>r:r:r;Ú__repr__ szWorkRequest.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r8Úotherr:r:r;Ú__eq__£szWorkRequest.__eq__cCs ||k SrGr:rJr:r:r;Ú__ne__©szWorkRequest.__ne__N)'Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú(OPERATION_TYPE_CREATE_ANALYTICS_INSTANCEÚ(OPERATION_TYPE_DELETE_ANALYTICS_INSTANCEÚ'OPERATION_TYPE_START_ANALYTICS_INSTANCEÚ&OPERATION_TYPE_STOP_ANALYTICS_INSTANCEÚ'OPERATION_TYPE_SCALE_ANALYTICS_INSTANCEÚ4OPERATION_TYPE_CHANGE_ANALYTICS_INSTANCE_COMPARTMENTÚ9OPERATION_TYPE_CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINTÚ OPERATION_TYPE_CREATE_VANITY_URLÚ OPERATION_TYPE_UPDATE_VANITY_URLÚ OPERATION_TYPE_DELETE_VANITY_URLÚ,OPERATION_TYPE_CREATE_PRIVATE_ACCESS_CHANNELÚ,OPERATION_TYPE_UPDATE_PRIVATE_ACCESS_CHANNELÚ,OPERATION_TYPE_DELETE_PRIVATE_ACCESS_CHANNELÚ-OPERATION_TYPE_UPDATE_INSTANCE_ENCRYPTION_KEYÚSTATUS_ACCEPTEDÚSTATUS_IN_PROGRESSÚ STATUS_FAILEDÚSTATUS_SUCCEEDEDÚSTATUS_CANCELINGÚSTATUS_CANCELEDr<ÚpropertyrÚsetterrr r!r"r#r$r%r&rHrLrMr:r:r:r;r szP                  rN)Úoci.utilrrrÚoci.decoratorsrÚobjectrr:r:r:r;Ús