consumer

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 10 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 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 (*TokenConsumerByTokenGetByTokenOK) GetPayload

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

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

WithContext adds the context to the token consumer by token get by token params

func (*TokenConsumerByTokenGetByTokenParams) WithFields

WithFields adds the fields to the token consumer by token get by token params

func (*TokenConsumerByTokenGetByTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the token consumer by token get by token params

func (*TokenConsumerByTokenGetByTokenParams) WithTimeout

WithTimeout adds the timeout to the token consumer by token get by token params

func (*TokenConsumerByTokenGetByTokenParams) WithToken

WithToken adds the token to the token consumer by token get by token params

func (*TokenConsumerByTokenGetByTokenParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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