@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 ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ActivityItem.ActivityAuthor
The person who updates the activity on the support ticket.
|
static class |
ActivityItem.ActivityType
The type of activity occuring on the support ticket.
|
static class |
ActivityItem.Builder |
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ActivityItem.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ActivityItem.ActivityAuthor |
getActivityAuthor()
The person who updates the activity on the support ticket.
|
ActivityItem.ActivityType |
getActivityType()
The type of activity occuring on the support ticket.
|
String |
getComments()
Comments added with the activity on the support ticket.
|
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)
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()
The person who updates the activity on the support ticket.
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2023. All rights reserved.