ticket_v1

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelTicketInternalServerError

type CancelTicketInternalServerError struct {
	Payload *loginqueueclientmodels.ResponseError
}

CancelTicketInternalServerError handles this case with default header values.

Internal Server Error

func NewCancelTicketInternalServerError

func NewCancelTicketInternalServerError() *CancelTicketInternalServerError

NewCancelTicketInternalServerError creates a CancelTicketInternalServerError with default headers values

func (*CancelTicketInternalServerError) Error

func (*CancelTicketInternalServerError) GetPayload

func (*CancelTicketInternalServerError) ToJSONString

func (o *CancelTicketInternalServerError) ToJSONString() string

type CancelTicketNoContent

type CancelTicketNoContent struct {
}

CancelTicketNoContent handles this case with default header values.

No Content

func NewCancelTicketNoContent

func NewCancelTicketNoContent() *CancelTicketNoContent

NewCancelTicketNoContent creates a CancelTicketNoContent with default headers values

func (*CancelTicketNoContent) Error

func (o *CancelTicketNoContent) Error() string

type CancelTicketParams

type CancelTicketParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

CancelTicketParams contains all the parameters to send to the API endpoint for the cancel ticket operation typically these are written to a http.Request

func NewCancelTicketParams

func NewCancelTicketParams() *CancelTicketParams

NewCancelTicketParams creates a new CancelTicketParams object with the default values initialized.

func NewCancelTicketParamsWithContext

func NewCancelTicketParamsWithContext(ctx context.Context) *CancelTicketParams

NewCancelTicketParamsWithContext creates a new CancelTicketParams object with the default values initialized, and the ability to set a context for a request

func NewCancelTicketParamsWithHTTPClient

func NewCancelTicketParamsWithHTTPClient(client *http.Client) *CancelTicketParams

NewCancelTicketParamsWithHTTPClient creates a new CancelTicketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCancelTicketParamsWithTimeout

func NewCancelTicketParamsWithTimeout(timeout time.Duration) *CancelTicketParams

NewCancelTicketParamsWithTimeout creates a new CancelTicketParams object with the default values initialized, and the ability to set a timeout on a request

func (*CancelTicketParams) SetAuthInfoWriter

