BVB Source Codes

ForkHub Show SearchUser.java Source code

Return Download ForkHub: download SearchUser.java Source code - Download ForkHub Source code - Type:.java
  1. /*
  2.  * Copyright 2013 GitHub Inc.
  3.  *
  4.  * Licensed under the Apache License, Version 2.0 (the "License");
  5.  * you may not use this file except in compliance with the License.
  6.  * You may obtain a copy of the License at
  7.  *
  8.  *  http://www.apache.org/licenses/LICENSE-2.0
  9.  *
  10.  * Unless required by applicable law or agreed to in writing, software
  11.  * distributed under the License is distributed on an "AS IS" BASIS,
  12.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13.  * See the License for the specific language governing permissions and
  14.  * limitations under the License.
  15.  */
  16. package com.github.mobile.core.search;
  17.  
  18. import java.io.Serializable;
  19. import java.util.Date;
  20.  
  21. import org.eclipse.egit.github.core.util.DateUtils;
  22.  
  23. /**
  24.  * GitHub v2 user model class.
  25.  */
  26. public class SearchUser implements Serializable {
  27.  
  28.     /** serialVersionUID */
  29.     private static final long serialVersionUID = 159979362732689788L;
  30.  
  31.     private Date createdAt;
  32.  
  33.     private int followers;
  34.  
  35.     private String id;
  36.  
  37.     private String gravatarId;
  38.  
  39.     private String location;
  40.  
  41.     private String login;
  42.  
  43.     private String name;
  44.  
  45.     private String language;
  46.  
  47.     /**
  48.      * @return createdAt
  49.      */
  50.     public Date getCreatedAt() {
  51.         return DateUtils.clone(createdAt);
  52.     }
  53.  
  54.     /**
  55.      * @param createdAt
  56.      * @return this user
  57.      */
  58.     public SearchUser setCreatedAt(Date createdAt) {
  59.         this.createdAt = DateUtils.clone(createdAt);
  60.         return this;
  61.     }
  62.  
  63.     /**
  64.      * @return followers
  65.      */
  66.     public int getFollowers() {
  67.         return followers;
  68.     }
  69.  
  70.     /**
  71.      * @param followers
  72.      * @return this user
  73.      */
  74.     public SearchUser setFollowers(int followers) {
  75.         this.followers = followers;
  76.         return this;
  77.     }
  78.  
  79.     /**
  80.      * @return id
  81.      */
  82.     public String getId() {
  83.         return id;
  84.     }
  85.  
  86.     /**
  87.      * @param id
  88.      * @return this user
  89.      */
  90.     public SearchUser setId(String id) {
  91.         this.id = id;
  92.         return this;
  93.     }
  94.  
  95.     /**
  96.      * @return gravatarId
  97.      */
  98.     public String getGravatarId() {
  99.         return gravatarId;
  100.     }
  101.  
  102.     /**
  103.      * @param gravatarId
  104.      * @return this user
  105.      */
  106.     public SearchUser setGravatarId(String gravatarId) {
  107.         this.gravatarId = gravatarId;
  108.         return this;
  109.     }
  110.  
  111.     /**
  112.      * @return location
  113.      */
  114.     public String getLocation() {
  115.         return location;
  116.     }
  117.  
  118.     /**
  119.      * @param location
  120.      * @return this user
  121.      */
  122.     public SearchUser setLocation(String location) {
  123.         this.location = location;
  124.         return this;
  125.     }
  126.  
  127.     /**
  128.      * @return login
  129.      */
  130.     public String getLogin() {
  131.         return login;
  132.     }
  133.  
  134.     /**
  135.      * @param login
  136.      * @return this user
  137.      */
  138.     public SearchUser setLogin(String login) {
  139.         this.login = login;
  140.         return this;
  141.     }
  142.  
  143.     /**
  144.      * @return name
  145.      */
  146.     public String getName() {
  147.         return name;
  148.     }
  149.  
  150.     /**
  151.      * @param name
  152.      * @return this user
  153.      */
  154.     public SearchUser setName(String name) {
  155.         this.name = name;
  156.         return this;
  157.     }
  158.  
  159.     /**
  160.      * @return language
  161.      */
  162.     public String getLanguage() {
  163.         return language;
  164.     }
  165.  
  166.     /**
  167.      * @param language
  168.      * @return this user
  169.      */
  170.     public SearchUser setLanguage(String language) {
  171.         this.language = language;
  172.         return this;
  173.     }
  174. }
  175.  
downloadSearchUser.java Source code - Download ForkHub Source code
Related Source Codes/Software:
css-element-queries - CSS-Element-Queries Polyfill. proof-of-concept for... 2017-05-09
shortid - Short id generator. Url-friendly. Non-predictable.... 2017-05-09
philm - Movie collection and information app for Android. 2017-05-09
DIGITS - Deep Learning GPU Training System ... 2017-05-09
skatejs - SkateJS is a web component library designed to giv... 2017-05-09
i18n-js - It's a small library to provide the I18n translati... 2017-05-09
api-standards - 2017-05-09
MiaowShow - IOS video broadcast program 2017-05-09
csscomb.js - CSS coding style formatter (Maintenance) ... 2017-05-09
LocationManager - Easily get the device's current location on iOS. 2017-05-09
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top