Incident

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

Bases: object

Details about the support request.

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.

migrated_sr_number

Gets the migrated_sr_number 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.

  • migrated_sr_number (str) – The value to assign to the migrated_sr_number 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.

property compartment_id

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

Returns

The compartment_id of this Incident.

Return type

str

property contact_list

Gets the contact_list of this Incident.

Returns

The contact_list of this Incident.

Return type

oci.cims.models.ContactList

property incident_type

Gets the incident_type of this Incident.

Returns

The incident_type of this Incident.

Return type

oci.cims.models.IncidentType

property 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

property key

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

Returns

The key of this Incident.

Return type

str

property migrated_sr_number

Gets the migrated_sr_number of this Incident. Technical support type (TECH) only: The pre-migration identifier of the support request in My Oracle Support (MOS).

Returns

The migrated_sr_number of this Incident.

Return type

str

property 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

property 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

property problem_type

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

property referrer

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

Returns

The referrer of this Incident.

Return type

str

property tenancy_information

Gets the tenancy_information of this Incident.

Returns

The tenancy_information of this Incident.

Return type

oci.cims.models.TenancyInformation

property ticket

Gets the ticket of this Incident.

Returns

The ticket of this Incident.

Return type

oci.cims.models.Ticket

property 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

property 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

property 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