Class SensorCreateResponse
-
- All Implemented Interfaces:
public final class SensorCreateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSensorCreateResponse.BuilderA builder for SensorCreateResponse.
public final classSensorCreateResponse.Tags
-
Method Summary
Modifier and Type Method Description final Booleanactive()final OffsetDateTimecreatedAt()final StringmodelId()final StringplaintextName()final StringsensorId()final SensorCreateResponse.Tagstags()final StringtenantId()final Optional<Boolean>adhoc()final Optional<Long>version()final JsonField<Boolean>_active()Returns the raw JSON value of active. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_modelId()Returns the raw JSON value of modelId. final JsonField<String>_plaintextName()Returns the raw JSON value of plaintextName. final JsonField<String>_sensorId()Returns the raw JSON value of sensorId. final JsonField<SensorCreateResponse.Tags>_tags()Returns the raw JSON value of tags. final JsonField<String>_tenantId()Returns the raw JSON value of tenantId. final JsonField<Boolean>_adhoc()Returns the raw JSON value of adhoc. final JsonField<Long>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final SensorCreateResponse.BuildertoBuilder()final SensorCreateResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SensorCreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of SensorCreateResponse. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
-
plaintextName
final String plaintextName()
-
tags
final SensorCreateResponse.Tags tags()
-
_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.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_modelId
final JsonField<String> _modelId()
Returns the raw JSON value of modelId.
Unlike modelId, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_sensorId
final JsonField<String> _sensorId()
Returns the raw JSON value of sensorId.
Unlike sensorId, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<SensorCreateResponse.Tags> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_tenantId
final JsonField<String> _tenantId()
Returns the raw JSON value of tenantId.
Unlike tenantId, 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.
-
_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 SensorCreateResponse.Builder toBuilder()
-
validate
final SensorCreateResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SensorCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of SensorCreateResponse.
The following fields are required:
.active() .createdAt() .modelId() .plaintextName() .sensorId() .tags() .tenantId()
-
-
-
-