/*
 * Michelin North America Order-to-Cash APIs
 * These APIs will help you to do business transactions with Michelin.  <br><br><b>Authentication details:</b><br> <br><u>Option A:</u> OAuth2 Client Credentials (recommended) <br><u>Option B:</u> API Key + Basic Authentication (not recommended) <br><br>To request your access, please contact your representative. <br><br>Our services are based on the EDIWHEEL standards. <br>You can find more information on the <a href=\"https://www.ediwheel.com/\" target=\"_blank\">EDIWHEEL website</a>. 
 *
 * The version of the OpenAPI document: 1.0.1
 * 
 *
 * 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.michelin.adk.amn.o2c.model;

import java.util.Objects;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.michelin.adk.amn.o2c.model.EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesAssociatedInvoiceReference;
import com.michelin.adk.amn.o2c.model.EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesBuyerOrderReference;
import com.michelin.adk.amn.o2c.model.EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesDeliveryNoteReference;
import com.michelin.adk.amn.o2c.model.EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesSuppliersOrderReference;
import com.michelin.adk.amn.o2c.model.EDIWheelB34InvoiceListResponseInvoiceInnerReferencesFleetReferenceInner;
import com.michelin.adk.amn.o2c.model.EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParseException;
import com.google.gson.TypeAdapterFactory;
import com.google.gson.reflect.TypeToken;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;

import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.michelin.adk.amn.JSON;

/**
 * EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
public class EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences {
  public static final String SERIALIZED_NAME_DELIVERY_NOTE_REFERENCE = "deliveryNoteReference";
  @SerializedName(SERIALIZED_NAME_DELIVERY_NOTE_REFERENCE)
  @javax.annotation.Nullable
  private EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesDeliveryNoteReference deliveryNoteReference;

  public static final String SERIALIZED_NAME_SUPPLIERS_ORDER_REFERENCE = "suppliersOrderReference";
  @SerializedName(SERIALIZED_NAME_SUPPLIERS_ORDER_REFERENCE)
  @javax.annotation.Nullable
  private EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesSuppliersOrderReference suppliersOrderReference;

  public static final String SERIALIZED_NAME_ASSOCIATED_INVOICE_REFERENCE = "associatedInvoiceReference";
  @SerializedName(SERIALIZED_NAME_ASSOCIATED_INVOICE_REFERENCE)
  @javax.annotation.Nullable
  private EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesAssociatedInvoiceReference associatedInvoiceReference;

  public static final String SERIALIZED_NAME_BUYER_ORDER_REFERENCE = "buyerOrderReference";
  @SerializedName(SERIALIZED_NAME_BUYER_ORDER_REFERENCE)
  @javax.annotation.Nullable
  private EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesBuyerOrderReference buyerOrderReference;

  public static final String SERIALIZED_NAME_RETURN_DELIVERY_NOTICE_REFERENCE = "returnDeliveryNoticeReference";
  @SerializedName(SERIALIZED_NAME_RETURN_DELIVERY_NOTICE_REFERENCE)
  @javax.annotation.Nullable
  private EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber returnDeliveryNoticeReference;

  public static final String SERIALIZED_NAME_CUSTOMS_DECLARATION_NUMBER = "customsDeclarationNumber";
  @SerializedName(SERIALIZED_NAME_CUSTOMS_DECLARATION_NUMBER)
  @javax.annotation.Nullable
  private List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber> customsDeclarationNumber = new ArrayList<>();

  public static final String SERIALIZED_NAME_FLEET_REFERENCE = "fleetReference";
  @SerializedName(SERIALIZED_NAME_FLEET_REFERENCE)
  @javax.annotation.Nullable
  private List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesFleetReferenceInner> fleetReference = new ArrayList<>();

  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences() {
  }

  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences deliveryNoteReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesDeliveryNoteReference deliveryNoteReference) {
    this.deliveryNoteReference = deliveryNoteReference;
    return this;
  }

  /**
   * Get deliveryNoteReference
   * @return deliveryNoteReference
   */
  @javax.annotation.Nullable
  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesDeliveryNoteReference getDeliveryNoteReference() {
    return deliveryNoteReference;
  }

  public void setDeliveryNoteReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesDeliveryNoteReference deliveryNoteReference) {
    this.deliveryNoteReference = deliveryNoteReference;
  }


  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences suppliersOrderReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesSuppliersOrderReference suppliersOrderReference) {
    this.suppliersOrderReference = suppliersOrderReference;
    return this;
  }

  /**
   * Get suppliersOrderReference
   * @return suppliersOrderReference
   */
  @javax.annotation.Nullable
  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesSuppliersOrderReference getSuppliersOrderReference() {
    return suppliersOrderReference;
  }

  public void setSuppliersOrderReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesSuppliersOrderReference suppliersOrderReference) {
    this.suppliersOrderReference = suppliersOrderReference;
  }


  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences associatedInvoiceReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesAssociatedInvoiceReference associatedInvoiceReference) {
    this.associatedInvoiceReference = associatedInvoiceReference;
    return this;
  }

  /**
   * Get associatedInvoiceReference
   * @return associatedInvoiceReference
   */
  @javax.annotation.Nullable
  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesAssociatedInvoiceReference getAssociatedInvoiceReference() {
    return associatedInvoiceReference;
  }

  public void setAssociatedInvoiceReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesAssociatedInvoiceReference associatedInvoiceReference) {
    this.associatedInvoiceReference = associatedInvoiceReference;
  }


  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences buyerOrderReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesBuyerOrderReference buyerOrderReference) {
    this.buyerOrderReference = buyerOrderReference;
    return this;
  }

  /**
   * Get buyerOrderReference
   * @return buyerOrderReference
   */
  @javax.annotation.Nullable
  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesBuyerOrderReference getBuyerOrderReference() {
    return buyerOrderReference;
  }

  public void setBuyerOrderReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesBuyerOrderReference buyerOrderReference) {
    this.buyerOrderReference = buyerOrderReference;
  }


  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences returnDeliveryNoticeReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber returnDeliveryNoticeReference) {
    this.returnDeliveryNoticeReference = returnDeliveryNoticeReference;
    return this;
  }

  /**
   * Get returnDeliveryNoticeReference
   * @return returnDeliveryNoticeReference
   */
  @javax.annotation.Nullable
  public EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber getReturnDeliveryNoticeReference() {
    return returnDeliveryNoticeReference;
  }

  public void setReturnDeliveryNoticeReference(@javax.annotation.Nullable EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber returnDeliveryNoticeReference) {
    this.returnDeliveryNoticeReference = returnDeliveryNoticeReference;
  }


  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences customsDeclarationNumber(@javax.annotation.Nullable List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber> customsDeclarationNumber) {
    this.customsDeclarationNumber = customsDeclarationNumber;
    return this;
  }

  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences addCustomsDeclarationNumberItem(EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber customsDeclarationNumberItem) {
    if (this.customsDeclarationNumber == null) {
      this.customsDeclarationNumber = new ArrayList<>();
    }
    this.customsDeclarationNumber.add(customsDeclarationNumberItem);
    return this;
  }

  /**
   * Get customsDeclarationNumber
   * @return customsDeclarationNumber
   */
  @javax.annotation.Nullable
  public List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber> getCustomsDeclarationNumber() {
    return customsDeclarationNumber;
  }

  public void setCustomsDeclarationNumber(@javax.annotation.Nullable List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber> customsDeclarationNumber) {
    this.customsDeclarationNumber = customsDeclarationNumber;
  }


  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences fleetReference(@javax.annotation.Nullable List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesFleetReferenceInner> fleetReference) {
    this.fleetReference = fleetReference;
    return this;
  }

  public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences addFleetReferenceItem(EDIWheelB34InvoiceListResponseInvoiceInnerReferencesFleetReferenceInner fleetReferenceItem) {
    if (this.fleetReference == null) {
      this.fleetReference = new ArrayList<>();
    }
    this.fleetReference.add(fleetReferenceItem);
    return this;
  }

  /**
   * Get fleetReference
   * @return fleetReference
   */
  @javax.annotation.Nullable
  public List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesFleetReferenceInner> getFleetReference() {
    return fleetReference;
  }

  public void setFleetReference(@javax.annotation.Nullable List<EDIWheelB34InvoiceListResponseInvoiceInnerReferencesFleetReferenceInner> fleetReference) {
    this.fleetReference = fleetReference;
  }



  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences = (EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences) o;
    return Objects.equals(this.deliveryNoteReference, edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.deliveryNoteReference) &&
        Objects.equals(this.suppliersOrderReference, edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.suppliersOrderReference) &&
        Objects.equals(this.associatedInvoiceReference, edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.associatedInvoiceReference) &&
        Objects.equals(this.buyerOrderReference, edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.buyerOrderReference) &&
        Objects.equals(this.returnDeliveryNoticeReference, edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.returnDeliveryNoticeReference) &&
        Objects.equals(this.customsDeclarationNumber, edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.customsDeclarationNumber) &&
        Objects.equals(this.fleetReference, edIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.fleetReference);
  }

  @Override
  public int hashCode() {
    return Objects.hash(deliveryNoteReference, suppliersOrderReference, associatedInvoiceReference, buyerOrderReference, returnDeliveryNoticeReference, customsDeclarationNumber, fleetReference);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences {\n");
    sb.append("    deliveryNoteReference: ").append(toIndentedString(deliveryNoteReference)).append("\n");
    sb.append("    suppliersOrderReference: ").append(toIndentedString(suppliersOrderReference)).append("\n");
    sb.append("    associatedInvoiceReference: ").append(toIndentedString(associatedInvoiceReference)).append("\n");
    sb.append("    buyerOrderReference: ").append(toIndentedString(buyerOrderReference)).append("\n");
    sb.append("    returnDeliveryNoticeReference: ").append(toIndentedString(returnDeliveryNoticeReference)).append("\n");
    sb.append("    customsDeclarationNumber: ").append(toIndentedString(customsDeclarationNumber)).append("\n");
    sb.append("    fleetReference: ").append(toIndentedString(fleetReference)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }


  public static HashSet<String> openapiFields;
  public static HashSet<String> openapiRequiredFields;

  static {
    // a set of all properties/fields (JSON key names)
    openapiFields = new HashSet<String>();
    openapiFields.add("deliveryNoteReference");
    openapiFields.add("suppliersOrderReference");
    openapiFields.add("associatedInvoiceReference");
    openapiFields.add("buyerOrderReference");
    openapiFields.add("returnDeliveryNoticeReference");
    openapiFields.add("customsDeclarationNumber");
    openapiFields.add("fleetReference");

    // a set of required properties/fields (JSON key names)
    openapiRequiredFields = new HashSet<String>();
  }

  /**
   * Validates the JSON Element and throws an exception if issues found
   *
   * @param jsonElement JSON Element
   * @throws IOException if the JSON Element is invalid with respect to EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences
   */
  public static void validateJsonElement(JsonElement jsonElement) throws IOException {
      if (jsonElement == null) {
        if (!EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
          throw new IllegalArgumentException(String.format("The required field(s) %s in EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences is not found in the empty JSON string", EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.openapiRequiredFields.toString()));
        }
      }

      Set<Map.Entry<String, JsonElement>> entries = jsonElement.getAsJsonObject().entrySet();
      // check to see if the JSON string contains additional fields
      for (Map.Entry<String, JsonElement> entry : entries) {
        if (!EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.openapiFields.contains(entry.getKey())) {
          throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
        }
      }
        JsonObject jsonObj = jsonElement.getAsJsonObject();
      // validate the optional field `deliveryNoteReference`
      if (jsonObj.get("deliveryNoteReference") != null && !jsonObj.get("deliveryNoteReference").isJsonNull()) {
        EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesDeliveryNoteReference.validateJsonElement(jsonObj.get("deliveryNoteReference"));
      }
      // validate the optional field `suppliersOrderReference`
      if (jsonObj.get("suppliersOrderReference") != null && !jsonObj.get("suppliersOrderReference").isJsonNull()) {
        EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesSuppliersOrderReference.validateJsonElement(jsonObj.get("suppliersOrderReference"));
      }
      // validate the optional field `associatedInvoiceReference`
      if (jsonObj.get("associatedInvoiceReference") != null && !jsonObj.get("associatedInvoiceReference").isJsonNull()) {
        EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesAssociatedInvoiceReference.validateJsonElement(jsonObj.get("associatedInvoiceReference"));
      }
      // validate the optional field `buyerOrderReference`
      if (jsonObj.get("buyerOrderReference") != null && !jsonObj.get("buyerOrderReference").isJsonNull()) {
        EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferencesBuyerOrderReference.validateJsonElement(jsonObj.get("buyerOrderReference"));
      }
      // validate the optional field `returnDeliveryNoticeReference`
      if (jsonObj.get("returnDeliveryNoticeReference") != null && !jsonObj.get("returnDeliveryNoticeReference").isJsonNull()) {
        EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber.validateJsonElement(jsonObj.get("returnDeliveryNoticeReference"));
      }
      if (jsonObj.get("customsDeclarationNumber") != null && !jsonObj.get("customsDeclarationNumber").isJsonNull()) {
        JsonArray jsonArraycustomsDeclarationNumber = jsonObj.getAsJsonArray("customsDeclarationNumber");
        if (jsonArraycustomsDeclarationNumber != null) {
          // ensure the json data is an array
          if (!jsonObj.get("customsDeclarationNumber").isJsonArray()) {
            throw new IllegalArgumentException(String.format("Expected the field `customsDeclarationNumber` to be an array in the JSON string but got `%s`", jsonObj.get("customsDeclarationNumber").toString()));
          }

          // validate the optional field `customsDeclarationNumber` (array)
          for (int i = 0; i < jsonArraycustomsDeclarationNumber.size(); i++) {
            EDIWheelB34InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber.validateJsonElement(jsonArraycustomsDeclarationNumber.get(i));
          };
        }
      }
      if (jsonObj.get("fleetReference") != null && !jsonObj.get("fleetReference").isJsonNull()) {
        JsonArray jsonArrayfleetReference = jsonObj.getAsJsonArray("fleetReference");
        if (jsonArrayfleetReference != null) {
          // ensure the json data is an array
          if (!jsonObj.get("fleetReference").isJsonArray()) {
            throw new IllegalArgumentException(String.format("Expected the field `fleetReference` to be an array in the JSON string but got `%s`", jsonObj.get("fleetReference").toString()));
          }

          // validate the optional field `fleetReference` (array)
          for (int i = 0; i < jsonArrayfleetReference.size(); i++) {
            EDIWheelB34InvoiceListResponseInvoiceInnerReferencesFleetReferenceInner.validateJsonElement(jsonArrayfleetReference.get(i));
          };
        }
      }
  }

  public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
    @SuppressWarnings("unchecked")
    @Override
    public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type) {
       if (!EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.class.isAssignableFrom(type.getRawType())) {
         return null; // this class only serializes 'EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences' and its subtypes
       }
       final TypeAdapter<JsonElement> elementAdapter = gson.getAdapter(JsonElement.class);
       final TypeAdapter<EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences> thisAdapter
                        = gson.getDelegateAdapter(this, TypeToken.get(EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.class));

       return (TypeAdapter<T>) new TypeAdapter<EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences>() {
           @Override
           public void write(JsonWriter out, EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences value) throws IOException {
             JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
             elementAdapter.write(out, obj);
           }

           @Override
           public EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences read(JsonReader in) throws IOException {
             JsonElement jsonElement = elementAdapter.read(in);
             validateJsonElement(jsonElement);
             return thisAdapter.fromJsonTree(jsonElement);
           }

       }.nullSafe();
    }
  }

  /**
   * Create an instance of EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences given an JSON string
   *
   * @param jsonString JSON string
   * @return An instance of EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences
   * @throws IOException if the JSON string is invalid with respect to EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences
   */
  public static EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences fromJson(String jsonString) throws IOException {
    return JSON.getGson().fromJson(jsonString, EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences.class);
  }

  /**
   * Convert an instance of EDIWheelB34InvoiceListResponseInvoiceInnerLineLevelInnerReferences to an JSON string
   *
   * @return JSON string
   */
  public String toJson() {
    return JSON.getGson().toJson(this);
  }
}

