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

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

There is a newer version: 0.6.60
Show newest version

package com.vmware.vim25;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for ScsiLunState. * *

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

*

 * <simpleType name="ScsiLunState">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="unknownState"/>
 *     <enumeration value="ok"/>
 *     <enumeration value="error"/>
 *     <enumeration value="off"/>
 *     <enumeration value="quiesced"/>
 *     <enumeration value="degraded"/>
 *     <enumeration value="lostCommunication"/>
 *     <enumeration value="timeout"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ScsiLunState") @XmlEnum public enum ScsiLunState { @XmlEnumValue("unknownState") UNKNOWN_STATE("unknownState"), @XmlEnumValue("ok") OK("ok"), @XmlEnumValue("error") ERROR("error"), @XmlEnumValue("off") OFF("off"), @XmlEnumValue("quiesced") QUIESCED("quiesced"), @XmlEnumValue("degraded") DEGRADED("degraded"), @XmlEnumValue("lostCommunication") LOST_COMMUNICATION("lostCommunication"), @XmlEnumValue("timeout") TIMEOUT("timeout"); private final String value; ScsiLunState(String v) { value = v; } public String value() { return value; } public static ScsiLunState fromValue(String v) { for (ScsiLunState c: ScsiLunState.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy