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)
- func (a *Client) UpdateMatchFunction(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, *UpdateMatchFunctionBadRequest, ...)deprecated
- func (a *Client) UpdateMatchFunctionShort(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, error)
- 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) SetFlightId(flightId string)
- 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) SetFlightId(flightId string)
- 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) SetFlightId(flightId string)
- 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
- type UpdateMatchFunctionBadRequest
- type UpdateMatchFunctionConflict
- type UpdateMatchFunctionInternalServerError
- type UpdateMatchFunctionNotFound
- type UpdateMatchFunctionOK
- type UpdateMatchFunctionParams
- func NewUpdateMatchFunctionParams() *UpdateMatchFunctionParams
- func NewUpdateMatchFunctionParamsWithContext(ctx context.Context) *UpdateMatchFunctionParams
- func NewUpdateMatchFunctionParamsWithHTTPClient(client *http.Client) *UpdateMatchFunctionParams
- func NewUpdateMatchFunctionParamsWithTimeout(timeout time.Duration) *UpdateMatchFunctionParams
- func (o *UpdateMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateMatchFunctionParams) SetBody(body *match2clientmodels.APIMatchFunctionRequest)
- func (o *UpdateMatchFunctionParams) SetContext(ctx context.Context)
- func (o *UpdateMatchFunctionParams) SetFlightId(flightId string)
- func (o *UpdateMatchFunctionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateMatchFunctionParams) SetName(name string)
- func (o *UpdateMatchFunctionParams) SetNamespace(namespace string)
- func (o *UpdateMatchFunctionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMatchFunctionParams) WithBody(body *match2clientmodels.APIMatchFunctionRequest) *UpdateMatchFunctionParams
- func (o *UpdateMatchFunctionParams) WithContext(ctx context.Context) *UpdateMatchFunctionParams
- func (o *UpdateMatchFunctionParams) WithHTTPClient(client *http.Client) *UpdateMatchFunctionParams
- func (o *UpdateMatchFunctionParams) WithName(name string) *UpdateMatchFunctionParams
- func (o *UpdateMatchFunctionParams) WithNamespace(namespace string) *UpdateMatchFunctionParams
- func (o *UpdateMatchFunctionParams) WithTimeout(timeout time.Duration) *UpdateMatchFunctionParams
- func (o *UpdateMatchFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMatchFunctionReader
- type UpdateMatchFunctionUnauthorized
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: 2022-08-10 - Use CreateMatchFunctionShort instead.
CreateMatchFunction create a match function Creates a new matchmaking function.
func (*Client) CreateMatchFunctionShort ¶
func (a *Client) CreateMatchFunctionShort(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, error)
CreateMatchFunctionShort create a match function Creates a new matchmaking function.
func (*Client) DeleteMatchFunction
deprecated
func (a *Client) DeleteMatchFunction(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, *DeleteMatchFunctionUnauthorized, *DeleteMatchFunctionForbidden, *DeleteMatchFunctionNotFound, *DeleteMatchFunctionInternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteMatchFunctionShort instead.
DeleteMatchFunction delete a match function Deletes an existing match function.
func (*Client) DeleteMatchFunctionShort ¶
func (a *Client) DeleteMatchFunctionShort(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, error)
DeleteMatchFunctionShort delete a match function Deletes an existing match function.
func (*Client) MatchFunctionList
deprecated
func (a *Client) MatchFunctionList(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, *MatchFunctionListUnauthorized, *MatchFunctionListForbidden, *MatchFunctionListInternalServerError, error)
Deprecated: 2022-08-10 - Use MatchFunctionListShort instead.
MatchFunctionList list existing match functions List existing match functions.
func (*Client) MatchFunctionListShort ¶
func (a *Client) MatchFunctionListShort(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, error)
MatchFunctionListShort list existing match functions List existing match functions.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateMatchFunction
deprecated
added in
v0.41.0
func (a *Client) UpdateMatchFunction(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, *UpdateMatchFunctionBadRequest, *UpdateMatchFunctionUnauthorized, *UpdateMatchFunctionNotFound, *UpdateMatchFunctionConflict, *UpdateMatchFunctionInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateMatchFunctionShort instead.
UpdateMatchFunction update a match function Update existing matchmaking function.
func (*Client) UpdateMatchFunctionShort ¶ added in v0.41.0
func (a *Client) UpdateMatchFunctionShort(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, error)
UpdateMatchFunctionShort update a match function Update existing matchmaking function.
type ClientService ¶
type ClientService interface { MatchFunctionList(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, *MatchFunctionListUnauthorized, *MatchFunctionListForbidden, *MatchFunctionListInternalServerError, error) MatchFunctionListShort(params *MatchFunctionListParams, authInfo runtime.ClientAuthInfoWriter) (*MatchFunctionListOK, error) CreateMatchFunction(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, *CreateMatchFunctionBadRequest, *CreateMatchFunctionUnauthorized, *CreateMatchFunctionForbidden, *CreateMatchFunctionConflict, *CreateMatchFunctionInternalServerError, error) CreateMatchFunctionShort(params *CreateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchFunctionCreated, error) UpdateMatchFunction(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, *UpdateMatchFunctionBadRequest, *UpdateMatchFunctionUnauthorized, *UpdateMatchFunctionNotFound, *UpdateMatchFunctionConflict, *UpdateMatchFunctionInternalServerError, error) UpdateMatchFunctionShort(params *UpdateMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMatchFunctionOK, error) DeleteMatchFunction(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, *DeleteMatchFunctionUnauthorized, *DeleteMatchFunctionForbidden, *DeleteMatchFunctionNotFound, *DeleteMatchFunctionInternalServerError, error) DeleteMatchFunctionShort(params *DeleteMatchFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchFunctionOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new match functions API client.
type CreateMatchFunctionBadRequest ¶
type CreateMatchFunctionBadRequest struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchFunctionBadRequest handles this case with default header values.
Bad Request
func NewCreateMatchFunctionBadRequest ¶
func NewCreateMatchFunctionBadRequest() *CreateMatchFunctionBadRequest
NewCreateMatchFunctionBadRequest creates a CreateMatchFunctionBadRequest with default headers values
func (*CreateMatchFunctionBadRequest) Error ¶
func (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 // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
CreateMatchFunctionParams contains all the parameters to send to the API endpoint for the create match function operation typically these are written to a http.Request
func NewCreateMatchFunctionParams ¶
func NewCreateMatchFunctionParams() *CreateMatchFunctionParams
NewCreateMatchFunctionParams creates a new CreateMatchFunctionParams object with the default values initialized.
func NewCreateMatchFunctionParamsWithContext ¶
func NewCreateMatchFunctionParamsWithContext(ctx context.Context) *CreateMatchFunctionParams
NewCreateMatchFunctionParamsWithContext creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMatchFunctionParamsWithHTTPClient ¶
func NewCreateMatchFunctionParamsWithHTTPClient(client *http.Client) *CreateMatchFunctionParams
NewCreateMatchFunctionParamsWithHTTPClient creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMatchFunctionParamsWithTimeout ¶
func NewCreateMatchFunctionParamsWithTimeout(timeout time.Duration) *CreateMatchFunctionParams
NewCreateMatchFunctionParamsWithTimeout creates a new CreateMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMatchFunctionParams) SetAuthInfoWriter ¶
func (o *CreateMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create match function params
func (*CreateMatchFunctionParams) SetBody ¶
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) SetFlightId ¶ added in v0.63.0
func (o *CreateMatchFunctionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreateMatchFunctionParams) SetHTTPClient ¶
func (o *CreateMatchFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create match function params
func (*CreateMatchFunctionParams) SetHTTPClientTransport ¶
func (o *CreateMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create match function params
func (*CreateMatchFunctionParams) SetNamespace ¶
func (o *CreateMatchFunctionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create match function params
func (*CreateMatchFunctionParams) SetTimeout ¶
func (o *CreateMatchFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create match function params
func (*CreateMatchFunctionParams) WithBody ¶
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 // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeleteMatchFunctionParams contains all the parameters to send to the API endpoint for the delete match function operation typically these are written to a http.Request
func NewDeleteMatchFunctionParams ¶
func NewDeleteMatchFunctionParams() *DeleteMatchFunctionParams
NewDeleteMatchFunctionParams creates a new DeleteMatchFunctionParams object with the default values initialized.
func NewDeleteMatchFunctionParamsWithContext ¶
func NewDeleteMatchFunctionParamsWithContext(ctx context.Context) *DeleteMatchFunctionParams
NewDeleteMatchFunctionParamsWithContext creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMatchFunctionParamsWithHTTPClient ¶
func NewDeleteMatchFunctionParamsWithHTTPClient(client *http.Client) *DeleteMatchFunctionParams
NewDeleteMatchFunctionParamsWithHTTPClient creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMatchFunctionParamsWithTimeout ¶
func NewDeleteMatchFunctionParamsWithTimeout(timeout time.Duration) *DeleteMatchFunctionParams
NewDeleteMatchFunctionParamsWithTimeout creates a new DeleteMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMatchFunctionParams) SetAuthInfoWriter ¶
func (o *DeleteMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete match function params
func (*DeleteMatchFunctionParams) SetContext ¶
func (o *DeleteMatchFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete match function params
func (*DeleteMatchFunctionParams) SetFlightId ¶ added in v0.63.0
func (o *DeleteMatchFunctionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteMatchFunctionParams) SetHTTPClient ¶
func (o *DeleteMatchFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete match function params
func (*DeleteMatchFunctionParams) SetHTTPClientTransport ¶
func (o *DeleteMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete match function params
func (*DeleteMatchFunctionParams) SetName ¶
func (o *DeleteMatchFunctionParams) SetName(name string)
SetName adds the name to the delete match function params
func (*DeleteMatchFunctionParams) SetNamespace ¶
func (o *DeleteMatchFunctionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete match function params
func (*DeleteMatchFunctionParams) SetTimeout ¶
func (o *DeleteMatchFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete match function params
func (*DeleteMatchFunctionParams) WithContext ¶
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 /*Namespace namespace of the game */ Namespace string /*Limit Pagination limit */ Limit *int64 /*Offset Pagination offset */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
MatchFunctionListParams contains all the parameters to send to the API endpoint for the match function list operation typically these are written to a http.Request
func NewMatchFunctionListParams ¶
func NewMatchFunctionListParams() *MatchFunctionListParams
NewMatchFunctionListParams creates a new MatchFunctionListParams object with the default values initialized.
func NewMatchFunctionListParamsWithContext ¶
func NewMatchFunctionListParamsWithContext(ctx context.Context) *MatchFunctionListParams
NewMatchFunctionListParamsWithContext creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a context for a request
func NewMatchFunctionListParamsWithHTTPClient ¶
func NewMatchFunctionListParamsWithHTTPClient(client *http.Client) *MatchFunctionListParams
NewMatchFunctionListParamsWithHTTPClient creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMatchFunctionListParamsWithTimeout ¶
func NewMatchFunctionListParamsWithTimeout(timeout time.Duration) *MatchFunctionListParams
NewMatchFunctionListParamsWithTimeout creates a new MatchFunctionListParams object with the default values initialized, and the ability to set a timeout on a request
func (*MatchFunctionListParams) SetAuthInfoWriter ¶
func (o *MatchFunctionListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the match function list params
func (*MatchFunctionListParams) SetContext ¶
func (o *MatchFunctionListParams) SetContext(ctx context.Context)
SetContext adds the context to the match function list params
func (*MatchFunctionListParams) SetFlightId ¶ added in v0.63.0
func (o *MatchFunctionListParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*MatchFunctionListParams) SetHTTPClient ¶
func (o *MatchFunctionListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the match function list params
func (*MatchFunctionListParams) SetHTTPClientTransport ¶
func (o *MatchFunctionListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the match function list params
func (*MatchFunctionListParams) SetLimit ¶
func (o *MatchFunctionListParams) SetLimit(limit *int64)
SetLimit adds the limit to the match function list params
func (*MatchFunctionListParams) SetNamespace ¶
func (o *MatchFunctionListParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the match function list params
func (*MatchFunctionListParams) SetOffset ¶
func (o *MatchFunctionListParams) SetOffset(offset *int64)
SetOffset adds the offset to the match function list params
func (*MatchFunctionListParams) SetTimeout ¶
func (o *MatchFunctionListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the match function list params
func (*MatchFunctionListParams) WithContext ¶
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
type UpdateMatchFunctionBadRequest ¶ added in v0.41.0
type UpdateMatchFunctionBadRequest struct {
Payload *match2clientmodels.ResponseError
}
UpdateMatchFunctionBadRequest handles this case with default header values.
Bad Request
func NewUpdateMatchFunctionBadRequest ¶ added in v0.41.0
func NewUpdateMatchFunctionBadRequest() *UpdateMatchFunctionBadRequest
NewUpdateMatchFunctionBadRequest creates a UpdateMatchFunctionBadRequest with default headers values
func (*UpdateMatchFunctionBadRequest) Error ¶ added in v0.41.0
func (o *UpdateMatchFunctionBadRequest) Error() string
func (*UpdateMatchFunctionBadRequest) GetPayload ¶ added in v0.41.0
func (o *UpdateMatchFunctionBadRequest) GetPayload() *match2clientmodels.ResponseError
func (*UpdateMatchFunctionBadRequest) ToJSONString ¶ added in v0.41.0
func (o *UpdateMatchFunctionBadRequest) ToJSONString() string
type UpdateMatchFunctionConflict ¶ added in v0.41.0
type UpdateMatchFunctionConflict struct {
Payload *match2clientmodels.ResponseError
}
UpdateMatchFunctionConflict handles this case with default header values.
Conflict
func NewUpdateMatchFunctionConflict ¶ added in v0.41.0
func NewUpdateMatchFunctionConflict() *UpdateMatchFunctionConflict
NewUpdateMatchFunctionConflict creates a UpdateMatchFunctionConflict with default headers values
func (*UpdateMatchFunctionConflict) Error ¶ added in v0.41.0
func (o *UpdateMatchFunctionConflict) Error() string
func (*UpdateMatchFunctionConflict) GetPayload ¶ added in v0.41.0
func (o *UpdateMatchFunctionConflict) GetPayload() *match2clientmodels.ResponseError
func (*UpdateMatchFunctionConflict) ToJSONString ¶ added in v0.41.0
func (o *UpdateMatchFunctionConflict) ToJSONString() string
type UpdateMatchFunctionInternalServerError ¶ added in v0.41.0
type UpdateMatchFunctionInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
UpdateMatchFunctionInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateMatchFunctionInternalServerError ¶ added in v0.41.0
func NewUpdateMatchFunctionInternalServerError() *UpdateMatchFunctionInternalServerError
NewUpdateMatchFunctionInternalServerError creates a UpdateMatchFunctionInternalServerError with default headers values
func (*UpdateMatchFunctionInternalServerError) Error ¶ added in v0.41.0
func (o *UpdateMatchFunctionInternalServerError) Error() string
func (*UpdateMatchFunctionInternalServerError) GetPayload ¶ added in v0.41.0
func (o *UpdateMatchFunctionInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*UpdateMatchFunctionInternalServerError) ToJSONString ¶ added in v0.41.0
func (o *UpdateMatchFunctionInternalServerError) ToJSONString() string
type UpdateMatchFunctionNotFound ¶ added in v0.41.0
type UpdateMatchFunctionNotFound struct {
Payload *match2clientmodels.ResponseError
}
UpdateMatchFunctionNotFound handles this case with default header values.
Not Found
func NewUpdateMatchFunctionNotFound ¶ added in v0.41.0
func NewUpdateMatchFunctionNotFound() *UpdateMatchFunctionNotFound
NewUpdateMatchFunctionNotFound creates a UpdateMatchFunctionNotFound with default headers values
func (*UpdateMatchFunctionNotFound) Error ¶ added in v0.41.0
func (o *UpdateMatchFunctionNotFound) Error() string
func (*UpdateMatchFunctionNotFound) GetPayload ¶ added in v0.41.0
func (o *UpdateMatchFunctionNotFound) GetPayload() *match2clientmodels.ResponseError
func (*UpdateMatchFunctionNotFound) ToJSONString ¶ added in v0.41.0
func (o *UpdateMatchFunctionNotFound) ToJSONString() string
type UpdateMatchFunctionOK ¶ added in v0.41.0
type UpdateMatchFunctionOK struct {
Payload *match2clientmodels.APIMatchFunctionConfig
}
UpdateMatchFunctionOK handles this case with default header values.
OK
func NewUpdateMatchFunctionOK ¶ added in v0.41.0
func NewUpdateMatchFunctionOK() *UpdateMatchFunctionOK
NewUpdateMatchFunctionOK creates a UpdateMatchFunctionOK with default headers values
func (*UpdateMatchFunctionOK) Error ¶ added in v0.41.0
func (o *UpdateMatchFunctionOK) Error() string
func (*UpdateMatchFunctionOK) GetPayload ¶ added in v0.41.0
func (o *UpdateMatchFunctionOK) GetPayload() *match2clientmodels.APIMatchFunctionConfig
func (*UpdateMatchFunctionOK) ToJSONString ¶ added in v0.41.0
func (o *UpdateMatchFunctionOK) ToJSONString() string
type UpdateMatchFunctionParams ¶ added in v0.41.0
type UpdateMatchFunctionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *match2clientmodels.APIMatchFunctionRequest /*Name name of the match function */ Name string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateMatchFunctionParams contains all the parameters to send to the API endpoint for the update match function operation typically these are written to a http.Request
func NewUpdateMatchFunctionParams ¶ added in v0.41.0
func NewUpdateMatchFunctionParams() *UpdateMatchFunctionParams
NewUpdateMatchFunctionParams creates a new UpdateMatchFunctionParams object with the default values initialized.
func NewUpdateMatchFunctionParamsWithContext ¶ added in v0.41.0
func NewUpdateMatchFunctionParamsWithContext(ctx context.Context) *UpdateMatchFunctionParams
NewUpdateMatchFunctionParamsWithContext creates a new UpdateMatchFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateMatchFunctionParamsWithHTTPClient ¶ added in v0.41.0
func NewUpdateMatchFunctionParamsWithHTTPClient(client *http.Client) *UpdateMatchFunctionParams
NewUpdateMatchFunctionParamsWithHTTPClient creates a new UpdateMatchFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateMatchFunctionParamsWithTimeout ¶ added in v0.41.0
func NewUpdateMatchFunctionParamsWithTimeout(timeout time.Duration) *UpdateMatchFunctionParams
NewUpdateMatchFunctionParamsWithTimeout creates a new UpdateMatchFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateMatchFunctionParams) SetAuthInfoWriter ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update match function params
func (*UpdateMatchFunctionParams) SetBody ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetBody(body *match2clientmodels.APIMatchFunctionRequest)
SetBody adds the body to the update match function params
func (*UpdateMatchFunctionParams) SetContext ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the update match function params
func (*UpdateMatchFunctionParams) SetFlightId ¶ added in v0.63.0
func (o *UpdateMatchFunctionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateMatchFunctionParams) SetHTTPClient ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update match function params
func (*UpdateMatchFunctionParams) SetHTTPClientTransport ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update match function params
func (*UpdateMatchFunctionParams) SetName ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetName(name string)
SetName adds the name to the update match function params
func (*UpdateMatchFunctionParams) SetNamespace ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update match function params
func (*UpdateMatchFunctionParams) SetTimeout ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update match function params
func (*UpdateMatchFunctionParams) WithBody ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) WithBody(body *match2clientmodels.APIMatchFunctionRequest) *UpdateMatchFunctionParams
WithBody adds the body to the update match function params
func (*UpdateMatchFunctionParams) WithContext ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) WithContext(ctx context.Context) *UpdateMatchFunctionParams
WithContext adds the context to the update match function params
func (*UpdateMatchFunctionParams) WithHTTPClient ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) WithHTTPClient(client *http.Client) *UpdateMatchFunctionParams
WithHTTPClient adds the HTTPClient to the update match function params
func (*UpdateMatchFunctionParams) WithName ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) WithName(name string) *UpdateMatchFunctionParams
WithName adds the name to the update match function params
func (*UpdateMatchFunctionParams) WithNamespace ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) WithNamespace(namespace string) *UpdateMatchFunctionParams
WithNamespace adds the namespace to the update match function params
func (*UpdateMatchFunctionParams) WithTimeout ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) WithTimeout(timeout time.Duration) *UpdateMatchFunctionParams
WithTimeout adds the timeout to the update match function params
func (*UpdateMatchFunctionParams) WriteToRequest ¶ added in v0.41.0
func (o *UpdateMatchFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMatchFunctionReader ¶ added in v0.41.0
type UpdateMatchFunctionReader struct {
// contains filtered or unexported fields
}
UpdateMatchFunctionReader is a Reader for the UpdateMatchFunction structure.
func (*UpdateMatchFunctionReader) ReadResponse ¶ added in v0.41.0
func (o *UpdateMatchFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMatchFunctionUnauthorized ¶ added in v0.41.0
type UpdateMatchFunctionUnauthorized struct {
}UpdateMatchFunctionUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateMatchFunctionUnauthorized ¶ added in v0.41.0
func NewUpdateMatchFunctionUnauthorized() *UpdateMatchFunctionUnauthorized
NewUpdateMatchFunctionUnauthorized creates a UpdateMatchFunctionUnauthorized with default headers values
func (*UpdateMatchFunctionUnauthorized) Error ¶ added in v0.41.0
func (o *UpdateMatchFunctionUnauthorized) Error() string
func (*UpdateMatchFunctionUnauthorized) GetPayload ¶ added in v0.41.0
func (o *UpdateMatchFunctionUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*UpdateMatchFunctionUnauthorized) ToJSONString ¶ added in v0.41.0
func (o *UpdateMatchFunctionUnauthorized) ToJSONString() string
Source Files ¶
- create_match_function_parameters.go
- create_match_function_responses.go
- delete_match_function_parameters.go
- delete_match_function_responses.go
- match_function_list_parameters.go
- match_function_list_responses.go
- match_functions_client.go
- update_match_function_parameters.go
- update_match_function_responses.go