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

io.motown.ocpp.websocketjson.schema.generated.v15.Reset 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;


/**
 * ResetRequest
 * 

* * */ @Generated("org.jsonschema2pojo") public class Reset { @Expose private Reset.Type type; public Reset.Type getType() { return type; } public void setType(Reset.Type type) { this.type = type; } @Generated("org.jsonschema2pojo") public static enum Type { HARD("Hard"), SOFT("Soft"); private final String value; private static Map constants = new HashMap(); static { for (Reset.Type c: Reset.Type.values()) { constants.put(c.value, c); } } private Type(String value) { this.value = value; } @Override public String toString() { return this.value; } public static Reset.Type fromValue(String value) { Reset.Type constant = constants.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy