ActivityItem¶
- class oci.cims.models.ActivityItem(**kwargs)¶
Bases:
ItemDetails about the ActivityItem object.
Attributes:
A constant which can be used with the activity_author property of a ActivityItem.
A constant which can be used with the activity_author property of a ActivityItem.
A constant which can be used with the activity_type property of a ActivityItem.
A constant which can be used with the activity_type property of a ActivityItem.
A constant which can be used with the activity_type property of a ActivityItem.
A constant which can be used with the activity_type property of a ActivityItem.
A constant which can be used with the activity_type property of a ActivityItem.
A constant which can be used with the item_status property of a ActivityItem.
A constant which can be used with the item_status property of a ActivityItem.
A constant which can be used with the item_status property of a ActivityItem.
A constant which can be used with the item_status property of a ActivityItem.
A constant which can be used with the item_status property of a ActivityItem.
A constant which can be used with the item_status property of a ActivityItem.
A constant which can be used with the item_type property of a ActivityItem.
A constant which can be used with the item_type property of a ActivityItem.
[Required] Gets the activity_author of this ActivityItem.
[Required] Gets the activity_type of this ActivityItem.
Gets the attachment_id of this ActivityItem.
Gets the category of this Item.
[Required] Gets the comments of this ActivityItem.
Gets the id of this ActivityItem.
Gets the issue_type of this Item.
Gets the item_key of this Item.
Gets the item_status of this ActivityItem.
Gets the item_type of this ActivityItem.
Gets the name of this Item.
Gets the sub_category of this Item.
[Required] Gets the time_created of this ActivityItem.
[Required] Gets the time_updated of this ActivityItem.
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_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.
- property activity_author¶
[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
- property 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
- property 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
- property category¶
Gets the category of this Item.
- Returns
The category of this Item.
- Return type
- property 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.
- property id¶
Gets the id of this ActivityItem. Identifier of the activity on the support request.
- Returns
The id of this ActivityItem.
- Return type
str
- property issue_type¶
Gets the issue_type of this Item.
- Returns
The issue_type of this Item.
- Return type
- property item_key¶
Gets the item_key of this Item. Unique identifier for the item.
- Returns
The item_key of this Item.
- Return type
str
- property 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
- property 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
- property 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
- property sub_category¶
Gets the sub_category of this Item.
- Returns
The sub_category of this Item.
- Return type
- property 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
- property 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
- property type¶
Gets the type of this Item. The type of the item.
- Returns
The type of this Item.
- Return type
str