@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class Ticket extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details about the ticket created.
Note: Objects should always be created or deserialized using the Ticket.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 Ticket.Builder
, which maintain a
set of all explicitly set fields called Ticket.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
).
Modifier and Type | Class and Description |
---|---|
static class |
Ticket.Builder |
static class |
Ticket.Severity
The severity assigned to the ticket.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Ticket(String ticketNumber,
Ticket.Severity severity,
List<Resource> resourceList,
String title,
String description,
Integer timeCreated,
Integer timeUpdated,
LifecycleState lifecycleState,
LifecycleDetails lifecycleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Ticket.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDescription()
The description of the issue addressed in the ticket.
|
LifecycleDetails |
getLifecycleDetails()
Additional information about the current
lifecycleState . |
LifecycleState |
getLifecycleState()
The current state of the ticket.
|
List<Resource> |
getResourceList()
The list of resources associated with the ticket.
|
Ticket.Severity |
getSeverity()
The severity assigned to the ticket.
|
String |
getTicketNumber()
Unique identifier for the ticket.
|
Integer |
getTimeCreated()
The time when the ticket was created, in milliseconds since epoch time.
|
Integer |
getTimeUpdated()
The time when the ticket was updated, in milliseconds since epoch time.
|
String |
getTitle()
The title of the ticket.
|
int |
hashCode() |
Ticket.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"ticketNumber","severity","resourceList","title","description","timeCreated","timeUpdated","lifecycleState","lifecycleDetails"}) public Ticket(String ticketNumber, Ticket.Severity severity, List<Resource> resourceList, String title, String description, Integer timeCreated, Integer timeUpdated, LifecycleState lifecycleState, LifecycleDetails lifecycleDetails)
public static Ticket.Builder builder()
Create a new builder.
public Ticket.Builder toBuilder()
public String getTicketNumber()
Unique identifier for the ticket.
public Ticket.Severity getSeverity()
The severity assigned to the ticket.
public List<Resource> getResourceList()
The list of resources associated with the ticket.
public String getTitle()
The title of the ticket.
public String getDescription()
The description of the issue addressed in the ticket.
public Integer getTimeCreated()
The time when the ticket was created, in milliseconds since epoch time.
public Integer getTimeUpdated()
The time when the ticket was updated, in milliseconds since epoch time.
public LifecycleState getLifecycleState()
The current state of the ticket.
public LifecycleDetails getLifecycleDetails()
Additional information about the current lifecycleState
.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.