# frozen_string_literal: true # encoding: utf-8 # Options: =begin Date: 2026-11-07 04:02:34 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: GetCustomThresholds.* #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 Pool include ServiceStack::DTO # @return [Integer] attr_accessor :id # @return [String] attr_accessor :name # @return [BigDecimal] attr_accessor :coefficient # @return [BigDecimal] attr_accessor :rtp # @return [BigDecimal] attr_accessor :threshold # @return [BigDecimal] attr_accessor :balance # @return [BigDecimal] attr_accessor :rrtp # @return [BigDecimal] attr_accessor :r_balance def self.properties { id: { name: 'id' }, name: { name: 'name' }, coefficient: { name: 'coefficient' }, rtp: { name: 'rtp' }, threshold: { name: 'threshold' }, balance: { name: 'balance' }, rrtp: { name: 'rrtp' }, r_balance: { name: 'rBalance' }, } end end class Pool include ServiceStack::DTO # @return [Integer] attr_accessor :id # @return [String] attr_accessor :name # @return [BigDecimal] attr_accessor :rtp # @return [BigDecimal] attr_accessor :reserve_r_t_p # @return [BigDecimal] attr_accessor :total_r_t_p def self.properties { id: { name: 'id' }, name: { name: 'name' }, rtp: { name: 'rtp' }, reserve_r_t_p: { name: 'reserveRTP' }, total_r_t_p: { name: 'totalRTP' }, } end end class Pool include ServiceStack::DTO # @return [Integer] attr_accessor :id # @return [String] attr_accessor :name # @return [BigDecimal] attr_accessor :treshold def self.properties { id: { name: 'id' }, name: { name: 'name' }, treshold: { name: 'treshold' }, } end end class CustomThresholds include ServiceStack::DTO # @return [String] attr_accessor :id # @return [List] attr_accessor :pools def self.properties { id: { name: 'id' }, pools: { name: 'pools', type: [Pool] }, } end end # @Route("/qry/configurations/thresholds/custom", "GET") class GetCustomThresholds include ServiceStack::DTO def response_type() = CustomThresholds def get_type_name() = 'GetCustomThresholds' def get_method() = 'GET' end