File tree Expand file tree Collapse file tree
src/main/java/br/com/developers/github/http/resource/developer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package br .com .developers .github .http .resource .developer ;
2+
3+ import java .util .List ;
4+ import com .fasterxml .jackson .annotation .JsonProperty ;
5+ import lombok .Data ;
6+
7+ @ Data
8+ public class Developer {
9+ @ JsonProperty ("total_count" )
10+ private int total ;
11+
12+ @ JsonProperty ("incomplete_results" )
13+ private boolean incompleteResults ;
14+
15+ @ JsonProperty ("items" )
16+ private List <Items > items ;
17+ }
Original file line number Diff line number Diff line change 1+ package br .com .developers .github .http .resource .developer ;
2+
3+ import com .fasterxml .jackson .annotation .JsonProperty ;
4+ import lombok .Data ;
5+
6+ @ Data
7+ public class Items {
8+ @ JsonProperty
9+ private String login ;
10+
11+ @ JsonProperty
12+ private int id ;
13+
14+ @ JsonProperty ("avatar_url" )
15+ private String avatar ;
16+
17+ @ JsonProperty
18+ private String url ;
19+
20+ @ JsonProperty ("html_url" )
21+ private String htmlUrl ;
22+
23+ @ JsonProperty ("organizations_url" )
24+ private String organizationsUrl ;
25+
26+ @ JsonProperty ("repos_url" )
27+ private String reposUrl ;
28+ }
You can’t perform that action at this time.
0 commit comments