Class UnionType
- java.lang.Object
-
- io.datahubproject.openapi.generated.UnionType
-
- All Implemented Interfaces:
OneOfSchemaFieldDataTypeType
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class UnionType extends java.lang.Object implements OneOfSchemaFieldDataTypeTypeUnion field type.
-
-
Constructor Summary
Constructors Constructor Description UnionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnionTypeaddNestedTypesItem(java.lang.String nestedTypesItem)booleanequals(java.lang.Object o)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName formatjava.util.List<java.lang.String>getNestedTypes()List of types in union type.inthashCode()UnionTypenestedTypes(java.util.List<java.lang.String> nestedTypes)voidsetNestedTypes(java.util.List<java.lang.String> nestedTypes)java.lang.StringtoString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
nestedTypes
public UnionType nestedTypes(java.util.List<java.lang.String> nestedTypes)
-
addNestedTypesItem
public UnionType addNestedTypesItem(java.lang.String nestedTypesItem)
-
getNestedTypes
public java.util.List<java.lang.String> getNestedTypes()
List of types in union type.- Returns:
- nestedTypes
-
setNestedTypes
public void setNestedTypes(java.util.List<java.lang.String> nestedTypes)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-