match_functions

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for match functions API

func (*Client) CreateMatchFunction deprecated

Deprecated: 2022-08-10 - Use CreateMatchFunctionShort instead.

CreateMatchFunction create a match function Creates a new matchmaking function.

func (*Client) CreateMatchFunctionShort

func (a *Client) CreateMatchFunctionShort(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, error)

CreateMatchFunctionShort create a match function Creates a new matchmaking function.

func (*Client) DeleteMatchFunction deprecated

Deprecated: 2022-08-10 - Use DeleteMatchFunctionShort instead.

DeleteMatchFunction delete a match function Deletes an existing match function.

func (*Client) DeleteMatchFunctionShort

func (a *Client) DeleteMatchFunctionShort(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, error)

DeleteMatchFunctionShort delete a match function Deletes an existing match function.

func (*Client) MatchFunctionList deprecated

Deprecated: 2022-08-10 - Use MatchFunctionListShort instead.

MatchFunctionList list existing match functions List existing match functions.

func (*Client) MatchFunctionListShort

func (a *Client) MatchFunctionListShort(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, error)

MatchFunctionListShort list existing match functions List existing match functions.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateMatchFunction deprecated added in v0.41.0

Deprecated: 2022-08-10 - Use UpdateMatchFunctionShort instead.

UpdateMatchFunction update a match function Update existing matchmaking function.

func (*Client) UpdateMatchFunctionShort added in v0.41.0

func (a *Client) UpdateMatchFunctionShort(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, error)

UpdateMatchFunctionShort update a match function Update existing matchmaking function.

type ClientService

type ClientService interface {
	MatchFunctionList(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, *MatchFunctionListUnauthorized, *MatchFunctionListForbidden, *MatchFunctionListInternalServerError, error)
	MatchFunctionListShort(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, error)
	CreateMatchFunction(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, *CreateMatchFunctionBadRequest, *CreateMatchFunctionUnauthorized, *CreateMatchFunctionForbidden, *CreateMatchFunctionConflict, *CreateMatchFunctionInternalServerError, error)
	CreateMatchFunctionShort(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, error)
	UpdateMatchFunction(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, *UpdateMatchFunctionBadRequest, *UpdateMatchFunctionUnauthorized, *UpdateMatchFunctionNotFound, *UpdateMatchFunctionConflict, *UpdateMatchFunctionInternalServerError, error)
	UpdateMatchFunctionShort(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, error)
	DeleteMatchFunction(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, *DeleteMatchFunctionUnauthorized, *DeleteMatchFunctionForbidden, *DeleteMatchFunctionNotFound, *DeleteMatchFunctionInternalServerError, error)
	DeleteMatchFunctionShort(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, 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 match functions API client.

type CreateMatchFunctionBadRequest

type CreateMatchFunctionBadRequest struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchFunctionBadRequest handles this case with default header values.

Bad Request

func NewCreateMatchFunctionBadRequest

func NewCreateMatchFunctionBadRequest() *CreateMatchFunctionBadRequest

NewCreateMatchFunctionBadRequest creates a CreateMatchFunctionBadRequest with default headers values

func (*CreateMatchFunctionBadRequest) Error

func (*CreateMatchFunctionBadRequest) GetPayload

func (*CreateMatchFunctionBadRequest) ToJSONString

func (o *CreateMatchFunctionBadRequest) ToJSONString() string

type CreateMatchFunctionConflict

type CreateMatchFunctionConflict struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchFunctionConflict handles this case with default header values.

Conflict

func NewCreateMatchFunctionConflict

func NewCreateMatchFunctionConflict() *CreateMatchFunctionConflict

NewCreateMatchFunctionConflict creates a CreateMatchFunctionConflict with default headers values

func (*CreateMatchFunctionConflict) Error

func (*CreateMatchFunctionConflict) GetPayload

func (*CreateMatchFunctionConflict) ToJSONString

func (o *CreateMatchFunctionConflict) ToJSONString() string

type CreateMatchFunctionCreated

type CreateMatchFunctionCreated struct {
}

CreateMatchFunctionCreated handles this case with default header values.

Created

func NewCreateMatchFunctionCreated

func NewCreateMatchFunctionCreated() *CreateMatchFunctionCreated

NewCreateMatchFunctionCreated creates a CreateMatchFunctionCreated with default headers values

func (*CreateMatchFunctionCreated) Error

type CreateMatchFunctionForbidden

type CreateMatchFunctionForbidden struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchFunctionForbidden handles this case with default header values.

Forbidden

func NewCreateMatchFunctionForbidden

func NewCreateMatchFunctionForbidden() *CreateMatchFunctionForbidden

NewCreateMatchFunctionForbidden creates a CreateMatchFunctionForbidden with default headers values

func (*CreateMatchFunctionForbidden) Error

func (*CreateMatchFunctionForbidden) GetPayload

func (*CreateMatchFunctionForbidden) ToJSONString

func (o *CreateMatchFunctionForbidden) ToJSONString() string

type CreateMatchFunctionInternalServerError

type CreateMatchFunctionInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchFunctionInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateMatchFunctionInternalServerError

func NewCreateMatchFunctionInternalServerError() *CreateMatchFunctionInternalServerError

NewCreateMatchFunctionInternalServerError creates a CreateMatchFunctionInternalServerError with default headers values

func (*CreateMatchFunctionInternalServerError) Error

func (*CreateMatchFunctionInternalServerError) GetPayload

func (*CreateMatchFunctionInternalServerError) ToJSONString

type CreateMatchFunctionParams

type CreateMatchFunctionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *match2clientmodels.APIMatchFunctionRequest
	/*Namespace
	  namespace of the game

	*/
	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
}

CreateMatchFunctionParams contains all the parameters to send to the API endpoint for the create match function operation typically these are written to a http.Request

func NewCreateMatchFunctionParams

func NewCreateMatchFunctionParams() *CreateMatchFunctionParams

NewCreateMatchFunctionParams creates a new CreateMatchFunctionParams object with the default values initialized.

func NewCreateMatchFunctionParamsWithContext

func NewCreateMatchFunctionParamsWithContext(ctx context.Context) *CreateMatchFunctionParams

NewCreateMatchFunctionParamsWithContext creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a context for a request

func NewCreateMatchFunctionParamsWithHTTPClient

func NewCreateMatchFunctionParamsWithHTTPClient(client *http.Client) *CreateMatchFunctionParams

NewCreateMatchFunctionParamsWithHTTPClient creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateMatchFunctionParamsWithTimeout

func NewCreateMatchFunctionParamsWithTimeout(timeout time.Duration) *CreateMatchFunctionParams

NewCreateMatchFunctionParamsWithTimeout creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateMatchFunctionParams) SetAuthInfoWriter

