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

com.vmware.vim.AlarmState Maven / Gradle / Ivy

The newest version!

package com.vmware.vim;

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;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for AlarmState complex type. * *

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

 * <complexType name="AlarmState">
 *   <complexContent>
 *     <extension base="{urn:vim2}DynamicData">
 *       <sequence>
 *         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="entity" type="{urn:vim2}ManagedObjectReference"/>
 *         <element name="alarm" type="{urn:vim2}ManagedObjectReference"/>
 *         <element name="overallStatus" type="{urn:vim2}ManagedEntityStatus"/>
 *         <element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AlarmState", propOrder = { "key", "entity", "alarm", "overallStatus", "time" }) public class AlarmState extends DynamicData { @XmlElement(required = true) protected String key; @XmlElement(required = true) protected ManagedObjectReference entity; @XmlElement(required = true) protected ManagedObjectReference alarm; @XmlElement(required = true) protected ManagedEntityStatus overallStatus; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar time; /** * 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 entity property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getEntity() { return entity; } /** * Sets the value of the entity property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setEntity(ManagedObjectReference value) { this.entity = value; } /** * Gets the value of the alarm property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getAlarm() { return alarm; } /** * Sets the value of the alarm property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setAlarm(ManagedObjectReference value) { this.alarm = value; } /** * Gets the value of the overallStatus property. * * @return * possible object is * {@link ManagedEntityStatus } * */ public ManagedEntityStatus getOverallStatus() { return overallStatus; } /** * Sets the value of the overallStatus property. * * @param value * allowed object is * {@link ManagedEntityStatus } * */ public void setOverallStatus(ManagedEntityStatus value) { this.overallStatus = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTime(XMLGregorianCalendar value) { this.time = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy