mock_matchmaking

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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 (*BulkCreateMockTicketsBadRequest) GetPayload

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

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 (*BulkCreateMockTicketsForbidden) GetPayload

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 (*BulkCreateMockTicketsInternalServerError) GetPayload

func (*BulkCreateMockTicketsInternalServerError) ToJSONString

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 (*BulkCreateMockTicketsNotFound) GetPayload

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

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

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

WithContext adds the context to the bulk create mock tickets params

func (*BulkCreateMockTicketsParams) WithHTTPClient

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

WithTimeout adds the timeout to the bulk create mock tickets params

func (*BulkCreateMockTicketsParams) WriteToRequest

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 {
	Payload *matchmakingclientmodels.ResponseErrorV1
}

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 (*BulkCreateMockTicketsUnauthorized) GetPayload

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 (*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 (*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 (*CleanAllMocksInternalServerError) GetPayload

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 (*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

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 {
	Payload *matchmakingclientmodels.ResponseErrorV1
}

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 (*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

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

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

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

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

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

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

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 (*CreateMockTicketsBadRequest) GetPayload

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 (*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 (*CreateMockTicketsForbidden) GetPayload

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 (*CreateMockTicketsInternalServerError) GetPayload

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 (*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

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

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

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

WithTimeout adds the timeout to the create mock tickets params

func (*CreateMockTicketsParams) WriteToRequest

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 {
	Payload *matchmakingclientmodels.ResponseErrorV1
}

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 (*CreateMockTicketsUnauthorized) GetPayload

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 (*GetAllMockMatchesBadRequest) GetPayload

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 (*GetAllMockMatchesForbidden) GetPayload

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 (*GetAllMockMatchesInternalServerError) GetPayload

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 (*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 (*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

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

WithTimeout adds the timeout to the get all mock matches params

func (*GetAllMockMatchesParams) WriteToRequest

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 {
	Payload *matchmakingclientmodels.ResponseErrorV1
}

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 (*GetAllMockMatchesUnauthorized) GetPayload

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 (*GetAllMockTicketsBadRequest) GetPayload

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 (*GetAllMockTicketsForbidden) GetPayload

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 (*GetAllMockTicketsInternalServerError) GetPayload

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 (*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 (*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

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

WithTimeout adds the timeout to the get all mock tickets params

func (*GetAllMockTicketsParams) WriteToRequest

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 {
	Payload *matchmakingclientmodels.ResponseErrorV1
}

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 (*GetAllMockTicketsUnauthorized) GetPayload

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 (*GetMockMatchesByTimestampBadRequest) GetPayload

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 (*GetMockMatchesByTimestampForbidden) GetPayload

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 (*GetMockMatchesByTimestampInternalServerError) GetPayload

func (*GetMockMatchesByTimestampInternalServerError) ToJSONString

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 (*GetMockMatchesByTimestampNotFound) GetPayload

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 (*GetMockMatchesByTimestampOK) GetPayload

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

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

WithBody adds the body to the get mock matches by timestamp params

func (*GetMockMatchesByTimestampParams) WithChannelName

WithChannelName adds the channelName to the get mock matches by timestamp params

func (*GetMockMatchesByTimestampParams) WithContext

WithContext adds the context to the get mock matches by timestamp params

func (*GetMockMatchesByTimestampParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get mock matches by timestamp params

func (*GetMockMatchesByTimestampParams) WithNamespace

WithNamespace adds the namespace to the get mock matches by timestamp params

func (*GetMockMatchesByTimestampParams) WithTimeout

WithTimeout adds the timeout to the get mock matches by timestamp params

func (*GetMockMatchesByTimestampParams) WriteToRequest

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 {
	Payload *matchmakingclientmodels.ResponseErrorV1
}

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 (*GetMockMatchesByTimestampUnauthorized) GetPayload

func (*GetMockMatchesByTimestampUnauthorized) ToJSONString

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 (*GetMockTicketsByTimestampBadRequest) GetPayload

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 (*GetMockTicketsByTimestampForbidden) GetPayload

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 (*GetMockTicketsByTimestampInternalServerError) GetPayload

func (*GetMockTicketsByTimestampInternalServerError) ToJSONString

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 (*GetMockTicketsByTimestampNotFound) GetPayload

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 (*GetMockTicketsByTimestampOK) GetPayload

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

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

WithBody adds the body to the get mock tickets by timestamp params

func (*GetMockTicketsByTimestampParams) WithChannelName

WithChannelName adds the channelName to the get mock tickets by timestamp params

func (*GetMockTicketsByTimestampParams) WithContext

WithContext adds the context to the get mock tickets by timestamp params

func (*GetMockTicketsByTimestampParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get mock tickets by timestamp params

func (*GetMockTicketsByTimestampParams) WithNamespace

WithNamespace adds the namespace to the get mock tickets by timestamp params

func (*GetMockTicketsByTimestampParams) WithTimeout

WithTimeout adds the timeout to the get mock tickets by timestamp params

func (*GetMockTicketsByTimestampParams) WriteToRequest

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 {
	Payload *matchmakingclientmodels.ResponseErrorV1
}

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 (*GetMockTicketsByTimestampUnauthorized) GetPayload

func (*GetMockTicketsByTimestampUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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