blob: 02afb1db374e073afec4d19e542a40bbfc634a5e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013-2016 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 v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* 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 downloadArgsType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="downloadArgsType">
* &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="filesize" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="targetFile" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="delaySeconds" type="{http://www.w3.org/2001/XMLSchema}int"/>
* &lt;element name="successURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* &lt;element name="startTime" type="{http://www.onem2m.org/xml/protocols}timestamp"/>
* &lt;element name="completeTime" type="{http://www.onem2m.org/xml/protocols}timestamp"/>
* &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 = "downloadArgsType", propOrder = { "fileType", "url",
"username", "password", "filesize", "targetFile", "delaySeconds",
"successURL", "startTime", "completeTime", "anyArg" })
public class DownloadArgsType {
@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;
@XmlElement(required = true)
protected String filesize;
@XmlElement(required = true)
protected String targetFile;
protected int delaySeconds;
@XmlElement(required = true)
@XmlSchemaType(name = "anyURI")
protected String successURL;
@XmlElement(required = true)
protected String startTime;
@XmlElement(required = true)
protected String completeTime;
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 filesize property.
*
* @return possible object is {@link String }
*
*/
public String getFilesize() {
return filesize;
}
/**
* Sets the value of the filesize property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setFilesize(String value) {
this.filesize = value;
}
/**
* Gets the value of the targetFile property.
*
* @return possible object is {@link String }
*
*/
public String getTargetFile() {
return targetFile;
}
/**
* Sets the value of the targetFile property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTargetFile(String value) {
this.targetFile = value;
}
/**
* Gets the value of the delaySeconds property.
*
*/
public int getDelaySeconds() {
return delaySeconds;
}
/**
* Sets the value of the delaySeconds property.
*
*/
public void setDelaySeconds(int value) {
this.delaySeconds = value;
}
/**
* Gets the value of the successURL property.
*
* @return possible object is {@link String }
*
*/
public String getSuccessURL() {
return successURL;
}
/**
* Sets the value of the successURL property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSuccessURL(String value) {
this.successURL = value;
}
/**
* Gets the value of the startTime property.
*
* @return possible object is {@link String }
*
*/
public String getStartTime() {
return startTime;
}
/**
* Sets the value of the startTime property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setStartTime(String value) {
this.startTime = value;
}
/**
* Gets the value of the completeTime property.
*
* @return possible object is {@link String }
*
*/
public String getCompleteTime() {
return completeTime;
}
/**
* Sets the value of the completeTime property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCompleteTime(String value) {
this.completeTime = 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;
}
}