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.
user_group_id Gets the user_group_id 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.
  • user_group_id (str) – The value to assign to the user_group_id 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 optional for all support request types.

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

[Required] Gets the problem_type of this CreateIncident. The kind of support ticket (type of support request). For information about ACCOUNT support tickets, see Creating a Billing Support Request. For information about LIMIT support tickets, see Creating a Service Limit Increase Request. For information about TECH support tickets, see Creating a Technical Support 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
user_group_id

Gets the user_group_id of this CreateIncident. Technical support type (TECH) only: The identifier of the support request’s user group in My Oracle Cloud Support portal.

Returns:The user_group_id of this CreateIncident.
Return type:str