public class SetDevicesWorkSpaceStateRequest extends Object
Java class for SetDevicesWorkSpaceStateRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SetDevicesWorkSpaceStateRequest"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="metadata" type="{http://ws.rim.com/enterprise/admin}RequestMetadata"/> <element name="devices" type="{http://ws.rim.com/enterprise/admin}Device" maxOccurs="unbounded" minOccurs="0"/> <element name="state" type="{http://ws.rim.com/enterprise/admin}DeviceWorkSpaceState"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected List<Device> |
devices |
protected RequestMetadata |
metadata |
protected DeviceWorkSpaceState |
state |
Constructor and Description |
---|
SetDevicesWorkSpaceStateRequest() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<Device> |
getDevices()
Gets the value of the devices property.
|
RequestMetadata |
getMetadata()
Gets the value of the metadata property.
|
DeviceWorkSpaceState |
getState()
Gets the value of the state property.
|
void |
setMetadata(RequestMetadata value)
Sets the value of the metadata property.
|
void |
setState(DeviceWorkSpaceState value)
Sets the value of the state property.
|
protected RequestMetadata metadata
protected DeviceWorkSpaceState state
public RequestMetadata getMetadata()
RequestMetadata
public void setMetadata(RequestMetadata value)
value
- allowed object is RequestMetadata
public List<Device> getDevices()
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 devices
property.
For example, to add a new item, do as follows:
getDevices().add(newItem);
Objects of the following type(s) are allowed in the list Device
public DeviceWorkSpaceState getState()
DeviceWorkSpaceState
public void setState(DeviceWorkSpaceState value)
value
- allowed object is DeviceWorkSpaceState
public List<Object> getAny()
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 any
property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list Object
Copyright © 2014. All rights reserved.