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

io.motown.ocpp.websocketjson.schema.generated.v15.Changeavailability Maven / Gradle / Ivy

Go to download

Open Charge Point Protocol (OCPP). Provides a JSON web socket endpoint based on OCPP 1.5.

The newest version!

package io.motown.ocpp.websocketjson.schema.generated.v15;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;


/**
 * ChangeAvailabilityRequest
 * 

* * */ @Generated("org.jsonschema2pojo") public class Changeavailability { @Expose private Integer connectorId; @Expose private Changeavailability.Type type; public Integer getConnectorId() { return connectorId; } public void setConnectorId(Integer connectorId) { this.connectorId = connectorId; } public Changeavailability.Type getType() { return type; } public void setType(Changeavailability.Type type) { this.type = type; } @Generated("org.jsonschema2pojo") public static enum Type { INOPERATIVE("Inoperative"), OPERATIVE("Operative"); private final String value; private static Map constants = new HashMap(); static { for (Changeavailability.Type c: Changeavailability.Type.values()) { constants.put(c.value, c); } } private Type(String value) { this.value = value; } @Override public String toString() { return this.value; } public static Changeavailability.Type fromValue(String value) { Changeavailability.Type constant = constants.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy