match2clientmodels

package
v0.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIBackFillAcceptRequest

type APIBackFillAcceptRequest struct {

	// proposal Id
	// Required: true
	ProposalID *string `json:"proposalId"`

	// stop
	// Required: true
	Stop *bool `json:"stop"`
}

APIBackFillAcceptRequest api back fill accept request

swagger:model api.BackFillAcceptRequest

func (*APIBackFillAcceptRequest) MarshalBinary

func (m *APIBackFillAcceptRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIBackFillAcceptRequest) UnmarshalBinary

func (m *APIBackFillAcceptRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIBackFillAcceptRequest) Validate

func (m *APIBackFillAcceptRequest) Validate(formats strfmt.Registry) error

Validate validates this api back fill accept request

type APIBackFillCreateRequest

type APIBackFillCreateRequest struct {

	// match pool
	// Required: true
	MatchPool *string `json:"matchPool"`

	// session Id
	// Required: true
	SessionID *string `json:"sessionId"`
}

APIBackFillCreateRequest api back fill create request

swagger:model api.BackFillCreateRequest

func (*APIBackFillCreateRequest) MarshalBinary

func (m *APIBackFillCreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIBackFillCreateRequest) UnmarshalBinary

func (m *APIBackFillCreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIBackFillCreateRequest) Validate

