# AtsDtoTypeInfo Properties

- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Type: [AtsDtoTypeInfo](/reference/api/csharp/aspire.typesystem/atsdtotypeinfo.md)
- Kind: `Properties`
- Members: `5`

Represents a DTO type discovered from [AspireDto] attributes. Used for generating TypeScript interfaces for DTOs.

## ClrType

- Name: `ClrType`
- Modifiers: `nullable` `get; init`
- Returns: `Type?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the CLR type reference for direct type access.

```csharp
public Type? ClrType { get; init; }
```

## Description

- Name: `Description`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets a description of this DTO type.

```csharp
public string? Description { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the simple type name (for interface name generation).

```csharp
public string Name { get; init; }
```

## Properties

- Name: `Properties`
- Modifiers: `get; init`
- Returns: [IReadOnlyList<AtsDtoPropertyInfo>](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the properties of this DTO.

```csharp
public IReadOnlyList<AtsDtoPropertyInfo> Properties { get; init; }
```

## TypeId

- Name: `TypeId`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the ATS type ID for this DTO.

```csharp
public string TypeId { get; init; }
```
