package org.schabi.newpipe.extractor.channel; import org.schabi.newpipe.extractor.InfoItem; /* * Created by Christian Schabesberger on 11.02.17. * * Copyright (C) Christian Schabesberger 2017 * ChannelInfoItem.java is part of NewPipe. * * NewPipe is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * NewPipe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with NewPipe. If not, see . */ public class ChannelInfoItem extends InfoItem { private String description; private long subscriberCount = -1; private long streamCount = -1; private boolean verified = false; public ChannelInfoItem(final int serviceId, final String url, final String name) { super(InfoType.CHANNEL, serviceId, url, name); } public String getDescription() { return description; } public void setDescription(final String description) { this.description = description; } public long getSubscriberCount() { return subscriberCount; } public void setSubscriberCount(final long subscriberCount) { this.subscriberCount = subscriberCount; } public long getStreamCount() { return streamCount; } public void setStreamCount(final long streamCount) { this.streamCount = streamCount; } public boolean isVerified() { return verified; } public void setVerified(final boolean verified) { this.verified = verified; } }