001package silicondust;
002/*-
003 * ##########################################################################
004 * TV H/W, EPGs, and Recording
005 * $Id: LineupEntry.java 5999 2020-05-18 16:41:28Z ball $
006 * $HeadURL: svn+ssh://svn.hcf.dev/var/spool/scm/repository.svn/silicondust/trunk/src/main/java/silicondust/LineupEntry.java $
007 * %%
008 * Copyright (C) 2013 - 2020 Allen D. Ball
009 * %%
010 * Licensed under the Apache License, Version 2.0 (the "License");
011 * you may not use this file except in compliance with the License.
012 * You may obtain a copy of the License at
013 *
014 *      http://www.apache.org/licenses/LICENSE-2.0
015 *
016 * Unless required by applicable law or agreed to in writing, software
017 * distributed under the License is distributed on an "AS IS" BASIS,
018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
019 * See the License for the specific language governing permissions and
020 * limitations under the License.
021 * ##########################################################################
022 */
023import ball.databind.JSONBean;
024import lombok.NoArgsConstructor;
025
026/**
027 * {@link HDHRPrimeProtocol#getLineup(String)} {@link java.util.List}
028 * element.
029 *
030 * @author {@link.uri mailto:ball@hcf.dev Allen D. Ball}
031 * @version $Revision: 5999 $
032 */
033@NoArgsConstructor
034public class LineupEntry extends JSONBean {
035    private static final long serialVersionUID = -963053630857365297L;
036
037    /** @serial */ private int guideNumber = -1;
038    /** @serial */ private String guideName = null;
039    /** @serial */ private String videoCodec = null;
040    /** @serial */ private String audioCodec = null;
041    /** @serial */ private boolean drm = false;
042    /** @serial */ private String url = null;
043
044    public int getGuideNumber() { return guideNumber; }
045    public String getGuideName() { return guideName; }
046    public String getVideoCodec() { return videoCodec; }
047    public String getAudioCodec() { return audioCodec; }
048    public boolean getDRM() { return drm; }
049    public String getURL() { return url; }
050}