Package com.oracle.bmc.cims.model
Class ActivityItem
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cims.model.Item
-
- com.oracle.bmc.cims.model.ActivityItem
-
@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 theActivityItem.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 theActivityItem.Builder
, which maintain a set of all explicitly set fields calledActivityItem.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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
-
Constructor Summary
Constructors Constructor 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, String attachmentID)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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
getAttachmentID()
attachmentID for the ItemType Attachments only for Alloy realm.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 seconds since epoch time.Integer
getTimeUpdated()
The time when the activity was updated, in seconds since epoch time.int
hashCode()
ActivityItem.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.cims.model.Item
getCategory, getIssueType, getItemKey, getName, getSubCategory
-
-
-
-
Constructor Detail
-
ActivityItem
@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, String attachmentID)
Deprecated.
-
-
Method Detail
-
builder
public static ActivityItem.Builder builder()
Create a new builder.
-
toBuilder
public ActivityItem.Builder toBuilder()
-
getComments
public String getComments()
Comments added with the activity on the support ticket.- Returns:
- the value
-
getTimeCreated
public Integer getTimeCreated()
The time when the activity was created, in seconds since epoch time.- Returns:
- the value
-
getTimeUpdated
public Integer getTimeUpdated()
The time when the activity was updated, in seconds since epoch time.- Returns:
- the value
-
getActivityType
public ActivityItem.ActivityType getActivityType()
The type of activity occuring on the support ticket.- Returns:
- the value
-
getActivityAuthor
public ActivityItem.ActivityAuthor getActivityAuthor()
-
getItemType
public ActivityItem.ItemType getItemType()
-
getItemStatus
public ActivityItem.ItemStatus getItemStatus()
Who updates the activity on the support ticket.- Returns:
- the value
-
getAttachmentID
public String getAttachmentID()
attachmentID for the ItemType Attachments only for Alloy realm.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-