Class JvmDto
- Namespace
- TypedRest.CodeGeneration.Jvm.Model
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
A generated DTO.
public sealed class JvmDto : IJvmType
- Inheritance
-
objectJvmDto
- Implements
Constructors
JvmDto(JvmIdentifier)
A generated DTO.
public JvmDto(JvmIdentifier identifier)
Parameters
identifierJvmIdentifierThe name of the type and the package it is declared in.
Properties
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
Properties
The properties of the DTO, in the order they were declared in the document.
public List<JvmDtoProperty> Properties { get; }
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()