// 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.Map;
/**
* Middle level: fixed fields plus maps with object ref and boolean value kinds.
*/
public class MiddleLevel {
private int count;
private Map<String, Object> extras;
private Map<String, Boolean> flags;
private String key;
private Map<String, LeafValue> nested;
public MiddleLevel(int count, Map<String, Object> extras, Map<String, Boolean> flags,
String key, Map<String, LeafValue> nested) {
this.count = count;
this.extras = extras;
this.flags = flags;
this.key = key;
this.nested = nested;
}
public int getCount() {
return this.count;
}
public Map<String, Object> getExtras() {
return this.extras;
}
public Map<String, Boolean> getFlags() {
return this.flags;
}
public String getKey() {
return this.key;
}
public Map<String, LeafValue> getNested() {
return this.nested;
}
}