Advertisement
Guest User

Untitled

a guest
Apr 7th, 2015
14,071
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 8.43 KB | None | 0 0
  1. package com.makeinfo.flowerpi.model;
  2.  
  3.  
  4. import com.google.gson.annotations.Expose;
  5. import com.google.gson.annotations.SerializedName;
  6.  
  7. public class gitmodel {
  8.  
  9. //I created this using http://www.jsonschema2pojo.org/
  10. //Note that not every model can be created using jsonschema2pojo
  11.  
  12.     @Expose
  13.     private String login;
  14.     @Expose
  15.     private Integer id;
  16.     @SerializedName("avatar_url")
  17.     @Expose
  18.     private String avatarUrl;
  19.     @SerializedName("gravatar_id")
  20.     @Expose
  21.     private String gravatarId;
  22.     @Expose
  23.     private String url;
  24.     @SerializedName("html_url")
  25.     @Expose
  26.     private String htmlUrl;
  27.     @SerializedName("followers_url")
  28.     @Expose
  29.     private String followersUrl;
  30.     @SerializedName("following_url")
  31.     @Expose
  32.     private String followingUrl;
  33.     @SerializedName("gists_url")
  34.     @Expose
  35.     private String gistsUrl;
  36.     @SerializedName("starred_url")
  37.     @Expose
  38.     private String starredUrl;
  39.     @SerializedName("subscriptions_url")
  40.     @Expose
  41.     private String subscriptionsUrl;
  42.     @SerializedName("organizations_url")
  43.     @Expose
  44.     private String organizationsUrl;
  45.     @SerializedName("repos_url")
  46.     @Expose
  47.     private String reposUrl;
  48.     @SerializedName("events_url")
  49.     @Expose
  50.     private String eventsUrl;
  51.     @SerializedName("received_events_url")
  52.     @Expose
  53.     private String receivedEventsUrl;
  54.     @Expose
  55.     private String type;
  56.     @SerializedName("site_admin")
  57.     @Expose
  58.     private Boolean siteAdmin;
  59.     @Expose
  60.     private String name;
  61.     @Expose
  62.     private String company;
  63.     @Expose
  64.     private String blog;
  65.     @Expose
  66.     private String location;
  67.     @Expose
  68.     private String email;
  69.     @Expose
  70.     private Boolean hireable;
  71.     @Expose
  72.     private Object bio;
  73.     @SerializedName("public_repos")
  74.     @Expose
  75.     private Integer publicRepos;
  76.     @SerializedName("public_gists")
  77.     @Expose
  78.     private Integer publicGists;
  79.     @Expose
  80.     private Integer followers;
  81.     @Expose
  82.     private Integer following;
  83.     @SerializedName("created_at")
  84.     @Expose
  85.     private String createdAt;
  86.     @SerializedName("updated_at")
  87.     @Expose
  88.     private String updatedAt;
  89.  
  90.     public String getLogin() {
  91.         return login;
  92.     }
  93.     public void setLogin(String login) {
  94.         this.login = login;
  95.     }
  96.     public Integer getId() {
  97.         return id;
  98.     }
  99.     public void setId(Integer id) {
  100.         this.id = id;
  101.     }
  102.     public String getAvatarUrl() {
  103.         return avatarUrl;
  104.     }
  105.     public void setAvatarUrl(String avatarUrl) {
  106.         this.avatarUrl = avatarUrl;
  107.     }
  108.     public String getGravatarId() {
  109.         return gravatarId;
  110.     }
  111.  
  112.     public void setGravatarId(String gravatarId) {
  113.         this.gravatarId = gravatarId;
  114.     }
  115.     public String getUrl() {
  116.         return url;
  117.     }
  118.     public void setUrl(String url) {
  119.         this.url = url;
  120.     }
  121.     public String getHtmlUrl() {
  122.         return htmlUrl;
  123.     }
  124.  
  125.     public void setHtmlUrl(String htmlUrl) {
  126.         this.htmlUrl = htmlUrl;
  127.     }
  128.  
  129.     public String getFollowersUrl() {
  130.         return followersUrl;
  131.     }
  132.  
  133.     public void setFollowersUrl(String followersUrl) {
  134.         this.followersUrl = followersUrl;
  135.     }
  136.  
  137.     public String getFollowingUrl() {
  138.         return followingUrl;
  139.     }
  140.  
  141.     public void setFollowingUrl(String followingUrl) {
  142.         this.followingUrl = followingUrl;
  143.     }
  144.  
  145.     public String getGistsUrl() {
  146.         return gistsUrl;
  147.     }
  148.  
  149.     public void setGistsUrl(String gistsUrl) {
  150.         this.gistsUrl = gistsUrl;
  151.     }
  152.  
  153.     public String getStarredUrl() {
  154.         return starredUrl;
  155.     }
  156.  
  157.     public void setStarredUrl(String starredUrl) {
  158.         this.starredUrl = starredUrl;
  159.     }
  160.  
  161.     public String getSubscriptionsUrl() {
  162.         return subscriptionsUrl;
  163.     }
  164.  
  165.     public void setSubscriptionsUrl(String subscriptionsUrl) {
  166.         this.subscriptionsUrl = subscriptionsUrl;
  167.     }
  168.  
  169.     public String getOrganizationsUrl() {
  170.         return organizationsUrl;
  171.     }
  172.  
  173.     public void setOrganizationsUrl(String organizationsUrl) {
  174.         this.organizationsUrl = organizationsUrl;
  175.     }
  176.  
  177.     public String getReposUrl() {
  178.         return reposUrl;
  179.     }
  180.  
  181.     public void setReposUrl(String reposUrl) {
  182.         this.reposUrl = reposUrl;
  183.     }
  184.  
  185.     public String getEventsUrl() {
  186.         return eventsUrl;
  187.     }
  188.  
  189.     public void setEventsUrl(String eventsUrl) {
  190.         this.eventsUrl = eventsUrl;
  191.     }
  192.  
  193.     public String getReceivedEventsUrl() {
  194.         return receivedEventsUrl;
  195.     }
  196.  
  197.     public void setReceivedEventsUrl(String receivedEventsUrl) {
  198.         this.receivedEventsUrl = receivedEventsUrl;
  199.     }
  200.  
  201.     public String getType() {
  202.         return type;
  203.     }
  204.  
  205.     public void setType(String type) {
  206.         this.type = type;
  207.     }
  208.  
  209.     public Boolean getSiteAdmin() {
  210.         return siteAdmin;
  211.     }
  212.  
  213.     public void setSiteAdmin(Boolean siteAdmin) {
  214.         this.siteAdmin = siteAdmin;
  215.     }
  216.  
  217.     public String getName() {
  218.         return name;
  219.     }
  220.  
  221.     public void setName(String name) {
  222.         this.name = name;
  223.     }
  224.  
  225.     /**
  226.      *
  227.      * @return
  228.      * The company
  229.      */
  230.     public String getCompany() {
  231.         return company;
  232.     }
  233.  
  234.     /**
  235.      *
  236.      * @param company
  237.      * The company
  238.      */
  239.     public void setCompany(String company) {
  240.         this.company = company;
  241.     }
  242.  
  243.     /**
  244.      *
  245.      * @return
  246.      * The blog
  247.      */
  248.     public String getBlog() {
  249.         return blog;
  250.     }
  251.  
  252.     /**
  253.      *
  254.      * @param blog
  255.      * The blog
  256.      */
  257.     public void setBlog(String blog) {
  258.         this.blog = blog;
  259.     }
  260.  
  261.     /**
  262.      *
  263.      * @return
  264.      * The location
  265.      */
  266.     public String getLocation() {
  267.         return location;
  268.     }
  269.  
  270.     /**
  271.      *
  272.      * @param location
  273.      * The location
  274.      */
  275.     public void setLocation(String location) {
  276.         this.location = location;
  277.     }
  278.  
  279.     /**
  280.      *
  281.      * @return
  282.      * The email
  283.      */
  284.     public String getEmail() {
  285.         return email;
  286.     }
  287.  
  288.     /**
  289.      *
  290.      * @param email
  291.      * The email
  292.      */
  293.     public void setEmail(String email) {
  294.         this.email = email;
  295.     }
  296.  
  297.     /**
  298.      *
  299.      * @return
  300.      * The hireable
  301.      */
  302.     public Boolean getHireable() {
  303.         return hireable;
  304.     }
  305.  
  306.     /**
  307.      *
  308.      * @param hireable
  309.      * The hireable
  310.      */
  311.     public void setHireable(Boolean hireable) {
  312.         this.hireable = hireable;
  313.     }
  314.  
  315.     /**
  316.      *
  317.      * @return
  318.      * The bio
  319.      */
  320.     public Object getBio() {
  321.         return bio;
  322.     }
  323.  
  324.     /**
  325.      *
  326.      * @param bio
  327.      * The bio
  328.      */
  329.     public void setBio(Object bio) {
  330.         this.bio = bio;
  331.     }
  332.  
  333.     /**
  334.      *
  335.      * @return
  336.      * The publicRepos
  337.      */
  338.     public Integer getPublicRepos() {
  339.         return publicRepos;
  340.     }
  341.  
  342.     public void setPublicRepos(Integer publicRepos) {
  343.         this.publicRepos = publicRepos;
  344.     }
  345.  
  346.    
  347.     public Integer getPublicGists() {
  348.         return publicGists;
  349.     }
  350.  
  351.     /**
  352.      *
  353.      * @param publicGists
  354.      * The public_gists
  355.      */
  356.     public void setPublicGists(Integer publicGists) {
  357.         this.publicGists = publicGists;
  358.     }
  359.  
  360.     /**
  361.      *
  362.      * @return
  363.      * The followers
  364.      */
  365.     public Integer getFollowers() {
  366.         return followers;
  367.     }
  368.  
  369.     /**
  370.      *
  371.      * @param followers
  372.      * The followers
  373.      */
  374.     public void setFollowers(Integer followers) {
  375.         this.followers = followers;
  376.     }
  377.  
  378.     /**
  379.      *
  380.      * @return
  381.      * The following
  382.      */
  383.     public Integer getFollowing() {
  384.         return following;
  385.     }
  386.  
  387.     /**
  388.      *
  389.      * @param following
  390.      * The following
  391.      */
  392.     public void setFollowing(Integer following) {
  393.         this.following = following;
  394.     }
  395.  
  396.     /**
  397.      *
  398.      * @return
  399.      * The createdAt
  400.      */
  401.     public String getCreatedAt() {
  402.         return createdAt;
  403.     }
  404.  
  405.     /**
  406.      *
  407.      * @param createdAt
  408.      * The created_at
  409.      */
  410.     public void setCreatedAt(String createdAt) {
  411.         this.createdAt = createdAt;
  412.     }
  413.  
  414.     /**
  415.      *
  416.      * @return
  417.      * The updatedAt
  418.      */
  419.     public String getUpdatedAt() {
  420.         return updatedAt;
  421.     }
  422.  
  423.     /**
  424.      *
  425.      * @param updatedAt
  426.      * The updated_at
  427.      */
  428.     public void setUpdatedAt(String updatedAt) {
  429.         this.updatedAt = updatedAt;
  430.     }
  431.  
  432. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement