Package app.knock.api.models.objects
Class ObjectSetChannelDataParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class ObjectSetChannelDataParams implements Params
Sets the channel data for the specified object and channel. If no object exists in the current environment for the given
collectionandobject_id, Knock will create the object as part of this request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classObjectSetChannelDataParams.BuilderA builder for ObjectSetChannelDataParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>collection()final Optional<String>objectId()final Optional<String>channelId()final ChannelDataRequestchannelDataRequest()A request to set channel data for a type of channel. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final ObjectSetChannelDataParams.BuildertoBuilder()final ChannelDataRequest_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 ObjectSetChannelDataParams.Builderbuilder()Returns a mutable builder for constructing an instance of ObjectSetChannelDataParams. -
-
Method Detail
-
collection
final Optional<String> collection()
-
channelDataRequest
final ChannelDataRequest channelDataRequest()
A request to set channel data for a type of channel.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final ObjectSetChannelDataParams.Builder toBuilder()
-
_body
final ChannelDataRequest _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 ObjectSetChannelDataParams.Builder builder()
Returns a mutable builder for constructing an instance of ObjectSetChannelDataParams.
The following fields are required:
.channelDataRequest()
-
-
-
-