/* * * * 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; import java.util.ArrayList; /** * Created by Van on 2014/11/29. */ public class Shot { @SerializedName("id") public long id; @SerializedName("title") public String title; @SerializedName("width") public int width; @SerializedName("height") public int height; @SerializedName("images") public Image images; @SerializedName("views_count") public int viewsCount; @SerializedName("likes_count") public int likesCount; @SerializedName("comments_count") public int commentsCount; @SerializedName("attachments_count") public int attachments_count; @SerializedName("rebounds_count") public int rebounds_count; @SerializedName("buckets_count") public int buckets_count; @SerializedName("created_at") public String createdAt; @SerializedName("updated_at") public String updatedAt; @SerializedName("html_url") public String htmlUrl; @SerializedName("attachments_url") public String attachmentsUrl; @SerializedName("buckets_url") public String bucketsUrl; @SerializedName("comments_url") public String commentsUrl; @SerializedName("likes_url") public String likesUrl; @SerializedName("projects_url") public String projectsUrl; @SerializedName("rebounds_url") public String reboundsUrl; @SerializedName("tags") public ArrayList<String> tags; @SerializedName("user") public User user; @SerializedName("team") public Team team; @Override public String toString() { return "Shot{" + "id=" + id + ", title='" + title + '\'' + ", width=" + width + ", height=" + height + ", images=" + images + ", viewsCount=" + viewsCount + ", likesCount=" + likesCount + ", commentsCount=" + commentsCount + ", attachments_count=" + attachments_count + ", rebounds_count=" + rebounds_count + ", buckets_count=" + buckets_count + ", created_at='" + createdAt + '\'' + ", updated_at='" + updatedAt + '\'' + ", htmlUrl='" + htmlUrl + '\'' + ", attachmentsUrl='" + attachmentsUrl + '\'' + ", bucketsUrl='" + bucketsUrl + '\'' + ", commentsUrl='" + commentsUrl + '\'' + ", likesUrl='" + likesUrl + '\'' + ", projectsUrl='" + projectsUrl + '\'' + ", reboundsUrl='" + reboundsUrl + '\'' + ", tags=" + tags + ", user=" + user + ", team=" + team + '}'; } }