@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class ActivityItem extends Item
Details about the ActivityItem object.
Note: Objects should always be created or deserialized using the ActivityItem.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 ActivityItem.Builder
, which maintain a
set of all explicitly set fields called ActivityItem.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 |
ActivityItem.ActivityAuthor |
static class |
ActivityItem.ActivityType
The type of activity occuring on the support ticket.
|
static class |
ActivityItem.Builder |
static class |
ActivityItem.ItemStatus
Who updates the activity on the support ticket.
|
static class |
ActivityItem.ItemType |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ActivityItem(String itemKey,
String name,
Category category,
SubCategory subCategory,
IssueType issueType,
String comments,
Integer timeCreated,
Integer timeUpdated,
ActivityItem.ActivityType activityType,
ActivityItem.ActivityAuthor activityAuthor,
ActivityItem.ItemType itemType,
ActivityItem.ItemStatus itemStatus)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ActivityItem.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ActivityItem.ActivityAuthor |
getActivityAuthor() |
ActivityItem.ActivityType |
getActivityType()
The type of activity occuring on the support ticket.
|
String |
getComments()
Comments added with the activity on the support ticket.
|
ActivityItem.ItemStatus |
getItemStatus()
Who updates the activity on the support ticket.
|
ActivityItem.ItemType |
getItemType() |
Integer |
getTimeCreated()
The time when the activity was created, in milliseconds since epoch time.
|
Integer |
getTimeUpdated()
The time when the activity was updated, in milliseconds since epoch time.
|
int |
hashCode() |
ActivityItem.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCategory, getIssueType, getItemKey, getName, getSubCategory
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ActivityItem(String itemKey, String name, Category category, SubCategory subCategory, IssueType issueType, String comments, Integer timeCreated, Integer timeUpdated, ActivityItem.ActivityType activityType, ActivityItem.ActivityAuthor activityAuthor, ActivityItem.ItemType itemType, ActivityItem.ItemStatus itemStatus)
public static ActivityItem.Builder builder()
Create a new builder.
public ActivityItem.Builder toBuilder()
public String getComments()
Comments added with the activity on the support ticket.
public Integer getTimeCreated()
The time when the activity was created, in milliseconds since epoch time.
public Integer getTimeUpdated()
The time when the activity was updated, in milliseconds since epoch time.
public ActivityItem.ActivityType getActivityType()
The type of activity occuring on the support ticket.
public ActivityItem.ActivityAuthor getActivityAuthor()
public ActivityItem.ItemType getItemType()
public ActivityItem.ItemStatus getItemStatus()
Who updates the activity on the support ticket.
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.