com.vmware.vcloud.extensibility.platform.CreateTransportZoneRequest Maven / Gradle / Ivy
Show all versions of vcd-extensibility-bindings-java 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: 2019.01.11 at 04:44:46 AM UTC
//
package com.vmware.vcloud.extensibility.platform;
/*-
* #%L
* vcd-extensibility-bindings-java :: Object Extensibility API bindings
* %%
* Copyright (C) 2016 - 2019 VMware
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* #L%
*/
import java.io.Serializable;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ProviderVdcId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="NetworkPoolId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Hubs">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Hub" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="hubUri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"providerVdcId",
"networkPoolId",
"name",
"description",
"hubs"
})
@XmlRootElement(name = "CreateTransportZoneRequest")
public class CreateTransportZoneRequest
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "ProviderVdcId", required = true)
protected String providerVdcId;
@XmlElement(name = "NetworkPoolId", required = true)
protected String networkPoolId;
@XmlElement(name = "Name", required = true)
protected String name;
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "Hubs", required = true)
protected CreateTransportZoneRequest.Hubs hubs;
/**
* Gets the value of the providerVdcId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProviderVdcId() {
return providerVdcId;
}
/**
* Sets the value of the providerVdcId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProviderVdcId(String value) {
this.providerVdcId = value;
}
/**
* Gets the value of the networkPoolId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNetworkPoolId() {
return networkPoolId;
}
/**
* Sets the value of the networkPoolId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNetworkPoolId(String value) {
this.networkPoolId = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the hubs property.
*
* @return
* possible object is
* {@link CreateTransportZoneRequest.Hubs }
*
*/
public CreateTransportZoneRequest.Hubs getHubs() {
return hubs;
}
/**
* Sets the value of the hubs property.
*
* @param value
* allowed object is
* {@link CreateTransportZoneRequest.Hubs }
*
*/
public void setHubs(CreateTransportZoneRequest.Hubs value) {
this.hubs = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Hub" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="hubUri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"hub"
})
public static class Hubs
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Hub", required = true)
protected List hub;
/**
* Gets the value of the hub 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 hub property.
*
*
* For example, to add a new item, do as follows:
*
* getHub().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CreateTransportZoneRequest.Hubs.Hub }
*
*
*/
public List getHub() {
if (hub == null) {
hub = new ArrayList();
}
return this.hub;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="hubUri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Hub
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlAttribute(name = "hubUri", required = true)
@XmlSchemaType(name = "anyURI")
protected String hubUri;
/**
* Gets the value of the hubUri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHubUri() {
return hubUri;
}
/**
* Sets the value of the hubUri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHubUri(String value) {
this.hubUri = value;
}
}
}
}