Interface SudoCommandResponse<T extends SudoCommandResponse<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.headers.WithDittoHeaders,org.eclipse.ditto.base.model.signals.commands.WithEntity<T>,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,org.eclipse.ditto.base.model.signals.WithType
- All Known Implementing Classes:
SudoRetrieveThingResponse,SudoRetrieveThingsResponse
public interface SudoCommandResponse<T extends SudoCommandResponse<T>>
extends org.eclipse.ditto.base.model.signals.commands.CommandResponse<T>, org.eclipse.ditto.base.model.signals.commands.WithEntity<T>
Aggregates all Thing SudoCommand Responses.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn enumeration of the knownJsonFields of a Sudo Thing command response.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 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 Object> -
Field Summary
FieldsFields inherited from interface org.eclipse.ditto.base.model.signals.commands.CommandResponse
TYPE_QUALIFIER -
Method Summary
Modifier and TypeMethodDescriptiondefault org.eclipse.ditto.json.JsonPointerdefault StringsetDittoHeaders(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) setEntity(org.eclipse.ditto.json.JsonValue entity) Methods inherited from interface org.eclipse.ditto.base.model.signals.commands.CommandResponse
getImplementedSchemaVersion, getResponseType, isOfExpectedResponseType, toJson, toJsonMethods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable
getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonStringMethods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate
toJson, toJsonString, toJsonStringMethods inherited from interface org.eclipse.ditto.base.model.signals.Signal
getNameMethods inherited from interface org.eclipse.ditto.base.model.headers.WithDittoHeaders
getDittoHeadersMethods inherited from interface org.eclipse.ditto.base.model.signals.commands.WithEntity
getEntity, getEntity, getEntityPlainStringMethods inherited from interface org.eclipse.ditto.base.model.signals.commands.WithHttpStatus
getHttpStatusMethods inherited from interface org.eclipse.ditto.base.model.headers.WithManifest
getManifestMethods inherited from interface org.eclipse.ditto.base.model.signals.WithType
getType
-
Field Details
-
TYPE_PREFIX
Type Prefix of Sudo commands.- See Also:
-
-
Method Details
-
getResourcePath
default org.eclipse.ditto.json.JsonPointer getResourcePath()- Specified by:
getResourcePathin interfaceorg.eclipse.ditto.base.model.signals.WithResource
-
getResourceType
- Specified by:
getResourceTypein interfaceorg.eclipse.ditto.base.model.signals.WithResource
-
setEntity
- Specified by:
setEntityin interfaceorg.eclipse.ditto.base.model.signals.commands.WithEntity<T extends SudoCommandResponse<T>>
-
setDittoHeaders
- Specified by:
setDittoHeadersin interfaceorg.eclipse.ditto.base.model.signals.commands.CommandResponse<T extends SudoCommandResponse<T>>- Specified by:
setDittoHeadersin interfaceorg.eclipse.ditto.base.model.headers.DittoHeadersSettable<T extends SudoCommandResponse<T>>
-