match_tickets

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for match tickets API

func (*Client) CreateMatchTicket deprecated

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

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

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

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 (*CreateMatchTicketBadRequest) GetPayload

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 (*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 (*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 (*CreateMatchTicketForbidden) GetPayload

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 (*CreateMatchTicketInternalServerError) GetPayload

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 (*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

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

WithBody adds the body to the create match ticket params

func (*CreateMatchTicketParams) WithContext

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

WithTimeout adds the timeout to the create match ticket params

func (*CreateMatchTicketParams) WriteToRequest

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 {
	Payload *match2clientmodels.ResponseError
}

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 (*CreateMatchTicketUnauthorized) GetPayload

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 (*DeleteMatchTicketForbidden) GetPayload

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 (*DeleteMatchTicketInternalServerError) GetPayload

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

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 (*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

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

WithTimeout adds the timeout to the delete match ticket params

func (*DeleteMatchTicketParams) WriteToRequest

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 {
	Payload *match2clientmodels.ResponseError
}

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 (*DeleteMatchTicketUnauthorized) GetPayload

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 (*MatchTicketDetailsForbidden) GetPayload

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 (*MatchTicketDetailsInternalServerError) GetPayload

func (*MatchTicketDetailsInternalServerError) ToJSONString

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 (*MatchTicketDetailsNotFound) GetPayload

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 (*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

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

WithTimeout adds the timeout to the match ticket details params

func (*MatchTicketDetailsParams) WriteToRequest

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 {
	Payload *match2clientmodels.ResponseError
}

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 (*MatchTicketDetailsUnauthorized) GetPayload

func (*MatchTicketDetailsUnauthorized) ToJSONString

func (o *MatchTicketDetailsUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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