@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class Ticket extends Object
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(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.
|
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) |
Set<String> |
get__explicitlySet__() |
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() |
@ConstructorProperties(value={"ticketNumber","severity","resourceList","title","description","timeCreated","timeUpdated","lifecycleState","lifecycleDetails"}) @Deprecated 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
.
Copyright © 2016–2022. All rights reserved.