/*
*
* * Copyright 2015 Van Shu
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE-2.0
* *
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS,
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* * See the License for the specific language governing permissions and
* * limitations under the License.
*
*/
package com.mobimvp.cliques.model;
import com.google.gson.annotations.SerializedName;
/**
* Created by Van on 2014/11/8.
*/
public class User {
@SerializedName("id")
public int id;
@SerializedName("name")
public String name;
@SerializedName("username")
public String userName;
@SerializedName("html_url")
public String htmlUrl;
@SerializedName("avatar_url")
public String avatarUrl;
@SerializedName("bio")
public String bio;
@SerializedName("location")
public String location;
@SerializedName("links")
public Links links;
@SerializedName("buckets_count")
public String bucketsCount;
@SerializedName("followers_count")
public String followersCount;
@SerializedName("followings_count")
public String followingsCount;
@SerializedName("likes_count")
public String likesCount;
@SerializedName("projects_count")
public String projectsCount;
@SerializedName("shots_count")
public String shotsCount;
@SerializedName("teams_count")
public String teamsCount;
@SerializedName("type")
public String type;
@SerializedName("pro")
public boolean pro;
@SerializedName("buckets_url")
public String bucketsUrl;
@SerializedName("followers_url")
public String followersUrl;
@SerializedName("following_url")
public String followingUrl;
@SerializedName("likes_url")
public String likesUrl;
@SerializedName("shots_url")
public String shotsUrl;
@SerializedName("teams_url")
public String teamsUrl;
@SerializedName("created_at")
public String createdAt;
@SerializedName("updated_at")
public String updatedAt;
@Override
public String toString() {
return "User [id=" + id + ", name=" + name + ", userName=" + userName
+ ", htmlUrl=" + htmlUrl + ", avatarUrl=" + avatarUrl
+ ", bio=" + bio + ", location=" + location + ", links="
+ links + ", bucketsCount=" + bucketsCount
+ ", followersCount=" + followersCount + ", followingsCount="
+ followingsCount + ", likesCount=" + likesCount
+ ", projectsCount=" + projectsCount + ", shotsCount="
+ shotsCount + ", teamsCount=" + teamsCount + ", type=" + type
+ ", pro=" + pro + ", bucketsUrl=" + bucketsUrl
+ ", followersUrl=" + followersUrl + ", followingUrl="
+ followingUrl + ", likesUrl=" + likesUrl + ", shotsUrl="
+ shotsUrl + ", teamsUrl=" + teamsUrl + ", createdAt="
+ createdAt + ", updatedAt=" + updatedAt + "]";
}
}