# TreatmentOutputSpec

Describes an expected treatment output.

Class 

`IntelligenceX.Treatment`

**Namespace**

`IntelligenceX.Treatment`

**Assembly**

`IntelligenceX`

**Source**

[TreatmentContracts.cs:177](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L177)

**Modifiers**

sealed

Describes an expected treatment output.

## Inheritance

- object
- TreatmentOutputSpec

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [TreatmentRequest.Outputs](/api/intelligencex-treatment-treatmentrequest/#property-outputs)

Filter members 

Show inherited

## Constructors

`public TreatmentOutputSpec()` [#](#constructor-ctor)

[TreatmentContracts.cs:177](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L177)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? Id { get; set; }` [#](#property-id)

[TreatmentContracts.cs:157](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L157)

Stable output id.

`public TreatmentOutputModality Modality { get; set; }` [#](#property-modality)

[TreatmentContracts.cs:161](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L161)

Output modality.

`public string? Description { get; set; }` [#](#property-description)

[TreatmentContracts.cs:165](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L165)

Human-readable output description.

`public string? MediaType { get; set; }` [#](#property-mediatype)

[TreatmentContracts.cs:169](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L169)

Target media type.

`public string? Path { get; set; }` [#](#property-path)

[TreatmentContracts.cs:173](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L173)

Preferred output path.

`public bool Required { get; set; }` [#](#property-required)

[TreatmentContracts.cs:177](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L177)

Whether this output is required.

<!-- PowerForge markdown artifact sha256:94D3A0D00221BB8F7507E059E8E6B637D74B607BD03D0C414DABF4D6DA02F38B -->
