# frozen_string_literal: true # encoding: utf-8 # Options: =begin Date: 2026-11-07 04:02:26 Version: 10.42 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w1.api.bettor.webhop.biz #MakePartial: True #MakeVirtual: True #MakeInternal: False #MakeDataContractsExtensible: False #AddReturnMarker: True #AddDescriptionAsComments: True #AddDataContractAttributes: False #AddIndexesToDataMembers: False #AddGeneratedCodeAttributes: False #AddResponseStatus: False #AddImplicitVersion: #InitializeCollections: False #ExportValueTypes: False IncludeTypes: GetLocalCodePotConfigs.* #ExcludeTypes: #AddNamespaces: #AddDefaultXmlNamespace: http://schemas.servicestack.net/types =end require 'json' require 'servicestack' module IReturn def response_type() = T def get_type_name() = 'IReturn' end class ThresholdInterval include ServiceStack::DTO # @return [BigDecimal] attr_accessor :start # @return [BigDecimal] attr_accessor :end def self.properties { start: { name: 'start' }, end: { name: 'end' }, } end end class LCPConfiguration include ServiceStack::DTO # @return [TrueClass] attr_accessor :is_active # @return [ThresholdInterval] attr_accessor :interval # @return [BigDecimal] attr_accessor :pct def self.properties { is_active: { name: 'isActive' }, interval: { name: 'interval', type: ThresholdInterval }, pct: { name: 'pct' }, } end end class Configuration include ServiceStack::DTO # @return [String] attr_accessor :id # @return [String] attr_accessor :name # @return [LCPConfiguration] attr_accessor :cfg def self.properties { id: { name: 'id' }, name: { name: 'name' }, cfg: { name: 'cfg', type: LCPConfiguration }, } end end class LocalCodePotConfigurations include ServiceStack::DTO # @return [String] attr_accessor :id # @return [Dictionary] attr_accessor :configurations def self.properties { id: { name: 'id' }, configurations: { name: 'configurations', type: { String => Configuration } }, } end end # @Route("/qry/lcp/configs") class GetLocalCodePotConfigs include ServiceStack::DTO def response_type() = LocalCodePotConfigurations def get_type_name() = 'GetLocalCodePotConfigs' def get_method() = 'POST' end