Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateAPIKeys(params *CreateAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAPIKeysOK, error)
- func (a *Client) DeleteAPIKeys(params *DeleteAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAPIKeysOK, error)
- func (a *Client) GetAPIKey(params *GetAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyOK, error)
- func (a *Client) GetAPIKeys(params *GetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeysOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateAPIKeysOK
- func (o *CreateAPIKeysOK) Code() int
- func (o *CreateAPIKeysOK) Error() string
- func (o *CreateAPIKeysOK) GetPayload() *models.ActivityResponse
- func (o *CreateAPIKeysOK) IsClientError() bool
- func (o *CreateAPIKeysOK) IsCode(code int) bool
- func (o *CreateAPIKeysOK) IsRedirect() bool
- func (o *CreateAPIKeysOK) IsServerError() bool
- func (o *CreateAPIKeysOK) IsSuccess() bool
- func (o *CreateAPIKeysOK) String() string
- type CreateAPIKeysParams
- func (o *CreateAPIKeysParams) SetBody(body *models.CreateAPIKeysRequest)
- func (o *CreateAPIKeysParams) SetContext(ctx context.Context)
- func (o *CreateAPIKeysParams) SetDefaults()
- func (o *CreateAPIKeysParams) SetHTTPClient(client *http.Client)
- func (o *CreateAPIKeysParams) SetTimeout(timeout time.Duration)
- func (o *CreateAPIKeysParams) WithBody(body *models.CreateAPIKeysRequest) *CreateAPIKeysParams
- func (o *CreateAPIKeysParams) WithContext(ctx context.Context) *CreateAPIKeysParams
- func (o *CreateAPIKeysParams) WithDefaults() *CreateAPIKeysParams
- func (o *CreateAPIKeysParams) WithHTTPClient(client *http.Client) *CreateAPIKeysParams
- func (o *CreateAPIKeysParams) WithTimeout(timeout time.Duration) *CreateAPIKeysParams
- func (o *CreateAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAPIKeysReader
- type DeleteAPIKeysOK
- func (o *DeleteAPIKeysOK) Code() int
- func (o *DeleteAPIKeysOK) Error() string
- func (o *DeleteAPIKeysOK) GetPayload() *models.ActivityResponse
- func (o *DeleteAPIKeysOK) IsClientError() bool
- func (o *DeleteAPIKeysOK) IsCode(code int) bool
- func (o *DeleteAPIKeysOK) IsRedirect() bool
- func (o *DeleteAPIKeysOK) IsServerError() bool
- func (o *DeleteAPIKeysOK) IsSuccess() bool
- func (o *DeleteAPIKeysOK) String() string
- type DeleteAPIKeysParams
- func (o *DeleteAPIKeysParams) SetBody(body *models.DeleteAPIKeysRequest)
- func (o *DeleteAPIKeysParams) SetContext(ctx context.Context)
- func (o *DeleteAPIKeysParams) SetDefaults()
- func (o *DeleteAPIKeysParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIKeysParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIKeysParams) WithBody(body *models.DeleteAPIKeysRequest) *DeleteAPIKeysParams
- func (o *DeleteAPIKeysParams) WithContext(ctx context.Context) *DeleteAPIKeysParams
- func (o *DeleteAPIKeysParams) WithDefaults() *DeleteAPIKeysParams
- func (o *DeleteAPIKeysParams) WithHTTPClient(client *http.Client) *DeleteAPIKeysParams
- func (o *DeleteAPIKeysParams) WithTimeout(timeout time.Duration) *DeleteAPIKeysParams
- func (o *DeleteAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIKeysReader
- type GetAPIKeyOK
- func (o *GetAPIKeyOK) Code() int
- func (o *GetAPIKeyOK) Error() string
- func (o *GetAPIKeyOK) GetPayload() *models.GetAPIKeyResponse
- func (o *GetAPIKeyOK) IsClientError() bool
- func (o *GetAPIKeyOK) IsCode(code int) bool
- func (o *GetAPIKeyOK) IsRedirect() bool
- func (o *GetAPIKeyOK) IsServerError() bool
- func (o *GetAPIKeyOK) IsSuccess() bool
- func (o *GetAPIKeyOK) String() string
- type GetAPIKeyParams
- func (o *GetAPIKeyParams) SetBody(body *models.GetAPIKeyRequest)
- func (o *GetAPIKeyParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyParams) SetDefaults()
- func (o *GetAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyParams) WithBody(body *models.GetAPIKeyRequest) *GetAPIKeyParams
- func (o *GetAPIKeyParams) WithContext(ctx context.Context) *GetAPIKeyParams
- func (o *GetAPIKeyParams) WithDefaults() *GetAPIKeyParams
- func (o *GetAPIKeyParams) WithHTTPClient(client *http.Client) *GetAPIKeyParams
- func (o *GetAPIKeyParams) WithTimeout(timeout time.Duration) *GetAPIKeyParams
- func (o *GetAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyReader
- type GetAPIKeysOK
- func (o *GetAPIKeysOK) Code() int
- func (o *GetAPIKeysOK) Error() string
- func (o *GetAPIKeysOK) GetPayload() *models.GetAPIKeysResponse
- func (o *GetAPIKeysOK) IsClientError() bool
- func (o *GetAPIKeysOK) IsCode(code int) bool
- func (o *GetAPIKeysOK) IsRedirect() bool
- func (o *GetAPIKeysOK) IsServerError() bool
- func (o *GetAPIKeysOK) IsSuccess() bool
- func (o *GetAPIKeysOK) String() string
- type GetAPIKeysParams
- func (o *GetAPIKeysParams) SetBody(body *models.GetAPIKeysRequest)
- func (o *GetAPIKeysParams) SetContext(ctx context.Context)
- func (o *GetAPIKeysParams) SetDefaults()
- func (o *GetAPIKeysParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeysParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeysParams) WithBody(body *models.GetAPIKeysRequest) *GetAPIKeysParams
- func (o *GetAPIKeysParams) WithContext(ctx context.Context) *GetAPIKeysParams
- func (o *GetAPIKeysParams) WithDefaults() *GetAPIKeysParams
- func (o *GetAPIKeysParams) WithHTTPClient(client *http.Client) *GetAPIKeysParams
- func (o *GetAPIKeysParams) WithTimeout(timeout time.Duration) *GetAPIKeysParams
- func (o *GetAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeysReader
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 api keys API
func (*Client) CreateAPIKeys ¶
func (a *Client) CreateAPIKeys(params *CreateAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeysOK, error)
CreateAPIKeys creates API keys
Add api keys to an existing User
func (*Client) DeleteAPIKeys ¶
func (a *Client) DeleteAPIKeys(params *DeleteAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeysOK, error)
DeleteAPIKeys deletes API keys
Remove api keys from a User
func (*Client) GetAPIKey ¶
func (a *Client) GetAPIKey(params *GetAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyOK, error)
GetAPIKey gets API key
Get details about an API key
func (*Client) GetAPIKeys ¶
func (a *Client) GetAPIKeys(params *GetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeysOK, error)
GetAPIKeys gets API key
Get details about API keys for a user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAPIKeys(params *CreateAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeysOK, error) DeleteAPIKeys(params *DeleteAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeysOK, error) GetAPIKey(params *GetAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyOK, error) GetAPIKeys(params *GetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeysOK, 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 api keys API client.
type CreateAPIKeysOK ¶
type CreateAPIKeysOK struct {
Payload *models.ActivityResponse
}
CreateAPIKeysOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateAPIKeysOK ¶
func NewCreateAPIKeysOK() *CreateAPIKeysOK
NewCreateAPIKeysOK creates a CreateAPIKeysOK with default headers values
func (*CreateAPIKeysOK) Code ¶
func (o *CreateAPIKeysOK) Code() int
Code gets the status code for the create Api keys o k response
func (*CreateAPIKeysOK) Error ¶
func (o *CreateAPIKeysOK) Error() string
func (*CreateAPIKeysOK) GetPayload ¶
func (o *CreateAPIKeysOK) GetPayload() *models.ActivityResponse
func (*CreateAPIKeysOK) IsClientError ¶
func (o *CreateAPIKeysOK) IsClientError() bool
IsClientError returns true when this create Api keys o k response has a 4xx status code
func (*CreateAPIKeysOK) IsCode ¶
func (o *CreateAPIKeysOK) IsCode(code int) bool
IsCode returns true when this create Api keys o k response a status code equal to that given
func (*CreateAPIKeysOK) IsRedirect ¶
func (o *CreateAPIKeysOK) IsRedirect() bool
IsRedirect returns true when this create Api keys o k response has a 3xx status code
func (*CreateAPIKeysOK) IsServerError ¶
func (o *CreateAPIKeysOK) IsServerError() bool
IsServerError returns true when this create Api keys o k response has a 5xx status code
func (*CreateAPIKeysOK) IsSuccess ¶
func (o *CreateAPIKeysOK) IsSuccess() bool
IsSuccess returns true when this create Api keys o k response has a 2xx status code
func (*CreateAPIKeysOK) String ¶
func (o *CreateAPIKeysOK) String() string
type CreateAPIKeysParams ¶
type CreateAPIKeysParams struct { // Body. Body *models.CreateAPIKeysRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAPIKeysParams contains all the parameters to send to the API endpoint
for the create Api keys operation. Typically these are written to a http.Request.
func NewCreateAPIKeysParams ¶
func NewCreateAPIKeysParams() *CreateAPIKeysParams
NewCreateAPIKeysParams creates a new CreateAPIKeysParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateAPIKeysParamsWithContext ¶
func NewCreateAPIKeysParamsWithContext(ctx context.Context) *CreateAPIKeysParams
NewCreateAPIKeysParamsWithContext creates a new CreateAPIKeysParams object with the ability to set a context for a request.
func NewCreateAPIKeysParamsWithHTTPClient ¶
func NewCreateAPIKeysParamsWithHTTPClient(client *http.Client) *CreateAPIKeysParams
NewCreateAPIKeysParamsWithHTTPClient creates a new CreateAPIKeysParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAPIKeysParamsWithTimeout ¶
func NewCreateAPIKeysParamsWithTimeout(timeout time.Duration) *CreateAPIKeysParams
NewCreateAPIKeysParamsWithTimeout creates a new CreateAPIKeysParams object with the ability to set a timeout on a request.
func (*CreateAPIKeysParams) SetBody ¶
func (o *CreateAPIKeysParams) SetBody(body *models.CreateAPIKeysRequest)
SetBody adds the body to the create Api keys params
func (*CreateAPIKeysParams) SetContext ¶
func (o *CreateAPIKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the create Api keys params
func (*CreateAPIKeysParams) SetDefaults ¶
func (o *CreateAPIKeysParams) SetDefaults()
SetDefaults hydrates default values in the create Api keys params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAPIKeysParams) SetHTTPClient ¶
func (o *CreateAPIKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Api keys params
func (*CreateAPIKeysParams) SetTimeout ¶
func (o *CreateAPIKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Api keys params
func (*CreateAPIKeysParams) WithBody ¶
func (o *CreateAPIKeysParams) WithBody(body *models.CreateAPIKeysRequest) *CreateAPIKeysParams
WithBody adds the body to the create Api keys params
func (*CreateAPIKeysParams) WithContext ¶
func (o *CreateAPIKeysParams) WithContext(ctx context.Context) *CreateAPIKeysParams
WithContext adds the context to the create Api keys params
func (*CreateAPIKeysParams) WithDefaults ¶
func (o *CreateAPIKeysParams) WithDefaults() *CreateAPIKeysParams
WithDefaults hydrates default values in the create Api keys params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAPIKeysParams) WithHTTPClient ¶
func (o *CreateAPIKeysParams) WithHTTPClient(client *http.Client) *CreateAPIKeysParams
WithHTTPClient adds the HTTPClient to the create Api keys params
func (*CreateAPIKeysParams) WithTimeout ¶
func (o *CreateAPIKeysParams) WithTimeout(timeout time.Duration) *CreateAPIKeysParams
WithTimeout adds the timeout to the create Api keys params
func (*CreateAPIKeysParams) WriteToRequest ¶
func (o *CreateAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAPIKeysReader ¶
type CreateAPIKeysReader struct {
// contains filtered or unexported fields
}
CreateAPIKeysReader is a Reader for the CreateAPIKeys structure.
func (*CreateAPIKeysReader) ReadResponse ¶
func (o *CreateAPIKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAPIKeysOK ¶
type DeleteAPIKeysOK struct {
Payload *models.ActivityResponse
}
DeleteAPIKeysOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteAPIKeysOK ¶
func NewDeleteAPIKeysOK() *DeleteAPIKeysOK
NewDeleteAPIKeysOK creates a DeleteAPIKeysOK with default headers values
func (*DeleteAPIKeysOK) Code ¶
func (o *DeleteAPIKeysOK) Code() int
Code gets the status code for the delete Api keys o k response
func (*DeleteAPIKeysOK) Error ¶
func (o *DeleteAPIKeysOK) Error() string
func (*DeleteAPIKeysOK) GetPayload ¶
func (o *DeleteAPIKeysOK) GetPayload() *models.ActivityResponse
func (*DeleteAPIKeysOK) IsClientError ¶
func (o *DeleteAPIKeysOK) IsClientError() bool
IsClientError returns true when this delete Api keys o k response has a 4xx status code
func (*DeleteAPIKeysOK) IsCode ¶
func (o *DeleteAPIKeysOK) IsCode(code int) bool
IsCode returns true when this delete Api keys o k response a status code equal to that given
func (*DeleteAPIKeysOK) IsRedirect ¶
func (o *DeleteAPIKeysOK) IsRedirect() bool
IsRedirect returns true when this delete Api keys o k response has a 3xx status code
func (*DeleteAPIKeysOK) IsServerError ¶
func (o *DeleteAPIKeysOK) IsServerError() bool
IsServerError returns true when this delete Api keys o k response has a 5xx status code
func (*DeleteAPIKeysOK) IsSuccess ¶
func (o *DeleteAPIKeysOK) IsSuccess() bool
IsSuccess returns true when this delete Api keys o k response has a 2xx status code
func (*DeleteAPIKeysOK) String ¶
func (o *DeleteAPIKeysOK) String() string
type DeleteAPIKeysParams ¶
type DeleteAPIKeysParams struct { // Body. Body *models.DeleteAPIKeysRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPIKeysParams contains all the parameters to send to the API endpoint
for the delete Api keys operation. Typically these are written to a http.Request.
func NewDeleteAPIKeysParams ¶
func NewDeleteAPIKeysParams() *DeleteAPIKeysParams
NewDeleteAPIKeysParams creates a new DeleteAPIKeysParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPIKeysParamsWithContext ¶
func NewDeleteAPIKeysParamsWithContext(ctx context.Context) *DeleteAPIKeysParams
NewDeleteAPIKeysParamsWithContext creates a new DeleteAPIKeysParams object with the ability to set a context for a request.
func NewDeleteAPIKeysParamsWithHTTPClient ¶
func NewDeleteAPIKeysParamsWithHTTPClient(client *http.Client) *DeleteAPIKeysParams
NewDeleteAPIKeysParamsWithHTTPClient creates a new DeleteAPIKeysParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIKeysParamsWithTimeout ¶
func NewDeleteAPIKeysParamsWithTimeout(timeout time.Duration) *DeleteAPIKeysParams
NewDeleteAPIKeysParamsWithTimeout creates a new DeleteAPIKeysParams object with the ability to set a timeout on a request.
func (*DeleteAPIKeysParams) SetBody ¶
func (o *DeleteAPIKeysParams) SetBody(body *models.DeleteAPIKeysRequest)
SetBody adds the body to the delete Api keys params
func (*DeleteAPIKeysParams) SetContext ¶
func (o *DeleteAPIKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Api keys params
func (*DeleteAPIKeysParams) SetDefaults ¶
func (o *DeleteAPIKeysParams) SetDefaults()
SetDefaults hydrates default values in the delete Api keys params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeysParams) SetHTTPClient ¶
func (o *DeleteAPIKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Api keys params
func (*DeleteAPIKeysParams) SetTimeout ¶
func (o *DeleteAPIKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Api keys params
func (*DeleteAPIKeysParams) WithBody ¶
func (o *DeleteAPIKeysParams) WithBody(body *models.DeleteAPIKeysRequest) *DeleteAPIKeysParams
WithBody adds the body to the delete Api keys params
func (*DeleteAPIKeysParams) WithContext ¶
func (o *DeleteAPIKeysParams) WithContext(ctx context.Context) *DeleteAPIKeysParams
WithContext adds the context to the delete Api keys params
func (*DeleteAPIKeysParams) WithDefaults ¶
func (o *DeleteAPIKeysParams) WithDefaults() *DeleteAPIKeysParams
WithDefaults hydrates default values in the delete Api keys params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeysParams) WithHTTPClient ¶
func (o *DeleteAPIKeysParams) WithHTTPClient(client *http.Client) *DeleteAPIKeysParams
WithHTTPClient adds the HTTPClient to the delete Api keys params
func (*DeleteAPIKeysParams) WithTimeout ¶
func (o *DeleteAPIKeysParams) WithTimeout(timeout time.Duration) *DeleteAPIKeysParams
WithTimeout adds the timeout to the delete Api keys params
func (*DeleteAPIKeysParams) WriteToRequest ¶
func (o *DeleteAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIKeysReader ¶
type DeleteAPIKeysReader struct {
// contains filtered or unexported fields
}
DeleteAPIKeysReader is a Reader for the DeleteAPIKeys structure.
func (*DeleteAPIKeysReader) ReadResponse ¶
func (o *DeleteAPIKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyOK ¶
type GetAPIKeyOK struct {
Payload *models.GetAPIKeyResponse
}
GetAPIKeyOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAPIKeyOK ¶
func NewGetAPIKeyOK() *GetAPIKeyOK
NewGetAPIKeyOK creates a GetAPIKeyOK with default headers values
func (*GetAPIKeyOK) Code ¶
func (o *GetAPIKeyOK) Code() int
Code gets the status code for the get Api key o k response
func (*GetAPIKeyOK) Error ¶
func (o *GetAPIKeyOK) Error() string
func (*GetAPIKeyOK) GetPayload ¶
func (o *GetAPIKeyOK) GetPayload() *models.GetAPIKeyResponse
func (*GetAPIKeyOK) IsClientError ¶
func (o *GetAPIKeyOK) IsClientError() bool
IsClientError returns true when this get Api key o k response has a 4xx status code
func (*GetAPIKeyOK) IsCode ¶
func (o *GetAPIKeyOK) IsCode(code int) bool
IsCode returns true when this get Api key o k response a status code equal to that given
func (*GetAPIKeyOK) IsRedirect ¶
func (o *GetAPIKeyOK) IsRedirect() bool
IsRedirect returns true when this get Api key o k response has a 3xx status code
func (*GetAPIKeyOK) IsServerError ¶
func (o *GetAPIKeyOK) IsServerError() bool
IsServerError returns true when this get Api key o k response has a 5xx status code
func (*GetAPIKeyOK) IsSuccess ¶
func (o *GetAPIKeyOK) IsSuccess() bool
IsSuccess returns true when this get Api key o k response has a 2xx status code
func (*GetAPIKeyOK) String ¶
func (o *GetAPIKeyOK) String() string
type GetAPIKeyParams ¶
type GetAPIKeyParams struct { // Body. Body *models.GetAPIKeyRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIKeyParams contains all the parameters to send to the API endpoint
for the get Api key operation. Typically these are written to a http.Request.
func NewGetAPIKeyParams ¶
func NewGetAPIKeyParams() *GetAPIKeyParams
NewGetAPIKeyParams creates a new GetAPIKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeyParamsWithContext ¶
func NewGetAPIKeyParamsWithContext(ctx context.Context) *GetAPIKeyParams
NewGetAPIKeyParamsWithContext creates a new GetAPIKeyParams object with the ability to set a context for a request.
func NewGetAPIKeyParamsWithHTTPClient ¶
func NewGetAPIKeyParamsWithHTTPClient(client *http.Client) *GetAPIKeyParams
NewGetAPIKeyParamsWithHTTPClient creates a new GetAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyParamsWithTimeout ¶
func NewGetAPIKeyParamsWithTimeout(timeout time.Duration) *GetAPIKeyParams
NewGetAPIKeyParamsWithTimeout creates a new GetAPIKeyParams object with the ability to set a timeout on a request.
func (*GetAPIKeyParams) SetBody ¶
func (o *GetAPIKeyParams) SetBody(body *models.GetAPIKeyRequest)
SetBody adds the body to the get Api key params
func (*GetAPIKeyParams) SetContext ¶
func (o *GetAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get Api key params
func (*GetAPIKeyParams) SetDefaults ¶
func (o *GetAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the get Api key params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyParams) SetHTTPClient ¶
func (o *GetAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Api key params
func (*GetAPIKeyParams) SetTimeout ¶
func (o *GetAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Api key params
func (*GetAPIKeyParams) WithBody ¶
func (o *GetAPIKeyParams) WithBody(body *models.GetAPIKeyRequest) *GetAPIKeyParams
WithBody adds the body to the get Api key params
func (*GetAPIKeyParams) WithContext ¶
func (o *GetAPIKeyParams) WithContext(ctx context.Context) *GetAPIKeyParams
WithContext adds the context to the get Api key params
func (*GetAPIKeyParams) WithDefaults ¶
func (o *GetAPIKeyParams) WithDefaults() *GetAPIKeyParams
WithDefaults hydrates default values in the get Api key params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyParams) WithHTTPClient ¶
func (o *GetAPIKeyParams) WithHTTPClient(client *http.Client) *GetAPIKeyParams
WithHTTPClient adds the HTTPClient to the get Api key params
func (*GetAPIKeyParams) WithTimeout ¶
func (o *GetAPIKeyParams) WithTimeout(timeout time.Duration) *GetAPIKeyParams
WithTimeout adds the timeout to the get Api key params
func (*GetAPIKeyParams) WriteToRequest ¶
func (o *GetAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyReader ¶
type GetAPIKeyReader struct {
// contains filtered or unexported fields
}
GetAPIKeyReader is a Reader for the GetAPIKey structure.
func (*GetAPIKeyReader) ReadResponse ¶
func (o *GetAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIKeysOK ¶
type GetAPIKeysOK struct {
Payload *models.GetAPIKeysResponse
}
GetAPIKeysOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAPIKeysOK ¶
func NewGetAPIKeysOK() *GetAPIKeysOK
NewGetAPIKeysOK creates a GetAPIKeysOK with default headers values
func (*GetAPIKeysOK) Code ¶
func (o *GetAPIKeysOK) Code() int
Code gets the status code for the get Api keys o k response
func (*GetAPIKeysOK) Error ¶
func (o *GetAPIKeysOK) Error() string
func (*GetAPIKeysOK) GetPayload ¶
func (o *GetAPIKeysOK) GetPayload() *models.GetAPIKeysResponse
func (*GetAPIKeysOK) IsClientError ¶
func (o *GetAPIKeysOK) IsClientError() bool
IsClientError returns true when this get Api keys o k response has a 4xx status code
func (*GetAPIKeysOK) IsCode ¶
func (o *GetAPIKeysOK) IsCode(code int) bool
IsCode returns true when this get Api keys o k response a status code equal to that given
func (*GetAPIKeysOK) IsRedirect ¶
func (o *GetAPIKeysOK) IsRedirect() bool
IsRedirect returns true when this get Api keys o k response has a 3xx status code
func (*GetAPIKeysOK) IsServerError ¶
func (o *GetAPIKeysOK) IsServerError() bool
IsServerError returns true when this get Api keys o k response has a 5xx status code
func (*GetAPIKeysOK) IsSuccess ¶
func (o *GetAPIKeysOK) IsSuccess() bool
IsSuccess returns true when this get Api keys o k response has a 2xx status code
func (*GetAPIKeysOK) String ¶
func (o *GetAPIKeysOK) String() string
type GetAPIKeysParams ¶
type GetAPIKeysParams struct { // Body. Body *models.GetAPIKeysRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIKeysParams contains all the parameters to send to the API endpoint
for the get Api keys operation. Typically these are written to a http.Request.
func NewGetAPIKeysParams ¶
func NewGetAPIKeysParams() *GetAPIKeysParams
NewGetAPIKeysParams creates a new GetAPIKeysParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeysParamsWithContext ¶
func NewGetAPIKeysParamsWithContext(ctx context.Context) *GetAPIKeysParams
NewGetAPIKeysParamsWithContext creates a new GetAPIKeysParams object with the ability to set a context for a request.
func NewGetAPIKeysParamsWithHTTPClient ¶
func NewGetAPIKeysParamsWithHTTPClient(client *http.Client) *GetAPIKeysParams
NewGetAPIKeysParamsWithHTTPClient creates a new GetAPIKeysParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeysParamsWithTimeout ¶
func NewGetAPIKeysParamsWithTimeout(timeout time.Duration) *GetAPIKeysParams
NewGetAPIKeysParamsWithTimeout creates a new GetAPIKeysParams object with the ability to set a timeout on a request.
func (*GetAPIKeysParams) SetBody ¶
func (o *GetAPIKeysParams) SetBody(body *models.GetAPIKeysRequest)
SetBody adds the body to the get Api keys params
func (*GetAPIKeysParams) SetContext ¶
func (o *GetAPIKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the get Api keys params
func (*GetAPIKeysParams) SetDefaults ¶
func (o *GetAPIKeysParams) SetDefaults()
SetDefaults hydrates default values in the get Api keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeysParams) SetHTTPClient ¶
func (o *GetAPIKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Api keys params
func (*GetAPIKeysParams) SetTimeout ¶
func (o *GetAPIKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Api keys params
func (*GetAPIKeysParams) WithBody ¶
func (o *GetAPIKeysParams) WithBody(body *models.GetAPIKeysRequest) *GetAPIKeysParams
WithBody adds the body to the get Api keys params
func (*GetAPIKeysParams) WithContext ¶
func (o *GetAPIKeysParams) WithContext(ctx context.Context) *GetAPIKeysParams
WithContext adds the context to the get Api keys params
func (*GetAPIKeysParams) WithDefaults ¶
func (o *GetAPIKeysParams) WithDefaults() *GetAPIKeysParams
WithDefaults hydrates default values in the get Api keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeysParams) WithHTTPClient ¶
func (o *GetAPIKeysParams) WithHTTPClient(client *http.Client) *GetAPIKeysParams
WithHTTPClient adds the HTTPClient to the get Api keys params
func (*GetAPIKeysParams) WithTimeout ¶
func (o *GetAPIKeysParams) WithTimeout(timeout time.Duration) *GetAPIKeysParams
WithTimeout adds the timeout to the get Api keys params
func (*GetAPIKeysParams) WriteToRequest ¶
func (o *GetAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeysReader ¶
type GetAPIKeysReader struct {
// contains filtered or unexported fields
}
GetAPIKeysReader is a Reader for the GetAPIKeys structure.
func (*GetAPIKeysReader) ReadResponse ¶
func (o *GetAPIKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.