Class Incident


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181231")
    public final class Incident
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details about the support ticket.
    Note: Objects should always be created or deserialized using the Incident.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 the Incident.Builder, which maintain a set of all explicitly set fields called Incident.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Method Detail

      • getKey

        public String getKey()
        Unique identifier for the support ticket.
        Returns:
        the value
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the tenancy.
        Returns:
        the value
      • getTicket

        public Ticket getTicket()
      • getUserGroupId

        public 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
      • getUserGroupName

        public String getUserGroupName()
        Technical support type (TECH) only: Name of the support request’s user group in My Oracle Cloud Support portal.
        Returns:
        the value
      • getPrimaryContactPartyId

        public 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
      • getPrimaryContactPartyName

        public 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
      • getIsWritePermitted

        public 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
      • getWarnMessage

        public 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
      • getReferrer

        public String getReferrer()
        The incident referrer.

        This value is often the URL that the customer used when creating the support ticket.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public 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
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel