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

com.lob.model.DpvFootnote Maven / Gradle / Ivy

The newest version!
/*
 * Lob
 * The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. 

Looking for our [previous documentation](https://lob.github.io/legacy-docs/)? * * The version of the OpenAPI document: 1.3.0 * Contact: [email protected] * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.lob.model; import java.util.Objects; import java.util.Arrays; import com.google.gson.annotations.SerializedName; import java.io.IOException; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** * Gets or Sets dpv_footnote */ @JsonAdapter(DpvFootnote.Adapter.class) public enum DpvFootnote { AA("AA"), A1("A1"), BB("BB"), CC("CC"), C1("C1"), F1("F1"), G1("G1"), IA("IA"), M1("M1"), M3("M3"), N1("N1"), PB("PB"), P1("P1"), P3("P3"), R1("R1"), R7("R7"), RR("RR"), TA("TA"), U1("U1"); private String value; DpvFootnote(String value) { this.value = value; } public String getValue() { return value; } @Override public String toString() { return String.valueOf(value); } public static DpvFootnote fromValue(String value) { for (DpvFootnote b : DpvFootnote.values()) { if (b.value.equals(value)) { return b; } } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final DpvFootnote enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override public DpvFootnote read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); return DpvFootnote.fromValue(value); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy