openapi-nexus 0.1.4

OpenAPI 3.x multi-language code generator
Documentation
// Code generated by openapi-nexus. DO NOT EDIT.
//
// Reserved Word Fields Test — 1.0.0
// Test case for object properties that collide with language reserved words

package com.example.sdk.models;

import com.google.gson.annotations.SerializedName;

public class Item {
    @SerializedName("class")
    private String class_;
    @SerializedName("default")
    private String default_;
    private String name;
    @SerializedName("return")
    private boolean return_;

    public Item(String class_, String default_, String name, boolean return_) {
        this.class_ = class_;
        this.default_ = default_;
        this.name = name;
        this.return_ = return_;
    }

    public String getClass() {
        return this.class_;
    }

    public String getDefault() {
        return this.default_;
    }

    public String getName() {
        return this.name;
    }

    public boolean getReturn() {
        return this.return_;
    }
}