openapi-nexus 0.1.7

OpenAPI 3.x multi-language code generator
Documentation
// Code generated by openapi-nexus. DO NOT EDIT.
//
// Deeply Nested Inline Objects Test — 1.0.0
// Test case for three levels of nested inline objects

package com.example.sdk.runtime;

public class ApiException extends RuntimeException {
    private final int statusCode;
    private final String status;
    private final String body;

    public ApiException(int statusCode, String status, String body) {
        super("API error " + statusCode + ": " + status);
        this.statusCode = statusCode;
        this.status = status;
        this.body = body;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getStatus() {
        return status;
    }

    public String getBody() {
        return body;
    }
}