/* Options: Date: 2026-11-07 04:12:20 Version: 10.42 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.webhop.biz //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ChangeCustomThreshold.* //ExcludeTypes: //DefaultImports: */ package dtos import ( ss "github.com/ServiceStack/servicestack-go" ) type ResponseStatus int const ( ResponseStatusFailure ResponseStatus = 0 ResponseStatusSuccess ResponseStatus = 1 ) // @DataContract type ResponseStatus struct { // @DataMember(Order=1) ErrorCode string `json:"errorCode"` // @DataMember(Order=2) Message *string `json:"message,omitempty"` // @DataMember(Order=3) StackTrace *string `json:"stackTrace,omitempty"` // @DataMember(Order=4) Errors []ss.ResponseError `json:"errors,omitempty"` // @DataMember(Order=5) Meta map[string]string `json:"meta,omitempty"` } // @Route("/cmd/configure/thresholds/custom", "POST") type ChangeCustomThreshold struct { Id *string `json:"id,omitempty"` PoolId int `json:"poolId,omitempty"` Amount float64 `json:"amount,omitempty"` } func (ChangeCustomThreshold) CreateResponse() (r ResponseStatus) { return } func (ChangeCustomThreshold) HttpMethod() string { return "POST" }