Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateMatchFunction(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, *CreateMatchFunctionBadRequest, ...)deprecated
- func (a *Client) CreateMatchFunctionShort(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, error)
- func (a *Client) DeleteMatchFunction(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, *DeleteMatchFunctionUnauthorized, ...)deprecated
- func (a *Client) DeleteMatchFunctionShort(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, error)
- func (a *Client) MatchFunctionList(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, *MatchFunctionListUnauthorized, ...)deprecated
- func (a *Client) MatchFunctionListShort(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateMatchFunctionBadRequest
- type CreateMatchFunctionConflict
- type CreateMatchFunctionCreated
- type CreateMatchFunctionForbidden
- type CreateMatchFunctionInternalServerError
- type CreateMatchFunctionParams
- func NewCreateMatchFunctionParams() *CreateMatchFunctionParams
- func NewCreateMatchFunctionParamsWithContext(ctx context.Context) *CreateMatchFunctionParams
- func NewCreateMatchFunctionParamsWithHTTPClient(client *http.Client) *CreateMatchFunctionParams
- func NewCreateMatchFunctionParamsWithTimeout(timeout time.Duration) *CreateMatchFunctionParams
- func (o *CreateMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateMatchFunctionParams) SetBody(body *match2clientmodels.APIMatchFunctionRequest)
- func (o *CreateMatchFunctionParams) SetContext(ctx context.Context)
- func (o *CreateMatchFunctionParams) SetHTTPClient(client *http.Client)
- func (o *CreateMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateMatchFunctionParams) SetNamespace(namespace string)
- func (o *CreateMatchFunctionParams) SetTimeout(timeout time.Duration)
- func (o *CreateMatchFunctionParams) WithBody(body *match2clientmodels.APIMatchFunctionRequest) *CreateMatchFunctionParams
- func (o *CreateMatchFunctionParams) WithContext(ctx context.Context) *CreateMatchFunctionParams
- func (o *CreateMatchFunctionParams) WithHTTPClient(client *http.Client) *CreateMatchFunctionParams
- func (o *CreateMatchFunctionParams) WithNamespace(namespace string) *CreateMatchFunctionParams
- func (o *CreateMatchFunctionParams) WithTimeout(timeout time.Duration) *CreateMatchFunctionParams
- func (o *CreateMatchFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMatchFunctionReader
- type CreateMatchFunctionUnauthorized
- type DeleteMatchFunctionForbidden
- type DeleteMatchFunctionInternalServerError
- type DeleteMatchFunctionNotFound
- type DeleteMatchFunctionOK
- type DeleteMatchFunctionParams
- func NewDeleteMatchFunctionParams() *DeleteMatchFunctionParams
- func NewDeleteMatchFunctionParamsWithContext(ctx context.Context) *DeleteMatchFunctionParams
- func NewDeleteMatchFunctionParamsWithHTTPClient(client *http.Client) *DeleteMatchFunctionParams
- func NewDeleteMatchFunctionParamsWithTimeout(timeout time.Duration) *DeleteMatchFunctionParams
- func (o *DeleteMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteMatchFunctionParams) SetContext(ctx context.Context)
- func (o *DeleteMatchFunctionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteMatchFunctionParams) SetName(name string)
- func (o *DeleteMatchFunctionParams) SetNamespace(namespace string)
- func (o *DeleteMatchFunctionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMatchFunctionParams) WithContext(ctx context.Context) *DeleteMatchFunctionParams
- func (o *DeleteMatchFunctionParams) WithHTTPClient(client *http.Client) *DeleteMatchFunctionParams
- func (o *DeleteMatchFunctionParams) WithName(name string) *DeleteMatchFunctionParams
- func (o *DeleteMatchFunctionParams) WithNamespace(namespace string) *DeleteMatchFunctionParams
- func (o *DeleteMatchFunctionParams) WithTimeout(timeout time.Duration) *DeleteMatchFunctionParams
- func (o *DeleteMatchFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMatchFunctionReader
- type DeleteMatchFunctionUnauthorized
- type MatchFunctionListForbidden
- type MatchFunctionListInternalServerError
- type MatchFunctionListOK
- type MatchFunctionListParams
- func NewMatchFunctionListParams() *MatchFunctionListParams
- func NewMatchFunctionListParamsWithContext(ctx context.Context) *MatchFunctionListParams
- func NewMatchFunctionListParamsWithHTTPClient(client *http.Client) *MatchFunctionListParams
- func NewMatchFunctionListParamsWithTimeout(timeout time.Duration) *MatchFunctionListParams
- func (o *MatchFunctionListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *MatchFunctionListParams) SetContext(ctx context.Context)
- func (o *MatchFunctionListParams) SetHTTPClient(client *http.Client)
- func (o *MatchFunctionListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *MatchFunctionListParams) SetLimit(limit *int64)
- func (o *MatchFunctionListParams) SetNamespace(namespace string)
- func (o *MatchFunctionListParams) SetOffset(offset *int64)
- func (o *MatchFunctionListParams) SetTimeout(timeout time.Duration)
- func (o *MatchFunctionListParams) WithContext(ctx context.Context) *MatchFunctionListParams
- func (o *MatchFunctionListParams) WithHTTPClient(client *http.Client) *MatchFunctionListParams
- func (o *MatchFunctionListParams) WithLimit(limit *int64) *MatchFunctionListParams
- func (o *MatchFunctionListParams) WithNamespace(namespace string) *MatchFunctionListParams
- func (o *MatchFunctionListParams) WithOffset(offset *int64) *MatchFunctionListParams
- func (o *MatchFunctionListParams) WithTimeout(timeout time.Duration) *MatchFunctionListParams
- func (o *MatchFunctionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MatchFunctionListReader
- type MatchFunctionListUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for match functions API
func (*Client) CreateMatchFunction
deprecated
func (a *Client) CreateMatchFunction(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, *CreateMatchFunctionBadRequest, *CreateMatchFunctionUnauthorized, *CreateMatchFunctionForbidden, *CreateMatchFunctionConflict, *CreateMatchFunctionInternalServerError, error)
Deprecated: Use CreateMatchFunctionShort instead.
CreateMatchFunction creates a match function Required Permission: NAMESPACE:{namespace}:MATCHMAKING:FUNCTIONS [CREATE]
Required Scope: social
Creates a new matchmaking function.
func (*Client) CreateMatchFunctionShort ¶
func (a *Client) CreateMatchFunctionShort(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, error)
CreateMatchFunctionShort creates a match function Required Permission: NAMESPACE:{namespace}:MATCHMAKING:FUNCTIONS [CREATE]
Required Scope: social
Creates a new matchmaking function.
func (*Client) DeleteMatchFunction
deprecated
func (a *Client) DeleteMatchFunction(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, *DeleteMatchFunctionUnauthorized, *DeleteMatchFunctionForbidden, *DeleteMatchFunctionNotFound, *DeleteMatchFunctionInternalServerError, error)
Deprecated: Use DeleteMatchFunctionShort instead.
DeleteMatchFunction deletes a match function Required Permission: NAMESPACE:{namespace}:MATCHMAKING:FUNCTIONS [DELETE]
Required Scope: social
Deletes an existing match function.
func (*Client) DeleteMatchFunctionShort ¶
func (a *Client) DeleteMatchFunctionShort(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, error)
DeleteMatchFunctionShort deletes a match function Required Permission: NAMESPACE:{namespace}:MATCHMAKING:FUNCTIONS [DELETE]
Required Scope: social
Deletes an existing match function.
func (*Client) MatchFunctionList
deprecated
func (a *Client) MatchFunctionList(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, *MatchFunctionListUnauthorized, *MatchFunctionListForbidden, *MatchFunctionListInternalServerError, error)
Deprecated: Use MatchFunctionListShort instead.
MatchFunctionList lists existing match functions Required Permission: NAMESPACE:{namespace}:MATCHMAKING:FUNCTIONS [READ]
Required Scope: social
List existing match functions.
func (*Client) MatchFunctionListShort ¶
func (a *Client) MatchFunctionListShort(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, error)
MatchFunctionListShort lists existing match functions Required Permission: NAMESPACE:{namespace}:MATCHMAKING:FUNCTIONS [READ]
Required Scope: social
List existing match functions.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateMatchFunction(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, *CreateMatchFunctionBadRequest, *CreateMatchFunctionUnauthorized, *CreateMatchFunctionForbidden, *CreateMatchFunctionConflict, *CreateMatchFunctionInternalServerError, error) CreateMatchFunctionShort(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, error) DeleteMatchFunction(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, *DeleteMatchFunctionUnauthorized, *DeleteMatchFunctionForbidden, *DeleteMatchFunctionNotFound, *DeleteMatchFunctionInternalServerError, error) DeleteMatchFunctionShort(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, error) MatchFunctionList(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, *MatchFunctionListUnauthorized, *MatchFunctionListForbidden, *MatchFunctionListInternalServerError, error) MatchFunctionListShort(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new match functions API client.
type CreateMatchFunctionBadRequest ¶
type CreateMatchFunctionBadRequest struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchFunctionBadRequest handles this case with default header values.
Bad Request
func NewCreateMatchFunctionBadRequest ¶
func NewCreateMatchFunctionBadRequest() *CreateMatchFunctionBadRequest
NewCreateMatchFunctionBadRequest creates a CreateMatchFunctionBadRequest with default headers values
func (*CreateMatchFunctionBadRequest) Error ¶
func (o *CreateMatchFunctionBadRequest) Error() string
func (*CreateMatchFunctionBadRequest) GetPayload ¶
func (o *CreateMatchFunctionBadRequest) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchFunctionBadRequest) ToJSONString ¶
func (o *CreateMatchFunctionBadRequest) ToJSONString() string
type CreateMatchFunctionConflict ¶
type CreateMatchFunctionConflict struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchFunctionConflict handles this case with default header values.
Conflict
func NewCreateMatchFunctionConflict ¶
func NewCreateMatchFunctionConflict() *CreateMatchFunctionConflict
NewCreateMatchFunctionConflict creates a CreateMatchFunctionConflict with default headers values
func (*CreateMatchFunctionConflict) Error ¶
func (o *CreateMatchFunctionConflict) Error() string
func (*CreateMatchFunctionConflict) GetPayload ¶
func (o *CreateMatchFunctionConflict) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchFunctionConflict) ToJSONString ¶
func (o *CreateMatchFunctionConflict) ToJSONString() string
type CreateMatchFunctionCreated ¶
type CreateMatchFunctionCreated struct { }
CreateMatchFunctionCreated handles this case with default header values.
Created
func NewCreateMatchFunctionCreated ¶
func NewCreateMatchFunctionCreated() *CreateMatchFunctionCreated
NewCreateMatchFunctionCreated creates a CreateMatchFunctionCreated with default headers values
func (*CreateMatchFunctionCreated) Error ¶
func (o *CreateMatchFunctionCreated) Error() string
type CreateMatchFunctionForbidden ¶
type CreateMatchFunctionForbidden struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchFunctionForbidden handles this case with default header values.
Forbidden
func NewCreateMatchFunctionForbidden ¶
func NewCreateMatchFunctionForbidden() *CreateMatchFunctionForbidden
NewCreateMatchFunctionForbidden creates a CreateMatchFunctionForbidden with default headers values
func (*CreateMatchFunctionForbidden) Error ¶
func (o *CreateMatchFunctionForbidden) Error() string
func (*CreateMatchFunctionForbidden) GetPayload ¶
func (o *CreateMatchFunctionForbidden) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchFunctionForbidden) ToJSONString ¶
func (o *CreateMatchFunctionForbidden) ToJSONString() string
type CreateMatchFunctionInternalServerError ¶
type CreateMatchFunctionInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchFunctionInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateMatchFunctionInternalServerError ¶
func NewCreateMatchFunctionInternalServerError() *CreateMatchFunctionInternalServerError
NewCreateMatchFunctionInternalServerError creates a CreateMatchFunctionInternalServerError with default headers values
func (*CreateMatchFunctionInternalServerError) Error ¶
func (o *CreateMatchFunctionInternalServerError) Error() string
func (*CreateMatchFunctionInternalServerError) GetPayload ¶
func (o *CreateMatchFunctionInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchFunctionInternalServerError) ToJSONString ¶
func (o *CreateMatchFunctionInternalServerError) ToJSONString() string
type CreateMatchFunctionParams ¶
type CreateMatchFunctionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *match2clientmodels.APIMatchFunctionRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMatchFunctionParams contains all the parameters to send to the API endpoint for the create match function operation typically these are written to a http.Request
func NewCreateMatchFunctionParams ¶
func NewCreateMatchFunctionParams() *CreateMatchFunctionParams
NewCreateMatchFunctionParams creates a new CreateMatchFunctionParams object with the default values initialized.
func NewCreateMatchFunctionParamsWithContext ¶
func NewCreateMatchFunctionParamsWithContext(ctx context.Context) *CreateMatchFunctionParams
NewCreateMatchFunctionParamsWithContext creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMatchFunctionParamsWithHTTPClient ¶
func NewCreateMatchFunctionParamsWithHTTPClient(client *http.Client) *CreateMatchFunctionParams
NewCreateMatchFunctionParamsWithHTTPClient creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMatchFunctionParamsWithTimeout ¶
func NewCreateMatchFunctionParamsWithTimeout(timeout time.Duration) *CreateMatchFunctionParams
NewCreateMatchFunctionParamsWithTimeout creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMatchFunctionParams) SetAuthInfoWriter ¶
func (o *CreateMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create match function params
func (*CreateMatchFunctionParams) SetBody ¶
func (o *CreateMatchFunctionParams) SetBody(body *match2clientmodels.APIMatchFunctionRequest)
SetBody adds the body to the create match function params
func (*CreateMatchFunctionParams) SetContext ¶
func (o *CreateMatchFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the create match function params
func (*CreateMatchFunctionParams) SetHTTPClient ¶
func (o *CreateMatchFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create match function params
func (*CreateMatchFunctionParams) SetHTTPClientTransport ¶
func (o *CreateMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create match function params
func (*CreateMatchFunctionParams) SetNamespace ¶
func (o *CreateMatchFunctionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create match function params
func (*CreateMatchFunctionParams) SetTimeout ¶
func (o *CreateMatchFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create match function params
func (*CreateMatchFunctionParams) WithBody ¶
func (o *CreateMatchFunctionParams) WithBody(body *match2clientmodels.APIMatchFunctionRequest) *CreateMatchFunctionParams
WithBody adds the body to the create match function params
func (*CreateMatchFunctionParams) WithContext ¶
func (o *CreateMatchFunctionParams) WithContext(ctx context.Context) *CreateMatchFunctionParams
WithContext adds the context to the create match function params
func (*CreateMatchFunctionParams) WithHTTPClient ¶
func (o *CreateMatchFunctionParams) WithHTTPClient(client *http.Client) *CreateMatchFunctionParams
WithHTTPClient adds the HTTPClient to the create match function params
func (*CreateMatchFunctionParams) WithNamespace ¶
func (o *CreateMatchFunctionParams) WithNamespace(namespace string) *CreateMatchFunctionParams
WithNamespace adds the namespace to the create match function params
func (*CreateMatchFunctionParams) WithTimeout ¶
func (o *CreateMatchFunctionParams) WithTimeout(timeout time.Duration) *CreateMatchFunctionParams
WithTimeout adds the timeout to the create match function params
func (*CreateMatchFunctionParams) WriteToRequest ¶
func (o *CreateMatchFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMatchFunctionReader ¶
type CreateMatchFunctionReader struct {
// contains filtered or unexported fields
}
CreateMatchFunctionReader is a Reader for the CreateMatchFunction structure.
func (*CreateMatchFunctionReader) ReadResponse ¶
func (o *CreateMatchFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMatchFunctionUnauthorized ¶
type CreateMatchFunctionUnauthorized struct {
}CreateMatchFunctionUnauthorized handles this case with default header values.
Unauthorized
func NewCreateMatchFunctionUnauthorized ¶
func NewCreateMatchFunctionUnauthorized() *CreateMatchFunctionUnauthorized
NewCreateMatchFunctionUnauthorized creates a CreateMatchFunctionUnauthorized with default headers values
func (*CreateMatchFunctionUnauthorized) Error ¶
func (o *CreateMatchFunctionUnauthorized) Error() string
func (*CreateMatchFunctionUnauthorized) GetPayload ¶
func (o *CreateMatchFunctionUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchFunctionUnauthorized) ToJSONString ¶
func (o *CreateMatchFunctionUnauthorized) ToJSONString() string
type DeleteMatchFunctionForbidden ¶
type DeleteMatchFunctionForbidden struct {
Payload *match2clientmodels.ResponseError
}
DeleteMatchFunctionForbidden handles this case with default header values.
Forbidden
func NewDeleteMatchFunctionForbidden ¶
func NewDeleteMatchFunctionForbidden() *DeleteMatchFunctionForbidden
NewDeleteMatchFunctionForbidden creates a DeleteMatchFunctionForbidden with default headers values
func (*DeleteMatchFunctionForbidden) Error ¶
func (o *DeleteMatchFunctionForbidden) Error() string
func (*DeleteMatchFunctionForbidden) GetPayload ¶
func (o *DeleteMatchFunctionForbidden) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchFunctionForbidden) ToJSONString ¶
func (o *DeleteMatchFunctionForbidden) ToJSONString() string
type DeleteMatchFunctionInternalServerError ¶
type DeleteMatchFunctionInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
DeleteMatchFunctionInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteMatchFunctionInternalServerError ¶
func NewDeleteMatchFunctionInternalServerError() *DeleteMatchFunctionInternalServerError
NewDeleteMatchFunctionInternalServerError creates a DeleteMatchFunctionInternalServerError with default headers values
func (*DeleteMatchFunctionInternalServerError) Error ¶
func (o *DeleteMatchFunctionInternalServerError) Error() string
func (*DeleteMatchFunctionInternalServerError) GetPayload ¶
func (o *DeleteMatchFunctionInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchFunctionInternalServerError) ToJSONString ¶
func (o *DeleteMatchFunctionInternalServerError) ToJSONString() string
type DeleteMatchFunctionNotFound ¶
type DeleteMatchFunctionNotFound struct {
Payload *match2clientmodels.ResponseError
}
DeleteMatchFunctionNotFound handles this case with default header values.
Not Found
func NewDeleteMatchFunctionNotFound ¶
func NewDeleteMatchFunctionNotFound() *DeleteMatchFunctionNotFound
NewDeleteMatchFunctionNotFound creates a DeleteMatchFunctionNotFound with default headers values
func (*DeleteMatchFunctionNotFound) Error ¶
func (o *DeleteMatchFunctionNotFound) Error() string
func (*DeleteMatchFunctionNotFound) GetPayload ¶
func (o *DeleteMatchFunctionNotFound) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchFunctionNotFound) ToJSONString ¶
func (o *DeleteMatchFunctionNotFound) ToJSONString() string
type DeleteMatchFunctionOK ¶
type DeleteMatchFunctionOK struct { }
DeleteMatchFunctionOK handles this case with default header values.
OK
func NewDeleteMatchFunctionOK ¶
func NewDeleteMatchFunctionOK() *DeleteMatchFunctionOK
NewDeleteMatchFunctionOK creates a DeleteMatchFunctionOK with default headers values
func (*DeleteMatchFunctionOK) Error ¶
func (o *DeleteMatchFunctionOK) Error() string
type DeleteMatchFunctionParams ¶
type DeleteMatchFunctionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Name name of the match function */ Name string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMatchFunctionParams contains all the parameters to send to the API endpoint for the delete match function operation typically these are written to a http.Request
func NewDeleteMatchFunctionParams ¶
func NewDeleteMatchFunctionParams() *DeleteMatchFunctionParams
NewDeleteMatchFunctionParams creates a new DeleteMatchFunctionParams object with the default values initialized.
func NewDeleteMatchFunctionParamsWithContext ¶
func NewDeleteMatchFunctionParamsWithContext(ctx context.Context) *DeleteMatchFunctionParams
NewDeleteMatchFunctionParamsWithContext creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMatchFunctionParamsWithHTTPClient ¶
func NewDeleteMatchFunctionParamsWithHTTPClient(client *http.Client) *DeleteMatchFunctionParams
NewDeleteMatchFunctionParamsWithHTTPClient creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMatchFunctionParamsWithTimeout ¶
func NewDeleteMatchFunctionParamsWithTimeout(timeout time.Duration) *DeleteMatchFunctionParams
NewDeleteMatchFunctionParamsWithTimeout creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMatchFunctionParams) SetAuthInfoWriter ¶
func (o *DeleteMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete match function params
func (*DeleteMatchFunctionParams) SetContext ¶
func (o *DeleteMatchFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete match function params
func (*DeleteMatchFunctionParams) SetHTTPClient ¶
func (o *DeleteMatchFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete match function params
func (*DeleteMatchFunctionParams) SetHTTPClientTransport ¶
func (o *DeleteMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete match function params
func (*DeleteMatchFunctionParams) SetName ¶
func (o *DeleteMatchFunctionParams) SetName(name string)
SetName adds the name to the delete match function params
func (*DeleteMatchFunctionParams) SetNamespace ¶
func (o *DeleteMatchFunctionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete match function params
func (*DeleteMatchFunctionParams) SetTimeout ¶
func (o *DeleteMatchFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete match function params
func (*DeleteMatchFunctionParams) WithContext ¶
func (o *DeleteMatchFunctionParams) WithContext(ctx context.Context) *DeleteMatchFunctionParams
WithContext adds the context to the delete match function params
func (*DeleteMatchFunctionParams) WithHTTPClient ¶
func (o *DeleteMatchFunctionParams) WithHTTPClient(client *http.Client) *DeleteMatchFunctionParams
WithHTTPClient adds the HTTPClient to the delete match function params
func (*DeleteMatchFunctionParams) WithName ¶
func (o *DeleteMatchFunctionParams) WithName(name string) *DeleteMatchFunctionParams
WithName adds the name to the delete match function params
func (*DeleteMatchFunctionParams) WithNamespace ¶
func (o *DeleteMatchFunctionParams) WithNamespace(namespace string) *DeleteMatchFunctionParams
WithNamespace adds the namespace to the delete match function params
func (*DeleteMatchFunctionParams) WithTimeout ¶
func (o *DeleteMatchFunctionParams) WithTimeout(timeout time.Duration) *DeleteMatchFunctionParams
WithTimeout adds the timeout to the delete match function params
func (*DeleteMatchFunctionParams) WriteToRequest ¶
func (o *DeleteMatchFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMatchFunctionReader ¶
type DeleteMatchFunctionReader struct {
// contains filtered or unexported fields
}
DeleteMatchFunctionReader is a Reader for the DeleteMatchFunction structure.
func (*DeleteMatchFunctionReader) ReadResponse ¶
func (o *DeleteMatchFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMatchFunctionUnauthorized ¶
type DeleteMatchFunctionUnauthorized struct {
}DeleteMatchFunctionUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteMatchFunctionUnauthorized ¶
func NewDeleteMatchFunctionUnauthorized() *DeleteMatchFunctionUnauthorized
NewDeleteMatchFunctionUnauthorized creates a DeleteMatchFunctionUnauthorized with default headers values
func (*DeleteMatchFunctionUnauthorized) Error ¶
func (o *DeleteMatchFunctionUnauthorized) Error() string
func (*DeleteMatchFunctionUnauthorized) GetPayload ¶
func (o *DeleteMatchFunctionUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchFunctionUnauthorized) ToJSONString ¶
func (o *DeleteMatchFunctionUnauthorized) ToJSONString() string
type MatchFunctionListForbidden ¶
type MatchFunctionListForbidden struct {
Payload *match2clientmodels.ResponseError
}
MatchFunctionListForbidden handles this case with default header values.
Forbidden
func NewMatchFunctionListForbidden ¶
func NewMatchFunctionListForbidden() *MatchFunctionListForbidden
NewMatchFunctionListForbidden creates a MatchFunctionListForbidden with default headers values
func (*MatchFunctionListForbidden) Error ¶
func (o *MatchFunctionListForbidden) Error() string
func (*MatchFunctionListForbidden) GetPayload ¶
func (o *MatchFunctionListForbidden) GetPayload() *match2clientmodels.ResponseError
func (*MatchFunctionListForbidden) ToJSONString ¶
func (o *MatchFunctionListForbidden) ToJSONString() string
type MatchFunctionListInternalServerError ¶
type MatchFunctionListInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
MatchFunctionListInternalServerError handles this case with default header values.
Internal Server Error
func NewMatchFunctionListInternalServerError ¶
func NewMatchFunctionListInternalServerError() *MatchFunctionListInternalServerError
NewMatchFunctionListInternalServerError creates a MatchFunctionListInternalServerError with default headers values
func (*MatchFunctionListInternalServerError) Error ¶
func (o *MatchFunctionListInternalServerError) Error() string
func (*MatchFunctionListInternalServerError) GetPayload ¶
func (o *MatchFunctionListInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*MatchFunctionListInternalServerError) ToJSONString ¶
func (o *MatchFunctionListInternalServerError) ToJSONString() string
type MatchFunctionListOK ¶
type MatchFunctionListOK struct {
Payload *match2clientmodels.APIListMatchFunctionsResponse
}
MatchFunctionListOK handles this case with default header values.
Created
func NewMatchFunctionListOK ¶
func NewMatchFunctionListOK() *MatchFunctionListOK
NewMatchFunctionListOK creates a MatchFunctionListOK with default headers values
func (*MatchFunctionListOK) Error ¶
func (o *MatchFunctionListOK) Error() string
func (*MatchFunctionListOK) GetPayload ¶
func (o *MatchFunctionListOK) GetPayload() *match2clientmodels.APIListMatchFunctionsResponse
func (*MatchFunctionListOK) ToJSONString ¶
func (o *MatchFunctionListOK) ToJSONString() string
type MatchFunctionListParams ¶
type MatchFunctionListParams 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 }
MatchFunctionListParams contains all the parameters to send to the API endpoint for the match function list operation typically these are written to a http.Request
func NewMatchFunctionListParams ¶
func NewMatchFunctionListParams() *MatchFunctionListParams
NewMatchFunctionListParams creates a new MatchFunctionListParams object with the default values initialized.
func NewMatchFunctionListParamsWithContext ¶
func NewMatchFunctionListParamsWithContext(ctx context.Context) *MatchFunctionListParams
NewMatchFunctionListParamsWithContext creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a context for a request
func NewMatchFunctionListParamsWithHTTPClient ¶
func NewMatchFunctionListParamsWithHTTPClient(client *http.Client) *MatchFunctionListParams
NewMatchFunctionListParamsWithHTTPClient creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMatchFunctionListParamsWithTimeout ¶
func NewMatchFunctionListParamsWithTimeout(timeout time.Duration) *MatchFunctionListParams
NewMatchFunctionListParamsWithTimeout creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a timeout on a request
func (*MatchFunctionListParams) SetAuthInfoWriter ¶
func (o *MatchFunctionListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the match function list params
func (*MatchFunctionListParams) SetContext ¶
func (o *MatchFunctionListParams) SetContext(ctx context.Context)
SetContext adds the context to the match function list params
func (*MatchFunctionListParams) SetHTTPClient ¶
func (o *MatchFunctionListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the match function list params
func (*MatchFunctionListParams) SetHTTPClientTransport ¶
func (o *MatchFunctionListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the match function list params
func (*MatchFunctionListParams) SetLimit ¶
func (o *MatchFunctionListParams) SetLimit(limit *int64)
SetLimit adds the limit to the match function list params
func (*MatchFunctionListParams) SetNamespace ¶
func (o *MatchFunctionListParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the match function list params
func (*MatchFunctionListParams) SetOffset ¶
func (o *MatchFunctionListParams) SetOffset(offset *int64)
SetOffset adds the offset to the match function list params
func (*MatchFunctionListParams) SetTimeout ¶
func (o *MatchFunctionListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the match function list params
func (*MatchFunctionListParams) WithContext ¶
func (o *MatchFunctionListParams) WithContext(ctx context.Context) *MatchFunctionListParams
WithContext adds the context to the match function list params
func (*MatchFunctionListParams) WithHTTPClient ¶
func (o *MatchFunctionListParams) WithHTTPClient(client *http.Client) *MatchFunctionListParams
WithHTTPClient adds the HTTPClient to the match function list params
func (*MatchFunctionListParams) WithLimit ¶
func (o *MatchFunctionListParams) WithLimit(limit *int64) *MatchFunctionListParams
WithLimit adds the limit to the match function list params
func (*MatchFunctionListParams) WithNamespace ¶
func (o *MatchFunctionListParams) WithNamespace(namespace string) *MatchFunctionListParams
WithNamespace adds the namespace to the match function list params
func (*MatchFunctionListParams) WithOffset ¶
func (o *MatchFunctionListParams) WithOffset(offset *int64) *MatchFunctionListParams
WithOffset adds the offset to the match function list params
func (*MatchFunctionListParams) WithTimeout ¶
func (o *MatchFunctionListParams) WithTimeout(timeout time.Duration) *MatchFunctionListParams
WithTimeout adds the timeout to the match function list params
func (*MatchFunctionListParams) WriteToRequest ¶
func (o *MatchFunctionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MatchFunctionListReader ¶
type MatchFunctionListReader struct {
// contains filtered or unexported fields
}
MatchFunctionListReader is a Reader for the MatchFunctionList structure.
func (*MatchFunctionListReader) ReadResponse ¶
func (o *MatchFunctionListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MatchFunctionListUnauthorized ¶
type MatchFunctionListUnauthorized struct {
}MatchFunctionListUnauthorized handles this case with default header values.
Unauthorized
func NewMatchFunctionListUnauthorized ¶
func NewMatchFunctionListUnauthorized() *MatchFunctionListUnauthorized
NewMatchFunctionListUnauthorized creates a MatchFunctionListUnauthorized with default headers values
func (*MatchFunctionListUnauthorized) Error ¶
func (o *MatchFunctionListUnauthorized) Error() string
func (*MatchFunctionListUnauthorized) GetPayload ¶
func (o *MatchFunctionListUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*MatchFunctionListUnauthorized) ToJSONString ¶
func (o *MatchFunctionListUnauthorized) ToJSONString() string