Class CensusCustomDestinationParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class CensusCustomDestinationParams implements Params
Processes a Census custom destination RPC request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCensusCustomDestinationParams.BuilderA builder for CensusCustomDestinationParams.
public final classCensusCustomDestinationParams.Bodypublic final classCensusCustomDestinationParams.ParamsThe parameters for the method.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique identifier for the RPC request. final Stringjsonrpc()The JSON-RPC version. final Stringmethod()The method name to execute. final Optional<CensusCustomDestinationParams.Params>params()The parameters for the method. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_jsonrpc()Returns the raw JSON value of jsonrpc. final JsonField<String>_method()Returns the raw JSON value of method. final JsonField<CensusCustomDestinationParams.Params>_params()Returns the raw JSON value of params. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final CensusCustomDestinationParams.BuildertoBuilder()final CensusCustomDestinationParams.Body_body()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 CensusCustomDestinationParams.Builderbuilder()Returns a mutable builder for constructing an instance of CensusCustomDestinationParams. -
-
Method Detail
-
params
final Optional<CensusCustomDestinationParams.Params> params()
The parameters for the method.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_jsonrpc
final JsonField<String> _jsonrpc()
Returns the raw JSON value of jsonrpc.
Unlike jsonrpc, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<String> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_params
final JsonField<CensusCustomDestinationParams.Params> _params()
Returns the raw JSON value of params.
Unlike params, 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 CensusCustomDestinationParams.Builder toBuilder()
-
_body
final CensusCustomDestinationParams.Body _body()
-
_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 CensusCustomDestinationParams.Builder builder()
Returns a mutable builder for constructing an instance of CensusCustomDestinationParams.
The following fields are required:
.id() .jsonrpc() .method()
-
-
-
-