ruạṛ
a ���ff5 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Item� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zd&d'� Zd(d)� Zd*d+� Zd,S )-�ActivityItemz0 Details about the ActivityItem object. �NOTES�PROBLEM_DESCRIPTION�UPDATE�CLOSE�REOPEN�CUSTOMER�ORACLE�ATTACHMENTS�COMMENTS� PROCESSING�ATTACHED�REMOVED�FAILEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new ActivityItem object with values from keyword arguments. The default value of the :py:attr:`~oci.cims.models.ActivityItem.type` attribute of this class is ``activity`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param item_key: The value to assign to the item_key property of this ActivityItem. :type item_key: str :param name: The value to assign to the name property of this ActivityItem. :type name: str :param type: The value to assign to the type property of this ActivityItem. :type type: str :param category: The value to assign to the category property of this ActivityItem. :type category: oci.cims.models.Category :param sub_category: The value to assign to the sub_category property of this ActivityItem. :type sub_category: oci.cims.models.SubCategory :param issue_type: The value to assign to the issue_type property of this ActivityItem. :type issue_type: oci.cims.models.IssueType :param comments: The value to assign to the comments property of this ActivityItem. :type comments: str :param time_created: The value to assign to the time_created property of this ActivityItem. :type time_created: int :param time_updated: The value to assign to the time_updated property of this ActivityItem. :type time_updated: int :param activity_type: The value to assign to the activity_type property of this ActivityItem. Allowed values for this property are: "NOTES", "PROBLEM_DESCRIPTION", "UPDATE", "CLOSE", "REOPEN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type activity_type: str :param activity_author: The value to assign to the activity_author property of this ActivityItem. Allowed values for this property are: "CUSTOMER", "ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type activity_author: str :param item_type: The value to assign to the item_type property of this ActivityItem. Allowed values for this property are: "ATTACHMENTS", "COMMENTS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type item_type: str :param item_status: The value to assign to the item_status property of this ActivityItem. Allowed values for this property are: "PROCESSING", "ATTACHED", "REMOVED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type item_status: str �strZCategoryZSubCategoryZ IssueType�int) Zitem_key�name�type�categoryZsub_categoryZ issue_type�comments�time_created�time_updated� activity_type�activity_author� item_type�item_statusZitemKeyr r r ZsubCategoryZ issueTyper ZtimeCreatedZtimeUpdatedZactivityTypeZactivityAuthorZitemTypeZ itemStatusNZactivity)Z swagger_typesZ attribute_mapZ _item_key�_nameZ_typeZ _categoryZ _sub_categoryZ_issue_type� _comments� _time_created� _time_updated�_activity_type�_activity_author� _item_type�_item_status)�self�kwargs� r, �A/usr/lib/python3.9/site-packages/oci/cims/models/activity_item.py�__init__F sT D��zActivityItem.__init__c C s | j S )z� **[Required]** Gets the comments of this ActivityItem. Comments added with the activity on the support ticket. :return: The comments of this ActivityItem. :rtype: str �r# �r* r, r, r- r � s zActivityItem.commentsc C s || _ dS )z� Sets the comments of this ActivityItem. Comments added with the activity on the support ticket. :param comments: The comments of this ActivityItem. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the time_created of this ActivityItem. The time when the activity was created, in milliseconds since epoch time. :return: The time_created of this ActivityItem. :rtype: int �r$ r0 r, r, r- r � s zActivityItem.time_createdc C s || _ dS )z� Sets the time_created of this ActivityItem. The time when the activity was created, in milliseconds since epoch time. :param time_created: The time_created of this ActivityItem. :type: int Nr1 )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the time_updated of this ActivityItem. The time when the activity was updated, in milliseconds since epoch time. :return: The time_updated of this ActivityItem. :rtype: int �r% r0 r, r, r- r � s zActivityItem.time_updatedc C s || _ dS )z� Sets the time_updated of this ActivityItem. The time when the activity was updated, in milliseconds since epoch time. :param time_updated: The time_updated of this ActivityItem. :type: int Nr2 )r* r r, r, r- r � s c C s | j S )a� **[Required]** Gets the activity_type of this ActivityItem. The type of activity occuring on the support ticket. Allowed values for this property are: "NOTES", "PROBLEM_DESCRIPTION", "UPDATE", "CLOSE", "REOPEN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The activity_type of this ActivityItem. :rtype: str )r&