Documentation ¶
Index ¶
- type BulkCreateMockTicketsBadRequest
- type BulkCreateMockTicketsCreated
- type BulkCreateMockTicketsForbidden
- type BulkCreateMockTicketsInternalServerError
- type BulkCreateMockTicketsNotFound
- type BulkCreateMockTicketsParams
- func NewBulkCreateMockTicketsParams() *BulkCreateMockTicketsParams
- func NewBulkCreateMockTicketsParamsWithContext(ctx context.Context) *BulkCreateMockTicketsParams
- func NewBulkCreateMockTicketsParamsWithHTTPClient(client *http.Client) *BulkCreateMockTicketsParams
- func NewBulkCreateMockTicketsParamsWithTimeout(timeout time.Duration) *BulkCreateMockTicketsParams
- func (o *BulkCreateMockTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkCreateMockTicketsParams) SetBody(body []*matchmakingclientmodels.ModelsMatchingParty)
- func (o *BulkCreateMockTicketsParams) SetChannelName(channelName string)
- func (o *BulkCreateMockTicketsParams) SetContext(ctx context.Context)
- func (o *BulkCreateMockTicketsParams) SetFlightId(flightId string)
- func (o *BulkCreateMockTicketsParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreateMockTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkCreateMockTicketsParams) SetNamespace(namespace string)
- func (o *BulkCreateMockTicketsParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreateMockTicketsParams) WithBody(body []*matchmakingclientmodels.ModelsMatchingParty) *BulkCreateMockTicketsParams
- func (o *BulkCreateMockTicketsParams) WithChannelName(channelName string) *BulkCreateMockTicketsParams
- func (o *BulkCreateMockTicketsParams) WithContext(ctx context.Context) *BulkCreateMockTicketsParams
- func (o *BulkCreateMockTicketsParams) WithHTTPClient(client *http.Client) *BulkCreateMockTicketsParams
- func (o *BulkCreateMockTicketsParams) WithNamespace(namespace string) *BulkCreateMockTicketsParams
- func (o *BulkCreateMockTicketsParams) WithTimeout(timeout time.Duration) *BulkCreateMockTicketsParams
- func (o *BulkCreateMockTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreateMockTicketsReader
- type BulkCreateMockTicketsUnauthorized
- type CleanAllMocksBadRequest
- type CleanAllMocksForbidden
- type CleanAllMocksInternalServerError
- type CleanAllMocksNoContent
- type CleanAllMocksNotFound
- type CleanAllMocksParams
- func (o *CleanAllMocksParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CleanAllMocksParams) SetChannelName(channelName string)
- func (o *CleanAllMocksParams) SetContext(ctx context.Context)
- func (o *CleanAllMocksParams) SetFlightId(flightId string)
- func (o *CleanAllMocksParams) SetHTTPClient(client *http.Client)
- func (o *CleanAllMocksParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CleanAllMocksParams) SetNamespace(namespace string)
- func (o *CleanAllMocksParams) SetTimeout(timeout time.Duration)
- func (o *CleanAllMocksParams) WithChannelName(channelName string) *CleanAllMocksParams
- func (o *CleanAllMocksParams) WithContext(ctx context.Context) *CleanAllMocksParams
- func (o *CleanAllMocksParams) WithHTTPClient(client *http.Client) *CleanAllMocksParams
- func (o *CleanAllMocksParams) WithNamespace(namespace string) *CleanAllMocksParams
- func (o *CleanAllMocksParams) WithTimeout(timeout time.Duration) *CleanAllMocksParams
- func (o *CleanAllMocksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CleanAllMocksReader
- type CleanAllMocksUnauthorized
- type Client
- func (a *Client) BulkCreateMockTickets(params *BulkCreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreateMockTicketsCreated, *BulkCreateMockTicketsBadRequest, ...)deprecated
- func (a *Client) BulkCreateMockTicketsShort(params *BulkCreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreateMockTicketsCreated, error)
- func (a *Client) CleanAllMocks(params *CleanAllMocksParams, authInfo runtime.ClientAuthInfoWriter) (*CleanAllMocksNoContent, *CleanAllMocksBadRequest, *CleanAllMocksUnauthorized, ...)deprecated
- func (a *Client) CleanAllMocksShort(params *CleanAllMocksParams, authInfo runtime.ClientAuthInfoWriter) (*CleanAllMocksNoContent, error)
- func (a *Client) CreateMockTickets(params *CreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMockTicketsCreated, *CreateMockTicketsBadRequest, ...)deprecated
- func (a *Client) CreateMockTicketsShort(params *CreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMockTicketsCreated, error)
- func (a *Client) GetAllMockMatches(params *GetAllMockMatchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockMatchesOK, *GetAllMockMatchesBadRequest, ...)deprecated
- func (a *Client) GetAllMockMatchesShort(params *GetAllMockMatchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockMatchesOK, error)
- func (a *Client) GetAllMockTickets(params *GetAllMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockTicketsOK, *GetAllMockTicketsBadRequest, ...)deprecated
- func (a *Client) GetAllMockTicketsShort(params *GetAllMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockTicketsOK, error)
- func (a *Client) GetMockMatchesByTimestamp(params *GetMockMatchesByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockMatchesByTimestampOK, *GetMockMatchesByTimestampBadRequest, ...)deprecated
- func (a *Client) GetMockMatchesByTimestampShort(params *GetMockMatchesByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockMatchesByTimestampOK, error)
- func (a *Client) GetMockTicketsByTimestamp(params *GetMockTicketsByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockTicketsByTimestampOK, *GetMockTicketsByTimestampBadRequest, ...)deprecated
- func (a *Client) GetMockTicketsByTimestampShort(params *GetMockTicketsByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockTicketsByTimestampOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateMockTicketsBadRequest
- type CreateMockTicketsCreated
- type CreateMockTicketsForbidden
- type CreateMockTicketsInternalServerError
- type CreateMockTicketsNotFound
- type CreateMockTicketsParams
- func NewCreateMockTicketsParams() *CreateMockTicketsParams
- func NewCreateMockTicketsParamsWithContext(ctx context.Context) *CreateMockTicketsParams
- func NewCreateMockTicketsParamsWithHTTPClient(client *http.Client) *CreateMockTicketsParams
- func NewCreateMockTicketsParamsWithTimeout(timeout time.Duration) *CreateMockTicketsParams
- func (o *CreateMockTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateMockTicketsParams) SetBody(body *matchmakingclientmodels.ModelsCreateMockTicket)
- func (o *CreateMockTicketsParams) SetChannelName(channelName string)
- func (o *CreateMockTicketsParams) SetContext(ctx context.Context)
- func (o *CreateMockTicketsParams) SetFlightId(flightId string)
- func (o *CreateMockTicketsParams) SetHTTPClient(client *http.Client)
- func (o *CreateMockTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateMockTicketsParams) SetNamespace(namespace string)
- func (o *CreateMockTicketsParams) SetTimeout(timeout time.Duration)
- func (o *CreateMockTicketsParams) WithBody(body *matchmakingclientmodels.ModelsCreateMockTicket) *CreateMockTicketsParams
- func (o *CreateMockTicketsParams) WithChannelName(channelName string) *CreateMockTicketsParams
- func (o *CreateMockTicketsParams) WithContext(ctx context.Context) *CreateMockTicketsParams
- func (o *CreateMockTicketsParams) WithHTTPClient(client *http.Client) *CreateMockTicketsParams
- func (o *CreateMockTicketsParams) WithNamespace(namespace string) *CreateMockTicketsParams
- func (o *CreateMockTicketsParams) WithTimeout(timeout time.Duration) *CreateMockTicketsParams
- func (o *CreateMockTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMockTicketsReader
- type CreateMockTicketsUnauthorized
- type GetAllMockMatchesBadRequest
- type GetAllMockMatchesForbidden
- type GetAllMockMatchesInternalServerError
- type GetAllMockMatchesNotFound
- type GetAllMockMatchesOK
- type GetAllMockMatchesParams
- func NewGetAllMockMatchesParams() *GetAllMockMatchesParams
- func NewGetAllMockMatchesParamsWithContext(ctx context.Context) *GetAllMockMatchesParams
- func NewGetAllMockMatchesParamsWithHTTPClient(client *http.Client) *GetAllMockMatchesParams
- func NewGetAllMockMatchesParamsWithTimeout(timeout time.Duration) *GetAllMockMatchesParams
- func (o *GetAllMockMatchesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetAllMockMatchesParams) SetChannelName(channelName string)
- func (o *GetAllMockMatchesParams) SetContext(ctx context.Context)
- func (o *GetAllMockMatchesParams) SetFlightId(flightId string)
- func (o *GetAllMockMatchesParams) SetHTTPClient(client *http.Client)
- func (o *GetAllMockMatchesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetAllMockMatchesParams) SetNamespace(namespace string)
- func (o *GetAllMockMatchesParams) SetTimeout(timeout time.Duration)
- func (o *GetAllMockMatchesParams) WithChannelName(channelName string) *GetAllMockMatchesParams
- func (o *GetAllMockMatchesParams) WithContext(ctx context.Context) *GetAllMockMatchesParams
- func (o *GetAllMockMatchesParams) WithHTTPClient(client *http.Client) *GetAllMockMatchesParams
- func (o *GetAllMockMatchesParams) WithNamespace(namespace string) *GetAllMockMatchesParams
- func (o *GetAllMockMatchesParams) WithTimeout(timeout time.Duration) *GetAllMockMatchesParams
- func (o *GetAllMockMatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllMockMatchesReader
- type GetAllMockMatchesUnauthorized
- type GetAllMockTicketsBadRequest
- type GetAllMockTicketsForbidden
- type GetAllMockTicketsInternalServerError
- type GetAllMockTicketsNotFound
- type GetAllMockTicketsOK
- type GetAllMockTicketsParams
- func NewGetAllMockTicketsParams() *GetAllMockTicketsParams
- func NewGetAllMockTicketsParamsWithContext(ctx context.Context) *GetAllMockTicketsParams
- func NewGetAllMockTicketsParamsWithHTTPClient(client *http.Client) *GetAllMockTicketsParams
- func NewGetAllMockTicketsParamsWithTimeout(timeout time.Duration) *GetAllMockTicketsParams
- func (o *GetAllMockTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetAllMockTicketsParams) SetChannelName(channelName string)
- func (o *GetAllMockTicketsParams) SetContext(ctx context.Context)
- func (o *GetAllMockTicketsParams) SetFlightId(flightId string)
- func (o *GetAllMockTicketsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllMockTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetAllMockTicketsParams) SetNamespace(namespace string)
- func (o *GetAllMockTicketsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllMockTicketsParams) WithChannelName(channelName string) *GetAllMockTicketsParams
- func (o *GetAllMockTicketsParams) WithContext(ctx context.Context) *GetAllMockTicketsParams
- func (o *GetAllMockTicketsParams) WithHTTPClient(client *http.Client) *GetAllMockTicketsParams
- func (o *GetAllMockTicketsParams) WithNamespace(namespace string) *GetAllMockTicketsParams
- func (o *GetAllMockTicketsParams) WithTimeout(timeout time.Duration) *GetAllMockTicketsParams
- func (o *GetAllMockTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllMockTicketsReader
- type GetAllMockTicketsUnauthorized
- type GetMockMatchesByTimestampBadRequest
- type GetMockMatchesByTimestampForbidden
- type GetMockMatchesByTimestampInternalServerError
- type GetMockMatchesByTimestampNotFound
- type GetMockMatchesByTimestampOK
- type GetMockMatchesByTimestampParams
- func NewGetMockMatchesByTimestampParams() *GetMockMatchesByTimestampParams
- func NewGetMockMatchesByTimestampParamsWithContext(ctx context.Context) *GetMockMatchesByTimestampParams
- func NewGetMockMatchesByTimestampParamsWithHTTPClient(client *http.Client) *GetMockMatchesByTimestampParams
- func NewGetMockMatchesByTimestampParamsWithTimeout(timeout time.Duration) *GetMockMatchesByTimestampParams
- func (o *GetMockMatchesByTimestampParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetMockMatchesByTimestampParams) SetBody(body *matchmakingclientmodels.ModelsQueryMockBy)
- func (o *GetMockMatchesByTimestampParams) SetChannelName(channelName string)
- func (o *GetMockMatchesByTimestampParams) SetContext(ctx context.Context)
- func (o *GetMockMatchesByTimestampParams) SetFlightId(flightId string)
- func (o *GetMockMatchesByTimestampParams) SetHTTPClient(client *http.Client)
- func (o *GetMockMatchesByTimestampParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetMockMatchesByTimestampParams) SetNamespace(namespace string)
- func (o *GetMockMatchesByTimestampParams) SetTimeout(timeout time.Duration)
- func (o *GetMockMatchesByTimestampParams) WithBody(body *matchmakingclientmodels.ModelsQueryMockBy) *GetMockMatchesByTimestampParams
- func (o *GetMockMatchesByTimestampParams) WithChannelName(channelName string) *GetMockMatchesByTimestampParams
- func (o *GetMockMatchesByTimestampParams) WithContext(ctx context.Context) *GetMockMatchesByTimestampParams
- func (o *GetMockMatchesByTimestampParams) WithHTTPClient(client *http.Client) *GetMockMatchesByTimestampParams
- func (o *GetMockMatchesByTimestampParams) WithNamespace(namespace string) *GetMockMatchesByTimestampParams
- func (o *GetMockMatchesByTimestampParams) WithTimeout(timeout time.Duration) *GetMockMatchesByTimestampParams
- func (o *GetMockMatchesByTimestampParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMockMatchesByTimestampReader
- type GetMockMatchesByTimestampUnauthorized
- type GetMockTicketsByTimestampBadRequest
- type GetMockTicketsByTimestampForbidden
- type GetMockTicketsByTimestampInternalServerError
- type GetMockTicketsByTimestampNotFound
- type GetMockTicketsByTimestampOK
- type GetMockTicketsByTimestampParams
- func NewGetMockTicketsByTimestampParams() *GetMockTicketsByTimestampParams
- func NewGetMockTicketsByTimestampParamsWithContext(ctx context.Context) *GetMockTicketsByTimestampParams
- func NewGetMockTicketsByTimestampParamsWithHTTPClient(client *http.Client) *GetMockTicketsByTimestampParams
- func NewGetMockTicketsByTimestampParamsWithTimeout(timeout time.Duration) *GetMockTicketsByTimestampParams
- func (o *GetMockTicketsByTimestampParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetMockTicketsByTimestampParams) SetBody(body *matchmakingclientmodels.ModelsQueryMockBy)
- func (o *GetMockTicketsByTimestampParams) SetChannelName(channelName string)
- func (o *GetMockTicketsByTimestampParams) SetContext(ctx context.Context)
- func (o *GetMockTicketsByTimestampParams) SetFlightId(flightId string)
- func (o *GetMockTicketsByTimestampParams) SetHTTPClient(client *http.Client)
- func (o *GetMockTicketsByTimestampParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetMockTicketsByTimestampParams) SetNamespace(namespace string)
- func (o *GetMockTicketsByTimestampParams) SetTimeout(timeout time.Duration)
- func (o *GetMockTicketsByTimestampParams) WithBody(body *matchmakingclientmodels.ModelsQueryMockBy) *GetMockTicketsByTimestampParams
- func (o *GetMockTicketsByTimestampParams) WithChannelName(channelName string) *GetMockTicketsByTimestampParams
- func (o *GetMockTicketsByTimestampParams) WithContext(ctx context.Context) *GetMockTicketsByTimestampParams
- func (o *GetMockTicketsByTimestampParams) WithHTTPClient(client *http.Client) *GetMockTicketsByTimestampParams
- func (o *GetMockTicketsByTimestampParams) WithNamespace(namespace string) *GetMockTicketsByTimestampParams
- func (o *GetMockTicketsByTimestampParams) WithTimeout(timeout time.Duration) *GetMockTicketsByTimestampParams
- func (o *GetMockTicketsByTimestampParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMockTicketsByTimestampReader
- type GetMockTicketsByTimestampUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkCreateMockTicketsBadRequest ¶
type BulkCreateMockTicketsBadRequest struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
BulkCreateMockTicketsBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewBulkCreateMockTicketsBadRequest ¶
func NewBulkCreateMockTicketsBadRequest() *BulkCreateMockTicketsBadRequest
NewBulkCreateMockTicketsBadRequest creates a BulkCreateMockTicketsBadRequest with default headers values
func (*BulkCreateMockTicketsBadRequest) Error ¶
func (o *BulkCreateMockTicketsBadRequest) Error() string
func (*BulkCreateMockTicketsBadRequest) GetPayload ¶
func (o *BulkCreateMockTicketsBadRequest) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*BulkCreateMockTicketsBadRequest) ToJSONString ¶
func (o *BulkCreateMockTicketsBadRequest) ToJSONString() string
type BulkCreateMockTicketsCreated ¶
type BulkCreateMockTicketsCreated struct { }
BulkCreateMockTicketsCreated handles this case with default header values.
Mock tickets created
func NewBulkCreateMockTicketsCreated ¶
func NewBulkCreateMockTicketsCreated() *BulkCreateMockTicketsCreated
NewBulkCreateMockTicketsCreated creates a BulkCreateMockTicketsCreated with default headers values
func (*BulkCreateMockTicketsCreated) Error ¶
func (o *BulkCreateMockTicketsCreated) Error() string
type BulkCreateMockTicketsForbidden ¶
type BulkCreateMockTicketsForbidden struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
BulkCreateMockTicketsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewBulkCreateMockTicketsForbidden ¶
func NewBulkCreateMockTicketsForbidden() *BulkCreateMockTicketsForbidden
NewBulkCreateMockTicketsForbidden creates a BulkCreateMockTicketsForbidden with default headers values
func (*BulkCreateMockTicketsForbidden) Error ¶
func (o *BulkCreateMockTicketsForbidden) Error() string
func (*BulkCreateMockTicketsForbidden) GetPayload ¶
func (o *BulkCreateMockTicketsForbidden) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*BulkCreateMockTicketsForbidden) ToJSONString ¶
func (o *BulkCreateMockTicketsForbidden) ToJSONString() string
type BulkCreateMockTicketsInternalServerError ¶
type BulkCreateMockTicketsInternalServerError struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
BulkCreateMockTicketsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewBulkCreateMockTicketsInternalServerError ¶
func NewBulkCreateMockTicketsInternalServerError() *BulkCreateMockTicketsInternalServerError
NewBulkCreateMockTicketsInternalServerError creates a BulkCreateMockTicketsInternalServerError with default headers values
func (*BulkCreateMockTicketsInternalServerError) Error ¶
func (o *BulkCreateMockTicketsInternalServerError) Error() string
func (*BulkCreateMockTicketsInternalServerError) GetPayload ¶
func (o *BulkCreateMockTicketsInternalServerError) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*BulkCreateMockTicketsInternalServerError) ToJSONString ¶
func (o *BulkCreateMockTicketsInternalServerError) ToJSONString() string
type BulkCreateMockTicketsNotFound ¶
type BulkCreateMockTicketsNotFound struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
BulkCreateMockTicketsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>510110</td><td>channel not found</td></tr></table>
func NewBulkCreateMockTicketsNotFound ¶
func NewBulkCreateMockTicketsNotFound() *BulkCreateMockTicketsNotFound
NewBulkCreateMockTicketsNotFound creates a BulkCreateMockTicketsNotFound with default headers values
func (*BulkCreateMockTicketsNotFound) Error ¶
func (o *BulkCreateMockTicketsNotFound) Error() string
func (*BulkCreateMockTicketsNotFound) GetPayload ¶
func (o *BulkCreateMockTicketsNotFound) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*BulkCreateMockTicketsNotFound) ToJSONString ¶
func (o *BulkCreateMockTicketsNotFound) ToJSONString() string
type BulkCreateMockTicketsParams ¶
type BulkCreateMockTicketsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*matchmakingclientmodels.ModelsMatchingParty /*ChannelName channel name, accept snake_case, lowercase, and numeric */ ChannelName string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
BulkCreateMockTicketsParams contains all the parameters to send to the API endpoint for the bulk create mock tickets operation typically these are written to a http.Request
func NewBulkCreateMockTicketsParams ¶
func NewBulkCreateMockTicketsParams() *BulkCreateMockTicketsParams
NewBulkCreateMockTicketsParams creates a new BulkCreateMockTicketsParams object with the default values initialized.
func NewBulkCreateMockTicketsParamsWithContext ¶
func NewBulkCreateMockTicketsParamsWithContext(ctx context.Context) *BulkCreateMockTicketsParams
NewBulkCreateMockTicketsParamsWithContext creates a new BulkCreateMockTicketsParams object with the default values initialized, and the ability to set a context for a request
func NewBulkCreateMockTicketsParamsWithHTTPClient ¶
func NewBulkCreateMockTicketsParamsWithHTTPClient(client *http.Client) *BulkCreateMockTicketsParams
NewBulkCreateMockTicketsParamsWithHTTPClient creates a new BulkCreateMockTicketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkCreateMockTicketsParamsWithTimeout ¶
func NewBulkCreateMockTicketsParamsWithTimeout(timeout time.Duration) *BulkCreateMockTicketsParams
NewBulkCreateMockTicketsParamsWithTimeout creates a new BulkCreateMockTicketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkCreateMockTicketsParams) SetAuthInfoWriter ¶
func (o *BulkCreateMockTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) SetBody ¶
func (o *BulkCreateMockTicketsParams) SetBody(body []*matchmakingclientmodels.ModelsMatchingParty)
SetBody adds the body to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) SetChannelName ¶
func (o *BulkCreateMockTicketsParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) SetContext ¶
func (o *BulkCreateMockTicketsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) SetFlightId ¶ added in v0.63.0
func (o *BulkCreateMockTicketsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*BulkCreateMockTicketsParams) SetHTTPClient ¶
func (o *BulkCreateMockTicketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) SetHTTPClientTransport ¶
func (o *BulkCreateMockTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) SetNamespace ¶
func (o *BulkCreateMockTicketsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) SetTimeout ¶
func (o *BulkCreateMockTicketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) WithBody ¶
func (o *BulkCreateMockTicketsParams) WithBody(body []*matchmakingclientmodels.ModelsMatchingParty) *BulkCreateMockTicketsParams
WithBody adds the body to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) WithChannelName ¶
func (o *BulkCreateMockTicketsParams) WithChannelName(channelName string) *BulkCreateMockTicketsParams
WithChannelName adds the channelName to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) WithContext ¶
func (o *BulkCreateMockTicketsParams) WithContext(ctx context.Context) *BulkCreateMockTicketsParams
WithContext adds the context to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) WithHTTPClient ¶
func (o *BulkCreateMockTicketsParams) WithHTTPClient(client *http.Client) *BulkCreateMockTicketsParams
WithHTTPClient adds the HTTPClient to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) WithNamespace ¶
func (o *BulkCreateMockTicketsParams) WithNamespace(namespace string) *BulkCreateMockTicketsParams
WithNamespace adds the namespace to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) WithTimeout ¶
func (o *BulkCreateMockTicketsParams) WithTimeout(timeout time.Duration) *BulkCreateMockTicketsParams
WithTimeout adds the timeout to the bulk create mock tickets params
func (*BulkCreateMockTicketsParams) WriteToRequest ¶
func (o *BulkCreateMockTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkCreateMockTicketsReader ¶
type BulkCreateMockTicketsReader struct {
// contains filtered or unexported fields
}
BulkCreateMockTicketsReader is a Reader for the BulkCreateMockTickets structure.
func (*BulkCreateMockTicketsReader) ReadResponse ¶
func (o *BulkCreateMockTicketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkCreateMockTicketsUnauthorized ¶
type BulkCreateMockTicketsUnauthorized struct {
}BulkCreateMockTicketsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewBulkCreateMockTicketsUnauthorized ¶
func NewBulkCreateMockTicketsUnauthorized() *BulkCreateMockTicketsUnauthorized
NewBulkCreateMockTicketsUnauthorized creates a BulkCreateMockTicketsUnauthorized with default headers values
func (*BulkCreateMockTicketsUnauthorized) Error ¶
func (o *BulkCreateMockTicketsUnauthorized) Error() string
func (*BulkCreateMockTicketsUnauthorized) GetPayload ¶
func (o *BulkCreateMockTicketsUnauthorized) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*BulkCreateMockTicketsUnauthorized) ToJSONString ¶
func (o *BulkCreateMockTicketsUnauthorized) ToJSONString() string
type CleanAllMocksBadRequest ¶
type CleanAllMocksBadRequest struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CleanAllMocksBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewCleanAllMocksBadRequest ¶
func NewCleanAllMocksBadRequest() *CleanAllMocksBadRequest
NewCleanAllMocksBadRequest creates a CleanAllMocksBadRequest with default headers values
func (*CleanAllMocksBadRequest) Error ¶
func (o *CleanAllMocksBadRequest) Error() string
func (*CleanAllMocksBadRequest) GetPayload ¶
func (o *CleanAllMocksBadRequest) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CleanAllMocksBadRequest) ToJSONString ¶
func (o *CleanAllMocksBadRequest) ToJSONString() string
type CleanAllMocksForbidden ¶
type CleanAllMocksForbidden struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CleanAllMocksForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewCleanAllMocksForbidden ¶
func NewCleanAllMocksForbidden() *CleanAllMocksForbidden
NewCleanAllMocksForbidden creates a CleanAllMocksForbidden with default headers values
func (*CleanAllMocksForbidden) Error ¶
func (o *CleanAllMocksForbidden) Error() string
func (*CleanAllMocksForbidden) GetPayload ¶
func (o *CleanAllMocksForbidden) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CleanAllMocksForbidden) ToJSONString ¶
func (o *CleanAllMocksForbidden) ToJSONString() string
type CleanAllMocksInternalServerError ¶
type CleanAllMocksInternalServerError struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CleanAllMocksInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewCleanAllMocksInternalServerError ¶
func NewCleanAllMocksInternalServerError() *CleanAllMocksInternalServerError
NewCleanAllMocksInternalServerError creates a CleanAllMocksInternalServerError with default headers values
func (*CleanAllMocksInternalServerError) Error ¶
func (o *CleanAllMocksInternalServerError) Error() string
func (*CleanAllMocksInternalServerError) GetPayload ¶
func (o *CleanAllMocksInternalServerError) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CleanAllMocksInternalServerError) ToJSONString ¶
func (o *CleanAllMocksInternalServerError) ToJSONString() string
type CleanAllMocksNoContent ¶
type CleanAllMocksNoContent struct { }
CleanAllMocksNoContent handles this case with default header values.
Mocks cleaned up
func NewCleanAllMocksNoContent ¶
func NewCleanAllMocksNoContent() *CleanAllMocksNoContent
NewCleanAllMocksNoContent creates a CleanAllMocksNoContent with default headers values
func (*CleanAllMocksNoContent) Error ¶
func (o *CleanAllMocksNoContent) Error() string
type CleanAllMocksNotFound ¶
type CleanAllMocksNotFound struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CleanAllMocksNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>510110</td><td>channel not found</td></tr></table>
func NewCleanAllMocksNotFound ¶
func NewCleanAllMocksNotFound() *CleanAllMocksNotFound
NewCleanAllMocksNotFound creates a CleanAllMocksNotFound with default headers values
func (*CleanAllMocksNotFound) Error ¶
func (o *CleanAllMocksNotFound) Error() string
func (*CleanAllMocksNotFound) GetPayload ¶
func (o *CleanAllMocksNotFound) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CleanAllMocksNotFound) ToJSONString ¶
func (o *CleanAllMocksNotFound) ToJSONString() string
type CleanAllMocksParams ¶
type CleanAllMocksParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelName channel name, accept snake_case, lowercase, and numeric */ ChannelName string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
CleanAllMocksParams contains all the parameters to send to the API endpoint for the clean all mocks operation typically these are written to a http.Request
func NewCleanAllMocksParams ¶
func NewCleanAllMocksParams() *CleanAllMocksParams
NewCleanAllMocksParams creates a new CleanAllMocksParams object with the default values initialized.
func NewCleanAllMocksParamsWithContext ¶
func NewCleanAllMocksParamsWithContext(ctx context.Context) *CleanAllMocksParams
NewCleanAllMocksParamsWithContext creates a new CleanAllMocksParams object with the default values initialized, and the ability to set a context for a request
func NewCleanAllMocksParamsWithHTTPClient ¶
func NewCleanAllMocksParamsWithHTTPClient(client *http.Client) *CleanAllMocksParams
NewCleanAllMocksParamsWithHTTPClient creates a new CleanAllMocksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCleanAllMocksParamsWithTimeout ¶
func NewCleanAllMocksParamsWithTimeout(timeout time.Duration) *CleanAllMocksParams
NewCleanAllMocksParamsWithTimeout creates a new CleanAllMocksParams object with the default values initialized, and the ability to set a timeout on a request
func (*CleanAllMocksParams) SetAuthInfoWriter ¶
func (o *CleanAllMocksParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the clean all mocks params
func (*CleanAllMocksParams) SetChannelName ¶
func (o *CleanAllMocksParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the clean all mocks params
func (*CleanAllMocksParams) SetContext ¶
func (o *CleanAllMocksParams) SetContext(ctx context.Context)
SetContext adds the context to the clean all mocks params
func (*CleanAllMocksParams) SetFlightId ¶ added in v0.63.0
func (o *CleanAllMocksParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CleanAllMocksParams) SetHTTPClient ¶
func (o *CleanAllMocksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clean all mocks params
func (*CleanAllMocksParams) SetHTTPClientTransport ¶
func (o *CleanAllMocksParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the clean all mocks params
func (*CleanAllMocksParams) SetNamespace ¶
func (o *CleanAllMocksParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the clean all mocks params
func (*CleanAllMocksParams) SetTimeout ¶
func (o *CleanAllMocksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clean all mocks params
func (*CleanAllMocksParams) WithChannelName ¶
func (o *CleanAllMocksParams) WithChannelName(channelName string) *CleanAllMocksParams
WithChannelName adds the channelName to the clean all mocks params
func (*CleanAllMocksParams) WithContext ¶
func (o *CleanAllMocksParams) WithContext(ctx context.Context) *CleanAllMocksParams
WithContext adds the context to the clean all mocks params
func (*CleanAllMocksParams) WithHTTPClient ¶
func (o *CleanAllMocksParams) WithHTTPClient(client *http.Client) *CleanAllMocksParams
WithHTTPClient adds the HTTPClient to the clean all mocks params
func (*CleanAllMocksParams) WithNamespace ¶
func (o *CleanAllMocksParams) WithNamespace(namespace string) *CleanAllMocksParams
WithNamespace adds the namespace to the clean all mocks params
func (*CleanAllMocksParams) WithTimeout ¶
func (o *CleanAllMocksParams) WithTimeout(timeout time.Duration) *CleanAllMocksParams
WithTimeout adds the timeout to the clean all mocks params
func (*CleanAllMocksParams) WriteToRequest ¶
func (o *CleanAllMocksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CleanAllMocksReader ¶
type CleanAllMocksReader struct {
// contains filtered or unexported fields
}
CleanAllMocksReader is a Reader for the CleanAllMocks structure.
func (*CleanAllMocksReader) ReadResponse ¶
func (o *CleanAllMocksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CleanAllMocksUnauthorized ¶
type CleanAllMocksUnauthorized struct {
}CleanAllMocksUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewCleanAllMocksUnauthorized ¶
func NewCleanAllMocksUnauthorized() *CleanAllMocksUnauthorized
NewCleanAllMocksUnauthorized creates a CleanAllMocksUnauthorized with default headers values
func (*CleanAllMocksUnauthorized) Error ¶
func (o *CleanAllMocksUnauthorized) Error() string
func (*CleanAllMocksUnauthorized) GetPayload ¶
func (o *CleanAllMocksUnauthorized) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CleanAllMocksUnauthorized) ToJSONString ¶
func (o *CleanAllMocksUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for mock matchmaking API
func (*Client) BulkCreateMockTickets
deprecated
func (a *Client) BulkCreateMockTickets(params *BulkCreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreateMockTicketsCreated, *BulkCreateMockTicketsBadRequest, *BulkCreateMockTicketsUnauthorized, *BulkCreateMockTicketsForbidden, *BulkCreateMockTicketsNotFound, *BulkCreateMockTicketsInternalServerError, error)
Deprecated: 2022-08-10 - Use BulkCreateMockTicketsShort instead.
BulkCreateMockTickets bulk create mock tickets Create and queue mock tickets into specified game mode's pool. The tickets input will be used as is. '
func (*Client) BulkCreateMockTicketsShort ¶
func (a *Client) BulkCreateMockTicketsShort(params *BulkCreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreateMockTicketsCreated, error)
BulkCreateMockTicketsShort bulk create mock tickets Create and queue mock tickets into specified game mode's pool. The tickets input will be used as is. '
func (*Client) CleanAllMocks
deprecated
func (a *Client) CleanAllMocks(params *CleanAllMocksParams, authInfo runtime.ClientAuthInfoWriter) (*CleanAllMocksNoContent, *CleanAllMocksBadRequest, *CleanAllMocksUnauthorized, *CleanAllMocksForbidden, *CleanAllMocksNotFound, *CleanAllMocksInternalServerError, error)
Deprecated: 2022-08-10 - Use CleanAllMocksShort instead.
CleanAllMocks delete all mock tickets and matches Delete all mock tickets and matches in a channel. '
func (*Client) CleanAllMocksShort ¶
func (a *Client) CleanAllMocksShort(params *CleanAllMocksParams, authInfo runtime.ClientAuthInfoWriter) (*CleanAllMocksNoContent, error)
CleanAllMocksShort delete all mock tickets and matches Delete all mock tickets and matches in a channel. '
func (*Client) CreateMockTickets
deprecated
func (a *Client) CreateMockTickets(params *CreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMockTicketsCreated, *CreateMockTicketsBadRequest, *CreateMockTicketsUnauthorized, *CreateMockTicketsForbidden, *CreateMockTicketsNotFound, *CreateMockTicketsInternalServerError, error)
Deprecated: 2022-08-10 - Use CreateMockTicketsShort instead.
CreateMockTickets create mock tickets Create and queue mock tickets into specified game mode's pool. Ticket's MMRs will be randomized using Normal distribution according to the input mean and standard deviation. All mock tickets and matches will be cleaned up automatically after 1 day. '
func (*Client) CreateMockTicketsShort ¶
func (a *Client) CreateMockTicketsShort(params *CreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMockTicketsCreated, error)
CreateMockTicketsShort create mock tickets Create and queue mock tickets into specified game mode's pool. Ticket's MMRs will be randomized using Normal distribution according to the input mean and standard deviation. All mock tickets and matches will be cleaned up automatically after 1 day. '
func (*Client) GetAllMockMatches
deprecated
func (a *Client) GetAllMockMatches(params *GetAllMockMatchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockMatchesOK, *GetAllMockMatchesBadRequest, *GetAllMockMatchesUnauthorized, *GetAllMockMatchesForbidden, *GetAllMockMatchesNotFound, *GetAllMockMatchesInternalServerError, error)
Deprecated: 2022-08-10 - Use GetAllMockMatchesShort instead.
GetAllMockMatches get all mock matches Read all mock matches in a channel resulted from matching mock tickets. '
func (*Client) GetAllMockMatchesShort ¶
func (a *Client) GetAllMockMatchesShort(params *GetAllMockMatchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockMatchesOK, error)
GetAllMockMatchesShort get all mock matches Read all mock matches in a channel resulted from matching mock tickets. '
func (*Client) GetAllMockTickets
deprecated
func (a *Client) GetAllMockTickets(params *GetAllMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockTicketsOK, *GetAllMockTicketsBadRequest, *GetAllMockTicketsUnauthorized, *GetAllMockTicketsForbidden, *GetAllMockTicketsNotFound, *GetAllMockTicketsInternalServerError, error)
Deprecated: 2022-08-10 - Use GetAllMockTicketsShort instead.
GetAllMockTickets get all mock tickets Read all mock tickets in a channel. '
func (*Client) GetAllMockTicketsShort ¶
func (a *Client) GetAllMockTicketsShort(params *GetAllMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockTicketsOK, error)
GetAllMockTicketsShort get all mock tickets Read all mock tickets in a channel. '
func (*Client) GetMockMatchesByTimestamp
deprecated
func (a *Client) GetMockMatchesByTimestamp(params *GetMockMatchesByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockMatchesByTimestampOK, *GetMockMatchesByTimestampBadRequest, *GetMockMatchesByTimestampUnauthorized, *GetMockMatchesByTimestampForbidden, *GetMockMatchesByTimestampNotFound, *GetMockMatchesByTimestampInternalServerError, error)
Deprecated: 2022-08-10 - Use GetMockMatchesByTimestampShort instead.
GetMockMatchesByTimestamp get mock matches after timestamp Read mock matches that has timestamp older than specified timestamp in a channel resulted from matching mock tickets. '
func (*Client) GetMockMatchesByTimestampShort ¶
func (a *Client) GetMockMatchesByTimestampShort(params *GetMockMatchesByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockMatchesByTimestampOK, error)
GetMockMatchesByTimestampShort get mock matches after timestamp Read mock matches that has timestamp older than specified timestamp in a channel resulted from matching mock tickets. '
func (*Client) GetMockTicketsByTimestamp
deprecated
func (a *Client) GetMockTicketsByTimestamp(params *GetMockTicketsByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockTicketsByTimestampOK, *GetMockTicketsByTimestampBadRequest, *GetMockTicketsByTimestampUnauthorized, *GetMockTicketsByTimestampForbidden, *GetMockTicketsByTimestampNotFound, *GetMockTicketsByTimestampInternalServerError, error)
Deprecated: 2022-08-10 - Use GetMockTicketsByTimestampShort instead.
GetMockTicketsByTimestamp get mock tickets after timestamp Read mock tickets after the specified timestamp in a channel. '
func (*Client) GetMockTicketsByTimestampShort ¶
func (a *Client) GetMockTicketsByTimestampShort(params *GetMockTicketsByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockTicketsByTimestampOK, error)
GetMockTicketsByTimestampShort get mock tickets after timestamp Read mock tickets after the specified timestamp in a channel. '
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CleanAllMocks(params *CleanAllMocksParams, authInfo runtime.ClientAuthInfoWriter) (*CleanAllMocksNoContent, *CleanAllMocksBadRequest, *CleanAllMocksUnauthorized, *CleanAllMocksForbidden, *CleanAllMocksNotFound, *CleanAllMocksInternalServerError, error) CleanAllMocksShort(params *CleanAllMocksParams, authInfo runtime.ClientAuthInfoWriter) (*CleanAllMocksNoContent, error) GetAllMockMatches(params *GetAllMockMatchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockMatchesOK, *GetAllMockMatchesBadRequest, *GetAllMockMatchesUnauthorized, *GetAllMockMatchesForbidden, *GetAllMockMatchesNotFound, *GetAllMockMatchesInternalServerError, error) GetAllMockMatchesShort(params *GetAllMockMatchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockMatchesOK, error) GetMockMatchesByTimestamp(params *GetMockMatchesByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockMatchesByTimestampOK, *GetMockMatchesByTimestampBadRequest, *GetMockMatchesByTimestampUnauthorized, *GetMockMatchesByTimestampForbidden, *GetMockMatchesByTimestampNotFound, *GetMockMatchesByTimestampInternalServerError, error) GetMockMatchesByTimestampShort(params *GetMockMatchesByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockMatchesByTimestampOK, error) GetAllMockTickets(params *GetAllMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockTicketsOK, *GetAllMockTicketsBadRequest, *GetAllMockTicketsUnauthorized, *GetAllMockTicketsForbidden, *GetAllMockTicketsNotFound, *GetAllMockTicketsInternalServerError, error) GetAllMockTicketsShort(params *GetAllMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllMockTicketsOK, error) CreateMockTickets(params *CreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMockTicketsCreated, *CreateMockTicketsBadRequest, *CreateMockTicketsUnauthorized, *CreateMockTicketsForbidden, *CreateMockTicketsNotFound, *CreateMockTicketsInternalServerError, error) CreateMockTicketsShort(params *CreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMockTicketsCreated, error) BulkCreateMockTickets(params *BulkCreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreateMockTicketsCreated, *BulkCreateMockTicketsBadRequest, *BulkCreateMockTicketsUnauthorized, *BulkCreateMockTicketsForbidden, *BulkCreateMockTicketsNotFound, *BulkCreateMockTicketsInternalServerError, error) BulkCreateMockTicketsShort(params *BulkCreateMockTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreateMockTicketsCreated, error) GetMockTicketsByTimestamp(params *GetMockTicketsByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockTicketsByTimestampOK, *GetMockTicketsByTimestampBadRequest, *GetMockTicketsByTimestampUnauthorized, *GetMockTicketsByTimestampForbidden, *GetMockTicketsByTimestampNotFound, *GetMockTicketsByTimestampInternalServerError, error) GetMockTicketsByTimestampShort(params *GetMockTicketsByTimestampParams, authInfo runtime.ClientAuthInfoWriter) (*GetMockTicketsByTimestampOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new mock matchmaking API client.
type CreateMockTicketsBadRequest ¶
type CreateMockTicketsBadRequest struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CreateMockTicketsBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewCreateMockTicketsBadRequest ¶
func NewCreateMockTicketsBadRequest() *CreateMockTicketsBadRequest
NewCreateMockTicketsBadRequest creates a CreateMockTicketsBadRequest with default headers values
func (*CreateMockTicketsBadRequest) Error ¶
func (o *CreateMockTicketsBadRequest) Error() string
func (*CreateMockTicketsBadRequest) GetPayload ¶
func (o *CreateMockTicketsBadRequest) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CreateMockTicketsBadRequest) ToJSONString ¶
func (o *CreateMockTicketsBadRequest) ToJSONString() string
type CreateMockTicketsCreated ¶
type CreateMockTicketsCreated struct {
Payload []*matchmakingclientmodels.ModelsMockTicket
}
CreateMockTicketsCreated handles this case with default header values.
Mock tickets created
func NewCreateMockTicketsCreated ¶
func NewCreateMockTicketsCreated() *CreateMockTicketsCreated
NewCreateMockTicketsCreated creates a CreateMockTicketsCreated with default headers values
func (*CreateMockTicketsCreated) Error ¶
func (o *CreateMockTicketsCreated) Error() string
func (*CreateMockTicketsCreated) GetPayload ¶
func (o *CreateMockTicketsCreated) GetPayload() []*matchmakingclientmodels.ModelsMockTicket
func (*CreateMockTicketsCreated) ToJSONString ¶
func (o *CreateMockTicketsCreated) ToJSONString() string
type CreateMockTicketsForbidden ¶
type CreateMockTicketsForbidden struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CreateMockTicketsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewCreateMockTicketsForbidden ¶
func NewCreateMockTicketsForbidden() *CreateMockTicketsForbidden
NewCreateMockTicketsForbidden creates a CreateMockTicketsForbidden with default headers values
func (*CreateMockTicketsForbidden) Error ¶
func (o *CreateMockTicketsForbidden) Error() string
func (*CreateMockTicketsForbidden) GetPayload ¶
func (o *CreateMockTicketsForbidden) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CreateMockTicketsForbidden) ToJSONString ¶
func (o *CreateMockTicketsForbidden) ToJSONString() string
type CreateMockTicketsInternalServerError ¶
type CreateMockTicketsInternalServerError struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CreateMockTicketsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewCreateMockTicketsInternalServerError ¶
func NewCreateMockTicketsInternalServerError() *CreateMockTicketsInternalServerError
NewCreateMockTicketsInternalServerError creates a CreateMockTicketsInternalServerError with default headers values
func (*CreateMockTicketsInternalServerError) Error ¶
func (o *CreateMockTicketsInternalServerError) Error() string
func (*CreateMockTicketsInternalServerError) GetPayload ¶
func (o *CreateMockTicketsInternalServerError) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CreateMockTicketsInternalServerError) ToJSONString ¶
func (o *CreateMockTicketsInternalServerError) ToJSONString() string
type CreateMockTicketsNotFound ¶
type CreateMockTicketsNotFound struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
CreateMockTicketsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>510110</td><td>channel not found</td></tr></table>
func NewCreateMockTicketsNotFound ¶
func NewCreateMockTicketsNotFound() *CreateMockTicketsNotFound
NewCreateMockTicketsNotFound creates a CreateMockTicketsNotFound with default headers values
func (*CreateMockTicketsNotFound) Error ¶
func (o *CreateMockTicketsNotFound) Error() string
func (*CreateMockTicketsNotFound) GetPayload ¶
func (o *CreateMockTicketsNotFound) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CreateMockTicketsNotFound) ToJSONString ¶
func (o *CreateMockTicketsNotFound) ToJSONString() string
type CreateMockTicketsParams ¶
type CreateMockTicketsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *matchmakingclientmodels.ModelsCreateMockTicket /*ChannelName channel name, accept snake_case, lowercase, and numeric */ ChannelName string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
CreateMockTicketsParams contains all the parameters to send to the API endpoint for the create mock tickets operation typically these are written to a http.Request
func NewCreateMockTicketsParams ¶
func NewCreateMockTicketsParams() *CreateMockTicketsParams
NewCreateMockTicketsParams creates a new CreateMockTicketsParams object with the default values initialized.
func NewCreateMockTicketsParamsWithContext ¶
func NewCreateMockTicketsParamsWithContext(ctx context.Context) *CreateMockTicketsParams
NewCreateMockTicketsParamsWithContext creates a new CreateMockTicketsParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMockTicketsParamsWithHTTPClient ¶
func NewCreateMockTicketsParamsWithHTTPClient(client *http.Client) *CreateMockTicketsParams
NewCreateMockTicketsParamsWithHTTPClient creates a new CreateMockTicketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMockTicketsParamsWithTimeout ¶
func NewCreateMockTicketsParamsWithTimeout(timeout time.Duration) *CreateMockTicketsParams
NewCreateMockTicketsParamsWithTimeout creates a new CreateMockTicketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMockTicketsParams) SetAuthInfoWriter ¶
func (o *CreateMockTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create mock tickets params
func (*CreateMockTicketsParams) SetBody ¶
func (o *CreateMockTicketsParams) SetBody(body *matchmakingclientmodels.ModelsCreateMockTicket)
SetBody adds the body to the create mock tickets params
func (*CreateMockTicketsParams) SetChannelName ¶
func (o *CreateMockTicketsParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the create mock tickets params
func (*CreateMockTicketsParams) SetContext ¶
func (o *CreateMockTicketsParams) SetContext(ctx context.Context)
SetContext adds the context to the create mock tickets params
func (*CreateMockTicketsParams) SetFlightId ¶ added in v0.63.0
func (o *CreateMockTicketsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreateMockTicketsParams) SetHTTPClient ¶
func (o *CreateMockTicketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create mock tickets params
func (*CreateMockTicketsParams) SetHTTPClientTransport ¶
func (o *CreateMockTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create mock tickets params
func (*CreateMockTicketsParams) SetNamespace ¶
func (o *CreateMockTicketsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create mock tickets params
func (*CreateMockTicketsParams) SetTimeout ¶
func (o *CreateMockTicketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create mock tickets params
func (*CreateMockTicketsParams) WithBody ¶
func (o *CreateMockTicketsParams) WithBody(body *matchmakingclientmodels.ModelsCreateMockTicket) *CreateMockTicketsParams
WithBody adds the body to the create mock tickets params
func (*CreateMockTicketsParams) WithChannelName ¶
func (o *CreateMockTicketsParams) WithChannelName(channelName string) *CreateMockTicketsParams
WithChannelName adds the channelName to the create mock tickets params
func (*CreateMockTicketsParams) WithContext ¶
func (o *CreateMockTicketsParams) WithContext(ctx context.Context) *CreateMockTicketsParams
WithContext adds the context to the create mock tickets params
func (*CreateMockTicketsParams) WithHTTPClient ¶
func (o *CreateMockTicketsParams) WithHTTPClient(client *http.Client) *CreateMockTicketsParams
WithHTTPClient adds the HTTPClient to the create mock tickets params
func (*CreateMockTicketsParams) WithNamespace ¶
func (o *CreateMockTicketsParams) WithNamespace(namespace string) *CreateMockTicketsParams
WithNamespace adds the namespace to the create mock tickets params
func (*CreateMockTicketsParams) WithTimeout ¶
func (o *CreateMockTicketsParams) WithTimeout(timeout time.Duration) *CreateMockTicketsParams
WithTimeout adds the timeout to the create mock tickets params
func (*CreateMockTicketsParams) WriteToRequest ¶
func (o *CreateMockTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMockTicketsReader ¶
type CreateMockTicketsReader struct {
// contains filtered or unexported fields
}
CreateMockTicketsReader is a Reader for the CreateMockTickets structure.
func (*CreateMockTicketsReader) ReadResponse ¶
func (o *CreateMockTicketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMockTicketsUnauthorized ¶
type CreateMockTicketsUnauthorized struct {
}CreateMockTicketsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewCreateMockTicketsUnauthorized ¶
func NewCreateMockTicketsUnauthorized() *CreateMockTicketsUnauthorized
NewCreateMockTicketsUnauthorized creates a CreateMockTicketsUnauthorized with default headers values
func (*CreateMockTicketsUnauthorized) Error ¶
func (o *CreateMockTicketsUnauthorized) Error() string
func (*CreateMockTicketsUnauthorized) GetPayload ¶
func (o *CreateMockTicketsUnauthorized) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*CreateMockTicketsUnauthorized) ToJSONString ¶
func (o *CreateMockTicketsUnauthorized) ToJSONString() string
type GetAllMockMatchesBadRequest ¶
type GetAllMockMatchesBadRequest struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockMatchesBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewGetAllMockMatchesBadRequest ¶
func NewGetAllMockMatchesBadRequest() *GetAllMockMatchesBadRequest
NewGetAllMockMatchesBadRequest creates a GetAllMockMatchesBadRequest with default headers values
func (*GetAllMockMatchesBadRequest) Error ¶
func (o *GetAllMockMatchesBadRequest) Error() string
func (*GetAllMockMatchesBadRequest) GetPayload ¶
func (o *GetAllMockMatchesBadRequest) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockMatchesBadRequest) ToJSONString ¶
func (o *GetAllMockMatchesBadRequest) ToJSONString() string
type GetAllMockMatchesForbidden ¶
type GetAllMockMatchesForbidden struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockMatchesForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewGetAllMockMatchesForbidden ¶
func NewGetAllMockMatchesForbidden() *GetAllMockMatchesForbidden
NewGetAllMockMatchesForbidden creates a GetAllMockMatchesForbidden with default headers values
func (*GetAllMockMatchesForbidden) Error ¶
func (o *GetAllMockMatchesForbidden) Error() string
func (*GetAllMockMatchesForbidden) GetPayload ¶
func (o *GetAllMockMatchesForbidden) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockMatchesForbidden) ToJSONString ¶
func (o *GetAllMockMatchesForbidden) ToJSONString() string
type GetAllMockMatchesInternalServerError ¶
type GetAllMockMatchesInternalServerError struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockMatchesInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetAllMockMatchesInternalServerError ¶
func NewGetAllMockMatchesInternalServerError() *GetAllMockMatchesInternalServerError
NewGetAllMockMatchesInternalServerError creates a GetAllMockMatchesInternalServerError with default headers values
func (*GetAllMockMatchesInternalServerError) Error ¶
func (o *GetAllMockMatchesInternalServerError) Error() string
func (*GetAllMockMatchesInternalServerError) GetPayload ¶
func (o *GetAllMockMatchesInternalServerError) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockMatchesInternalServerError) ToJSONString ¶
func (o *GetAllMockMatchesInternalServerError) ToJSONString() string
type GetAllMockMatchesNotFound ¶
type GetAllMockMatchesNotFound struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockMatchesNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>510110</td><td>channel not found</td></tr></table>
func NewGetAllMockMatchesNotFound ¶
func NewGetAllMockMatchesNotFound() *GetAllMockMatchesNotFound
NewGetAllMockMatchesNotFound creates a GetAllMockMatchesNotFound with default headers values
func (*GetAllMockMatchesNotFound) Error ¶
func (o *GetAllMockMatchesNotFound) Error() string
func (*GetAllMockMatchesNotFound) GetPayload ¶
func (o *GetAllMockMatchesNotFound) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockMatchesNotFound) ToJSONString ¶
func (o *GetAllMockMatchesNotFound) ToJSONString() string
type GetAllMockMatchesOK ¶
type GetAllMockMatchesOK struct {
Payload *matchmakingclientmodels.ModelsGetMockMatchesResponse
}
GetAllMockMatchesOK handles this case with default header values.
Mock matches queried
func NewGetAllMockMatchesOK ¶
func NewGetAllMockMatchesOK() *GetAllMockMatchesOK
NewGetAllMockMatchesOK creates a GetAllMockMatchesOK with default headers values
func (*GetAllMockMatchesOK) Error ¶
func (o *GetAllMockMatchesOK) Error() string
func (*GetAllMockMatchesOK) GetPayload ¶
func (o *GetAllMockMatchesOK) GetPayload() *matchmakingclientmodels.ModelsGetMockMatchesResponse
func (*GetAllMockMatchesOK) ToJSONString ¶
func (o *GetAllMockMatchesOK) ToJSONString() string
type GetAllMockMatchesParams ¶
type GetAllMockMatchesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelName channel name, accept snake_case, lowercase, and numeric */ ChannelName string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetAllMockMatchesParams contains all the parameters to send to the API endpoint for the get all mock matches operation typically these are written to a http.Request
func NewGetAllMockMatchesParams ¶
func NewGetAllMockMatchesParams() *GetAllMockMatchesParams
NewGetAllMockMatchesParams creates a new GetAllMockMatchesParams object with the default values initialized.
func NewGetAllMockMatchesParamsWithContext ¶
func NewGetAllMockMatchesParamsWithContext(ctx context.Context) *GetAllMockMatchesParams
NewGetAllMockMatchesParamsWithContext creates a new GetAllMockMatchesParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllMockMatchesParamsWithHTTPClient ¶
func NewGetAllMockMatchesParamsWithHTTPClient(client *http.Client) *GetAllMockMatchesParams
NewGetAllMockMatchesParamsWithHTTPClient creates a new GetAllMockMatchesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllMockMatchesParamsWithTimeout ¶
func NewGetAllMockMatchesParamsWithTimeout(timeout time.Duration) *GetAllMockMatchesParams
NewGetAllMockMatchesParamsWithTimeout creates a new GetAllMockMatchesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllMockMatchesParams) SetAuthInfoWriter ¶
func (o *GetAllMockMatchesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get all mock matches params
func (*GetAllMockMatchesParams) SetChannelName ¶
func (o *GetAllMockMatchesParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the get all mock matches params
func (*GetAllMockMatchesParams) SetContext ¶
func (o *GetAllMockMatchesParams) SetContext(ctx context.Context)
SetContext adds the context to the get all mock matches params
func (*GetAllMockMatchesParams) SetFlightId ¶ added in v0.63.0
func (o *GetAllMockMatchesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetAllMockMatchesParams) SetHTTPClient ¶
func (o *GetAllMockMatchesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all mock matches params
func (*GetAllMockMatchesParams) SetHTTPClientTransport ¶
func (o *GetAllMockMatchesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get all mock matches params
func (*GetAllMockMatchesParams) SetNamespace ¶
func (o *GetAllMockMatchesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get all mock matches params
func (*GetAllMockMatchesParams) SetTimeout ¶
func (o *GetAllMockMatchesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all mock matches params
func (*GetAllMockMatchesParams) WithChannelName ¶
func (o *GetAllMockMatchesParams) WithChannelName(channelName string) *GetAllMockMatchesParams
WithChannelName adds the channelName to the get all mock matches params
func (*GetAllMockMatchesParams) WithContext ¶
func (o *GetAllMockMatchesParams) WithContext(ctx context.Context) *GetAllMockMatchesParams
WithContext adds the context to the get all mock matches params
func (*GetAllMockMatchesParams) WithHTTPClient ¶
func (o *GetAllMockMatchesParams) WithHTTPClient(client *http.Client) *GetAllMockMatchesParams
WithHTTPClient adds the HTTPClient to the get all mock matches params
func (*GetAllMockMatchesParams) WithNamespace ¶
func (o *GetAllMockMatchesParams) WithNamespace(namespace string) *GetAllMockMatchesParams
WithNamespace adds the namespace to the get all mock matches params
func (*GetAllMockMatchesParams) WithTimeout ¶
func (o *GetAllMockMatchesParams) WithTimeout(timeout time.Duration) *GetAllMockMatchesParams
WithTimeout adds the timeout to the get all mock matches params
func (*GetAllMockMatchesParams) WriteToRequest ¶
func (o *GetAllMockMatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllMockMatchesReader ¶
type GetAllMockMatchesReader struct {
// contains filtered or unexported fields
}
GetAllMockMatchesReader is a Reader for the GetAllMockMatches structure.
func (*GetAllMockMatchesReader) ReadResponse ¶
func (o *GetAllMockMatchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllMockMatchesUnauthorized ¶
type GetAllMockMatchesUnauthorized struct {
}GetAllMockMatchesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetAllMockMatchesUnauthorized ¶
func NewGetAllMockMatchesUnauthorized() *GetAllMockMatchesUnauthorized
NewGetAllMockMatchesUnauthorized creates a GetAllMockMatchesUnauthorized with default headers values
func (*GetAllMockMatchesUnauthorized) Error ¶
func (o *GetAllMockMatchesUnauthorized) Error() string
func (*GetAllMockMatchesUnauthorized) GetPayload ¶
func (o *GetAllMockMatchesUnauthorized) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockMatchesUnauthorized) ToJSONString ¶
func (o *GetAllMockMatchesUnauthorized) ToJSONString() string
type GetAllMockTicketsBadRequest ¶
type GetAllMockTicketsBadRequest struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockTicketsBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewGetAllMockTicketsBadRequest ¶
func NewGetAllMockTicketsBadRequest() *GetAllMockTicketsBadRequest
NewGetAllMockTicketsBadRequest creates a GetAllMockTicketsBadRequest with default headers values
func (*GetAllMockTicketsBadRequest) Error ¶
func (o *GetAllMockTicketsBadRequest) Error() string
func (*GetAllMockTicketsBadRequest) GetPayload ¶
func (o *GetAllMockTicketsBadRequest) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockTicketsBadRequest) ToJSONString ¶
func (o *GetAllMockTicketsBadRequest) ToJSONString() string
type GetAllMockTicketsForbidden ¶
type GetAllMockTicketsForbidden struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockTicketsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewGetAllMockTicketsForbidden ¶
func NewGetAllMockTicketsForbidden() *GetAllMockTicketsForbidden
NewGetAllMockTicketsForbidden creates a GetAllMockTicketsForbidden with default headers values
func (*GetAllMockTicketsForbidden) Error ¶
func (o *GetAllMockTicketsForbidden) Error() string
func (*GetAllMockTicketsForbidden) GetPayload ¶
func (o *GetAllMockTicketsForbidden) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockTicketsForbidden) ToJSONString ¶
func (o *GetAllMockTicketsForbidden) ToJSONString() string
type GetAllMockTicketsInternalServerError ¶
type GetAllMockTicketsInternalServerError struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockTicketsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetAllMockTicketsInternalServerError ¶
func NewGetAllMockTicketsInternalServerError() *GetAllMockTicketsInternalServerError
NewGetAllMockTicketsInternalServerError creates a GetAllMockTicketsInternalServerError with default headers values
func (*GetAllMockTicketsInternalServerError) Error ¶
func (o *GetAllMockTicketsInternalServerError) Error() string
func (*GetAllMockTicketsInternalServerError) GetPayload ¶
func (o *GetAllMockTicketsInternalServerError) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockTicketsInternalServerError) ToJSONString ¶
func (o *GetAllMockTicketsInternalServerError) ToJSONString() string
type GetAllMockTicketsNotFound ¶
type GetAllMockTicketsNotFound struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetAllMockTicketsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>510110</td><td>channel not found</td></tr></table>
func NewGetAllMockTicketsNotFound ¶
func NewGetAllMockTicketsNotFound() *GetAllMockTicketsNotFound
NewGetAllMockTicketsNotFound creates a GetAllMockTicketsNotFound with default headers values
func (*GetAllMockTicketsNotFound) Error ¶
func (o *GetAllMockTicketsNotFound) Error() string
func (*GetAllMockTicketsNotFound) GetPayload ¶
func (o *GetAllMockTicketsNotFound) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockTicketsNotFound) ToJSONString ¶
func (o *GetAllMockTicketsNotFound) ToJSONString() string
type GetAllMockTicketsOK ¶
type GetAllMockTicketsOK struct {
Payload *matchmakingclientmodels.ModelsGetMockTicketsResponse
}
GetAllMockTicketsOK handles this case with default header values.
Mock tickets queried
func NewGetAllMockTicketsOK ¶
func NewGetAllMockTicketsOK() *GetAllMockTicketsOK
NewGetAllMockTicketsOK creates a GetAllMockTicketsOK with default headers values
func (*GetAllMockTicketsOK) Error ¶
func (o *GetAllMockTicketsOK) Error() string
func (*GetAllMockTicketsOK) GetPayload ¶
func (o *GetAllMockTicketsOK) GetPayload() *matchmakingclientmodels.ModelsGetMockTicketsResponse
func (*GetAllMockTicketsOK) ToJSONString ¶
func (o *GetAllMockTicketsOK) ToJSONString() string
type GetAllMockTicketsParams ¶
type GetAllMockTicketsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelName channel name, accept snake_case, lowercase, and numeric */ ChannelName string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetAllMockTicketsParams contains all the parameters to send to the API endpoint for the get all mock tickets operation typically these are written to a http.Request
func NewGetAllMockTicketsParams ¶
func NewGetAllMockTicketsParams() *GetAllMockTicketsParams
NewGetAllMockTicketsParams creates a new GetAllMockTicketsParams object with the default values initialized.
func NewGetAllMockTicketsParamsWithContext ¶
func NewGetAllMockTicketsParamsWithContext(ctx context.Context) *GetAllMockTicketsParams
NewGetAllMockTicketsParamsWithContext creates a new GetAllMockTicketsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllMockTicketsParamsWithHTTPClient ¶
func NewGetAllMockTicketsParamsWithHTTPClient(client *http.Client) *GetAllMockTicketsParams
NewGetAllMockTicketsParamsWithHTTPClient creates a new GetAllMockTicketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllMockTicketsParamsWithTimeout ¶
func NewGetAllMockTicketsParamsWithTimeout(timeout time.Duration) *GetAllMockTicketsParams
NewGetAllMockTicketsParamsWithTimeout creates a new GetAllMockTicketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllMockTicketsParams) SetAuthInfoWriter ¶
func (o *GetAllMockTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get all mock tickets params
func (*GetAllMockTicketsParams) SetChannelName ¶
func (o *GetAllMockTicketsParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the get all mock tickets params
func (*GetAllMockTicketsParams) SetContext ¶
func (o *GetAllMockTicketsParams) SetContext(ctx context.Context)
SetContext adds the context to the get all mock tickets params
func (*GetAllMockTicketsParams) SetFlightId ¶ added in v0.63.0
func (o *GetAllMockTicketsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetAllMockTicketsParams) SetHTTPClient ¶
func (o *GetAllMockTicketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all mock tickets params
func (*GetAllMockTicketsParams) SetHTTPClientTransport ¶
func (o *GetAllMockTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get all mock tickets params
func (*GetAllMockTicketsParams) SetNamespace ¶
func (o *GetAllMockTicketsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get all mock tickets params
func (*GetAllMockTicketsParams) SetTimeout ¶
func (o *GetAllMockTicketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all mock tickets params
func (*GetAllMockTicketsParams) WithChannelName ¶
func (o *GetAllMockTicketsParams) WithChannelName(channelName string) *GetAllMockTicketsParams
WithChannelName adds the channelName to the get all mock tickets params
func (*GetAllMockTicketsParams) WithContext ¶
func (o *GetAllMockTicketsParams) WithContext(ctx context.Context) *GetAllMockTicketsParams
WithContext adds the context to the get all mock tickets params
func (*GetAllMockTicketsParams) WithHTTPClient ¶
func (o *GetAllMockTicketsParams) WithHTTPClient(client *http.Client) *GetAllMockTicketsParams
WithHTTPClient adds the HTTPClient to the get all mock tickets params
func (*GetAllMockTicketsParams) WithNamespace ¶
func (o *GetAllMockTicketsParams) WithNamespace(namespace string) *GetAllMockTicketsParams
WithNamespace adds the namespace to the get all mock tickets params
func (*GetAllMockTicketsParams) WithTimeout ¶
func (o *GetAllMockTicketsParams) WithTimeout(timeout time.Duration) *GetAllMockTicketsParams
WithTimeout adds the timeout to the get all mock tickets params
func (*GetAllMockTicketsParams) WriteToRequest ¶
func (o *GetAllMockTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllMockTicketsReader ¶
type GetAllMockTicketsReader struct {
// contains filtered or unexported fields
}
GetAllMockTicketsReader is a Reader for the GetAllMockTickets structure.
func (*GetAllMockTicketsReader) ReadResponse ¶
func (o *GetAllMockTicketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllMockTicketsUnauthorized ¶
type GetAllMockTicketsUnauthorized struct {
}GetAllMockTicketsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetAllMockTicketsUnauthorized ¶
func NewGetAllMockTicketsUnauthorized() *GetAllMockTicketsUnauthorized
NewGetAllMockTicketsUnauthorized creates a GetAllMockTicketsUnauthorized with default headers values
func (*GetAllMockTicketsUnauthorized) Error ¶
func (o *GetAllMockTicketsUnauthorized) Error() string
func (*GetAllMockTicketsUnauthorized) GetPayload ¶
func (o *GetAllMockTicketsUnauthorized) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetAllMockTicketsUnauthorized) ToJSONString ¶
func (o *GetAllMockTicketsUnauthorized) ToJSONString() string
type GetMockMatchesByTimestampBadRequest ¶
type GetMockMatchesByTimestampBadRequest struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockMatchesByTimestampBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewGetMockMatchesByTimestampBadRequest ¶
func NewGetMockMatchesByTimestampBadRequest() *GetMockMatchesByTimestampBadRequest
NewGetMockMatchesByTimestampBadRequest creates a GetMockMatchesByTimestampBadRequest with default headers values
func (*GetMockMatchesByTimestampBadRequest) Error ¶
func (o *GetMockMatchesByTimestampBadRequest) Error() string
func (*GetMockMatchesByTimestampBadRequest) GetPayload ¶
func (o *GetMockMatchesByTimestampBadRequest) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockMatchesByTimestampBadRequest) ToJSONString ¶
func (o *GetMockMatchesByTimestampBadRequest) ToJSONString() string
type GetMockMatchesByTimestampForbidden ¶
type GetMockMatchesByTimestampForbidden struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockMatchesByTimestampForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewGetMockMatchesByTimestampForbidden ¶
func NewGetMockMatchesByTimestampForbidden() *GetMockMatchesByTimestampForbidden
NewGetMockMatchesByTimestampForbidden creates a GetMockMatchesByTimestampForbidden with default headers values
func (*GetMockMatchesByTimestampForbidden) Error ¶
func (o *GetMockMatchesByTimestampForbidden) Error() string
func (*GetMockMatchesByTimestampForbidden) GetPayload ¶
func (o *GetMockMatchesByTimestampForbidden) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockMatchesByTimestampForbidden) ToJSONString ¶
func (o *GetMockMatchesByTimestampForbidden) ToJSONString() string
type GetMockMatchesByTimestampInternalServerError ¶
type GetMockMatchesByTimestampInternalServerError struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockMatchesByTimestampInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetMockMatchesByTimestampInternalServerError ¶
func NewGetMockMatchesByTimestampInternalServerError() *GetMockMatchesByTimestampInternalServerError
NewGetMockMatchesByTimestampInternalServerError creates a GetMockMatchesByTimestampInternalServerError with default headers values
func (*GetMockMatchesByTimestampInternalServerError) Error ¶
func (o *GetMockMatchesByTimestampInternalServerError) Error() string
func (*GetMockMatchesByTimestampInternalServerError) GetPayload ¶
func (o *GetMockMatchesByTimestampInternalServerError) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockMatchesByTimestampInternalServerError) ToJSONString ¶
func (o *GetMockMatchesByTimestampInternalServerError) ToJSONString() string
type GetMockMatchesByTimestampNotFound ¶
type GetMockMatchesByTimestampNotFound struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockMatchesByTimestampNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>510110</td><td>channel not found</td></tr></table>
func NewGetMockMatchesByTimestampNotFound ¶
func NewGetMockMatchesByTimestampNotFound() *GetMockMatchesByTimestampNotFound
NewGetMockMatchesByTimestampNotFound creates a GetMockMatchesByTimestampNotFound with default headers values
func (*GetMockMatchesByTimestampNotFound) Error ¶
func (o *GetMockMatchesByTimestampNotFound) Error() string
func (*GetMockMatchesByTimestampNotFound) GetPayload ¶
func (o *GetMockMatchesByTimestampNotFound) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockMatchesByTimestampNotFound) ToJSONString ¶
func (o *GetMockMatchesByTimestampNotFound) ToJSONString() string
type GetMockMatchesByTimestampOK ¶
type GetMockMatchesByTimestampOK struct {
Payload *matchmakingclientmodels.ModelsGetMockMatchesResponse
}
GetMockMatchesByTimestampOK handles this case with default header values.
Mock matches queried
func NewGetMockMatchesByTimestampOK ¶
func NewGetMockMatchesByTimestampOK() *GetMockMatchesByTimestampOK
NewGetMockMatchesByTimestampOK creates a GetMockMatchesByTimestampOK with default headers values
func (*GetMockMatchesByTimestampOK) Error ¶
func (o *GetMockMatchesByTimestampOK) Error() string
func (*GetMockMatchesByTimestampOK) GetPayload ¶
func (o *GetMockMatchesByTimestampOK) GetPayload() *matchmakingclientmodels.ModelsGetMockMatchesResponse
func (*GetMockMatchesByTimestampOK) ToJSONString ¶
func (o *GetMockMatchesByTimestampOK) ToJSONString() string
type GetMockMatchesByTimestampParams ¶
type GetMockMatchesByTimestampParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *matchmakingclientmodels.ModelsQueryMockBy /*ChannelName channel name, accept snake_case, lowercase, and numeric */ ChannelName string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetMockMatchesByTimestampParams contains all the parameters to send to the API endpoint for the get mock matches by timestamp operation typically these are written to a http.Request
func NewGetMockMatchesByTimestampParams ¶
func NewGetMockMatchesByTimestampParams() *GetMockMatchesByTimestampParams
NewGetMockMatchesByTimestampParams creates a new GetMockMatchesByTimestampParams object with the default values initialized.
func NewGetMockMatchesByTimestampParamsWithContext ¶
func NewGetMockMatchesByTimestampParamsWithContext(ctx context.Context) *GetMockMatchesByTimestampParams
NewGetMockMatchesByTimestampParamsWithContext creates a new GetMockMatchesByTimestampParams object with the default values initialized, and the ability to set a context for a request
func NewGetMockMatchesByTimestampParamsWithHTTPClient ¶
func NewGetMockMatchesByTimestampParamsWithHTTPClient(client *http.Client) *GetMockMatchesByTimestampParams
NewGetMockMatchesByTimestampParamsWithHTTPClient creates a new GetMockMatchesByTimestampParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMockMatchesByTimestampParamsWithTimeout ¶
func NewGetMockMatchesByTimestampParamsWithTimeout(timeout time.Duration) *GetMockMatchesByTimestampParams
NewGetMockMatchesByTimestampParamsWithTimeout creates a new GetMockMatchesByTimestampParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMockMatchesByTimestampParams) SetAuthInfoWriter ¶
func (o *GetMockMatchesByTimestampParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) SetBody ¶
func (o *GetMockMatchesByTimestampParams) SetBody(body *matchmakingclientmodels.ModelsQueryMockBy)
SetBody adds the body to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) SetChannelName ¶
func (o *GetMockMatchesByTimestampParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) SetContext ¶
func (o *GetMockMatchesByTimestampParams) SetContext(ctx context.Context)
SetContext adds the context to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) SetFlightId ¶ added in v0.63.0
func (o *GetMockMatchesByTimestampParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetMockMatchesByTimestampParams) SetHTTPClient ¶
func (o *GetMockMatchesByTimestampParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) SetHTTPClientTransport ¶
func (o *GetMockMatchesByTimestampParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) SetNamespace ¶
func (o *GetMockMatchesByTimestampParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) SetTimeout ¶
func (o *GetMockMatchesByTimestampParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) WithBody ¶
func (o *GetMockMatchesByTimestampParams) WithBody(body *matchmakingclientmodels.ModelsQueryMockBy) *GetMockMatchesByTimestampParams
WithBody adds the body to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) WithChannelName ¶
func (o *GetMockMatchesByTimestampParams) WithChannelName(channelName string) *GetMockMatchesByTimestampParams
WithChannelName adds the channelName to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) WithContext ¶
func (o *GetMockMatchesByTimestampParams) WithContext(ctx context.Context) *GetMockMatchesByTimestampParams
WithContext adds the context to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) WithHTTPClient ¶
func (o *GetMockMatchesByTimestampParams) WithHTTPClient(client *http.Client) *GetMockMatchesByTimestampParams
WithHTTPClient adds the HTTPClient to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) WithNamespace ¶
func (o *GetMockMatchesByTimestampParams) WithNamespace(namespace string) *GetMockMatchesByTimestampParams
WithNamespace adds the namespace to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) WithTimeout ¶
func (o *GetMockMatchesByTimestampParams) WithTimeout(timeout time.Duration) *GetMockMatchesByTimestampParams
WithTimeout adds the timeout to the get mock matches by timestamp params
func (*GetMockMatchesByTimestampParams) WriteToRequest ¶
func (o *GetMockMatchesByTimestampParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMockMatchesByTimestampReader ¶
type GetMockMatchesByTimestampReader struct {
// contains filtered or unexported fields
}
GetMockMatchesByTimestampReader is a Reader for the GetMockMatchesByTimestamp structure.
func (*GetMockMatchesByTimestampReader) ReadResponse ¶
func (o *GetMockMatchesByTimestampReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMockMatchesByTimestampUnauthorized ¶
type GetMockMatchesByTimestampUnauthorized struct {
}GetMockMatchesByTimestampUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetMockMatchesByTimestampUnauthorized ¶
func NewGetMockMatchesByTimestampUnauthorized() *GetMockMatchesByTimestampUnauthorized
NewGetMockMatchesByTimestampUnauthorized creates a GetMockMatchesByTimestampUnauthorized with default headers values
func (*GetMockMatchesByTimestampUnauthorized) Error ¶
func (o *GetMockMatchesByTimestampUnauthorized) Error() string
func (*GetMockMatchesByTimestampUnauthorized) GetPayload ¶
func (o *GetMockMatchesByTimestampUnauthorized) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockMatchesByTimestampUnauthorized) ToJSONString ¶
func (o *GetMockMatchesByTimestampUnauthorized) ToJSONString() string
type GetMockTicketsByTimestampBadRequest ¶
type GetMockTicketsByTimestampBadRequest struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockTicketsByTimestampBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewGetMockTicketsByTimestampBadRequest ¶
func NewGetMockTicketsByTimestampBadRequest() *GetMockTicketsByTimestampBadRequest
NewGetMockTicketsByTimestampBadRequest creates a GetMockTicketsByTimestampBadRequest with default headers values
func (*GetMockTicketsByTimestampBadRequest) Error ¶
func (o *GetMockTicketsByTimestampBadRequest) Error() string
func (*GetMockTicketsByTimestampBadRequest) GetPayload ¶
func (o *GetMockTicketsByTimestampBadRequest) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockTicketsByTimestampBadRequest) ToJSONString ¶
func (o *GetMockTicketsByTimestampBadRequest) ToJSONString() string
type GetMockTicketsByTimestampForbidden ¶
type GetMockTicketsByTimestampForbidden struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockTicketsByTimestampForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewGetMockTicketsByTimestampForbidden ¶
func NewGetMockTicketsByTimestampForbidden() *GetMockTicketsByTimestampForbidden
NewGetMockTicketsByTimestampForbidden creates a GetMockTicketsByTimestampForbidden with default headers values
func (*GetMockTicketsByTimestampForbidden) Error ¶
func (o *GetMockTicketsByTimestampForbidden) Error() string
func (*GetMockTicketsByTimestampForbidden) GetPayload ¶
func (o *GetMockTicketsByTimestampForbidden) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockTicketsByTimestampForbidden) ToJSONString ¶
func (o *GetMockTicketsByTimestampForbidden) ToJSONString() string
type GetMockTicketsByTimestampInternalServerError ¶
type GetMockTicketsByTimestampInternalServerError struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockTicketsByTimestampInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetMockTicketsByTimestampInternalServerError ¶
func NewGetMockTicketsByTimestampInternalServerError() *GetMockTicketsByTimestampInternalServerError
NewGetMockTicketsByTimestampInternalServerError creates a GetMockTicketsByTimestampInternalServerError with default headers values
func (*GetMockTicketsByTimestampInternalServerError) Error ¶
func (o *GetMockTicketsByTimestampInternalServerError) Error() string
func (*GetMockTicketsByTimestampInternalServerError) GetPayload ¶
func (o *GetMockTicketsByTimestampInternalServerError) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockTicketsByTimestampInternalServerError) ToJSONString ¶
func (o *GetMockTicketsByTimestampInternalServerError) ToJSONString() string
type GetMockTicketsByTimestampNotFound ¶
type GetMockTicketsByTimestampNotFound struct {
Payload *matchmakingclientmodels.ResponseErrorV1
}
GetMockTicketsByTimestampNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>510110</td><td>channel not found</td></tr></table>
func NewGetMockTicketsByTimestampNotFound ¶
func NewGetMockTicketsByTimestampNotFound() *GetMockTicketsByTimestampNotFound
NewGetMockTicketsByTimestampNotFound creates a GetMockTicketsByTimestampNotFound with default headers values
func (*GetMockTicketsByTimestampNotFound) Error ¶
func (o *GetMockTicketsByTimestampNotFound) Error() string
func (*GetMockTicketsByTimestampNotFound) GetPayload ¶
func (o *GetMockTicketsByTimestampNotFound) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockTicketsByTimestampNotFound) ToJSONString ¶
func (o *GetMockTicketsByTimestampNotFound) ToJSONString() string
type GetMockTicketsByTimestampOK ¶
type GetMockTicketsByTimestampOK struct {
Payload *matchmakingclientmodels.ModelsGetMockTicketsResponse
}
GetMockTicketsByTimestampOK handles this case with default header values.
Mock tickets queried
func NewGetMockTicketsByTimestampOK ¶
func NewGetMockTicketsByTimestampOK() *GetMockTicketsByTimestampOK
NewGetMockTicketsByTimestampOK creates a GetMockTicketsByTimestampOK with default headers values
func (*GetMockTicketsByTimestampOK) Error ¶
func (o *GetMockTicketsByTimestampOK) Error() string
func (*GetMockTicketsByTimestampOK) GetPayload ¶
func (o *GetMockTicketsByTimestampOK) GetPayload() *matchmakingclientmodels.ModelsGetMockTicketsResponse
func (*GetMockTicketsByTimestampOK) ToJSONString ¶
func (o *GetMockTicketsByTimestampOK) ToJSONString() string
type GetMockTicketsByTimestampParams ¶
type GetMockTicketsByTimestampParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *matchmakingclientmodels.ModelsQueryMockBy /*ChannelName channel name, accept snake_case, lowercase, and numeric */ ChannelName string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetMockTicketsByTimestampParams contains all the parameters to send to the API endpoint for the get mock tickets by timestamp operation typically these are written to a http.Request
func NewGetMockTicketsByTimestampParams ¶
func NewGetMockTicketsByTimestampParams() *GetMockTicketsByTimestampParams
NewGetMockTicketsByTimestampParams creates a new GetMockTicketsByTimestampParams object with the default values initialized.
func NewGetMockTicketsByTimestampParamsWithContext ¶
func NewGetMockTicketsByTimestampParamsWithContext(ctx context.Context) *GetMockTicketsByTimestampParams
NewGetMockTicketsByTimestampParamsWithContext creates a new GetMockTicketsByTimestampParams object with the default values initialized, and the ability to set a context for a request
func NewGetMockTicketsByTimestampParamsWithHTTPClient ¶
func NewGetMockTicketsByTimestampParamsWithHTTPClient(client *http.Client) *GetMockTicketsByTimestampParams
NewGetMockTicketsByTimestampParamsWithHTTPClient creates a new GetMockTicketsByTimestampParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMockTicketsByTimestampParamsWithTimeout ¶
func NewGetMockTicketsByTimestampParamsWithTimeout(timeout time.Duration) *GetMockTicketsByTimestampParams
NewGetMockTicketsByTimestampParamsWithTimeout creates a new GetMockTicketsByTimestampParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMockTicketsByTimestampParams) SetAuthInfoWriter ¶
func (o *GetMockTicketsByTimestampParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) SetBody ¶
func (o *GetMockTicketsByTimestampParams) SetBody(body *matchmakingclientmodels.ModelsQueryMockBy)
SetBody adds the body to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) SetChannelName ¶
func (o *GetMockTicketsByTimestampParams) SetChannelName(channelName string)
SetChannelName adds the channelName to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) SetContext ¶
func (o *GetMockTicketsByTimestampParams) SetContext(ctx context.Context)
SetContext adds the context to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) SetFlightId ¶ added in v0.63.0
func (o *GetMockTicketsByTimestampParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetMockTicketsByTimestampParams) SetHTTPClient ¶
func (o *GetMockTicketsByTimestampParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) SetHTTPClientTransport ¶
func (o *GetMockTicketsByTimestampParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) SetNamespace ¶
func (o *GetMockTicketsByTimestampParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) SetTimeout ¶
func (o *GetMockTicketsByTimestampParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) WithBody ¶
func (o *GetMockTicketsByTimestampParams) WithBody(body *matchmakingclientmodels.ModelsQueryMockBy) *GetMockTicketsByTimestampParams
WithBody adds the body to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) WithChannelName ¶
func (o *GetMockTicketsByTimestampParams) WithChannelName(channelName string) *GetMockTicketsByTimestampParams
WithChannelName adds the channelName to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) WithContext ¶
func (o *GetMockTicketsByTimestampParams) WithContext(ctx context.Context) *GetMockTicketsByTimestampParams
WithContext adds the context to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) WithHTTPClient ¶
func (o *GetMockTicketsByTimestampParams) WithHTTPClient(client *http.Client) *GetMockTicketsByTimestampParams
WithHTTPClient adds the HTTPClient to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) WithNamespace ¶
func (o *GetMockTicketsByTimestampParams) WithNamespace(namespace string) *GetMockTicketsByTimestampParams
WithNamespace adds the namespace to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) WithTimeout ¶
func (o *GetMockTicketsByTimestampParams) WithTimeout(timeout time.Duration) *GetMockTicketsByTimestampParams
WithTimeout adds the timeout to the get mock tickets by timestamp params
func (*GetMockTicketsByTimestampParams) WriteToRequest ¶
func (o *GetMockTicketsByTimestampParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMockTicketsByTimestampReader ¶
type GetMockTicketsByTimestampReader struct {
// contains filtered or unexported fields
}
GetMockTicketsByTimestampReader is a Reader for the GetMockTicketsByTimestamp structure.
func (*GetMockTicketsByTimestampReader) ReadResponse ¶
func (o *GetMockTicketsByTimestampReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMockTicketsByTimestampUnauthorized ¶
type GetMockTicketsByTimestampUnauthorized struct {
}GetMockTicketsByTimestampUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetMockTicketsByTimestampUnauthorized ¶
func NewGetMockTicketsByTimestampUnauthorized() *GetMockTicketsByTimestampUnauthorized
NewGetMockTicketsByTimestampUnauthorized creates a GetMockTicketsByTimestampUnauthorized with default headers values
func (*GetMockTicketsByTimestampUnauthorized) Error ¶
func (o *GetMockTicketsByTimestampUnauthorized) Error() string
func (*GetMockTicketsByTimestampUnauthorized) GetPayload ¶
func (o *GetMockTicketsByTimestampUnauthorized) GetPayload() *matchmakingclientmodels.ResponseErrorV1
func (*GetMockTicketsByTimestampUnauthorized) ToJSONString ¶
func (o *GetMockTicketsByTimestampUnauthorized) ToJSONString() string
Source Files ¶
- bulk_create_mock_tickets_parameters.go
- bulk_create_mock_tickets_responses.go
- clean_all_mocks_parameters.go
- clean_all_mocks_responses.go
- create_mock_tickets_parameters.go
- create_mock_tickets_responses.go
- get_all_mock_matches_parameters.go
- get_all_mock_matches_responses.go
- get_all_mock_tickets_parameters.go
- get_all_mock_tickets_responses.go
- get_mock_matches_by_timestamp_parameters.go
- get_mock_matches_by_timestamp_responses.go
- get_mock_tickets_by_timestamp_parameters.go
- get_mock_tickets_by_timestamp_responses.go
- mock_matchmaking_client.go