org.subsonic.restapi.VideoInfo 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 VideoInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VideoInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="captions" type="{http://subsonic.org/restapi}Captions" maxOccurs="unbounded" minOccurs="0"/>
* <element name="audioTrack" type="{http://subsonic.org/restapi}AudioTrack" maxOccurs="unbounded" minOccurs="0"/>
* <element name="conversion" type="{http://subsonic.org/restapi}VideoConversion" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VideoInfo", propOrder = {
"captions",
"audioTracks",
"conversions"
})
public class VideoInfo {
protected List captions;
@XmlElement(name = "audioTrack")
protected List audioTracks;
@XmlElement(name = "conversion")
protected List conversions;
@XmlAttribute(name = "id", required = true)
protected String id;
/**
* Gets the value of the captions 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 captions property.
*
*
* For example, to add a new item, do as follows:
*
* getCaptions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Captions }
*
*
*/
public List getCaptions() {
if (captions == null) {
captions = new ArrayList();
}
return this.captions;
}
/**
* Gets the value of the audioTracks 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 audioTracks property.
*
*
* For example, to add a new item, do as follows:
*
* getAudioTracks().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AudioTrack }
*
*
*/
public List getAudioTracks() {
if (audioTracks == null) {
audioTracks = new ArrayList();
}
return this.audioTracks;
}
/**
* Gets the value of the conversions 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 conversions property.
*
*
* For example, to add a new item, do as follows:
*
* getConversions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VideoConversion }
*
*
*/
public List getConversions() {
if (conversions == null) {
conversions = new ArrayList();
}
return this.conversions;
}
/**
* 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;
}
}