Class SensorCreateParams
-
- All Implemented Interfaces:
-
com.hiddenlayer.api.core.Params
public final class SensorCreateParams implements Params
Create Sensor Record
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSensorCreateParams.BuilderA builder for SensorCreateParams.
public final classSensorCreateParams.Bodypublic final classSensorCreateParams.Tags
-
Method Summary
Modifier and Type Method Description final Optional<String>xCorrelationId()final StringplaintextName()final Optional<Boolean>active()final Optional<Boolean>adhoc()final Optional<SensorCreateParams.Tags>tags()final Optional<Long>version()final JsonField<String>_plaintextName()Returns the raw JSON value of plaintextName. final JsonField<Boolean>_active()Returns the raw JSON value of active. final JsonField<Boolean>_adhoc()Returns the raw JSON value of adhoc. final JsonField<SensorCreateParams.Tags>_tags()Returns the raw JSON value of tags. final JsonField<Long>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final SensorCreateParams.BuildertoBuilder()final SensorCreateParams.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 SensorCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of SensorCreateParams. -
-
Method Detail
-
xCorrelationId
final Optional<String> xCorrelationId()
-
plaintextName
final String plaintextName()
-
tags
final Optional<SensorCreateParams.Tags> tags()
-
_plaintextName
final JsonField<String> _plaintextName()
Returns the raw JSON value of plaintextName.
Unlike plaintextName, this method doesn't throw if the JSON field has an unexpected type.
-
_active
final JsonField<Boolean> _active()
Returns the raw JSON value of active.
Unlike active, this method doesn't throw if the JSON field has an unexpected type.
-
_adhoc
final JsonField<Boolean> _adhoc()
Returns the raw JSON value of adhoc.
Unlike adhoc, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<SensorCreateParams.Tags> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<Long> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final SensorCreateParams.Builder toBuilder()
-
_body
final SensorCreateParams.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 SensorCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of SensorCreateParams.
The following fields are required:
.plaintextName()
-
-
-
-