Class FeedListItemsResponse.Builder
-
- All Implemented Interfaces:
public final class FeedListItemsResponse.BuilderA builder for FeedListItemsResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final FeedListItemsResponse.Builder id(String id)
Unique identifier for the feed.
-
id
final FeedListItemsResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_typename
final FeedListItemsResponse.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final FeedListItemsResponse.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
activities
final FeedListItemsResponse.Builder activities(List<Activity> activities)
List of activities associated with this feed item.
-
activities
final FeedListItemsResponse.Builder activities(JsonField<List<Activity>> activities)
Sets Builder.activities to an arbitrary JSON value.
You should usually call Builder.activities with a well-typed
List<Activity>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addActivity
final FeedListItemsResponse.Builder addActivity(Activity activity)
Adds a single Activity to activities.
-
actors
final FeedListItemsResponse.Builder actors(List<Recipient> actors)
List of actors associated with this feed item.
-
actors
final FeedListItemsResponse.Builder actors(JsonField<List<Recipient>> actors)
Sets Builder.actors to an arbitrary JSON value.
You should usually call Builder.actors with a well-typed
List<Recipient>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addActor
final FeedListItemsResponse.Builder addActor(Recipient actor)
-
addActor
final FeedListItemsResponse.Builder addActor(User user)
Alias for calling addActor with
Recipient.ofUser(user).
-
addActor
final FeedListItemsResponse.Builder addActor(Object object_)
Alias for calling addActor with
Recipient.ofObject(object_).
-
blocks
final FeedListItemsResponse.Builder blocks(List<FeedListItemsResponse.Block> blocks)
Content blocks that make up the feed item.
-
blocks
final FeedListItemsResponse.Builder blocks(JsonField<List<FeedListItemsResponse.Block>> blocks)
Sets Builder.blocks to an arbitrary JSON value.
You should usually call Builder.blocks with a well-typed
List<Block>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addBlock
final FeedListItemsResponse.Builder addBlock(FeedListItemsResponse.Block block)
-
addBlock
final FeedListItemsResponse.Builder addBlock(FeedListItemsResponse.Block.MessageInAppFeedContentBlock messageInAppFeedContent)
Alias for calling addBlock with
Block.ofMessageInAppFeedContent(messageInAppFeedContent).
-
addBlock
final FeedListItemsResponse.Builder addBlock(FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock messageInAppFeedButtonSet)
Alias for calling addBlock with
Block.ofMessageInAppFeedButtonSet(messageInAppFeedButtonSet).
-
data
final FeedListItemsResponse.Builder data(FeedListItemsResponse.Data data)
Additional data associated with the feed item.
-
data
final FeedListItemsResponse.Builder data(Optional<FeedListItemsResponse.Data> data)
Alias for calling Builder.data with
data.orElse(null).
-
data
final FeedListItemsResponse.Builder data(JsonField<FeedListItemsResponse.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
insertedAt
final FeedListItemsResponse.Builder insertedAt(String insertedAt)
Timestamp when the resource was created.
-
insertedAt
final FeedListItemsResponse.Builder insertedAt(JsonField<String> insertedAt)
Sets Builder.insertedAt to an arbitrary JSON value.
You should usually call Builder.insertedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final FeedListItemsResponse.Builder source(FeedListItemsResponse.Source source)
Source information for the feed item.
-
source
final FeedListItemsResponse.Builder source(JsonField<FeedListItemsResponse.Source> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed Source value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tenant
final FeedListItemsResponse.Builder tenant(String tenant)
Tenant ID that the feed item belongs to.
-
tenant
final FeedListItemsResponse.Builder tenant(Optional<String> tenant)
Alias for calling Builder.tenant with
tenant.orElse(null).
-
tenant
final FeedListItemsResponse.Builder tenant(JsonField<String> tenant)
Sets Builder.tenant to an arbitrary JSON value.
You should usually call Builder.tenant with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
totalActivities
final FeedListItemsResponse.Builder totalActivities(Long totalActivities)
Total number of activities related to this feed item.
-
totalActivities
final FeedListItemsResponse.Builder totalActivities(JsonField<Long> totalActivities)
Sets Builder.totalActivities to an arbitrary JSON value.
You should usually call Builder.totalActivities with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
totalActors
final FeedListItemsResponse.Builder totalActors(Long totalActors)
Total number of actors related to this feed item.
-
totalActors
final FeedListItemsResponse.Builder totalActors(JsonField<Long> totalActors)
Sets Builder.totalActors to an arbitrary JSON value.
You should usually call Builder.totalActors with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final FeedListItemsResponse.Builder updatedAt(String updatedAt)
The timestamp when the resource was last updated.
-
updatedAt
final FeedListItemsResponse.Builder updatedAt(JsonField<String> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archivedAt
final FeedListItemsResponse.Builder archivedAt(String archivedAt)
Timestamp when the feed item was archived.
-
archivedAt
final FeedListItemsResponse.Builder archivedAt(Optional<String> archivedAt)
Alias for calling Builder.archivedAt with
archivedAt.orElse(null).
-
archivedAt
final FeedListItemsResponse.Builder archivedAt(JsonField<String> archivedAt)
Sets Builder.archivedAt to an arbitrary JSON value.
You should usually call Builder.archivedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clickedAt
final FeedListItemsResponse.Builder clickedAt(String clickedAt)
Timestamp when the feed item was clicked.
-
clickedAt
final FeedListItemsResponse.Builder clickedAt(Optional<String> clickedAt)
Alias for calling Builder.clickedAt with
clickedAt.orElse(null).
-
clickedAt
final FeedListItemsResponse.Builder clickedAt(JsonField<String> clickedAt)
Sets Builder.clickedAt to an arbitrary JSON value.
You should usually call Builder.clickedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
interactedAt
final FeedListItemsResponse.Builder interactedAt(String interactedAt)
Timestamp when the feed item was interacted with.
-
interactedAt
final FeedListItemsResponse.Builder interactedAt(Optional<String> interactedAt)
Alias for calling Builder.interactedAt with
interactedAt.orElse(null).
-
interactedAt
final FeedListItemsResponse.Builder interactedAt(JsonField<String> interactedAt)
Sets Builder.interactedAt to an arbitrary JSON value.
You should usually call Builder.interactedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
linkClickedAt
final FeedListItemsResponse.Builder linkClickedAt(String linkClickedAt)
Timestamp when a link within the feed item was clicked.
-
linkClickedAt
final FeedListItemsResponse.Builder linkClickedAt(Optional<String> linkClickedAt)
Alias for calling Builder.linkClickedAt with
linkClickedAt.orElse(null).
-
linkClickedAt
final FeedListItemsResponse.Builder linkClickedAt(JsonField<String> linkClickedAt)
Sets Builder.linkClickedAt to an arbitrary JSON value.
You should usually call Builder.linkClickedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
readAt
final FeedListItemsResponse.Builder readAt(String readAt)
Timestamp when the feed item was marked as read.
-
readAt
final FeedListItemsResponse.Builder readAt(Optional<String> readAt)
Alias for calling Builder.readAt with
readAt.orElse(null).
-
readAt
final FeedListItemsResponse.Builder readAt(JsonField<String> readAt)
Sets Builder.readAt to an arbitrary JSON value.
You should usually call Builder.readAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
seenAt
final FeedListItemsResponse.Builder seenAt(String seenAt)
Timestamp when the feed item was marked as seen.
-
seenAt
final FeedListItemsResponse.Builder seenAt(Optional<String> seenAt)
Alias for calling Builder.seenAt with
seenAt.orElse(null).
-
seenAt
final FeedListItemsResponse.Builder seenAt(JsonField<String> seenAt)
Sets Builder.seenAt to an arbitrary JSON value.
You should usually call Builder.seenAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FeedListItemsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FeedListItemsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FeedListItemsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FeedListItemsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FeedListItemsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FeedListItemsResponse build()
Returns an immutable instance of FeedListItemsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() ._typename() .activities() .actors() .blocks() .data() .insertedAt() .source() .tenant() .totalActivities() .totalActors() .updatedAt()
-
-
-
-