func (o *CancelTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the cancel ticket params

func (*CancelTicketParams) SetContext

func (o *CancelTicketParams) SetContext(ctx context.Context)

SetContext adds the context to the cancel ticket params

func (*CancelTicketParams) SetFlightId

func (o *CancelTicketParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CancelTicketParams) SetHTTPClient

func (o *CancelTicketParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cancel ticket params

func (*CancelTicketParams) SetHTTPClientTransport

func (o *CancelTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the cancel ticket params

func (*CancelTicketParams) SetNamespace

func (o *CancelTicketParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the cancel ticket params

func (*CancelTicketParams) SetTimeout

func (o *CancelTicketParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cancel ticket params

func (*CancelTicketParams) WithContext

WithContext adds the context to the cancel ticket params

func (*CancelTicketParams) WithHTTPClient

func (o *CancelTicketParams) WithHTTPClient(client *http.Client) *CancelTicketParams

WithHTTPClient adds the HTTPClient to the cancel ticket params

func (*CancelTicketParams) WithNamespace

func (o *CancelTicketParams) WithNamespace(namespace string) *CancelTicketParams

WithNamespace adds the namespace to the cancel ticket params

func (*CancelTicketParams) WithTimeout

func (o *CancelTicketParams) WithTimeout(timeout time.Duration) *CancelTicketParams

WithTimeout adds the timeout to the cancel ticket params

func (*CancelTicketParams) WriteToRequest

func (o *CancelTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CancelTicketReader

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

CancelTicketReader is a Reader for the CancelTicket structure.

func (*CancelTicketReader) ReadResponse

func (o *CancelTicketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CancelTicketUnauthorized

type CancelTicketUnauthorized struct {
	Payload *loginqueueclientmodels.ResponseError
}

CancelTicketUnauthorized handles this case with default header values.

Unauthorized

func NewCancelTicketUnauthorized

func NewCancelTicketUnauthorized() *CancelTicketUnauthorized

NewCancelTicketUnauthorized creates a CancelTicketUnauthorized with default headers values

func (*CancelTicketUnauthorized) Error

func (o *CancelTicketUnauthorized) Error() string

func (*CancelTicketUnauthorized) GetPayload

func (*CancelTicketUnauthorized) ToJSONString

func (o *CancelTicketUnauthorized) ToJSONString() string

type Client

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

Client for ticket v1 API

func (*Client) CancelTicket deprecated

Deprecated: 2022-08-10 - Use CancelTicketShort instead.

CancelTicket cancel ticket Cancel ticket. This endpoint requires ticket to be placed in the authorization header with this format: "Bearer ticketID"

func (*Client) CancelTicketShort

func (a *Client) CancelTicketShort(params *CancelTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CancelTicketNoContent, error)

CancelTicketShort cancel ticket Cancel ticket. This endpoint requires ticket to be placed in the authorization header with this format: "Bearer ticketID"

func (*Client) RefreshTicket deprecated

Deprecated: 2022-08-10 - Use RefreshTicketShort instead.

RefreshTicket refresh ticket Refresh ticket. This endpoint requires ticket to be placed in the authorization header with this format: "Bearer ticketID". When the ticketID is empty or not found the response status will be 401

func (*Client) RefreshTicketShort

func (a *Client) RefreshTicketShort(params *RefreshTicketParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTicketOK, error)

RefreshTicketShort refresh ticket Refresh ticket. This endpoint requires ticket to be placed in the authorization header with this format: "Bearer ticketID". When the ticketID is empty or not found the response status will be 401

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 ticket v1 API client.

type RefreshTicketInternalServerError

type RefreshTicketInternalServerError struct {
	Payload *loginqueueclientmodels.ResponseError
}

RefreshTicketInternalServerError handles this case with default header values.

Internal Server Error

func NewRefreshTicketInternalServerError

func NewRefreshTicketInternalServerError() *RefreshTicketInternalServerError

NewRefreshTicketInternalServerError creates a RefreshTicketInternalServerError with default headers values

func (*RefreshTicketInternalServerError) Error

func (*RefreshTicketInternalServerError) GetPayload

func (*RefreshTicketInternalServerError) ToJSONString

func (o *RefreshTicketInternalServerError) ToJSONString() string

type RefreshTicketOK

type RefreshTicketOK struct {
	Payload *loginqueueclientmodels.ApimodelsRefreshTicketResponse
}

RefreshTicketOK handles this case with default header values.

OK

func NewRefreshTicketOK

func NewRefreshTicketOK() *RefreshTicketOK

NewRefreshTicketOK creates a RefreshTicketOK with default headers values

func (*RefreshTicketOK) Error

func (o *RefreshTicketOK) Error() string

func (*RefreshTicketOK) GetPayload

func (*RefreshTicketOK) ToJSONString

func (o *RefreshTicketOK) ToJSONString() string

type RefreshTicketParams

type RefreshTicketParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

RefreshTicketParams contains all the parameters to send to the API endpoint for the refresh ticket operation typically these are written to a http.Request

func NewRefreshTicketParams

func NewRefreshTicketParams() *RefreshTicketParams

NewRefreshTicketParams creates a new RefreshTicketParams object with the default values initialized.

func NewRefreshTicketParamsWithContext

func NewRefreshTicketParamsWithContext(ctx context.Context) *RefreshTicketParams

NewRefreshTicketParamsWithContext creates a new RefreshTicketParams object with the default values initialized, and the ability to set a context for a request

func NewRefreshTicketParamsWithHTTPClient

func NewRefreshTicketParamsWithHTTPClient(client *http.Client) *RefreshTicketParams

NewRefreshTicketParamsWithHTTPClient creates a new RefreshTicketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRefreshTicketParamsWithTimeout

func NewRefreshTicketParamsWithTimeout(timeout time.Duration) *RefreshTicketParams

NewRefreshTicketParamsWithTimeout creates a new RefreshTicketParams object with the default values initialized, and the ability to set a timeout on a request

func (*RefreshTicketParams) SetAuthInfoWriter

func (o *RefreshTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the refresh ticket params

func (*RefreshTicketParams) SetContext

func (o *RefreshTicketParams) SetContext(ctx context.Context)

SetContext adds the context to the refresh ticket params

func (*RefreshTicketParams) SetFlightId

func (o *RefreshTicketParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RefreshTicketParams) SetHTTPClient

func (o *RefreshTicketParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the refresh ticket params

func (*RefreshTicketParams) SetHTTPClientTransport

func (o *RefreshTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the refresh ticket params

func (*RefreshTicketParams) SetNamespace

func (o *RefreshTicketParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the refresh ticket params

func (*RefreshTicketParams) SetTimeout

func (o *RefreshTicketParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the refresh ticket params

func (*RefreshTicketParams) WithContext

WithContext adds the context to the refresh ticket params

func (*RefreshTicketParams) WithHTTPClient

func (o *RefreshTicketParams) WithHTTPClient(client *http.Client) *RefreshTicketParams

WithHTTPClient adds the HTTPClient to the refresh ticket params

func (*RefreshTicketParams) WithNamespace

func (o *RefreshTicketParams) WithNamespace(namespace string) *RefreshTicketParams

WithNamespace adds the namespace to the refresh ticket params

func (*RefreshTicketParams) WithTimeout

func (o *RefreshTicketParams) WithTimeout(timeout time.Duration) *RefreshTicketParams

WithTimeout adds the timeout to the refresh ticket params

func (*RefreshTicketParams) WriteToRequest

func (o *RefreshTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RefreshTicketReader

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

RefreshTicketReader is a Reader for the RefreshTicket structure.

func (*RefreshTicketReader) ReadResponse

func (o *RefreshTicketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RefreshTicketUnauthorized

type RefreshTicketUnauthorized struct {
	Payload *loginqueueclientmodels.ResponseError
}

RefreshTicketUnauthorized handles this case with default header values.

Unauthorized

func NewRefreshTicketUnauthorized

func NewRefreshTicketUnauthorized() *RefreshTicketUnauthorized

NewRefreshTicketUnauthorized creates a RefreshTicketUnauthorized with default headers values

func (*RefreshTicketUnauthorized) Error

func (o *RefreshTicketUnauthorized) Error() string

func (*RefreshTicketUnauthorized) GetPayload

func (*RefreshTicketUnauthorized) ToJSONString

func (o *RefreshTicketUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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