Class PreferenceRetrieveResponse.Builder
-
- All Implemented Interfaces:
public final class PreferenceRetrieveResponse.BuilderA builder for PreferenceRetrieveResponse.
-
-
Method Summary
-
-
Method Detail
-
items
final PreferenceRetrieveResponse.Builder items(List<TopicPreference> items)
The Preferences associated with the user_id.
-
items
final PreferenceRetrieveResponse.Builder items(JsonField<List<TopicPreference>> items)
Sets Builder.items to an arbitrary JSON value.
You should usually call Builder.items with a well-typed
List<TopicPreference>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addItem
final PreferenceRetrieveResponse.Builder addItem(TopicPreference item)
Adds a single TopicPreference to items.
-
paging
final PreferenceRetrieveResponse.Builder paging(Paging paging)
Deprecated - Paging not implemented on this endpoint
-
paging
final PreferenceRetrieveResponse.Builder paging(JsonField<Paging> paging)
Sets Builder.paging to an arbitrary JSON value.
You should usually call Builder.paging with a well-typed Paging value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PreferenceRetrieveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PreferenceRetrieveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PreferenceRetrieveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PreferenceRetrieveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PreferenceRetrieveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PreferenceRetrieveResponse build()
Returns an immutable instance of PreferenceRetrieveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.items() .paging()
-
-
-
-