test_class.declarator: THING_ID = ThingId.of("org.eclipse.ditto.test", "myThing")
test_class.modifier: private static final
test_class.original_string: private static final ThingId THING_ID = ThingId.of("org.eclipse.ditto.test", "myThing");
test_class.type: ThingId
test_class.var_name: THING_ID
test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(SudoCommand.JsonFields.TYPE, SudoRetrieveThing.TYPE)
              .set(SudoCommand.JsonFields.JSON_THING_ID, THING_ID.toString())
              .set(SudoRetrieveThing.JSON_USE_ORIGINAL_SCHEMA_VERSION, false)
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(SudoCommand.JsonFields.TYPE, SudoRetrieveThing.TYPE)
              .set(SudoCommand.JsonFields.JSON_THING_ID, THING_ID.toString())
              .set(SudoRetrieveThing.JSON_USE_ORIGINAL_SCHEMA_VERSION, false)
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.declarator: EMPTY_DITTO_HEADERS = DittoHeaders.empty()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders EMPTY_DITTO_HEADERS = DittoHeaders.empty();
test_class.type: DittoHeaders
test_class.var_name: EMPTY_DITTO_HEADERS
test_class.file: services/models/things/src/test/java/org/eclipse/ditto/services/models/things/commands/sudo/SudoRetrieveThingTest.java
test_class.identifier: SudoRetrieveThingTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final SudoRetrieveThing underTest = SudoRetrieveThing.of(THING_ID, EMPTY_DITTO_HEADERS);
          final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
  
          assertThat(actualJson).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: SudoRetrieveThingTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: of toJson regularOrSpecial isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: NAME = "sudoRetrieveThing"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "sudoRetrieveThing";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: TYPE = TYPE_PREFIX + NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_USE_ORIGINAL_SCHEMA_VERSION =
              JsonFactory.newBooleanFieldDefinition("payload/useOriginalSchemaVersion", FieldType.REGULAR,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<Boolean> JSON_USE_ORIGINAL_SCHEMA_VERSION =
              JsonFactory.newBooleanFieldDefinition("payload/useOriginalSchemaVersion", FieldType.REGULAR,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<Boolean>
focal_class.var_name: JSON_USE_ORIGINAL_SCHEMA_VERSION
focal_class.declarator: thingId
focal_class.modifier: private final
focal_class.original_string: private final ThingId thingId;
focal_class.type: ThingId
focal_class.var_name: thingId
focal_class.declarator: selectedFields
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final JsonFieldSelector selectedFields;
focal_class.type: JsonFieldSelector
focal_class.var_name: selectedFields
focal_class.declarator: useOriginalSchemaVersion
focal_class.modifier: private final
focal_class.original_string: private final boolean useOriginalSchemaVersion;
focal_class.type: boolean
focal_class.var_name: useOriginalSchemaVersion
focal_class.file: services/models/things/src/main/java/org/eclipse/ditto/services/models/things/commands/sudo/SudoRetrieveThing.java
focal_class.identifier: SudoRetrieveThing
focal_class.interfaces: implements SudoCommand<SudoRetrieveThing>
focal_class.class_method_signature: SudoRetrieveThing.SudoRetrieveThing(final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders,
              final boolean useOriginalSchemaVersion)
focal_class.full_signature: private  SudoRetrieveThing(final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders,
              final boolean useOriginalSchemaVersion)
focal_class.identifier: SudoRetrieveThing
focal_class.modifiers: private
focal_class.parameters: (final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders,
              final boolean useOriginalSchemaVersion)
focal_class.signature:  SudoRetrieveThing(final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders,
              final boolean useOriginalSchemaVersion)
focal_class.class_method_signature: SudoRetrieveThing.of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoRetrieveThing of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.return: SudoRetrieveThing
focal_class.signature: SudoRetrieveThing of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoRetrieveThing.of(final ThingId thingId, @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoRetrieveThing of(final ThingId thingId, @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders)
focal_class.return: SudoRetrieveThing
focal_class.signature: SudoRetrieveThing of(final ThingId thingId, @Nullable final JsonFieldSelector selectedFields,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoRetrieveThing.withOriginalSchemaVersion(final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoRetrieveThing withOriginalSchemaVersion(final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields, final DittoHeaders dittoHeaders)
focal_class.identifier: withOriginalSchemaVersion
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields, final DittoHeaders dittoHeaders)
focal_class.return: SudoRetrieveThing
focal_class.signature: SudoRetrieveThing withOriginalSchemaVersion(final ThingId thingId,
              @Nullable final JsonFieldSelector selectedFields, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoRetrieveThing.withOriginalSchemaVersion(final ThingId thingId,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoRetrieveThing withOriginalSchemaVersion(final ThingId thingId,
              final DittoHeaders dittoHeaders)
focal_class.identifier: withOriginalSchemaVersion
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId,
              final DittoHeaders dittoHeaders)
focal_class.return: SudoRetrieveThing
focal_class.signature: SudoRetrieveThing withOriginalSchemaVersion(final ThingId thingId,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoRetrieveThing.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoRetrieveThing fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString, final DittoHeaders dittoHeaders)
focal_class.return: SudoRetrieveThing
focal_class.signature: SudoRetrieveThing fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoRetrieveThing.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoRetrieveThing fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.return: SudoRetrieveThing
focal_class.signature: SudoRetrieveThing fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoRetrieveThing.getId()
focal_class.full_signature: @Override public String getId()
focal_class.identifier: getId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getId()
focal_class.class_method_signature: SudoRetrieveThing.getEntityId()
focal_class.full_signature: @Override public EntityId getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: EntityId
focal_class.signature: EntityId getEntityId()
focal_class.class_method_signature: SudoRetrieveThing.useOriginalSchemaVersion()
focal_class.full_signature: public boolean useOriginalSchemaVersion()
focal_class.identifier: useOriginalSchemaVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean useOriginalSchemaVersion()
focal_class.class_method_signature: SudoRetrieveThing.getSelectedFields()
focal_class.full_signature: public Optional<JsonFieldSelector> getSelectedFields()
focal_class.identifier: getSelectedFields
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<JsonFieldSelector>
focal_class.signature: Optional<JsonFieldSelector> getSelectedFields()
focal_class.class_method_signature: SudoRetrieveThing.appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override protected void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.identifier: appendPayload
focal_class.modifiers: @Override protected
focal_class.parameters: (final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.return: void
focal_class.signature: void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: SudoRetrieveThing.getCategory()
focal_class.full_signature: @Override public Category getCategory()
focal_class.identifier: getCategory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Category
focal_class.signature: Category getCategory()
focal_class.class_method_signature: SudoRetrieveThing.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public SudoRetrieveThing setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: SudoRetrieveThing
focal_class.signature: SudoRetrieveThing setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoRetrieveThing.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: SudoRetrieveThing.canEqual(@Nullable final Object other)
focal_class.full_signature: @Override protected boolean canEqual(@Nullable final Object other)
focal_class.identifier: canEqual
focal_class.modifiers: @Override protected
focal_class.parameters: (@Nullable final Object other)
focal_class.return: boolean
focal_class.signature: boolean canEqual(@Nullable final Object other)
focal_class.class_method_signature: SudoRetrieveThing.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: SudoRetrieveThing.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends AbstractCommand<SudoRetrieveThing>
focal_method.body: public static SudoRetrieveThing of(final ThingId thingId, final DittoHeaders dittoHeaders) {
          return of(thingId, null, dittoHeaders);
      }
focal_method.class_method_signature: SudoRetrieveThing.of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static SudoRetrieveThing of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: of
focal_method.modifiers: public static
focal_method.parameters: (final ThingId thingId, final DittoHeaders dittoHeaders)
focal_method.return: SudoRetrieveThing
focal_method.signature: SudoRetrieveThing of(final ThingId thingId, final DittoHeaders dittoHeaders)