org.subsonic.restapi.ChatMessage 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ChatMessage complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ChatMessage">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="username" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="time" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="message" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ChatMessage")
public class ChatMessage {
@XmlAttribute(name = "username", required = true)
protected String username;
@XmlAttribute(name = "time", required = true)
protected long time;
@XmlAttribute(name = "message", required = true)
protected String message;
/**
* 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 time property.
*
*/
public long getTime() {
return time;
}
/**
* Sets the value of the time property.
*
*/
public void setTime(long value) {
this.time = value;
}
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
}