Class SensorCreateParams.Body
-
- All Implemented Interfaces:
public final class SensorCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSensorCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description 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>_additionalProperties()final SensorCreateParams.Body.BuildertoBuilder()final SensorCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SensorCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SensorCreateParams.Body.Builder toBuilder()
-
validate
final SensorCreateParams.Body validate()
-
builder
final static SensorCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.plaintextName()
-
-
-
-