func (o *CreateMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create match function params

func (*CreateMatchFunctionParams) SetBody

SetBody adds the body to the create match function params

func (*CreateMatchFunctionParams) SetContext

func (o *CreateMatchFunctionParams) SetContext(ctx context.Context)

SetContext adds the context to the create match function params

func (*CreateMatchFunctionParams) SetFlightId added in v0.63.0

func (o *CreateMatchFunctionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateMatchFunctionParams) SetHTTPClient

func (o *CreateMatchFunctionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create match function params

func (*CreateMatchFunctionParams) SetHTTPClientTransport

func (o *CreateMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create match function params

func (*CreateMatchFunctionParams) SetNamespace

func (o *CreateMatchFunctionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create match function params

func (*CreateMatchFunctionParams) SetTimeout

func (o *CreateMatchFunctionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create match function params

func (*CreateMatchFunctionParams) WithBody

WithBody adds the body to the create match function params

func (*CreateMatchFunctionParams) WithContext

WithContext adds the context to the create match function params

func (*CreateMatchFunctionParams) WithHTTPClient

func (o *CreateMatchFunctionParams) WithHTTPClient(client *http.Client) *CreateMatchFunctionParams

WithHTTPClient adds the HTTPClient to the create match function params

func (*CreateMatchFunctionParams) WithNamespace

func (o *CreateMatchFunctionParams) WithNamespace(namespace string) *CreateMatchFunctionParams

WithNamespace adds the namespace to the create match function params

func (*CreateMatchFunctionParams) WithTimeout

WithTimeout adds the timeout to the create match function params

func (*CreateMatchFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMatchFunctionReader

type CreateMatchFunctionReader struct {
	// contains filtered or unexported fields
}

CreateMatchFunctionReader is a Reader for the CreateMatchFunction structure.

func (*CreateMatchFunctionReader) ReadResponse

func (o *CreateMatchFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateMatchFunctionUnauthorized

type CreateMatchFunctionUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchFunctionUnauthorized handles this case with default header values.

Unauthorized

func NewCreateMatchFunctionUnauthorized

func NewCreateMatchFunctionUnauthorized() *CreateMatchFunctionUnauthorized

NewCreateMatchFunctionUnauthorized creates a CreateMatchFunctionUnauthorized with default headers values

func (*CreateMatchFunctionUnauthorized) Error

func (*CreateMatchFunctionUnauthorized) GetPayload

func (*CreateMatchFunctionUnauthorized) ToJSONString

func (o *CreateMatchFunctionUnauthorized) ToJSONString() string

type DeleteMatchFunctionForbidden

type DeleteMatchFunctionForbidden struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchFunctionForbidden handles this case with default header values.

Forbidden

func NewDeleteMatchFunctionForbidden

func NewDeleteMatchFunctionForbidden() *DeleteMatchFunctionForbidden

NewDeleteMatchFunctionForbidden creates a DeleteMatchFunctionForbidden with default headers values

func (*DeleteMatchFunctionForbidden) Error

func (*DeleteMatchFunctionForbidden) GetPayload

func (*DeleteMatchFunctionForbidden) ToJSONString

func (o *DeleteMatchFunctionForbidden) ToJSONString() string

type DeleteMatchFunctionInternalServerError

type DeleteMatchFunctionInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchFunctionInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteMatchFunctionInternalServerError

func NewDeleteMatchFunctionInternalServerError() *DeleteMatchFunctionInternalServerError

NewDeleteMatchFunctionInternalServerError creates a DeleteMatchFunctionInternalServerError with default headers values

func (*DeleteMatchFunctionInternalServerError) Error

func (*DeleteMatchFunctionInternalServerError) GetPayload

func (*DeleteMatchFunctionInternalServerError) ToJSONString

type DeleteMatchFunctionNotFound

type DeleteMatchFunctionNotFound struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchFunctionNotFound handles this case with default header values.

Not Found

func NewDeleteMatchFunctionNotFound

func NewDeleteMatchFunctionNotFound() *DeleteMatchFunctionNotFound

NewDeleteMatchFunctionNotFound creates a DeleteMatchFunctionNotFound with default headers values

func (*DeleteMatchFunctionNotFound) Error

func (*DeleteMatchFunctionNotFound) GetPayload

func (*DeleteMatchFunctionNotFound) ToJSONString

func (o *DeleteMatchFunctionNotFound) ToJSONString() string

type DeleteMatchFunctionOK

type DeleteMatchFunctionOK struct {
}

DeleteMatchFunctionOK handles this case with default header values.

OK

func NewDeleteMatchFunctionOK

func NewDeleteMatchFunctionOK() *DeleteMatchFunctionOK

NewDeleteMatchFunctionOK creates a DeleteMatchFunctionOK with default headers values

func (*DeleteMatchFunctionOK) Error

func (o *DeleteMatchFunctionOK) Error() string

type DeleteMatchFunctionParams

type DeleteMatchFunctionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Name
	  name of the match function

	*/
	Name string
	/*Namespace
	  namespace of the game

	*/
	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
}

DeleteMatchFunctionParams contains all the parameters to send to the API endpoint for the delete match function operation typically these are written to a http.Request

func NewDeleteMatchFunctionParams

func NewDeleteMatchFunctionParams() *DeleteMatchFunctionParams

NewDeleteMatchFunctionParams creates a new DeleteMatchFunctionParams object with the default values initialized.

func NewDeleteMatchFunctionParamsWithContext

func NewDeleteMatchFunctionParamsWithContext(ctx context.Context) *DeleteMatchFunctionParams

NewDeleteMatchFunctionParamsWithContext creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteMatchFunctionParamsWithHTTPClient

func NewDeleteMatchFunctionParamsWithHTTPClient(client *http.Client) *DeleteMatchFunctionParams

NewDeleteMatchFunctionParamsWithHTTPClient creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteMatchFunctionParamsWithTimeout

func NewDeleteMatchFunctionParamsWithTimeout(timeout time.Duration) *DeleteMatchFunctionParams

NewDeleteMatchFunctionParamsWithTimeout creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteMatchFunctionParams) SetAuthInfoWriter

func (o *DeleteMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete match function params

func (*DeleteMatchFunctionParams) SetContext

func (o *DeleteMatchFunctionParams) SetContext(ctx context.Context)

SetContext adds the context to the delete match function params

func (*DeleteMatchFunctionParams) SetFlightId added in v0.63.0

func (o *DeleteMatchFunctionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteMatchFunctionParams) SetHTTPClient

func (o *DeleteMatchFunctionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete match function params

func (*DeleteMatchFunctionParams) SetHTTPClientTransport

func (o *DeleteMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete match function params

func (*DeleteMatchFunctionParams) SetName

func (o *DeleteMatchFunctionParams) SetName(name string)

SetName adds the name to the delete match function params

func (*DeleteMatchFunctionParams) SetNamespace

func (o *DeleteMatchFunctionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete match function params

func (*DeleteMatchFunctionParams) SetTimeout

func (o *DeleteMatchFunctionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete match function params

func (*DeleteMatchFunctionParams) WithContext

WithContext adds the context to the delete match function params

func (*DeleteMatchFunctionParams) WithHTTPClient

func (o *DeleteMatchFunctionParams) WithHTTPClient(client *http.Client) *DeleteMatchFunctionParams

WithHTTPClient adds the HTTPClient to the delete match function params

func (*DeleteMatchFunctionParams) WithName

WithName adds the name to the delete match function params

func (*DeleteMatchFunctionParams) WithNamespace

func (o *DeleteMatchFunctionParams) WithNamespace(namespace string) *DeleteMatchFunctionParams

WithNamespace adds the namespace to the delete match function params

func (*DeleteMatchFunctionParams) WithTimeout

WithTimeout adds the timeout to the delete match function params

func (*DeleteMatchFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMatchFunctionReader

type DeleteMatchFunctionReader struct {
	// contains filtered or unexported fields
}

DeleteMatchFunctionReader is a Reader for the DeleteMatchFunction structure.

func (*DeleteMatchFunctionReader) ReadResponse

func (o *DeleteMatchFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteMatchFunctionUnauthorized

type DeleteMatchFunctionUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchFunctionUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteMatchFunctionUnauthorized

func NewDeleteMatchFunctionUnauthorized() *DeleteMatchFunctionUnauthorized

NewDeleteMatchFunctionUnauthorized creates a DeleteMatchFunctionUnauthorized with default headers values

func (*DeleteMatchFunctionUnauthorized) Error

func (*DeleteMatchFunctionUnauthorized) GetPayload

func (*DeleteMatchFunctionUnauthorized) ToJSONString

func (o *DeleteMatchFunctionUnauthorized) ToJSONString() string

type MatchFunctionListForbidden

type MatchFunctionListForbidden struct {
	Payload *match2clientmodels.ResponseError
}

MatchFunctionListForbidden handles this case with default header values.

Forbidden

func NewMatchFunctionListForbidden

func NewMatchFunctionListForbidden() *MatchFunctionListForbidden

NewMatchFunctionListForbidden creates a MatchFunctionListForbidden with default headers values

func (*MatchFunctionListForbidden) Error

func (*MatchFunctionListForbidden) GetPayload

func (*MatchFunctionListForbidden) ToJSONString

func (o *MatchFunctionListForbidden) ToJSONString() string

type MatchFunctionListInternalServerError

type MatchFunctionListInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

MatchFunctionListInternalServerError handles this case with default header values.

Internal Server Error

func NewMatchFunctionListInternalServerError

func NewMatchFunctionListInternalServerError() *MatchFunctionListInternalServerError

NewMatchFunctionListInternalServerError creates a MatchFunctionListInternalServerError with default headers values

func (*MatchFunctionListInternalServerError) Error

func (*MatchFunctionListInternalServerError) GetPayload

func (*MatchFunctionListInternalServerError) ToJSONString

func (o *MatchFunctionListInternalServerError) ToJSONString() string

type MatchFunctionListOK

type MatchFunctionListOK struct {
	Payload *match2clientmodels.APIListMatchFunctionsResponse
}

MatchFunctionListOK handles this case with default header values.

Created

func NewMatchFunctionListOK

func NewMatchFunctionListOK() *MatchFunctionListOK

NewMatchFunctionListOK creates a MatchFunctionListOK with default headers values

func (*MatchFunctionListOK) Error

func (o *MatchFunctionListOK) Error() string

func (*MatchFunctionListOK) GetPayload

func (*MatchFunctionListOK) ToJSONString

func (o *MatchFunctionListOK) ToJSONString() string

type MatchFunctionListParams

type MatchFunctionListParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  Pagination limit

	*/
	Limit *int64
	/*Offset
	  Pagination offset

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

MatchFunctionListParams contains all the parameters to send to the API endpoint for the match function list operation typically these are written to a http.Request

func NewMatchFunctionListParams

func NewMatchFunctionListParams() *MatchFunctionListParams

NewMatchFunctionListParams creates a new MatchFunctionListParams object with the default values initialized.

func NewMatchFunctionListParamsWithContext

func NewMatchFunctionListParamsWithContext(ctx context.Context) *MatchFunctionListParams

NewMatchFunctionListParamsWithContext creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a context for a request

func NewMatchFunctionListParamsWithHTTPClient

func NewMatchFunctionListParamsWithHTTPClient(client *http.Client) *MatchFunctionListParams

NewMatchFunctionListParamsWithHTTPClient creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMatchFunctionListParamsWithTimeout

func NewMatchFunctionListParamsWithTimeout(timeout time.Duration) *MatchFunctionListParams

NewMatchFunctionListParamsWithTimeout creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a timeout on a request

func (*MatchFunctionListParams) SetAuthInfoWriter

func (o *MatchFunctionListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the match function list params

func (*MatchFunctionListParams) SetContext

func (o *MatchFunctionListParams) SetContext(ctx context.Context)

SetContext adds the context to the match function list params

func (*MatchFunctionListParams) SetFlightId added in v0.63.0

func (o *MatchFunctionListParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*MatchFunctionListParams) SetHTTPClient

func (o *MatchFunctionListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the match function list params

func (*MatchFunctionListParams) SetHTTPClientTransport

func (o *MatchFunctionListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the match function list params

func (*MatchFunctionListParams) SetLimit

func (o *MatchFunctionListParams) SetLimit(limit *int64)

SetLimit adds the limit to the match function list params

func (*MatchFunctionListParams) SetNamespace

func (o *MatchFunctionListParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the match function list params

func (*MatchFunctionListParams) SetOffset

func (o *MatchFunctionListParams) SetOffset(offset *int64)

SetOffset adds the offset to the match function list params

func (*MatchFunctionListParams) SetTimeout

func (o *MatchFunctionListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the match function list params

func (*MatchFunctionListParams) WithContext

WithContext adds the context to the match function list params

func (*MatchFunctionListParams) WithHTTPClient

func (o *MatchFunctionListParams) WithHTTPClient(client *http.Client) *MatchFunctionListParams

WithHTTPClient adds the HTTPClient to the match function list params

func (*MatchFunctionListParams) WithLimit

WithLimit adds the limit to the match function list params

func (*MatchFunctionListParams) WithNamespace

func (o *MatchFunctionListParams) WithNamespace(namespace string) *MatchFunctionListParams

WithNamespace adds the namespace to the match function list params

func (*MatchFunctionListParams) WithOffset

func (o *MatchFunctionListParams) WithOffset(offset *int64) *MatchFunctionListParams

WithOffset adds the offset to the match function list params

func (*MatchFunctionListParams) WithTimeout

WithTimeout adds the timeout to the match function list params

func (*MatchFunctionListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MatchFunctionListReader

type MatchFunctionListReader struct {
	// contains filtered or unexported fields
}

MatchFunctionListReader is a Reader for the MatchFunctionList structure.

func (*MatchFunctionListReader) ReadResponse

func (o *MatchFunctionListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MatchFunctionListUnauthorized

type MatchFunctionListUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

MatchFunctionListUnauthorized handles this case with default header values.

Unauthorized

func NewMatchFunctionListUnauthorized

func NewMatchFunctionListUnauthorized() *MatchFunctionListUnauthorized

NewMatchFunctionListUnauthorized creates a MatchFunctionListUnauthorized with default headers values

func (*MatchFunctionListUnauthorized) Error

func (*MatchFunctionListUnauthorized) GetPayload

func (*MatchFunctionListUnauthorized) ToJSONString

func (o *MatchFunctionListUnauthorized) ToJSONString() string

type UpdateMatchFunctionBadRequest added in v0.41.0

type UpdateMatchFunctionBadRequest struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchFunctionBadRequest handles this case with default header values.

Bad Request

func NewUpdateMatchFunctionBadRequest added in v0.41.0

func NewUpdateMatchFunctionBadRequest() *UpdateMatchFunctionBadRequest

NewUpdateMatchFunctionBadRequest creates a UpdateMatchFunctionBadRequest with default headers values

func (*UpdateMatchFunctionBadRequest) Error added in v0.41.0

func (*UpdateMatchFunctionBadRequest) GetPayload added in v0.41.0

func (*UpdateMatchFunctionBadRequest) ToJSONString added in v0.41.0

func (o *UpdateMatchFunctionBadRequest) ToJSONString() string

type UpdateMatchFunctionConflict added in v0.41.0

type UpdateMatchFunctionConflict struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchFunctionConflict handles this case with default header values.

Conflict

func NewUpdateMatchFunctionConflict added in v0.41.0

func NewUpdateMatchFunctionConflict() *UpdateMatchFunctionConflict

NewUpdateMatchFunctionConflict creates a UpdateMatchFunctionConflict with default headers values

func (*UpdateMatchFunctionConflict) Error added in v0.41.0

func (*UpdateMatchFunctionConflict) GetPayload added in v0.41.0

func (*UpdateMatchFunctionConflict) ToJSONString added in v0.41.0

func (o *UpdateMatchFunctionConflict) ToJSONString() string

type UpdateMatchFunctionInternalServerError added in v0.41.0

type UpdateMatchFunctionInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchFunctionInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateMatchFunctionInternalServerError added in v0.41.0

func NewUpdateMatchFunctionInternalServerError() *UpdateMatchFunctionInternalServerError

NewUpdateMatchFunctionInternalServerError creates a UpdateMatchFunctionInternalServerError with default headers values

func (*UpdateMatchFunctionInternalServerError) Error added in v0.41.0

func (*UpdateMatchFunctionInternalServerError) GetPayload added in v0.41.0

func (*UpdateMatchFunctionInternalServerError) ToJSONString added in v0.41.0

type UpdateMatchFunctionNotFound added in v0.41.0

type UpdateMatchFunctionNotFound struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchFunctionNotFound handles this case with default header values.

Not Found

func NewUpdateMatchFunctionNotFound added in v0.41.0

func NewUpdateMatchFunctionNotFound() *UpdateMatchFunctionNotFound

NewUpdateMatchFunctionNotFound creates a UpdateMatchFunctionNotFound with default headers values

func (*UpdateMatchFunctionNotFound) Error added in v0.41.0

func (*UpdateMatchFunctionNotFound) GetPayload added in v0.41.0

func (*UpdateMatchFunctionNotFound) ToJSONString added in v0.41.0

func (o *UpdateMatchFunctionNotFound) ToJSONString() string

type UpdateMatchFunctionOK added in v0.41.0

type UpdateMatchFunctionOK struct {
	Payload *match2clientmodels.APIMatchFunctionConfig
}

UpdateMatchFunctionOK handles this case with default header values.

OK

func NewUpdateMatchFunctionOK added in v0.41.0

func NewUpdateMatchFunctionOK() *UpdateMatchFunctionOK

NewUpdateMatchFunctionOK creates a UpdateMatchFunctionOK with default headers values

func (*UpdateMatchFunctionOK) Error added in v0.41.0

func (o *UpdateMatchFunctionOK) Error() string

func (*UpdateMatchFunctionOK) GetPayload added in v0.41.0

func (*UpdateMatchFunctionOK) ToJSONString added in v0.41.0

func (o *UpdateMatchFunctionOK) ToJSONString() string

type UpdateMatchFunctionParams added in v0.41.0

type UpdateMatchFunctionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *match2clientmodels.APIMatchFunctionRequest
	/*Name
	  name of the match function

	*/
	Name string
	/*Namespace
	  namespace of the game

	*/
	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
}

UpdateMatchFunctionParams contains all the parameters to send to the API endpoint for the update match function operation typically these are written to a http.Request

func NewUpdateMatchFunctionParams added in v0.41.0

func NewUpdateMatchFunctionParams() *UpdateMatchFunctionParams

NewUpdateMatchFunctionParams creates a new UpdateMatchFunctionParams object with the default values initialized.

func NewUpdateMatchFunctionParamsWithContext added in v0.41.0

func NewUpdateMatchFunctionParamsWithContext(ctx context.Context) *UpdateMatchFunctionParams

NewUpdateMatchFunctionParamsWithContext creates a new UpdateMatchFunctionParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateMatchFunctionParamsWithHTTPClient added in v0.41.0

func NewUpdateMatchFunctionParamsWithHTTPClient(client *http.Client) *UpdateMatchFunctionParams

NewUpdateMatchFunctionParamsWithHTTPClient creates a new UpdateMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateMatchFunctionParamsWithTimeout added in v0.41.0

func NewUpdateMatchFunctionParamsWithTimeout(timeout time.Duration) *UpdateMatchFunctionParams

NewUpdateMatchFunctionParamsWithTimeout creates a new UpdateMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateMatchFunctionParams) SetAuthInfoWriter added in v0.41.0

func (o *UpdateMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update match function params

func (*UpdateMatchFunctionParams) SetBody added in v0.41.0

SetBody adds the body to the update match function params

func (*UpdateMatchFunctionParams) SetContext added in v0.41.0

func (o *UpdateMatchFunctionParams) SetContext(ctx context.Context)

SetContext adds the context to the update match function params

func (*UpdateMatchFunctionParams) SetFlightId added in v0.63.0

func (o *UpdateMatchFunctionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateMatchFunctionParams) SetHTTPClient added in v0.41.0

func (o *UpdateMatchFunctionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update match function params

func (*UpdateMatchFunctionParams) SetHTTPClientTransport added in v0.41.0

func (o *UpdateMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update match function params

func (*UpdateMatchFunctionParams) SetName added in v0.41.0

func (o *UpdateMatchFunctionParams) SetName(name string)

SetName adds the name to the update match function params

func (*UpdateMatchFunctionParams) SetNamespace added in v0.41.0

func (o *UpdateMatchFunctionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update match function params

func (*UpdateMatchFunctionParams) SetTimeout added in v0.41.0

func (o *UpdateMatchFunctionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update match function params

func (*UpdateMatchFunctionParams) WithBody added in v0.41.0

WithBody adds the body to the update match function params

func (*UpdateMatchFunctionParams) WithContext added in v0.41.0

WithContext adds the context to the update match function params

func (*UpdateMatchFunctionParams) WithHTTPClient added in v0.41.0

func (o *UpdateMatchFunctionParams) WithHTTPClient(client *http.Client) *UpdateMatchFunctionParams

WithHTTPClient adds the HTTPClient to the update match function params

func (*UpdateMatchFunctionParams) WithName added in v0.41.0

WithName adds the name to the update match function params

func (*UpdateMatchFunctionParams) WithNamespace added in v0.41.0

func (o *UpdateMatchFunctionParams) WithNamespace(namespace string) *UpdateMatchFunctionParams

WithNamespace adds the namespace to the update match function params

func (*UpdateMatchFunctionParams) WithTimeout added in v0.41.0

WithTimeout adds the timeout to the update match function params

func (*UpdateMatchFunctionParams) WriteToRequest added in v0.41.0

WriteToRequest writes these params to a swagger request

type UpdateMatchFunctionReader added in v0.41.0

type UpdateMatchFunctionReader struct {
	// contains filtered or unexported fields
}

UpdateMatchFunctionReader is a Reader for the UpdateMatchFunction structure.

func (*UpdateMatchFunctionReader) ReadResponse added in v0.41.0

func (o *UpdateMatchFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateMatchFunctionUnauthorized added in v0.41.0

type UpdateMatchFunctionUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchFunctionUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateMatchFunctionUnauthorized added in v0.41.0

func NewUpdateMatchFunctionUnauthorized() *UpdateMatchFunctionUnauthorized

NewUpdateMatchFunctionUnauthorized creates a UpdateMatchFunctionUnauthorized with default headers values

func (*UpdateMatchFunctionUnauthorized) Error added in v0.41.0

func (*UpdateMatchFunctionUnauthorized) GetPayload added in v0.41.0

func (*UpdateMatchFunctionUnauthorized) ToJSONString added in v0.41.0

func (o *UpdateMatchFunctionUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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