Search Results for

    Show / Hide Table of Contents

    Class GenerateStructuredContentSmsOptions

    Options for generating structured content output from an SMS

    Inheritance
    object
    GenerateStructuredContentSmsOptions
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "GenerateStructuredContentSmsOptions")]
    public class GenerateStructuredContentSmsOptions : IValidatableObject

    Constructors

    View Source

    GenerateStructuredContentSmsOptions()

    Initializes a new instance of the GenerateStructuredContentSmsOptions class.

    Declaration
    [JsonConstructor]
    protected GenerateStructuredContentSmsOptions()
    View Source

    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 Source

    Instructions

    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.

    View Source

    OutputSchema

    Gets or Sets OutputSchema

    Declaration
    [DataMember(Name = "outputSchema", EmitDefaultValue = false)]
    public StructuredOutputSchema OutputSchema { get; set; }
    Property Value
    Type Description
    StructuredOutputSchema
    View Source

    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

    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.