All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vk.api.sdk.objects.groups.CountersGroup Maven / Gradle / Ivy

Go to download

Java library for VK API interaction, includes OAuth 2.0 authorization and API methods.

The newest version!
// Autogenerated from vk-api-schema. Please don't edit it manually.
package com.vk.api.sdk.objects.groups;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.objects.Validable;
import java.util.Objects;

/**
 * CountersGroup object
 */
public class CountersGroup implements Validable {
    /**
     * Addresses number
     */
    @SerializedName("addresses")
    private Integer addresses;

    /**
     * Photo albums number
     */
    @SerializedName("albums")
    private Integer albums;

    /**
     * Articles number
     */
    @SerializedName("articles")
    private Integer articles;

    /**
     * Audio playlists number
     */
    @SerializedName("audio_playlists")
    private Integer audioPlaylists;

    /**
     * Audios number
     */
    @SerializedName("audios")
    private Integer audios;

    /**
     * Clips number
     */
    @SerializedName("clips")
    private Long clips;

    /**
     * Clips followers number
     */
    @SerializedName("clips_followers")
    private Long clipsFollowers;

    /**
     * Clips likes number
     */
    @SerializedName("clips_likes")
    private Long clipsLikes;

    /**
     * Clips views number
     */
    @SerializedName("clips_views")
    private Long clipsViews;

    /**
     * Docs number
     */
    @SerializedName("docs")
    private Integer docs;

    /**
     * Market items number
     */
    @SerializedName("market")
    private Integer market;

    /**
     * Market services number
     */
    @SerializedName("market_services")
    private Integer marketServices;

    /**
     * Narratives number
     */
    @SerializedName("narratives")
    private Integer narratives;

    /**
     * Photos number
     */
    @SerializedName("photos")
    private Integer photos;

    /**
     * Podcasts number
     */
    @SerializedName("podcasts")
    private Integer podcasts;

    /**
     * Topics number
     */
    @SerializedName("topics")
    private Integer topics;

    /**
     * Playlists number
     */
    @SerializedName("video_playlists")
    private Integer videoPlaylists;

    /**
     * Videos number
     */
    @SerializedName("videos")
    private Integer videos;

    /**
     * Videos followers number
     */
    @SerializedName("videos_followers")
    private Long videosFollowers;

    public Integer getAddresses() {
        return addresses;
    }

    public CountersGroup setAddresses(Integer addresses) {
        this.addresses = addresses;
        return this;
    }

    public Integer getAlbums() {
        return albums;
    }

    public CountersGroup setAlbums(Integer albums) {
        this.albums = albums;
        return this;
    }

    public Integer getArticles() {
        return articles;
    }

    public CountersGroup setArticles(Integer articles) {
        this.articles = articles;
        return this;
    }

    public Integer getAudioPlaylists() {
        return audioPlaylists;
    }

    public CountersGroup setAudioPlaylists(Integer audioPlaylists) {
        this.audioPlaylists = audioPlaylists;
        return this;
    }

    public Integer getAudios() {
        return audios;
    }

    public CountersGroup setAudios(Integer audios) {
        this.audios = audios;
        return this;
    }

    public Long getClips() {
        return clips;
    }

    public CountersGroup setClips(Long clips) {
        this.clips = clips;
        return this;
    }

    public Long getClipsFollowers() {
        return clipsFollowers;
    }

    public CountersGroup setClipsFollowers(Long clipsFollowers) {
        this.clipsFollowers = clipsFollowers;
        return this;
    }

    public Long getClipsLikes() {
        return clipsLikes;
    }

    public CountersGroup setClipsLikes(Long clipsLikes) {
        this.clipsLikes = clipsLikes;
        return this;
    }

    public Long getClipsViews() {
        return clipsViews;
    }

    public CountersGroup setClipsViews(Long clipsViews) {
        this.clipsViews = clipsViews;
        return this;
    }

    public Integer getDocs() {
        return docs;
    }

    public CountersGroup setDocs(Integer docs) {
        this.docs = docs;
        return this;
    }

    public Integer getMarket() {
        return market;
    }

    public CountersGroup setMarket(Integer market) {
        this.market = market;
        return this;
    }

    public Integer getMarketServices() {
        return marketServices;
    }

