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_UPDATE A constant which can be used with the activity_type property of a ActivityItem.
activity_author Gets the activity_author of this ActivityItem.
activity_type Gets the activity_type of this ActivityItem.
category Gets the category of this Item.
comments Gets the comments of this ActivityItem.
issue_type Gets the issue_type of this Item.
item_key [Required] Gets the item_key of this Item.
name Gets the name of this Item.
sub_category Gets the sub_category of this Item.
time_created Gets the time_created of this ActivityItem.
time_updated 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_UPDATE = 'UPDATE'

A constant which can be used with the activity_type property of a ActivityItem. This constant has a value of “UPDATE”

__init__(**kwargs)

Initializes a new ActivityItem object with values from keyword arguments. The default value of the 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):

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”, ‘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’.
activity_author

Gets the activity_author of this ActivityItem. The person who updates the activity on the support ticket.

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

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”, ‘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
category

Gets the category of this Item.

Returns:The category of this Item.
Return type:oci.cims.models.Category
comments

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

[Required] Gets the item_key of this Item. Unique identifier for the item.

Returns:The item_key of this Item.
Return type:str
name

Gets the name of this Item. The display name of the item.

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

Gets the time_created of this ActivityItem. The time when the activity was created, in milliseconds since epoch time.

Returns:The time_created of this ActivityItem.
Return type:int
time_updated

Gets the time_updated of this ActivityItem. The time when the activity was updated, in milliseconds since epoch time.

Returns:The time_updated of this ActivityItem.
Return type:int
type

Gets the type of this Item. The type of the support request.

Returns:The type of this Item.
Return type:str