package ocpp.v15.cp; import javax.annotation.Generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * Defines the ChangeAvailability.req PDU * * <p>Java class for ChangeAvailabilityRequest complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ChangeAvailabilityRequest"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="connectorId" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="type" type="{urn://Ocpp/Cp/2012/06/}AvailabilityType"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ChangeAvailabilityRequest", propOrder = { "connectorId", "type" }) @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public class ChangeAvailabilityRequest { @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected int connectorId; @XmlElement(required = true) @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected AvailabilityType type; /** * Gets the value of the connectorId property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public int getConnectorId() { return connectorId; } /** * Sets the value of the connectorId property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public void setConnectorId(int value) { this.connectorId = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link AvailabilityType } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public AvailabilityType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link AvailabilityType } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public void setType(AvailabilityType value) { this.type = value; } }