Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateMatchPool(params *CreateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchPoolCreated, *CreateMatchPoolBadRequest, ...)deprecated
- func (a *Client) CreateMatchPoolShort(params *CreateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchPoolCreated, error)
- func (a *Client) DeleteMatchPool(params *DeleteMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchPoolNoContent, *DeleteMatchPoolUnauthorized, ...)deprecated
- func (a *Client) DeleteMatchPoolShort(params *DeleteMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchPoolNoContent, error)
- func (a *Client) MatchPoolDetails(params *MatchPoolDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolDetailsOK, *MatchPoolDetailsUnauthorized, *MatchPoolDetailsForbidden, ...)deprecated
- func (a *Client) MatchPoolDetailsShort(params *MatchPoolDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolDetailsOK, error)
- func (a *Client) MatchPoolList(params *MatchPoolListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolListOK, *MatchPoolListUnauthorized, *MatchPoolListForbidden, ...)deprecated
- func (a *Client) MatchPoolListShort(params *MatchPoolListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateMatchPool(params *UpdateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchPoolOK, *UpdateMatchPoolBadRequest, *UpdateMatchPoolUnauthorized, ...)deprecated
- func (a *Client) UpdateMatchPoolShort(params *UpdateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchPoolOK, error)
- type ClientService
- type CreateMatchPoolBadRequest
- type CreateMatchPoolConflict
- type CreateMatchPoolCreated
- type CreateMatchPoolForbidden
- type CreateMatchPoolInternalServerError
- type CreateMatchPoolParams
- func NewCreateMatchPoolParams() *CreateMatchPoolParams
- func NewCreateMatchPoolParamsWithContext(ctx context.Context) *CreateMatchPoolParams
- func NewCreateMatchPoolParamsWithHTTPClient(client *http.Client) *CreateMatchPoolParams
- func NewCreateMatchPoolParamsWithTimeout(timeout time.Duration) *CreateMatchPoolParams
- func (o *CreateMatchPoolParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateMatchPoolParams) SetBody(body *match2clientmodels.APIMatchPool)
- func (o *CreateMatchPoolParams) SetContext(ctx context.Context)
- func (o *CreateMatchPoolParams) SetHTTPClient(client *http.Client)
- func (o *CreateMatchPoolParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateMatchPoolParams) SetNamespace(namespace string)
- func (o *CreateMatchPoolParams) SetTimeout(timeout time.Duration)
- func (o *CreateMatchPoolParams) WithBody(body *match2clientmodels.APIMatchPool) *CreateMatchPoolParams
- func (o *CreateMatchPoolParams) WithContext(ctx context.Context) *CreateMatchPoolParams
- func (o *CreateMatchPoolParams) WithHTTPClient(client *http.Client) *CreateMatchPoolParams
- func (o *CreateMatchPoolParams) WithNamespace(namespace string) *CreateMatchPoolParams
- func (o *CreateMatchPoolParams) WithTimeout(timeout time.Duration) *CreateMatchPoolParams
- func (o *CreateMatchPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMatchPoolReader
- type CreateMatchPoolUnauthorized
- type DeleteMatchPoolForbidden
- type DeleteMatchPoolInternalServerError
- type DeleteMatchPoolNoContent
- type DeleteMatchPoolNotFound
- type DeleteMatchPoolParams
- func NewDeleteMatchPoolParams() *DeleteMatchPoolParams
- func NewDeleteMatchPoolParamsWithContext(ctx context.Context) *DeleteMatchPoolParams
- func NewDeleteMatchPoolParamsWithHTTPClient(client *http.Client) *DeleteMatchPoolParams
- func NewDeleteMatchPoolParamsWithTimeout(timeout time.Duration) *DeleteMatchPoolParams
- func (o *DeleteMatchPoolParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteMatchPoolParams) SetContext(ctx context.Context)
- func (o *DeleteMatchPoolParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMatchPoolParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteMatchPoolParams) SetNamespace(namespace string)
- func (o *DeleteMatchPoolParams) SetPool(pool string)
- func (o *DeleteMatchPoolParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMatchPoolParams) WithContext(ctx context.Context) *DeleteMatchPoolParams
- func (o *DeleteMatchPoolParams) WithHTTPClient(client *http.Client) *DeleteMatchPoolParams
- func (o *DeleteMatchPoolParams) WithNamespace(namespace string) *DeleteMatchPoolParams
- func (o *DeleteMatchPoolParams) WithPool(pool string) *DeleteMatchPoolParams
- func (o *DeleteMatchPoolParams) WithTimeout(timeout time.Duration) *DeleteMatchPoolParams
- func (o *DeleteMatchPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMatchPoolReader
- type DeleteMatchPoolUnauthorized
- type MatchPoolDetailsForbidden
- type MatchPoolDetailsInternalServerError
- type MatchPoolDetailsOK
- type MatchPoolDetailsParams
- func NewMatchPoolDetailsParams() *MatchPoolDetailsParams
- func NewMatchPoolDetailsParamsWithContext(ctx context.Context) *MatchPoolDetailsParams
- func NewMatchPoolDetailsParamsWithHTTPClient(client *http.Client) *MatchPoolDetailsParams
- func NewMatchPoolDetailsParamsWithTimeout(timeout time.Duration) *MatchPoolDetailsParams
- func (o *MatchPoolDetailsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *MatchPoolDetailsParams) SetContext(ctx context.Context)
- func (o *MatchPoolDetailsParams) SetHTTPClient(client *http.Client)
- func (o *MatchPoolDetailsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *MatchPoolDetailsParams) SetNamespace(namespace string)
- func (o *MatchPoolDetailsParams) SetPool(pool string)
- func (o *MatchPoolDetailsParams) SetTimeout(timeout time.Duration)
- func (o *MatchPoolDetailsParams) WithContext(ctx context.Context) *MatchPoolDetailsParams
- func (o *MatchPoolDetailsParams) WithHTTPClient(client *http.Client) *MatchPoolDetailsParams
- func (o *MatchPoolDetailsParams) WithNamespace(namespace string) *MatchPoolDetailsParams
- func (o *MatchPoolDetailsParams) WithPool(pool string) *MatchPoolDetailsParams
- func (o *MatchPoolDetailsParams) WithTimeout(timeout time.Duration) *MatchPoolDetailsParams
- func (o *MatchPoolDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MatchPoolDetailsReader
- type MatchPoolDetailsUnauthorized
- type MatchPoolListForbidden
- type MatchPoolListInternalServerError
- type MatchPoolListOK
- type MatchPoolListParams
- func (o *MatchPoolListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *MatchPoolListParams) SetContext(ctx context.Context)
- func (o *MatchPoolListParams) SetHTTPClient(client *http.Client)
- func (o *MatchPoolListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *MatchPoolListParams) SetLimit(limit *int64)
- func (o *MatchPoolListParams) SetNamespace(namespace string)
- func (o *MatchPoolListParams) SetOffset(offset *int64)
- func (o *MatchPoolListParams) SetTimeout(timeout time.Duration)
- func (o *MatchPoolListParams) WithContext(ctx context.Context) *MatchPoolListParams
- func (o *MatchPoolListParams) WithHTTPClient(client *http.Client) *MatchPoolListParams
- func (o *MatchPoolListParams) WithLimit(limit *int64) *MatchPoolListParams
- func (o *MatchPoolListParams) WithNamespace(namespace string) *MatchPoolListParams
- func (o *MatchPoolListParams) WithOffset(offset *int64) *MatchPoolListParams
- func (o *MatchPoolListParams) WithTimeout(timeout time.Duration) *MatchPoolListParams
- func (o *MatchPoolListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MatchPoolListReader
- type MatchPoolListUnauthorized
- type UpdateMatchPoolBadRequest
- type UpdateMatchPoolForbidden
- type UpdateMatchPoolInternalServerError
- type UpdateMatchPoolNotFound
- type UpdateMatchPoolOK
- type UpdateMatchPoolParams
- func NewUpdateMatchPoolParams() *UpdateMatchPoolParams
- func NewUpdateMatchPoolParamsWithContext(ctx context.Context) *UpdateMatchPoolParams
- func NewUpdateMatchPoolParamsWithHTTPClient(client *http.Client) *UpdateMatchPoolParams
- func NewUpdateMatchPoolParamsWithTimeout(timeout time.Duration) *UpdateMatchPoolParams
- func (o *UpdateMatchPoolParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateMatchPoolParams) SetBody(body *match2clientmodels.APIMatchPoolConfig)
- func (o *UpdateMatchPoolParams) SetContext(ctx context.Context)
- func (o *UpdateMatchPoolParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMatchPoolParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateMatchPoolParams) SetNamespace(namespace string)
- func (o *UpdateMatchPoolParams) SetPool(pool string)
- func (o *UpdateMatchPoolParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMatchPoolParams) WithBody(body *match2clientmodels.APIMatchPoolConfig) *UpdateMatchPoolParams
- func (o *UpdateMatchPoolParams) WithContext(ctx context.Context) *UpdateMatchPoolParams
- func (o *UpdateMatchPoolParams) WithHTTPClient(client *http.Client) *UpdateMatchPoolParams
- func (o *UpdateMatchPoolParams) WithNamespace(namespace string) *UpdateMatchPoolParams
- func (o *UpdateMatchPoolParams) WithPool(pool string) *UpdateMatchPoolParams
- func (o *UpdateMatchPoolParams) WithTimeout(timeout time.Duration) *UpdateMatchPoolParams
- func (o *UpdateMatchPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMatchPoolReader
- type UpdateMatchPoolUnauthorized
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
func (a *Client) CreateMatchPool(params *CreateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchPoolCreated, *CreateMatchPoolBadRequest, *CreateMatchPoolUnauthorized, *CreateMatchPoolForbidden, *CreateMatchPoolConflict, *CreateMatchPoolInternalServerError, error)
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
func (a *Client) DeleteMatchPool(params *DeleteMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchPoolNoContent, *DeleteMatchPoolUnauthorized, *DeleteMatchPoolForbidden, *DeleteMatchPoolNotFound, *DeleteMatchPoolInternalServerError, error)
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
func (a *Client) MatchPoolDetails(params *MatchPoolDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolDetailsOK, *MatchPoolDetailsUnauthorized, *MatchPoolDetailsForbidden, *MatchPoolDetailsInternalServerError, error)
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
func (a *Client) MatchPoolList(params *MatchPoolListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchPoolListOK, *MatchPoolListUnauthorized, *MatchPoolListForbidden, *MatchPoolListInternalServerError, error)
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
func (a *Client) UpdateMatchPool(params *UpdateMatchPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchPoolOK, *UpdateMatchPoolBadRequest, *UpdateMatchPoolUnauthorized, *UpdateMatchPoolForbidden, *UpdateMatchPoolNotFound, *UpdateMatchPoolInternalServerError, error)
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 (o *CreateMatchPoolBadRequest) GetPayload() *match2clientmodels.ResponseError
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 (o *CreateMatchPoolConflict) GetPayload() *match2clientmodels.ResponseError
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 (o *CreateMatchPoolForbidden) GetPayload() *match2clientmodels.ResponseError
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 (o *CreateMatchPoolInternalServerError) Error() string
func (*CreateMatchPoolInternalServerError) GetPayload ¶
func (o *CreateMatchPoolInternalServerError) GetPayload() *match2clientmodels.ResponseError
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 ¶
func (o *CreateMatchPoolParams) SetBody(body *match2clientmodels.APIMatchPool)
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 ¶
func (o *CreateMatchPoolParams) WithBody(body *match2clientmodels.APIMatchPool) *CreateMatchPoolParams
WithBody adds the body to the create match pool params
func (*CreateMatchPoolParams) WithContext ¶
func (o *CreateMatchPoolParams) WithContext(ctx context.Context) *CreateMatchPoolParams
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 {
}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 (o *CreateMatchPoolUnauthorized) Error() string
func (*CreateMatchPoolUnauthorized) GetPayload ¶
func (o *CreateMatchPoolUnauthorized) GetPayload() *match2clientmodels.ResponseError
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 (o *DeleteMatchPoolForbidden) GetPayload() *match2clientmodels.ResponseError
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 (o *DeleteMatchPoolInternalServerError) Error() string
func (*DeleteMatchPoolInternalServerError) GetPayload ¶
func (o *DeleteMatchPoolInternalServerError) GetPayload() *match2clientmodels.ResponseError
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 (o *DeleteMatchPoolNotFound) GetPayload() *match2clientmodels.ResponseError
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 ¶
func (o *DeleteMatchPoolParams) WithContext(ctx context.Context) *DeleteMatchPoolParams
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 ¶
func (o *DeleteMatchPoolParams) WithPool(pool string) *DeleteMatchPoolParams
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 {
}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 (o *DeleteMatchPoolUnauthorized) Error() string
func (*DeleteMatchPoolUnauthorized) GetPayload ¶
func (o *DeleteMatchPoolUnauthorized) GetPayload() *match2clientmodels.ResponseError
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 (o *MatchPoolDetailsForbidden) GetPayload() *match2clientmodels.ResponseError
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 (o *MatchPoolDetailsInternalServerError) Error() string
func (*MatchPoolDetailsInternalServerError) GetPayload ¶
func (o *MatchPoolDetailsInternalServerError) GetPayload() *match2clientmodels.ResponseError
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 (o *MatchPoolDetailsOK) GetPayload() *match2clientmodels.APIMatchPool
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 ¶
func (o *MatchPoolDetailsParams) WithContext(ctx context.Context) *MatchPoolDetailsParams
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 ¶
func (o *MatchPoolDetailsParams) WithPool(pool string) *MatchPoolDetailsParams
WithPool adds the pool to the match pool details params
func (*MatchPoolDetailsParams) WithTimeout ¶
func (o *MatchPoolDetailsParams) WithTimeout(timeout time.Duration) *MatchPoolDetailsParams
WithTimeout adds the timeout to the match pool details params
func (*MatchPoolDetailsParams) WriteToRequest ¶
func (o *MatchPoolDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *MatchPoolDetailsUnauthorized) Error() string
func (*MatchPoolDetailsUnauthorized) GetPayload ¶
func (o *MatchPoolDetailsUnauthorized) GetPayload() *match2clientmodels.ResponseError
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 (o *MatchPoolListForbidden) GetPayload() *match2clientmodels.ResponseError
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 (o *MatchPoolListInternalServerError) Error() string
func (*MatchPoolListInternalServerError) GetPayload ¶
func (o *MatchPoolListInternalServerError) GetPayload() *match2clientmodels.ResponseError
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 (o *MatchPoolListOK) GetPayload() *match2clientmodels.APIListMatchPoolsResponse
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 ¶
func (o *MatchPoolListParams) WithContext(ctx context.Context) *MatchPoolListParams
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 {
}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 (o *MatchPoolListUnauthorized) GetPayload() *match2clientmodels.ResponseError
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 (o *UpdateMatchPoolBadRequest) GetPayload() *match2clientmodels.ResponseError
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 (o *UpdateMatchPoolForbidden) GetPayload() *match2clientmodels.ResponseError
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 (o *UpdateMatchPoolInternalServerError) Error() string
func (*UpdateMatchPoolInternalServerError) GetPayload ¶
func (o *UpdateMatchPoolInternalServerError) GetPayload() *match2clientmodels.ResponseError
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 (o *UpdateMatchPoolNotFound) GetPayload() *match2clientmodels.ResponseError
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 (o *UpdateMatchPoolOK) GetPayload() *match2clientmodels.APIMatchPool
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 ¶
func (o *UpdateMatchPoolParams) SetBody(body *match2clientmodels.APIMatchPoolConfig)
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 ¶
func (o *UpdateMatchPoolParams) WithBody(body *match2clientmodels.APIMatchPoolConfig) *UpdateMatchPoolParams
WithBody adds the body to the update match pool params
func (*UpdateMatchPoolParams) WithContext ¶
func (o *UpdateMatchPoolParams) WithContext(ctx context.Context) *UpdateMatchPoolParams
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 ¶
func (o *UpdateMatchPoolParams) WithPool(pool string) *UpdateMatchPoolParams
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 {
}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 (o *UpdateMatchPoolUnauthorized) Error() string
func (*UpdateMatchPoolUnauthorized) GetPayload ¶
func (o *UpdateMatchPoolUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*UpdateMatchPoolUnauthorized) ToJSONString ¶
func (o *UpdateMatchPoolUnauthorized) ToJSONString() string
Source Files
¶
- create_match_pool_parameters.go
- create_match_pool_responses.go
- delete_match_pool_parameters.go
- delete_match_pool_responses.go
- match_pool_details_parameters.go
- match_pool_details_responses.go
- match_pool_list_parameters.go
- match_pool_list_responses.go
- match_pools_client.go
- update_match_pool_parameters.go
- update_match_pool_responses.go