# frozen_string_literal: true # encoding: utf-8 # Options: =begin Date: 2026-11-07 04:09:27 Version: 10.42 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.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: GetBetCancellationInfo.* #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 BetCancellationInfo include ServiceStack::DTO # @return [TrueClass] attr_accessor :can_cancel # @return [Dictionary] attr_accessor :errors def self.properties { can_cancel: { name: 'canCancel' }, errors: { name: 'errors' }, } end end # @Route("/qry/bets/cancInfo") class GetBetCancellationInfo include ServiceStack::DTO # @return [String] attr_accessor :bet_id def self.properties { bet_id: { name: 'betId' }, } end def response_type() = BetCancellationInfo def get_type_name() = 'GetBetCancellationInfo' def get_method() = 'POST' end