Documentation
¶
Index ¶
- type CancelTicketInternalServerError
- type CancelTicketNoContent
- type CancelTicketParams
- func (o *CancelTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CancelTicketParams) SetContext(ctx context.Context)
- func (o *CancelTicketParams) SetFlightId(flightId string)
- func (o *CancelTicketParams) SetHTTPClient(client *http.Client)
- func (o *CancelTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CancelTicketParams) SetNamespace(namespace string)
- func (o *CancelTicketParams) SetTimeout(timeout time.Duration)
- func (o *CancelTicketParams) WithContext(ctx context.Context) *CancelTicketParams
- func (o *CancelTicketParams) WithHTTPClient(client *http.Client) *CancelTicketParams
- func (o *CancelTicketParams) WithNamespace(namespace string) *CancelTicketParams
- func (o *CancelTicketParams) WithTimeout(timeout time.Duration) *CancelTicketParams
- func (o *CancelTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelTicketReader
- type CancelTicketUnauthorized
- type Client
- func (a *Client) CancelTicket(params *CancelTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CancelTicketNoContent, *CancelTicketUnauthorized, ...)deprecated
- func (a *Client) CancelTicketShort(params *CancelTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CancelTicketNoContent, error)
- func (a *Client) RefreshTicket(params *RefreshTicketParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTicketOK, *RefreshTicketUnauthorized, ...)deprecated
- func (a *Client) RefreshTicketShort(params *RefreshTicketParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTicketOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type RefreshTicketInternalServerError
- type RefreshTicketOK
- type RefreshTicketParams
- func (o *RefreshTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RefreshTicketParams) SetContext(ctx context.Context)
- func (o *RefreshTicketParams) SetFlightId(flightId string)
- func (o *RefreshTicketParams) SetHTTPClient(client *http.Client)
- func (o *RefreshTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RefreshTicketParams) SetNamespace(namespace string)
- func (o *RefreshTicketParams) SetTimeout(timeout time.Duration)
- func (o *RefreshTicketParams) WithContext(ctx context.Context) *RefreshTicketParams
- func (o *RefreshTicketParams) WithHTTPClient(client *http.Client) *RefreshTicketParams
- func (o *RefreshTicketParams) WithNamespace(namespace string) *RefreshTicketParams
- func (o *RefreshTicketParams) WithTimeout(timeout time.Duration) *RefreshTicketParams
- func (o *RefreshTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefreshTicketReader
- type RefreshTicketUnauthorized
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 (o *CancelTicketInternalServerError) Error() string
func (*CancelTicketInternalServerError) GetPayload ¶
func (o *CancelTicketInternalServerError) GetPayload() *loginqueueclientmodels.ResponseError
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, only accept alphabet and numeric
*/
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 ¶
func (o *CancelTicketParams) WithContext(ctx context.Context) *CancelTicketParams
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 {
}
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 (o *CancelTicketUnauthorized) GetPayload() *loginqueueclientmodels.ResponseError
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
func (a *Client) CancelTicket(params *CancelTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CancelTicketNoContent, *CancelTicketUnauthorized, *CancelTicketInternalServerError, error)
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
func (a *Client) RefreshTicket(params *RefreshTicketParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTicketOK, *RefreshTicketUnauthorized, *RefreshTicketInternalServerError, error)
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 ¶
type ClientService interface {
RefreshTicket(params *RefreshTicketParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTicketOK, *RefreshTicketUnauthorized, *RefreshTicketInternalServerError, error)
RefreshTicketShort(params *RefreshTicketParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTicketOK, error)
CancelTicket(params *CancelTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CancelTicketNoContent, *CancelTicketUnauthorized, *CancelTicketInternalServerError, error)
CancelTicketShort(params *CancelTicketParams, authInfo runtime.ClientAuthInfoWriter) (*CancelTicketNoContent, 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 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 (o *RefreshTicketInternalServerError) Error() string
func (*RefreshTicketInternalServerError) GetPayload ¶
func (o *RefreshTicketInternalServerError) GetPayload() *loginqueueclientmodels.ResponseError
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 (o *RefreshTicketOK) GetPayload() *loginqueueclientmodels.ApimodelsRefreshTicketResponse
func (*RefreshTicketOK) ToJSONString ¶
func (o *RefreshTicketOK) ToJSONString() string
type RefreshTicketParams ¶
type RefreshTicketParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace
Namespace, only accept alphabet and numeric
*/
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 ¶
func (o *RefreshTicketParams) WithContext(ctx context.Context) *RefreshTicketParams
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 {
}
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 (o *RefreshTicketUnauthorized) GetPayload() *loginqueueclientmodels.ResponseError
func (*RefreshTicketUnauthorized) ToJSONString ¶
func (o *RefreshTicketUnauthorized) ToJSONString() string