' Options:
'Date: 2025-05-04 23:38:23
'Version: 8.71
'Tip: To override a DTO option, remove "''" prefix before updating
'BaseUrl: https://team.evovoice.io
'
'''GlobalNamespace:
'''MakePartial: True
'''MakeVirtual: True
'''MakeDataContractsExtensible: False
'''AddReturnMarker: True
'''AddDescriptionAsComments: True
'''AddDataContractAttributes: False
'''AddIndexesToDataMembers: False
'''AddGeneratedCodeAttributes: False
'''AddResponseStatus: False
'''AddImplicitVersion:
'''InitializeCollections: False
'''ExportValueTypes: False
'IncludeTypes: GetMySessions.*
'''ExcludeTypes:
'''AddNamespaces:
'''AddDefaultXmlNamespace: http://schemas.servicestack.net/types
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Sessions
Namespace Global
Namespace Voice.Api.Sessions
'''
'''Get all your active sessions
'''
Public Partial Class GetMySessions
Implements IReturn(Of GetMySessionsResponse)
Implements IGet
End Class
Public Partial Class GetMySessionsResponse
Public Overridable Property Sessions As List(Of SessionInfo)
End Class
Public Partial Class SessionInfo
Inherits EntityInfo
'''
'''The state of the session
'''
Public Overridable Property DialState As SessionDialState
'''
'''The call state of the session
'''
Public Overridable Property CallState As SessionCallState
'''
'''The queue state of the session
'''
Public Overridable Property QueueState As SessionQueueStates
'''
'''The ID of the account associated with the flow
'''
Public Overridable Property AccountId As String
'''
'''The name of the account associated with the session
'''
Public Overridable Property AccountName As String
'''
'''The ID of the customer this session is associated with
'''
Public Overridable Property CustomerId As String
'''
'''The customer breadcrumb this session is associated with
'''
Public Overridable Property CustomerBreadcrumb As List(Of CustomerBreadcrumb)
'''
'''The name of the customer this session is associated with
'''
Public Overridable Property CustomerName As String
'''
'''The ID of the endpoint associated with this session
'''
Public Overridable Property EndpointId As String
'''
'''The name of the endpoint associated with this session
'''
Public Overridable Property EndpointName As String
'''
'''The date the call completed
'''
Public Overridable Property DateCompleted As String
'''
'''The destination of the session (e.g. what was entered into the Dial box)
'''
Public Overridable Property Destination As String
'''
'''The to address if any
'''
Public Overridable Property ToAddress As String
'''
'''The from address if any
'''
Public Overridable Property FromAddress As String
'''
'''The from name if any
'''
Public Overridable Property FromName As String
'''
'''Answered by name (if any)
'''
Public Overridable Property AnsweredByName As String
'''
'''The ID of the queue member assigned to this call
'''
Public Overridable Property QueueMemberId As String
'''
'''The flow channel
'''
Public Overridable Property Channel As FlowChannels
'''
'''Has the session ended
'''
Public Overridable Property Ended As Boolean
'''
'''The outcome of the call
'''
Public Overridable Property Outcome As String
'''
'''The twilio Call SID of this session
'''
Public Overridable Property CallSid As String
'''
'''Any console data for this session
'''
Public Overridable Property ConsoleData As String
'''
'''The name of the hold queue for this call
'''
Public Overridable Property HoldQueueName As String
'''
'''The user ID who put this call on hold
'''
Public Overridable Property HeldByUserId As String
'''
'''The reason for the hold
'''
Public Overridable Property HoldReason As SessionHoldReasons
'''
'''The SID of the conference if in a conference call
'''
Public Overridable Property ConferenceSid As String
'''
'''The display name for this session
'''
Public Overridable Property DisplayName As String
'''
'''The log entries for this session
'''
Public Overridable Property Log As List(Of SessionLogInfo)
'''
'''The members of this session
'''
Public Overridable Property Members As List(Of SessionMemberInfo)
'''
'''The callback number (typically used for SIP to User calls)
'''
Public Overridable Property CallbackNumber As String
'''
'''The ID of the endpoint that answered
'''
Public Overridable Property AnsweredById As String
'''
'''Is this session incoming or outgoing?
'''
Public Overridable Property Direction As SessionDirections
'''
'''The phone number that this session is coming from (used with SMS chats)
'''
Public Overridable Property FromPhoneNumber As String
'''
'''The Call SID of the most recently added conference participant
'''
Public Overridable Property MostRecentParticipantCallSid As String
'''
'''Was this session missed?
'''
Public Overridable Property WasMissed As Boolean
'''
'''The ring queue that the call is currently in
'''
Public Overridable Property RingQueueId As String
End Class
End Namespace
End Namespace