/* Options:
Date: 2025-05-22 04:10:58
Version: 8.71
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://team.evovoice.io

//Package: 
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddImplicitVersion: 
//AddDescriptionAsComments: True
IncludeTypes: GetChatTranscript.*
//ExcludeTypes: 
//InitializeCollections: False
//TreatTypesAsStrings: 
//DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*
*/

import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


/**
* Gets the specified transcript
*/
@Route(Path="/sessions/{sessionId}/transcript", Verbs="GET")
@Api(Description="Gets the specified transcript")
open class GetChatTranscript : IReturn<GetChatTranscriptResponse>, IGet
{
    /**
    * the session whose transcript you want to get
    */
    @ApiMember(Description="the session whose transcript you want to get")
    open var sessionId:String? = null

    /**
    * Include previous messages from this chat party
    */
    @ApiMember(Description="Include previous messages from this chat party")
    open var includeHistorical:Boolean? = null

    /**
    * How far back to include in historical messages. Max 6 months in past
    */
    @ApiMember(Description="How far back to include in historical messages. Max 6 months in past")
    open var historicalCutOffDate:String? = null
    companion object { private val responseType = GetChatTranscriptResponse::class.java }
    override fun getResponseType(): Any? = GetChatTranscript.responseType
}

open class GetChatTranscriptResponse
{
    open var messages:ArrayList<ChatTranscriptMessage>? = null
}

open class ChatTranscriptMessage
{
    open var date:String? = null
    open var from:String? = null
    open var body:String? = null
    open var mediaUri:String? = null
    open var mediaContentType:String? = null
}