public static class ActivityItem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ActivityItem.Builder |
activityAuthor(ActivityItem.ActivityAuthor activityAuthor)
The person who updates the activity on the support ticket.
|
ActivityItem.Builder |
activityType(ActivityItem.ActivityType activityType)
The type of activity occuring on the support ticket.
|
ActivityItem |
build() |
ActivityItem.Builder |
category(Category category) |
ActivityItem.Builder |
comments(String comments)
Comments added with the activity on the support ticket.
|
ActivityItem.Builder |
copy(ActivityItem model) |
ActivityItem.Builder |
issueType(IssueType issueType) |
ActivityItem.Builder |
itemKey(String itemKey) |
ActivityItem.Builder |
name(String name) |
ActivityItem.Builder |
subCategory(SubCategory subCategory) |
ActivityItem.Builder |
timeCreated(Integer timeCreated)
The time when the activity was created, in milliseconds since epoch time.
|
ActivityItem.Builder |
timeUpdated(Integer timeUpdated)
The time when the activity was updated, in milliseconds since epoch time.
|
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 milliseconds since epoch time.
timeCreated
- the value to setpublic ActivityItem.Builder timeUpdated(Integer timeUpdated)
The time when the activity was updated, in milliseconds 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)
The person who updates the activity on the support ticket.
activityAuthor
- the value to setpublic ActivityItem build()
public ActivityItem.Builder copy(ActivityItem model)
Copyright © 2016–2023. All rights reserved.