Skip to content

Commit b568d8a

Browse files
author
muriloalvesdev
committed
resources
1 parent 806281b commit b568d8a

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
}

0 commit comments

Comments
 (0)