Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMatchTicket(params *CreateMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchTicketCreated, *CreateMatchTicketBadRequest, ...)deprecated
- func (a *Client) CreateMatchTicketShort(params *CreateMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchTicketCreated, error)
- func (a *Client) DeleteMatchTicket(params *DeleteMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchTicketNoContent, *DeleteMatchTicketUnauthorized, ...)deprecated
- func (a *Client) DeleteMatchTicketShort(params *DeleteMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchTicketNoContent, error)
- func (a *Client) MatchTicketDetails(params *MatchTicketDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchTicketDetailsOK, *MatchTicketDetailsUnauthorized, ...)deprecated
- func (a *Client) MatchTicketDetailsShort(params *MatchTicketDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchTicketDetailsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateMatchTicketBadRequest
- type CreateMatchTicketConflict
- type CreateMatchTicketCreated
- type CreateMatchTicketForbidden
- type CreateMatchTicketInternalServerError
- type CreateMatchTicketNotFound
- type CreateMatchTicketParams
- func NewCreateMatchTicketParams() *CreateMatchTicketParams
- func NewCreateMatchTicketParamsWithContext(ctx context.Context) *CreateMatchTicketParams
- func NewCreateMatchTicketParamsWithHTTPClient(client *http.Client) *CreateMatchTicketParams
- func NewCreateMatchTicketParamsWithTimeout(timeout time.Duration) *CreateMatchTicketParams
- func (o *CreateMatchTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateMatchTicketParams) SetBody(body *match2clientmodels.APIMatchTicketRequest)
- func (o *CreateMatchTicketParams) SetContext(ctx context.Context)
- func (o *CreateMatchTicketParams) SetHTTPClient(client *http.Client)
- func (o *CreateMatchTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateMatchTicketParams) SetNamespace(namespace string)
- func (o *CreateMatchTicketParams) SetTimeout(timeout time.Duration)
- func (o *CreateMatchTicketParams) WithBody(body *match2clientmodels.APIMatchTicketRequest) *CreateMatchTicketParams
- func (o *CreateMatchTicketParams) WithContext(ctx context.Context) *CreateMatchTicketParams
- func (o *CreateMatchTicketParams) WithHTTPClient(client *http.Client) *CreateMatchTicketParams
- func (o *CreateMatchTicketParams) WithNamespace(namespace string) *CreateMatchTicketParams
- func (o *CreateMatchTicketParams) WithTimeout(timeout time.Duration) *CreateMatchTicketParams
- func (o *CreateMatchTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMatchTicketReader
- type CreateMatchTicketUnauthorized
- type DeleteMatchTicketForbidden
- type DeleteMatchTicketInternalServerError
- type DeleteMatchTicketNoContent
- type DeleteMatchTicketNotFound
- type DeleteMatchTicketParams
- func NewDeleteMatchTicketParams() *DeleteMatchTicketParams
- func NewDeleteMatchTicketParamsWithContext(ctx context.Context) *DeleteMatchTicketParams
- func NewDeleteMatchTicketParamsWithHTTPClient(client *http.Client) *DeleteMatchTicketParams
- func NewDeleteMatchTicketParamsWithTimeout(timeout time.Duration) *DeleteMatchTicketParams
- func (o *DeleteMatchTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteMatchTicketParams) SetContext(ctx context.Context)
- func (o *DeleteMatchTicketParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMatchTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteMatchTicketParams) SetNamespace(namespace string)
- func (o *DeleteMatchTicketParams) SetTicketid(ticketid string)
- func (o *DeleteMatchTicketParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMatchTicketParams) WithContext(ctx context.Context) *DeleteMatchTicketParams
- func (o *DeleteMatchTicketParams) WithHTTPClient(client *http.Client) *DeleteMatchTicketParams
- func (o *DeleteMatchTicketParams) WithNamespace(namespace string) *DeleteMatchTicketParams
- func (o *DeleteMatchTicketParams) WithTicketid(ticketid string) *DeleteMatchTicketParams
- func (o *DeleteMatchTicketParams) WithTimeout(timeout time.Duration) *DeleteMatchTicketParams
- func (o *DeleteMatchTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMatchTicketReader
- type DeleteMatchTicketUnauthorized
- type MatchTicketDetailsForbidden
- type MatchTicketDetailsInternalServerError
- type MatchTicketDetailsNotFound
- type MatchTicketDetailsOK
- type MatchTicketDetailsParams
- func NewMatchTicketDetailsParams() *MatchTicketDetailsParams
- func NewMatchTicketDetailsParamsWithContext(ctx context.Context) *MatchTicketDetailsParams
- func NewMatchTicketDetailsParamsWithHTTPClient(client *http.Client) *MatchTicketDetailsParams
- func NewMatchTicketDetailsParamsWithTimeout(timeout time.Duration) *MatchTicketDetailsParams
- func (o *MatchTicketDetailsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *MatchTicketDetailsParams) SetContext(ctx context.Context)
- func (o *MatchTicketDetailsParams) SetHTTPClient(client *http.Client)
- func (o *MatchTicketDetailsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *MatchTicketDetailsParams) SetNamespace(namespace string)
- func (o *MatchTicketDetailsParams) SetTicketid(ticketid string)
- func (o *MatchTicketDetailsParams) SetTimeout(timeout time.Duration)
- func (o *MatchTicketDetailsParams) WithContext(ctx context.Context) *MatchTicketDetailsParams
- func (o *MatchTicketDetailsParams) WithHTTPClient(client *http.Client) *MatchTicketDetailsParams
- func (o *MatchTicketDetailsParams) WithNamespace(namespace string) *MatchTicketDetailsParams
- func (o *MatchTicketDetailsParams) WithTicketid(ticketid string) *MatchTicketDetailsParams
- func (o *MatchTicketDetailsParams) WithTimeout(timeout time.Duration) *MatchTicketDetailsParams
- func (o *MatchTicketDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MatchTicketDetailsReader
- type MatchTicketDetailsUnauthorized
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 tickets API
func (*Client) CreateMatchTicket
deprecated
func (a *Client) CreateMatchTicket(params *CreateMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchTicketCreated, *CreateMatchTicketBadRequest, *CreateMatchTicketUnauthorized, *CreateMatchTicketForbidden, *CreateMatchTicketNotFound, *CreateMatchTicketConflict, *CreateMatchTicketInternalServerError, error)
Deprecated: Use CreateMatchTicketShort instead.
CreateMatchTicket creates a matchmaking ticket Required Permission: NAMESPACE:{namespace}:MATCHMAKING:TICKET [CREATE]
Required Scope: social
Creates a new request for matchmaking
func (*Client) CreateMatchTicketShort ¶
func (a *Client) CreateMatchTicketShort(params *CreateMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchTicketCreated, error)
CreateMatchTicketShort creates a matchmaking ticket Required Permission: NAMESPACE:{namespace}:MATCHMAKING:TICKET [CREATE]
Required Scope: social
Creates a new request for matchmaking
func (*Client) DeleteMatchTicket
deprecated
func (a *Client) DeleteMatchTicket(params *DeleteMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchTicketNoContent, *DeleteMatchTicketUnauthorized, *DeleteMatchTicketForbidden, *DeleteMatchTicketNotFound, *DeleteMatchTicketInternalServerError, error)
Deprecated: Use DeleteMatchTicketShort instead.
DeleteMatchTicket deletes a match ticket Required Permission: NAMESPACE:{namespace}:MATCHMAKING:TICKET [DELETE]
Required Scope: social
Deletes an existing matchmaking ticket.
func (*Client) DeleteMatchTicketShort ¶
func (a *Client) DeleteMatchTicketShort(params *DeleteMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchTicketNoContent, error)
DeleteMatchTicketShort deletes a match ticket Required Permission: NAMESPACE:{namespace}:MATCHMAKING:TICKET [DELETE]
Required Scope: social
Deletes an existing matchmaking ticket.
func (*Client) MatchTicketDetails
deprecated
func (a *Client) MatchTicketDetails(params *MatchTicketDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchTicketDetailsOK, *MatchTicketDetailsUnauthorized, *MatchTicketDetailsForbidden, *MatchTicketDetailsNotFound, *MatchTicketDetailsInternalServerError, error)
Deprecated: Use MatchTicketDetailsShort instead.
MatchTicketDetails gets details for a specific match ticket Required Permission: NAMESPACE:{namespace}:MATCHMAKING:TICKET [READ]
Required Scope: social
Get details for a specific match ticket
func (*Client) MatchTicketDetailsShort ¶
func (a *Client) MatchTicketDetailsShort(params *MatchTicketDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchTicketDetailsOK, error)
MatchTicketDetailsShort gets details for a specific match ticket Required Permission: NAMESPACE:{namespace}:MATCHMAKING:TICKET [READ]
Required Scope: social
Get details for a specific match ticket
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateMatchTicket(params *CreateMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchTicketCreated, *CreateMatchTicketBadRequest, *CreateMatchTicketUnauthorized, *CreateMatchTicketForbidden, *CreateMatchTicketNotFound, *CreateMatchTicketConflict, *CreateMatchTicketInternalServerError, error) CreateMatchTicketShort(params *CreateMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMatchTicketCreated, error) DeleteMatchTicket(params *DeleteMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchTicketNoContent, *DeleteMatchTicketUnauthorized, *DeleteMatchTicketForbidden, *DeleteMatchTicketNotFound, *DeleteMatchTicketInternalServerError, error) DeleteMatchTicketShort(params *DeleteMatchTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMatchTicketNoContent, error) MatchTicketDetails(params *MatchTicketDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchTicketDetailsOK, *MatchTicketDetailsUnauthorized, *MatchTicketDetailsForbidden, *MatchTicketDetailsNotFound, *MatchTicketDetailsInternalServerError, error) MatchTicketDetailsShort(params *MatchTicketDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*MatchTicketDetailsOK, 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 tickets API client.
type CreateMatchTicketBadRequest ¶
type CreateMatchTicketBadRequest struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchTicketBadRequest handles this case with default header values.
Bad Request
func NewCreateMatchTicketBadRequest ¶
func NewCreateMatchTicketBadRequest() *CreateMatchTicketBadRequest
NewCreateMatchTicketBadRequest creates a CreateMatchTicketBadRequest with default headers values
func (*CreateMatchTicketBadRequest) Error ¶
func (o *CreateMatchTicketBadRequest) Error() string
func (*CreateMatchTicketBadRequest) GetPayload ¶
func (o *CreateMatchTicketBadRequest) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchTicketBadRequest) ToJSONString ¶
func (o *CreateMatchTicketBadRequest) ToJSONString() string
type CreateMatchTicketConflict ¶
type CreateMatchTicketConflict struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchTicketConflict handles this case with default header values.
Conflict
func NewCreateMatchTicketConflict ¶
func NewCreateMatchTicketConflict() *CreateMatchTicketConflict
NewCreateMatchTicketConflict creates a CreateMatchTicketConflict with default headers values
func (*CreateMatchTicketConflict) Error ¶
func (o *CreateMatchTicketConflict) Error() string
func (*CreateMatchTicketConflict) GetPayload ¶
func (o *CreateMatchTicketConflict) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchTicketConflict) ToJSONString ¶
func (o *CreateMatchTicketConflict) ToJSONString() string
type CreateMatchTicketCreated ¶
type CreateMatchTicketCreated struct {
Payload *match2clientmodels.APIMatchTicketResponse
}
CreateMatchTicketCreated handles this case with default header values.
Created
func NewCreateMatchTicketCreated ¶
func NewCreateMatchTicketCreated() *CreateMatchTicketCreated
NewCreateMatchTicketCreated creates a CreateMatchTicketCreated with default headers values
func (*CreateMatchTicketCreated) Error ¶
func (o *CreateMatchTicketCreated) Error() string
func (*CreateMatchTicketCreated) GetPayload ¶
func (o *CreateMatchTicketCreated) GetPayload() *match2clientmodels.APIMatchTicketResponse
func (*CreateMatchTicketCreated) ToJSONString ¶
func (o *CreateMatchTicketCreated) ToJSONString() string
type CreateMatchTicketForbidden ¶
type CreateMatchTicketForbidden struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchTicketForbidden handles this case with default header values.
Forbidden
func NewCreateMatchTicketForbidden ¶
func NewCreateMatchTicketForbidden() *CreateMatchTicketForbidden
NewCreateMatchTicketForbidden creates a CreateMatchTicketForbidden with default headers values
func (*CreateMatchTicketForbidden) Error ¶
func (o *CreateMatchTicketForbidden) Error() string
func (*CreateMatchTicketForbidden) GetPayload ¶
func (o *CreateMatchTicketForbidden) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchTicketForbidden) ToJSONString ¶
func (o *CreateMatchTicketForbidden) ToJSONString() string
type CreateMatchTicketInternalServerError ¶
type CreateMatchTicketInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchTicketInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateMatchTicketInternalServerError ¶
func NewCreateMatchTicketInternalServerError() *CreateMatchTicketInternalServerError
NewCreateMatchTicketInternalServerError creates a CreateMatchTicketInternalServerError with default headers values
func (*CreateMatchTicketInternalServerError) Error ¶
func (o *CreateMatchTicketInternalServerError) Error() string
func (*CreateMatchTicketInternalServerError) GetPayload ¶
func (o *CreateMatchTicketInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchTicketInternalServerError) ToJSONString ¶
func (o *CreateMatchTicketInternalServerError) ToJSONString() string
type CreateMatchTicketNotFound ¶
type CreateMatchTicketNotFound struct {
Payload *match2clientmodels.ResponseError
}
CreateMatchTicketNotFound handles this case with default header values.
Not Found when the specified match pool does not exist
func NewCreateMatchTicketNotFound ¶
func NewCreateMatchTicketNotFound() *CreateMatchTicketNotFound
NewCreateMatchTicketNotFound creates a CreateMatchTicketNotFound with default headers values
func (*CreateMatchTicketNotFound) Error ¶
func (o *CreateMatchTicketNotFound) Error() string
func (*CreateMatchTicketNotFound) GetPayload ¶
func (o *CreateMatchTicketNotFound) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchTicketNotFound) ToJSONString ¶
func (o *CreateMatchTicketNotFound) ToJSONString() string
type CreateMatchTicketParams ¶
type CreateMatchTicketParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *match2clientmodels.APIMatchTicketRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMatchTicketParams contains all the parameters to send to the API endpoint for the create match ticket operation typically these are written to a http.Request
func NewCreateMatchTicketParams ¶
func NewCreateMatchTicketParams() *CreateMatchTicketParams
NewCreateMatchTicketParams creates a new CreateMatchTicketParams object with the default values initialized.
func NewCreateMatchTicketParamsWithContext ¶
func NewCreateMatchTicketParamsWithContext(ctx context.Context) *CreateMatchTicketParams
NewCreateMatchTicketParamsWithContext creates a new CreateMatchTicketParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMatchTicketParamsWithHTTPClient ¶
func NewCreateMatchTicketParamsWithHTTPClient(client *http.Client) *CreateMatchTicketParams
NewCreateMatchTicketParamsWithHTTPClient creates a new CreateMatchTicketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMatchTicketParamsWithTimeout ¶
func NewCreateMatchTicketParamsWithTimeout(timeout time.Duration) *CreateMatchTicketParams
NewCreateMatchTicketParamsWithTimeout creates a new CreateMatchTicketParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMatchTicketParams) SetAuthInfoWriter ¶
func (o *CreateMatchTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create match ticket params
func (*CreateMatchTicketParams) SetBody ¶
func (o *CreateMatchTicketParams) SetBody(body *match2clientmodels.APIMatchTicketRequest)
SetBody adds the body to the create match ticket params
func (*CreateMatchTicketParams) SetContext ¶
func (o *CreateMatchTicketParams) SetContext(ctx context.Context)
SetContext adds the context to the create match ticket params
func (*CreateMatchTicketParams) SetHTTPClient ¶
func (o *CreateMatchTicketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create match ticket params
func (*CreateMatchTicketParams) SetHTTPClientTransport ¶
func (o *CreateMatchTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create match ticket params
func (*CreateMatchTicketParams) SetNamespace ¶
func (o *CreateMatchTicketParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create match ticket params
func (*CreateMatchTicketParams) SetTimeout ¶
func (o *CreateMatchTicketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create match ticket params
func (*CreateMatchTicketParams) WithBody ¶
func (o *CreateMatchTicketParams) WithBody(body *match2clientmodels.APIMatchTicketRequest) *CreateMatchTicketParams
WithBody adds the body to the create match ticket params
func (*CreateMatchTicketParams) WithContext ¶
func (o *CreateMatchTicketParams) WithContext(ctx context.Context) *CreateMatchTicketParams
WithContext adds the context to the create match ticket params
func (*CreateMatchTicketParams) WithHTTPClient ¶
func (o *CreateMatchTicketParams) WithHTTPClient(client *http.Client) *CreateMatchTicketParams
WithHTTPClient adds the HTTPClient to the create match ticket params
func (*CreateMatchTicketParams) WithNamespace ¶
func (o *CreateMatchTicketParams) WithNamespace(namespace string) *CreateMatchTicketParams
WithNamespace adds the namespace to the create match ticket params
func (*CreateMatchTicketParams) WithTimeout ¶
func (o *CreateMatchTicketParams) WithTimeout(timeout time.Duration) *CreateMatchTicketParams
WithTimeout adds the timeout to the create match ticket params
func (*CreateMatchTicketParams) WriteToRequest ¶
func (o *CreateMatchTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMatchTicketReader ¶
type CreateMatchTicketReader struct {
// contains filtered or unexported fields
}
CreateMatchTicketReader is a Reader for the CreateMatchTicket structure.
func (*CreateMatchTicketReader) ReadResponse ¶
func (o *CreateMatchTicketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMatchTicketUnauthorized ¶
type CreateMatchTicketUnauthorized struct {
}CreateMatchTicketUnauthorized handles this case with default header values.
Unauthorized
func NewCreateMatchTicketUnauthorized ¶
func NewCreateMatchTicketUnauthorized() *CreateMatchTicketUnauthorized
NewCreateMatchTicketUnauthorized creates a CreateMatchTicketUnauthorized with default headers values
func (*CreateMatchTicketUnauthorized) Error ¶
func (o *CreateMatchTicketUnauthorized) Error() string
func (*CreateMatchTicketUnauthorized) GetPayload ¶
func (o *CreateMatchTicketUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*CreateMatchTicketUnauthorized) ToJSONString ¶
func (o *CreateMatchTicketUnauthorized) ToJSONString() string
type DeleteMatchTicketForbidden ¶
type DeleteMatchTicketForbidden struct {
Payload *match2clientmodels.ResponseError
}
DeleteMatchTicketForbidden handles this case with default header values.
Forbidden
func NewDeleteMatchTicketForbidden ¶
func NewDeleteMatchTicketForbidden() *DeleteMatchTicketForbidden
NewDeleteMatchTicketForbidden creates a DeleteMatchTicketForbidden with default headers values
func (*DeleteMatchTicketForbidden) Error ¶
func (o *DeleteMatchTicketForbidden) Error() string
func (*DeleteMatchTicketForbidden) GetPayload ¶
func (o *DeleteMatchTicketForbidden) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchTicketForbidden) ToJSONString ¶
func (o *DeleteMatchTicketForbidden) ToJSONString() string
type DeleteMatchTicketInternalServerError ¶
type DeleteMatchTicketInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
DeleteMatchTicketInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteMatchTicketInternalServerError ¶
func NewDeleteMatchTicketInternalServerError() *DeleteMatchTicketInternalServerError
NewDeleteMatchTicketInternalServerError creates a DeleteMatchTicketInternalServerError with default headers values
func (*DeleteMatchTicketInternalServerError) Error ¶
func (o *DeleteMatchTicketInternalServerError) Error() string
func (*DeleteMatchTicketInternalServerError) GetPayload ¶
func (o *DeleteMatchTicketInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchTicketInternalServerError) ToJSONString ¶
func (o *DeleteMatchTicketInternalServerError) ToJSONString() string
type DeleteMatchTicketNoContent ¶
type DeleteMatchTicketNoContent struct { }
DeleteMatchTicketNoContent handles this case with default header values.
No Content
func NewDeleteMatchTicketNoContent ¶
func NewDeleteMatchTicketNoContent() *DeleteMatchTicketNoContent
NewDeleteMatchTicketNoContent creates a DeleteMatchTicketNoContent with default headers values
func (*DeleteMatchTicketNoContent) Error ¶
func (o *DeleteMatchTicketNoContent) Error() string
type DeleteMatchTicketNotFound ¶
type DeleteMatchTicketNotFound struct {
Payload *match2clientmodels.ResponseError
}
DeleteMatchTicketNotFound handles this case with default header values.
Not Found
func NewDeleteMatchTicketNotFound ¶
func NewDeleteMatchTicketNotFound() *DeleteMatchTicketNotFound
NewDeleteMatchTicketNotFound creates a DeleteMatchTicketNotFound with default headers values
func (*DeleteMatchTicketNotFound) Error ¶
func (o *DeleteMatchTicketNotFound) Error() string
func (*DeleteMatchTicketNotFound) GetPayload ¶
func (o *DeleteMatchTicketNotFound) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchTicketNotFound) ToJSONString ¶
func (o *DeleteMatchTicketNotFound) ToJSONString() string
type DeleteMatchTicketParams ¶
type DeleteMatchTicketParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Ticketid ID of the match ticket */ Ticketid string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMatchTicketParams contains all the parameters to send to the API endpoint for the delete match ticket operation typically these are written to a http.Request
func NewDeleteMatchTicketParams ¶
func NewDeleteMatchTicketParams() *DeleteMatchTicketParams
NewDeleteMatchTicketParams creates a new DeleteMatchTicketParams object with the default values initialized.
func NewDeleteMatchTicketParamsWithContext ¶
func NewDeleteMatchTicketParamsWithContext(ctx context.Context) *DeleteMatchTicketParams
NewDeleteMatchTicketParamsWithContext creates a new DeleteMatchTicketParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMatchTicketParamsWithHTTPClient ¶
func NewDeleteMatchTicketParamsWithHTTPClient(client *http.Client) *DeleteMatchTicketParams
NewDeleteMatchTicketParamsWithHTTPClient creates a new DeleteMatchTicketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMatchTicketParamsWithTimeout ¶
func NewDeleteMatchTicketParamsWithTimeout(timeout time.Duration) *DeleteMatchTicketParams
NewDeleteMatchTicketParamsWithTimeout creates a new DeleteMatchTicketParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMatchTicketParams) SetAuthInfoWriter ¶
func (o *DeleteMatchTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete match ticket params
func (*DeleteMatchTicketParams) SetContext ¶
func (o *DeleteMatchTicketParams) SetContext(ctx context.Context)
SetContext adds the context to the delete match ticket params
func (*DeleteMatchTicketParams) SetHTTPClient ¶
func (o *DeleteMatchTicketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete match ticket params
func (*DeleteMatchTicketParams) SetHTTPClientTransport ¶
func (o *DeleteMatchTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete match ticket params
func (*DeleteMatchTicketParams) SetNamespace ¶
func (o *DeleteMatchTicketParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete match ticket params
func (*DeleteMatchTicketParams) SetTicketid ¶
func (o *DeleteMatchTicketParams) SetTicketid(ticketid string)
SetTicketid adds the ticketid to the delete match ticket params
func (*DeleteMatchTicketParams) SetTimeout ¶
func (o *DeleteMatchTicketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete match ticket params
func (*DeleteMatchTicketParams) WithContext ¶
func (o *DeleteMatchTicketParams) WithContext(ctx context.Context) *DeleteMatchTicketParams
WithContext adds the context to the delete match ticket params
func (*DeleteMatchTicketParams) WithHTTPClient ¶
func (o *DeleteMatchTicketParams) WithHTTPClient(client *http.Client) *DeleteMatchTicketParams
WithHTTPClient adds the HTTPClient to the delete match ticket params
func (*DeleteMatchTicketParams) WithNamespace ¶
func (o *DeleteMatchTicketParams) WithNamespace(namespace string) *DeleteMatchTicketParams
WithNamespace adds the namespace to the delete match ticket params
func (*DeleteMatchTicketParams) WithTicketid ¶
func (o *DeleteMatchTicketParams) WithTicketid(ticketid string) *DeleteMatchTicketParams
WithTicketid adds the ticketid to the delete match ticket params
func (*DeleteMatchTicketParams) WithTimeout ¶
func (o *DeleteMatchTicketParams) WithTimeout(timeout time.Duration) *DeleteMatchTicketParams
WithTimeout adds the timeout to the delete match ticket params
func (*DeleteMatchTicketParams) WriteToRequest ¶
func (o *DeleteMatchTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMatchTicketReader ¶
type DeleteMatchTicketReader struct {
// contains filtered or unexported fields
}
DeleteMatchTicketReader is a Reader for the DeleteMatchTicket structure.
func (*DeleteMatchTicketReader) ReadResponse ¶
func (o *DeleteMatchTicketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMatchTicketUnauthorized ¶
type DeleteMatchTicketUnauthorized struct {
}DeleteMatchTicketUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteMatchTicketUnauthorized ¶
func NewDeleteMatchTicketUnauthorized() *DeleteMatchTicketUnauthorized
NewDeleteMatchTicketUnauthorized creates a DeleteMatchTicketUnauthorized with default headers values
func (*DeleteMatchTicketUnauthorized) Error ¶
func (o *DeleteMatchTicketUnauthorized) Error() string
func (*DeleteMatchTicketUnauthorized) GetPayload ¶
func (o *DeleteMatchTicketUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*DeleteMatchTicketUnauthorized) ToJSONString ¶
func (o *DeleteMatchTicketUnauthorized) ToJSONString() string
type MatchTicketDetailsForbidden ¶
type MatchTicketDetailsForbidden struct {
Payload *match2clientmodels.ResponseError
}
MatchTicketDetailsForbidden handles this case with default header values.
Forbidden
func NewMatchTicketDetailsForbidden ¶
func NewMatchTicketDetailsForbidden() *MatchTicketDetailsForbidden
NewMatchTicketDetailsForbidden creates a MatchTicketDetailsForbidden with default headers values
func (*MatchTicketDetailsForbidden) Error ¶
func (o *MatchTicketDetailsForbidden) Error() string
func (*MatchTicketDetailsForbidden) GetPayload ¶
func (o *MatchTicketDetailsForbidden) GetPayload() *match2clientmodels.ResponseError
func (*MatchTicketDetailsForbidden) ToJSONString ¶
func (o *MatchTicketDetailsForbidden) ToJSONString() string
type MatchTicketDetailsInternalServerError ¶
type MatchTicketDetailsInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
MatchTicketDetailsInternalServerError handles this case with default header values.
Internal Server Error
func NewMatchTicketDetailsInternalServerError ¶
func NewMatchTicketDetailsInternalServerError() *MatchTicketDetailsInternalServerError
NewMatchTicketDetailsInternalServerError creates a MatchTicketDetailsInternalServerError with default headers values
func (*MatchTicketDetailsInternalServerError) Error ¶
func (o *MatchTicketDetailsInternalServerError) Error() string
func (*MatchTicketDetailsInternalServerError) GetPayload ¶
func (o *MatchTicketDetailsInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*MatchTicketDetailsInternalServerError) ToJSONString ¶
func (o *MatchTicketDetailsInternalServerError) ToJSONString() string
type MatchTicketDetailsNotFound ¶
type MatchTicketDetailsNotFound struct {
Payload *match2clientmodels.ResponseError
}
MatchTicketDetailsNotFound handles this case with default header values.
Not Found
func NewMatchTicketDetailsNotFound ¶
func NewMatchTicketDetailsNotFound() *MatchTicketDetailsNotFound
NewMatchTicketDetailsNotFound creates a MatchTicketDetailsNotFound with default headers values
func (*MatchTicketDetailsNotFound) Error ¶
func (o *MatchTicketDetailsNotFound) Error() string
func (*MatchTicketDetailsNotFound) GetPayload ¶
func (o *MatchTicketDetailsNotFound) GetPayload() *match2clientmodels.ResponseError
func (*MatchTicketDetailsNotFound) ToJSONString ¶
func (o *MatchTicketDetailsNotFound) ToJSONString() string
type MatchTicketDetailsOK ¶
type MatchTicketDetailsOK struct {
Payload *match2clientmodels.APIMatchTicketStatus
}
MatchTicketDetailsOK handles this case with default header values.
Created
func NewMatchTicketDetailsOK ¶
func NewMatchTicketDetailsOK() *MatchTicketDetailsOK
NewMatchTicketDetailsOK creates a MatchTicketDetailsOK with default headers values
func (*MatchTicketDetailsOK) Error ¶
func (o *MatchTicketDetailsOK) Error() string
func (*MatchTicketDetailsOK) GetPayload ¶
func (o *MatchTicketDetailsOK) GetPayload() *match2clientmodels.APIMatchTicketStatus
func (*MatchTicketDetailsOK) ToJSONString ¶
func (o *MatchTicketDetailsOK) ToJSONString() string
type MatchTicketDetailsParams ¶
type MatchTicketDetailsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Ticketid id of the ticket to get the status of */ Ticketid string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MatchTicketDetailsParams contains all the parameters to send to the API endpoint for the match ticket details operation typically these are written to a http.Request
func NewMatchTicketDetailsParams ¶
func NewMatchTicketDetailsParams() *MatchTicketDetailsParams
NewMatchTicketDetailsParams creates a new MatchTicketDetailsParams object with the default values initialized.
func NewMatchTicketDetailsParamsWithContext ¶
func NewMatchTicketDetailsParamsWithContext(ctx context.Context) *MatchTicketDetailsParams
NewMatchTicketDetailsParamsWithContext creates a new MatchTicketDetailsParams object with the default values initialized, and the ability to set a context for a request
func NewMatchTicketDetailsParamsWithHTTPClient ¶
func NewMatchTicketDetailsParamsWithHTTPClient(client *http.Client) *MatchTicketDetailsParams
NewMatchTicketDetailsParamsWithHTTPClient creates a new MatchTicketDetailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMatchTicketDetailsParamsWithTimeout ¶
func NewMatchTicketDetailsParamsWithTimeout(timeout time.Duration) *MatchTicketDetailsParams
NewMatchTicketDetailsParamsWithTimeout creates a new MatchTicketDetailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*MatchTicketDetailsParams) SetAuthInfoWriter ¶
func (o *MatchTicketDetailsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the match ticket details params
func (*MatchTicketDetailsParams) SetContext ¶
func (o *MatchTicketDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the match ticket details params
func (*MatchTicketDetailsParams) SetHTTPClient ¶
func (o *MatchTicketDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the match ticket details params
func (*MatchTicketDetailsParams) SetHTTPClientTransport ¶
func (o *MatchTicketDetailsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the match ticket details params
func (*MatchTicketDetailsParams) SetNamespace ¶
func (o *MatchTicketDetailsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the match ticket details params
func (*MatchTicketDetailsParams) SetTicketid ¶
func (o *MatchTicketDetailsParams) SetTicketid(ticketid string)
SetTicketid adds the ticketid to the match ticket details params
func (*MatchTicketDetailsParams) SetTimeout ¶
func (o *MatchTicketDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the match ticket details params
func (*MatchTicketDetailsParams) WithContext ¶
func (o *MatchTicketDetailsParams) WithContext(ctx context.Context) *MatchTicketDetailsParams
WithContext adds the context to the match ticket details params
func (*MatchTicketDetailsParams) WithHTTPClient ¶
func (o *MatchTicketDetailsParams) WithHTTPClient(client *http.Client) *MatchTicketDetailsParams
WithHTTPClient adds the HTTPClient to the match ticket details params
func (*MatchTicketDetailsParams) WithNamespace ¶
func (o *MatchTicketDetailsParams) WithNamespace(namespace string) *MatchTicketDetailsParams
WithNamespace adds the namespace to the match ticket details params
func (*MatchTicketDetailsParams) WithTicketid ¶
func (o *MatchTicketDetailsParams) WithTicketid(ticketid string) *MatchTicketDetailsParams
WithTicketid adds the ticketid to the match ticket details params
func (*MatchTicketDetailsParams) WithTimeout ¶
func (o *MatchTicketDetailsParams) WithTimeout(timeout time.Duration) *MatchTicketDetailsParams
WithTimeout adds the timeout to the match ticket details params
func (*MatchTicketDetailsParams) WriteToRequest ¶
func (o *MatchTicketDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MatchTicketDetailsReader ¶
type MatchTicketDetailsReader struct {
// contains filtered or unexported fields
}
MatchTicketDetailsReader is a Reader for the MatchTicketDetails structure.
func (*MatchTicketDetailsReader) ReadResponse ¶
func (o *MatchTicketDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MatchTicketDetailsUnauthorized ¶
type MatchTicketDetailsUnauthorized struct {
}MatchTicketDetailsUnauthorized handles this case with default header values.
Unauthorized
func NewMatchTicketDetailsUnauthorized ¶
func NewMatchTicketDetailsUnauthorized() *MatchTicketDetailsUnauthorized
NewMatchTicketDetailsUnauthorized creates a MatchTicketDetailsUnauthorized with default headers values
func (*MatchTicketDetailsUnauthorized) Error ¶
func (o *MatchTicketDetailsUnauthorized) Error() string
func (*MatchTicketDetailsUnauthorized) GetPayload ¶
func (o *MatchTicketDetailsUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*MatchTicketDetailsUnauthorized) ToJSONString ¶
func (o *MatchTicketDetailsUnauthorized) ToJSONString() string