match_pools

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 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 pools API

func (*Client) CreateMatchPool deprecated

Deprecated: Use CreateMatchPoolShort instead.

CreateMatchPool creates a match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [CREATE]

Required Scope: social

Creates a new matchmaking pool.

A pool is isolated from other pools (i.e. tickets may be matched with other tickets in the same pool, but not with tickets in other pools). Each pool has its own matchmaking rules and/or logic.

ticket_expiration_seconds and backfill_ticket_expiration_seconds will be set to 300 seconds (5 minutes) by default if not filled.

func (*Client) CreateMatchPoolShort

func (a *Client) CreateMatchPoolShort(params *CreateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchPoolCreated, error)
CreateMatchPoolShort creates a match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [CREATE]

Required Scope: social

Creates a new matchmaking pool.

A pool is isolated from other pools (i.e. tickets may be matched with other tickets in the same pool, but not with tickets in other pools). Each pool has its own matchmaking rules and/or logic.

ticket_expiration_seconds and backfill_ticket_expiration_seconds will be set to 300 seconds (5 minutes) by default if not filled.

func (*Client) DeleteMatchPool deprecated

Deprecated: Use DeleteMatchPoolShort instead.

DeleteMatchPool deletes a match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [DELETE]

Required Scope: social

Deletes an existing matchmaking pool.

func (*Client) DeleteMatchPoolShort

func (a *Client) DeleteMatchPoolShort(params *DeleteMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchPoolNoContent, error)
DeleteMatchPoolShort deletes a match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [DELETE]

Required Scope: social

Deletes an existing matchmaking pool.

func (*Client) MatchPoolDetails deprecated

Deprecated: Use MatchPoolDetailsShort instead.

MatchPoolDetails gets details for a specific match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [READ]

Required Scope: social

Get details for a specific match pool

func (*Client) MatchPoolDetailsShort

func (a *Client) MatchPoolDetailsShort(params *MatchPoolDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolDetailsOK, error)
MatchPoolDetailsShort gets details for a specific match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [READ]

Required Scope: social

Get details for a specific match pool

func (*Client) MatchPoolList deprecated

Deprecated: Use MatchPoolListShort instead.

MatchPoolList lists match pools

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [READ]

Required Scope: social

List matchmaking pools.

func (*Client) MatchPoolListShort

func (a *Client) MatchPoolListShort(params *MatchPoolListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolListOK, error)
MatchPoolListShort lists match pools

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [READ]

Required Scope: social

List matchmaking pools.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateMatchPool deprecated

Deprecated: Use UpdateMatchPoolShort instead.

UpdateMatchPool updates a match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [UPDATE]

Required Scope: social

Updates an existing matchmaking pool.

ticket_expiration_seconds and backfill_ticket_expiration_seconds will be set to 300 seconds (5 minutes) by default if not filled.

func (*Client) UpdateMatchPoolShort

func (a *Client) UpdateMatchPoolShort(params *UpdateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchPoolOK, error)
UpdateMatchPoolShort updates a match pool

Required Permission: NAMESPACE:{namespace}:MATCHMAKING:POOL [UPDATE]

Required Scope: social

Updates an existing matchmaking pool.

ticket_expiration_seconds and backfill_ticket_expiration_seconds will be set to 300 seconds (5 minutes) by default if not filled.

type ClientService

