Class AITransformDto
AITransformDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "AITransformDto")]
public class AITransformDto : IValidatableObject
Constructors
View SourceAITransformDto()
Initializes a new instance of the AITransformDto class.
Declaration
[JsonConstructor]
protected AITransformDto()
AITransformDto(Guid, string, List<string>, List<string>, StructuredOutputSchema)
Initializes a new instance of the AITransformDto class.
Declaration
public AITransformDto(Guid id = default, string name = null, List<string> conditions = null, List<string> instructions = null, StructuredOutputSchema outputSchema = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| string | name | name. |
| List<string> | conditions | conditions. |
| List<string> | instructions | instructions. |
| StructuredOutputSchema | outputSchema | outputSchema. |
Properties
View SourceConditions
Gets or Sets Conditions
Declaration
[DataMember(Name = "conditions", EmitDefaultValue = false)]
public List<string> Conditions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Instructions
Gets or Sets Instructions
Declaration
[DataMember(Name = "instructions", EmitDefaultValue = false)]
public List<string> Instructions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputSchema
Gets or Sets OutputSchema
Declaration
[DataMember(Name = "outputSchema", EmitDefaultValue = false)]
public StructuredOutputSchema OutputSchema { get; set; }
Property Value
| Type | Description |
|---|---|
| StructuredOutputSchema |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |