
com.terremark.api.IpAddressReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of terremark-api Show documentation
Show all versions of terremark-api Show documentation
Terremark Enterprise Cloud Java API
The newest version!
/**
* Copyright 2012 Terremark Worldwide Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.terremark.api;
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 IpAddressReference complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="IpAddressReference">
* <complexContent>
* <extension base="{}Reference">
* <sequence>
* <element name="Network" type="{}Reference" minOccurs="0"/>
* <element name="Host" type="{}Reference" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IpAddressReference", propOrder = {"network", "host"})
public class IpAddressReference extends Reference {
@XmlElement(name = "Network", nillable = true)
protected Reference network;
@XmlElement(name = "Host", nillable = true)
protected Reference host;
/**
* Gets the value of the network property.
*
* @return possible object is {@link Reference }
*/
public Reference getNetwork() {
return network;
}
/**
* Sets the value of the network property.
*
* @param value allowed object is {@link Reference }
*/
public void setNetwork(final Reference value) {
this.network = value;
}
/**
* Gets the value of the host property.
*
* @return possible object is {@link Reference }
*/
public Reference getHost() {
return host;
}
/**
* Sets the value of the host property.
*
* @param value allowed object is {@link Reference }
*/
public void setHost(final Reference value) {
this.host = value;
}
}