func (m *APIBackFillCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this api back fill create request

type APIBackFillRejectRequest

type APIBackFillRejectRequest struct {

	// proposal Id
	// Required: true
	ProposalID *string `json:"proposalId"`

	// stop
	// Required: true
	Stop *bool `json:"stop"`
}

APIBackFillRejectRequest api back fill reject request

swagger:model api.backFillRejectRequest

func (*APIBackFillRejectRequest) MarshalBinary

func (m *APIBackFillRejectRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIBackFillRejectRequest) UnmarshalBinary

func (m *APIBackFillRejectRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIBackFillRejectRequest) Validate

func (m *APIBackFillRejectRequest) Validate(formats strfmt.Registry) error

Validate validates this api back fill reject request

type APIBackfillCreateResponse added in v0.39.0

type APIBackfillCreateResponse struct {

	// id
	// Required: true
	ID *string `json:"id"`
}

APIBackfillCreateResponse api backfill create response

swagger:model api.BackfillCreateResponse

func (*APIBackfillCreateResponse) MarshalBinary added in v0.39.0

func (m *APIBackfillCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIBackfillCreateResponse) UnmarshalBinary added in v0.39.0

func (m *APIBackfillCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIBackfillCreateResponse) Validate added in v0.39.0

func (m *APIBackfillCreateResponse) Validate(formats strfmt.Registry) error

Validate validates this api backfill create response

type APIBackfillGetResponse added in v0.37.0

type APIBackfillGetResponse struct {

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// match pool
	MatchPool string `json:"matchPool,omitempty"`

	// match session ID
	MatchSessionID string `json:"matchSessionID,omitempty"`

	// partial match
	PartialMatch *APIMatch `json:"partialMatch,omitempty"`

	// ticket ID
	TicketID string `json:"ticketID,omitempty"`
}

APIBackfillGetResponse api backfill get response

swagger:model api.BackfillGetResponse

func (*APIBackfillGetResponse) MarshalBinary added in v0.37.0

func (m *APIBackfillGetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIBackfillGetResponse) UnmarshalBinary added in v0.37.0

func (m *APIBackfillGetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIBackfillGetResponse) Validate added in v0.37.0

func (m *APIBackfillGetResponse) Validate(formats strfmt.Registry) error

Validate validates this api backfill get response

type APIBackfillProposalResponse added in v0.37.0

type APIBackfillProposalResponse struct {

	// backfill ticket ID
	BackfillTicketID string `json:"backfillTicketID,omitempty"`

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// match pool
	MatchPool string `json:"matchPool,omitempty"`

	// match session ID
	MatchSessionID string `json:"matchSessionID,omitempty"`

	// proposal ID
	ProposalID string `json:"proposalID,omitempty"`

	// proposed teams
	ProposedTeams []*APITeam `json:"proposedTeams"`

	// tickets
	Tickets []*APITicket `json:"tickets"`
}

APIBackfillProposalResponse api backfill proposal response

swagger:model api.BackfillProposalResponse

func (*APIBackfillProposalResponse) MarshalBinary added in v0.37.0

func (m *APIBackfillProposalResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIBackfillProposalResponse) UnmarshalBinary added in v0.37.0

func (m *APIBackfillProposalResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIBackfillProposalResponse) Validate added in v0.37.0

func (m *APIBackfillProposalResponse) Validate(formats strfmt.Registry) error

Validate validates this api backfill proposal response

type APIListMatchFunctionsResponse

type APIListMatchFunctionsResponse struct {

	// configs
	// Required: true
	Configs []*APIMatchFunctionConfig `json:"configs"`

	// functions
	// Required: true
	Functions []string `json:"functions"`

	// pagination
	// Required: true
	Pagination *ModelsPagination `json:"pagination"`
}

APIListMatchFunctionsResponse api list match functions response

swagger:model api.ListMatchFunctionsResponse

func (*APIListMatchFunctionsResponse) MarshalBinary

func (m *APIListMatchFunctionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIListMatchFunctionsResponse) UnmarshalBinary

func (m *APIListMatchFunctionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIListMatchFunctionsResponse) Validate

func (m *APIListMatchFunctionsResponse) Validate(formats strfmt.Registry) error

Validate validates this api list match functions response

type APIListMatchPoolsResponse

type APIListMatchPoolsResponse struct {

	// data
	// Required: true
	Data []*APIMatchPool `json:"data"`

	// pagination
	// Required: true
	Pagination *ModelsPagination `json:"pagination"`
}

APIListMatchPoolsResponse api list match pools response

swagger:model api.ListMatchPoolsResponse

func (*APIListMatchPoolsResponse) MarshalBinary

func (m *APIListMatchPoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIListMatchPoolsResponse) UnmarshalBinary

func (m *APIListMatchPoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIListMatchPoolsResponse) Validate

func (m *APIListMatchPoolsResponse) Validate(formats strfmt.Registry) error

Validate validates this api list match pools response

type APIListRuleSetsResponse

type APIListRuleSetsResponse struct {

	// data
	// Required: true
	Data []*APIMatchRuleSetNameData `json:"data"`

	// pagination
	// Required: true
	Pagination *ModelsPagination `json:"pagination"`
}

APIListRuleSetsResponse api list rule sets response

swagger:model api.ListRuleSetsResponse

func (*APIListRuleSetsResponse) MarshalBinary

func (m *APIListRuleSetsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIListRuleSetsResponse) UnmarshalBinary

func (m *APIListRuleSetsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIListRuleSetsResponse) Validate

func (m *APIListRuleSetsResponse) Validate(formats strfmt.Registry) error

Validate validates this api list rule sets response

type APIMatch added in v0.37.0

type APIMatch struct {

	// backfill
	Backfill bool `json:"backfill"`

	// client version
	ClientVersion string `json:"clientVersion,omitempty"`

	// match attributes
	MatchAttributes interface{} `json:"matchAttributes,omitempty"`

	// region preference
	RegionPreference []string `json:"regionPreference"`

	// server name
	ServerName string `json:"serverName,omitempty"`

	// teams
	Teams []*APITeam `json:"teams"`

	// tickets
	Tickets []*APITicket `json:"tickets"`
}

APIMatch api match

swagger:model api.Match

func (*APIMatch) MarshalBinary added in v0.37.0

func (m *APIMatch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatch) UnmarshalBinary added in v0.37.0

func (m *APIMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatch) Validate added in v0.37.0

func (m *APIMatch) Validate(formats strfmt.Registry) error

Validate validates this api match

type APIMatchFunctionConfig

type APIMatchFunctionConfig struct {

	// match function
	// Required: true
	MatchFunction *string `json:"match_function"`

	// url
	// Required: true
	URL *string `json:"url"`
}

APIMatchFunctionConfig api match function config

swagger:model api.MatchFunctionConfig

func (*APIMatchFunctionConfig) MarshalBinary

func (m *APIMatchFunctionConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchFunctionConfig) UnmarshalBinary

func (m *APIMatchFunctionConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchFunctionConfig) Validate

func (m *APIMatchFunctionConfig) Validate(formats strfmt.Registry) error

Validate validates this api match function config

type APIMatchFunctionOverride added in v0.36.0

type APIMatchFunctionOverride struct {

	// backfill matches
	BackfillMatches string `json:"backfill_matches,omitempty"`

	// enrichment
	Enrichment []string `json:"enrichment"`

	// make matches
	MakeMatches string `json:"make_matches,omitempty"`

	// stat codes
	StatCodes []string `json:"stat_codes"`

	// validation
	Validation []string `json:"validation"`
}

APIMatchFunctionOverride api match function override

swagger:model api.MatchFunctionOverride

func (*APIMatchFunctionOverride) MarshalBinary added in v0.36.0

func (m *APIMatchFunctionOverride) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchFunctionOverride) UnmarshalBinary added in v0.36.0

