com.microsoft.wsman.shell.ReceiveResponse Maven / Gradle / Ivy
Show all versions of bedrock-runtime-windows Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.07.22 at 02:53:45 PM EET
//
package com.microsoft.wsman.shell;
import java.math.BigInteger;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ReceiveResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ReceiveResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Stream" type="{http://schemas.microsoft.com/wbem/wsman/1/windows/shell}StreamType" maxOccurs="unbounded"/>
* <element name="CommandState" type="{http://schemas.microsoft.com/wbem/wsman/1/windows/shell}CommandStateType" minOccurs="0"/>
* </sequence>
* <attribute name="SequenceID" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ReceiveResponse", propOrder = {
"stream",
"commandState"
})
public class ReceiveResponse {
@XmlElement(name = "Stream", required = true)
protected List stream;
@XmlElement(name = "CommandState")
protected CommandStateType commandState;
@XmlAttribute(name = "SequenceID")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger sequenceID;
/**
* Gets the value of the stream 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 stream property.
*
*
* For example, to add a new item, do as follows:
*
* getStream().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StreamType }
*
*
*/
public List getStream() {
if (stream == null) {
stream = new ArrayList();
}
return this.stream;
}
public boolean isSetStream() {
return ((this.stream!= null)&&(!this.stream.isEmpty()));
}
public void unsetStream() {
this.stream = null;
}
/**
* Gets the value of the commandState property.
*
* @return
* possible object is
* {@link CommandStateType }
*
*/
public CommandStateType getCommandState() {
return commandState;
}
/**
* Sets the value of the commandState property.
*
* @param value
* allowed object is
* {@link CommandStateType }
*
*/
public void setCommandState(CommandStateType value) {
this.commandState = value;
}
public boolean isSetCommandState() {
return (this.commandState!= null);
}
/**
* Gets the value of the sequenceID property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSequenceID() {
return sequenceID;
}
/**
* Sets the value of the sequenceID property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSequenceID(BigInteger value) {
this.sequenceID = value;
}
public boolean isSetSequenceID() {
return (this.sequenceID!= null);
}
}