Documentation ¶
Index ¶
- type Client
- type ClientService
- type TokenConsumerByTokenGetByTokenOK
- type TokenConsumerByTokenGetByTokenParams
- func NewTokenConsumerByTokenGetByTokenParams() *TokenConsumerByTokenGetByTokenParams
- func NewTokenConsumerByTokenGetByTokenParamsWithContext(ctx context.Context) *TokenConsumerByTokenGetByTokenParams
- func NewTokenConsumerByTokenGetByTokenParamsWithHTTPClient(client *http.Client) *TokenConsumerByTokenGetByTokenParams
- func NewTokenConsumerByTokenGetByTokenParamsWithTimeout(timeout time.Duration) *TokenConsumerByTokenGetByTokenParams
- func (o *TokenConsumerByTokenGetByTokenParams) SetContext(ctx context.Context)
- func (o *TokenConsumerByTokenGetByTokenParams) SetFields(fields *string)
- func (o *TokenConsumerByTokenGetByTokenParams) SetHTTPClient(client *http.Client)
- func (o *TokenConsumerByTokenGetByTokenParams) SetTimeout(timeout time.Duration)
- func (o *TokenConsumerByTokenGetByTokenParams) SetToken(token string)
- func (o *TokenConsumerByTokenGetByTokenParams) WithContext(ctx context.Context) *TokenConsumerByTokenGetByTokenParams
- func (o *TokenConsumerByTokenGetByTokenParams) WithFields(fields *string) *TokenConsumerByTokenGetByTokenParams
- func (o *TokenConsumerByTokenGetByTokenParams) WithHTTPClient(client *http.Client) *TokenConsumerByTokenGetByTokenParams
- func (o *TokenConsumerByTokenGetByTokenParams) WithTimeout(timeout time.Duration) *TokenConsumerByTokenGetByTokenParams
- func (o *TokenConsumerByTokenGetByTokenParams) WithToken(token string) *TokenConsumerByTokenGetByTokenParams
- func (o *TokenConsumerByTokenGetByTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokenConsumerByTokenGetByTokenReader
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 consumer API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TokenConsumerByTokenGetByToken ¶
func (a *Client) TokenConsumerByTokenGetByToken(params *TokenConsumerByTokenGetByTokenParams, authInfo runtime.ClientAuthInfoWriter) (*TokenConsumerByTokenGetByTokenOK, error)
TokenConsumerByTokenGetByToken gets consumer token by token string
type ClientService ¶
type ClientService interface { TokenConsumerByTokenGetByToken(params *TokenConsumerByTokenGetByTokenParams, authInfo runtime.ClientAuthInfoWriter) (*TokenConsumerByTokenGetByTokenOK, 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 consumer API client.
type TokenConsumerByTokenGetByTokenOK ¶
type TokenConsumerByTokenGetByTokenOK struct {
Payload *models.ResponseWrapperConsumerToken
}
TokenConsumerByTokenGetByTokenOK handles this case with default header values.
successful operation
func NewTokenConsumerByTokenGetByTokenOK ¶
func NewTokenConsumerByTokenGetByTokenOK() *TokenConsumerByTokenGetByTokenOK
NewTokenConsumerByTokenGetByTokenOK creates a TokenConsumerByTokenGetByTokenOK with default headers values
func (*TokenConsumerByTokenGetByTokenOK) Error ¶
func (o *TokenConsumerByTokenGetByTokenOK) Error() string
func (*TokenConsumerByTokenGetByTokenOK) GetPayload ¶
func (o *TokenConsumerByTokenGetByTokenOK) GetPayload() *models.ResponseWrapperConsumerToken
type TokenConsumerByTokenGetByTokenParams ¶
type TokenConsumerByTokenGetByTokenParams struct { /*Fields Fields filter pattern */ Fields *string /*Token Element ID */ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TokenConsumerByTokenGetByTokenParams contains all the parameters to send to the API endpoint for the token consumer by token get by token operation typically these are written to a http.Request
func NewTokenConsumerByTokenGetByTokenParams ¶
func NewTokenConsumerByTokenGetByTokenParams() *TokenConsumerByTokenGetByTokenParams
NewTokenConsumerByTokenGetByTokenParams creates a new TokenConsumerByTokenGetByTokenParams object with the default values initialized.
func NewTokenConsumerByTokenGetByTokenParamsWithContext ¶
func NewTokenConsumerByTokenGetByTokenParamsWithContext(ctx context.Context) *TokenConsumerByTokenGetByTokenParams
NewTokenConsumerByTokenGetByTokenParamsWithContext creates a new TokenConsumerByTokenGetByTokenParams object with the default values initialized, and the ability to set a context for a request
func NewTokenConsumerByTokenGetByTokenParamsWithHTTPClient ¶
func NewTokenConsumerByTokenGetByTokenParamsWithHTTPClient(client *http.Client) *TokenConsumerByTokenGetByTokenParams
NewTokenConsumerByTokenGetByTokenParamsWithHTTPClient creates a new TokenConsumerByTokenGetByTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTokenConsumerByTokenGetByTokenParamsWithTimeout ¶
func NewTokenConsumerByTokenGetByTokenParamsWithTimeout(timeout time.Duration) *TokenConsumerByTokenGetByTokenParams
NewTokenConsumerByTokenGetByTokenParamsWithTimeout creates a new TokenConsumerByTokenGetByTokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*TokenConsumerByTokenGetByTokenParams) SetContext ¶
func (o *TokenConsumerByTokenGetByTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) SetFields ¶
func (o *TokenConsumerByTokenGetByTokenParams) SetFields(fields *string)
SetFields adds the fields to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) SetHTTPClient ¶
func (o *TokenConsumerByTokenGetByTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) SetTimeout ¶
func (o *TokenConsumerByTokenGetByTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) SetToken ¶
func (o *TokenConsumerByTokenGetByTokenParams) SetToken(token string)
SetToken adds the token to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) WithContext ¶
func (o *TokenConsumerByTokenGetByTokenParams) WithContext(ctx context.Context) *TokenConsumerByTokenGetByTokenParams
WithContext adds the context to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) WithFields ¶
func (o *TokenConsumerByTokenGetByTokenParams) WithFields(fields *string) *TokenConsumerByTokenGetByTokenParams
WithFields adds the fields to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) WithHTTPClient ¶
func (o *TokenConsumerByTokenGetByTokenParams) WithHTTPClient(client *http.Client) *TokenConsumerByTokenGetByTokenParams
WithHTTPClient adds the HTTPClient to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) WithTimeout ¶
func (o *TokenConsumerByTokenGetByTokenParams) WithTimeout(timeout time.Duration) *TokenConsumerByTokenGetByTokenParams
WithTimeout adds the timeout to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) WithToken ¶
func (o *TokenConsumerByTokenGetByTokenParams) WithToken(token string) *TokenConsumerByTokenGetByTokenParams
WithToken adds the token to the token consumer by token get by token params
func (*TokenConsumerByTokenGetByTokenParams) WriteToRequest ¶
func (o *TokenConsumerByTokenGetByTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TokenConsumerByTokenGetByTokenReader ¶
type TokenConsumerByTokenGetByTokenReader struct {
// contains filtered or unexported fields
}
TokenConsumerByTokenGetByTokenReader is a Reader for the TokenConsumerByTokenGetByToken structure.
func (*TokenConsumerByTokenGetByTokenReader) ReadResponse ¶
func (o *TokenConsumerByTokenGetByTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.