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

org.subsonic.restapi.License 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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 License complex type. * *

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

 * <complexType name="License">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="valid" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="email" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="licenseExpires" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       <attribute name="trialExpires" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "License") public class License { @XmlAttribute(name = "valid", required = true) protected boolean valid; @XmlAttribute(name = "email") protected String email; @XmlAttribute(name = "licenseExpires") @XmlJavaTypeAdapter(LocalDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected LocalDateTime licenseExpires; @XmlAttribute(name = "trialExpires") @XmlJavaTypeAdapter(LocalDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected LocalDateTime trialExpires; /** * Gets the value of the valid property. * */ public boolean isValid() { return valid; } /** * Sets the value of the valid property. * */ public void setValid(boolean value) { this.valid = 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 licenseExpires property. * * @return * possible object is * {@link String } * */ public LocalDateTime getLicenseExpires() { return licenseExpires; } /** * Sets the value of the licenseExpires property. * * @param value * allowed object is * {@link String } * */ public void setLicenseExpires(LocalDateTime value) { this.licenseExpires = value; } /** * Gets the value of the trialExpires property. * * @return * possible object is * {@link String } * */ public LocalDateTime getTrialExpires() { return trialExpires; } /** * Sets the value of the trialExpires property. * * @param value * allowed object is * {@link String } * */ public void setTrialExpires(LocalDateTime value) { this.trialExpires = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy