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.
key [Required] Gets the key 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.

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

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

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

Gets the problem_type of this Incident. 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”, ‘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