' Options:
'Date: 2025-05-05 01:05:34
'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: ListUsers.*
'''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
Imports Voice.Api.Authentication
Namespace Global
Namespace Voice.Api
Public Partial Class ListRequest(Of T)
Implements IGet
'''
'''The page of data to retrieve
'''
Public Overridable Property Page As Integer
'''
'''If you want all objects to be returned. This should be used with care
'''
Public Overridable Property All As Boolean
'''
'''The number per page to retrieve
'''
Public Overridable Property CountPerPage As Integer
'''
'''Specific IDs
'''
Public Overridable Property SpecificIds As List(Of String)
'''
'''Specify a sort field
'''
Public Overridable Property SortField As String
'''
'''Specify a sort order
'''
Public Overridable Property SortOrder As SortOrders
'''
'''Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array
'''
Public Overridable Property SimplifiedPaging As Boolean
End Class
Public Partial Class ListResponse(Of T)
'''
'''The items
'''
Public Overridable Property Items As List(Of UserInfo)
'''
'''The total number of items
'''
Public Overridable Property TotalCount As Integer
'''
'''The total number of pages
'''
Public Overridable Property TotalPages As Integer
'''
'''Are there more pages of items? Used with simplified paging
'''
Public Overridable Property HasMorePages As Boolean
End Class
Public Enum SortOrders
Ascend
Descend
End Enum
End Namespace
Namespace Voice.Api.Authentication
Public Enum DashboardPermissions
ViewFiles
ViewNotifications
ViewSessions
ViewEndpoints
ViewReports
ViewCustomers
ViewFlows
End Enum
'''
'''Gets the users for the specified account
'''
Public Partial Class ListUsers
Inherits ListRequest(Of UserInfo)
Implements IReturn(Of ListResponse(Of UserInfo))
'''
'''The account IDs whose users you want to retrieve
'''
Public Overridable Property AccountIds As List(Of String)
'''
'''Filter by email
'''
Public Overridable Property EmailFilter As String
End Class
Public Partial Class UserInfo
Public Overridable Property Id As String
Public Overridable Property IsAuthenticated As Boolean
Public Overridable Property FirstName As String
Public Overridable Property LastName As String
Public Overridable Property Name As String
Public Overridable Property AvatarUrl As String
Public Overridable Property EmailAddress As String
Public Overridable Property Roles As List(Of String)
Public Overridable Property AccountIds As List(Of String)
Public Overridable Property AccountNames As List(Of String)
Public Overridable Property DashboardPermissions As List(Of DashboardPermissions)
End Class
End Namespace
End Namespace