Class PreferenceRetrieveResponse
-
- All Implemented Interfaces:
public final class PreferenceRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPreferenceRetrieveResponse.BuilderA builder for PreferenceRetrieveResponse.
-
Method Summary
Modifier and Type Method Description final List<TopicPreference>items()The Preferences associated with the user_id. final Pagingpaging()Deprecated - Paging not implemented on this endpoint final JsonField<List<TopicPreference>>_items()Returns the raw JSON value of items. final JsonField<Paging>_paging()Returns the raw JSON value of paging. final Map<String, JsonValue>_additionalProperties()final PreferenceRetrieveResponse.BuildertoBuilder()final PreferenceRetrieveResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PreferenceRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of PreferenceRetrieveResponse. -
-
Method Detail
-
items
final List<TopicPreference> items()
The Preferences associated with the user_id.
-
_items
final JsonField<List<TopicPreference>> _items()
Returns the raw JSON value of items.
Unlike items, this method doesn't throw if the JSON field has an unexpected type.
-
_paging
final JsonField<Paging> _paging()
Returns the raw JSON value of paging.
Unlike paging, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PreferenceRetrieveResponse.Builder toBuilder()
-
validate
final PreferenceRetrieveResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static PreferenceRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of PreferenceRetrieveResponse.
The following fields are required:
.items() .paging()
-
-
-
-