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