func (m *APIMatchFunctionOverride) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchFunctionOverride) Validate added in v0.36.0

func (m *APIMatchFunctionOverride) Validate(formats strfmt.Registry) error

Validate validates this api match function override

type APIMatchFunctionRequest

type APIMatchFunctionRequest struct {

	// match function
	// Required: true
	MatchFunction *string `json:"match_function"`

	// url
	// Required: true
	URL *string `json:"url"`
}

APIMatchFunctionRequest api match function request

swagger:model api.MatchFunctionRequest

func (*APIMatchFunctionRequest) MarshalBinary

func (m *APIMatchFunctionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchFunctionRequest) UnmarshalBinary

func (m *APIMatchFunctionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchFunctionRequest) Validate

func (m *APIMatchFunctionRequest) Validate(formats strfmt.Registry) error

Validate validates this api match function request

type APIMatchPool

type APIMatchPool struct {

	// auto accept backfill proposal
	// Required: true
	AutoAcceptBackfillProposal *bool `json:"auto_accept_backfill_proposal"`

	// backfill proposal expiration seconds
	// Required: true
	BackfillProposalExpirationSeconds *int32 `json:"backfill_proposal_expiration_seconds"`

	// backfill ticket expiration seconds
	// Required: true
	BackfillTicketExpirationSeconds *int32 `json:"backfill_ticket_expiration_seconds"`

	// match function
	// Required: true
	MatchFunction *string `json:"match_function"`

	// match function override
	// Required: true
	MatchFunctionOverride *APIMatchFunctionOverride `json:"match_function_override"`

	// name
	// Required: true
	Name *string `json:"name"`

	// rule set
	// Required: true
	RuleSet *string `json:"rule_set"`

	// session template
	// Required: true
	SessionTemplate *string `json:"session_template"`

	// ticket expiration seconds
	// Required: true
	TicketExpirationSeconds *int32 `json:"ticket_expiration_seconds"`
}

APIMatchPool api match pool

swagger:model api.MatchPool

func (*APIMatchPool) MarshalBinary

func (m *APIMatchPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchPool) UnmarshalBinary

func (m *APIMatchPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchPool) Validate

func (m *APIMatchPool) Validate(formats strfmt.Registry) error

Validate validates this api match pool

type APIMatchPoolConfig

type APIMatchPoolConfig struct {

	// auto accept backfill proposal
	// Required: true
	AutoAcceptBackfillProposal *bool `json:"auto_accept_backfill_proposal"`

	// backfill proposal expiration seconds
	// Required: true
	BackfillProposalExpirationSeconds *int32 `json:"backfill_proposal_expiration_seconds"`

	// backfill ticket expiration seconds
	// Required: true
	BackfillTicketExpirationSeconds *int32 `json:"backfill_ticket_expiration_seconds"`

	// match function
	// Required: true
	MatchFunction *string `json:"match_function"`

	// match function override
	// Required: true
	MatchFunctionOverride *APIMatchFunctionOverride `json:"match_function_override"`

	// rule set
	// Required: true
	RuleSet *string `json:"rule_set"`

	// session template
	// Required: true
	SessionTemplate *string `json:"session_template"`

	// ticket expiration seconds
	// Required: true
	TicketExpirationSeconds *int32 `json:"ticket_expiration_seconds"`
}

APIMatchPoolConfig api match pool config

swagger:model api.MatchPoolConfig

func (*APIMatchPoolConfig) MarshalBinary

func (m *APIMatchPoolConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchPoolConfig) UnmarshalBinary

func (m *APIMatchPoolConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchPoolConfig) Validate

func (m *APIMatchPoolConfig) Validate(formats strfmt.Registry) error

Validate validates this api match pool config

type APIMatchRuleSetNameData

