@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class Ticket extends Object
Details of 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
Severity of 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()
Details of ticket
|
LifecycleDetails |
getLifecycleDetails()
Describes the lifecycle details of a ticket
|
LifecycleState |
getLifecycleState()
Describes the lifecycles of a ticket
|
List<Resource> |
getResourceList()
List of resources
|
Ticket.Severity |
getSeverity()
Severity of the ticket.
|
String |
getTicketNumber()
Unique ID that identifies a Ticket
|
Integer |
getTimeCreated()
Epoch time of ticket creation
|
Integer |
getTimeUpdated()
Epoch time of ticket updated
|
String |
getTitle()
Title of ticket
|
int |
hashCode() |
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 String getTicketNumber()
Unique ID that identifies a Ticket
public Ticket.Severity getSeverity()
Severity of the ticket. eg: HIGH, MEDIUM
public String getTitle()
Title of ticket
public String getDescription()
Details of ticket
public Integer getTimeCreated()
Epoch time of ticket creation
public Integer getTimeUpdated()
Epoch time of ticket updated
public LifecycleState getLifecycleState()
Describes the lifecycles of a ticket
public LifecycleDetails getLifecycleDetails()
Describes the lifecycle details of a ticket
Copyright © 2016–2020. All rights reserved.