
com.vmware.vim.ScheduledTaskDescription Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
package com.vmware.vim;
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.XmlType;
/**
* Java class for ScheduledTaskDescription complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ScheduledTaskDescription">
* <complexContent>
* <extension base="{urn:vim2}DynamicData">
* <sequence>
* <element name="action" type="{urn:vim2}TypeDescription" maxOccurs="unbounded"/>
* <element name="schedulerInfo" type="{urn:vim2}ScheduledTaskDetail" maxOccurs="unbounded"/>
* <element name="state" type="{urn:vim2}ElementDescription" maxOccurs="unbounded"/>
* <element name="dayOfWeek" type="{urn:vim2}ElementDescription" maxOccurs="unbounded"/>
* <element name="weekOfMonth" type="{urn:vim2}ElementDescription" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ScheduledTaskDescription", propOrder = {
"action",
"schedulerInfo",
"state",
"dayOfWeek",
"weekOfMonth"
})
public class ScheduledTaskDescription
extends DynamicData
{
@XmlElement(required = true)
protected List action;
@XmlElement(required = true)
protected List schedulerInfo;
@XmlElement(required = true)
protected List state;
@XmlElement(required = true)
protected List dayOfWeek;
@XmlElement(required = true)
protected List weekOfMonth;
/**
* Gets the value of the action 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 JAXB object.
* This is why there is not a set
method for the action property.
*
*
* For example, to add a new item, do as follows:
*
* getAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypeDescription }
*
*
*/
public List getAction() {
if (action == null) {
action = new ArrayList();
}
return this.action;
}
/**
* Gets the value of the schedulerInfo 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 JAXB object.
* This is why there is not a set
method for the schedulerInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getSchedulerInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ScheduledTaskDetail }
*
*
*/
public List getSchedulerInfo() {
if (schedulerInfo == null) {
schedulerInfo = new ArrayList();
}
return this.schedulerInfo;
}
/**
* Gets the value of the state 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 JAXB object.
* This is why there is not a set
method for the state property.
*
*
* For example, to add a new item, do as follows:
*
* getState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getState() {
if (state == null) {
state = new ArrayList();
}
return this.state;
}
/**
* Gets the value of the dayOfWeek 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 JAXB object.
* This is why there is not a set
method for the dayOfWeek property.
*
*
* For example, to add a new item, do as follows:
*
* getDayOfWeek().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getDayOfWeek() {
if (dayOfWeek == null) {
dayOfWeek = new ArrayList();
}
return this.dayOfWeek;
}
/**
* Gets the value of the weekOfMonth 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 JAXB object.
* This is why there is not a set
method for the weekOfMonth property.
*
*
* For example, to add a new item, do as follows:
*
* getWeekOfMonth().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getWeekOfMonth() {
if (weekOfMonth == null) {
weekOfMonth = new ArrayList();
}
return this.weekOfMonth;
}
/**
* Sets the value of the action property.
*
* @param action
* allowed object is
* {@link TypeDescription }
*
*/
public void setAction(List action) {
this.action = action;
}
/**
* Sets the value of the schedulerInfo property.
*
* @param schedulerInfo
* allowed object is
* {@link ScheduledTaskDetail }
*
*/
public void setSchedulerInfo(List schedulerInfo) {
this.schedulerInfo = schedulerInfo;
}
/**
* Sets the value of the state property.
*
* @param state
* allowed object is
* {@link ElementDescription }
*
*/
public void setState(List state) {
this.state = state;
}
/**
* Sets the value of the dayOfWeek property.
*
* @param dayOfWeek
* allowed object is
* {@link ElementDescription }
*
*/
public void setDayOfWeek(List dayOfWeek) {
this.dayOfWeek = dayOfWeek;
}
/**
* Sets the value of the weekOfMonth property.
*
* @param weekOfMonth
* allowed object is
* {@link ElementDescription }
*
*/
public void setWeekOfMonth(List weekOfMonth) {
this.weekOfMonth = weekOfMonth;
}
}