com.vmware.vim25.AlarmSnmpFailedEvent Maven / Gradle / Ivy
package com.vmware.vim25;
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 AlarmSnmpFailedEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AlarmSnmpFailedEvent">
* <complexContent>
* <extension base="{urn:vim25}AlarmEvent">
* <sequence>
* <element name="entity" type="{urn:vim25}ManagedEntityEventArgument"/>
* <element name="reason" type="{urn:vim25}LocalizedMethodFault"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AlarmSnmpFailedEvent", propOrder = {
"entity",
"reason"
})
public class AlarmSnmpFailedEvent
extends AlarmEvent
{
@XmlElement(required = true)
protected ManagedEntityEventArgument entity;
@XmlElement(required = true)
protected LocalizedMethodFault reason;
/**
* Gets the value of the entity property.
*
* @return
* possible object is
* {@link ManagedEntityEventArgument }
*
*/
public ManagedEntityEventArgument getEntity() {
return entity;
}
/**
* Sets the value of the entity property.
*
* @param value
* allowed object is
* {@link ManagedEntityEventArgument }
*
*/
public void setEntity(ManagedEntityEventArgument value) {
this.entity = value;
}
/**
* Gets the value of the reason property.
*
* @return
* possible object is
* {@link LocalizedMethodFault }
*
*/
public LocalizedMethodFault getReason() {
return reason;
}
/**
* Sets the value of the reason property.
*
* @param value
* allowed object is
* {@link LocalizedMethodFault }
*
*/
public void setReason(LocalizedMethodFault value) {
this.reason = value;
}
}