File tree Expand file tree Collapse file tree 2 files changed +3
-27
lines changed
kafka-connect-fitbit-source/src/main/java/org/radarbase/connect/rest/fitbit Expand file tree Collapse file tree 2 files changed +3
-27
lines changed Original file line number Diff line number Diff line change 1818package org .radarbase .connect .rest .fitbit .user ;
1919
2020import com .fasterxml .jackson .annotation .JsonCreator ;
21+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2122import com .fasterxml .jackson .annotation .JsonProperty ;
22- import org .radarbase .connect .rest .fitbit .util .Page ;
2323
2424import java .util .ArrayList ;
2525import java .util .List ;
2626
27+ @ JsonIgnoreProperties (ignoreUnknown = true )
2728public class Users {
2829 private final List <LocalUser > users ;
29- private final Page metadata ;
30-
3130
3231 @ JsonCreator
33- public Users (@ JsonProperty ("users" ) List <LocalUser > users , @ JsonProperty ( "metadata" ) Page metadata ) {
32+ public Users (@ JsonProperty ("users" ) List <LocalUser > users ) {
3433 this .users = new ArrayList <>(users );
35- this .metadata = metadata ;
3634 }
3735
3836 public List <? extends User > getUsers () {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments