org.subsonic.restapi.Bookmark Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subsonic-client Show documentation
Show all versions of subsonic-client Show documentation
Java client for the Subsonic API
The newest version!
//
// 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.time.LocalDateTime;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import net.beardbot.subsonic.client.base.LocalDateTimeAdapter;
/**
* Java class for Bookmark complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Bookmark">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="entry" type="{http://subsonic.org/restapi}Child"/>
* </sequence>
* <attribute name="position" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="username" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="changed" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Bookmark", propOrder = {
"entry"
})
public class Bookmark {
@XmlElement(required = true)
protected Child entry;
@XmlAttribute(name = "position", required = true)
protected long position;
@XmlAttribute(name = "username", required = true)
protected String username;
@XmlAttribute(name = "comment")
protected String comment;
@XmlAttribute(name = "created", required = true)
@XmlJavaTypeAdapter(LocalDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected LocalDateTime created;
@XmlAttribute(name = "changed", required = true)
@XmlJavaTypeAdapter(LocalDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected LocalDateTime changed;
/**
* Gets the value of the entry property.
*
* @return
* possible object is
* {@link Child }
*
*/
public Child getEntry() {
return entry;
}
/**
* Sets the value of the entry property.
*
* @param value
* allowed object is
* {@link Child }
*
*/
public void setEntry(Child value) {
this.entry = value;
}
/**
* Gets the value of the position property.
*
*/
public long getPosition() {
return position;
}
/**
* Sets the value of the position property.
*
*/
public void setPosition(long value) {
this.position = value;
}
/**
* Gets the value of the username property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUsername() {
return username;
}
/**
* Sets the value of the username property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUsername(String value) {
this.username = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDateTime getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreated(LocalDateTime value) {
this.created = value;
}
/**
* Gets the value of the changed property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDateTime getChanged() {
return changed;
}
/**
* Sets the value of the changed property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChanged(LocalDateTime value) {
this.changed = value;
}
}