    public CountersGroup setMarketServices(Integer marketServices) {
        this.marketServices = marketServices;
        return this;
    }

    public Integer getNarratives() {
        return narratives;
    }

    public CountersGroup setNarratives(Integer narratives) {
        this.narratives = narratives;
        return this;
    }

    public Integer getPhotos() {
        return photos;
    }

    public CountersGroup setPhotos(Integer photos) {
        this.photos = photos;
        return this;
    }

    public Integer getPodcasts() {
        return podcasts;
    }

    public CountersGroup setPodcasts(Integer podcasts) {
        this.podcasts = podcasts;
        return this;
    }

    public Integer getTopics() {
        return topics;
    }

    public CountersGroup setTopics(Integer topics) {
        this.topics = topics;
        return this;
    }

    public Integer getVideoPlaylists() {
        return videoPlaylists;
    }

    public CountersGroup setVideoPlaylists(Integer videoPlaylists) {
        this.videoPlaylists = videoPlaylists;
        return this;
    }

    public Integer getVideos() {
        return videos;
    }

    public CountersGroup setVideos(Integer videos) {
        this.videos = videos;
        return this;
    }

    public Long getVideosFollowers() {
        return videosFollowers;
    }

    public CountersGroup setVideosFollowers(Long videosFollowers) {
        this.videosFollowers = videosFollowers;
        return this;
    }

    @Override
    public int hashCode() {
        return Objects.hash(clipsLikes, addresses, albums, narratives, videosFollowers, clips, topics, marketServices, videos, photos, videoPlaylists, clipsViews, market, podcasts, docs, audios, audioPlaylists, articles, clipsFollowers);
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CountersGroup countersGroup = (CountersGroup) o;
        return Objects.equals(addresses, countersGroup.addresses) &&
                Objects.equals(albums, countersGroup.albums) &&
                Objects.equals(narratives, countersGroup.narratives) &&
                Objects.equals(clips, countersGroup.clips) &&
                Objects.equals(topics, countersGroup.topics) &&
                Objects.equals(audioPlaylists, countersGroup.audioPlaylists) &&
                Objects.equals(clipsViews, countersGroup.clipsViews) &&
                Objects.equals(videos, countersGroup.videos) &&
                Objects.equals(marketServices, countersGroup.marketServices) &&
                Objects.equals(photos, countersGroup.photos) &&
                Objects.equals(clipsLikes, countersGroup.clipsLikes) &&
                Objects.equals(videoPlaylists, countersGroup.videoPlaylists) &&
                Objects.equals(market, countersGroup.market) &&
                Objects.equals(podcasts, countersGroup.podcasts) &&
                Objects.equals(docs, countersGroup.docs) &&
                Objects.equals(videosFollowers, countersGroup.videosFollowers) &&
                Objects.equals(audios, countersGroup.audios) &&
                Objects.equals(clipsFollowers, countersGroup.clipsFollowers) &&
                Objects.equals(articles, countersGroup.articles);
    }

    @Override
    public String toString() {
        final Gson gson = new Gson();
        return gson.toJson(this);
    }

    public String toPrettyString() {
        final StringBuilder sb = new StringBuilder("CountersGroup{");
        sb.append("addresses=").append(addresses);
        sb.append(", albums=").append(albums);
        sb.append(", narratives=").append(narratives);
        sb.append(", clips=").append(clips);
        sb.append(", topics=").append(topics);
        sb.append(", audioPlaylists=").append(audioPlaylists);
        sb.append(", clipsViews=").append(clipsViews);
        sb.append(", videos=").append(videos);
        sb.append(", marketServices=").append(marketServices);
        sb.append(", photos=").append(photos);
        sb.append(", clipsLikes=").append(clipsLikes);
        sb.append(", videoPlaylists=").append(videoPlaylists);
        sb.append(", market=").append(market);
        sb.append(", podcasts=").append(podcasts);
        sb.append(", docs=").append(docs);
        sb.append(", videosFollowers=").append(videosFollowers);
        sb.append(", audios=").append(audios);
        sb.append(", clipsFollowers=").append(clipsFollowers);
        sb.append(", articles=").append(articles);
        sb.append('}');
        return sb.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy