Table of Contents

Class JvmDto

Namespace
TypedRest.CodeGeneration.Jvm.Model
Assembly
TypedRest.CodeGeneration.Jvm.dll

A generated DTO.

public sealed class JvmDto : IJvmType
Inheritance
object
JvmDto
Implements

Constructors

JvmDto(JvmIdentifier)

A generated DTO.

public JvmDto(JvmIdentifier identifier)

Parameters

identifier JvmIdentifier

The 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

bool

Identifier

The name of the type and the package it is declared in.

public JvmIdentifier Identifier { get; }

Property Value

JvmIdentifier

Properties

The properties of the DTO, in the order they were declared in the document.

public List<JvmDtoProperty> Properties { get; }

Property Value

List<JvmDtoProperty>

Summary

A description of the type for a JavaDoc/KDoc comment.

public string? Summary { get; set; }

Property Value

string

Methods

GetImports()

Returns every type that has to be imported by the file declaring this type.

public IEnumerable<JvmIdentifier> GetImports()

Returns

IEnumerable<JvmIdentifier>