CreateIncident¶
- class oci.cims.models.CreateIncident(**kwargs)¶
Bases:
objectDetails gathered during the creation of the support request.
Attributes:
A constant which can be used with the problem_type property of a CreateIncident.
A constant which can be used with the problem_type property of a CreateIncident.
A constant which can be used with the problem_type property of a CreateIncident.
A constant which can be used with the problem_type property of a CreateIncident.
A constant which can be used with the problem_type property of a CreateIncident.
[Required] Gets the compartment_id of this CreateIncident.
Gets the contacts of this CreateIncident.
[Required] Gets the problem_type of this CreateIncident.
Gets the referrer of this CreateIncident.
[Required] Gets the ticket of this CreateIncident.
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
- 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