| Package | Description |
|---|---|
| com.google.api.services.discovery.model |
| Modifier and Type | Method and Description |
|---|---|
JsonSchema.Variant |
JsonSchema.Variant.clone() |
JsonSchema.Variant |
JsonSchema.getVariant()
In a variant data type, the value of one property is used to determine how to interpret the
entire entity.
|
JsonSchema.Variant |
JsonSchema.Variant.set(String fieldName,
Object value) |
JsonSchema.Variant |
JsonSchema.Variant.setDiscriminant(String discriminant)
The name of the type discriminant property.
|
JsonSchema.Variant |
JsonSchema.Variant.setMap(List<JsonSchema.Variant.Map> map)
The map of discriminant value to schema to use for parsing..
|
| Modifier and Type | Method and Description |
|---|---|
JsonSchema |
JsonSchema.setVariant(JsonSchema.Variant variant)
In a variant data type, the value of one property is used to determine how to interpret the
entire entity.
|
Copyright © 2011–2022 Google. All rights reserved.