CreateIncident

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

Bases: object

Details gathered during the creation of the support request.

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.

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.

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

property 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

property contacts

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

Returns

The contacts of this CreateIncident.

Return type

list[oci.cims.models.Contact]

property problem_type

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

property referrer

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

Returns

The referrer of this CreateIncident.

Return type

str

property ticket

[Required] Gets the ticket of this CreateIncident.

Returns

The ticket of this CreateIncident.

Return type

oci.cims.models.CreateTicketDetails

property user_group_id

Gets the user_group_id of this CreateIncident. Technical support type (TECH) only: Identifier of the user group to assign the new support request to. To find identifiers of user groups that you have access to, run the validate_user() operation. Note: The Customer User Administrator (CUA) can manage user groups by name using My Oracle Cloud Support portal.

Returns

The user_group_id of this CreateIncident.

Return type

str