org.subsonic.restapi.PodcastChannel Maven / Gradle / Ivy
Show all versions of subsonic-client Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.08.24 at 07:14:02 PM CEST
//
package org.subsonic.restapi;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PodcastChannel complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PodcastChannel">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="episode" type="{http://subsonic.org/restapi}PodcastEpisode" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="coverArt" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="originalImageUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="status" use="required" type="{http://subsonic.org/restapi}PodcastStatus" />
* <attribute name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PodcastChannel", propOrder = {
"episodes"
})
public class PodcastChannel {
@XmlElement(name = "episode")
protected List episodes;
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "url", required = true)
protected String url;
@XmlAttribute(name = "title")
protected String title;
@XmlAttribute(name = "description")
protected String description;
@XmlAttribute(name = "coverArt")
protected String coverArtId;
@XmlAttribute(name = "originalImageUrl")
protected String originalImageUrl;
@XmlAttribute(name = "status", required = true)
protected PodcastStatus status;
@XmlAttribute(name = "errorMessage")
protected String errorMessage;
/**
* Gets the value of the episodes property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the episodes property.
*
*
* For example, to add a new item, do as follows:
*
* getEpisodes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PodcastEpisode }
*
*
*/
public List getEpisodes() {
if (episodes == null) {
episodes = new ArrayList();
}
return this.episodes;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the coverArtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCoverArtId() {
return coverArtId;
}
/**
* Sets the value of the coverArtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCoverArtId(String value) {
this.coverArtId = value;
}
/**
* Gets the value of the originalImageUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOriginalImageUrl() {
return originalImageUrl;
}
/**
* Sets the value of the originalImageUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOriginalImageUrl(String value) {
this.originalImageUrl = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link PodcastStatus }
*
*/
public PodcastStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link PodcastStatus }
*
*/
public void setStatus(PodcastStatus value) {
this.status = value;
}
/**
* Gets the value of the errorMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorMessage() {
return errorMessage;
}
/**
* Sets the value of the errorMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorMessage(String value) {
this.errorMessage = value;
}
}