/* Options:
Date: 2025-11-04 22:58:35
Version: 8.71
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://evovoice.io
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: NewAISession.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api;
using Voice.Api.AI;
namespace Voice.Api
{
public partial class EntityInfo
{
///
///The ID of the object
///
[ApiMember(Description="The ID of the object")]
public virtual string Id { get; set; }
///
///The date the object was created
///
[ApiMember(Description="The date the object was created")]
public virtual string DateCreated { get; set; }
///
///The date the object was last modified
///
[ApiMember(Description="The date the object was last modified")]
public virtual string DateLastModified { get; set; }
///
///The user that created this object
///
[ApiMember(Description="The user that created this object")]
public virtual string CreatedBy { get; set; }
///
///The user that last modified this object
///
[ApiMember(Description="The user that last modified this object")]
public virtual string LastModifiedBy { get; set; }
}
}
namespace Voice.Api.AI
{
public partial class AISessionInfo
: EntityInfo
{
///
///The ID of the account associated with this session
///
[ApiMember(Description="The ID of the account associated with this session")]
public virtual string AccountId { get; set; }
///
///The name of the account associated with this customer
///
[ApiMember(Description="The name of the account associated with this customer")]
public virtual string AccountName { get; set; }
///
///The purpose for this AI session
///
[ApiMember(Description="The purpose for this AI session")]
public virtual string Purpose { get; set; }
}
///
///Creates a new session
///
[Route("/ai/sessions", "POST")]
[Api(Description="Creates a new session")]
public partial class NewAISession
: IReturn, IPost
{
///
///The account ID to associate this session with
///
[ApiMember(Description="The account ID to associate this session with")]
public virtual string AccountId { get; set; }
///
///The purpose for this session
///
[ApiMember(Description="The purpose for this session")]
public virtual string Purpose { get; set; }
}
}