Package com.oracle.bmc.cims.model
Class Incident
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.cims.model.Incident
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class Incident extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails about the support request.
 Note: Objects should always be created or deserialized using theIncident.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theIncident.Builder, which maintain a set of all explicitly set fields calledIncident.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classIncident.Builder
 - 
Constructor SummaryConstructors Constructor Description Incident(String key, String compartmentId, ContactList contactList, TenancyInformation tenancyInformation, Ticket ticket, IncidentType incidentType, String migratedSrNumber, String userGroupId, String userGroupName, String primaryContactPartyId, String primaryContactPartyName, Boolean isWritePermitted, String warnMessage, ProblemType problemType, String referrer)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Incident.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the tenancy.ContactListgetContactList()IncidentTypegetIncidentType()BooleangetIsWritePermitted()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.StringgetKey()Unique identifier for the support request.StringgetMigratedSrNumber()Technical support type (TECH) only: The pre-migration identifier of the support request in My Oracle Support (MOS).StringgetPrimaryContactPartyId()Technical support type (TECH) only: The identifier of the support request’s primary contact (primaryContactPartyName) in My Oracle Cloud Support portal.StringgetPrimaryContactPartyName()Technical support type (TECH) only: The name of the support request’s primary contact in My Oracle Cloud Support portal.ProblemTypegetProblemType()The kind of support request (type of support request).StringgetReferrer()The incident referrer.TenancyInformationgetTenancyInformation()TicketgetTicket()StringgetUserGroupId()Technical support type (TECH) only: The identifier of the support request’s user group in My Oracle Cloud Support portal.StringgetUserGroupName()Technical support type (TECH) only: Name of the support request’s user group in My Oracle Cloud Support portal.StringgetWarnMessage()Technical support type (TECH) only: Message indicating the user group ( userGroupId) that was auto-selected for a new support request.inthashCode()Incident.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Incident@Deprecated @ConstructorProperties({"key","compartmentId","contactList","tenancyInformation","ticket","incidentType","migratedSrNumber","userGroupId","userGroupName","primaryContactPartyId","primaryContactPartyName","isWritePermitted","warnMessage","problemType","referrer"}) public Incident(String key, String compartmentId, ContactList contactList, TenancyInformation tenancyInformation, Ticket ticket, IncidentType incidentType, String migratedSrNumber, String userGroupId, String userGroupName, String primaryContactPartyId, String primaryContactPartyName, Boolean isWritePermitted, String warnMessage, ProblemType problemType, String referrer) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Incident.Builder builder() Create a new builder.
 - 
toBuilderpublic Incident.Builder toBuilder() 
 - 
getKeypublic String getKey() Unique identifier for the support request.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the tenancy.- Returns:
- the value
 
 - 
getContactListpublic ContactList getContactList() 
 - 
getTenancyInformationpublic TenancyInformation getTenancyInformation() 
 - 
getTicketpublic Ticket getTicket() 
 - 
getIncidentTypepublic IncidentType getIncidentType() 
 - 
getMigratedSrNumberpublic String getMigratedSrNumber() Technical support type (TECH) only: The pre-migration identifier of the support request in My Oracle Support (MOS).- Returns:
- the value
 
 - 
getUserGroupIdpublic String getUserGroupId() Technical support type (TECH) only: The identifier of the support request’s user group in My Oracle Cloud Support portal.- Returns:
- the value
 
 - 
getUserGroupNamepublic String getUserGroupName() Technical support type (TECH) only: Name of the support request’s user group in My Oracle Cloud Support portal.- Returns:
- the value
 
 - 
getPrimaryContactPartyIdpublic String getPrimaryContactPartyId() Technical support type (TECH) only: The identifier of the support request’s primary contact (primaryContactPartyName) in My Oracle Cloud Support portal.- Returns:
- the value
 
 - 
getPrimaryContactPartyNamepublic String getPrimaryContactPartyName() Technical support type (TECH) only: The name of the support request’s primary contact in My Oracle Cloud Support portal.- Returns:
- the value
 
 - 
getIsWritePermittedpublic Boolean getIsWritePermitted() 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 value
 
 - 
getWarnMessagepublic String getWarnMessage() 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 value
 
 - 
getProblemTypepublic ProblemType getProblemType() 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. - Returns:
- the value
 
 - 
getReferrerpublic String getReferrer() The incident referrer.This value is often the URL that the customer used when creating the support request. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-