Class GenerateStructuredContentSmsOptions
Options for generating structured content output from an SMS
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GenerateStructuredContentSmsOptions")]
public class GenerateStructuredContentSmsOptions : IValidatableObject
Constructors
View SourceGenerateStructuredContentSmsOptions()
Initializes a new instance of the GenerateStructuredContentSmsOptions class.
Declaration
[JsonConstructor]
protected GenerateStructuredContentSmsOptions()
GenerateStructuredContentSmsOptions(Guid, string, StructuredOutputSchema, Guid?)
Initializes a new instance of the GenerateStructuredContentSmsOptions class.
Declaration
public GenerateStructuredContentSmsOptions(Guid smsId = default, string instructions = null, StructuredOutputSchema outputSchema = null, Guid? transformId = null)
Parameters
Type | Name | Description |
---|---|---|
Guid | smsId | SMS ID to read and pass to AI (required). |
string | instructions | Optional instructions for the AI to follow. Try to be precise and clear. You can include examples and hints.. |
StructuredOutputSchema | outputSchema | outputSchema. |
Guid? | transformId | ID of transformer to apply. |
Properties
View SourceInstructions
Optional instructions for the AI to follow. Try to be precise and clear. You can include examples and hints.
Declaration
[DataMember(Name = "instructions", EmitDefaultValue = true)]
public string Instructions { get; set; }
Property Value
Type | Description |
---|---|
string | Optional instructions for the AI to follow. Try to be precise and clear. You can include examples and hints. |
OutputSchema
Gets or Sets OutputSchema
Declaration
[DataMember(Name = "outputSchema", EmitDefaultValue = false)]
public StructuredOutputSchema OutputSchema { get; set; }
Property Value
Type | Description |
---|---|
StructuredOutputSchema |
SmsId
SMS ID to read and pass to AI
Declaration
[DataMember(Name = "smsId", IsRequired = true, EmitDefaultValue = true)]
public Guid SmsId { get; set; }
Property Value
Type | Description |
---|---|
Guid | SMS ID to read and pass to AI |
TransformId
ID of transformer to apply
Declaration
[DataMember(Name = "transformId", EmitDefaultValue = true)]
public Guid? TransformId { get; set; }
Property Value
Type | Description |
---|---|
Guid? | ID of transformer to apply |
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 |