ActivityItem¶
-
class
oci.cims.models.ActivityItem(**kwargs)¶ Bases:
oci.cims.models.item.ItemDetails about the ActivityItem object.
Attributes
ACTIVITY_AUTHOR_CUSTOMERA constant which can be used with the activity_author property of a ActivityItem. ACTIVITY_AUTHOR_ORACLEA constant which can be used with the activity_author property of a ActivityItem. ACTIVITY_TYPE_CLOSEA constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_NOTESA constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_PROBLEM_DESCRIPTIONA constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_REOPENA constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_UPDATEA constant which can be used with the activity_type property of a ActivityItem. ITEM_STATUS_ATTACHEDA constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_FAILEDA constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_PROCESSINGA constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_RECEIVEDA constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_REJECTEDA constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_REMOVEDA constant which can be used with the item_status property of a ActivityItem. ITEM_TYPE_ATTACHMENTSA constant which can be used with the item_type property of a ActivityItem. ITEM_TYPE_COMMENTSA constant which can be used with the item_type property of a ActivityItem. activity_author[Required] Gets the activity_author of this ActivityItem. activity_type[Required] Gets the activity_type of this ActivityItem. attachment_idGets the attachment_id of this ActivityItem. categoryGets the category of this Item. comments[Required] Gets the comments of this ActivityItem. idGets the id of this ActivityItem. issue_typeGets the issue_type of this Item. item_keyGets the item_key of this Item. item_statusGets the item_status of this ActivityItem. item_typeGets the item_type of this ActivityItem. nameGets the name of this Item. sub_categoryGets the sub_category of this Item. time_created[Required] Gets the time_created of this ActivityItem. time_updated[Required] Gets the time_updated of this ActivityItem. typeGets the type of this Item. Methods
__init__(**kwargs)Initializes a new ActivityItem object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
ACTIVITY_AUTHOR_CUSTOMER= 'CUSTOMER'¶ A constant which can be used with the activity_author property of a ActivityItem. This constant has a value of “CUSTOMER”
-
ACTIVITY_AUTHOR_ORACLE= 'ORACLE'¶ A constant which can be used with the activity_author property of a ActivityItem. This constant has a value of “ORACLE”
-
ACTIVITY_TYPE_CLOSE= 'CLOSE'¶ A constant which can be used with the activity_type property of a ActivityItem. This constant has a value of “CLOSE”
-
ACTIVITY_TYPE_NOTES= 'NOTES'¶ A constant which can be used with the activity_type property of a ActivityItem. This constant has a value of “NOTES”
-
ACTIVITY_TYPE_PROBLEM_DESCRIPTION= 'PROBLEM_DESCRIPTION'¶ A constant which can be used with the activity_type property of a ActivityItem. This constant has a value of “PROBLEM_DESCRIPTION”
-
ACTIVITY_TYPE_REOPEN= 'REOPEN'¶ A constant which can be used with the activity_type property of a ActivityItem. This constant has a value of “REOPEN”
-
ACTIVITY_TYPE_UPDATE= 'UPDATE'¶ A constant which can be used with the activity_type property of a ActivityItem. This constant has a value of “UPDATE”
-
ITEM_STATUS_ATTACHED= 'ATTACHED'¶ A constant which can be used with the item_status property of a ActivityItem. This constant has a value of “ATTACHED”
-
ITEM_STATUS_FAILED= 'FAILED'¶ A constant which can be used with the item_status property of a ActivityItem. This constant has a value of “FAILED”
-
ITEM_STATUS_PROCESSING= 'PROCESSING'¶ A constant which can be used with the item_status property of a ActivityItem. This constant has a value of “PROCESSING”
-
ITEM_STATUS_RECEIVED= 'RECEIVED'¶ A constant which can be used with the item_status property of a ActivityItem. This constant has a value of “RECEIVED”
-
ITEM_STATUS_REJECTED= 'REJECTED'¶ A constant which can be used with the item_status property of a ActivityItem. This constant has a value of “REJECTED”
-
ITEM_STATUS_REMOVED= 'REMOVED'¶ A constant which can be used with the item_status property of a ActivityItem. This constant has a value of “REMOVED”
-
ITEM_TYPE_ATTACHMENTS= 'ATTACHMENTS'¶ A constant which can be used with the item_type property of a ActivityItem. This constant has a value of “ATTACHMENTS”
-
ITEM_TYPE_COMMENTS= 'COMMENTS'¶ A constant which can be used with the item_type property of a ActivityItem. This constant has a value of “COMMENTS”
-
__init__(**kwargs)¶ Initializes a new ActivityItem object with values from keyword arguments. The default value of the
typeattribute of this class isactivityand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - item_key (str) – The value to assign to the item_key property of this ActivityItem.
- name (str) – The value to assign to the name property of this ActivityItem.
- type (str) – The value to assign to the type property of this ActivityItem.
- category (oci.cims.models.Category) – The value to assign to the category property of this ActivityItem.
- sub_category (oci.cims.models.SubCategory) – The value to assign to the sub_category property of this ActivityItem.
- issue_type (oci.cims.models.IssueType) – The value to assign to the issue_type property of this ActivityItem.
- id (str) – The value to assign to the id property of this ActivityItem.
- comments (str) – The value to assign to the comments property of this ActivityItem.
- time_created (int) – The value to assign to the time_created property of this ActivityItem.
- time_updated (int) – The value to assign to the time_updated property of this ActivityItem.
- activity_type (str) – 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’.
- activity_author (str) – 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’.
- item_type (str) – 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’.
- item_status (str) – The value to assign to the item_status property of this ActivityItem. Allowed values for this property are: “PROCESSING”, “ATTACHED”, “REMOVED”, “FAILED”, “REJECTED”, “RECEIVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- attachment_id (str) – The value to assign to the attachment_id property of this ActivityItem.
[Required] Gets the activity_author 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’.
Returns: The activity_author of this ActivityItem. Return type: str
-
activity_type¶ [Required] Gets the activity_type of this ActivityItem. The type of activity occuring on the support request.
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’.
Returns: The activity_type of this ActivityItem. Return type: str
-
attachment_id¶ Gets the attachment_id of this ActivityItem. attachmentID for the ItemType Attachments only for Alloy realm.
Returns: The attachment_id of this ActivityItem. Return type: str
-
category¶ Gets the category of this Item.
Returns: The category of this Item. Return type: oci.cims.models.Category
-
comments¶ [Required] Gets the comments of this ActivityItem. Comments or file attachments added with the activity on the support request.
Returns: The comments of this ActivityItem. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
id¶ Gets the id of this ActivityItem. Identifier of the activity on the support request.
Returns: The id of this ActivityItem. Return type: str
-
issue_type¶ Gets the issue_type of this Item.
Returns: The issue_type of this Item. Return type: oci.cims.models.IssueType
-
item_key¶ Gets the item_key of this Item. Unique identifier for the item.
Returns: The item_key of this Item. Return type: str
-
item_status¶ Gets the item_status of this ActivityItem. Who updates the activity on the support request.
Allowed values for this property are: “PROCESSING”, “ATTACHED”, “REMOVED”, “FAILED”, “REJECTED”, “RECEIVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The item_status of this ActivityItem. Return type: str
-
item_type¶ Gets the item_type 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’.
Returns: The item_type of this ActivityItem. Return type: str
-
name¶ Gets the name of this Item. The display name of the item. Avoid entering confidential information.
Returns: The name of this Item. Return type: str
-
sub_category¶ Gets the sub_category of this Item.
Returns: The sub_category of this Item. Return type: oci.cims.models.SubCategory
-
time_created¶ [Required] Gets the time_created of this ActivityItem. The time when the activity was created, in seconds since epoch time.
Returns: The time_created of this ActivityItem. Return type: int
-
time_updated¶ [Required] Gets the time_updated of this ActivityItem. The time when the activity was updated, in seconds since epoch time.
Returns: The time_updated of this ActivityItem. Return type: int
-
type¶ Gets the type of this Item. The type of the item.
Returns: The type of this Item. Return type: str
-