UpdateActivityItemDetails

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

Bases: UpdateItemDetails

Details for updating the support request activity.

Attributes:

ACTIVITY_TYPE_ADD_CONTACT

A constant which can be used with the activity_type property of a UpdateActivityItemDetails.

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_ADD_CONTACT = 'ADD_CONTACT'

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

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”, “ADD_CONTACT”

property activity_type

Gets the activity_type of this UpdateActivityItemDetails. The type of activity occurring. NOTES is the activity associated to attachments. PROBLEM_DESCRIPTION is the activity associated to customer problem description. UPDATE is the activity associated to adding comments. CLOSE is the activity associated to closing the support request. REOPEN is the activity associated to reopening the support request. ADD_CONTACT is the activity associated to adding additional contact to the support request.

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

Returns

The activity_type of this UpdateActivityItemDetails.

Return type

str

property 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.

property type

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

Returns

The type of this UpdateItemDetails.

Return type

str