com.microsoft.wsman.config.ListenerType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.08.05 at 05:23:55 PM EDT
//
package com.microsoft.wsman.config;
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;
/**
* Java class for ListenerType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ListenerType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Transport" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Port" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
* <element name="Hostname" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="URLPrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="CertificateThumbprint" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListeningOn" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ListenerType", propOrder = {
"address",
"transport",
"port",
"hostname",
"enabled",
"urlPrefix",
"certificateThumbprint",
"listeningOn"
})
public class ListenerType {
@XmlElement(name = "Address", required = true)
protected String address;
@XmlElement(name = "Transport", required = true)
protected String transport;
@XmlElement(name = "Port")
@XmlSchemaType(name = "unsignedInt")
protected long port;
@XmlElement(name = "Hostname", required = true)
protected String hostname;
@XmlElement(name = "Enabled", defaultValue = "true")
protected Boolean enabled;
@XmlElement(name = "URLPrefix", defaultValue = "wsman")
protected String urlPrefix;
@XmlElement(name = "CertificateThumbprint")
protected String certificateThumbprint;
@XmlElement(name = "ListeningOn")
protected List listeningOn;
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
public boolean isSetAddress() {
return (this.address!= null);
}
/**
* Gets the value of the transport property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransport() {
return transport;
}
/**
* Sets the value of the transport property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransport(String value) {
this.transport = value;
}
public boolean isSetTransport() {
return (this.transport!= null);
}
/**
* Gets the value of the port property.
*
*/
public long getPort() {
return port;
}
/**
* Sets the value of the port property.
*
*/
public void setPort(long value) {
this.port = value;
}
public boolean isSetPort() {
return true;
}
/**
* Gets the value of the hostname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHostname() {
return hostname;
}
/**
* Sets the value of the hostname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHostname(String value) {
this.hostname = value;
}
public boolean isSetHostname() {
return (this.hostname!= null);
}
/**
* Gets the value of the enabled property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isEnabled() {
return enabled;
}
/**
* Sets the value of the enabled property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setEnabled(Boolean value) {
this.enabled = value;
}
public boolean isSetEnabled() {
return (this.enabled!= null);
}
/**
* Gets the value of the urlPrefix property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getURLPrefix() {
return urlPrefix;
}
/**
* Sets the value of the urlPrefix property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setURLPrefix(String value) {
this.urlPrefix = value;
}
public boolean isSetURLPrefix() {
return (this.urlPrefix!= null);
}
/**
* Gets the value of the certificateThumbprint property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCertificateThumbprint() {
return certificateThumbprint;
}
/**
* Sets the value of the certificateThumbprint property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCertificateThumbprint(String value) {
this.certificateThumbprint = value;
}
public boolean isSetCertificateThumbprint() {
return (this.certificateThumbprint!= null);
}
/**
* Gets the value of the listeningOn 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 listeningOn property.
*
*
* For example, to add a new item, do as follows:
*
* getListeningOn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getListeningOn() {
if (listeningOn == null) {
listeningOn = new ArrayList();
}
return this.listeningOn;
}
public boolean isSetListeningOn() {
return ((this.listeningOn!= null)&&(!this.listeningOn.isEmpty()));
}
public void unsetListeningOn() {
this.listeningOn = null;
}
}