Package app.knock.api.models.users
Class UserMergeParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class UserMergeParams implements Params
Merge two users together, where the user specified with the
from_user_idparam will be merged into the user specified byuser_id.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserMergeParams.BuilderA builder for UserMergeParams.
public final classUserMergeParams.BodyA set of parameters to merge one user into another.
-
Method Summary
Modifier and Type Method Description final Optional<String>userId()final StringfromUserId()The user ID to merge from. final JsonField<String>_fromUserId()Returns the raw JSON value of fromUserId. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final UserMergeParams.BuildertoBuilder()final UserMergeParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserMergeParams.Builderbuilder()Returns a mutable builder for constructing an instance of UserMergeParams. -
-
Method Detail
-
fromUserId
final String fromUserId()
The user ID to merge from.
-
_fromUserId
final JsonField<String> _fromUserId()
Returns the raw JSON value of fromUserId.
Unlike fromUserId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final UserMergeParams.Builder toBuilder()
-
_body
final UserMergeParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static UserMergeParams.Builder builder()
Returns a mutable builder for constructing an instance of UserMergeParams.
The following fields are required:
.fromUserId()
-
-
-
-