All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ovirt.engine.sdk.entities.Storage Maven / Gradle / Ivy

There is a newer version: 3.6.10.0
Show newest version
//
// Copyright (c) 2012 Red Hat, 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.
//

// *********************************************************************
// ********************* GENERATED CODE - DO NOT MODIFY ****************
// *********************************************************************

package org.ovirt.engine.sdk.entities;

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 Storage complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Storage">
 *   <complexContent>
 *     <extension base="{}BaseResource">
 *       <sequence>
 *         <group ref="{}BaseStorageConnection"/>
 *         <choice>
 *           <group ref="{}NfsStorage"/>
 *           <group ref="{}IscsiStorage"/>
 *           <group ref="{}IscsiStorageConnection"/>
 *         </choice>
 *         <element ref="{}host" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Storage", propOrder = { "address", "type", "path", "mountOptions", "vfsType", "nfsVersion", "nfsTimeo", "nfsRetrans", "logicalUnits", "volumeGroup", "overrideLuns", "port", "target", "username", "password", "portal", "host" }) public class Storage extends BaseResource { protected String address; protected String type; protected String path; @XmlElement(name = "mount_options") protected String mountOptions; @XmlElement(name = "vfs_type") protected String vfsType; @XmlElement(name = "nfs_version") protected String nfsVersion; @XmlElement(name = "nfs_timeo") @XmlSchemaType(name = "unsignedShort") protected Integer nfsTimeo; @XmlElement(name = "nfs_retrans") @XmlSchemaType(name = "unsignedShort") protected Integer nfsRetrans; @XmlElement(name = "logical_unit") protected List logicalUnits; @XmlElement(name = "volume_group") protected VolumeGroup volumeGroup; @XmlElement(name = "override_luns") protected Boolean overrideLuns; @XmlSchemaType(name = "unsignedShort") protected Integer port; protected String target; protected String username; protected String password; protected String portal; protected Host host; /** * 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 type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Gets the value of the path property. * * @return * possible object is * {@link String } * */ public String getPath() { return path; } /** * Sets the value of the path property. * * @param value * allowed object is * {@link String } * */ public void setPath(String value) { this.path = value; } public boolean isSetPath() { return (this.path!= null); } /** * Gets the value of the mountOptions property. * * @return * possible object is * {@link String } * */ public String getMountOptions() { return mountOptions; } /** * Sets the value of the mountOptions property. * * @param value * allowed object is * {@link String } * */ public void setMountOptions(String value) { this.mountOptions = value; } public boolean isSetMountOptions() { return (this.mountOptions!= null); } /** * Gets the value of the vfsType property. * * @return * possible object is * {@link String } * */ public String getVfsType() { return vfsType; } /** * Sets the value of the vfsType property. * * @param value * allowed object is * {@link String } * */ public void setVfsType(String value) { this.vfsType = value; } public boolean isSetVfsType() { return (this.vfsType!= null); } /** * Gets the value of the nfsVersion property. * * @return * possible object is * {@link String } * */ public String getNfsVersion() { return nfsVersion; } /** * Sets the value of the nfsVersion property. * * @param value * allowed object is * {@link String } * */ public void setNfsVersion(String value) { this.nfsVersion = value; } public boolean isSetNfsVersion() { return (this.nfsVersion!= null); } /** * Gets the value of the nfsTimeo property. * * @return * possible object is * {@link Integer } * */ public Integer getNfsTimeo() { return nfsTimeo; } /** * Sets the value of the nfsTimeo property. * * @param value * allowed object is * {@link Integer } * */ public void setNfsTimeo(Integer value) { this.nfsTimeo = value; } public boolean isSetNfsTimeo() { return (this.nfsTimeo!= null); } /** * Gets the value of the nfsRetrans property. * * @return * possible object is * {@link Integer } * */ public Integer getNfsRetrans() { return nfsRetrans; } /** * Sets the value of the nfsRetrans property. * * @param value * allowed object is * {@link Integer } * */ public void setNfsRetrans(Integer value) { this.nfsRetrans = value; } public boolean isSetNfsRetrans() { return (this.nfsRetrans!= null); } /** * Gets the value of the logicalUnits 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 logicalUnits property. * *

* For example, to add a new item, do as follows: *

     *    getLogicalUnits().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LogicalUnit } * * */ public List getLogicalUnits() { if (logicalUnits == null) { logicalUnits = new ArrayList(); } return this.logicalUnits; } public boolean isSetLogicalUnits() { return ((this.logicalUnits!= null)&&(!this.logicalUnits.isEmpty())); } public void unsetLogicalUnits() { this.logicalUnits = null; } /** * Gets the value of the volumeGroup property. * * @return * possible object is * {@link VolumeGroup } * */ public VolumeGroup getVolumeGroup() { return volumeGroup; } /** * Sets the value of the volumeGroup property. * * @param value * allowed object is * {@link VolumeGroup } * */ public void setVolumeGroup(VolumeGroup value) { this.volumeGroup = value; } public boolean isSetVolumeGroup() { return (this.volumeGroup!= null); } /** * Gets the value of the overrideLuns property. * * @return * possible object is * {@link Boolean } * */ public Boolean getOverrideLuns() { return overrideLuns; } /** * Sets the value of the overrideLuns property. * * @param value * allowed object is * {@link Boolean } * */ public void setOverrideLuns(Boolean value) { this.overrideLuns = value; } public boolean isSetOverrideLuns() { return (this.overrideLuns!= null); } /** * Gets the value of the port property. * * @return * possible object is * {@link Integer } * */ public Integer getPort() { return port; } /** * Sets the value of the port property. * * @param value * allowed object is * {@link Integer } * */ public void setPort(Integer value) { this.port = value; } public boolean isSetPort() { return (this.port!= null); } /** * Gets the value of the target property. * * @return * possible object is * {@link String } * */ public String getTarget() { return target; } /** * Sets the value of the target property. * * @param value * allowed object is * {@link String } * */ public void setTarget(String value) { this.target = value; } public boolean isSetTarget() { return (this.target!= null); } /** * Gets the value of the username property. * * @return * possible object is * {@link String } * */ public String getUsername() { return username; } /** * Sets the value of the username property. * * @param value * allowed object is * {@link String } * */ public void setUsername(String value) { this.username = value; } public boolean isSetUsername() { return (this.username!= null); } /** * Gets the value of the password property. * * @return * possible object is * {@link String } * */ public String getPassword() { return password; } /** * Sets the value of the password property. * * @param value * allowed object is * {@link String } * */ public void setPassword(String value) { this.password = value; } public boolean isSetPassword() { return (this.password!= null); } /** * Gets the value of the portal property. * * @return * possible object is * {@link String } * */ public String getPortal() { return portal; } /** * Sets the value of the portal property. * * @param value * allowed object is * {@link String } * */ public void setPortal(String value) { this.portal = value; } public boolean isSetPortal() { return (this.portal!= null); } /** * Gets the value of the host property. * * @return * possible object is * {@link Host } * */ public Host getHost() { return host; } /** * Sets the value of the host property. * * @param value * allowed object is * {@link Host } * */ public void setHost(Host value) { this.host = value; } public boolean isSetHost() { return (this.host!= null); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy