Class SessionObserveResponse.Builder
-
- All Implemented Interfaces:
public final class SessionObserveResponse.BuilderA builder for SessionObserveResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final SessionObserveResponse.Builder data(SessionObserveResponse.Data data)
-
data
final SessionObserveResponse.Builder data(JsonField<SessionObserveResponse.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.
-
success
final SessionObserveResponse.Builder success(Boolean success)
Indicates whether the request was successful
-
success
final SessionObserveResponse.Builder success(JsonField<Boolean> success)
Sets Builder.success to an arbitrary JSON value.
You should usually call Builder.success with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionObserveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionObserveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionObserveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionObserveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionObserveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionObserveResponse build()
Returns an immutable instance of SessionObserveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .success()
-
-
-
-