Package viaduct.x.javaapi.codegen
Class InterfaceModel
-
- All Implemented Interfaces:
public final class InterfaceModel extends Record
Model representing a GraphQL interface type for code generation.
-
-
Constructor Summary
Constructors Constructor Description InterfaceModel()
-
Method Summary
Modifier and Type Method Description StringgetPackageName()StringgetClassName()List<String>getExtendedInterfaces()List<FieldModel>getFields()StringgetDescription()booleangetHasDescription()booleangetHasExtendedInterfaces()StringgetExtendsClause()Returns the extends clause for the interface declaration. -
-
Method Detail
-
getPackageName
String getPackageName()
-
getClassName
String getClassName()
-
getExtendedInterfaces
List<String> getExtendedInterfaces()
-
getFields
List<FieldModel> getFields()
-
getDescription
String getDescription()
-
getHasDescription
boolean getHasDescription()
-
getHasExtendedInterfaces
boolean getHasExtendedInterfaces()
-
getExtendsClause
String getExtendsClause()
Returns the extends clause for the interface declaration. Always includes GraphQLInterface, plus any extended interfaces.
-
-
-
-