Documentation ¶
Index ¶
- Variables
- type AcceptPriceChange
- func (AcceptPriceChange) Descriptor() protoreflect.EnumDescriptor
- func (x AcceptPriceChange) Enum() *AcceptPriceChange
- func (AcceptPriceChange) EnumDescriptor() ([]byte, []int)deprecated
- func (x AcceptPriceChange) Number() protoreflect.EnumNumber
- func (x AcceptPriceChange) String() string
- func (AcceptPriceChange) Type() protoreflect.EnumType
- type Balance
- type Category
- func (*Category) Descriptor() ([]byte, []int)deprecated
- func (x *Category) GetCompetitions() []*CompetitionForSport
- func (x *Category) GetKey() string
- func (x *Category) GetName() string
- func (*Category) ProtoMessage()
- func (x *Category) ProtoReflect() protoreflect.Message
- func (x *Category) Reset()
- func (x *Category) String() string
- type Competition
- func (*Competition) Descriptor() ([]byte, []int)deprecated
- func (x *Competition) GetCategory() *Identifier
- func (x *Competition) GetEvents() []*EventForCompetition
- func (x *Competition) GetKey() string
- func (x *Competition) GetName() string
- func (x *Competition) GetSport() *Identifier
- func (*Competition) ProtoMessage()
- func (x *Competition) ProtoReflect() protoreflect.Message
- func (x *Competition) Reset()
- func (x *Competition) String() string
- type CompetitionForSport
- func (*CompetitionForSport) Descriptor() ([]byte, []int)deprecated
- func (x *CompetitionForSport) GetEventCount() uint32
- func (x *CompetitionForSport) GetKey() string
- func (x *CompetitionForSport) GetName() string
- func (*CompetitionForSport) ProtoMessage()
- func (x *CompetitionForSport) ProtoReflect() protoreflect.Message
- func (x *CompetitionForSport) Reset()
- func (x *CompetitionForSport) String() string
- type CompetitionWithCategory
- func (*CompetitionWithCategory) Descriptor() ([]byte, []int)deprecated
- func (x *CompetitionWithCategory) GetCategory() *Identifier
- func (x *CompetitionWithCategory) GetKey() string
- func (x *CompetitionWithCategory) GetName() string
- func (*CompetitionWithCategory) ProtoMessage()
- func (x *CompetitionWithCategory) ProtoReflect() protoreflect.Message
- func (x *CompetitionWithCategory) Reset()
- func (x *CompetitionWithCategory) String() string
- type Currencies
- type Error
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAway() *TeamIdentifier
- func (x *Event) GetCompetition() *CompetitionWithCategory
- func (x *Event) GetCutoffTime() string
- func (x *Event) GetHome() *TeamIdentifier
- func (x *Event) GetId() uint32
- func (x *Event) GetKey() string
- func (x *Event) GetMarkets() map[string]*Market
- func (x *Event) GetMetadata() *EventMetadata
- func (x *Event) GetName() string
- func (x *Event) GetSequence() int64
- func (x *Event) GetSettlement() map[string]*Scores
- func (x *Event) GetSport() *Identifier
- func (x *Event) GetStatus() EventStatus
- func (x *Event) GetType() EventType
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventForCompetition
- func (*EventForCompetition) Descriptor() ([]byte, []int)deprecated
- func (x *EventForCompetition) GetAway() *TeamIdentifier
- func (x *EventForCompetition) GetCutoffTime() string
- func (x *EventForCompetition) GetHome() *TeamIdentifier
- func (x *EventForCompetition) GetId() uint32
- func (x *EventForCompetition) GetKey() string
- func (x *EventForCompetition) GetMarkets() map[string]*Market
- func (x *EventForCompetition) GetMetadata() *EventMetadata
- func (x *EventForCompetition) GetName() string
- func (x *EventForCompetition) GetSequence() int64
- func (x *EventForCompetition) GetStatus() EventStatus
- func (x *EventForCompetition) GetType() EventType
- func (*EventForCompetition) ProtoMessage()
- func (x *EventForCompetition) ProtoReflect() protoreflect.Message
- func (x *EventForCompetition) Reset()
- func (x *EventForCompetition) String() string
- type EventMetadata
- func (*EventMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EventMetadata) GetOpinion() []*OutcomeProbability
- func (x *EventMetadata) GetOpinions() map[string]*Opinion
- func (*EventMetadata) ProtoMessage()
- func (x *EventMetadata) ProtoReflect() protoreflect.Message
- func (x *EventMetadata) Reset()
- func (x *EventMetadata) String() string
- type EventStatus
- func (EventStatus) Descriptor() protoreflect.EnumDescriptor
- func (x EventStatus) Enum() *EventStatus
- func (EventStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventStatus) Number() protoreflect.EnumNumber
- func (x EventStatus) String() string
- func (EventStatus) Type() protoreflect.EnumType
- type EventType
- type FixtureListEntry
- func (*FixtureListEntry) Descriptor() ([]byte, []int)deprecated
- func (x *FixtureListEntry) GetAway() *TeamIdentifier
- func (x *FixtureListEntry) GetCutoffTime() string
- func (x *FixtureListEntry) GetHome() *TeamIdentifier
- func (x *FixtureListEntry) GetId() uint32
- func (x *FixtureListEntry) GetKey() string
- func (x *FixtureListEntry) GetMarkets() map[string]*Market
- func (x *FixtureListEntry) GetName() string
- func (x *FixtureListEntry) GetStatus() EventStatus
- func (x *FixtureListEntry) GetType() EventType
- func (*FixtureListEntry) ProtoMessage()
- func (x *FixtureListEntry) ProtoReflect() protoreflect.Message
- func (x *FixtureListEntry) Reset()
- func (x *FixtureListEntry) String() string
- type FixturesCompetition
- func (*FixturesCompetition) Descriptor() ([]byte, []int)deprecated
- func (x *FixturesCompetition) GetCategory() *Identifier
- func (x *FixturesCompetition) GetEvents() []*FixtureListEntry
- func (x *FixturesCompetition) GetKey() string
- func (x *FixturesCompetition) GetName() string
- func (x *FixturesCompetition) GetSport() *Identifier
- func (*FixturesCompetition) ProtoMessage()
- func (x *FixturesCompetition) ProtoReflect() protoreflect.Message
- func (x *FixturesCompetition) Reset()
- func (x *FixturesCompetition) String() string
- type FixturesCompetitions
- func (*FixturesCompetitions) Descriptor() ([]byte, []int)deprecated
- func (x *FixturesCompetitions) GetCompetitions() []*FixturesCompetition
- func (*FixturesCompetitions) ProtoMessage()
- func (x *FixturesCompetitions) ProtoReflect() protoreflect.Message
- func (x *FixturesCompetitions) Reset()
- func (x *FixturesCompetitions) String() string
- type Identifier
- type Info
- type LineRequest
- func (*LineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LineRequest) GetEventId() string
- func (x *LineRequest) GetMarketUrl() string
- func (*LineRequest) ProtoMessage()
- func (x *LineRequest) ProtoReflect() protoreflect.Message
- func (x *LineRequest) Reset()
- func (x *LineRequest) String() string
- type Market
- type Opinion
- type OutcomeProbability
- func (*OutcomeProbability) Descriptor() ([]byte, []int)deprecated
- func (x *OutcomeProbability) GetMarketKey() string
- func (x *OutcomeProbability) GetOutcome() string
- func (x *OutcomeProbability) GetParams() string
- func (x *OutcomeProbability) GetProbability() float32
- func (*OutcomeProbability) ProtoMessage()
- func (x *OutcomeProbability) ProtoReflect() protoreflect.Message
- func (x *OutcomeProbability) Reset()
- func (x *OutcomeProbability) String() string
- type PublicBetHistoryResponse
- func (*PublicBetHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublicBetHistoryResponse) GetBets() []*PublicBetResponse
- func (x *PublicBetHistoryResponse) GetTotalBets() int64
- func (*PublicBetHistoryResponse) ProtoMessage()
- func (x *PublicBetHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *PublicBetHistoryResponse) Reset()
- func (x *PublicBetHistoryResponse) String() string
- type PublicBetRequest
- func (*PublicBetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublicBetRequest) GetAcceptPriceChange() AcceptPriceChange
- func (x *PublicBetRequest) GetCurrency() string
- func (x *PublicBetRequest) GetEventId() string
- func (x *PublicBetRequest) GetMarketUrl() string
- func (x *PublicBetRequest) GetPrice() string
- func (x *PublicBetRequest) GetReferenceId() string
- func (x *PublicBetRequest) GetSide() Side
- func (x *PublicBetRequest) GetStake() string
- func (*PublicBetRequest) ProtoMessage()
- func (x *PublicBetRequest) ProtoReflect() protoreflect.Message
- func (x *PublicBetRequest) Reset()
- func (x *PublicBetRequest) String() string
- type PublicBetResponse
- func (*PublicBetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublicBetResponse) GetCategoryKey() string
- func (x *PublicBetResponse) GetCompetitionId() int64
- func (x *PublicBetResponse) GetCreateTime() string
- func (x *PublicBetResponse) GetCurrency() string
- func (x *PublicBetResponse) GetCustomerReference() string
- func (x *PublicBetResponse) GetError() string
- func (x *PublicBetResponse) GetEventId() string
- func (x *PublicBetResponse) GetEventName() string
- func (x *PublicBetResponse) GetMarketUrl() string
- func (x *PublicBetResponse) GetPrice() string
- func (x *PublicBetResponse) GetReferenceId() string
- func (x *PublicBetResponse) GetReturnAmount() string
- func (x *PublicBetResponse) GetSide() Side
- func (x *PublicBetResponse) GetSportsKey() string
- func (x *PublicBetResponse) GetStake() string
- func (x *PublicBetResponse) GetStatus() Status
- func (*PublicBetResponse) ProtoMessage()
- func (x *PublicBetResponse) ProtoReflect() protoreflect.Message
- func (x *PublicBetResponse) Reset()
- func (x *PublicBetResponse) String() string
- type Scores
- type Selection
- func (*Selection) Descriptor() ([]byte, []int)deprecated
- func (x *Selection) GetMaxStake() float64
- func (x *Selection) GetMinStake() float64
- func (x *Selection) GetOutcome() string
- func (x *Selection) GetParams() string
- func (x *Selection) GetPrice() float64
- func (x *Selection) GetProbability() float64
- func (x *Selection) GetSide() Side
- func (x *Selection) GetStatus() SelectionStatus
- func (*Selection) ProtoMessage()
- func (x *Selection) ProtoReflect() protoreflect.Message
- func (x *Selection) Reset()
- func (x *Selection) String() string
- type SelectionStatus
- func (SelectionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SelectionStatus) Enum() *SelectionStatus
- func (SelectionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SelectionStatus) Number() protoreflect.EnumNumber
- func (x SelectionStatus) String() string
- func (SelectionStatus) Type() protoreflect.EnumType
- type Side
- type Sport
- func (*Sport) Descriptor() ([]byte, []int)deprecated
- func (x *Sport) GetCompetitionCount() uint32
- func (x *Sport) GetEventCount() uint32
- func (x *Sport) GetKey() string
- func (x *Sport) GetName() string
- func (*Sport) ProtoMessage()
- func (x *Sport) ProtoReflect() protoreflect.Message
- func (x *Sport) Reset()
- func (x *Sport) String() string
- type SportWithCategory
- func (*SportWithCategory) Descriptor() ([]byte, []int)deprecated
- func (x *SportWithCategory) GetCategories() []*Category
- func (x *SportWithCategory) GetCompetitionCount() uint32
- func (x *SportWithCategory) GetEventCount() uint32
- func (x *SportWithCategory) GetKey() string
- func (x *SportWithCategory) GetName() string
- func (*SportWithCategory) ProtoMessage()
- func (x *SportWithCategory) ProtoReflect() protoreflect.Message
- func (x *SportWithCategory) Reset()
- func (x *SportWithCategory) String() string
- type Sports
- type Status
- type Submarket
- type Team
- type TeamIdentifier
- func (*TeamIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *TeamIdentifier) GetAbbreviation() string
- func (x *TeamIdentifier) GetKey() string
- func (x *TeamIdentifier) GetName() string
- func (x *TeamIdentifier) GetNationality() string
- func (x *TeamIdentifier) GetResearchId() string
- func (*TeamIdentifier) ProtoMessage()
- func (x *TeamIdentifier) ProtoReflect() protoreflect.Message
- func (x *TeamIdentifier) Reset()
- func (x *TeamIdentifier) String() string
Constants ¶
This section is empty.
Variables ¶
var ( EventStatus_name = map[int32]string{ 0: "PRE_TRADING", 1: "TRADING", 2: "TRADING_LIVE", 3: "RESULTED", 4: "INTERRUPTED", 5: "AWAITING_RESULTS", 6: "POST_TRADING", 7: "CANCELLED", } EventStatus_value = map[string]int32{ "PRE_TRADING": 0, "TRADING": 1, "TRADING_LIVE": 2, "RESULTED": 3, "INTERRUPTED": 4, "AWAITING_RESULTS": 5, "POST_TRADING": 6, "CANCELLED": 7, } )
Enum value maps for EventStatus.
var ( SelectionStatus_name = map[int32]string{ 0: "SELECTION_DISABLED", 1: "SELECTION_ENABLED", } SelectionStatus_value = map[string]int32{ "SELECTION_DISABLED": 0, "SELECTION_ENABLED": 1, } )
Enum value maps for SelectionStatus.
var ( Team_name = map[int32]string{ 0: "TEAM_UNDEFINED", 1: "HOME", 2: "AWAY", } Team_value = map[string]int32{ "TEAM_UNDEFINED": 0, "HOME": 1, "AWAY": 2, } )
Enum value maps for Team.
var ( EventType_name = map[int32]string{ 0: "EVENT_TYPE_EVENT", 1: "EVENT_TYPE_OUTRIGHT", 2: "EVENT_TYPE_VIRTUAL", 3: "EVENT_TYPE_MULTI_COMPETITOR_EVENT", } EventType_value = map[string]int32{ "EVENT_TYPE_EVENT": 0, "EVENT_TYPE_OUTRIGHT": 1, "EVENT_TYPE_VIRTUAL": 2, "EVENT_TYPE_MULTI_COMPETITOR_EVENT": 3, } )
Enum value maps for EventType.
var ( Status_name = map[int32]string{ 0: "INTERNAL_SERVER_ERROR", 1: "DUPLICATE_REQUEST", 2: "MALFORMED_REQUEST", 3: "PRICE_ABOVE_MARKET", 29: "INSUFFICIENT_FUNDS", 5: "STAKE_ABOVE_MAX", 6: "STAKE_BELOW_MIN", 7: "LIABILITY_LIMIT_EXCEEDED", 8: "MARKET_SUSPENDED", 9: "ACCEPTED", 10: "PENDING_ACCEPTANCE", 12: "RESTRICTED", 27: "VERIFICATION_REQUIRED", 20: "WIN", 21: "LOSS", 22: "PUSH", 23: "HALF_WIN", 24: "HALF_LOSS", 25: "PARTIAL", } Status_value = map[string]int32{ "INTERNAL_SERVER_ERROR": 0, "DUPLICATE_REQUEST": 1, "MALFORMED_REQUEST": 2, "PRICE_ABOVE_MARKET": 3, "INSUFFICIENT_FUNDS": 29, "STAKE_ABOVE_MAX": 5, "STAKE_BELOW_MIN": 6, "LIABILITY_LIMIT_EXCEEDED": 7, "MARKET_SUSPENDED": 8, "ACCEPTED": 9, "PENDING_ACCEPTANCE": 10, "RESTRICTED": 12, "VERIFICATION_REQUIRED": 27, "WIN": 20, "LOSS": 21, "PUSH": 22, "HALF_WIN": 23, "HALF_LOSS": 24, "PARTIAL": 25, } )
Enum value maps for Status.
var ( Side_name = map[int32]string{ 0: "BACK", 1: "LAY", } Side_value = map[string]int32{ "BACK": 0, "LAY": 1, } )
Enum value maps for Side.
var ( AcceptPriceChange_name = map[int32]string{ 0: "NONE", 1: "ALL", 2: "BETTER", } AcceptPriceChange_value = map[string]int32{ "NONE": 0, "ALL": 1, "BETTER": 2, } )
Enum value maps for AcceptPriceChange.
var File_cloudbet_account_proto protoreflect.FileDescriptor
var File_cloudbet_feed_proto protoreflect.FileDescriptor
var File_cloudbet_response_proto protoreflect.FileDescriptor
var File_cloudbet_trading_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AcceptPriceChange ¶
type AcceptPriceChange int32
const ( // not accepting any price change AcceptPriceChange_NONE AcceptPriceChange = 0 // price accepted could be lower than input AcceptPriceChange_ALL AcceptPriceChange = 1 // accept price change go higher or no change AcceptPriceChange_BETTER AcceptPriceChange = 2 )
func (AcceptPriceChange) Descriptor ¶
func (AcceptPriceChange) Descriptor() protoreflect.EnumDescriptor
func (AcceptPriceChange) Enum ¶
func (x AcceptPriceChange) Enum() *AcceptPriceChange
func (AcceptPriceChange) EnumDescriptor
deprecated
func (AcceptPriceChange) EnumDescriptor() ([]byte, []int)
Deprecated: Use AcceptPriceChange.Descriptor instead.
func (AcceptPriceChange) Number ¶
func (x AcceptPriceChange) Number() protoreflect.EnumNumber
func (AcceptPriceChange) String ¶
func (x AcceptPriceChange) String() string
func (AcceptPriceChange) Type ¶
func (AcceptPriceChange) Type() protoreflect.EnumType
type Balance ¶
type Balance struct { // the account balance // example: 0.12345678 Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
swagger:model account_balance
func (*Balance) Descriptor
deprecated
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
type Category ¶
type Category struct { // name of this Category // // example: "ATP" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // slug for this Category // // example: "atp" Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // list of all competitions associated with this Category Competitions []*CompetitionForSport `protobuf:"bytes,3,rep,name=competitions,proto3" json:"competitions,omitempty"` // contains filtered or unexported fields }
Category is used for the /sports/{key} endpoint
swagger:model Category
func (*Category) Descriptor
deprecated
func (*Category) GetCompetitions ¶
func (x *Category) GetCompetitions() []*CompetitionForSport
func (*Category) ProtoMessage ¶
func (*Category) ProtoMessage()
func (*Category) ProtoReflect ¶
func (x *Category) ProtoReflect() protoreflect.Message
type Competition ¶
type Competition struct { // name of this Competition // // example: "French Open, Men Singles" Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // slug for this Competition. Composed of <sport-key>-<category-key>-<competition-key> as shown in the example value. // // example: "tennis-atp-french-open-men-singles" Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // sport associated with this Competition // // example: {"name":"Tennis","key":"tennis"} Sport *Identifier `protobuf:"bytes,4,opt,name=sport,proto3" json:"sport,omitempty"` // list of all events associated with this competition Events []*EventForCompetition `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"` // category associated with this Competition // // example: {"name":"ATP","key":"atp"} Category *Identifier `protobuf:"bytes,10,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
Competition is used for the /sports/competitions/{key} endpoint
swagger:model Competition
func (*Competition) Descriptor
deprecated
func (*Competition) Descriptor() ([]byte, []int)
Deprecated: Use Competition.ProtoReflect.Descriptor instead.
func (*Competition) GetCategory ¶
func (x *Competition) GetCategory() *Identifier
func (*Competition) GetEvents ¶
func (x *Competition) GetEvents() []*EventForCompetition
func (*Competition) GetKey ¶
func (x *Competition) GetKey() string
func (*Competition) GetName ¶
func (x *Competition) GetName() string
func (*Competition) GetSport ¶
func (x *Competition) GetSport() *Identifier
func (*Competition) ProtoMessage ¶
func (*Competition) ProtoMessage()
func (*Competition) ProtoReflect ¶
func (x *Competition) ProtoReflect() protoreflect.Message
func (*Competition) Reset ¶
func (x *Competition) Reset()
func (*Competition) String ¶
func (x *Competition) String() string
type CompetitionForSport ¶
type CompetitionForSport struct { // name of this Competition // // example: "French Open, Men Singles" Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // slug for this Competition. Composed of <sport-key>-<category-key>-<competition-key> as shown in the example value. // // example: "tennis-atp-french-open-men-singles" Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // number of events associated with this Competition, 0 events indicates inactive Competition // // example: 2 EventCount uint32 `protobuf:"varint,11,opt,name=event_count,json=eventCount,proto3" json:"event_count,omitempty"` // contains filtered or unexported fields }
CompetitionForSport is used for the /sports/{key} endpoint
swagger:model CompetitionForSport
func (*CompetitionForSport) Descriptor
deprecated
func (*CompetitionForSport) Descriptor() ([]byte, []int)
Deprecated: Use CompetitionForSport.ProtoReflect.Descriptor instead.
func (*CompetitionForSport) GetEventCount ¶
func (x *CompetitionForSport) GetEventCount() uint32
func (*CompetitionForSport) GetKey ¶
func (x *CompetitionForSport) GetKey() string
func (*CompetitionForSport) GetName ¶
func (x *CompetitionForSport) GetName() string
func (*CompetitionForSport) ProtoMessage ¶
func (*CompetitionForSport) ProtoMessage()
func (*CompetitionForSport) ProtoReflect ¶
func (x *CompetitionForSport) ProtoReflect() protoreflect.Message
func (*CompetitionForSport) Reset ¶
func (x *CompetitionForSport) Reset()
func (*CompetitionForSport) String ¶
func (x *CompetitionForSport) String() string
type CompetitionWithCategory ¶
type CompetitionWithCategory struct { // name of this Competition // // example: "French Open, Men Singles" Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // slug for this Competition. Composed of <sport-key>-<category-key>-<competition-key> as shown in the example value. // // example: "tennis-atp-french-open-men-singles" Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // category associated with this Competition // // example: {"name":"ATP","key":"atp"} Category *Identifier `protobuf:"bytes,10,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
CompetitionWithCategory is used for the /sports/events/{id} endpoint to link events with competitions
swagger:model CompetitionWithCategory
func (*CompetitionWithCategory) Descriptor
deprecated
func (*CompetitionWithCategory) Descriptor() ([]byte, []int)
Deprecated: Use CompetitionWithCategory.ProtoReflect.Descriptor instead.
func (*CompetitionWithCategory) GetCategory ¶
func (x *CompetitionWithCategory) GetCategory() *Identifier
func (*CompetitionWithCategory) GetKey ¶
func (x *CompetitionWithCategory) GetKey() string
func (*CompetitionWithCategory) GetName ¶
func (x *CompetitionWithCategory) GetName() string
func (*CompetitionWithCategory) ProtoMessage ¶
func (*CompetitionWithCategory) ProtoMessage()
func (*CompetitionWithCategory) ProtoReflect ¶
func (x *CompetitionWithCategory) ProtoReflect() protoreflect.Message
func (*CompetitionWithCategory) Reset ¶
func (x *CompetitionWithCategory) Reset()
func (*CompetitionWithCategory) String ¶
func (x *CompetitionWithCategory) String() string
type Currencies ¶
type Currencies struct { // the list of active account currencies // example: ["BTC", "ETH", "PLAY_EUR"] Currencies []string `protobuf:"bytes,1,rep,name=currencies,proto3" json:"currencies,omitempty"` // contains filtered or unexported fields }
swagger:model account_currencies
func (*Currencies) Descriptor
deprecated
func (*Currencies) Descriptor() ([]byte, []int)
Deprecated: Use Currencies.ProtoReflect.Descriptor instead.
func (*Currencies) GetCurrencies ¶
func (x *Currencies) GetCurrencies() []string
func (*Currencies) ProtoMessage ¶
func (*Currencies) ProtoMessage()
func (*Currencies) ProtoReflect ¶
func (x *Currencies) ProtoReflect() protoreflect.Message
func (*Currencies) Reset ¶
func (x *Currencies) Reset()
func (*Currencies) String ¶
func (x *Currencies) String() string
type Error ¶
type Error struct { // Error Status // example: MALFORMED_REQUEST Status Status `protobuf:"varint,9,opt,name=status,proto3,enum=cloudbet.Status" json:"status,omitempty"` // Additional Error Details, if applicable for a given error // example: empty request body Error string `protobuf:"bytes,17,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
Error presents response errors for all error status codes. swagger:model Error
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { // sequential update number for this Event // // example: 127 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // unique ID for this Event // // example: 7498746 Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // sport associated with this Competition // // example: {"name":"Tennis","key":"tennis"} Sport *Identifier `protobuf:"bytes,5,opt,name=sport,proto3" json:"sport,omitempty"` // details of the competition associated with this Event Competition *CompetitionWithCategory `protobuf:"bytes,6,opt,name=competition,proto3" json:"competition,omitempty"` // details for the home team competitor of this Event Home *TeamIdentifier `protobuf:"bytes,7,opt,name=home,proto3" json:"home,omitempty"` // details for the away team competitor of this Event Away *TeamIdentifier `protobuf:"bytes,8,opt,name=away,proto3" json:"away,omitempty"` // current status of this Event. Possible Event Status states and their meanings are explained [here](https://github.com/Cloudbet/docs/blob/3bbbcf9bf19426d74702e95292e47a147f9a503a/README.md#event-status) // // example: "TRADING" Status EventStatus `protobuf:"varint,10,opt,name=status,proto3,enum=cloudbet.EventStatus" json:"status,omitempty"` // mapping between market key and all associated markets for this Event Markets map[string]*Market `` /* 156-byte string literal not displayed */ // name of this Event // // example: "Rafael Nadal V Diego Schwartzman" Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` // slug for this Event // // example: "c886a-nadal-rafael-v-c8973-schwartzman-diego" Key string `protobuf:"bytes,19,opt,name=key,proto3" json:"key,omitempty"` // event cutoff time in string format "2006-01-02T15:04:05Z07:00" (RFC3339) // // example: "2021-06-09T09:00:00Z" CutoffTime string `protobuf:"bytes,23,opt,name=cutoff_time,json=cutoffTime,proto3" json:"cutoff_time,omitempty"` // metadata about this event, such as Cloudbet opinion on the winner Metadata *EventMetadata `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"` // event type for this event // // example: "EVENT_TYPE_EVENT" Type EventType `protobuf:"varint,24,opt,name=type,proto3,enum=cloudbet.EventType" json:"type,omitempty"` // reserved field for possible future use, empty currently // // The map key will be the score types, such as period=default Settlement map[string]*Scores `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
Event is used for the /sports/events/{id} endpoint
swagger:model Event
func (*Event) Descriptor
deprecated
func (*Event) GetAway ¶
func (x *Event) GetAway() *TeamIdentifier
func (*Event) GetCompetition ¶
func (x *Event) GetCompetition() *CompetitionWithCategory
func (*Event) GetCutoffTime ¶
func (*Event) GetHome ¶
func (x *Event) GetHome() *TeamIdentifier
func (*Event) GetMarkets ¶
func (*Event) GetMetadata ¶
func (x *Event) GetMetadata() *EventMetadata
func (*Event) GetSequence ¶
func (*Event) GetSettlement ¶
func (*Event) GetSport ¶
func (x *Event) GetSport() *Identifier
func (*Event) GetStatus ¶
func (x *Event) GetStatus() EventStatus
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventForCompetition ¶
type EventForCompetition struct { // sequential update number for this Event // // example: 127 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // unique ID for this Event // // example: 7498746 Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // details for the home team competitor of this Event Home *TeamIdentifier `protobuf:"bytes,7,opt,name=home,proto3" json:"home,omitempty"` // details for the away team competitor of this Event Away *TeamIdentifier `protobuf:"bytes,8,opt,name=away,proto3" json:"away,omitempty"` // current status of this Event. Possible Event Status states and their meanings are explained [here](https://github.com/Cloudbet/docs/blob/3bbbcf9bf19426d74702e95292e47a147f9a503a/README.md#event-status) // // example: "TRADING" Status EventStatus `protobuf:"varint,10,opt,name=status,proto3,enum=cloudbet.EventStatus" json:"status,omitempty"` // mapping between market key and all associated markets for this Event Markets map[string]*Market `` /* 156-byte string literal not displayed */ // name of this Event // // example: "Rafael Nadal V Diego Schwartzman" Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` // slug for this Event // // example: "c886a-nadal-rafael-v-c8973-schwartzman-diego" Key string `protobuf:"bytes,19,opt,name=key,proto3" json:"key,omitempty"` // event cutoff time in string format "2006-01-02T15:04:05Z07:00" (RFC3339) // // example: "2021-06-09T09:00:00Z" CutoffTime string `protobuf:"bytes,23,opt,name=cutoff_time,json=cutoffTime,proto3" json:"cutoff_time,omitempty"` // metadata about this event, such as Cloudbet opinion on the winner Metadata *EventMetadata `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"` // event type for this event // // example: "EVENT_TYPE_EVENT" Type EventType `protobuf:"varint,24,opt,name=type,proto3,enum=cloudbet.EventType" json:"type,omitempty"` // contains filtered or unexported fields }
EventForCompetition is used for the /sports/competitions/{key} endpoint
swagger:model EventForCompetition
func (*EventForCompetition) Descriptor
deprecated
func (*EventForCompetition) Descriptor() ([]byte, []int)
Deprecated: Use EventForCompetition.ProtoReflect.Descriptor instead.
func (*EventForCompetition) GetAway ¶
func (x *EventForCompetition) GetAway() *TeamIdentifier
func (*EventForCompetition) GetCutoffTime ¶
func (x *EventForCompetition) GetCutoffTime() string
func (*EventForCompetition) GetHome ¶
func (x *EventForCompetition) GetHome() *TeamIdentifier
func (*EventForCompetition) GetId ¶
func (x *EventForCompetition) GetId() uint32
func (*EventForCompetition) GetKey ¶
func (x *EventForCompetition) GetKey() string
func (*EventForCompetition) GetMarkets ¶
func (x *EventForCompetition) GetMarkets() map[string]*Market
func (*EventForCompetition) GetMetadata ¶
func (x *EventForCompetition) GetMetadata() *EventMetadata
func (*EventForCompetition) GetName ¶
func (x *EventForCompetition) GetName() string
func (*EventForCompetition) GetSequence ¶
func (x *EventForCompetition) GetSequence() int64
func (*EventForCompetition) GetStatus ¶
func (x *EventForCompetition) GetStatus() EventStatus
func (*EventForCompetition) GetType ¶
func (x *EventForCompetition) GetType() EventType
func (*EventForCompetition) ProtoMessage ¶
func (*EventForCompetition) ProtoMessage()
func (*EventForCompetition) ProtoReflect ¶
func (x *EventForCompetition) ProtoReflect() protoreflect.Message
func (*EventForCompetition) Reset ¶
func (x *EventForCompetition) Reset()
func (*EventForCompetition) String ¶
func (x *EventForCompetition) String() string
type EventMetadata ¶
type EventMetadata struct { // opinions represent the betting patterns of players on different outcomes of different markets Opinions map[string]*Opinion `` /* 158-byte string literal not displayed */ // Deprecated fields below // (deprecated, use opinions instead) opinion is an answer to the question "How do players bet on Cloudbet v/s the currently offered odds?" Opinion []*OutcomeProbability `protobuf:"bytes,47,rep,name=opinion,proto3" json:"opinion,omitempty"` // contains filtered or unexported fields }
Event metadata contains additional event info
swagger:model EventMetadata
func (*EventMetadata) Descriptor
deprecated
func (*EventMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) GetOpinion ¶
func (x *EventMetadata) GetOpinion() []*OutcomeProbability
func (*EventMetadata) GetOpinions ¶
func (x *EventMetadata) GetOpinions() map[string]*Opinion
func (*EventMetadata) ProtoMessage ¶
func (*EventMetadata) ProtoMessage()
func (*EventMetadata) ProtoReflect ¶
func (x *EventMetadata) ProtoReflect() protoreflect.Message
func (*EventMetadata) Reset ¶
func (x *EventMetadata) Reset()
func (*EventMetadata) String ¶
func (x *EventMetadata) String() string
type EventStatus ¶
type EventStatus int32
EventStatus presents the current status for a given Event
const ( // event is not yet open for bet placement EventStatus_PRE_TRADING EventStatus = 0 // event is open for bet placement and is not Live yet EventStatus_TRADING EventStatus = 1 // event is open for bet placement and Live/In-play EventStatus_TRADING_LIVE EventStatus = 2 // event has finished and bets are graded EventStatus_RESULTED EventStatus = 3 // event was live, but has been interrupted. Event start time may possible change in the future. EventStatus_INTERRUPTED EventStatus = 4 // event has finished and results are being awaited EventStatus_AWAITING_RESULTS EventStatus = 5 // event was live, but has been suspended for trading temporarily EventStatus_POST_TRADING EventStatus = 6 // event has been cancelled. All bets already placed on this event will be pushed EventStatus_CANCELLED EventStatus = 7 )
func (EventStatus) Descriptor ¶
func (EventStatus) Descriptor() protoreflect.EnumDescriptor
func (EventStatus) Enum ¶
func (x EventStatus) Enum() *EventStatus
func (EventStatus) EnumDescriptor
deprecated
func (EventStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventStatus.Descriptor instead.
func (EventStatus) Number ¶
func (x EventStatus) Number() protoreflect.EnumNumber
func (EventStatus) String ¶
func (x EventStatus) String() string
func (EventStatus) Type ¶
func (EventStatus) Type() protoreflect.EnumType
type EventType ¶
type EventType int32
EventType presents the type of an event which affects the markets format
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type FixtureListEntry ¶
type FixtureListEntry struct { // unique ID for this Event // // example: 7498746 Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // details for the home team competitor of this Event Home *TeamIdentifier `protobuf:"bytes,7,opt,name=home,proto3" json:"home,omitempty"` // details for the away team competitor of this Event Away *TeamIdentifier `protobuf:"bytes,8,opt,name=away,proto3" json:"away,omitempty"` // current status of this Event. Possible Event Status states and their meanings are explained [here](https://github.com/Cloudbet/docs/blob/3bbbcf9bf19426d74702e95292e47a147f9a503a/README.md#event-status) // // example: "TRADING" Status EventStatus `protobuf:"varint,10,opt,name=status,proto3,enum=cloudbet.EventStatus" json:"status,omitempty"` // mapping between market key and all associated markets for this Event. This is empty for /fixtures endpoint but populated for /events endpoint Markets map[string]*Market `` /* 156-byte string literal not displayed */ // name of this Event // // example: "Rafael Nadal V Diego Schwartzman" Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` // slug for this Event // // example: "c886a-nadal-rafael-v-c8973-schwartzman-diego" Key string `protobuf:"bytes,19,opt,name=key,proto3" json:"key,omitempty"` // event cutoff time in string format "2006-01-02T15:04:05Z07:00" (RFC3339) // event cutoff time in string format "2006-01-02T15:04:05Z07:00" (RFC3339) // // example: "2021-06-09T09:00:00Z" CutoffTime string `protobuf:"bytes,23,opt,name=cutoff_time,json=cutoffTime,proto3" json:"cutoff_time,omitempty"` // event type for this event // // example: "EVENT_TYPE_EVENT" Type EventType `protobuf:"varint,24,opt,name=type,proto3,enum=cloudbet.EventType" json:"type,omitempty"` // contains filtered or unexported fields }
FixtureListEntry is used for the /fixtures and /events endpoints It gives an individual sporting event without metadata information. It has markets only on /events endpoint, no markets information on /fixtures endpoint
swagger:model FixtureListEntry
func (*FixtureListEntry) Descriptor
deprecated
func (*FixtureListEntry) Descriptor() ([]byte, []int)
Deprecated: Use FixtureListEntry.ProtoReflect.Descriptor instead.
func (*FixtureListEntry) GetAway ¶
func (x *FixtureListEntry) GetAway() *TeamIdentifier
func (*FixtureListEntry) GetCutoffTime ¶
func (x *FixtureListEntry) GetCutoffTime() string
func (*FixtureListEntry) GetHome ¶
func (x *FixtureListEntry) GetHome() *TeamIdentifier
func (*FixtureListEntry) GetId ¶
func (x *FixtureListEntry) GetId() uint32
func (*FixtureListEntry) GetKey ¶
func (x *FixtureListEntry) GetKey() string
func (*FixtureListEntry) GetMarkets ¶
func (x *FixtureListEntry) GetMarkets() map[string]*Market
func (*FixtureListEntry) GetName ¶
func (x *FixtureListEntry) GetName() string
func (*FixtureListEntry) GetStatus ¶
func (x *FixtureListEntry) GetStatus() EventStatus
func (*FixtureListEntry) GetType ¶
func (x *FixtureListEntry) GetType() EventType
func (*FixtureListEntry) ProtoMessage ¶
func (*FixtureListEntry) ProtoMessage()
func (*FixtureListEntry) ProtoReflect ¶
func (x *FixtureListEntry) ProtoReflect() protoreflect.Message
func (*FixtureListEntry) Reset ¶
func (x *FixtureListEntry) Reset()
func (*FixtureListEntry) String ¶
func (x *FixtureListEntry) String() string
type FixturesCompetition ¶
type FixturesCompetition struct { // name of this Competition // // example: "French Open, Men Singles" Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // slug for this Competition. Composed of <sport-key>-<category-key>-<competition-key> as shown in the example value. // // example: "tennis-atp-french-open-men-singles" Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // sport associated with this Competition // // example: {"name":"Tennis","key":"tennis"} Sport *Identifier `protobuf:"bytes,4,opt,name=sport,proto3" json:"sport,omitempty"` // list of events which belong to this competition Events []*FixtureListEntry `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"` // category associated with all events in this list // // example: {"name":"ATP","key":"atp"} Category *Identifier `protobuf:"bytes,10,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
FixturesCompetition is used for the /fixtures and /events endpoints It gives a list of all events for a given competition
swagger:model FixturesCompetition
func (*FixturesCompetition) Descriptor
deprecated
func (*FixturesCompetition) Descriptor() ([]byte, []int)
Deprecated: Use FixturesCompetition.ProtoReflect.Descriptor instead.
func (*FixturesCompetition) GetCategory ¶
func (x *FixturesCompetition) GetCategory() *Identifier
func (*FixturesCompetition) GetEvents ¶
func (x *FixturesCompetition) GetEvents() []*FixtureListEntry
func (*FixturesCompetition) GetKey ¶
func (x *FixturesCompetition) GetKey() string
func (*FixturesCompetition) GetName ¶
func (x *FixturesCompetition) GetName() string
func (*FixturesCompetition) GetSport ¶
func (x *FixturesCompetition) GetSport() *Identifier
func (*FixturesCompetition) ProtoMessage ¶
func (*FixturesCompetition) ProtoMessage()
func (*FixturesCompetition) ProtoReflect ¶
func (x *FixturesCompetition) ProtoReflect() protoreflect.Message
func (*FixturesCompetition) Reset ¶
func (x *FixturesCompetition) Reset()
func (*FixturesCompetition) String ¶
func (x *FixturesCompetition) String() string
type FixturesCompetitions ¶
type FixturesCompetitions struct { // list of all requested competitions and events Competitions []*FixturesCompetition `protobuf:"bytes,1,rep,name=competitions,proto3" json:"competitions,omitempty"` // contains filtered or unexported fields }
FixturesCompetitions is used for the /fixtures endpoint It gives a list of all competitions and events for the requested Sport
swagger:model FixturesCompetitions
func (*FixturesCompetitions) Descriptor
deprecated
func (*FixturesCompetitions) Descriptor() ([]byte, []int)
Deprecated: Use FixturesCompetitions.ProtoReflect.Descriptor instead.
func (*FixturesCompetitions) GetCompetitions ¶
func (x *FixturesCompetitions) GetCompetitions() []*FixturesCompetition
func (*FixturesCompetitions) ProtoMessage ¶
func (*FixturesCompetitions) ProtoMessage()
func (*FixturesCompetitions) ProtoReflect ¶
func (x *FixturesCompetitions) ProtoReflect() protoreflect.Message
func (*FixturesCompetitions) Reset ¶
func (x *FixturesCompetitions) Reset()
func (*FixturesCompetitions) String ¶
func (x *FixturesCompetitions) String() string
type Identifier ¶
type Identifier struct { // name of this Identifier // // example: "Tennis" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // slug for this Identifier // // example: "tennis" Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Identifier represents a name-key tuple which together identify a given entity such as a sport
swagger:model Identifier
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) GetKey ¶
func (x *Identifier) GetKey() string
func (*Identifier) GetName ¶
func (x *Identifier) GetName() string
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) String ¶
func (x *Identifier) String() string
type Info ¶
type Info struct { // example: e66a49bb-bdde-42e5-804f-878f82b0b824 Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // example: username@example.org Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // example: username Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // contains filtered or unexported fields }
swagger:model account_info
func (*Info) Descriptor
deprecated
func (*Info) GetNickname ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) ProtoReflect ¶
func (x *Info) ProtoReflect() protoreflect.Message
type LineRequest ¶
type LineRequest struct { // Event ID for which the line fetch is requested // // required: true // example: 6162894 EventId string `protobuf:"bytes,1,opt,name=eventId,proto3" json:"eventId,omitempty"` // `marketUrl` is composed from the initial Feed API selection response as `marketKey/outcome?params`. // If no params (empty string) were present in the initial Feed API response, then omit the `params` query string format the `marketUrl` as `marketKey/outcome` // Special Note about handicap markets: // For handicap markets a line is identified by the same params. Selections can be grouped by market key and params alone. Home and away outcomes then have the same market URL for the same handicap lines. The handicap value is dictated by the home team value and inverted on the away side. // // required: true // example: basketball.handicap/home?handicap=-3 MarketUrl string `protobuf:"bytes,2,opt,name=marketUrl,proto3" json:"marketUrl,omitempty"` // contains filtered or unexported fields }
Request body for Line fetch API
in:body required: true swagger:model PostLine
func (*LineRequest) Descriptor
deprecated
func (*LineRequest) Descriptor() ([]byte, []int)
Deprecated: Use LineRequest.ProtoReflect.Descriptor instead.
func (*LineRequest) GetEventId ¶
func (x *LineRequest) GetEventId() string
func (*LineRequest) GetMarketUrl ¶
func (x *LineRequest) GetMarketUrl() string
func (*LineRequest) ProtoMessage ¶
func (*LineRequest) ProtoMessage()
func (*LineRequest) ProtoReflect ¶
func (x *LineRequest) ProtoReflect() protoreflect.Message
func (*LineRequest) Reset ¶
func (x *LineRequest) Reset()
func (*LineRequest) String ¶
func (x *LineRequest) String() string
type Market ¶
type Market struct { // mapping between submarket key and all associated submarkets for this Market Submarkets map[string]*Submarket `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Market is used as a part of Event and EventForCompetition used to build a list of all markets for a given Event
swagger:model Market
func (*Market) Descriptor
deprecated
func (*Market) GetSubmarkets ¶
func (*Market) ProtoMessage ¶
func (*Market) ProtoMessage()
func (*Market) ProtoReflect ¶
func (x *Market) ProtoReflect() protoreflect.Message
type Opinion ¶
type Opinion struct { // list of outcome probabilities Outcomes []*OutcomeProbability `protobuf:"bytes,1,rep,name=outcomes,proto3" json:"outcomes,omitempty"` // contains filtered or unexported fields }
Opinion represents the opinions for all outcomes of a given market
swagger:model Opinion
func (*Opinion) Descriptor
deprecated
func (*Opinion) GetOutcomes ¶
func (x *Opinion) GetOutcomes() []*OutcomeProbability
func (*Opinion) ProtoMessage ¶
func (*Opinion) ProtoMessage()
func (*Opinion) ProtoReflect ¶
func (x *Opinion) ProtoReflect() protoreflect.Message
type OutcomeProbability ¶
type OutcomeProbability struct { // outcome // // example: "home" Outcome string `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` // probability // // example: 0.47347018 Probability float32 `protobuf:"fixed32,2,opt,name=probability,proto3" json:"probability,omitempty"` // market key used to build opinion // // example: "basketball.handicap" MarketKey string `protobuf:"bytes,3,opt,name=market_key,json=marketKey,proto3" json:"market_key,omitempty"` // market parameters used to build opinion, such as handicap, period etc. // // example: "handicap=-3" Params string `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
Similar to Selection, but represents opinion (probability) for particular outcome of the market
swagger:model OutcomeProbability
func (*OutcomeProbability) Descriptor
deprecated
func (*OutcomeProbability) Descriptor() ([]byte, []int)
Deprecated: Use OutcomeProbability.ProtoReflect.Descriptor instead.
func (*OutcomeProbability) GetMarketKey ¶
func (x *OutcomeProbability) GetMarketKey() string
func (*OutcomeProbability) GetOutcome ¶
func (x *OutcomeProbability) GetOutcome() string
func (*OutcomeProbability) GetParams ¶
func (x *OutcomeProbability) GetParams() string
func (*OutcomeProbability) GetProbability ¶
func (x *OutcomeProbability) GetProbability() float32
func (*OutcomeProbability) ProtoMessage ¶
func (*OutcomeProbability) ProtoMessage()
func (*OutcomeProbability) ProtoReflect ¶
func (x *OutcomeProbability) ProtoReflect() protoreflect.Message
func (*OutcomeProbability) Reset ¶
func (x *OutcomeProbability) Reset()
func (*OutcomeProbability) String ¶
func (x *OutcomeProbability) String() string
type PublicBetHistoryResponse ¶
type PublicBetHistoryResponse struct { // Bets // // required: true Bets []*PublicBetResponse `protobuf:"bytes,1,rep,name=bets,proto3" json:"bets,omitempty"` // Total number of bets used for pagination // // required: true // example: 654 TotalBets int64 `protobuf:"varint,2,opt,name=total_bets,json=totalBets,proto3" json:"total_bets,omitempty"` // contains filtered or unexported fields }
Public Bet History Response swagger:model PublicBetHistoryResponse
func (*PublicBetHistoryResponse) Descriptor
deprecated
func (*PublicBetHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublicBetHistoryResponse.ProtoReflect.Descriptor instead.
func (*PublicBetHistoryResponse) GetBets ¶
func (x *PublicBetHistoryResponse) GetBets() []*PublicBetResponse
func (*PublicBetHistoryResponse) GetTotalBets ¶
func (x *PublicBetHistoryResponse) GetTotalBets() int64
func (*PublicBetHistoryResponse) ProtoMessage ¶
func (*PublicBetHistoryResponse) ProtoMessage()
func (*PublicBetHistoryResponse) ProtoReflect ¶
func (x *PublicBetHistoryResponse) ProtoReflect() protoreflect.Message
func (*PublicBetHistoryResponse) Reset ¶
func (x *PublicBetHistoryResponse) Reset()
func (*PublicBetHistoryResponse) String ¶
func (x *PublicBetHistoryResponse) String() string
type PublicBetRequest ¶
type PublicBetRequest struct { // Reference ID, randomly generated request id to allow idempotent calls. Required to be in the UUID format. // // required: true // example: 0e81877b-4b10-4587-a4cf-89f4336ac843 ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // Stake in number // // required: true // example: 1.1 Stake string `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // Price as number // // required: true // example: 1.86 Price string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` // Event ID // // required: true // example: 5945044 EventId string `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // Market URL, is compiled from the feed data as `marketKey/outcome?params`, if no params (empty string) are present omit the query string and format as `marketKey/outcome` // Special Note about handicap markets: // For handicap markets a line is identified by the same params. Selections can be grouped by market key and params alone. Home and away outcomes then have the same market URL for the same handicap lines. The handicap value is dictated by the home team value and inverted on the away side. // // required: true // example: soccer.total_goals/over?total=3 MarketUrl string `protobuf:"bytes,5,opt,name=market_url,json=marketUrl,proto3" json:"market_url,omitempty"` // Side, default to be BACK // // required: false Side Side `protobuf:"varint,6,opt,name=side,proto3,enum=cloudbet.Side" json:"side,omitempty"` // Currency for given stake // // required: true // example: PLAY_EUR Currency string `protobuf:"bytes,7,opt,name=currency,proto3" json:"currency,omitempty"` // Accept better price, default to be no price change // // required: false // example: BETTER AcceptPriceChange AcceptPriceChange `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
Public Bet Request
swagger:model PublicBetRequest
func (*PublicBetRequest) Descriptor
deprecated
func (*PublicBetRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublicBetRequest.ProtoReflect.Descriptor instead.
func (*PublicBetRequest) GetAcceptPriceChange ¶
func (x *PublicBetRequest) GetAcceptPriceChange() AcceptPriceChange
func (*PublicBetRequest) GetCurrency ¶
func (x *PublicBetRequest) GetCurrency() string
func (*PublicBetRequest) GetEventId ¶
func (x *PublicBetRequest) GetEventId() string
func (*PublicBetRequest) GetMarketUrl ¶
func (x *PublicBetRequest) GetMarketUrl() string
func (*PublicBetRequest) GetPrice ¶
func (x *PublicBetRequest) GetPrice() string
func (*PublicBetRequest) GetReferenceId ¶
func (x *PublicBetRequest) GetReferenceId() string
func (*PublicBetRequest) GetSide ¶
func (x *PublicBetRequest) GetSide() Side
func (*PublicBetRequest) GetStake ¶
func (x *PublicBetRequest) GetStake() string
func (*PublicBetRequest) ProtoMessage ¶
func (*PublicBetRequest) ProtoMessage()
func (*PublicBetRequest) ProtoReflect ¶
func (x *PublicBetRequest) ProtoReflect() protoreflect.Message
func (*PublicBetRequest) Reset ¶
func (x *PublicBetRequest) Reset()
func (*PublicBetRequest) String ¶
func (x *PublicBetRequest) String() string
type PublicBetResponse ¶
type PublicBetResponse struct { // Reference ID // // required: true // example: 0e81877b-4b10-4587-a4cf-89f4336ac843 ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // Price as number // // required: true // example: 1.86 Price string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` // Event ID // // required: true // example: 5945044 EventId string `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // Market URL // // required: true // example: soccer.total_goals/over?total=3 MarketUrl string `protobuf:"bytes,5,opt,name=market_url,json=marketUrl,proto3" json:"market_url,omitempty"` // Side, default to be BACK // // required: false Side Side `protobuf:"varint,6,opt,name=side,proto3,enum=cloudbet.Side" json:"side,omitempty"` // Currency for given stake // // required: true // example: PLAY_EUR Currency string `protobuf:"bytes,7,opt,name=currency,proto3" json:"currency,omitempty"` // Stake in number // // required: true // example: 1.1 Stake string `protobuf:"bytes,8,opt,name=stake,proto3" json:"stake,omitempty"` // Create time, time in string format "2006-01-02T15:04:05Z07:00" (RFC3339) // // required: true // example: "2006-01-02T15:04:05Z07:00" CreateTime string `protobuf:"bytes,18,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Bet status // // required: true Status Status `protobuf:"varint,9,opt,name=status,proto3,enum=cloudbet.Status" json:"status,omitempty"` // Return Amount as number, pending bets will have 0 // // required: true // example: 0.0 ReturnAmount string `protobuf:"bytes,12,opt,name=return_amount,json=returnAmount,proto3" json:"return_amount,omitempty"` // Event name in english // // required: true // example: TSG Hoffenheim V Borussia Monchengladbach EventName string `protobuf:"bytes,13,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"` // Sports Key // // required: true // example: soccer SportsKey string `protobuf:"bytes,14,opt,name=sports_key,json=sportsKey,proto3" json:"sports_key,omitempty"` // Competition ID // // required: true // example: 32 CompetitionId int64 `protobuf:"varint,15,opt,name=competition_id,json=competitionId,proto3" json:"competition_id,omitempty"` // Category Key // // required: true // example: germany CategoryKey string `protobuf:"bytes,16,opt,name=category_key,json=categoryKey,proto3" json:"category_key,omitempty"` // Customer Reference // // required: true CustomerReference string `protobuf:"bytes,11,opt,name=customer_reference,json=customerReference,proto3" json:"customer_reference,omitempty"` // Error Details, indicates some descriptive reasoning on bet rejection, for `MALFORMED_REQUEST` // // required: false Error string `protobuf:"bytes,17,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
Public Bet Response
swagger:model PublicBetResponse
func (*PublicBetResponse) Descriptor
deprecated
func (*PublicBetResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublicBetResponse.ProtoReflect.Descriptor instead.
func (*PublicBetResponse) GetCategoryKey ¶
func (x *PublicBetResponse) GetCategoryKey() string
func (*PublicBetResponse) GetCompetitionId ¶
func (x *PublicBetResponse) GetCompetitionId() int64
func (*PublicBetResponse) GetCreateTime ¶
func (x *PublicBetResponse) GetCreateTime() string
func (*PublicBetResponse) GetCurrency ¶
func (x *PublicBetResponse) GetCurrency() string
func (*PublicBetResponse) GetCustomerReference ¶
func (x *PublicBetResponse) GetCustomerReference() string
func (*PublicBetResponse) GetError ¶
func (x *PublicBetResponse) GetError() string
func (*PublicBetResponse) GetEventId ¶
func (x *PublicBetResponse) GetEventId() string
func (*PublicBetResponse) GetEventName ¶
func (x *PublicBetResponse) GetEventName() string
func (*PublicBetResponse) GetMarketUrl ¶
func (x *PublicBetResponse) GetMarketUrl() string
func (*PublicBetResponse) GetPrice ¶
func (x *PublicBetResponse) GetPrice() string
func (*PublicBetResponse) GetReferenceId ¶
func (x *PublicBetResponse) GetReferenceId() string
func (*PublicBetResponse) GetReturnAmount ¶
func (x *PublicBetResponse) GetReturnAmount() string
func (*PublicBetResponse) GetSide ¶
func (x *PublicBetResponse) GetSide() Side
func (*PublicBetResponse) GetSportsKey ¶
func (x *PublicBetResponse) GetSportsKey() string
func (*PublicBetResponse) GetStake ¶
func (x *PublicBetResponse) GetStake() string
func (*PublicBetResponse) GetStatus ¶
func (x *PublicBetResponse) GetStatus() Status
func (*PublicBetResponse) ProtoMessage ¶
func (*PublicBetResponse) ProtoMessage()
func (*PublicBetResponse) ProtoReflect ¶
func (x *PublicBetResponse) ProtoReflect() protoreflect.Message
func (*PublicBetResponse) Reset ¶
func (x *PublicBetResponse) Reset()
func (*PublicBetResponse) String ¶
func (x *PublicBetResponse) String() string
type Scores ¶
type Scores struct { // layout for scores // // example: event: ['home', 'away']; outright: ['outcome=swansea']; racing: ['player=lucky-k-1', 'player=darwin-c-1', 'player=loca-m-1'] Layout []string `protobuf:"bytes,1,rep,name=layout,proto3" json:"layout,omitempty"` // scores details // // example: event: [1, 2]; outright: [1]; racing: [1, 1, 2] Scores []uint32 `protobuf:"varint,2,rep,packed,name=scores,proto3" json:"scores,omitempty"` // contains filtered or unexported fields }
Scores is a reserved field for possible future use with Settlement
swagger:model Scores
func (*Scores) Descriptor
deprecated
func (*Scores) ProtoMessage ¶
func (*Scores) ProtoMessage()
func (*Scores) ProtoReflect ¶
func (x *Scores) ProtoReflect() protoreflect.Message
type Selection ¶
type Selection struct { // outcome of this Selection // // example: "home" Outcome string `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` // parameters to be sent by the client during bet placement on this selection, such as handicap, period etc. // Special Note about handicap markets: // For handicap markets a line is identified by the same params. Selections can be grouped by market key and params alone. Home and away outcomes then have the same market URL for the same handicap lines. The handicap value is dictated by the home team value and inverted on the away side. // // example: "handicap=-3" Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // price at which bets can be placed on this Selection // // example: 1.892 Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"` // minimum stake in EUR which can be placed in bets on this Selection // // example: 0.1 MinStake float64 `protobuf:"fixed64,4,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // maximum stake in EUR which can be placed in bets on this Selection; market liability = selection max stake * (price - 1); // // example: 1803.6394618802 MaxStake float64 `protobuf:"fixed64,5,opt,name=max_stake,json=maxStake,proto3" json:"max_stake,omitempty"` // probability of this Selection's outcome // // example: 0.493 Probability float64 `protobuf:"fixed64,6,opt,name=probability,proto3" json:"probability,omitempty"` // current status of this Selection. Possible values: "SELECTION_ENABLED" or "SELECTION_DISABLED" // // example: "SELECTION_ENABLED" Status SelectionStatus `protobuf:"varint,7,opt,name=status,proto3,enum=cloudbet.SelectionStatus" json:"status,omitempty"` // side of this Selection ("BACK" or "LAY"). Currently, only "BACK" is supported by the Cloudbet API // // example: "BACK" Side Side `protobuf:"varint,8,opt,name=side,proto3,enum=cloudbet.Side" json:"side,omitempty"` // contains filtered or unexported fields }
Selection is used as a part of Submarket used to build a list of all selections for a given Submarket
swagger:model Selection
func (*Selection) Descriptor
deprecated
func (*Selection) GetMaxStake ¶
func (*Selection) GetMinStake ¶
func (*Selection) GetOutcome ¶
func (*Selection) GetProbability ¶
func (*Selection) GetStatus ¶
func (x *Selection) GetStatus() SelectionStatus
func (*Selection) ProtoMessage ¶
func (*Selection) ProtoMessage()
func (*Selection) ProtoReflect ¶
func (x *Selection) ProtoReflect() protoreflect.Message
type SelectionStatus ¶
type SelectionStatus int32
SelectionStatus presents the current status for a given selection
const ( // selection unavailable for bet placement SelectionStatus_SELECTION_DISABLED SelectionStatus = 0 // selection available for bet placement SelectionStatus_SELECTION_ENABLED SelectionStatus = 1 )
func (SelectionStatus) Descriptor ¶
func (SelectionStatus) Descriptor() protoreflect.EnumDescriptor
func (SelectionStatus) Enum ¶
func (x SelectionStatus) Enum() *SelectionStatus
func (SelectionStatus) EnumDescriptor
deprecated
func (SelectionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SelectionStatus.Descriptor instead.
func (SelectionStatus) Number ¶
func (x SelectionStatus) Number() protoreflect.EnumNumber
func (SelectionStatus) String ¶
func (x SelectionStatus) String() string
func (SelectionStatus) Type ¶
func (SelectionStatus) Type() protoreflect.EnumType
type Side ¶
type Side int32
Side of a selection signals whether a selection is available for back or lay side betting
func (Side) Descriptor ¶
func (Side) Descriptor() protoreflect.EnumDescriptor
func (Side) EnumDescriptor
deprecated
func (Side) Number ¶
func (x Side) Number() protoreflect.EnumNumber
func (Side) Type ¶
func (Side) Type() protoreflect.EnumType
type Sport ¶
type Sport struct { // name of this Sport // // example: Tennis Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // slug for this Sport // // example: tennis Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // number of competitions associated with this Sport, 0 indicates inactive Sport // // example: 2 CompetitionCount uint32 `protobuf:"varint,4,opt,name=competition_count,json=competitionCount,proto3" json:"competition_count,omitempty"` // number of events associated with this Sport, 0 indicates inactive Sport // // example: 4 EventCount uint32 `protobuf:"varint,7,opt,name=event_count,json=eventCount,proto3" json:"event_count,omitempty"` // contains filtered or unexported fields }
Sport is used for an individual sport's details in the /sports endpoint
swagger:model Sport
func (*Sport) Descriptor
deprecated
func (*Sport) GetCompetitionCount ¶
func (*Sport) GetEventCount ¶
func (*Sport) ProtoMessage ¶
func (*Sport) ProtoMessage()
func (*Sport) ProtoReflect ¶
func (x *Sport) ProtoReflect() protoreflect.Message
type SportWithCategory ¶
type SportWithCategory struct { // name of this Sport // // example: Tennis Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // slug for this Sport // // example: tennis Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // number of competitions associated with this Sport, 0 indicates inactive Sport // // example: 2 CompetitionCount uint32 `protobuf:"varint,4,opt,name=competition_count,json=competitionCount,proto3" json:"competition_count,omitempty"` // list of all categories associated with this Sport Categories []*Category `protobuf:"bytes,5,rep,name=categories,proto3" json:"categories,omitempty"` // number of events associated with this Sport, 0 indicates inactive Sport // // example: 4 EventCount uint32 `protobuf:"varint,7,opt,name=event_count,json=eventCount,proto3" json:"event_count,omitempty"` // contains filtered or unexported fields }
SportWithCategory is used for the /sports/{key} endpoint with this hierarchy: sport->categories->competitions
swagger:model SportWithCategory
func (*SportWithCategory) Descriptor
deprecated
func (*SportWithCategory) Descriptor() ([]byte, []int)
Deprecated: Use SportWithCategory.ProtoReflect.Descriptor instead.
func (*SportWithCategory) GetCategories ¶
func (x *SportWithCategory) GetCategories() []*Category
func (*SportWithCategory) GetCompetitionCount ¶
func (x *SportWithCategory) GetCompetitionCount() uint32
func (*SportWithCategory) GetEventCount ¶
func (x *SportWithCategory) GetEventCount() uint32
func (*SportWithCategory) GetKey ¶
func (x *SportWithCategory) GetKey() string
func (*SportWithCategory) GetName ¶
func (x *SportWithCategory) GetName() string
func (*SportWithCategory) ProtoMessage ¶
func (*SportWithCategory) ProtoMessage()
func (*SportWithCategory) ProtoReflect ¶
func (x *SportWithCategory) ProtoReflect() protoreflect.Message
func (*SportWithCategory) Reset ¶
func (x *SportWithCategory) Reset()
func (*SportWithCategory) String ¶
func (x *SportWithCategory) String() string
type Sports ¶
type Sports struct { // list of all sports offerred Sports []*Sport `protobuf:"bytes,1,rep,name=sports,proto3" json:"sports,omitempty"` // contains filtered or unexported fields }
Sports is used as the root object in the /sports endpoint
swagger:model Sports
func (*Sports) Descriptor
deprecated
func (*Sports) ProtoMessage ¶
func (*Sports) ProtoMessage()
func (*Sports) ProtoReflect ¶
func (x *Sports) ProtoReflect() protoreflect.Message
type Status ¶
type Status int32
const ( // unexpected error at server side. Our engineering team is informed of the issue, please try again Status_INTERNAL_SERVER_ERROR Status = 0 // duplicated request with same Reference ID was posted, this is due to idempotent request handling. If you want to resubmit this bet, please add a new Reference ID Status_DUPLICATE_REQUEST Status = 1 // the request was not sent as per the expected request structure Status_MALFORMED_REQUEST Status = 2 // bet price requested was above the current market price Status_PRICE_ABOVE_MARKET Status = 3 // account doesn't have sufficient funds in the requested currency Status_INSUFFICIENT_FUNDS Status = 29 // stake requested was above the current maximum stake on a selection Status_STAKE_ABOVE_MAX Status = 5 // stake requested was below the current minimum stake on a selection Status_STAKE_BELOW_MIN Status = 6 // your current liability limit on this event was exceeded, please try again later as limits are raised towards start time and during live betting Status_LIABILITY_LIMIT_EXCEEDED Status = 7 // you attempted to bet on an inactive selection Status_MARKET_SUSPENDED Status = 8 // your bet was accepted successfully Status_ACCEPTED Status = 9 // your bet is being processed by the system. Please check the bet status again periodically to get bet status updates Status_PENDING_ACCEPTANCE Status = 10 // your current account settings don't allow you to bet on this event. Restrictions will be lifted automatically as your account attains tenure and trust. Please contact customer support if you believe you qualify and we will review your account. Status_RESTRICTED Status = 12 // your account needs to be verified using our KYC procedures. Please contact customer support for more details. Status_VERIFICATION_REQUIRED Status = 27 // you won the bet Status_WIN Status = 20 // you lost the bet Status_LOSS Status = 21 // market not applicable to result, e.g. draw on 2way, handicap Status_PUSH Status = 22 // half win, e.g. on a handicap market Status_HALF_WIN Status = 23 // half loss, e.g. on a handicap market Status_HALF_LOSS Status = 24 // partial win, including dead heat result Status_PARTIAL Status = 25 )
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type Submarket ¶
type Submarket struct { // sequential update number Sequence int64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` // list of all associated selections Selections []*Selection `protobuf:"bytes,6,rep,name=selections,proto3" json:"selections,omitempty"` // contains filtered or unexported fields }
Submarket contains selections which are inter-dependent on each other and is used as a part of Market used to build a map of all submarkets for a given Market
swagger:model Submarket
func (*Submarket) Descriptor
deprecated
func (*Submarket) GetSelections ¶
func (*Submarket) GetSequence ¶
func (*Submarket) ProtoMessage ¶
func (*Submarket) ProtoMessage()
func (*Submarket) ProtoReflect ¶
func (x *Submarket) ProtoReflect() protoreflect.Message
type Team ¶
type Team int32
Team presents the team for a given player
func (Team) Descriptor ¶
func (Team) Descriptor() protoreflect.EnumDescriptor
func (Team) EnumDescriptor
deprecated
func (Team) Number ¶
func (x Team) Number() protoreflect.EnumNumber
func (Team) Type ¶
func (Team) Type() protoreflect.EnumType
type TeamIdentifier ¶
type TeamIdentifier struct { // name of this TeamIdentifier // // example: "Rafael Nadal" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // slug for this TeamIdentifier // // example: "c886a-nadal-rafael" Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // abbreviation for this team's name // // example: "NAD" Abbreviation string `protobuf:"bytes,4,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` // team country code // // example: "ESP" Nationality string `protobuf:"bytes,6,opt,name=nationality,proto3" json:"nationality,omitempty"` // UUID to fetch more information for a given competitor // // example: "66cdc662-f48b-4d55-960f-cb92ce3f3c5c" ResearchId string `protobuf:"bytes,7,opt,name=research_id,json=researchId,proto3" json:"research_id,omitempty"` // contains filtered or unexported fields }
TeamIdentifier identifies a team competitor for a given event
swagger:model TeamIdentifier
func (*TeamIdentifier) Descriptor
deprecated
func (*TeamIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use TeamIdentifier.ProtoReflect.Descriptor instead.
func (*TeamIdentifier) GetAbbreviation ¶
func (x *TeamIdentifier) GetAbbreviation() string
func (*TeamIdentifier) GetKey ¶
func (x *TeamIdentifier) GetKey() string
func (*TeamIdentifier) GetName ¶
func (x *TeamIdentifier) GetName() string
func (*TeamIdentifier) GetNationality ¶
func (x *TeamIdentifier) GetNationality() string
func (*TeamIdentifier) GetResearchId ¶
func (x *TeamIdentifier) GetResearchId() string
func (*TeamIdentifier) ProtoMessage ¶
func (*TeamIdentifier) ProtoMessage()
func (*TeamIdentifier) ProtoReflect ¶
func (x *TeamIdentifier) ProtoReflect() protoreflect.Message
func (*TeamIdentifier) Reset ¶
func (x *TeamIdentifier) Reset()
func (*TeamIdentifier) String ¶
func (x *TeamIdentifier) String() string