UpdateActivityItemDetails

class oci.cims.models.UpdateActivityItemDetails(**kwargs)

Bases: oci.cims.models.update_item_details.UpdateItemDetails

Details for updating the support ticket activity.

Attributes

ACTIVITY_TYPE_CLOSE A constant which can be used with the activity_type property of a UpdateActivityItemDetails.
ACTIVITY_TYPE_NOTES A constant which can be used with the activity_type property of a UpdateActivityItemDetails.
ACTIVITY_TYPE_PROBLEM_DESCRIPTION A constant which can be used with the activity_type property of a UpdateActivityItemDetails.
ACTIVITY_TYPE_REOPEN A constant which can be used with the activity_type property of a UpdateActivityItemDetails.
ACTIVITY_TYPE_UPDATE A constant which can be used with the activity_type property of a UpdateActivityItemDetails.
activity_type Gets the activity_type of this UpdateActivityItemDetails.
comments Gets the comments of this UpdateActivityItemDetails.
type Gets the type of this UpdateItemDetails.

Methods

__init__(**kwargs) Initializes a new UpdateActivityItemDetails 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_TYPE_CLOSE = 'CLOSE'

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

ACTIVITY_TYPE_NOTES = 'NOTES'

A constant which can be used with the activity_type property of a UpdateActivityItemDetails. 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 UpdateActivityItemDetails. 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 UpdateActivityItemDetails. This constant has a value of “REOPEN”

ACTIVITY_TYPE_UPDATE = 'UPDATE'

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

__init__(**kwargs)

Initializes a new UpdateActivityItemDetails 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:
  • type (str) – The value to assign to the type property of this UpdateActivityItemDetails.
  • comments (str) – The value to assign to the comments property of this UpdateActivityItemDetails.
  • activity_type (str) – The value to assign to the activity_type property of this UpdateActivityItemDetails. Allowed values for this property are: “NOTES”, “PROBLEM_DESCRIPTION”, “UPDATE”, “CLOSE”, “REOPEN”
activity_type

Gets the activity_type of this UpdateActivityItemDetails. The type of activity occurring.

Allowed values for this property are: “NOTES”, “PROBLEM_DESCRIPTION”, “UPDATE”, “CLOSE”, “REOPEN”

Returns:The activity_type of this UpdateActivityItemDetails.
Return type:str
comments

Gets the comments of this UpdateActivityItemDetails. Comments updated at the time that the activity occurs.

Returns:The comments of this UpdateActivityItemDetails.
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.

type

Gets the type of this UpdateItemDetails. The type of the ticket.

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