ActivityItem¶
-
class
oci.cims.models.
ActivityItem
(**kwargs)¶ Bases:
oci.cims.models.item.Item
Details about the ActivityItem object.
Attributes
ACTIVITY_AUTHOR_CUSTOMER
A constant which can be used with the activity_author property of a ActivityItem. ACTIVITY_AUTHOR_ORACLE
A constant which can be used with the activity_author property of a ActivityItem. ACTIVITY_TYPE_CLOSE
A constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_NOTES
A constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_PROBLEM_DESCRIPTION
A constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_REOPEN
A constant which can be used with the activity_type property of a ActivityItem. ACTIVITY_TYPE_UPDATE
A constant which can be used with the activity_type property of a ActivityItem. ITEM_STATUS_ATTACHED
A constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_FAILED
A constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_PROCESSING
A constant which can be used with the item_status property of a ActivityItem. ITEM_STATUS_REMOVED
A constant which can be used with the item_status property of a ActivityItem. ITEM_TYPE_ATTACHMENTS
A constant which can be used with the item_type property of a ActivityItem. ITEM_TYPE_COMMENTS
A 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_id
Gets the attachment_id of this ActivityItem. category
Gets the category of this Item. comments
[Required] Gets the comments of this ActivityItem. issue_type
Gets the issue_type of this Item. item_key
Gets the item_key of this Item. item_status
Gets the item_status of this ActivityItem. item_type
Gets the item_type of this ActivityItem. name
Gets the name of this Item. sub_category
Gets 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. type
Gets 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_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
type
attribute of this class isactivity
and 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.
- 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”, ‘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 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’.
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 added with the activity on the support ticket.
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.
-
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 ticket.
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’.
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
-