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

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


/**
 * DataTransferResponse
 * 

* * */ @Generated("org.jsonschema2pojo") public class DatatransferResponse { @Expose private DatatransferResponse.Status status; @Expose private String data; public DatatransferResponse.Status getStatus() { return status; } public void setStatus(DatatransferResponse.Status status) { this.status = status; } public String getData() { return data; } public void setData(String data) { this.data = data; } @Generated("org.jsonschema2pojo") public static enum Status { ACCEPTED("Accepted"), REJECTED("Rejected"), UNKNOWN_MESSAGE_ID("UnknownMessageId"), UNKNOWN_VENDOR_ID("UnknownVendorId"); private final String value; private static Map constants = new HashMap(); static { for (DatatransferResponse.Status c: DatatransferResponse.Status.values()) { constants.put(c.value, c); } } private Status(String value) { this.value = value; } @Override public String toString() { return this.value; } public static DatatransferResponse.Status fromValue(String value) { DatatransferResponse.Status constant = constants.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy