Interface ThingCommandResponse<T extends ThingCommandResponse<T>>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ThingCommandResponse.JsonFields
      This class contains definitions for all specific fields of a ThingCommandResponse'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.
      • Fields inherited from interface org.eclipse.ditto.signals.commands.base.CommandResponse

        TYPE_QUALIFIER
    • 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.signals.base.Signal

        getName
      • Methods inherited from interface org.eclipse.ditto.model.base.headers.WithDittoHeaders

        getDittoHeaders
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithId

        getId
      • Methods inherited from interface org.eclipse.ditto.model.base.headers.WithManifest

        getManifest
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithResource

        getResourcePath
      • Methods inherited from interface org.eclipse.ditto.model.things.WithThingId

        getThingEntityId, getThingId
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithType

        getType
    • Method Detail

      • getEntityId

        default org.eclipse.ditto.model.things.ThingId getEntityId()
        Specified by:
        getEntityId in interface org.eclipse.ditto.signals.base.WithId
      • getResourceType

        default String getResourceType()
        Specified by:
        getResourceType in interface org.eclipse.ditto.signals.base.WithResource
      • setDittoHeaders

        T setDittoHeaders​(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.signals.commands.base.CommandResponse<T extends ThingCommandResponse<T>>
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.model.base.headers.WithDittoHeaders<T extends ThingCommandResponse<T>>