blob: b4ddd5172b9332b6f4b6e01f7c166b8499b7a885 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013-2020 LAAS-CNRS (www.laas.fr)
* 7 Colonel Roche 31077 Toulouse - France
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Initial Contributors:
* Thierry Monteil : Project manager, technical co-manager
* Mahdi Ben Alaya : Technical co-manager
* Samir Medjiah : Technical co-manager
* Khalil Drira : Strategy expert
* Guillaume Garzone : Developer
* François Aïssaoui : Developer
*
* New contributors :
*******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.04.15 at 03:56:27 PM CEST
//
package org.eclipse.om2m.commons.resource;
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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for uploadArgsType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="uploadArgsType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="fileType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* &lt;element name="username" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="password" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="anyArg" type="{http://www.onem2m.org/xml/protocols}anyArgType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "uploadArgsType", propOrder = { "fileType", "url", "username",
"password", "anyArg" })
public class UploadArgsType {
@XmlElement(required = true)
protected String fileType;
@XmlElement(name = "URL", required = true)
@XmlSchemaType(name = "anyURI")
protected String url;
@XmlElement(required = true)
protected String username;
@XmlElement(required = true)
protected String password;
protected List<AnyArgType> anyArg;
/**
* Gets the value of the fileType property.
*
* @return possible object is {@link String }
*
*/
public String getFileType() {
return fileType;
}
/**
* Sets the value of the fileType property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setFileType(String value) {
this.fileType = value;
}
/**
* Gets the value of the url property.
*
* @return possible object is {@link String }
*
*/
public String getURL() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setURL(String value) {
this.url = 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 password property.
*
* @return possible object is {@link String }
*
*/
public String getPassword() {
return password;
}
/**
* Sets the value of the password property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPassword(String value) {
this.password = value;
}
/**
* Gets the value of the anyArg property.
*
* <p>
* 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
* <CODE>set</CODE> method for the anyArg property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAnyArg().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AnyArgType }
*
*
*/
public List<AnyArgType> getAnyArg() {
if (anyArg == null) {
anyArg = new ArrayList<AnyArgType>();
}
return this.anyArg;
}
}