Interface ThingCommandResponse<T extends ThingCommandResponse<T>>
-
- Type Parameters:
T
- the type of the implementing class.
- All Superinterfaces:
org.eclipse.ditto.signals.commands.base.CommandResponse<T>
,org.eclipse.ditto.model.base.json.Jsonifiable<org.eclipse.ditto.json.JsonObject>
,org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<org.eclipse.ditto.json.JsonObject,org.eclipse.ditto.json.JsonField>
,org.eclipse.ditto.signals.base.Signal<T>
,org.eclipse.ditto.model.base.headers.WithDittoHeaders<T>
,org.eclipse.ditto.signals.base.WithId
,org.eclipse.ditto.model.base.headers.WithManifest
,org.eclipse.ditto.signals.base.WithName
,org.eclipse.ditto.signals.base.WithResource
,org.eclipse.ditto.model.things.WithThingId
,org.eclipse.ditto.signals.base.WithType
- All Known Subinterfaces:
ThingModifyCommandResponse<T>
,ThingQueryCommandResponse<T>
- All Known Implementing Classes:
CreateThingResponse
,DeleteAclEntryResponse
,DeleteAttributeResponse
,DeleteAttributesResponse
,DeleteFeatureDefinitionResponse
,DeleteFeatureDesiredPropertiesResponse
,DeleteFeatureDesiredPropertyResponse
,DeleteFeaturePropertiesResponse
,DeleteFeaturePropertyResponse
,DeleteFeatureResponse
,DeleteFeaturesResponse
,DeleteThingDefinitionResponse
,DeleteThingResponse
,ModifyAclEntryResponse
,ModifyAclResponse
,ModifyAttributeResponse
,ModifyAttributesResponse
,ModifyFeatureDefinitionResponse
,ModifyFeatureDesiredPropertiesResponse
,ModifyFeatureDesiredPropertyResponse
,ModifyFeaturePropertiesResponse
,ModifyFeaturePropertyResponse
,ModifyFeatureResponse
,ModifyFeaturesResponse
,ModifyPolicyIdResponse
,ModifyThingDefinitionResponse
,ModifyThingResponse
,RetrieveAclEntryResponse
,RetrieveAclResponse
,RetrieveAttributeResponse
,RetrieveAttributesResponse
,RetrieveFeatureDefinitionResponse
,RetrieveFeatureDesiredPropertiesResponse
,RetrieveFeatureDesiredPropertyResponse
,RetrieveFeaturePropertiesResponse
,RetrieveFeaturePropertyResponse
,RetrieveFeatureResponse
,RetrieveFeaturesResponse
,RetrievePolicyIdResponse
,RetrieveThingDefinitionResponse
,RetrieveThingResponse
,RetrieveThingsResponse
,ThingErrorResponse
public interface ThingCommandResponse<T extends ThingCommandResponse<T>> extends org.eclipse.ditto.signals.commands.base.CommandResponse<T>, org.eclipse.ditto.model.things.WithThingId
Aggregates all possible responses relating to a givenThingCommand
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ThingCommandResponse.JsonFields
This class contains definitions for all specific fields of aThingCommandResponse
's JSON representation.-
Nested classes/interfaces inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable
org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends Object>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_PREFIX
Type Prefix of Thing command responses.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.eclipse.ditto.model.things.ThingId
getEntityId()
default String
getResourceType()
T
setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
-
Methods inherited from interface org.eclipse.ditto.signals.commands.base.CommandResponse
getImplementedSchemaVersion, getResponseType, getStatusCode, getStatusCodeValue, isOfExpectedResponseType, toJson, toJson
-
Methods inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable
getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonString
-
Methods inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate
toJson, toJsonString, toJsonString
-
Methods inherited from interface org.eclipse.ditto.model.base.headers.WithDittoHeaders
getDittoHeaders
-
-
-
-
Field Detail
-
TYPE_PREFIX
static final String TYPE_PREFIX
Type Prefix of Thing command responses.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityId
default org.eclipse.ditto.model.things.ThingId getEntityId()
- Specified by:
getEntityId
in interfaceorg.eclipse.ditto.signals.base.WithId
-
getResourceType
default String getResourceType()
- Specified by:
getResourceType
in interfaceorg.eclipse.ditto.signals.base.WithResource
-
setDittoHeaders
T setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
- Specified by:
setDittoHeaders
in interfaceorg.eclipse.ditto.signals.commands.base.CommandResponse<T extends ThingCommandResponse<T>>
- Specified by:
setDittoHeaders
in interfaceorg.eclipse.ditto.model.base.headers.WithDittoHeaders<T extends ThingCommandResponse<T>>
-
-