CreateIncident

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

Bases: object

Details gathered during the creation of the support ticket.

Attributes

PROBLEM_TYPE_ACCOUNT A constant which can be used with the problem_type property of a CreateIncident.
PROBLEM_TYPE_LEGACY_LIMIT A constant which can be used with the problem_type property of a CreateIncident.
PROBLEM_TYPE_LIMIT A constant which can be used with the problem_type property of a CreateIncident.
PROBLEM_TYPE_TAXONOMY A constant which can be used with the problem_type property of a CreateIncident.
PROBLEM_TYPE_TECH A constant which can be used with the problem_type property of a CreateIncident.
compartment_id [Required] Gets the compartment_id of this CreateIncident.
contacts Gets the contacts of this CreateIncident.
csi Gets the csi of this CreateIncident.
problem_type [Required] Gets the problem_type of this CreateIncident.
referrer Gets the referrer of this CreateIncident.
ticket [Required] Gets the ticket of this CreateIncident.

Methods

__init__(**kwargs) Initializes a new CreateIncident object with values from keyword arguments.
PROBLEM_TYPE_ACCOUNT = 'ACCOUNT'

A constant which can be used with the problem_type property of a CreateIncident. This constant has a value of “ACCOUNT”

PROBLEM_TYPE_LEGACY_LIMIT = 'LEGACY_LIMIT'

A constant which can be used with the problem_type property of a CreateIncident. This constant has a value of “LEGACY_LIMIT”

PROBLEM_TYPE_LIMIT = 'LIMIT'

A constant which can be used with the problem_type property of a CreateIncident. This constant has a value of “LIMIT”

PROBLEM_TYPE_TAXONOMY = 'TAXONOMY'

A constant which can be used with the problem_type property of a CreateIncident. This constant has a value of “TAXONOMY”

PROBLEM_TYPE_TECH = 'TECH'

A constant which can be used with the problem_type property of a CreateIncident. This constant has a value of “TECH”

__init__(**kwargs)

Initializes a new CreateIncident object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateIncident.
  • ticket (oci.cims.models.CreateTicketDetails) – The value to assign to the ticket property of this CreateIncident.
  • csi (str) – The value to assign to the csi property of this CreateIncident.
  • problem_type (str) – The value to assign to the problem_type property of this CreateIncident. Allowed values for this property are: “LIMIT”, “LEGACY_LIMIT”, “TECH”, “ACCOUNT”, “TAXONOMY”
  • contacts (list[oci.cims.models.Contact]) – The value to assign to the contacts property of this CreateIncident.
  • referrer (str) – The value to assign to the referrer property of this CreateIncident.
compartment_id

[Required] Gets the compartment_id of this CreateIncident. The OCID of the tenancy.

Returns:The compartment_id of this CreateIncident.
Return type:str
contacts

Gets the contacts of this CreateIncident. The list of contacts.

Returns:The contacts of this CreateIncident.
Return type:list[oci.cims.models.Contact]
csi

Gets the csi of this CreateIncident. The Customer Support Identifier (CSI) number associated with the support account. The CSI is required for technical support tickets and optional for limits and billing tickets.

Returns:The csi of this CreateIncident.
Return type:str
problem_type

[Required] Gets the problem_type of this CreateIncident. The kind of support ticket, such as a technical support request or a limit increase request.

Allowed values for this property are: “LIMIT”, “LEGACY_LIMIT”, “TECH”, “ACCOUNT”, “TAXONOMY”

Returns:The problem_type of this CreateIncident.
Return type:str
referrer

Gets the referrer of this CreateIncident. The incident referrer. This value is often the URL that the customer used when creating the support ticket.

Returns:The referrer of this CreateIncident.
Return type:str
ticket

[Required] Gets the ticket of this CreateIncident.

Returns:The ticket of this CreateIncident.
Return type:oci.cims.models.CreateTicketDetails