Class 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 OneOfSchemaFieldDataTypeType
    Union field type.
    • Constructor Summary

      Constructors 
      Constructor Description
      UnionType()  
    • Constructor Detail

      • UnionType

        public UnionType()
    • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object