org.openapijsonschematools.client.components.schemas.Schema200Response.java public class Schema200Response
A class that contains necessary nested
- schema classes (which validate payloads), extends JsonSchema
- classes to store validated map payloads, extends FrozenMap
- classes to build inputs for map payloads
Modifier and Type | Class and Description |
---|---|
static class | Schema200Response.Schema200Response1 schema class |
static class | Schema200Response.Schema200ResponseMapBuilder builder for Map payloads |
static class | Schema200Response.Schema200ResponseMap output class for Map payloads |
static class | Schema200Response.ClassSchema schema class |
static class | Schema200Response.Name schema class |
public static class Schema200Response1
extends JsonSchema
A schema class that validates payloads
model with an invalid class name for python, starts with a number
Modifier and Type | Field and Description |
---|---|
Map<String, Class<? extends JsonSchema>> | properties = Map.ofEntries( new PropertyEntry("name", Name.class)), new PropertyEntry("class", ClassSchema.class)) ) |
Modifier and Type | Method and Description |
---|---|
String | validate(String arg, SchemaConfiguration configuration) |
Void | validate(Void arg, SchemaConfiguration configuration) |
int | validate(int arg, SchemaConfiguration configuration) |
long | validate(long arg, SchemaConfiguration configuration) |
float | validate(float arg, SchemaConfiguration configuration) |
double | validate(double arg, SchemaConfiguration configuration) |
boolean | validate(boolean arg, SchemaConfiguration configuration) |
Schema200ResponseMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
FrozenList<@Nullable Object> | validate(List<?> arg, SchemaConfiguration configuration) |
@Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
public class Schema200ResponseMapBuilder
builder for Map<String, @Nullable Object>
A class that builds the Map input type
Constructor and Description |
---|
Schema200ResponseMapBuilder() Creates a builder that contains an empty map |
Modifier and Type | Method and Description |
---|---|
Map<String, @Nullable Object> | build() Returns map input that should be used with Schema.validate |
Schema200ResponseMapBuilder | name(int value) |
Schema200ResponseMapBuilder | name(float value) |
Schema200ResponseMapBuilder | setClass(String value) |
Schema200ResponseMapBuilder | additionalProperty(String key, Void value) |
Schema200ResponseMapBuilder | additionalProperty(String key, boolean value) |
Schema200ResponseMapBuilder | additionalProperty(String key, String value) |
Schema200ResponseMapBuilder | additionalProperty(String key, int value) |
Schema200ResponseMapBuilder | additionalProperty(String key, float value) |
Schema200ResponseMapBuilder | additionalProperty(String key, long value) |
Schema200ResponseMapBuilder | additionalProperty(String key, double value) |
Schema200ResponseMapBuilder | additionalProperty(String key, List<?> value) |
Schema200ResponseMapBuilder | additionalProperty(String key, Map<String, ?> value) |
public static class Schema200ResponseMap
extends FrozenMap<String, @Nullable Object>
A class to store validated Map payloads
Modifier and Type | Method and Description |
---|---|
static Schema200ResponseMap | of(Map<String, ? extends @Nullable Object> arg, SchemaConfiguration configuration) |
Number | name() [optional] value must be a 32 bit integer |
@Nullable Object | get(String key) This schema has invalid Java names so this method must be used when you access instance["class"], |
@Nullable Object | getAdditionalProperty(String name) provides type safety for additional properties |
public static class ClassSchema
extends StringJsonSchema
A schema class that validates payloads
this is a reserved python keyword
Methods Inherited from class org.openapijsonschematools.client.schemas.StringJsonSchema |
---|
validate |
public static class Name
extends Int32JsonSchema
A schema class that validates payloads
Methods Inherited from class org.openapijsonschematools.client.schemas.Int32JsonSchema |
---|
validate |