' Options: 'Date: 2026-01-25 12:22:16 'Version: 8.71 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://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: PatchAlert.* '''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.Alerts Imports Voice.Api Namespace Global Namespace Voice.Api Public Partial Class EntityInfo ''' '''The ID of the object ''' Public Overridable Property Id As String ''' '''The date the object was created ''' Public Overridable Property DateCreated As String ''' '''The date the object was last modified ''' Public Overridable Property DateLastModified As String ''' '''The user that created this object ''' Public Overridable Property CreatedBy As String ''' '''The user that last modified this object ''' Public Overridable Property LastModifiedBy As String End Class End Namespace Namespace Voice.Api.Alerts Public Partial Class AlertInfo Inherits EntityInfo ''' '''The ID of the account associated with this alert ''' Public Overridable Property AccountId As String ''' '''The name of the alert ''' Public Overridable Property Name As String ''' '''The trigger alert ''' Public Overridable Property Trigger As AlertTriggers ''' '''The number of hours for the window over which the alert will trigger ''' Public Overridable Property WindowHours As Double ''' '''The value at which the alert will trigger ''' Public Overridable Property Threshold As Double ''' '''The email addresses (one per line) to notify ''' Public Overridable Property NotificationEmailAddresses As String End Class Public Enum AlertTriggers CallSpend End Enum ''' '''Update a specific alert ''' Public Partial Class PatchAlert Implements IReturn(Of AlertInfo) Implements IPatch ''' '''The ID of the alert you want to update ''' Public Overridable Property AlertId As String ''' '''The name for the alert ''' Public Overridable Property Name As String ''' '''The trigger alert ''' Public Overridable Property Trigger As AlertTriggers? ''' '''The number of hours for the window over which the alert will trigger ''' Public Overridable Property WindowHours As Double? ''' '''The value at which the alert will trigger ''' Public Overridable Property Threshold As Double? ''' '''The email addresses (one per line) to notify ''' Public Overridable Property NotificationEmailAddresses As String End Class End Namespace End Namespace