/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.12.14 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-spec/0.12.14/java_models */ package io.apibuilder.spec.v0.models; /** * Metadata about one of the types that is part of a union type */ public class UnionType { /** * The name of a type (a primitive, model name, or enum name) that makes up this union type */ private String type; private String description; private Deprecation deprecation; private java.util.List attributes = new java.util.ArrayList(); /** * If true, indicates that this type should be used as the default when deserializing union types. This field is only used by union types that require a discriminator and sets the default value for that disciminator during deserialization. */ private boolean default_; public UnionType() {} }