org.bremersee.garmin.garmindevice.v1.model.Device Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package org.bremersee.garmin.garmindevice.v1.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for Device_t complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Device_t", propOrder = {
"model",
"id",
"registrationCode",
"unlocks",
"displayName",
"massStorageMode",
"garminMode",
"extensions"
})
@XmlRootElement(name = "Device")
public class Device
implements Serializable
{
private static final long serialVersionUID = 1L;
@XmlElement(name = "Model", required = true)
protected ModelT model;
@XmlElement(name = "Id")
@XmlSchemaType(name = "unsignedInt")
protected long id;
@XmlElement(name = "RegistrationCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String registrationCode;
@XmlElement(name = "Unlock")
protected List unlocks;
@XmlElement(name = "DisplayName")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String displayName;
@XmlElement(name = "MassStorageMode")
protected MassStorageModeT massStorageMode;
@XmlElement(name = "GarminMode")
protected GarminModeT garminMode;
@XmlElement(name = "Extensions")
protected ExtensionsT extensions;
/**
* Gets the value of the model property.
*
* @return
* possible object is
* {@link ModelT }
*
*/
public ModelT getModel() {
return model;
}
/**
* Sets the value of the model property.
*
* @param value
* allowed object is
* {@link ModelT }
*
*/
public void setModel(ModelT value) {
this.model = value;
}
/**
* Gets the value of the id property.
*
*/
public long getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(long value) {
this.id = value;
}
/**
* Gets the value of the registrationCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRegistrationCode() {
return registrationCode;
}
/**
* Sets the value of the registrationCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRegistrationCode(String value) {
this.registrationCode = value;
}
/**
* Gets the value of the unlocks 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the unlocks property.
*
*
* For example, to add a new item, do as follows:
*
* getUnlocks().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UnlockCodeT }
*
*
* @return
* The value of the unlocks property.
*/
public List getUnlocks() {
if (unlocks == null) {
unlocks = new ArrayList<>();
}
return this.unlocks;
}
/**
* Gets the value of the displayName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDisplayName() {
return displayName;
}
/**
* Sets the value of the displayName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDisplayName(String value) {
this.displayName = value;
}
/**
* Gets the value of the massStorageMode property.
*
* @return
* possible object is
* {@link MassStorageModeT }
*
*/
public MassStorageModeT getMassStorageMode() {
return massStorageMode;
}
/**
* Sets the value of the massStorageMode property.
*
* @param value
* allowed object is
* {@link MassStorageModeT }
*
*/
public void setMassStorageMode(MassStorageModeT value) {
this.massStorageMode = value;
}
/**
* Gets the value of the garminMode property.
*
* @return
* possible object is
* {@link GarminModeT }
*
*/
public GarminModeT getGarminMode() {
return garminMode;
}
/**
* Sets the value of the garminMode property.
*
* @param value
* allowed object is
* {@link GarminModeT }
*
*/
public void setGarminMode(GarminModeT value) {
this.garminMode = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsT }
*
*/
public ExtensionsT getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsT }
*
*/
public void setExtensions(ExtensionsT value) {
this.extensions = value;
}
}