package com.bigfat.rxjavademo.retrofit; import com.google.gson.annotations.SerializedName; /** * Created by yueban on 22:03 17/2/16. * Email: fbzhh007@gmail.com * QQ: 343278606 */ public class Repo { /** * id : 30103587 * name : android-material-icons * full_name : yueban/android-material-icons * owner : {"login":"yueban","id":5647837,"avatar_url":"https://avatars.githubusercontent.com/u/5647837?v=3","gravatar_id":"","url":"https://api.github.com/users/yueban","html_url":"https://github.com/yueban","followers_url":"https://api.github.com/users/yueban/followers","following_url":"https://api.github.com/users/yueban/following{/other_user}","gists_url":"https://api.github.com/users/yueban/gists{/gist_id}","starred_url":"https://api.github.com/users/yueban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yueban/subscriptions","organizations_url":"https://api.github.com/users/yueban/orgs","repos_url":"https://api.github.com/users/yueban/repos","events_url":"https://api.github.com/users/yueban/events{/privacy}","received_events_url":"https://api.github.com/users/yueban/received_events","type":"User","site_admin":false} * private : false * html_url : https://github.com/yueban/android-material-icons * description : Easy to use material icons for Android * fork : true * url : https://api.github.com/repos/yueban/android-material-icons * forks_url : https://api.github.com/repos/yueban/android-material-icons/forks * keys_url : https://api.github.com/repos/yueban/android-material-icons/keys{/key_id} * collaborators_url : https://api.github.com/repos/yueban/android-material-icons/collaborators{/collaborator} * teams_url : https://api.github.com/repos/yueban/android-material-icons/teams * hooks_url : https://api.github.com/repos/yueban/android-material-icons/hooks * issue_events_url : https://api.github.com/repos/yueban/android-material-icons/issues/events{/number} * events_url : https://api.github.com/repos/yueban/android-material-icons/events * assignees_url : https://api.github.com/repos/yueban/android-material-icons/assignees{/user} * branches_url : https://api.github.com/repos/yueban/android-material-icons/branches{/branch} * tags_url : https://api.github.com/repos/yueban/android-material-icons/tags * blobs_url : https://api.github.com/repos/yueban/android-material-icons/git/blobs{/sha} * git_tags_url : https://api.github.com/repos/yueban/android-material-icons/git/tags{/sha} * git_refs_url : https://api.github.com/repos/yueban/android-material-icons/git/refs{/sha} * trees_url : https://api.github.com/repos/yueban/android-material-icons/git/trees{/sha} * statuses_url : https://api.github.com/repos/yueban/android-material-icons/statuses/{sha} * languages_url : https://api.github.com/repos/yueban/android-material-icons/languages * stargazers_url : https://api.github.com/repos/yueban/android-material-icons/stargazers * contributors_url : https://api.github.com/repos/yueban/android-material-icons/contributors * subscribers_url : https://api.github.com/repos/yueban/android-material-icons/subscribers * subscription_url : https://api.github.com/repos/yueban/android-material-icons/subscription * commits_url : https://api.github.com/repos/yueban/android-material-icons/commits{/sha} * git_commits_url : https://api.github.com/repos/yueban/android-material-icons/git/commits{/sha} * comments_url : https://api.github.com/repos/yueban/android-material-icons/comments{/number} * issue_comment_url : https://api.github.com/repos/yueban/android-material-icons/issues/comments{/number} * contents_url : https://api.github.com/repos/yueban/android-material-icons/contents/{+path} * compare_url : https://api.github.com/repos/yueban/android-material-icons/compare/{base}...{head} * merges_url : https://api.github.com/repos/yueban/android-material-icons/merges * archive_url : https://api.github.com/repos/yueban/android-material-icons/{archive_format}{/ref} * downloads_url : https://api.github.com/repos/yueban/android-material-icons/downloads * issues_url : https://api.github.com/repos/yueban/android-material-icons/issues{/number} * pulls_url : https://api.github.com/repos/yueban/android-material-icons/pulls{/number} * milestones_url : https://api.github.com/repos/yueban/android-material-icons/milestones{/number} * notifications_url : https://api.github.com/repos/yueban/android-material-icons/notifications{?since,all,participating} * labels_url : https://api.github.com/repos/yueban/android-material-icons/labels{/name} * releases_url : https://api.github.com/repos/yueban/android-material-icons/releases{/id} * deployments_url : https://api.github.com/repos/yueban/android-material-icons/deployments * created_at : 2015-01-31T05:38:34Z * updated_at : 2015-01-31T05:38:35Z * pushed_at : 2014-12-10T21:34:57Z * git_url : git://github.com/yueban/android-material-icons.git * ssh_url : git@github.com:yueban/android-material-icons.git * clone_url : https://github.com/yueban/android-material-icons.git * svn_url : https://github.com/yueban/android-material-icons * homepage : null * size : 533 * stargazers_count : 0 * watchers_count : 0 * language : Java * has_issues : false * has_downloads : true * has_wiki : true * has_pages : false * forks_count : 0 * mirror_url : null * open_issues_count : 0 * forks : 0 * open_issues : 0 * watchers : 0 * default_branch : master */ private int id; private String name; private String full_name; /** * login : yueban * id : 5647837 * avatar_url : https://avatars.githubusercontent.com/u/5647837?v=3 * gravatar_id : * url : https://api.github.com/users/yueban * html_url : https://github.com/yueban * followers_url : https://api.github.com/users/yueban/followers * following_url : https://api.github.com/users/yueban/following{/other_user} * gists_url : https://api.github.com/users/yueban/gists{/gist_id} * starred_url : https://api.github.com/users/yueban/starred{/owner}{/repo} * subscriptions_url : https://api.github.com/users/yueban/subscriptions * organizations_url : https://api.github.com/users/yueban/orgs * repos_url : https://api.github.com/users/yueban/repos * events_url : https://api.github.com/users/yueban/events{/privacy} * received_events_url : https://api.github.com/users/yueban/received_events * type : User * site_admin : false */ private OwnerEntity owner; @SerializedName("private") private boolean privateX; private String html_url; private String description; private boolean fork; private String url; private String forks_url; private String keys_url; private String collaborators_url; private String teams_url; private String hooks_url; private String issue_events_url; private String events_url; private String assignees_url; private String branches_url; private String tags_url; private String blobs_url; private String git_tags_url; private String git_refs_url; private String trees_url; private String statuses_url; private String languages_url; private String stargazers_url; private String contributors_url; private String subscribers_url; private String subscription_url; private String commits_url; private String git_commits_url; private String comments_url; private String issue_comment_url; private String contents_url; private String compare_url; private String merges_url; private String archive_url; private String downloads_url; private String issues_url; private String pulls_url; private String milestones_url; private String notifications_url; private String labels_url; private String releases_url; private String deployments_url; private String created_at; private String updated_at; private String pushed_at; private String git_url; private String ssh_url; private String clone_url; private String svn_url; private Object homepage; private int size; private int stargazers_count; private int watchers_count; private String language; private boolean has_issues; private boolean has_downloads; private boolean has_wiki; private boolean has_pages; private int forks_count; private Object mirror_url; private int open_issues_count; private int forks; private int open_issues; private int watchers; private String default_branch; public void setId(int id) { this.id = id; } public void setName(String name) { this.name = name; } public void setFull_name(String full_name) { this.full_name = full_name; } public void setOwner(OwnerEntity owner) { this.owner = owner; } public void setPrivateX(boolean privateX) { this.privateX = privateX; } public void setHtml_url(String html_url) { this.html_url = html_url; } public void setDescription(String description) { this.description = description; } public void setFork(boolean fork) { this.fork = fork; } public void setUrl(String url) { this.url = url; } public void setForks_url(String forks_url) { this.forks_url = forks_url; } public void setKeys_url(String keys_url) { this.keys_url = keys_url; } public void setCollaborators_url(String collaborators_url) { this.collaborators_url = collaborators_url; } public void setTeams_url(String teams_url) { this.teams_url = teams_url; } public void setHooks_url(String hooks_url) { this.hooks_url = hooks_url; } public void setIssue_events_url(String issue_events_url) { this.issue_events_url = issue_events_url; } public void setEvents_url(String events_url) { this.events_url = events_url; } public void setAssignees_url(String assignees_url) { this.assignees_url = assignees_url; } public void setBranches_url(String branches_url) { this.branches_url = branches_url; } public void setTags_url(String tags_url) { this.tags_url = tags_url; } public void setBlobs_url(String blobs_url) { this.blobs_url = blobs_url; } public void setGit_tags_url(String git_tags_url) { this.git_tags_url = git_tags_url; } public void setGit_refs_url(String git_refs_url) { this.git_refs_url = git_refs_url; } public void setTrees_url(String trees_url) { this.trees_url = trees_url; } public void setStatuses_url(String statuses_url) { this.statuses_url = statuses_url; } public void setLanguages_url(String languages_url) { this.languages_url = languages_url; } public void setStargazers_url(String stargazers_url) { this.stargazers_url = stargazers_url; } public void setContributors_url(String contributors_url) { this.contributors_url = contributors_url; } public void setSubscribers_url(String subscribers_url) { this.subscribers_url = subscribers_url; } public void setSubscription_url(String subscription_url) { this.subscription_url = subscription_url; } public void setCommits_url(String commits_url) { this.commits_url = commits_url; } public void setGit_commits_url(String git_commits_url) { this.git_commits_url = git_commits_url; } public void setComments_url(String comments_url) { this.comments_url = comments_url; } public void setIssue_comment_url(String issue_comment_url) { this.issue_comment_url = issue_comment_url; } public void setContents_url(String contents_url) { this.contents_url = contents_url; } public void setCompare_url(String compare_url) { this.compare_url = compare_url; } public void setMerges_url(String merges_url) { this.merges_url = merges_url; } public void setArchive_url(String archive_url) { this.archive_url = archive_url; } public void setDownloads_url(String downloads_url) { this.downloads_url = downloads_url; } public void setIssues_url(String issues_url) { this.issues_url = issues_url; } public void setPulls_url(String pulls_url) { this.pulls_url = pulls_url; } public void setMilestones_url(String milestones_url) { this.milestones_url = milestones_url; } public void setNotifications_url(String notifications_url) { this.notifications_url = notifications_url; } public void setLabels_url(String labels_url) { this.labels_url = labels_url; } public void setReleases_url(String releases_url) { this.releases_url = releases_url; } public void setDeployments_url(String deployments_url) { this.deployments_url = deployments_url; } public void setCreated_at(String created_at) { this.created_at = created_at; } public void setUpdated_at(String updated_at) { this.updated_at = updated_at; } public void setPushed_at(String pushed_at) { this.pushed_at = pushed_at; } public void setGit_url(String git_url) { this.git_url = git_url; } public void setSsh_url(String ssh_url) { this.ssh_url = ssh_url; } public void setClone_url(String clone_url) { this.clone_url = clone_url; } public void setSvn_url(String svn_url) { this.svn_url = svn_url; } public void setHomepage(Object homepage) { this.homepage = homepage; } public void setSize(int size) { this.size = size; } public void setStargazers_count(int stargazers_count) { this.stargazers_count = stargazers_count; } public void setWatchers_count(int watchers_count) { this.watchers_count = watchers_count; } public void setLanguage(String language) { this.language = language; } public void setHas_issues(boolean has_issues) { this.has_issues = has_issues; } public void setHas_downloads(boolean has_downloads) { this.has_downloads = has_downloads; } public void setHas_wiki(boolean has_wiki) { this.has_wiki = has_wiki; } public void setHas_pages(boolean has_pages) { this.has_pages = has_pages; } public void setForks_count(int forks_count) { this.forks_count = forks_count; } public void setMirror_url(Object mirror_url) { this.mirror_url = mirror_url; } public void setOpen_issues_count(int open_issues_count) { this.open_issues_count = open_issues_count; } public void setForks(int forks) { this.forks = forks; } public void setOpen_issues(int open_issues) { this.open_issues = open_issues; } public void setWatchers(int watchers) { this.watchers = watchers; } public void setDefault_branch(String default_branch) { this.default_branch = default_branch; } public int getId() { return id; } public String getName() { return name; } public String getFull_name() { return full_name; } public OwnerEntity getOwner() { return owner; } public boolean isPrivateX() { return privateX; } public String getHtml_url() { return html_url; } public String getDescription() { return description; } public boolean isFork() { return fork; } public String getUrl() { return url; } public String getForks_url() { return forks_url; } public String getKeys_url() { return keys_url; } public String getCollaborators_url() { return collaborators_url; } public String getTeams_url() { return teams_url; } public String getHooks_url() { return hooks_url; } public String getIssue_events_url() { return issue_events_url; } public String getEvents_url() { return events_url; } public String getAssignees_url() { return assignees_url; } public String getBranches_url() { return branches_url; } public String getTags_url() { return tags_url; } public String getBlobs_url() { return blobs_url; } public String getGit_tags_url() { return git_tags_url; } public String getGit_refs_url() { return git_refs_url; } public String getTrees_url() { return trees_url; } public String getStatuses_url() { return statuses_url; } public String getLanguages_url() { return languages_url; } public String getStargazers_url() { return stargazers_url; } public String getContributors_url() { return contributors_url; } public String getSubscribers_url() { return subscribers_url; } public String getSubscription_url() { return subscription_url; } public String getCommits_url() { return commits_url; } public String getGit_commits_url() { return git_commits_url; } public String getComments_url() { return comments_url; } public String getIssue_comment_url() { return issue_comment_url; } public String getContents_url() { return contents_url; } public String getCompare_url() { return compare_url; } public String getMerges_url() { return merges_url; } public String getArchive_url() { return archive_url; } public String getDownloads_url() { return downloads_url; } public String getIssues_url() { return issues_url; } public String getPulls_url() { return pulls_url; } public String getMilestones_url() { return milestones_url; } public String getNotifications_url() { return notifications_url; } public String getLabels_url() { return labels_url; } public String getReleases_url() { return releases_url; } public String getDeployments_url() { return deployments_url; } public String getCreated_at() { return created_at; } public String getUpdated_at() { return updated_at; } public String getPushed_at() { return pushed_at; } public String getGit_url() { return git_url; } public String getSsh_url() { return ssh_url; } public String getClone_url() { return clone_url; } public String getSvn_url() { return svn_url; } public Object getHomepage() { return homepage; } public int getSize() { return size; } public int getStargazers_count() { return stargazers_count; } public int getWatchers_count() { return watchers_count; } public String getLanguage() { return language; } public boolean isHas_issues() { return has_issues; } public boolean isHas_downloads() { return has_downloads; } public boolean isHas_wiki() { return has_wiki; } public boolean isHas_pages() { return has_pages; } public int getForks_count() { return forks_count; } public Object getMirror_url() { return mirror_url; } public int getOpen_issues_count() { return open_issues_count; } public int getForks() { return forks; } public int getOpen_issues() { return open_issues; } public int getWatchers() { return watchers; } public String getDefault_branch() { return default_branch; } public static class OwnerEntity { private String login; private int id; private String avatar_url; private String gravatar_id; private String url; private String html_url; private String followers_url; private String following_url; private String gists_url; private String starred_url; private String subscriptions_url; private String organizations_url; private String repos_url; private String events_url; private String received_events_url; private String type; private boolean site_admin; public void setLogin(String login) { this.login = login; } public void setId(int id) { this.id = id; } public void setAvatar_url(String avatar_url) { this.avatar_url = avatar_url; } public void setGravatar_id(String gravatar_id) { this.gravatar_id = gravatar_id; } public void setUrl(String url) { this.url = url; } public void setHtml_url(String html_url) { this.html_url = html_url; } public void setFollowers_url(String followers_url) { this.followers_url = followers_url; } public void setFollowing_url(String following_url) { this.following_url = following_url; } public void setGists_url(String gists_url) { this.gists_url = gists_url; } public void setStarred_url(String starred_url) { this.starred_url = starred_url; } public void setSubscriptions_url(String subscriptions_url) { this.subscriptions_url = subscriptions_url; } public void setOrganizations_url(String organizations_url) { this.organizations_url = organizations_url; } public void setRepos_url(String repos_url) { this.repos_url = repos_url; } public void setEvents_url(String events_url) { this.events_url = events_url; } public void setReceived_events_url(String received_events_url) { this.received_events_url = received_events_url; } public void setType(String type) { this.type = type; } public void setSite_admin(boolean site_admin) { this.site_admin = site_admin; } public String getLogin() { return login; } public int getId() { return id; } public String getAvatar_url() { return avatar_url; } public String getGravatar_id() { return gravatar_id; } public String getUrl() { return url; } public String getHtml_url() { return html_url; } public String getFollowers_url() { return followers_url; } public String getFollowing_url() { return following_url; } public String getGists_url() { return gists_url; } public String getStarred_url() { return starred_url; } public String getSubscriptions_url() { return subscriptions_url; } public String getOrganizations_url() { return organizations_url; } public String getRepos_url() { return repos_url; } public String getEvents_url() { return events_url; } public String getReceived_events_url() { return received_events_url; } public String getType() { return type; } public boolean isSite_admin() { return site_admin; } @Override public String toString() { return "OwnerEntity{" + "login='" + login + '\'' + ", id=" + id + ", avatar_url='" + avatar_url + '\'' + ", gravatar_id='" + gravatar_id + '\'' + ", url='" + url + '\'' + ", html_url='" + html_url + '\'' + ", followers_url='" + followers_url + '\'' + ", following_url='" + following_url + '\'' + ", gists_url='" + gists_url + '\'' + ", starred_url='" + starred_url + '\'' + ", subscriptions_url='" + subscriptions_url + '\'' + ", organizations_url='" + organizations_url + '\'' + ", repos_url='" + repos_url + '\'' + ", events_url='" + events_url + '\'' + ", received_events_url='" + received_events_url + '\'' + ", type='" + type + '\'' + ", site_admin=" + site_admin + '}'; } } @Override public String toString() { return "Repo{" + "id=" + id + ", name='" + name + '\'' + ", full_name='" + full_name + '\'' + ", owner=" + owner + ", privateX=" + privateX + ", html_url='" + html_url + '\'' + ", description='" + description + '\'' + ", fork=" + fork + ", url='" + url + '\'' + ", forks_url='" + forks_url + '\'' + ", keys_url='" + keys_url + '\'' + ", collaborators_url='" + collaborators_url + '\'' + ", teams_url='" + teams_url + '\'' + ", hooks_url='" + hooks_url + '\'' + ", issue_events_url='" + issue_events_url + '\'' + ", events_url='" + events_url + '\'' + ", assignees_url='" + assignees_url + '\'' + ", branches_url='" + branches_url + '\'' + ", tags_url='" + tags_url + '\'' + ", blobs_url='" + blobs_url + '\'' + ", git_tags_url='" + git_tags_url + '\'' + ", git_refs_url='" + git_refs_url + '\'' + ", trees_url='" + trees_url + '\'' + ", statuses_url='" + statuses_url + '\'' + ", languages_url='" + languages_url + '\'' + ", stargazers_url='" + stargazers_url + '\'' + ", contributors_url='" + contributors_url + '\'' + ", subscribers_url='" + subscribers_url + '\'' + ", subscription_url='" + subscription_url + '\'' + ", commits_url='" + commits_url + '\'' + ", git_commits_url='" + git_commits_url + '\'' + ", comments_url='" + comments_url + '\'' + ", issue_comment_url='" + issue_comment_url + '\'' + ", contents_url='" + contents_url + '\'' + ", compare_url='" + compare_url + '\'' + ", merges_url='" + merges_url + '\'' + ", archive_url='" + archive_url + '\'' + ", downloads_url='" + downloads_url + '\'' + ", issues_url='" + issues_url + '\'' + ", pulls_url='" + pulls_url + '\'' + ", milestones_url='" + milestones_url + '\'' + ", notifications_url='" + notifications_url + '\'' + ", labels_url='" + labels_url + '\'' + ", releases_url='" + releases_url + '\'' + ", deployments_url='" + deployments_url + '\'' + ", created_at='" + created_at + '\'' + ", updated_at='" + updated_at + '\'' + ", pushed_at='" + pushed_at + '\'' + ", git_url='" + git_url + '\'' + ", ssh_url='" + ssh_url + '\'' + ", clone_url='" + clone_url + '\'' + ", svn_url='" + svn_url + '\'' + ", homepage=" + homepage + ", size=" + size + ", stargazers_count=" + stargazers_count + ", watchers_count=" + watchers_count + ", language='" + language + '\'' + ", has_issues=" + has_issues + ", has_downloads=" + has_downloads + ", has_wiki=" + has_wiki + ", has_pages=" + has_pages + ", forks_count=" + forks_count + ", mirror_url=" + mirror_url + ", open_issues_count=" + open_issues_count + ", forks=" + forks + ", open_issues=" + open_issues + ", watchers=" + watchers + ", default_branch='" + default_branch + '\'' + '}'; } }