a üÎòfö%ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d d „Z e d d „ƒZejdd „ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejd d„ƒZd!d"„Zd#d$„Zd%d&„Zd'S)(ÚWorkItemSummaryz/ Work item to complete a work request. ÚACCEPTEDÚ IN_PROGRESSÚ CANCELINGÚCANCELEDÚ SUCCEEDEDÚNEEDS_ATTENTIONÚRETRYINGÚSKIPPEDcKsZddddddddœ|_ddd d d d d dœ|_d|_d|_d|_d|_d|_d|_d|_dS)a  Initializes a new WorkItemSummary 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 WorkItemSummary. :type id: str :param work_request_id: The value to assign to the work_request_id property of this WorkItemSummary. :type work_request_id: str :param installation_site: The value to assign to the installation_site property of this WorkItemSummary. :type installation_site: oci.jms.models.InstallationSite :param details: The value to assign to the details property of this WorkItemSummary. :type details: oci.jms.models.WorkItemDetails :param status: The value to assign to the status property of this WorkItemSummary. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", "NEEDS_ATTENTION", "RETRYING", "SKIPPED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param retry_count: The value to assign to the retry_count property of this WorkItemSummary. :type retry_count: int :param time_last_updated: The value to assign to the time_last_updated property of this WorkItemSummary. :type time_last_updated: datetime ÚstrZInstallationSiteZWorkItemDetailsÚintZdatetime)ÚidÚwork_request_idÚinstallation_siteÚdetailsÚstatusÚ retry_countÚtime_last_updatedrZ workRequestIdZinstallationSiterrZ retryCountZtimeLastUpdatedN) Z swagger_typesZ attribute_mapÚ_idÚ_work_request_idÚ_installation_siteÚ_detailsÚ_statusÚ _retry_countÚ_time_last_updated)ÚselfÚkwargs©r!úD/usr/lib/python3.9/site-packages/oci/jms/models/work_item_summary.pyÚ__init__2s.%ù ù zWorkItemSummary.__init__cCs|jS)z´ **[Required]** Gets the id of this WorkItemSummary. The unique ID of ths work item. :return: The id of this WorkItemSummary. :rtype: str ©r©rr!r!r"rrs zWorkItemSummary.idcCs ||_dS)z¦ Sets the id of this WorkItemSummary. The unique ID of ths work item. :param id: The id of this WorkItemSummary. :type: str Nr$)rrr!r!r"r~s cCs|jS)zã **[Required]** Gets the work_request_id of this WorkItemSummary. The OCID of the work request created this work item. :return: The work_request_id of this WorkItemSummary. :rtype: str ©rr%r!r!r"rŠs zWorkItemSummary.work_request_idcCs ||_dS)zâ Sets the work_request_id of this WorkItemSummary. The OCID of the work request created this work item. :param work_request_id: The work_request_id of this WorkItemSummary. :type: str Nr&)rrr!r!r"r–s cCs|jS)zÅ **[Required]** Gets the installation_site of this WorkItemSummary. :return: The installation_site of this WorkItemSummary. :rtype: oci.jms.models.InstallationSite ©rr%r!r!r"r¢sz!WorkItemSummary.installation_sitecCs ||_dS)zÆ Sets the installation_site of this WorkItemSummary. :param installation_site: The installation_site of this WorkItemSummary. :type: oci.jms.models.InstallationSite Nr')rrr!r!r"r¬scCs|jS)z° **[Required]** Gets the details of this WorkItemSummary. :return: The details of this WorkItemSummary. :rtype: oci.jms.models.WorkItemDetails ©rr%r!r!r"r¶szWorkItemSummary.detailscCs ||_dS)z§ Sets the details of this WorkItemSummary. :param details: The details of this WorkItemSummary. :type: oci.jms.models.WorkItemDetails Nr()rrr!r!r"rÀscCs|jS)aÇ **[Required]** Gets the status of this WorkItemSummary. The status of the work item. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", "NEEDS_ATTENTION", "RETRYING", "SKIPPED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this WorkItemSummary. :rtype: str )rr%r!r!r"rÊs zWorkItemSummary.statuscCs gd¢}t||ƒsd}||_dS)z¯ Sets the status of this WorkItemSummary. The status of the work item. :param status: The status of this WorkItemSummary. :type: str )rrr r r r r rZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesr!r!r"rÙs  cCs|jS)zÑ **[Required]** Gets the retry_count of this WorkItemSummary. Number of times this work item is retried. :return: The retry_count of this WorkItemSummary. :rtype: int ©rr%r!r!r"rès zWorkItemSummary.retry_countcCs ||_dS)zÌ Sets the retry_count of this WorkItemSummary. Number of times this work item is retried. :param retry_count: The retry_count of this WorkItemSummary. :type: int Nr))rrr!r!r"rôs cCs|jS)a: Gets the time_last_updated of this WorkItemSummary. The date and time the work item was last updated. (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The time_last_updated of this WorkItemSummary. :rtype: datetime ©rr%r!r!r"rs z!WorkItemSummary.time_last_updatedcCs ||_dS)aJ Sets the time_last_updated of this WorkItemSummary. The date and time the work item was last updated. (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :param time_last_updated: The time_last_updated of this WorkItemSummary. :type: datetime Nr*)rrr!r!r"rs cCst|ƒS©N)rr%r!r!r"Ú__repr__szWorkItemSummary.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherr!r!r"Ú__eq__szWorkItemSummary.__eq__cCs ||k Sr+r!r.r!r!r"Ú__ne__%szWorkItemSummary.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ZSTATUS_ACCEPTEDZSTATUS_IN_PROGRESSZSTATUS_CANCELINGZSTATUS_CANCELEDZSTATUS_SUCCEEDEDZSTATUS_NEEDS_ATTENTIONZSTATUS_RETRYINGZSTATUS_SKIPPEDr#ÚpropertyrÚsetterrrrrrrr,r0r1r!r!r!r"r sR@              rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr!r!r!r"Ús