openapi-nexus 0.1.3

OpenAPI 3.x multi-language code generator
Documentation
// Code generated by openapi-nexus. DO NOT EDIT.
//
// Additional Properties API — 1.0.0
// API demonstrating OpenAPI additionalProperties with multiple levels of structs (RootLevel -> MiddleLevel -> LeafValue), each with HashMap fields.

package com.example.sdk.models;

import java.util.List;
import java.util.Map;

/**
 * Root level: fixed fields plus maps with object ref and array value kinds.
 */
public class RootLevel {
    private Map<String, MiddleLevel> children;
    private Map<String, Object> extras;
    private long id;
    private Map<String, List<String>> labels;
    private String name;

    public RootLevel(Map<String, MiddleLevel> children, Map<String, Object> extras, long id,
    Map<String, List<String>> labels, String name) {
        this.children = children;
        this.extras = extras;
        this.id = id;
        this.labels = labels;
        this.name = name;
    }

    public Map<String, MiddleLevel> getChildren() {
        return this.children;
    }

    public Map<String, Object> getExtras() {
        return this.extras;
    }

    public long getId() {
        return this.id;
    }

    public Map<String, List<String>> getLabels() {
        return this.labels;
    }

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