openapi-nexus 0.1.3

OpenAPI 3.x multi-language code generator
Documentation
// Code generated by openapi-nexus. DO NOT EDIT.
//
// Primitive Array Test — 1.0.0
// Test case for arrays with primitive items (should not be affected by recursive parsing)

package com.example.sdk.models;

import java.util.List;

import com.google.gson.annotations.SerializedName;

/**
 * Arrays with primitive items should remain unchanged
 */
public class PrimitiveArray {
    @SerializedName("number_items")
    private List<Integer> numberItems;
    @SerializedName("string_items")
    private List<String> stringItems;

    public PrimitiveArray(List<Integer> numberItems, List<String> stringItems) {
        this.numberItems = numberItems;
        this.stringItems = stringItems;
    }

    public List<Integer> getNumberItems() {
        return this.numberItems;
    }

    public List<String> getStringItems() {
        return this.stringItems;
    }
}