All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.subsonic.restapi.User Maven / Gradle / Ivy

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 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import net.beardbot.subsonic.client.base.LocalDateTimeAdapter;


/**
 * 

Java class for User complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="User">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="folder" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="username" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="email" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="scrobblingEnabled" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="maxBitRate" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="adminRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="settingsRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="downloadRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="uploadRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="playlistRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="coverArtRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="commentRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="podcastRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="streamRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="jukeboxRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="shareRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="videoConversionRole" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="avatarLastChanged" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "User", propOrder = { "folders" }) public class User { @XmlElement(name = "folder", type = Integer.class) protected List folders; @XmlAttribute(name = "username", required = true) protected String username; @XmlAttribute(name = "email") protected String email; @XmlAttribute(name = "scrobblingEnabled", required = true) protected boolean scrobblingEnabled; @XmlAttribute(name = "maxBitRate") protected Integer maxBitRate; @XmlAttribute(name = "adminRole", required = true) protected boolean adminRole; @XmlAttribute(name = "settingsRole", required = true) protected boolean settingsRole; @XmlAttribute(name = "downloadRole", required = true) protected boolean downloadRole; @XmlAttribute(name = "uploadRole", required = true) protected boolean uploadRole; @XmlAttribute(name = "playlistRole", required = true) protected boolean playlistRole; @XmlAttribute(name = "coverArtRole", required = true) protected boolean coverArtRole; @XmlAttribute(name = "commentRole", required = true) protected boolean commentRole; @XmlAttribute(name = "podcastRole", required = true) protected boolean podcastRole; @XmlAttribute(name = "streamRole", required = true) protected boolean streamRole; @XmlAttribute(name = "jukeboxRole", required = true) protected boolean jukeboxRole; @XmlAttribute(name = "shareRole", required = true) protected boolean shareRole; @XmlAttribute(name = "videoConversionRole", required = true) protected boolean videoConversionRole; @XmlAttribute(name = "avatarLastChanged") @XmlJavaTypeAdapter(LocalDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected LocalDateTime avatarLastChanged; /** * Gets the value of the folders 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 folders property. * *

* For example, to add a new item, do as follows: *

     *    getFolders().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Integer } * * */ public List getFolders() { if (folders == null) { folders = new ArrayList(); } return this.folders; } /** * 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 email property. * * @return * possible object is * {@link String } * */ public String getEmail() { return email; } /** * Sets the value of the email property. * * @param value * allowed object is * {@link String } * */ public void setEmail(String value) { this.email = value; } /** * Gets the value of the scrobblingEnabled property. * */ public boolean isScrobblingEnabled() { return scrobblingEnabled; } /** * Sets the value of the scrobblingEnabled property. * */ public void setScrobblingEnabled(boolean value) { this.scrobblingEnabled = value; } /** * Gets the value of the maxBitRate property. * * @return * possible object is * {@link Integer } * */ public Integer getMaxBitRate() { return maxBitRate; } /** * Sets the value of the maxBitRate property. * * @param value * allowed object is * {@link Integer } * */ public void setMaxBitRate(Integer value) { this.maxBitRate = value; } /** * Gets the value of the adminRole property. * */ public boolean isAdminRole() { return adminRole; } /** * Sets the value of the adminRole property. * */ public void setAdminRole(boolean value) { this.adminRole = value; } /** * Gets the value of the settingsRole property. * */ public boolean isSettingsRole() { return settingsRole; } /** * Sets the value of the settingsRole property. * */ public void setSettingsRole(boolean value) { this.settingsRole = value; } /** * Gets the value of the downloadRole property. * */ public boolean isDownloadRole() { return downloadRole; } /** * Sets the value of the downloadRole property. * */ public void setDownloadRole(boolean value) { this.downloadRole = value; } /** * Gets the value of the uploadRole property. * */ public boolean isUploadRole() { return uploadRole; } /** * Sets the value of the uploadRole property. * */ public void setUploadRole(boolean value) { this.uploadRole = value; } /** * Gets the value of the playlistRole property. * */ public boolean isPlaylistRole() { return playlistRole; } /** * Sets the value of the playlistRole property. * */ public void setPlaylistRole(boolean value) { this.playlistRole = value; } /** * Gets the value of the coverArtRole property. * */ public boolean isCoverArtRole() { return coverArtRole; } /** * Sets the value of the coverArtRole property. * */ public void setCoverArtRole(boolean value) { this.coverArtRole = value; } /** * Gets the value of the commentRole property. * */ public boolean isCommentRole() { return commentRole; } /** * Sets the value of the commentRole property. * */ public void setCommentRole(boolean value) { this.commentRole = value; } /** * Gets the value of the podcastRole property. * */ public boolean isPodcastRole() { return podcastRole; } /** * Sets the value of the podcastRole property. * */ public void setPodcastRole(boolean value) { this.podcastRole = value; } /** * Gets the value of the streamRole property. * */ public boolean isStreamRole() { return streamRole; } /** * Sets the value of the streamRole property. * */ public void setStreamRole(boolean value) { this.streamRole = value; } /** * Gets the value of the jukeboxRole property. * */ public boolean isJukeboxRole() { return jukeboxRole; } /** * Sets the value of the jukeboxRole property. * */ public void setJukeboxRole(boolean value) { this.jukeboxRole = value; } /** * Gets the value of the shareRole property. * */ public boolean isShareRole() { return shareRole; } /** * Sets the value of the shareRole property. * */ public void setShareRole(boolean value) { this.shareRole = value; } /** * Gets the value of the videoConversionRole property. * */ public boolean isVideoConversionRole() { return videoConversionRole; } /** * Sets the value of the videoConversionRole property. * */ public void setVideoConversionRole(boolean value) { this.videoConversionRole = value; } /** * Gets the value of the avatarLastChanged property. * * @return * possible object is * {@link String } * */ public LocalDateTime getAvatarLastChanged() { return avatarLastChanged; } /** * Sets the value of the avatarLastChanged property. * * @param value * allowed object is * {@link String } * */ public void setAvatarLastChanged(LocalDateTime value) { this.avatarLastChanged = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy