/** * Creates a new {@code SudoRetrieveThings}. * * @param thingIds one or more Thing IDs to be retrieved. * @param selectedFields the Fields which should be included in the Thing's JSON representation. * @param dittoHeaders the command headers of the request. * @return a command for retrieving Things without authorization. * @throws NullPointerException if any argument but {@code selectedFields} is {@code null}. */ public static SudoRetrieveThings of(final List<String> thingIds, @Nullable final JsonFieldSelector selectedFields, final DittoHeaders dittoHeaders) { return new SudoRetrieveThings(thingIds, selectedFields, dittoHeaders); }
/** * Creates a new {@code SudoRetrieveThings}. * * @param thingIds one or more Thing IDs to be retrieved. * @param selectedFields the Fields which should be included in the Thing's JSON representation. * @param dittoHeaders the command headers of the request. * @return a command for retrieving Things without authorization. * @throws NullPointerException if any argument but {@code selectedFields} is {@code null}. */ public static SudoRetrieveThings of(final List<String> thingIds, @Nullable final JsonFieldSelector selectedFields, final DittoHeaders dittoHeaders) { return new SudoRetrieveThings(thingIds, selectedFields, dittoHeaders); }