Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.makeinfo.flowerpi.model;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class gitmodel {
- //I created this using http://www.jsonschema2pojo.org/
- //Note that not every model can be created using jsonschema2pojo
- @Expose
- private String login;
- @Expose
- private Integer id;
- @SerializedName("avatar_url")
- @Expose
- private String avatarUrl;
- @SerializedName("gravatar_id")
- @Expose
- private String gravatarId;
- @Expose
- private String url;
- @SerializedName("html_url")
- @Expose
- private String htmlUrl;
- @SerializedName("followers_url")
- @Expose
- private String followersUrl;
- @SerializedName("following_url")
- @Expose
- private String followingUrl;
- @SerializedName("gists_url")
- @Expose
- private String gistsUrl;
- @SerializedName("starred_url")
- @Expose
- private String starredUrl;
- @SerializedName("subscriptions_url")
- @Expose
- private String subscriptionsUrl;
- @SerializedName("organizations_url")
- @Expose
- private String organizationsUrl;
- @SerializedName("repos_url")
- @Expose
- private String reposUrl;
- @SerializedName("events_url")
- @Expose
- private String eventsUrl;
- @SerializedName("received_events_url")
- @Expose
- private String receivedEventsUrl;
- @Expose
- private String type;
- @SerializedName("site_admin")
- @Expose
- private Boolean siteAdmin;
- @Expose
- private String name;
- @Expose
- private String company;
- @Expose
- private String blog;
- @Expose
- private String location;
- @Expose
- private String email;
- @Expose
- private Boolean hireable;
- @Expose
- private Object bio;
- @SerializedName("public_repos")
- @Expose
- private Integer publicRepos;
- @SerializedName("public_gists")
- @Expose
- private Integer publicGists;
- @Expose
- private Integer followers;
- @Expose
- private Integer following;
- @SerializedName("created_at")
- @Expose
- private String createdAt;
- @SerializedName("updated_at")
- @Expose
- private String updatedAt;
- public String getLogin() {
- return login;
- }
- public void setLogin(String login) {
- this.login = login;
- }
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getAvatarUrl() {
- return avatarUrl;
- }
- public void setAvatarUrl(String avatarUrl) {
- this.avatarUrl = avatarUrl;
- }
- public String getGravatarId() {
- return gravatarId;
- }
- public void setGravatarId(String gravatarId) {
- this.gravatarId = gravatarId;
- }
- public String getUrl() {
- return url;
- }
- public void setUrl(String url) {
- this.url = url;
- }
- public String getHtmlUrl() {
- return htmlUrl;
- }
- public void setHtmlUrl(String htmlUrl) {
- this.htmlUrl = htmlUrl;
- }
- public String getFollowersUrl() {
- return followersUrl;
- }
- public void setFollowersUrl(String followersUrl) {
- this.followersUrl = followersUrl;
- }
- public String getFollowingUrl() {
- return followingUrl;
- }
- public void setFollowingUrl(String followingUrl) {
- this.followingUrl = followingUrl;
- }
- public String getGistsUrl() {
- return gistsUrl;
- }
- public void setGistsUrl(String gistsUrl) {
- this.gistsUrl = gistsUrl;
- }
- public String getStarredUrl() {
- return starredUrl;
- }
- public void setStarredUrl(String starredUrl) {
- this.starredUrl = starredUrl;
- }
- public String getSubscriptionsUrl() {
- return subscriptionsUrl;
- }
- public void setSubscriptionsUrl(String subscriptionsUrl) {
- this.subscriptionsUrl = subscriptionsUrl;
- }
- public String getOrganizationsUrl() {
- return organizationsUrl;
- }
- public void setOrganizationsUrl(String organizationsUrl) {
- this.organizationsUrl = organizationsUrl;
- }
- public String getReposUrl() {
- return reposUrl;
- }
- public void setReposUrl(String reposUrl) {
- this.reposUrl = reposUrl;
- }
- public String getEventsUrl() {
- return eventsUrl;
- }
- public void setEventsUrl(String eventsUrl) {
- this.eventsUrl = eventsUrl;
- }
- public String getReceivedEventsUrl() {
- return receivedEventsUrl;
- }
- public void setReceivedEventsUrl(String receivedEventsUrl) {
- this.receivedEventsUrl = receivedEventsUrl;
- }
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- public Boolean getSiteAdmin() {
- return siteAdmin;
- }
- public void setSiteAdmin(Boolean siteAdmin) {
- this.siteAdmin = siteAdmin;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- /**
- *
- * @return
- * The company
- */
- public String getCompany() {
- return company;
- }
- /**
- *
- * @param company
- * The company
- */
- public void setCompany(String company) {
- this.company = company;
- }
- /**
- *
- * @return
- * The blog
- */
- public String getBlog() {
- return blog;
- }
- /**
- *
- * @param blog
- * The blog
- */
- public void setBlog(String blog) {
- this.blog = blog;
- }
- /**
- *
- * @return
- * The location
- */
- public String getLocation() {
- return location;
- }
- /**
- *
- * @param location
- * The location
- */
- public void setLocation(String location) {
- this.location = location;
- }
- /**
- *
- * @return
- * The email
- */
- public String getEmail() {
- return email;
- }
- /**
- *
- * @param email
- * The email
- */
- public void setEmail(String email) {
- this.email = email;
- }
- /**
- *
- * @return
- * The hireable
- */
- public Boolean getHireable() {
- return hireable;
- }
- /**
- *
- * @param hireable
- * The hireable
- */
- public void setHireable(Boolean hireable) {
- this.hireable = hireable;
- }
- /**
- *
- * @return
- * The bio
- */
- public Object getBio() {
- return bio;
- }
- /**
- *
- * @param bio
- * The bio
- */
- public void setBio(Object bio) {
- this.bio = bio;
- }
- /**
- *
- * @return
- * The publicRepos
- */
- public Integer getPublicRepos() {
- return publicRepos;
- }
- public void setPublicRepos(Integer publicRepos) {
- this.publicRepos = publicRepos;
- }
- public Integer getPublicGists() {
- return publicGists;
- }
- /**
- *
- * @param publicGists
- * The public_gists
- */
- public void setPublicGists(Integer publicGists) {
- this.publicGists = publicGists;
- }
- /**
- *
- * @return
- * The followers
- */
- public Integer getFollowers() {
- return followers;
- }
- /**
- *
- * @param followers
- * The followers
- */
- public void setFollowers(Integer followers) {
- this.followers = followers;
- }
- /**
- *
- * @return
- * The following
- */
- public Integer getFollowing() {
- return following;
- }
- /**
- *
- * @param following
- * The following
- */
- public void setFollowing(Integer following) {
- this.following = following;
- }
- /**
- *
- * @return
- * The createdAt
- */
- public String getCreatedAt() {
- return createdAt;
- }
- /**
- *
- * @param createdAt
- * The created_at
- */
- public void setCreatedAt(String createdAt) {
- this.createdAt = createdAt;
- }
- /**
- *
- * @return
- * The updatedAt
- */
- public String getUpdatedAt() {
- return updatedAt;
- }
- /**
- *
- * @param updatedAt
- * The updated_at
- */
- public void setUpdatedAt(String updatedAt) {
- this.updatedAt = updatedAt;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement