test_class.declarator: KNOWN_FILTER_STR = "eq(thingId,4711)"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_FILTER_STR = "eq(thingId,4711)";
test_class.type: String
test_class.var_name: KNOWN_FILTER_STR
test_class.declarator: JSON_ALL_FIELDS_V2 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.TYPE, SudoCountThings.TYPE)
              .set(SudoCountThings.JSON_FILTER, KNOWN_FILTER_STR)
              .build().toString()
test_class.modifier: private static final
test_class.original_string: private static final String JSON_ALL_FIELDS_V2 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.TYPE, SudoCountThings.TYPE)
              .set(SudoCountThings.JSON_FILTER, KNOWN_FILTER_STR)
              .build().toString();
test_class.type: String
test_class.var_name: JSON_ALL_FIELDS_V2
test_class.declarator: JSON_ALL_FIELDS_V1 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.ID, SudoCountThings.NAME)
              .set(SudoCountThings.JSON_FILTER, KNOWN_FILTER_STR)
              .build().toString()
test_class.modifier: private static final
test_class.original_string: private static final String JSON_ALL_FIELDS_V1 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.ID, SudoCountThings.NAME)
              .set(SudoCountThings.JSON_FILTER, KNOWN_FILTER_STR)
              .build().toString();
test_class.type: String
test_class.var_name: JSON_ALL_FIELDS_V1
test_class.declarator: JSON_MINIMAL_V2 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.TYPE, SudoCountThings.TYPE)
              .build().toString()
test_class.modifier: private static final
test_class.original_string: private static final String JSON_MINIMAL_V2 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.TYPE, SudoCountThings.TYPE)
              .build().toString();
test_class.type: String
test_class.var_name: JSON_MINIMAL_V2
test_class.declarator: JSON_MINIMAL_V1 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.ID, SudoCountThings.NAME)
              .build().toString()
test_class.modifier: private static final
test_class.original_string: private static final String JSON_MINIMAL_V1 = JsonFactory.newObjectBuilder()
              .set(ThingSearchCommand.JsonFields.ID, SudoCountThings.NAME)
              .build().toString();
test_class.type: String
test_class.var_name: JSON_MINIMAL_V1
test_class.file: services/models/thingsearch/src/test/java/org/eclipse/ditto/services/models/thingsearch/commands/sudo/SudoCountThingsTest.java
test_class.identifier: SudoCountThingsTest
test_case.body: @Test
      public void toJsonWithOnlyRequiredFieldsSetV1() {
          final SudoCountThings command = SudoCountThings.of(DittoHeaders.empty());
  
          final String json = command.toJsonString(JsonSchemaVersion.V_1, FieldType.regularOrSpecial());
  
          assertThat(json).isEqualTo(JSON_MINIMAL_V1);
      }
test_case.class_method_signature: SudoCountThingsTest.toJsonWithOnlyRequiredFieldsSetV1()
test_case.full_signature: @Test public void toJsonWithOnlyRequiredFieldsSetV1()
test_case.identifier: toJsonWithOnlyRequiredFieldsSetV1
test_case.invocations: of empty toJsonString regularOrSpecial isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonWithOnlyRequiredFieldsSetV1()
focal_class.declarator: NAME = "sudoCountThings"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "sudoCountThings";
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_FILTER =
              JsonFactory.newStringFieldDefinition("filter", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_FILTER =
              JsonFactory.newStringFieldDefinition("filter", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_FILTER
focal_class.declarator: filter
focal_class.modifier: @Nullable
      private final
focal_class.original_string: @Nullable
      private final String filter;
focal_class.type: String
focal_class.var_name: filter
focal_class.file: services/models/thingsearch/src/main/java/org/eclipse/ditto/services/models/thingsearch/commands/sudo/SudoCountThings.java
focal_class.identifier: SudoCountThings
focal_class.interfaces: implements ThingSearchSudoCommand<SudoCountThings>
focal_class.class_method_signature: SudoCountThings.SudoCountThings(final DittoHeaders dittoHeaders, @Nullable final String filter)
focal_class.full_signature: private  SudoCountThings(final DittoHeaders dittoHeaders, @Nullable final String filter)
focal_class.identifier: SudoCountThings
focal_class.modifiers: private
focal_class.parameters: (final DittoHeaders dittoHeaders, @Nullable final String filter)
focal_class.signature:  SudoCountThings(final DittoHeaders dittoHeaders, @Nullable final String filter)
focal_class.class_method_signature: SudoCountThings.of(@Nullable final String filter, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoCountThings of(@Nullable final String filter, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final String filter, final DittoHeaders dittoHeaders)
focal_class.return: SudoCountThings
focal_class.signature: SudoCountThings of(@Nullable final String filter, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoCountThings.of(final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoCountThings of(final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: SudoCountThings
focal_class.signature: SudoCountThings of(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoCountThings.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoCountThings 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: SudoCountThings
focal_class.signature: SudoCountThings fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoCountThings.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SudoCountThings 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: SudoCountThings
focal_class.signature: SudoCountThings fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoCountThings.getFilter()
focal_class.full_signature: public Optional<String> getFilter()
focal_class.identifier: getFilter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<String>
focal_class.signature: Optional<String> getFilter()
focal_class.class_method_signature: SudoCountThings.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: SudoCountThings.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: SudoCountThings.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public SudoCountThings setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: SudoCountThings
focal_class.signature: SudoCountThings setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SudoCountThings.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: SudoCountThings.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: SudoCountThings.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<SudoCountThings>
focal_method.body: public static SudoCountThings of(@Nullable final String filter, final DittoHeaders dittoHeaders) {
          return new SudoCountThings(dittoHeaders, filter);
      }
focal_method.class_method_signature: SudoCountThings.of(@Nullable final String filter, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static SudoCountThings of(@Nullable final String filter, final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.modifiers: public static
focal_method.parameters: (@Nullable final String filter, final DittoHeaders dittoHeaders)
focal_method.return: SudoCountThings
focal_method.signature: SudoCountThings of(@Nullable final String filter, final DittoHeaders dittoHeaders)