Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAccessApikeyID(params *DeleteAccessApikeyIDParams, opts ...ClientOption) (*DeleteAccessApikeyIDOK, error)
- func (a *Client) GetAccessApikey(params *GetAccessApikeyParams, opts ...ClientOption) (*GetAccessApikeyOK, error)
- func (a *Client) GetAccessApikeyName(params *GetAccessApikeyNameParams, opts ...ClientOption) (*GetAccessApikeyNameOK, error)
- func (a *Client) PostAccessApikeyName(params *PostAccessApikeyNameParams, opts ...ClientOption) (*PostAccessApikeyNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAccessApikeyIDInternalServerError
- func (o *DeleteAccessApikeyIDInternalServerError) Code() int
- func (o *DeleteAccessApikeyIDInternalServerError) Error() string
- func (o *DeleteAccessApikeyIDInternalServerError) GetPayload() string
- func (o *DeleteAccessApikeyIDInternalServerError) IsClientError() bool
- func (o *DeleteAccessApikeyIDInternalServerError) IsCode(code int) bool
- func (o *DeleteAccessApikeyIDInternalServerError) IsRedirect() bool
- func (o *DeleteAccessApikeyIDInternalServerError) IsServerError() bool
- func (o *DeleteAccessApikeyIDInternalServerError) IsSuccess() bool
- func (o *DeleteAccessApikeyIDInternalServerError) String() string
- type DeleteAccessApikeyIDNotFound
- func (o *DeleteAccessApikeyIDNotFound) Code() int
- func (o *DeleteAccessApikeyIDNotFound) Error() string
- func (o *DeleteAccessApikeyIDNotFound) GetPayload() string
- func (o *DeleteAccessApikeyIDNotFound) IsClientError() bool
- func (o *DeleteAccessApikeyIDNotFound) IsCode(code int) bool
- func (o *DeleteAccessApikeyIDNotFound) IsRedirect() bool
- func (o *DeleteAccessApikeyIDNotFound) IsServerError() bool
- func (o *DeleteAccessApikeyIDNotFound) IsSuccess() bool
- func (o *DeleteAccessApikeyIDNotFound) String() string
- type DeleteAccessApikeyIDOK
- func (o *DeleteAccessApikeyIDOK) Code() int
- func (o *DeleteAccessApikeyIDOK) Error() string
- func (o *DeleteAccessApikeyIDOK) GetPayload() string
- func (o *DeleteAccessApikeyIDOK) IsClientError() bool
- func (o *DeleteAccessApikeyIDOK) IsCode(code int) bool
- func (o *DeleteAccessApikeyIDOK) IsRedirect() bool
- func (o *DeleteAccessApikeyIDOK) IsServerError() bool
- func (o *DeleteAccessApikeyIDOK) IsSuccess() bool
- func (o *DeleteAccessApikeyIDOK) String() string
- type DeleteAccessApikeyIDParams
- func NewDeleteAccessApikeyIDParams() *DeleteAccessApikeyIDParams
- func NewDeleteAccessApikeyIDParamsWithContext(ctx context.Context) *DeleteAccessApikeyIDParams
- func NewDeleteAccessApikeyIDParamsWithHTTPClient(client *http.Client) *DeleteAccessApikeyIDParams
- func NewDeleteAccessApikeyIDParamsWithTimeout(timeout time.Duration) *DeleteAccessApikeyIDParams
- func (o *DeleteAccessApikeyIDParams) SetContext(ctx context.Context)
- func (o *DeleteAccessApikeyIDParams) SetDefaults()
- func (o *DeleteAccessApikeyIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccessApikeyIDParams) SetID(id string)
- func (o *DeleteAccessApikeyIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAccessApikeyIDParams) WithContext(ctx context.Context) *DeleteAccessApikeyIDParams
- func (o *DeleteAccessApikeyIDParams) WithDefaults() *DeleteAccessApikeyIDParams
- func (o *DeleteAccessApikeyIDParams) WithHTTPClient(client *http.Client) *DeleteAccessApikeyIDParams
- func (o *DeleteAccessApikeyIDParams) WithID(id string) *DeleteAccessApikeyIDParams
- func (o *DeleteAccessApikeyIDParams) WithTimeout(timeout time.Duration) *DeleteAccessApikeyIDParams
- func (o *DeleteAccessApikeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccessApikeyIDReader
- type DeleteAccessApikeyIDUnauthorized
- func (o *DeleteAccessApikeyIDUnauthorized) Code() int
- func (o *DeleteAccessApikeyIDUnauthorized) Error() string
- func (o *DeleteAccessApikeyIDUnauthorized) GetPayload() string
- func (o *DeleteAccessApikeyIDUnauthorized) IsClientError() bool
- func (o *DeleteAccessApikeyIDUnauthorized) IsCode(code int) bool
- func (o *DeleteAccessApikeyIDUnauthorized) IsRedirect() bool
- func (o *DeleteAccessApikeyIDUnauthorized) IsServerError() bool
- func (o *DeleteAccessApikeyIDUnauthorized) IsSuccess() bool
- func (o *DeleteAccessApikeyIDUnauthorized) String() string
- type GetAccessApikeyInternalServerError
- func (o *GetAccessApikeyInternalServerError) Code() int
- func (o *GetAccessApikeyInternalServerError) Error() string
- func (o *GetAccessApikeyInternalServerError) GetPayload() string
- func (o *GetAccessApikeyInternalServerError) IsClientError() bool
- func (o *GetAccessApikeyInternalServerError) IsCode(code int) bool
- func (o *GetAccessApikeyInternalServerError) IsRedirect() bool
- func (o *GetAccessApikeyInternalServerError) IsServerError() bool
- func (o *GetAccessApikeyInternalServerError) IsSuccess() bool
- func (o *GetAccessApikeyInternalServerError) String() string
- type GetAccessApikeyNameInternalServerError
- func (o *GetAccessApikeyNameInternalServerError) Code() int
- func (o *GetAccessApikeyNameInternalServerError) Error() string
- func (o *GetAccessApikeyNameInternalServerError) GetPayload() string
- func (o *GetAccessApikeyNameInternalServerError) IsClientError() bool
- func (o *GetAccessApikeyNameInternalServerError) IsCode(code int) bool
- func (o *GetAccessApikeyNameInternalServerError) IsRedirect() bool
- func (o *GetAccessApikeyNameInternalServerError) IsServerError() bool
- func (o *GetAccessApikeyNameInternalServerError) IsSuccess() bool
- func (o *GetAccessApikeyNameInternalServerError) String() string
- type GetAccessApikeyNameNotFound
- func (o *GetAccessApikeyNameNotFound) Code() int
- func (o *GetAccessApikeyNameNotFound) Error() string
- func (o *GetAccessApikeyNameNotFound) GetPayload() string
- func (o *GetAccessApikeyNameNotFound) IsClientError() bool
- func (o *GetAccessApikeyNameNotFound) IsCode(code int) bool
- func (o *GetAccessApikeyNameNotFound) IsRedirect() bool
- func (o *GetAccessApikeyNameNotFound) IsServerError() bool
- func (o *GetAccessApikeyNameNotFound) IsSuccess() bool
- func (o *GetAccessApikeyNameNotFound) String() string
- type GetAccessApikeyNameOK
- func (o *GetAccessApikeyNameOK) Code() int
- func (o *GetAccessApikeyNameOK) Error() string
- func (o *GetAccessApikeyNameOK) GetPayload() *models.ModelsGetAPIKeyResponse
- func (o *GetAccessApikeyNameOK) IsClientError() bool
- func (o *GetAccessApikeyNameOK) IsCode(code int) bool
- func (o *GetAccessApikeyNameOK) IsRedirect() bool
- func (o *GetAccessApikeyNameOK) IsServerError() bool
- func (o *GetAccessApikeyNameOK) IsSuccess() bool
- func (o *GetAccessApikeyNameOK) String() string
- type GetAccessApikeyNameParams
- func NewGetAccessApikeyNameParams() *GetAccessApikeyNameParams
- func NewGetAccessApikeyNameParamsWithContext(ctx context.Context) *GetAccessApikeyNameParams
- func NewGetAccessApikeyNameParamsWithHTTPClient(client *http.Client) *GetAccessApikeyNameParams
- func NewGetAccessApikeyNameParamsWithTimeout(timeout time.Duration) *GetAccessApikeyNameParams
- func (o *GetAccessApikeyNameParams) SetContext(ctx context.Context)
- func (o *GetAccessApikeyNameParams) SetDefaults()
- func (o *GetAccessApikeyNameParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessApikeyNameParams) SetName(name string)
- func (o *GetAccessApikeyNameParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessApikeyNameParams) WithContext(ctx context.Context) *GetAccessApikeyNameParams
- func (o *GetAccessApikeyNameParams) WithDefaults() *GetAccessApikeyNameParams
- func (o *GetAccessApikeyNameParams) WithHTTPClient(client *http.Client) *GetAccessApikeyNameParams
- func (o *GetAccessApikeyNameParams) WithName(name string) *GetAccessApikeyNameParams
- func (o *GetAccessApikeyNameParams) WithTimeout(timeout time.Duration) *GetAccessApikeyNameParams
- func (o *GetAccessApikeyNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessApikeyNameReader
- type GetAccessApikeyNameUnauthorized
- func (o *GetAccessApikeyNameUnauthorized) Code() int
- func (o *GetAccessApikeyNameUnauthorized) Error() string
- func (o *GetAccessApikeyNameUnauthorized) GetPayload() string
- func (o *GetAccessApikeyNameUnauthorized) IsClientError() bool
- func (o *GetAccessApikeyNameUnauthorized) IsCode(code int) bool
- func (o *GetAccessApikeyNameUnauthorized) IsRedirect() bool
- func (o *GetAccessApikeyNameUnauthorized) IsServerError() bool
- func (o *GetAccessApikeyNameUnauthorized) IsSuccess() bool
- func (o *GetAccessApikeyNameUnauthorized) String() string
- type GetAccessApikeyOK
- func (o *GetAccessApikeyOK) Code() int
- func (o *GetAccessApikeyOK) Error() string
- func (o *GetAccessApikeyOK) GetPayload() []*models.ModelsGetAPIKeyResponse
- func (o *GetAccessApikeyOK) IsClientError() bool
- func (o *GetAccessApikeyOK) IsCode(code int) bool
- func (o *GetAccessApikeyOK) IsRedirect() bool
- func (o *GetAccessApikeyOK) IsServerError() bool
- func (o *GetAccessApikeyOK) IsSuccess() bool
- func (o *GetAccessApikeyOK) String() string
- type GetAccessApikeyParams
- func NewGetAccessApikeyParams() *GetAccessApikeyParams
- func NewGetAccessApikeyParamsWithContext(ctx context.Context) *GetAccessApikeyParams
- func NewGetAccessApikeyParamsWithHTTPClient(client *http.Client) *GetAccessApikeyParams
- func NewGetAccessApikeyParamsWithTimeout(timeout time.Duration) *GetAccessApikeyParams
- func (o *GetAccessApikeyParams) SetContext(ctx context.Context)
- func (o *GetAccessApikeyParams) SetDefaults()
- func (o *GetAccessApikeyParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessApikeyParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessApikeyParams) WithContext(ctx context.Context) *GetAccessApikeyParams
- func (o *GetAccessApikeyParams) WithDefaults() *GetAccessApikeyParams
- func (o *GetAccessApikeyParams) WithHTTPClient(client *http.Client) *GetAccessApikeyParams
- func (o *GetAccessApikeyParams) WithTimeout(timeout time.Duration) *GetAccessApikeyParams
- func (o *GetAccessApikeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessApikeyReader
- type GetAccessApikeyUnauthorized
- func (o *GetAccessApikeyUnauthorized) Code() int
- func (o *GetAccessApikeyUnauthorized) Error() string
- func (o *GetAccessApikeyUnauthorized) GetPayload() string
- func (o *GetAccessApikeyUnauthorized) IsClientError() bool
- func (o *GetAccessApikeyUnauthorized) IsCode(code int) bool
- func (o *GetAccessApikeyUnauthorized) IsRedirect() bool
- func (o *GetAccessApikeyUnauthorized) IsServerError() bool
- func (o *GetAccessApikeyUnauthorized) IsSuccess() bool
- func (o *GetAccessApikeyUnauthorized) String() string
- type PostAccessApikeyNameBadRequest
- func (o *PostAccessApikeyNameBadRequest) Code() int
- func (o *PostAccessApikeyNameBadRequest) Error() string
- func (o *PostAccessApikeyNameBadRequest) GetPayload() string
- func (o *PostAccessApikeyNameBadRequest) IsClientError() bool
- func (o *PostAccessApikeyNameBadRequest) IsCode(code int) bool
- func (o *PostAccessApikeyNameBadRequest) IsRedirect() bool
- func (o *PostAccessApikeyNameBadRequest) IsServerError() bool
- func (o *PostAccessApikeyNameBadRequest) IsSuccess() bool
- func (o *PostAccessApikeyNameBadRequest) String() string
- type PostAccessApikeyNameInternalServerError
- func (o *PostAccessApikeyNameInternalServerError) Code() int
- func (o *PostAccessApikeyNameInternalServerError) Error() string
- func (o *PostAccessApikeyNameInternalServerError) GetPayload() string
- func (o *PostAccessApikeyNameInternalServerError) IsClientError() bool
- func (o *PostAccessApikeyNameInternalServerError) IsCode(code int) bool
- func (o *PostAccessApikeyNameInternalServerError) IsRedirect() bool
- func (o *PostAccessApikeyNameInternalServerError) IsServerError() bool
- func (o *PostAccessApikeyNameInternalServerError) IsSuccess() bool
- func (o *PostAccessApikeyNameInternalServerError) String() string
- type PostAccessApikeyNameOK
- func (o *PostAccessApikeyNameOK) Code() int
- func (o *PostAccessApikeyNameOK) Error() string
- func (o *PostAccessApikeyNameOK) GetPayload() *models.ModelsCreateAPIKeyResponse
- func (o *PostAccessApikeyNameOK) IsClientError() bool
- func (o *PostAccessApikeyNameOK) IsCode(code int) bool
- func (o *PostAccessApikeyNameOK) IsRedirect() bool
- func (o *PostAccessApikeyNameOK) IsServerError() bool
- func (o *PostAccessApikeyNameOK) IsSuccess() bool
- func (o *PostAccessApikeyNameOK) String() string
- type PostAccessApikeyNameParams
- func NewPostAccessApikeyNameParams() *PostAccessApikeyNameParams
- func NewPostAccessApikeyNameParamsWithContext(ctx context.Context) *PostAccessApikeyNameParams
- func NewPostAccessApikeyNameParamsWithHTTPClient(client *http.Client) *PostAccessApikeyNameParams
- func NewPostAccessApikeyNameParamsWithTimeout(timeout time.Duration) *PostAccessApikeyNameParams
- func (o *PostAccessApikeyNameParams) SetContext(ctx context.Context)
- func (o *PostAccessApikeyNameParams) SetDefaults()
- func (o *PostAccessApikeyNameParams) SetHTTPClient(client *http.Client)
- func (o *PostAccessApikeyNameParams) SetName(name string)
- func (o *PostAccessApikeyNameParams) SetTimeout(timeout time.Duration)
- func (o *PostAccessApikeyNameParams) WithContext(ctx context.Context) *PostAccessApikeyNameParams
- func (o *PostAccessApikeyNameParams) WithDefaults() *PostAccessApikeyNameParams
- func (o *PostAccessApikeyNameParams) WithHTTPClient(client *http.Client) *PostAccessApikeyNameParams
- func (o *PostAccessApikeyNameParams) WithName(name string) *PostAccessApikeyNameParams
- func (o *PostAccessApikeyNameParams) WithTimeout(timeout time.Duration) *PostAccessApikeyNameParams
- func (o *PostAccessApikeyNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccessApikeyNameReader
- type PostAccessApikeyNameUnauthorized
- func (o *PostAccessApikeyNameUnauthorized) Code() int
- func (o *PostAccessApikeyNameUnauthorized) Error() string
- func (o *PostAccessApikeyNameUnauthorized) GetPayload() string
- func (o *PostAccessApikeyNameUnauthorized) IsClientError() bool
- func (o *PostAccessApikeyNameUnauthorized) IsCode(code int) bool
- func (o *PostAccessApikeyNameUnauthorized) IsRedirect() bool
- func (o *PostAccessApikeyNameUnauthorized) IsServerError() bool
- func (o *PostAccessApikeyNameUnauthorized) IsSuccess() bool
- func (o *PostAccessApikeyNameUnauthorized) String() string
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 access API
func (*Client) DeleteAccessApikeyID ¶
func (a *Client) DeleteAccessApikeyID(params *DeleteAccessApikeyIDParams, opts ...ClientOption) (*DeleteAccessApikeyIDOK, error)
DeleteAccessApikeyID deletes API key deletes an API key given its ID if the user s session is tied to an organization the API key must be for that organization
DeleteAPIKey deletes an API Key given its ID. If the user's session is tied to an organization, the API Key must be for that organization.
func (*Client) GetAccessApikey ¶
func (a *Client) GetAccessApikey(params *GetAccessApikeyParams, opts ...ClientOption) (*GetAccessApikeyOK, error)
GetAccessApikey lists API key lists all API keys for a user if the user s session is tied to an organization only API keys for that organization will be returned
ListAPIKey lists all API Keys for a user. If the user's session is tied to an organization, only API Keys for that organization will be returned.
func (*Client) GetAccessApikeyName ¶
func (a *Client) GetAccessApikeyName(params *GetAccessApikeyNameParams, opts ...ClientOption) (*GetAccessApikeyNameOK, error)
GetAccessApikeyName gets API key gets information about a specific API key given its name if the user s session is tied to an organization the API key must be for that organization
GetAPIKey gets information about a specific API Key given its name. If the user's session is tied to an organization, the API Key must be for that organization.
func (*Client) PostAccessApikeyName ¶
func (a *Client) PostAccessApikeyName(params *PostAccessApikeyNameParams, opts ...ClientOption) (*PostAccessApikeyNameOK, error)
PostAccessApikeyName creates API key creates a new API key with the given name scoped to all the organizations the user is a member of if the user s session is tied to an organization the API key will be scoped to that organization
CreateAPIKey creates a new API Key with the given name scoped to all the organizations the user is a member of. If the user's session is tied to an organization, the API Key will be scoped to that organization.
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 { DeleteAccessApikeyID(params *DeleteAccessApikeyIDParams, opts ...ClientOption) (*DeleteAccessApikeyIDOK, error) GetAccessApikey(params *GetAccessApikeyParams, opts ...ClientOption) (*GetAccessApikeyOK, error) GetAccessApikeyName(params *GetAccessApikeyNameParams, opts ...ClientOption) (*GetAccessApikeyNameOK, error) PostAccessApikeyName(params *PostAccessApikeyNameParams, opts ...ClientOption) (*PostAccessApikeyNameOK, 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 access API client.
type DeleteAccessApikeyIDInternalServerError ¶
type DeleteAccessApikeyIDInternalServerError struct {
Payload string
}
DeleteAccessApikeyIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAccessApikeyIDInternalServerError ¶
func NewDeleteAccessApikeyIDInternalServerError() *DeleteAccessApikeyIDInternalServerError
NewDeleteAccessApikeyIDInternalServerError creates a DeleteAccessApikeyIDInternalServerError with default headers values
func (*DeleteAccessApikeyIDInternalServerError) Code ¶
func (o *DeleteAccessApikeyIDInternalServerError) Code() int
Code gets the status code for the delete access apikey Id internal server error response
func (*DeleteAccessApikeyIDInternalServerError) Error ¶
func (o *DeleteAccessApikeyIDInternalServerError) Error() string
func (*DeleteAccessApikeyIDInternalServerError) GetPayload ¶
func (o *DeleteAccessApikeyIDInternalServerError) GetPayload() string
func (*DeleteAccessApikeyIDInternalServerError) IsClientError ¶
func (o *DeleteAccessApikeyIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete access apikey Id internal server error response has a 4xx status code
func (*DeleteAccessApikeyIDInternalServerError) IsCode ¶
func (o *DeleteAccessApikeyIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete access apikey Id internal server error response a status code equal to that given
func (*DeleteAccessApikeyIDInternalServerError) IsRedirect ¶
func (o *DeleteAccessApikeyIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete access apikey Id internal server error response has a 3xx status code
func (*DeleteAccessApikeyIDInternalServerError) IsServerError ¶
func (o *DeleteAccessApikeyIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete access apikey Id internal server error response has a 5xx status code
func (*DeleteAccessApikeyIDInternalServerError) IsSuccess ¶
func (o *DeleteAccessApikeyIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete access apikey Id internal server error response has a 2xx status code
func (*DeleteAccessApikeyIDInternalServerError) String ¶
func (o *DeleteAccessApikeyIDInternalServerError) String() string
type DeleteAccessApikeyIDNotFound ¶
type DeleteAccessApikeyIDNotFound struct {
Payload string
}
DeleteAccessApikeyIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteAccessApikeyIDNotFound ¶
func NewDeleteAccessApikeyIDNotFound() *DeleteAccessApikeyIDNotFound
NewDeleteAccessApikeyIDNotFound creates a DeleteAccessApikeyIDNotFound with default headers values
func (*DeleteAccessApikeyIDNotFound) Code ¶
func (o *DeleteAccessApikeyIDNotFound) Code() int
Code gets the status code for the delete access apikey Id not found response
func (*DeleteAccessApikeyIDNotFound) Error ¶
func (o *DeleteAccessApikeyIDNotFound) Error() string
func (*DeleteAccessApikeyIDNotFound) GetPayload ¶
func (o *DeleteAccessApikeyIDNotFound) GetPayload() string
func (*DeleteAccessApikeyIDNotFound) IsClientError ¶
func (o *DeleteAccessApikeyIDNotFound) IsClientError() bool
IsClientError returns true when this delete access apikey Id not found response has a 4xx status code
func (*DeleteAccessApikeyIDNotFound) IsCode ¶
func (o *DeleteAccessApikeyIDNotFound) IsCode(code int) bool
IsCode returns true when this delete access apikey Id not found response a status code equal to that given
func (*DeleteAccessApikeyIDNotFound) IsRedirect ¶
func (o *DeleteAccessApikeyIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete access apikey Id not found response has a 3xx status code
func (*DeleteAccessApikeyIDNotFound) IsServerError ¶
func (o *DeleteAccessApikeyIDNotFound) IsServerError() bool
IsServerError returns true when this delete access apikey Id not found response has a 5xx status code
func (*DeleteAccessApikeyIDNotFound) IsSuccess ¶
func (o *DeleteAccessApikeyIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete access apikey Id not found response has a 2xx status code
func (*DeleteAccessApikeyIDNotFound) String ¶
func (o *DeleteAccessApikeyIDNotFound) String() string
type DeleteAccessApikeyIDOK ¶
type DeleteAccessApikeyIDOK struct {
Payload string
}
DeleteAccessApikeyIDOK describes a response with status code 200, with default header values.
OK
func NewDeleteAccessApikeyIDOK ¶
func NewDeleteAccessApikeyIDOK() *DeleteAccessApikeyIDOK
NewDeleteAccessApikeyIDOK creates a DeleteAccessApikeyIDOK with default headers values
func (*DeleteAccessApikeyIDOK) Code ¶
func (o *DeleteAccessApikeyIDOK) Code() int
Code gets the status code for the delete access apikey Id o k response
func (*DeleteAccessApikeyIDOK) Error ¶
func (o *DeleteAccessApikeyIDOK) Error() string
func (*DeleteAccessApikeyIDOK) GetPayload ¶
func (o *DeleteAccessApikeyIDOK) GetPayload() string
func (*DeleteAccessApikeyIDOK) IsClientError ¶
func (o *DeleteAccessApikeyIDOK) IsClientError() bool
IsClientError returns true when this delete access apikey Id o k response has a 4xx status code
func (*DeleteAccessApikeyIDOK) IsCode ¶
func (o *DeleteAccessApikeyIDOK) IsCode(code int) bool
IsCode returns true when this delete access apikey Id o k response a status code equal to that given
func (*DeleteAccessApikeyIDOK) IsRedirect ¶
func (o *DeleteAccessApikeyIDOK) IsRedirect() bool
IsRedirect returns true when this delete access apikey Id o k response has a 3xx status code
func (*DeleteAccessApikeyIDOK) IsServerError ¶
func (o *DeleteAccessApikeyIDOK) IsServerError() bool
IsServerError returns true when this delete access apikey Id o k response has a 5xx status code
func (*DeleteAccessApikeyIDOK) IsSuccess ¶
func (o *DeleteAccessApikeyIDOK) IsSuccess() bool
IsSuccess returns true when this delete access apikey Id o k response has a 2xx status code
func (*DeleteAccessApikeyIDOK) String ¶
func (o *DeleteAccessApikeyIDOK) String() string
type DeleteAccessApikeyIDParams ¶
type DeleteAccessApikeyIDParams struct { /* ID. API Key ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAccessApikeyIDParams contains all the parameters to send to the API endpoint
for the delete access apikey ID operation. Typically these are written to a http.Request.
func NewDeleteAccessApikeyIDParams ¶
func NewDeleteAccessApikeyIDParams() *DeleteAccessApikeyIDParams
NewDeleteAccessApikeyIDParams creates a new DeleteAccessApikeyIDParams 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 NewDeleteAccessApikeyIDParamsWithContext ¶
func NewDeleteAccessApikeyIDParamsWithContext(ctx context.Context) *DeleteAccessApikeyIDParams
NewDeleteAccessApikeyIDParamsWithContext creates a new DeleteAccessApikeyIDParams object with the ability to set a context for a request.
func NewDeleteAccessApikeyIDParamsWithHTTPClient ¶
func NewDeleteAccessApikeyIDParamsWithHTTPClient(client *http.Client) *DeleteAccessApikeyIDParams
NewDeleteAccessApikeyIDParamsWithHTTPClient creates a new DeleteAccessApikeyIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAccessApikeyIDParamsWithTimeout ¶
func NewDeleteAccessApikeyIDParamsWithTimeout(timeout time.Duration) *DeleteAccessApikeyIDParams
NewDeleteAccessApikeyIDParamsWithTimeout creates a new DeleteAccessApikeyIDParams object with the ability to set a timeout on a request.
func (*DeleteAccessApikeyIDParams) SetContext ¶
func (o *DeleteAccessApikeyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) SetDefaults ¶
func (o *DeleteAccessApikeyIDParams) SetDefaults()
SetDefaults hydrates default values in the delete access apikey ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccessApikeyIDParams) SetHTTPClient ¶
func (o *DeleteAccessApikeyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) SetID ¶
func (o *DeleteAccessApikeyIDParams) SetID(id string)
SetID adds the id to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) SetTimeout ¶
func (o *DeleteAccessApikeyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) WithContext ¶
func (o *DeleteAccessApikeyIDParams) WithContext(ctx context.Context) *DeleteAccessApikeyIDParams
WithContext adds the context to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) WithDefaults ¶
func (o *DeleteAccessApikeyIDParams) WithDefaults() *DeleteAccessApikeyIDParams
WithDefaults hydrates default values in the delete access apikey ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccessApikeyIDParams) WithHTTPClient ¶
func (o *DeleteAccessApikeyIDParams) WithHTTPClient(client *http.Client) *DeleteAccessApikeyIDParams
WithHTTPClient adds the HTTPClient to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) WithID ¶
func (o *DeleteAccessApikeyIDParams) WithID(id string) *DeleteAccessApikeyIDParams
WithID adds the id to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) WithTimeout ¶
func (o *DeleteAccessApikeyIDParams) WithTimeout(timeout time.Duration) *DeleteAccessApikeyIDParams
WithTimeout adds the timeout to the delete access apikey ID params
func (*DeleteAccessApikeyIDParams) WriteToRequest ¶
func (o *DeleteAccessApikeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAccessApikeyIDReader ¶
type DeleteAccessApikeyIDReader struct {
// contains filtered or unexported fields
}
DeleteAccessApikeyIDReader is a Reader for the DeleteAccessApikeyID structure.
func (*DeleteAccessApikeyIDReader) ReadResponse ¶
func (o *DeleteAccessApikeyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAccessApikeyIDUnauthorized ¶
type DeleteAccessApikeyIDUnauthorized struct {
}DeleteAccessApikeyIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteAccessApikeyIDUnauthorized ¶
func NewDeleteAccessApikeyIDUnauthorized() *DeleteAccessApikeyIDUnauthorized
NewDeleteAccessApikeyIDUnauthorized creates a DeleteAccessApikeyIDUnauthorized with default headers values
func (*DeleteAccessApikeyIDUnauthorized) Code ¶
func (o *DeleteAccessApikeyIDUnauthorized) Code() int
Code gets the status code for the delete access apikey Id unauthorized response
func (*DeleteAccessApikeyIDUnauthorized) Error ¶
func (o *DeleteAccessApikeyIDUnauthorized) Error() string
func (*DeleteAccessApikeyIDUnauthorized) GetPayload ¶
func (o *DeleteAccessApikeyIDUnauthorized) GetPayload() string
func (*DeleteAccessApikeyIDUnauthorized) IsClientError ¶
func (o *DeleteAccessApikeyIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete access apikey Id unauthorized response has a 4xx status code
func (*DeleteAccessApikeyIDUnauthorized) IsCode ¶
func (o *DeleteAccessApikeyIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete access apikey Id unauthorized response a status code equal to that given
func (*DeleteAccessApikeyIDUnauthorized) IsRedirect ¶
func (o *DeleteAccessApikeyIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete access apikey Id unauthorized response has a 3xx status code
func (*DeleteAccessApikeyIDUnauthorized) IsServerError ¶
func (o *DeleteAccessApikeyIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete access apikey Id unauthorized response has a 5xx status code
func (*DeleteAccessApikeyIDUnauthorized) IsSuccess ¶
func (o *DeleteAccessApikeyIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete access apikey Id unauthorized response has a 2xx status code
func (*DeleteAccessApikeyIDUnauthorized) String ¶
func (o *DeleteAccessApikeyIDUnauthorized) String() string
type GetAccessApikeyInternalServerError ¶
type GetAccessApikeyInternalServerError struct {
Payload string
}
GetAccessApikeyInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAccessApikeyInternalServerError ¶
func NewGetAccessApikeyInternalServerError() *GetAccessApikeyInternalServerError
NewGetAccessApikeyInternalServerError creates a GetAccessApikeyInternalServerError with default headers values
func (*GetAccessApikeyInternalServerError) Code ¶
func (o *GetAccessApikeyInternalServerError) Code() int
Code gets the status code for the get access apikey internal server error response
func (*GetAccessApikeyInternalServerError) Error ¶
func (o *GetAccessApikeyInternalServerError) Error() string
func (*GetAccessApikeyInternalServerError) GetPayload ¶
func (o *GetAccessApikeyInternalServerError) GetPayload() string
func (*GetAccessApikeyInternalServerError) IsClientError ¶
func (o *GetAccessApikeyInternalServerError) IsClientError() bool
IsClientError returns true when this get access apikey internal server error response has a 4xx status code
func (*GetAccessApikeyInternalServerError) IsCode ¶
func (o *GetAccessApikeyInternalServerError) IsCode(code int) bool
IsCode returns true when this get access apikey internal server error response a status code equal to that given
func (*GetAccessApikeyInternalServerError) IsRedirect ¶
func (o *GetAccessApikeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this get access apikey internal server error response has a 3xx status code
func (*GetAccessApikeyInternalServerError) IsServerError ¶
func (o *GetAccessApikeyInternalServerError) IsServerError() bool
IsServerError returns true when this get access apikey internal server error response has a 5xx status code
func (*GetAccessApikeyInternalServerError) IsSuccess ¶
func (o *GetAccessApikeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this get access apikey internal server error response has a 2xx status code
func (*GetAccessApikeyInternalServerError) String ¶
func (o *GetAccessApikeyInternalServerError) String() string
type GetAccessApikeyNameInternalServerError ¶
type GetAccessApikeyNameInternalServerError struct {
Payload string
}
GetAccessApikeyNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAccessApikeyNameInternalServerError ¶
func NewGetAccessApikeyNameInternalServerError() *GetAccessApikeyNameInternalServerError
NewGetAccessApikeyNameInternalServerError creates a GetAccessApikeyNameInternalServerError with default headers values
func (*GetAccessApikeyNameInternalServerError) Code ¶
func (o *GetAccessApikeyNameInternalServerError) Code() int
Code gets the status code for the get access apikey name internal server error response
func (*GetAccessApikeyNameInternalServerError) Error ¶
func (o *GetAccessApikeyNameInternalServerError) Error() string
func (*GetAccessApikeyNameInternalServerError) GetPayload ¶
func (o *GetAccessApikeyNameInternalServerError) GetPayload() string
func (*GetAccessApikeyNameInternalServerError) IsClientError ¶
func (o *GetAccessApikeyNameInternalServerError) IsClientError() bool
IsClientError returns true when this get access apikey name internal server error response has a 4xx status code
func (*GetAccessApikeyNameInternalServerError) IsCode ¶
func (o *GetAccessApikeyNameInternalServerError) IsCode(code int) bool
IsCode returns true when this get access apikey name internal server error response a status code equal to that given
func (*GetAccessApikeyNameInternalServerError) IsRedirect ¶
func (o *GetAccessApikeyNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this get access apikey name internal server error response has a 3xx status code
func (*GetAccessApikeyNameInternalServerError) IsServerError ¶
func (o *GetAccessApikeyNameInternalServerError) IsServerError() bool
IsServerError returns true when this get access apikey name internal server error response has a 5xx status code
func (*GetAccessApikeyNameInternalServerError) IsSuccess ¶
func (o *GetAccessApikeyNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this get access apikey name internal server error response has a 2xx status code
func (*GetAccessApikeyNameInternalServerError) String ¶
func (o *GetAccessApikeyNameInternalServerError) String() string
type GetAccessApikeyNameNotFound ¶
type GetAccessApikeyNameNotFound struct {
Payload string
}
GetAccessApikeyNameNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAccessApikeyNameNotFound ¶
func NewGetAccessApikeyNameNotFound() *GetAccessApikeyNameNotFound
NewGetAccessApikeyNameNotFound creates a GetAccessApikeyNameNotFound with default headers values
func (*GetAccessApikeyNameNotFound) Code ¶
func (o *GetAccessApikeyNameNotFound) Code() int
Code gets the status code for the get access apikey name not found response
func (*GetAccessApikeyNameNotFound) Error ¶
func (o *GetAccessApikeyNameNotFound) Error() string
func (*GetAccessApikeyNameNotFound) GetPayload ¶
func (o *GetAccessApikeyNameNotFound) GetPayload() string
func (*GetAccessApikeyNameNotFound) IsClientError ¶
func (o *GetAccessApikeyNameNotFound) IsClientError() bool
IsClientError returns true when this get access apikey name not found response has a 4xx status code
func (*GetAccessApikeyNameNotFound) IsCode ¶
func (o *GetAccessApikeyNameNotFound) IsCode(code int) bool
IsCode returns true when this get access apikey name not found response a status code equal to that given
func (*GetAccessApikeyNameNotFound) IsRedirect ¶
func (o *GetAccessApikeyNameNotFound) IsRedirect() bool
IsRedirect returns true when this get access apikey name not found response has a 3xx status code
func (*GetAccessApikeyNameNotFound) IsServerError ¶
func (o *GetAccessApikeyNameNotFound) IsServerError() bool
IsServerError returns true when this get access apikey name not found response has a 5xx status code
func (*GetAccessApikeyNameNotFound) IsSuccess ¶
func (o *GetAccessApikeyNameNotFound) IsSuccess() bool
IsSuccess returns true when this get access apikey name not found response has a 2xx status code
func (*GetAccessApikeyNameNotFound) String ¶
func (o *GetAccessApikeyNameNotFound) String() string
type GetAccessApikeyNameOK ¶
type GetAccessApikeyNameOK struct {
Payload *models.ModelsGetAPIKeyResponse
}
GetAccessApikeyNameOK describes a response with status code 200, with default header values.
OK
func NewGetAccessApikeyNameOK ¶
func NewGetAccessApikeyNameOK() *GetAccessApikeyNameOK
NewGetAccessApikeyNameOK creates a GetAccessApikeyNameOK with default headers values
func (*GetAccessApikeyNameOK) Code ¶
func (o *GetAccessApikeyNameOK) Code() int
Code gets the status code for the get access apikey name o k response
func (*GetAccessApikeyNameOK) Error ¶
func (o *GetAccessApikeyNameOK) Error() string
func (*GetAccessApikeyNameOK) GetPayload ¶
func (o *GetAccessApikeyNameOK) GetPayload() *models.ModelsGetAPIKeyResponse
func (*GetAccessApikeyNameOK) IsClientError ¶
func (o *GetAccessApikeyNameOK) IsClientError() bool
IsClientError returns true when this get access apikey name o k response has a 4xx status code
func (*GetAccessApikeyNameOK) IsCode ¶
func (o *GetAccessApikeyNameOK) IsCode(code int) bool
IsCode returns true when this get access apikey name o k response a status code equal to that given
func (*GetAccessApikeyNameOK) IsRedirect ¶
func (o *GetAccessApikeyNameOK) IsRedirect() bool
IsRedirect returns true when this get access apikey name o k response has a 3xx status code
func (*GetAccessApikeyNameOK) IsServerError ¶
func (o *GetAccessApikeyNameOK) IsServerError() bool
IsServerError returns true when this get access apikey name o k response has a 5xx status code
func (*GetAccessApikeyNameOK) IsSuccess ¶
func (o *GetAccessApikeyNameOK) IsSuccess() bool
IsSuccess returns true when this get access apikey name o k response has a 2xx status code
func (*GetAccessApikeyNameOK) String ¶
func (o *GetAccessApikeyNameOK) String() string
type GetAccessApikeyNameParams ¶
type GetAccessApikeyNameParams struct { /* Name. API Key Name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessApikeyNameParams contains all the parameters to send to the API endpoint
for the get access apikey name operation. Typically these are written to a http.Request.
func NewGetAccessApikeyNameParams ¶
func NewGetAccessApikeyNameParams() *GetAccessApikeyNameParams
NewGetAccessApikeyNameParams creates a new GetAccessApikeyNameParams 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 NewGetAccessApikeyNameParamsWithContext ¶
func NewGetAccessApikeyNameParamsWithContext(ctx context.Context) *GetAccessApikeyNameParams
NewGetAccessApikeyNameParamsWithContext creates a new GetAccessApikeyNameParams object with the ability to set a context for a request.
func NewGetAccessApikeyNameParamsWithHTTPClient ¶
func NewGetAccessApikeyNameParamsWithHTTPClient(client *http.Client) *GetAccessApikeyNameParams
NewGetAccessApikeyNameParamsWithHTTPClient creates a new GetAccessApikeyNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccessApikeyNameParamsWithTimeout ¶
func NewGetAccessApikeyNameParamsWithTimeout(timeout time.Duration) *GetAccessApikeyNameParams
NewGetAccessApikeyNameParamsWithTimeout creates a new GetAccessApikeyNameParams object with the ability to set a timeout on a request.
func (*GetAccessApikeyNameParams) SetContext ¶
func (o *GetAccessApikeyNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get access apikey name params
func (*GetAccessApikeyNameParams) SetDefaults ¶
func (o *GetAccessApikeyNameParams) SetDefaults()
SetDefaults hydrates default values in the get access apikey name params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessApikeyNameParams) SetHTTPClient ¶
func (o *GetAccessApikeyNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access apikey name params
func (*GetAccessApikeyNameParams) SetName ¶
func (o *GetAccessApikeyNameParams) SetName(name string)
SetName adds the name to the get access apikey name params
func (*GetAccessApikeyNameParams) SetTimeout ¶
func (o *GetAccessApikeyNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access apikey name params
func (*GetAccessApikeyNameParams) WithContext ¶
func (o *GetAccessApikeyNameParams) WithContext(ctx context.Context) *GetAccessApikeyNameParams
WithContext adds the context to the get access apikey name params
func (*GetAccessApikeyNameParams) WithDefaults ¶
func (o *GetAccessApikeyNameParams) WithDefaults() *GetAccessApikeyNameParams
WithDefaults hydrates default values in the get access apikey name params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessApikeyNameParams) WithHTTPClient ¶
func (o *GetAccessApikeyNameParams) WithHTTPClient(client *http.Client) *GetAccessApikeyNameParams
WithHTTPClient adds the HTTPClient to the get access apikey name params
func (*GetAccessApikeyNameParams) WithName ¶
func (o *GetAccessApikeyNameParams) WithName(name string) *GetAccessApikeyNameParams
WithName adds the name to the get access apikey name params
func (*GetAccessApikeyNameParams) WithTimeout ¶
func (o *GetAccessApikeyNameParams) WithTimeout(timeout time.Duration) *GetAccessApikeyNameParams
WithTimeout adds the timeout to the get access apikey name params
func (*GetAccessApikeyNameParams) WriteToRequest ¶
func (o *GetAccessApikeyNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessApikeyNameReader ¶
type GetAccessApikeyNameReader struct {
// contains filtered or unexported fields
}
GetAccessApikeyNameReader is a Reader for the GetAccessApikeyName structure.
func (*GetAccessApikeyNameReader) ReadResponse ¶
func (o *GetAccessApikeyNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessApikeyNameUnauthorized ¶
type GetAccessApikeyNameUnauthorized struct {
}GetAccessApikeyNameUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccessApikeyNameUnauthorized ¶
func NewGetAccessApikeyNameUnauthorized() *GetAccessApikeyNameUnauthorized
NewGetAccessApikeyNameUnauthorized creates a GetAccessApikeyNameUnauthorized with default headers values
func (*GetAccessApikeyNameUnauthorized) Code ¶
func (o *GetAccessApikeyNameUnauthorized) Code() int
Code gets the status code for the get access apikey name unauthorized response
func (*GetAccessApikeyNameUnauthorized) Error ¶
func (o *GetAccessApikeyNameUnauthorized) Error() string
func (*GetAccessApikeyNameUnauthorized) GetPayload ¶
func (o *GetAccessApikeyNameUnauthorized) GetPayload() string
func (*GetAccessApikeyNameUnauthorized) IsClientError ¶
func (o *GetAccessApikeyNameUnauthorized) IsClientError() bool
IsClientError returns true when this get access apikey name unauthorized response has a 4xx status code
func (*GetAccessApikeyNameUnauthorized) IsCode ¶
func (o *GetAccessApikeyNameUnauthorized) IsCode(code int) bool
IsCode returns true when this get access apikey name unauthorized response a status code equal to that given
func (*GetAccessApikeyNameUnauthorized) IsRedirect ¶
func (o *GetAccessApikeyNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this get access apikey name unauthorized response has a 3xx status code
func (*GetAccessApikeyNameUnauthorized) IsServerError ¶
func (o *GetAccessApikeyNameUnauthorized) IsServerError() bool
IsServerError returns true when this get access apikey name unauthorized response has a 5xx status code
func (*GetAccessApikeyNameUnauthorized) IsSuccess ¶
func (o *GetAccessApikeyNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this get access apikey name unauthorized response has a 2xx status code
func (*GetAccessApikeyNameUnauthorized) String ¶
func (o *GetAccessApikeyNameUnauthorized) String() string
type GetAccessApikeyOK ¶
type GetAccessApikeyOK struct {
Payload []*models.ModelsGetAPIKeyResponse
}
GetAccessApikeyOK describes a response with status code 200, with default header values.
OK
func NewGetAccessApikeyOK ¶
func NewGetAccessApikeyOK() *GetAccessApikeyOK
NewGetAccessApikeyOK creates a GetAccessApikeyOK with default headers values
func (*GetAccessApikeyOK) Code ¶
func (o *GetAccessApikeyOK) Code() int
Code gets the status code for the get access apikey o k response
func (*GetAccessApikeyOK) Error ¶
func (o *GetAccessApikeyOK) Error() string
func (*GetAccessApikeyOK) GetPayload ¶
func (o *GetAccessApikeyOK) GetPayload() []*models.ModelsGetAPIKeyResponse
func (*GetAccessApikeyOK) IsClientError ¶
func (o *GetAccessApikeyOK) IsClientError() bool
IsClientError returns true when this get access apikey o k response has a 4xx status code
func (*GetAccessApikeyOK) IsCode ¶
func (o *GetAccessApikeyOK) IsCode(code int) bool
IsCode returns true when this get access apikey o k response a status code equal to that given
func (*GetAccessApikeyOK) IsRedirect ¶
func (o *GetAccessApikeyOK) IsRedirect() bool
IsRedirect returns true when this get access apikey o k response has a 3xx status code
func (*GetAccessApikeyOK) IsServerError ¶
func (o *GetAccessApikeyOK) IsServerError() bool
IsServerError returns true when this get access apikey o k response has a 5xx status code
func (*GetAccessApikeyOK) IsSuccess ¶
func (o *GetAccessApikeyOK) IsSuccess() bool
IsSuccess returns true when this get access apikey o k response has a 2xx status code
func (*GetAccessApikeyOK) String ¶
func (o *GetAccessApikeyOK) String() string
type GetAccessApikeyParams ¶
type GetAccessApikeyParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessApikeyParams contains all the parameters to send to the API endpoint
for the get access apikey operation. Typically these are written to a http.Request.
func NewGetAccessApikeyParams ¶
func NewGetAccessApikeyParams() *GetAccessApikeyParams
NewGetAccessApikeyParams creates a new GetAccessApikeyParams 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 NewGetAccessApikeyParamsWithContext ¶
func NewGetAccessApikeyParamsWithContext(ctx context.Context) *GetAccessApikeyParams
NewGetAccessApikeyParamsWithContext creates a new GetAccessApikeyParams object with the ability to set a context for a request.
func NewGetAccessApikeyParamsWithHTTPClient ¶
func NewGetAccessApikeyParamsWithHTTPClient(client *http.Client) *GetAccessApikeyParams
NewGetAccessApikeyParamsWithHTTPClient creates a new GetAccessApikeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccessApikeyParamsWithTimeout ¶
func NewGetAccessApikeyParamsWithTimeout(timeout time.Duration) *GetAccessApikeyParams
NewGetAccessApikeyParamsWithTimeout creates a new GetAccessApikeyParams object with the ability to set a timeout on a request.
func (*GetAccessApikeyParams) SetContext ¶
func (o *GetAccessApikeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get access apikey params
func (*GetAccessApikeyParams) SetDefaults ¶
func (o *GetAccessApikeyParams) SetDefaults()
SetDefaults hydrates default values in the get access apikey params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessApikeyParams) SetHTTPClient ¶
func (o *GetAccessApikeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access apikey params
func (*GetAccessApikeyParams) SetTimeout ¶
func (o *GetAccessApikeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access apikey params
func (*GetAccessApikeyParams) WithContext ¶
func (o *GetAccessApikeyParams) WithContext(ctx context.Context) *GetAccessApikeyParams
WithContext adds the context to the get access apikey params
func (*GetAccessApikeyParams) WithDefaults ¶
func (o *GetAccessApikeyParams) WithDefaults() *GetAccessApikeyParams
WithDefaults hydrates default values in the get access apikey params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessApikeyParams) WithHTTPClient ¶
func (o *GetAccessApikeyParams) WithHTTPClient(client *http.Client) *GetAccessApikeyParams
WithHTTPClient adds the HTTPClient to the get access apikey params
func (*GetAccessApikeyParams) WithTimeout ¶
func (o *GetAccessApikeyParams) WithTimeout(timeout time.Duration) *GetAccessApikeyParams
WithTimeout adds the timeout to the get access apikey params
func (*GetAccessApikeyParams) WriteToRequest ¶
func (o *GetAccessApikeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessApikeyReader ¶
type GetAccessApikeyReader struct {
// contains filtered or unexported fields
}
GetAccessApikeyReader is a Reader for the GetAccessApikey structure.
func (*GetAccessApikeyReader) ReadResponse ¶
func (o *GetAccessApikeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessApikeyUnauthorized ¶
type GetAccessApikeyUnauthorized struct {
}GetAccessApikeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccessApikeyUnauthorized ¶
func NewGetAccessApikeyUnauthorized() *GetAccessApikeyUnauthorized
NewGetAccessApikeyUnauthorized creates a GetAccessApikeyUnauthorized with default headers values
func (*GetAccessApikeyUnauthorized) Code ¶
func (o *GetAccessApikeyUnauthorized) Code() int
Code gets the status code for the get access apikey unauthorized response
func (*GetAccessApikeyUnauthorized) Error ¶
func (o *GetAccessApikeyUnauthorized) Error() string
func (*GetAccessApikeyUnauthorized) GetPayload ¶
func (o *GetAccessApikeyUnauthorized) GetPayload() string
func (*GetAccessApikeyUnauthorized) IsClientError ¶
func (o *GetAccessApikeyUnauthorized) IsClientError() bool
IsClientError returns true when this get access apikey unauthorized response has a 4xx status code
func (*GetAccessApikeyUnauthorized) IsCode ¶
func (o *GetAccessApikeyUnauthorized) IsCode(code int) bool
IsCode returns true when this get access apikey unauthorized response a status code equal to that given
func (*GetAccessApikeyUnauthorized) IsRedirect ¶
func (o *GetAccessApikeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this get access apikey unauthorized response has a 3xx status code
func (*GetAccessApikeyUnauthorized) IsServerError ¶
func (o *GetAccessApikeyUnauthorized) IsServerError() bool
IsServerError returns true when this get access apikey unauthorized response has a 5xx status code
func (*GetAccessApikeyUnauthorized) IsSuccess ¶
func (o *GetAccessApikeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this get access apikey unauthorized response has a 2xx status code
func (*GetAccessApikeyUnauthorized) String ¶
func (o *GetAccessApikeyUnauthorized) String() string
type PostAccessApikeyNameBadRequest ¶
type PostAccessApikeyNameBadRequest struct {
Payload string
}
PostAccessApikeyNameBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAccessApikeyNameBadRequest ¶
func NewPostAccessApikeyNameBadRequest() *PostAccessApikeyNameBadRequest
NewPostAccessApikeyNameBadRequest creates a PostAccessApikeyNameBadRequest with default headers values
func (*PostAccessApikeyNameBadRequest) Code ¶
func (o *PostAccessApikeyNameBadRequest) Code() int
Code gets the status code for the post access apikey name bad request response
func (*PostAccessApikeyNameBadRequest) Error ¶
func (o *PostAccessApikeyNameBadRequest) Error() string
func (*PostAccessApikeyNameBadRequest) GetPayload ¶
func (o *PostAccessApikeyNameBadRequest) GetPayload() string
func (*PostAccessApikeyNameBadRequest) IsClientError ¶
func (o *PostAccessApikeyNameBadRequest) IsClientError() bool
IsClientError returns true when this post access apikey name bad request response has a 4xx status code
func (*PostAccessApikeyNameBadRequest) IsCode ¶
func (o *PostAccessApikeyNameBadRequest) IsCode(code int) bool
IsCode returns true when this post access apikey name bad request response a status code equal to that given
func (*PostAccessApikeyNameBadRequest) IsRedirect ¶
func (o *PostAccessApikeyNameBadRequest) IsRedirect() bool
IsRedirect returns true when this post access apikey name bad request response has a 3xx status code
func (*PostAccessApikeyNameBadRequest) IsServerError ¶
func (o *PostAccessApikeyNameBadRequest) IsServerError() bool
IsServerError returns true when this post access apikey name bad request response has a 5xx status code
func (*PostAccessApikeyNameBadRequest) IsSuccess ¶
func (o *PostAccessApikeyNameBadRequest) IsSuccess() bool
IsSuccess returns true when this post access apikey name bad request response has a 2xx status code
func (*PostAccessApikeyNameBadRequest) String ¶
func (o *PostAccessApikeyNameBadRequest) String() string
type PostAccessApikeyNameInternalServerError ¶
type PostAccessApikeyNameInternalServerError struct {
Payload string
}
PostAccessApikeyNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAccessApikeyNameInternalServerError ¶
func NewPostAccessApikeyNameInternalServerError() *PostAccessApikeyNameInternalServerError
NewPostAccessApikeyNameInternalServerError creates a PostAccessApikeyNameInternalServerError with default headers values
func (*PostAccessApikeyNameInternalServerError) Code ¶
func (o *PostAccessApikeyNameInternalServerError) Code() int
Code gets the status code for the post access apikey name internal server error response
func (*PostAccessApikeyNameInternalServerError) Error ¶
func (o *PostAccessApikeyNameInternalServerError) Error() string
func (*PostAccessApikeyNameInternalServerError) GetPayload ¶
func (o *PostAccessApikeyNameInternalServerError) GetPayload() string
func (*PostAccessApikeyNameInternalServerError) IsClientError ¶
func (o *PostAccessApikeyNameInternalServerError) IsClientError() bool
IsClientError returns true when this post access apikey name internal server error response has a 4xx status code
func (*PostAccessApikeyNameInternalServerError) IsCode ¶
func (o *PostAccessApikeyNameInternalServerError) IsCode(code int) bool
IsCode returns true when this post access apikey name internal server error response a status code equal to that given
func (*PostAccessApikeyNameInternalServerError) IsRedirect ¶
func (o *PostAccessApikeyNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this post access apikey name internal server error response has a 3xx status code
func (*PostAccessApikeyNameInternalServerError) IsServerError ¶
func (o *PostAccessApikeyNameInternalServerError) IsServerError() bool
IsServerError returns true when this post access apikey name internal server error response has a 5xx status code
func (*PostAccessApikeyNameInternalServerError) IsSuccess ¶
func (o *PostAccessApikeyNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this post access apikey name internal server error response has a 2xx status code
func (*PostAccessApikeyNameInternalServerError) String ¶
func (o *PostAccessApikeyNameInternalServerError) String() string
type PostAccessApikeyNameOK ¶
type PostAccessApikeyNameOK struct {
Payload *models.ModelsCreateAPIKeyResponse
}
PostAccessApikeyNameOK describes a response with status code 200, with default header values.
OK
func NewPostAccessApikeyNameOK ¶
func NewPostAccessApikeyNameOK() *PostAccessApikeyNameOK
NewPostAccessApikeyNameOK creates a PostAccessApikeyNameOK with default headers values
func (*PostAccessApikeyNameOK) Code ¶
func (o *PostAccessApikeyNameOK) Code() int
Code gets the status code for the post access apikey name o k response
func (*PostAccessApikeyNameOK) Error ¶
func (o *PostAccessApikeyNameOK) Error() string
func (*PostAccessApikeyNameOK) GetPayload ¶
func (o *PostAccessApikeyNameOK) GetPayload() *models.ModelsCreateAPIKeyResponse
func (*PostAccessApikeyNameOK) IsClientError ¶
func (o *PostAccessApikeyNameOK) IsClientError() bool
IsClientError returns true when this post access apikey name o k response has a 4xx status code
func (*PostAccessApikeyNameOK) IsCode ¶
func (o *PostAccessApikeyNameOK) IsCode(code int) bool
IsCode returns true when this post access apikey name o k response a status code equal to that given
func (*PostAccessApikeyNameOK) IsRedirect ¶
func (o *PostAccessApikeyNameOK) IsRedirect() bool
IsRedirect returns true when this post access apikey name o k response has a 3xx status code
func (*PostAccessApikeyNameOK) IsServerError ¶
func (o *PostAccessApikeyNameOK) IsServerError() bool
IsServerError returns true when this post access apikey name o k response has a 5xx status code
func (*PostAccessApikeyNameOK) IsSuccess ¶
func (o *PostAccessApikeyNameOK) IsSuccess() bool
IsSuccess returns true when this post access apikey name o k response has a 2xx status code
func (*PostAccessApikeyNameOK) String ¶
func (o *PostAccessApikeyNameOK) String() string
type PostAccessApikeyNameParams ¶
type PostAccessApikeyNameParams struct { /* Name. name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAccessApikeyNameParams contains all the parameters to send to the API endpoint
for the post access apikey name operation. Typically these are written to a http.Request.
func NewPostAccessApikeyNameParams ¶
func NewPostAccessApikeyNameParams() *PostAccessApikeyNameParams
NewPostAccessApikeyNameParams creates a new PostAccessApikeyNameParams 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 NewPostAccessApikeyNameParamsWithContext ¶
func NewPostAccessApikeyNameParamsWithContext(ctx context.Context) *PostAccessApikeyNameParams
NewPostAccessApikeyNameParamsWithContext creates a new PostAccessApikeyNameParams object with the ability to set a context for a request.
func NewPostAccessApikeyNameParamsWithHTTPClient ¶
func NewPostAccessApikeyNameParamsWithHTTPClient(client *http.Client) *PostAccessApikeyNameParams
NewPostAccessApikeyNameParamsWithHTTPClient creates a new PostAccessApikeyNameParams object with the ability to set a custom HTTPClient for a request.
func NewPostAccessApikeyNameParamsWithTimeout ¶
func NewPostAccessApikeyNameParamsWithTimeout(timeout time.Duration) *PostAccessApikeyNameParams
NewPostAccessApikeyNameParamsWithTimeout creates a new PostAccessApikeyNameParams object with the ability to set a timeout on a request.
func (*PostAccessApikeyNameParams) SetContext ¶
func (o *PostAccessApikeyNameParams) SetContext(ctx context.Context)
SetContext adds the context to the post access apikey name params
func (*PostAccessApikeyNameParams) SetDefaults ¶
func (o *PostAccessApikeyNameParams) SetDefaults()
SetDefaults hydrates default values in the post access apikey name params (not the query body).
All values with no default are reset to their zero value.
func (*PostAccessApikeyNameParams) SetHTTPClient ¶
func (o *PostAccessApikeyNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post access apikey name params
func (*PostAccessApikeyNameParams) SetName ¶
func (o *PostAccessApikeyNameParams) SetName(name string)
SetName adds the name to the post access apikey name params
func (*PostAccessApikeyNameParams) SetTimeout ¶
func (o *PostAccessApikeyNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post access apikey name params
func (*PostAccessApikeyNameParams) WithContext ¶
func (o *PostAccessApikeyNameParams) WithContext(ctx context.Context) *PostAccessApikeyNameParams
WithContext adds the context to the post access apikey name params
func (*PostAccessApikeyNameParams) WithDefaults ¶
func (o *PostAccessApikeyNameParams) WithDefaults() *PostAccessApikeyNameParams
WithDefaults hydrates default values in the post access apikey name params (not the query body).
All values with no default are reset to their zero value.
func (*PostAccessApikeyNameParams) WithHTTPClient ¶
func (o *PostAccessApikeyNameParams) WithHTTPClient(client *http.Client) *PostAccessApikeyNameParams
WithHTTPClient adds the HTTPClient to the post access apikey name params
func (*PostAccessApikeyNameParams) WithName ¶
func (o *PostAccessApikeyNameParams) WithName(name string) *PostAccessApikeyNameParams
WithName adds the name to the post access apikey name params
func (*PostAccessApikeyNameParams) WithTimeout ¶
func (o *PostAccessApikeyNameParams) WithTimeout(timeout time.Duration) *PostAccessApikeyNameParams
WithTimeout adds the timeout to the post access apikey name params
func (*PostAccessApikeyNameParams) WriteToRequest ¶
func (o *PostAccessApikeyNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAccessApikeyNameReader ¶
type PostAccessApikeyNameReader struct {
// contains filtered or unexported fields
}
PostAccessApikeyNameReader is a Reader for the PostAccessApikeyName structure.
func (*PostAccessApikeyNameReader) ReadResponse ¶
func (o *PostAccessApikeyNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAccessApikeyNameUnauthorized ¶
type PostAccessApikeyNameUnauthorized struct {
}PostAccessApikeyNameUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostAccessApikeyNameUnauthorized ¶
func NewPostAccessApikeyNameUnauthorized() *PostAccessApikeyNameUnauthorized
NewPostAccessApikeyNameUnauthorized creates a PostAccessApikeyNameUnauthorized with default headers values
func (*PostAccessApikeyNameUnauthorized) Code ¶
func (o *PostAccessApikeyNameUnauthorized) Code() int
Code gets the status code for the post access apikey name unauthorized response
func (*PostAccessApikeyNameUnauthorized) Error ¶
func (o *PostAccessApikeyNameUnauthorized) Error() string
func (*PostAccessApikeyNameUnauthorized) GetPayload ¶
func (o *PostAccessApikeyNameUnauthorized) GetPayload() string
func (*PostAccessApikeyNameUnauthorized) IsClientError ¶
func (o *PostAccessApikeyNameUnauthorized) IsClientError() bool
IsClientError returns true when this post access apikey name unauthorized response has a 4xx status code
func (*PostAccessApikeyNameUnauthorized) IsCode ¶
func (o *PostAccessApikeyNameUnauthorized) IsCode(code int) bool
IsCode returns true when this post access apikey name unauthorized response a status code equal to that given
func (*PostAccessApikeyNameUnauthorized) IsRedirect ¶
func (o *PostAccessApikeyNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this post access apikey name unauthorized response has a 3xx status code
func (*PostAccessApikeyNameUnauthorized) IsServerError ¶
func (o *PostAccessApikeyNameUnauthorized) IsServerError() bool
IsServerError returns true when this post access apikey name unauthorized response has a 5xx status code
func (*PostAccessApikeyNameUnauthorized) IsSuccess ¶
func (o *PostAccessApikeyNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this post access apikey name unauthorized response has a 2xx status code
func (*PostAccessApikeyNameUnauthorized) String ¶
func (o *PostAccessApikeyNameUnauthorized) String() string
Source Files
¶
- access_client.go
- delete_access_apikey_id_parameters.go
- delete_access_apikey_id_responses.go
- get_access_apikey_name_parameters.go
- get_access_apikey_name_responses.go
- get_access_apikey_parameters.go
- get_access_apikey_responses.go
- post_access_apikey_name_parameters.go
- post_access_apikey_name_responses.go