type ClientService interface {
	CreateMatchPool(params *CreateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchPoolCreated, *CreateMatchPoolBadRequest, *CreateMatchPoolUnauthorized, *CreateMatchPoolForbidden, *CreateMatchPoolConflict, *CreateMatchPoolInternalServerError, error)
	CreateMatchPoolShort(params *CreateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchPoolCreated, error)
	DeleteMatchPool(params *DeleteMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchPoolNoContent, *DeleteMatchPoolUnauthorized, *DeleteMatchPoolForbidden, *DeleteMatchPoolNotFound, *DeleteMatchPoolInternalServerError, error)
	DeleteMatchPoolShort(params *DeleteMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchPoolNoContent, error)
	MatchPoolDetails(params *MatchPoolDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolDetailsOK, *MatchPoolDetailsUnauthorized, *MatchPoolDetailsForbidden, *MatchPoolDetailsInternalServerError, error)
	MatchPoolDetailsShort(params *MatchPoolDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolDetailsOK, error)
	MatchPoolList(params *MatchPoolListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolListOK, *MatchPoolListUnauthorized, *MatchPoolListForbidden, *MatchPoolListInternalServerError, error)
	MatchPoolListShort(params *MatchPoolListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolListOK, error)
	UpdateMatchPool(params *UpdateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchPoolOK, *UpdateMatchPoolBadRequest, *UpdateMatchPoolUnauthorized, *UpdateMatchPoolForbidden, *UpdateMatchPoolNotFound, *UpdateMatchPoolInternalServerError, error)
	UpdateMatchPoolShort(params *UpdateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchPoolOK, 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 pools API client.

type CreateMatchPoolBadRequest

type CreateMatchPoolBadRequest struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchPoolBadRequest handles this case with default header values.

Bad Request

func NewCreateMatchPoolBadRequest

func NewCreateMatchPoolBadRequest() *CreateMatchPoolBadRequest

NewCreateMatchPoolBadRequest creates a CreateMatchPoolBadRequest with default headers values

func (*CreateMatchPoolBadRequest) Error

func (o *CreateMatchPoolBadRequest) Error() string

func (*CreateMatchPoolBadRequest) GetPayload

func (*CreateMatchPoolBadRequest) ToJSONString

func (o *CreateMatchPoolBadRequest) ToJSONString() string

type CreateMatchPoolConflict

type CreateMatchPoolConflict struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchPoolConflict handles this case with default header values.

Conflict

func NewCreateMatchPoolConflict

func NewCreateMatchPoolConflict() *CreateMatchPoolConflict

NewCreateMatchPoolConflict creates a CreateMatchPoolConflict with default headers values

func (*CreateMatchPoolConflict) Error

func (o *CreateMatchPoolConflict) Error() string

func (*CreateMatchPoolConflict) GetPayload

func (*CreateMatchPoolConflict) ToJSONString

func (o *CreateMatchPoolConflict) ToJSONString() string

type CreateMatchPoolCreated

type CreateMatchPoolCreated struct {
}

CreateMatchPoolCreated handles this case with default header values.

Created

func NewCreateMatchPoolCreated

func NewCreateMatchPoolCreated() *CreateMatchPoolCreated

NewCreateMatchPoolCreated creates a CreateMatchPoolCreated with default headers values

func (*CreateMatchPoolCreated) Error

func (o *CreateMatchPoolCreated) Error() string

type CreateMatchPoolForbidden

type CreateMatchPoolForbidden struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchPoolForbidden handles this case with default header values.

Forbidden

func NewCreateMatchPoolForbidden

func NewCreateMatchPoolForbidden() *CreateMatchPoolForbidden

NewCreateMatchPoolForbidden creates a CreateMatchPoolForbidden with default headers values

func (*CreateMatchPoolForbidden) Error

func (o *CreateMatchPoolForbidden) Error() string

func (*CreateMatchPoolForbidden) GetPayload

func (*CreateMatchPoolForbidden) ToJSONString

func (o *CreateMatchPoolForbidden) ToJSONString() string

type CreateMatchPoolInternalServerError

type CreateMatchPoolInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateMatchPoolInternalServerError

func NewCreateMatchPoolInternalServerError() *CreateMatchPoolInternalServerError

NewCreateMatchPoolInternalServerError creates a CreateMatchPoolInternalServerError with default headers values

func (*CreateMatchPoolInternalServerError) Error

func (*CreateMatchPoolInternalServerError) GetPayload

func (*CreateMatchPoolInternalServerError) ToJSONString

func (o *CreateMatchPoolInternalServerError) ToJSONString() string

type CreateMatchPoolParams

type CreateMatchPoolParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewCreateMatchPoolParams

func NewCreateMatchPoolParams() *CreateMatchPoolParams

NewCreateMatchPoolParams creates a new CreateMatchPoolParams object with the default values initialized.

func NewCreateMatchPoolParamsWithContext

func NewCreateMatchPoolParamsWithContext(ctx context.Context) *CreateMatchPoolParams

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

func NewCreateMatchPoolParamsWithHTTPClient

func NewCreateMatchPoolParamsWithHTTPClient(client *http.Client) *CreateMatchPoolParams

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

func NewCreateMatchPoolParamsWithTimeout

func NewCreateMatchPoolParamsWithTimeout(timeout time.Duration) *CreateMatchPoolParams

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

func (*CreateMatchPoolParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create match pool params

func (*CreateMatchPoolParams) SetBody

SetBody adds the body to the create match pool params

func (*CreateMatchPoolParams) SetContext

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

SetContext adds the context to the create match pool params

func (*CreateMatchPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create match pool params

func (*CreateMatchPoolParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create match pool params

func (*CreateMatchPoolParams) SetNamespace

func (o *CreateMatchPoolParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create match pool params

func (*CreateMatchPoolParams) SetTimeout

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

SetTimeout adds the timeout to the create match pool params

func (*CreateMatchPoolParams) WithBody

WithBody adds the body to the create match pool params

func (*CreateMatchPoolParams) WithContext

WithContext adds the context to the create match pool params

func (*CreateMatchPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create match pool params

func (*CreateMatchPoolParams) WithNamespace

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

WithNamespace adds the namespace to the create match pool params

func (*CreateMatchPoolParams) WithTimeout

func (o *CreateMatchPoolParams) WithTimeout(timeout time.Duration) *CreateMatchPoolParams

WithTimeout adds the timeout to the create match pool params

func (*CreateMatchPoolParams) WriteToRequest

func (o *CreateMatchPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateMatchPoolReader

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

CreateMatchPoolReader is a Reader for the CreateMatchPool structure.

func (*CreateMatchPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMatchPoolUnauthorized

type CreateMatchPoolUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

CreateMatchPoolUnauthorized handles this case with default header values.

Unauthorized

func NewCreateMatchPoolUnauthorized

func NewCreateMatchPoolUnauthorized() *CreateMatchPoolUnauthorized

NewCreateMatchPoolUnauthorized creates a CreateMatchPoolUnauthorized with default headers values

func (*CreateMatchPoolUnauthorized) Error

func (*CreateMatchPoolUnauthorized) GetPayload

func (*CreateMatchPoolUnauthorized) ToJSONString

func (o *CreateMatchPoolUnauthorized) ToJSONString() string

type DeleteMatchPoolForbidden

type DeleteMatchPoolForbidden struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchPoolForbidden handles this case with default header values.

Forbidden

func NewDeleteMatchPoolForbidden

func NewDeleteMatchPoolForbidden() *DeleteMatchPoolForbidden

NewDeleteMatchPoolForbidden creates a DeleteMatchPoolForbidden with default headers values

func (*DeleteMatchPoolForbidden) Error

func (o *DeleteMatchPoolForbidden) Error() string

func (*DeleteMatchPoolForbidden) GetPayload

func (*DeleteMatchPoolForbidden) ToJSONString

func (o *DeleteMatchPoolForbidden) ToJSONString() string

type DeleteMatchPoolInternalServerError

type DeleteMatchPoolInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteMatchPoolInternalServerError

func NewDeleteMatchPoolInternalServerError() *DeleteMatchPoolInternalServerError

NewDeleteMatchPoolInternalServerError creates a DeleteMatchPoolInternalServerError with default headers values

func (*DeleteMatchPoolInternalServerError) Error

func (*DeleteMatchPoolInternalServerError) GetPayload

func (*DeleteMatchPoolInternalServerError) ToJSONString

func (o *DeleteMatchPoolInternalServerError) ToJSONString() string

type DeleteMatchPoolNoContent

type DeleteMatchPoolNoContent struct {
}

DeleteMatchPoolNoContent handles this case with default header values.

No Content

func NewDeleteMatchPoolNoContent

func NewDeleteMatchPoolNoContent() *DeleteMatchPoolNoContent

NewDeleteMatchPoolNoContent creates a DeleteMatchPoolNoContent with default headers values

func (*DeleteMatchPoolNoContent) Error

func (o *DeleteMatchPoolNoContent) Error() string

type DeleteMatchPoolNotFound

type DeleteMatchPoolNotFound struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchPoolNotFound handles this case with default header values.

Not Found

func NewDeleteMatchPoolNotFound

func NewDeleteMatchPoolNotFound() *DeleteMatchPoolNotFound

NewDeleteMatchPoolNotFound creates a DeleteMatchPoolNotFound with default headers values

func (*DeleteMatchPoolNotFound) Error

func (o *DeleteMatchPoolNotFound) Error() string

func (*DeleteMatchPoolNotFound) GetPayload

func (*DeleteMatchPoolNotFound) ToJSONString

func (o *DeleteMatchPoolNotFound) ToJSONString() string

type DeleteMatchPoolParams

type DeleteMatchPoolParams struct {

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

	*/
	Namespace string
	/*Pool
	  Name of the match pool

	*/
	Pool string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewDeleteMatchPoolParams

func NewDeleteMatchPoolParams() *DeleteMatchPoolParams

NewDeleteMatchPoolParams creates a new DeleteMatchPoolParams object with the default values initialized.

func NewDeleteMatchPoolParamsWithContext

func NewDeleteMatchPoolParamsWithContext(ctx context.Context) *DeleteMatchPoolParams

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

func NewDeleteMatchPoolParamsWithHTTPClient

func NewDeleteMatchPoolParamsWithHTTPClient(client *http.Client) *DeleteMatchPoolParams

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

func NewDeleteMatchPoolParamsWithTimeout

func NewDeleteMatchPoolParamsWithTimeout(timeout time.Duration) *DeleteMatchPoolParams

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

func (*DeleteMatchPoolParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete match pool params

func (*DeleteMatchPoolParams) SetContext

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

SetContext adds the context to the delete match pool params

func (*DeleteMatchPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete match pool params

func (*DeleteMatchPoolParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete match pool params

func (*DeleteMatchPoolParams) SetNamespace

func (o *DeleteMatchPoolParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete match pool params

func (*DeleteMatchPoolParams) SetPool

func (o *DeleteMatchPoolParams) SetPool(pool string)

SetPool adds the pool to the delete match pool params

func (*DeleteMatchPoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete match pool params

func (*DeleteMatchPoolParams) WithContext

WithContext adds the context to the delete match pool params

func (*DeleteMatchPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete match pool params

func (*DeleteMatchPoolParams) WithNamespace

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

WithNamespace adds the namespace to the delete match pool params

func (*DeleteMatchPoolParams) WithPool

WithPool adds the pool to the delete match pool params

func (*DeleteMatchPoolParams) WithTimeout

func (o *DeleteMatchPoolParams) WithTimeout(timeout time.Duration) *DeleteMatchPoolParams

WithTimeout adds the timeout to the delete match pool params

func (*DeleteMatchPoolParams) WriteToRequest

func (o *DeleteMatchPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteMatchPoolReader

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

DeleteMatchPoolReader is a Reader for the DeleteMatchPool structure.

func (*DeleteMatchPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMatchPoolUnauthorized

type DeleteMatchPoolUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

DeleteMatchPoolUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteMatchPoolUnauthorized

func NewDeleteMatchPoolUnauthorized() *DeleteMatchPoolUnauthorized

NewDeleteMatchPoolUnauthorized creates a DeleteMatchPoolUnauthorized with default headers values

func (*DeleteMatchPoolUnauthorized) Error

func (*DeleteMatchPoolUnauthorized) GetPayload

func (*DeleteMatchPoolUnauthorized) ToJSONString

func (o *DeleteMatchPoolUnauthorized) ToJSONString() string

type MatchPoolDetailsForbidden

type MatchPoolDetailsForbidden struct {
	Payload *match2clientmodels.ResponseError
}

MatchPoolDetailsForbidden handles this case with default header values.

Forbidden

func NewMatchPoolDetailsForbidden

func NewMatchPoolDetailsForbidden() *MatchPoolDetailsForbidden

NewMatchPoolDetailsForbidden creates a MatchPoolDetailsForbidden with default headers values

func (*MatchPoolDetailsForbidden) Error

func (o *MatchPoolDetailsForbidden) Error() string

func (*MatchPoolDetailsForbidden) GetPayload

func (*MatchPoolDetailsForbidden) ToJSONString

func (o *MatchPoolDetailsForbidden) ToJSONString() string

type MatchPoolDetailsInternalServerError

type MatchPoolDetailsInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

MatchPoolDetailsInternalServerError handles this case with default header values.

Internal Server Error

func NewMatchPoolDetailsInternalServerError

func NewMatchPoolDetailsInternalServerError() *MatchPoolDetailsInternalServerError

NewMatchPoolDetailsInternalServerError creates a MatchPoolDetailsInternalServerError with default headers values

func (*MatchPoolDetailsInternalServerError) Error

func (*MatchPoolDetailsInternalServerError) GetPayload

func (*MatchPoolDetailsInternalServerError) ToJSONString

func (o *MatchPoolDetailsInternalServerError) ToJSONString() string

type MatchPoolDetailsOK

type MatchPoolDetailsOK struct {
	Payload *match2clientmodels.APIMatchPool
}

MatchPoolDetailsOK handles this case with default header values.

Created

func NewMatchPoolDetailsOK

func NewMatchPoolDetailsOK() *MatchPoolDetailsOK

NewMatchPoolDetailsOK creates a MatchPoolDetailsOK with default headers values

func (*MatchPoolDetailsOK) Error

func (o *MatchPoolDetailsOK) Error() string

func (*MatchPoolDetailsOK) GetPayload

func (*MatchPoolDetailsOK) ToJSONString

func (o *MatchPoolDetailsOK) ToJSONString() string

type MatchPoolDetailsParams

type MatchPoolDetailsParams struct {

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

	*/
	Namespace string
	/*Pool
	  Name of the match pool

	*/
	Pool string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

MatchPoolDetailsParams contains all the parameters to send to the API endpoint for the match pool details operation typically these are written to a http.Request

func NewMatchPoolDetailsParams

func NewMatchPoolDetailsParams() *MatchPoolDetailsParams

NewMatchPoolDetailsParams creates a new MatchPoolDetailsParams object with the default values initialized.

func NewMatchPoolDetailsParamsWithContext

func NewMatchPoolDetailsParamsWithContext(ctx context.Context) *MatchPoolDetailsParams

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

func NewMatchPoolDetailsParamsWithHTTPClient

func NewMatchPoolDetailsParamsWithHTTPClient(client *http.Client) *MatchPoolDetailsParams

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

func NewMatchPoolDetailsParamsWithTimeout

func NewMatchPoolDetailsParamsWithTimeout(timeout time.Duration) *MatchPoolDetailsParams

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

func (*MatchPoolDetailsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the match pool details params

func (*MatchPoolDetailsParams) SetContext

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

SetContext adds the context to the match pool details params

func (*MatchPoolDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the match pool details params

func (*MatchPoolDetailsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the match pool details params

func (*MatchPoolDetailsParams) SetNamespace

func (o *MatchPoolDetailsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the match pool details params

func (*MatchPoolDetailsParams) SetPool

func (o *MatchPoolDetailsParams) SetPool(pool string)

SetPool adds the pool to the match pool details params

func (*MatchPoolDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the match pool details params

func (*MatchPoolDetailsParams) WithContext

WithContext adds the context to the match pool details params

func (*MatchPoolDetailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the match pool details params

func (*MatchPoolDetailsParams) WithNamespace

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

WithNamespace adds the namespace to the match pool details params

func (*MatchPoolDetailsParams) WithPool

WithPool adds the pool to the match pool details params

func (*MatchPoolDetailsParams) WithTimeout

WithTimeout adds the timeout to the match pool details params

func (*MatchPoolDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MatchPoolDetailsReader

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

MatchPoolDetailsReader is a Reader for the MatchPoolDetails structure.

func (*MatchPoolDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MatchPoolDetailsUnauthorized

type MatchPoolDetailsUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

MatchPoolDetailsUnauthorized handles this case with default header values.

Unauthorized

func NewMatchPoolDetailsUnauthorized

func NewMatchPoolDetailsUnauthorized() *MatchPoolDetailsUnauthorized

NewMatchPoolDetailsUnauthorized creates a MatchPoolDetailsUnauthorized with default headers values

func (*MatchPoolDetailsUnauthorized) Error

func (*MatchPoolDetailsUnauthorized) GetPayload

func (*MatchPoolDetailsUnauthorized) ToJSONString

func (o *MatchPoolDetailsUnauthorized) ToJSONString() string

type MatchPoolListForbidden

type MatchPoolListForbidden struct {
	Payload *match2clientmodels.ResponseError
}

MatchPoolListForbidden handles this case with default header values.

Forbidden

func NewMatchPoolListForbidden

func NewMatchPoolListForbidden() *MatchPoolListForbidden

NewMatchPoolListForbidden creates a MatchPoolListForbidden with default headers values

func (*MatchPoolListForbidden) Error

func (o *MatchPoolListForbidden) Error() string

func (*MatchPoolListForbidden) GetPayload

func (*MatchPoolListForbidden) ToJSONString

func (o *MatchPoolListForbidden) ToJSONString() string

type MatchPoolListInternalServerError

type MatchPoolListInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

MatchPoolListInternalServerError handles this case with default header values.

Internal Server Error

func NewMatchPoolListInternalServerError

func NewMatchPoolListInternalServerError() *MatchPoolListInternalServerError

NewMatchPoolListInternalServerError creates a MatchPoolListInternalServerError with default headers values

func (*MatchPoolListInternalServerError) Error

func (*MatchPoolListInternalServerError) GetPayload

func (*MatchPoolListInternalServerError) ToJSONString

func (o *MatchPoolListInternalServerError) ToJSONString() string

type MatchPoolListOK

type MatchPoolListOK struct {
	Payload *match2clientmodels.APIListMatchPoolsResponse
}

MatchPoolListOK handles this case with default header values.

Created

func NewMatchPoolListOK

func NewMatchPoolListOK() *MatchPoolListOK

NewMatchPoolListOK creates a MatchPoolListOK with default headers values

func (*MatchPoolListOK) Error

func (o *MatchPoolListOK) Error() string

func (*MatchPoolListOK) GetPayload

func (*MatchPoolListOK) ToJSONString

func (o *MatchPoolListOK) ToJSONString() string

type MatchPoolListParams

type MatchPoolListParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  Pagination limit

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  Pagination offset

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewMatchPoolListParams

func NewMatchPoolListParams() *MatchPoolListParams

NewMatchPoolListParams creates a new MatchPoolListParams object with the default values initialized.

func NewMatchPoolListParamsWithContext

func NewMatchPoolListParamsWithContext(ctx context.Context) *MatchPoolListParams

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

func NewMatchPoolListParamsWithHTTPClient

func NewMatchPoolListParamsWithHTTPClient(client *http.Client) *MatchPoolListParams

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

func NewMatchPoolListParamsWithTimeout

func NewMatchPoolListParamsWithTimeout(timeout time.Duration) *MatchPoolListParams

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

func (*MatchPoolListParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the match pool list params

func (*MatchPoolListParams) SetContext

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

SetContext adds the context to the match pool list params

func (*MatchPoolListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the match pool list params

func (*MatchPoolListParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the match pool list params

func (*MatchPoolListParams) SetLimit

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

SetLimit adds the limit to the match pool list params

func (*MatchPoolListParams) SetNamespace

func (o *MatchPoolListParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the match pool list params

func (*MatchPoolListParams) SetOffset

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

SetOffset adds the offset to the match pool list params

func (*MatchPoolListParams) SetTimeout

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

SetTimeout adds the timeout to the match pool list params

func (*MatchPoolListParams) WithContext

WithContext adds the context to the match pool list params

func (*MatchPoolListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the match pool list params

func (*MatchPoolListParams) WithLimit

func (o *MatchPoolListParams) WithLimit(limit *int64) *MatchPoolListParams

WithLimit adds the limit to the match pool list params

func (*MatchPoolListParams) WithNamespace

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

WithNamespace adds the namespace to the match pool list params

func (*MatchPoolListParams) WithOffset

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

WithOffset adds the offset to the match pool list params

func (*MatchPoolListParams) WithTimeout

func (o *MatchPoolListParams) WithTimeout(timeout time.Duration) *MatchPoolListParams

WithTimeout adds the timeout to the match pool list params

func (*MatchPoolListParams) WriteToRequest

func (o *MatchPoolListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MatchPoolListReader

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

MatchPoolListReader is a Reader for the MatchPoolList structure.

func (*MatchPoolListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MatchPoolListUnauthorized

type MatchPoolListUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

MatchPoolListUnauthorized handles this case with default header values.

Unauthorized

func NewMatchPoolListUnauthorized

func NewMatchPoolListUnauthorized() *MatchPoolListUnauthorized

NewMatchPoolListUnauthorized creates a MatchPoolListUnauthorized with default headers values

func (*MatchPoolListUnauthorized) Error

func (o *MatchPoolListUnauthorized) Error() string

func (*MatchPoolListUnauthorized) GetPayload

func (*MatchPoolListUnauthorized) ToJSONString

func (o *MatchPoolListUnauthorized) ToJSONString() string

type UpdateMatchPoolBadRequest

type UpdateMatchPoolBadRequest struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchPoolBadRequest handles this case with default header values.

Bad Request

func NewUpdateMatchPoolBadRequest

func NewUpdateMatchPoolBadRequest() *UpdateMatchPoolBadRequest

NewUpdateMatchPoolBadRequest creates a UpdateMatchPoolBadRequest with default headers values

func (*UpdateMatchPoolBadRequest) Error

func (o *UpdateMatchPoolBadRequest) Error() string

func (*UpdateMatchPoolBadRequest) GetPayload

func (*UpdateMatchPoolBadRequest) ToJSONString

func (o *UpdateMatchPoolBadRequest) ToJSONString() string

type UpdateMatchPoolForbidden

type UpdateMatchPoolForbidden struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchPoolForbidden handles this case with default header values.

Forbidden

func NewUpdateMatchPoolForbidden

func NewUpdateMatchPoolForbidden() *UpdateMatchPoolForbidden

NewUpdateMatchPoolForbidden creates a UpdateMatchPoolForbidden with default headers values

func (*UpdateMatchPoolForbidden) Error

func (o *UpdateMatchPoolForbidden) Error() string

func (*UpdateMatchPoolForbidden) GetPayload

func (*UpdateMatchPoolForbidden) ToJSONString

func (o *UpdateMatchPoolForbidden) ToJSONString() string

type UpdateMatchPoolInternalServerError

type UpdateMatchPoolInternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateMatchPoolInternalServerError

func NewUpdateMatchPoolInternalServerError() *UpdateMatchPoolInternalServerError

NewUpdateMatchPoolInternalServerError creates a UpdateMatchPoolInternalServerError with default headers values

func (*UpdateMatchPoolInternalServerError) Error

func (*UpdateMatchPoolInternalServerError) GetPayload

func (*UpdateMatchPoolInternalServerError) ToJSONString

func (o *UpdateMatchPoolInternalServerError) ToJSONString() string

type UpdateMatchPoolNotFound

type UpdateMatchPoolNotFound struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchPoolNotFound handles this case with default header values.

Forbidden

func NewUpdateMatchPoolNotFound

func NewUpdateMatchPoolNotFound() *UpdateMatchPoolNotFound

NewUpdateMatchPoolNotFound creates a UpdateMatchPoolNotFound with default headers values

func (*UpdateMatchPoolNotFound) Error

func (o *UpdateMatchPoolNotFound) Error() string

func (*UpdateMatchPoolNotFound) GetPayload

func (*UpdateMatchPoolNotFound) ToJSONString

func (o *UpdateMatchPoolNotFound) ToJSONString() string

type UpdateMatchPoolOK

type UpdateMatchPoolOK struct {
	Payload *match2clientmodels.APIMatchPool
}

UpdateMatchPoolOK handles this case with default header values.

OK

func NewUpdateMatchPoolOK

func NewUpdateMatchPoolOK() *UpdateMatchPoolOK

NewUpdateMatchPoolOK creates a UpdateMatchPoolOK with default headers values

func (*UpdateMatchPoolOK) Error

func (o *UpdateMatchPoolOK) Error() string

func (*UpdateMatchPoolOK) GetPayload

func (*UpdateMatchPoolOK) ToJSONString

func (o *UpdateMatchPoolOK) ToJSONString() string

type UpdateMatchPoolParams

type UpdateMatchPoolParams struct {

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

	*/
	Namespace string
	/*Pool
	  Name of the match pool

	*/
	Pool string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewUpdateMatchPoolParams

func NewUpdateMatchPoolParams() *UpdateMatchPoolParams

NewUpdateMatchPoolParams creates a new UpdateMatchPoolParams object with the default values initialized.

func NewUpdateMatchPoolParamsWithContext

func NewUpdateMatchPoolParamsWithContext(ctx context.Context) *UpdateMatchPoolParams

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

func NewUpdateMatchPoolParamsWithHTTPClient

func NewUpdateMatchPoolParamsWithHTTPClient(client *http.Client) *UpdateMatchPoolParams

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

func NewUpdateMatchPoolParamsWithTimeout

func NewUpdateMatchPoolParamsWithTimeout(timeout time.Duration) *UpdateMatchPoolParams

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

func (*UpdateMatchPoolParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update match pool params

func (*UpdateMatchPoolParams) SetBody

SetBody adds the body to the update match pool params

func (*UpdateMatchPoolParams) SetContext

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

SetContext adds the context to the update match pool params

func (*UpdateMatchPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update match pool params

func (*UpdateMatchPoolParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update match pool params

func (*UpdateMatchPoolParams) SetNamespace

func (o *UpdateMatchPoolParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update match pool params

func (*UpdateMatchPoolParams) SetPool

func (o *UpdateMatchPoolParams) SetPool(pool string)

SetPool adds the pool to the update match pool params

func (*UpdateMatchPoolParams) SetTimeout

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

SetTimeout adds the timeout to the update match pool params

func (*UpdateMatchPoolParams) WithBody

WithBody adds the body to the update match pool params

func (*UpdateMatchPoolParams) WithContext

WithContext adds the context to the update match pool params

func (*UpdateMatchPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update match pool params

func (*UpdateMatchPoolParams) WithNamespace

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

WithNamespace adds the namespace to the update match pool params

func (*UpdateMatchPoolParams) WithPool

WithPool adds the pool to the update match pool params

func (*UpdateMatchPoolParams) WithTimeout

func (o *UpdateMatchPoolParams) WithTimeout(timeout time.Duration) *UpdateMatchPoolParams

WithTimeout adds the timeout to the update match pool params

func (*UpdateMatchPoolParams) WriteToRequest

func (o *UpdateMatchPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateMatchPoolReader

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

UpdateMatchPoolReader is a Reader for the UpdateMatchPool structure.

func (*UpdateMatchPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMatchPoolUnauthorized

type UpdateMatchPoolUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

UpdateMatchPoolUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateMatchPoolUnauthorized

func NewUpdateMatchPoolUnauthorized() *UpdateMatchPoolUnauthorized

NewUpdateMatchPoolUnauthorized creates a UpdateMatchPoolUnauthorized with default headers values

func (*UpdateMatchPoolUnauthorized) Error

func (*UpdateMatchPoolUnauthorized) GetPayload

func (*UpdateMatchPoolUnauthorized) ToJSONString

func (o *UpdateMatchPoolUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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