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

com.vmware.vim25.HostService Maven / Gradle / Ivy

The newest version!

package com.vmware.vim25;

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.XmlType;


/**
 * 

Java class for HostService complex type. * *

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

 * <complexType name="HostService">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="uninstallable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="running" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="ruleset" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="policy" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="sourcePackage" type="{urn:vim25}HostServiceSourcePackage" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostService", propOrder = { "key", "label", "required", "uninstallable", "running", "ruleset", "policy", "sourcePackage" }) public class HostService extends DynamicData { @XmlElement(required = true) protected String key; @XmlElement(required = true) protected String label; protected boolean required; protected boolean uninstallable; protected boolean running; protected List ruleset; @XmlElement(required = true) protected String policy; protected HostServiceSourcePackage sourcePackage; /** * Gets the value of the key property. * * @return * possible object is * {@link String } * */ public String getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link String } * */ public void setKey(String value) { this.key = value; } /** * Gets the value of the label property. * * @return * possible object is * {@link String } * */ public String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link String } * */ public void setLabel(String value) { this.label = value; } /** * Gets the value of the required property. * */ public boolean isRequired() { return required; } /** * Sets the value of the required property. * */ public void setRequired(boolean value) { this.required = value; } /** * Gets the value of the uninstallable property. * */ public boolean isUninstallable() { return uninstallable; } /** * Sets the value of the uninstallable property. * */ public void setUninstallable(boolean value) { this.uninstallable = value; } /** * Gets the value of the running property. * */ public boolean isRunning() { return running; } /** * Sets the value of the running property. * */ public void setRunning(boolean value) { this.running = value; } /** * Gets the value of the ruleset 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 ruleset property. * *

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

     *    getRuleset().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getRuleset() { if (ruleset == null) { ruleset = new ArrayList(); } return this.ruleset; } /** * Gets the value of the policy property. * * @return * possible object is * {@link String } * */ public String getPolicy() { return policy; } /** * Sets the value of the policy property. * * @param value * allowed object is * {@link String } * */ public void setPolicy(String value) { this.policy = value; } /** * Gets the value of the sourcePackage property. * * @return * possible object is * {@link HostServiceSourcePackage } * */ public HostServiceSourcePackage getSourcePackage() { return sourcePackage; } /** * Sets the value of the sourcePackage property. * * @param value * allowed object is * {@link HostServiceSourcePackage } * */ public void setSourcePackage(HostServiceSourcePackage value) { this.sourcePackage = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy