|
| 1 | +/* |
| 2 | + * ByRefOrValue |
| 3 | + * This tests for a oneOf interface representation |
| 4 | + * |
| 5 | + * The version of the OpenAPI document: 0.0.1 |
| 6 | + * |
| 7 | + * |
| 8 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 9 | + * https://openapi-generator.tech |
| 10 | + * Do not edit the class manually. |
| 11 | + */ |
| 12 | + |
| 13 | + |
| 14 | +package org.openapitools.client.model; |
| 15 | + |
| 16 | +import java.util.Objects; |
| 17 | +import java.util.Arrays; |
| 18 | +import java.util.Locale; |
| 19 | +import com.fasterxml.jackson.annotation.JsonInclude; |
| 20 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 21 | +import com.fasterxml.jackson.annotation.JsonCreator; |
| 22 | +import com.fasterxml.jackson.annotation.JsonTypeName; |
| 23 | +import com.fasterxml.jackson.annotation.JsonValue; |
| 24 | +import org.openapitools.client.model.Cat; |
| 25 | +import org.openapitools.client.model.Dog; |
| 26 | +import com.fasterxml.jackson.annotation.JsonSubTypes; |
| 27 | +import com.fasterxml.jackson.annotation.JsonTypeInfo; |
| 28 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| 29 | +import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| 30 | +import com.fasterxml.jackson.annotation.JsonTypeName; |
| 31 | + |
| 32 | +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.16.0-SNAPSHOT") |
| 33 | +@JsonIgnoreProperties( |
| 34 | + value = "", // ignore manually set , it will be automatically generated by Jackson during serialization |
| 35 | + allowSetters = true // allows the to be set during deserialization |
| 36 | +) |
| 37 | +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "", visible = true) |
| 38 | +public sealed interface Animal permits Dog, Cat { |
| 39 | +} |
| 40 | + |
0 commit comments