Incident

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

Bases: object

Details about the support ticket.

Attributes

PROBLEM_TYPE_ACCOUNT A constant which can be used with the problem_type property of a Incident.
PROBLEM_TYPE_LEGACY_LIMIT A constant which can be used with the problem_type property of a Incident.
PROBLEM_TYPE_LIMIT A constant which can be used with the problem_type property of a Incident.
PROBLEM_TYPE_TAXONOMY A constant which can be used with the problem_type property of a Incident.
PROBLEM_TYPE_TECH A constant which can be used with the problem_type property of a Incident.
compartment_id Gets the compartment_id of this Incident.
contact_list Gets the contact_list of this Incident.
incident_type Gets the incident_type of this Incident.
is_write_permitted Gets the is_write_permitted of this Incident.
key [Required] Gets the key of this Incident.
primary_contact_party_id Gets the primary_contact_party_id of this Incident.
primary_contact_party_name Gets the primary_contact_party_name of this Incident.
problem_type Gets the problem_type of this Incident.
referrer Gets the referrer of this Incident.
tenancy_information Gets the tenancy_information of this Incident.
ticket Gets the ticket of this Incident.
user_group_id Gets the user_group_id of this Incident.
user_group_name Gets the user_group_name of this Incident.
warn_message Gets the warn_message of this Incident.

Methods

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

A constant which can be used with the problem_type property of a Incident. 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 Incident. 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 Incident. This constant has a value of “LIMIT”

PROBLEM_TYPE_TAXONOMY = 'TAXONOMY'

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

PROBLEM_TYPE_TECH = 'TECH'

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

__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this Incident.
  • compartment_id (str) – The value to assign to the compartment_id property of this Incident.
  • contact_list (oci.cims.models.ContactList) – The value to assign to the contact_list property of this Incident.
  • tenancy_information (oci.cims.models.TenancyInformation) – The value to assign to the tenancy_information property of this Incident.
  • ticket (oci.cims.models.Ticket) – The value to assign to the ticket property of this Incident.
  • incident_type (oci.cims.models.IncidentType) – The value to assign to the incident_type property of this Incident.
  • user_group_id (str) – The value to assign to the user_group_id property of this Incident.
  • user_group_name (str) – The value to assign to the user_group_name property of this Incident.
  • primary_contact_party_id (str) – The value to assign to the primary_contact_party_id property of this Incident.
  • primary_contact_party_name (str) – The value to assign to the primary_contact_party_name property of this Incident.
  • is_write_permitted (bool) – The value to assign to the is_write_permitted property of this Incident.
  • warn_message (str) – The value to assign to the warn_message property of this Incident.
  • problem_type (str) – The value to assign to the problem_type property of this Incident. Allowed values for this property are: “LIMIT”, “LEGACY_LIMIT”, “TECH”, “ACCOUNT”, “TAXONOMY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • referrer (str) – The value to assign to the referrer property of this Incident.
compartment_id

Gets the compartment_id of this Incident. The OCID of the tenancy.

Returns:The compartment_id of this Incident.
Return type:str
contact_list

Gets the contact_list of this Incident.

Returns:The contact_list of this Incident.
Return type:oci.cims.models.ContactList
incident_type

Gets the incident_type of this Incident.

Returns:The incident_type of this Incident.
Return type:oci.cims.models.IncidentType
is_write_permitted

Gets the is_write_permitted of this Incident. Technical support type (TECH) only: Allows update of the support request in My Oracle Cloud Support portal, when the user has write permission to the support request’s user group.

Returns:The is_write_permitted of this Incident.
Return type:bool
key

[Required] Gets the key of this Incident. Unique identifier for the support ticket.

Returns:The key of this Incident.
Return type:str
primary_contact_party_id

Gets the primary_contact_party_id of this Incident. Technical support type (TECH) only: The identifier of the support request’s primary contact (primaryContactPartyName) in My Oracle Cloud Support portal.

Returns:The primary_contact_party_id of this Incident.
Return type:str
primary_contact_party_name

Gets the primary_contact_party_name of this Incident. Technical support type (TECH) only: The name of the support request’s primary contact in My Oracle Cloud Support portal.

Returns:The primary_contact_party_name of this Incident.
Return type:str
problem_type

Gets the problem_type of this Incident. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

Returns:The referrer of this Incident.
Return type:str
tenancy_information

Gets the tenancy_information of this Incident.

Returns:The tenancy_information of this Incident.
Return type:oci.cims.models.TenancyInformation
ticket

Gets the ticket of this Incident.

Returns:The ticket of this Incident.
Return type:oci.cims.models.Ticket
user_group_id

Gets the user_group_id of this Incident. 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 Incident.
Return type:str
user_group_name

Gets the user_group_name of this Incident. Technical support type (TECH) only: Name of the support request’s user group in My Oracle Cloud Support portal.

Returns:The user_group_name of this Incident.
Return type:str
warn_message

Gets the warn_message of this Incident. Technical support type (TECH) only: Message indicating the user group (userGroupId) that was auto-selected for a new support request. This message appears when no user group was specified in the create request for a new technical support request.

Returns:The warn_message of this Incident.
Return type:str