type APIMatchRuleSetNameData struct {

	// name
	// Required: true
	Name *string `json:"name"`
}

APIMatchRuleSetNameData api match rule set name data

swagger:model api.MatchRuleSetNameData

func (*APIMatchRuleSetNameData) MarshalBinary

func (m *APIMatchRuleSetNameData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchRuleSetNameData) UnmarshalBinary

func (m *APIMatchRuleSetNameData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchRuleSetNameData) Validate

func (m *APIMatchRuleSetNameData) Validate(formats strfmt.Registry) error

Validate validates this api match rule set name data

type APIMatchTicketRequest

type APIMatchTicketRequest struct {

	// attributes
	// Required: true
	Attributes interface{} `json:"attributes"`

	// latencies
	// Required: true
	Latencies map[string]int64 `json:"latencies"`

	// match pool
	// Required: true
	MatchPool *string `json:"matchPool"`

	// session ID
	// Required: true
	SessionID *string `json:"sessionID"`
}

APIMatchTicketRequest api match ticket request

swagger:model api.MatchTicketRequest

func (*APIMatchTicketRequest) MarshalBinary

func (m *APIMatchTicketRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchTicketRequest) UnmarshalBinary

func (m *APIMatchTicketRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchTicketRequest) Validate

func (m *APIMatchTicketRequest) Validate(formats strfmt.Registry) error

Validate validates this api match ticket request

type APIMatchTicketResponse

type APIMatchTicketResponse struct {

	// match ticket ID
	// Required: true
	MatchTicketID *string `json:"matchTicketID"`

	// queue time
	// Required: true
	QueueTime *int32 `json:"queueTime"`
}

APIMatchTicketResponse api match ticket response

swagger:model api.MatchTicketResponse

func (*APIMatchTicketResponse) MarshalBinary

func (m *APIMatchTicketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchTicketResponse) UnmarshalBinary

func (m *APIMatchTicketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchTicketResponse) Validate

func (m *APIMatchTicketResponse) Validate(formats strfmt.Registry) error

Validate validates this api match ticket response

type APIMatchTicketStatus

type APIMatchTicketStatus struct {

	// match found
	// Required: true
	MatchFound *bool `json:"matchFound"`

	// proposed proposal
	ProposedProposal *APIProposedProposal `json:"proposedProposal,omitempty"`

	// session ID
	// Required: true
	SessionID *string `json:"sessionID"`
}

APIMatchTicketStatus api match ticket status

swagger:model api.MatchTicketStatus

func (*APIMatchTicketStatus) MarshalBinary

func (m *APIMatchTicketStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIMatchTicketStatus) UnmarshalBinary

func (m *APIMatchTicketStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIMatchTicketStatus) Validate

func (m *APIMatchTicketStatus) Validate(formats strfmt.Registry) error

Validate validates this api match ticket status

type APIParty added in v0.37.0

type APIParty struct {

	// party ID
	PartyID string `json:"partyID,omitempty"`

	// user i ds
	UserIDs []string `json:"userIDs"`
}

APIParty api party

swagger:model api.Party

func (*APIParty) MarshalBinary added in v0.37.0

func (m *APIParty) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIParty) UnmarshalBinary added in v0.37.0

func (m *APIParty) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIParty) Validate added in v0.37.0

func (m *APIParty) Validate(formats strfmt.Registry) error

Validate validates this api party

type APIPlayerData added in v0.37.0

type APIPlayerData struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// party ID
	PartyID string `json:"partyID,omitempty"`

	// player ID
	PlayerID string `json:"playerID,omitempty"`
}

APIPlayerData api player data

swagger:model api.PlayerData

func (*APIPlayerData) MarshalBinary added in v0.37.0

func (m *APIPlayerData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIPlayerData) UnmarshalBinary added in v0.37.0

func (m *APIPlayerData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIPlayerData) Validate added in v0.37.0

func (m *APIPlayerData) Validate(formats strfmt.Registry) error

Validate validates this api player data

type APIProposedProposal added in v0.37.0

