' Options: 'Date: 2026-08-01 07:23:02 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.dev.dynamics.trendsic.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: PayRuleSaveRequest.* '''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 System.Net Imports CRM.AgencyPlatform.API.Internal Namespace Global Namespace CRM.AgencyPlatform.API.Internal Public Partial Class PayRuleDef Public Overridable Property RuleId As String Public Overridable Property Name As String Public Overridable Property Kind As String Public Overridable Property Demand As String Public Overridable Property SourcePolicyName As String Public Overridable Property CascadeLevel As String Public Overridable Property Why As String Public Overridable Property Change As String Public Overridable Property OverrideWho As String Public Overridable Property OverrideConsequence As String Public Overridable Property NoNote As String Public Overridable Property LegalVerify As String Public Overridable Property Params As Dictionary(Of String, String) = New Dictionary(Of String, String) Public Overridable Property Doc As List(Of PayRuleDocSection) = New List(Of PayRuleDocSection) Public Overridable Property Tune As PayRuleTune End Class Public Partial Class PayRuleDocSection Public Overridable Property H As String Public Overridable Property T As String End Class Public Partial Class PayRulePolicy Public Overridable Property PayRulePolicyId As Integer Public Overridable Property PayRulePolicyUID As Guid Public Overridable Property Name As String Public Overridable Property ScopeLevel As String Public Overridable Property BranchId As Guid? Public Overridable Property JurisdictionKey As String Public Overridable Property CbaKey As String Public Overridable Property WorkTypeKey As String Public Overridable Property CurrentVersion As Integer Public Overridable Property IsActive As Boolean Public Overridable Property BranchName As String End Class Public Partial Class PayRulePolicyDoc Public Overridable Property Intro As String Public Overridable Property LockLine As String Public Overridable Property TemplateName As String Public Overridable Property Rules As List(Of PayRuleDef) = New List(Of PayRuleDef) End Class Public Partial Class PayRulePolicyVersionInfo Public Overridable Property PayRulePolicyVersionId As Integer Public Overridable Property VersionNumber As Integer Public Overridable Property ChangeNote As String Public Overridable Property ChangedByName As String Public Overridable Property CreatedAtUtc As Date End Class Public Partial Class PayRuleSaveRequest Implements IReturn(Of PayRulesCascadeResponse) Public Overridable Property PayRulePolicyId As Integer Public Overridable Property Doc As PayRulePolicyDoc Public Overridable Property ChangeNote As String End Class Public Partial Class PayRulesCascadeResponse Public Overridable Property Policy As PayRulePolicy Public Overridable Property Doc As PayRulePolicyDoc Public Overridable Property VersionNumber As Integer Public Overridable Property Versions As List(Of PayRulePolicyVersionInfo) = New List(Of PayRulePolicyVersionInfo) Public Overridable Property CanEditRules As Boolean Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class PayRuleTune Public Overridable Property Intro As String Public Overridable Property Options As List(Of PayRuleTuneOption) = New List(Of PayRuleTuneOption) End Class Public Partial Class PayRuleTuneOption Public Overridable Property Label As String Public Overridable Property [Sub] As String End Class End Namespace Namespace ServiceStack Public Partial Class ResponseStatus Implements IMeta Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As List(Of ResponseError) = New List(Of ResponseError) Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta = New Dictionary(Of String, String) End Class End Namespace End Namespace