Package com.linecorp.armeria.server.docs
Class StructInfo
java.lang.Object
com.linecorp.armeria.server.docs.StructInfo
- All Implemented Interfaces:
NamedTypeInfo
Metadata about a struct type.
-
Constructor Summary
ConstructorDescriptionStructInfo
(String name, Iterable<FieldInfo> fields) Creates a new instance.StructInfo
(String name, Iterable<FieldInfo> fields, @Nullable DescriptionInfo descriptionInfo) Creates a new instance. -
Method Summary
-
Constructor Details
-
Method Details
-
name
Description copied from interface:NamedTypeInfo
Returns the fully qualified type name.- Specified by:
name
in interfaceNamedTypeInfo
-
fields
Returns the metadata about the fields of the type. -
descriptionInfo
Returns the description information of this struct.- Specified by:
descriptionInfo
in interfaceNamedTypeInfo
-
findNamedTypes
Description copied from interface:NamedTypeInfo
Returns all enum, struct and exception types referred by this type.- Specified by:
findNamedTypes
in interfaceNamedTypeInfo
-
equals
-
hashCode
public int hashCode() -
toString
-