Documentation ¶
Index ¶
- type Client
- type CreateClientOK
- type CreateClientParams
- func (o *CreateClientParams) SetBody(body *models.OpenpitrixCreateClientRequest)
- func (o *CreateClientParams) SetContext(ctx context.Context)
- func (o *CreateClientParams) SetHTTPClient(client *http.Client)
- func (o *CreateClientParams) SetTimeout(timeout time.Duration)
- func (o *CreateClientParams) WithBody(body *models.OpenpitrixCreateClientRequest) *CreateClientParams
- func (o *CreateClientParams) WithContext(ctx context.Context) *CreateClientParams
- func (o *CreateClientParams) WithHTTPClient(client *http.Client) *CreateClientParams
- func (o *CreateClientParams) WithTimeout(timeout time.Duration) *CreateClientParams
- func (o *CreateClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClientReader
- type TokenOK
- type TokenParams
- func (o *TokenParams) SetBody(body *models.OpenpitrixTokenRequest)
- func (o *TokenParams) SetContext(ctx context.Context)
- func (o *TokenParams) SetHTTPClient(client *http.Client)
- func (o *TokenParams) SetTimeout(timeout time.Duration)
- func (o *TokenParams) WithBody(body *models.OpenpitrixTokenRequest) *TokenParams
- func (o *TokenParams) WithContext(ctx context.Context) *TokenParams
- func (o *TokenParams) WithHTTPClient(client *http.Client) *TokenParams
- func (o *TokenParams) WithTimeout(timeout time.Duration) *TokenParams
- func (o *TokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokenReader
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 token manager API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new token manager API client.
func (*Client) CreateClient ¶
func (a *Client) CreateClient(params *CreateClientParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClientOK, error)
CreateClient creates client
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateClientOK ¶
type CreateClientOK struct {
Payload *models.OpenpitrixCreateClientResponse
}
CreateClientOK handles this case with default header values.
A successful response.
func NewCreateClientOK ¶
func NewCreateClientOK() *CreateClientOK
NewCreateClientOK creates a CreateClientOK with default headers values
func (*CreateClientOK) Error ¶
func (o *CreateClientOK) Error() string
type CreateClientParams ¶
type CreateClientParams struct { /*Body*/ Body *models.OpenpitrixCreateClientRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClientParams contains all the parameters to send to the API endpoint for the create client operation typically these are written to a http.Request
func NewCreateClientParams ¶
func NewCreateClientParams() *CreateClientParams
NewCreateClientParams creates a new CreateClientParams object with the default values initialized.
func NewCreateClientParamsWithContext ¶
func NewCreateClientParamsWithContext(ctx context.Context) *CreateClientParams
NewCreateClientParamsWithContext creates a new CreateClientParams object with the default values initialized, and the ability to set a context for a request
func NewCreateClientParamsWithHTTPClient ¶
func NewCreateClientParamsWithHTTPClient(client *http.Client) *CreateClientParams
NewCreateClientParamsWithHTTPClient creates a new CreateClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClientParamsWithTimeout ¶
func NewCreateClientParamsWithTimeout(timeout time.Duration) *CreateClientParams
NewCreateClientParamsWithTimeout creates a new CreateClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClientParams) SetBody ¶
func (o *CreateClientParams) SetBody(body *models.OpenpitrixCreateClientRequest)
SetBody adds the body to the create client params
func (*CreateClientParams) SetContext ¶
func (o *CreateClientParams) SetContext(ctx context.Context)
SetContext adds the context to the create client params
func (*CreateClientParams) SetHTTPClient ¶
func (o *CreateClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create client params
func (*CreateClientParams) SetTimeout ¶
func (o *CreateClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create client params
func (*CreateClientParams) WithBody ¶
func (o *CreateClientParams) WithBody(body *models.OpenpitrixCreateClientRequest) *CreateClientParams
WithBody adds the body to the create client params
func (*CreateClientParams) WithContext ¶
func (o *CreateClientParams) WithContext(ctx context.Context) *CreateClientParams
WithContext adds the context to the create client params
func (*CreateClientParams) WithHTTPClient ¶
func (o *CreateClientParams) WithHTTPClient(client *http.Client) *CreateClientParams
WithHTTPClient adds the HTTPClient to the create client params
func (*CreateClientParams) WithTimeout ¶
func (o *CreateClientParams) WithTimeout(timeout time.Duration) *CreateClientParams
WithTimeout adds the timeout to the create client params
func (*CreateClientParams) WriteToRequest ¶
func (o *CreateClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClientReader ¶
type CreateClientReader struct {
// contains filtered or unexported fields
}
CreateClientReader is a Reader for the CreateClient structure.
func (*CreateClientReader) ReadResponse ¶
func (o *CreateClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TokenOK ¶
type TokenOK struct {
Payload *models.OpenpitrixTokenResponse
}
TokenOK handles this case with default header values.
A successful response.
func NewTokenOK ¶
func NewTokenOK() *TokenOK
NewTokenOK creates a TokenOK with default headers values
type TokenParams ¶
type TokenParams struct { /*Body*/ Body *models.OpenpitrixTokenRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TokenParams contains all the parameters to send to the API endpoint for the token operation typically these are written to a http.Request
func NewTokenParams ¶
func NewTokenParams() *TokenParams
NewTokenParams creates a new TokenParams object with the default values initialized.
func NewTokenParamsWithContext ¶
func NewTokenParamsWithContext(ctx context.Context) *TokenParams
NewTokenParamsWithContext creates a new TokenParams object with the default values initialized, and the ability to set a context for a request
func NewTokenParamsWithHTTPClient ¶
func NewTokenParamsWithHTTPClient(client *http.Client) *TokenParams
NewTokenParamsWithHTTPClient creates a new TokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTokenParamsWithTimeout ¶
func NewTokenParamsWithTimeout(timeout time.Duration) *TokenParams
NewTokenParamsWithTimeout creates a new TokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*TokenParams) SetBody ¶
func (o *TokenParams) SetBody(body *models.OpenpitrixTokenRequest)
SetBody adds the body to the token params
func (*TokenParams) SetContext ¶
func (o *TokenParams) SetContext(ctx context.Context)
SetContext adds the context to the token params
func (*TokenParams) SetHTTPClient ¶
func (o *TokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the token params
func (*TokenParams) SetTimeout ¶
func (o *TokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the token params
func (*TokenParams) WithBody ¶
func (o *TokenParams) WithBody(body *models.OpenpitrixTokenRequest) *TokenParams
WithBody adds the body to the token params
func (*TokenParams) WithContext ¶
func (o *TokenParams) WithContext(ctx context.Context) *TokenParams
WithContext adds the context to the token params
func (*TokenParams) WithHTTPClient ¶
func (o *TokenParams) WithHTTPClient(client *http.Client) *TokenParams
WithHTTPClient adds the HTTPClient to the token params
func (*TokenParams) WithTimeout ¶
func (o *TokenParams) WithTimeout(timeout time.Duration) *TokenParams
WithTimeout adds the timeout to the token params
func (*TokenParams) WriteToRequest ¶
func (o *TokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TokenReader ¶
type TokenReader struct {
// contains filtered or unexported fields
}
TokenReader is a Reader for the Token structure.
func (*TokenReader) ReadResponse ¶
func (o *TokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.