Class JvmEndpointClass
- Namespace
- TypedRest.CodeGeneration.Jvm.Model
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
A generated endpoint class, deriving from one of the TypedRest endpoint implementations.
public sealed class JvmEndpointClass : IJvmType
- Inheritance
-
objectJvmEndpointClass
- Implements
Constructors
JvmEndpointClass(JvmIdentifier)
A generated endpoint class, deriving from one of the TypedRest endpoint implementations.
public JvmEndpointClass(JvmIdentifier identifier)
Parameters
identifierJvmIdentifierThe name of the class and the package it is declared in.
Properties
BaseType
The TypedRest endpoint implementation this class derives from.
public JvmIdentifier BaseType { get; set; }
Property Value
Children
The child endpoints exposed by the class.
public List<JvmChildEndpoint> Children { get; }
Property Value
Constructor
The constructor of the class, or null to inherit the base constructor.
public JvmConstructor? Constructor { get; set; }
Property Value
Deprecated
Marks the type as deprecated.
public bool Deprecated { get; set; }
Property Value
Identifier
The name of the type and the package it is declared in.
public JvmIdentifier Identifier { get; }
Property Value
Interface
The generated interface this class implements, or null when interfaces are not being generated.
public JvmIdentifier? Interface { get; set; }
Property Value
Summary
A description of the type for a JavaDoc/KDoc comment.
public string? Summary { get; set; }
Property Value
Methods
GetImports()
Returns every type that has to be imported by the file declaring this type.
public IEnumerable<JvmIdentifier> GetImports()