public static class ActivityItem.Builder extends Object
Constructor and Description |
---|
Builder() |
public ActivityItem.Builder itemKey(String itemKey)
public ActivityItem.Builder name(String name)
public ActivityItem.Builder category(Category category)
public ActivityItem.Builder subCategory(SubCategory subCategory)
public ActivityItem.Builder issueType(IssueType issueType)
public ActivityItem.Builder comments(String comments)
Comments added with the activity on the support ticket.
comments
- the value to setpublic ActivityItem.Builder timeCreated(Integer timeCreated)
The time when the activity was created, in seconds since epoch time.
timeCreated
- the value to setpublic ActivityItem.Builder timeUpdated(Integer timeUpdated)
The time when the activity was updated, in seconds since epoch time.
timeUpdated
- the value to setpublic ActivityItem.Builder activityType(ActivityItem.ActivityType activityType)
The type of activity occuring on the support ticket.
activityType
- the value to setpublic ActivityItem.Builder activityAuthor(ActivityItem.ActivityAuthor activityAuthor)
public ActivityItem.Builder itemType(ActivityItem.ItemType itemType)
public ActivityItem.Builder itemStatus(ActivityItem.ItemStatus itemStatus)
Who updates the activity on the support ticket.
itemStatus
- the value to setpublic ActivityItem.Builder attachmentID(String attachmentID)
attachmentID for the ItemType Attachments only for Alloy realm.
attachmentID
- the value to setpublic ActivityItem build()
public ActivityItem.Builder copy(ActivityItem model)
Copyright © 2016–2024. All rights reserved.