type APIProposedProposal struct {

	// backfill ID
	BackfillID string `json:"backfillID,omitempty"`

	// proposal ID
	ProposalID string `json:"proposalID,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

APIProposedProposal api proposed proposal

swagger:model api.ProposedProposal

func (*APIProposedProposal) MarshalBinary added in v0.37.0

func (m *APIProposedProposal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIProposedProposal) UnmarshalBinary added in v0.37.0

func (m *APIProposedProposal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIProposedProposal) Validate added in v0.37.0

func (m *APIProposedProposal) Validate(formats strfmt.Registry) error

Validate validates this api proposed proposal

type APIRuleSetPayload added in v0.38.0

type APIRuleSetPayload struct {

	// data
	// Required: true
	Data interface{} `json:"data"`

	// enable custom match function
	// Required: true
	EnableCustomMatchFunction *bool `json:"enable_custom_match_function"`

	// name
	// Required: true
	Name *string `json:"name"`
}

APIRuleSetPayload api rule set payload

swagger:model api.RuleSetPayload

func (*APIRuleSetPayload) MarshalBinary added in v0.38.0

func (m *APIRuleSetPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIRuleSetPayload) UnmarshalBinary added in v0.38.0

func (m *APIRuleSetPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIRuleSetPayload) Validate added in v0.38.0

func (m *APIRuleSetPayload) Validate(formats strfmt.Registry) error

Validate validates this api rule set payload

type APITeam added in v0.37.0

type APITeam struct {

	// parties
	Parties []*APIParty `json:"parties"`

	// user i ds
	UserIDs []string `json:"userIDs"`
}

APITeam api team

swagger:model api.Team

func (*APITeam) MarshalBinary added in v0.37.0

func (m *APITeam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APITeam) UnmarshalBinary added in v0.37.0

func (m *APITeam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APITeam) Validate added in v0.37.0

func (m *APITeam) Validate(formats strfmt.Registry) error

Validate validates this api team

type APITicket added in v0.37.0

type APITicket struct {

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// latencies
	Latencies map[string]int64 `json:"latencies,omitempty"`

	// match pool
	MatchPool string `json:"matchPool,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// party session ID
	PartySessionID string `json:"partySessionID,omitempty"`

	// players
	Players []*APIPlayerData `json:"players"`

	// ticket attributes
	TicketAttributes interface{} `json:"ticketAttributes,omitempty"`

	// ticket ID
	TicketID string `json:"ticketID,omitempty"`
}

APITicket api ticket

swagger:model api.Ticket

func (*APITicket) MarshalBinary added in v0.37.0

func (m *APITicket) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APITicket) UnmarshalBinary added in v0.37.0

func (m *APITicket) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APITicket) Validate added in v0.37.0

func (m *APITicket) Validate(formats strfmt.Registry) error

Validate validates this api ticket

type APITicketMetricResultRecord added in v0.39.0

type APITicketMetricResultRecord struct {

	// queue time
	// Required: true
	QueueTime *int32 `json:"queueTime"`
}

APITicketMetricResultRecord api ticket metric result record

swagger:model api.TicketMetricResultRecord

func (*APITicketMetricResultRecord) MarshalBinary added in v0.39.0

func (m *APITicketMetricResultRecord) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APITicketMetricResultRecord) UnmarshalBinary added in v0.39.0

func (m *APITicketMetricResultRecord) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APITicketMetricResultRecord) Validate added in v0.39.0

func (m *APITicketMetricResultRecord) Validate(formats strfmt.Registry) error

Validate validates this api ticket metric result record

type ModelsPagination

type ModelsPagination struct {

	// first
	// Required: true
	First *string `json:"first"`

	// last
	// Required: true
	Last *string `json:"last"`

	// next
	// Required: true
	Next *string `json:"next"`

	// previous
	// Required: true
	Previous *string `json:"previous"`
}

ModelsPagination models pagination

swagger:model models.Pagination

func (*ModelsPagination) MarshalBinary

func (m *ModelsPagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPagination) UnmarshalBinary

func (m *ModelsPagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPagination) Validate

func (m *ModelsPagination) Validate(formats strfmt.Registry) error

Validate validates this models pagination

type ResponseError

type ResponseError struct {

	// error code
	// Required: true
	ErrorCode int32 `json:"ErrorCode"`

	// error message
	// Required: true
	ErrorMessage string `json:"ErrorMessage"`
}

ResponseError response error

swagger:model response.Error

func (*ResponseError) MarshalBinary

func (m *ResponseError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseError) UnmarshalBinary

func (m *ResponseError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseError) Validate

func (m *ResponseError) Validate(formats strfmt.Registry) error

Validate validates this response error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL