Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAccessApikeyNameorid(params *DeleteAccessApikeyNameoridParams, opts ...ClientOption) (*DeleteAccessApikeyNameoridOK, error)
- func (a *Client) GetAccessApikey(params *GetAccessApikeyParams, opts ...ClientOption) (*GetAccessApikeyOK, error)
- func (a *Client) GetAccessApikeyNameorid(params *GetAccessApikeyNameoridParams, opts ...ClientOption) (*GetAccessApikeyNameoridOK, error)
- func (a *Client) PostAccessApikey(params *PostAccessApikeyParams, opts ...ClientOption) (*PostAccessApikeyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAccessApikeyNameoridInternalServerError
- func (o *DeleteAccessApikeyNameoridInternalServerError) Code() int
- func (o *DeleteAccessApikeyNameoridInternalServerError) Error() string
- func (o *DeleteAccessApikeyNameoridInternalServerError) GetPayload() string
- func (o *DeleteAccessApikeyNameoridInternalServerError) IsClientError() bool
- func (o *DeleteAccessApikeyNameoridInternalServerError) IsCode(code int) bool
- func (o *DeleteAccessApikeyNameoridInternalServerError) IsRedirect() bool
- func (o *DeleteAccessApikeyNameoridInternalServerError) IsServerError() bool
- func (o *DeleteAccessApikeyNameoridInternalServerError) IsSuccess() bool
- func (o *DeleteAccessApikeyNameoridInternalServerError) String() string
- type DeleteAccessApikeyNameoridNotFound
- func (o *DeleteAccessApikeyNameoridNotFound) Code() int
- func (o *DeleteAccessApikeyNameoridNotFound) Error() string
- func (o *DeleteAccessApikeyNameoridNotFound) GetPayload() string
- func (o *DeleteAccessApikeyNameoridNotFound) IsClientError() bool
- func (o *DeleteAccessApikeyNameoridNotFound) IsCode(code int) bool
- func (o *DeleteAccessApikeyNameoridNotFound) IsRedirect() bool
- func (o *DeleteAccessApikeyNameoridNotFound) IsServerError() bool
- func (o *DeleteAccessApikeyNameoridNotFound) IsSuccess() bool
- func (o *DeleteAccessApikeyNameoridNotFound) String() string
- type DeleteAccessApikeyNameoridOK
- func (o *DeleteAccessApikeyNameoridOK) Code() int
- func (o *DeleteAccessApikeyNameoridOK) Error() string
- func (o *DeleteAccessApikeyNameoridOK) GetPayload() string
- func (o *DeleteAccessApikeyNameoridOK) IsClientError() bool
- func (o *DeleteAccessApikeyNameoridOK) IsCode(code int) bool
- func (o *DeleteAccessApikeyNameoridOK) IsRedirect() bool
- func (o *DeleteAccessApikeyNameoridOK) IsServerError() bool
- func (o *DeleteAccessApikeyNameoridOK) IsSuccess() bool
- func (o *DeleteAccessApikeyNameoridOK) String() string
- type DeleteAccessApikeyNameoridParams
- func NewDeleteAccessApikeyNameoridParams() *DeleteAccessApikeyNameoridParams
- func NewDeleteAccessApikeyNameoridParamsWithContext(ctx context.Context) *DeleteAccessApikeyNameoridParams
- func NewDeleteAccessApikeyNameoridParamsWithHTTPClient(client *http.Client) *DeleteAccessApikeyNameoridParams
- func NewDeleteAccessApikeyNameoridParamsWithTimeout(timeout time.Duration) *DeleteAccessApikeyNameoridParams
- func (o *DeleteAccessApikeyNameoridParams) SetContext(ctx context.Context)
- func (o *DeleteAccessApikeyNameoridParams) SetDefaults()
- func (o *DeleteAccessApikeyNameoridParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccessApikeyNameoridParams) SetNameorid(nameorid string)
- func (o *DeleteAccessApikeyNameoridParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAccessApikeyNameoridParams) WithContext(ctx context.Context) *DeleteAccessApikeyNameoridParams
- func (o *DeleteAccessApikeyNameoridParams) WithDefaults() *DeleteAccessApikeyNameoridParams
- func (o *DeleteAccessApikeyNameoridParams) WithHTTPClient(client *http.Client) *DeleteAccessApikeyNameoridParams
- func (o *DeleteAccessApikeyNameoridParams) WithNameorid(nameorid string) *DeleteAccessApikeyNameoridParams
- func (o *DeleteAccessApikeyNameoridParams) WithTimeout(timeout time.Duration) *DeleteAccessApikeyNameoridParams
- func (o *DeleteAccessApikeyNameoridParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccessApikeyNameoridReader
- type DeleteAccessApikeyNameoridUnauthorized
- func (o *DeleteAccessApikeyNameoridUnauthorized) Code() int
- func (o *DeleteAccessApikeyNameoridUnauthorized) Error() string
- func (o *DeleteAccessApikeyNameoridUnauthorized) GetPayload() string
- func (o *DeleteAccessApikeyNameoridUnauthorized) IsClientError() bool
- func (o *DeleteAccessApikeyNameoridUnauthorized) IsCode(code int) bool
- func (o *DeleteAccessApikeyNameoridUnauthorized) IsRedirect() bool
- func (o *DeleteAccessApikeyNameoridUnauthorized) IsServerError() bool
- func (o *DeleteAccessApikeyNameoridUnauthorized) IsSuccess() bool
- func (o *DeleteAccessApikeyNameoridUnauthorized) 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 GetAccessApikeyNameoridInternalServerError
- func (o *GetAccessApikeyNameoridInternalServerError) Code() int
- func (o *GetAccessApikeyNameoridInternalServerError) Error() string
- func (o *GetAccessApikeyNameoridInternalServerError) GetPayload() string
- func (o *GetAccessApikeyNameoridInternalServerError) IsClientError() bool
- func (o *GetAccessApikeyNameoridInternalServerError) IsCode(code int) bool
- func (o *GetAccessApikeyNameoridInternalServerError) IsRedirect() bool
- func (o *GetAccessApikeyNameoridInternalServerError) IsServerError() bool
- func (o *GetAccessApikeyNameoridInternalServerError) IsSuccess() bool
- func (o *GetAccessApikeyNameoridInternalServerError) String() string
- type GetAccessApikeyNameoridNotFound
- func (o *GetAccessApikeyNameoridNotFound) Code() int
- func (o *GetAccessApikeyNameoridNotFound) Error() string
- func (o *GetAccessApikeyNameoridNotFound) GetPayload() string
- func (o *GetAccessApikeyNameoridNotFound) IsClientError() bool
- func (o *GetAccessApikeyNameoridNotFound) IsCode(code int) bool
- func (o *GetAccessApikeyNameoridNotFound) IsRedirect() bool
- func (o *GetAccessApikeyNameoridNotFound) IsServerError() bool
- func (o *GetAccessApikeyNameoridNotFound) IsSuccess() bool
- func (o *GetAccessApikeyNameoridNotFound) String() string
- type GetAccessApikeyNameoridOK
- func (o *GetAccessApikeyNameoridOK) Code() int
- func (o *GetAccessApikeyNameoridOK) Error() string
- func (o *GetAccessApikeyNameoridOK) GetPayload() *models.ModelsGetAPIKeyResponse
- func (o *GetAccessApikeyNameoridOK) IsClientError() bool
- func (o *GetAccessApikeyNameoridOK) IsCode(code int) bool
- func (o *GetAccessApikeyNameoridOK) IsRedirect() bool
- func (o *GetAccessApikeyNameoridOK) IsServerError() bool
- func (o *GetAccessApikeyNameoridOK) IsSuccess() bool
- func (o *GetAccessApikeyNameoridOK) String() string
- type GetAccessApikeyNameoridParams
- func NewGetAccessApikeyNameoridParams() *GetAccessApikeyNameoridParams
- func NewGetAccessApikeyNameoridParamsWithContext(ctx context.Context) *GetAccessApikeyNameoridParams
- func NewGetAccessApikeyNameoridParamsWithHTTPClient(client *http.Client) *GetAccessApikeyNameoridParams
- func NewGetAccessApikeyNameoridParamsWithTimeout(timeout time.Duration) *GetAccessApikeyNameoridParams
- func (o *GetAccessApikeyNameoridParams) SetContext(ctx context.Context)
- func (o *GetAccessApikeyNameoridParams) SetDefaults()
- func (o *GetAccessApikeyNameoridParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessApikeyNameoridParams) SetNameorid(nameorid string)
- func (o *GetAccessApikeyNameoridParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessApikeyNameoridParams) WithContext(ctx context.Context) *GetAccessApikeyNameoridParams
- func (o *GetAccessApikeyNameoridParams) WithDefaults() *GetAccessApikeyNameoridParams
- func (o *GetAccessApikeyNameoridParams) WithHTTPClient(client *http.Client) *GetAccessApikeyNameoridParams
- func (o *GetAccessApikeyNameoridParams) WithNameorid(nameorid string) *GetAccessApikeyNameoridParams
- func (o *GetAccessApikeyNameoridParams) WithTimeout(timeout time.Duration) *GetAccessApikeyNameoridParams
- func (o *GetAccessApikeyNameoridParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessApikeyNameoridReader
- type GetAccessApikeyNameoridUnauthorized
- func (o *GetAccessApikeyNameoridUnauthorized) Code() int
- func (o *GetAccessApikeyNameoridUnauthorized) Error() string
- func (o *GetAccessApikeyNameoridUnauthorized) GetPayload() string
- func (o *GetAccessApikeyNameoridUnauthorized) IsClientError() bool
- func (o *GetAccessApikeyNameoridUnauthorized) IsCode(code int) bool
- func (o *GetAccessApikeyNameoridUnauthorized) IsRedirect() bool
- func (o *GetAccessApikeyNameoridUnauthorized) IsServerError() bool
- func (o *GetAccessApikeyNameoridUnauthorized) IsSuccess() bool
- func (o *GetAccessApikeyNameoridUnauthorized) 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 PostAccessApikeyBadRequest
- func (o *PostAccessApikeyBadRequest) Code() int
- func (o *PostAccessApikeyBadRequest) Error() string
- func (o *PostAccessApikeyBadRequest) GetPayload() string
- func (o *PostAccessApikeyBadRequest) IsClientError() bool
- func (o *PostAccessApikeyBadRequest) IsCode(code int) bool
- func (o *PostAccessApikeyBadRequest) IsRedirect() bool
- func (o *PostAccessApikeyBadRequest) IsServerError() bool
- func (o *PostAccessApikeyBadRequest) IsSuccess() bool
- func (o *PostAccessApikeyBadRequest) String() string
- type PostAccessApikeyInternalServerError
- func (o *PostAccessApikeyInternalServerError) Code() int
- func (o *PostAccessApikeyInternalServerError) Error() string
- func (o *PostAccessApikeyInternalServerError) GetPayload() string
- func (o *PostAccessApikeyInternalServerError) IsClientError() bool
- func (o *PostAccessApikeyInternalServerError) IsCode(code int) bool
- func (o *PostAccessApikeyInternalServerError) IsRedirect() bool
- func (o *PostAccessApikeyInternalServerError) IsServerError() bool
- func (o *PostAccessApikeyInternalServerError) IsSuccess() bool
- func (o *PostAccessApikeyInternalServerError) String() string
- type PostAccessApikeyOK
- func (o *PostAccessApikeyOK) Code() int
- func (o *PostAccessApikeyOK) Error() string
- func (o *PostAccessApikeyOK) GetPayload() *models.ModelsCreateAPIKeyResponse
- func (o *PostAccessApikeyOK) IsClientError() bool
- func (o *PostAccessApikeyOK) IsCode(code int) bool
- func (o *PostAccessApikeyOK) IsRedirect() bool
- func (o *PostAccessApikeyOK) IsServerError() bool
- func (o *PostAccessApikeyOK) IsSuccess() bool
- func (o *PostAccessApikeyOK) String() string
- type PostAccessApikeyParams
- func NewPostAccessApikeyParams() *PostAccessApikeyParams
- func NewPostAccessApikeyParamsWithContext(ctx context.Context) *PostAccessApikeyParams
- func NewPostAccessApikeyParamsWithHTTPClient(client *http.Client) *PostAccessApikeyParams
- func NewPostAccessApikeyParamsWithTimeout(timeout time.Duration) *PostAccessApikeyParams
- func (o *PostAccessApikeyParams) SetContext(ctx context.Context)
- func (o *PostAccessApikeyParams) SetDefaults()
- func (o *PostAccessApikeyParams) SetHTTPClient(client *http.Client)
- func (o *PostAccessApikeyParams) SetRequest(request *models.ModelsCreateAPIKeyRequest)
- func (o *PostAccessApikeyParams) SetTimeout(timeout time.Duration)
- func (o *PostAccessApikeyParams) WithContext(ctx context.Context) *PostAccessApikeyParams
- func (o *PostAccessApikeyParams) WithDefaults() *PostAccessApikeyParams
- func (o *PostAccessApikeyParams) WithHTTPClient(client *http.Client) *PostAccessApikeyParams
- func (o *PostAccessApikeyParams) WithRequest(request *models.ModelsCreateAPIKeyRequest) *PostAccessApikeyParams
- func (o *PostAccessApikeyParams) WithTimeout(timeout time.Duration) *PostAccessApikeyParams
- func (o *PostAccessApikeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccessApikeyReader
- type PostAccessApikeyUnauthorized
- func (o *PostAccessApikeyUnauthorized) Code() int
- func (o *PostAccessApikeyUnauthorized) Error() string
- func (o *PostAccessApikeyUnauthorized) GetPayload() string
- func (o *PostAccessApikeyUnauthorized) IsClientError() bool
- func (o *PostAccessApikeyUnauthorized) IsCode(code int) bool
- func (o *PostAccessApikeyUnauthorized) IsRedirect() bool
- func (o *PostAccessApikeyUnauthorized) IsServerError() bool
- func (o *PostAccessApikeyUnauthorized) IsSuccess() bool
- func (o *PostAccessApikeyUnauthorized) 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) DeleteAccessApikeyNameorid ¶
func (a *Client) DeleteAccessApikeyNameorid(params *DeleteAccessApikeyNameoridParams, opts ...ClientOption) (*DeleteAccessApikeyNameoridOK, error)
DeleteAccessApikeyNameorid Deletes an API Key given its `name` or `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 all the API Keys for the authenticated user. If the user's session is tied to an organization, only the API Keys for that organization will be returned.
func (*Client) GetAccessApikeyNameorid ¶
func (a *Client) GetAccessApikeyNameorid(params *GetAccessApikeyNameoridParams, opts ...ClientOption) (*GetAccessApikeyNameoridOK, error)
GetAccessApikeyNameorid Gets information about a specific API Key given its `name` or `id`. If the user's session is tied to an organization, the API Key must be for that organization.
func (*Client) PostAccessApikey ¶
func (a *Client) PostAccessApikey(params *PostAccessApikeyParams, opts ...ClientOption) (*PostAccessApikeyOK, error)
PostAccessApikey Creates a new API Key with the given `name` scoped to all the organizations the user is a member or owner of. If the user's session is already tied to an organization, the new 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 { DeleteAccessApikeyNameorid(params *DeleteAccessApikeyNameoridParams, opts ...ClientOption) (*DeleteAccessApikeyNameoridOK, error) GetAccessApikey(params *GetAccessApikeyParams, opts ...ClientOption) (*GetAccessApikeyOK, error) GetAccessApikeyNameorid(params *GetAccessApikeyNameoridParams, opts ...ClientOption) (*GetAccessApikeyNameoridOK, error) PostAccessApikey(params *PostAccessApikeyParams, opts ...ClientOption) (*PostAccessApikeyOK, 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 DeleteAccessApikeyNameoridInternalServerError ¶
type DeleteAccessApikeyNameoridInternalServerError struct {
Payload string
}
DeleteAccessApikeyNameoridInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAccessApikeyNameoridInternalServerError ¶
func NewDeleteAccessApikeyNameoridInternalServerError() *DeleteAccessApikeyNameoridInternalServerError
NewDeleteAccessApikeyNameoridInternalServerError creates a DeleteAccessApikeyNameoridInternalServerError with default headers values
func (*DeleteAccessApikeyNameoridInternalServerError) Code ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) Code() int
Code gets the status code for the delete access apikey nameorid internal server error response
func (*DeleteAccessApikeyNameoridInternalServerError) Error ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) Error() string
func (*DeleteAccessApikeyNameoridInternalServerError) GetPayload ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) GetPayload() string
func (*DeleteAccessApikeyNameoridInternalServerError) IsClientError ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) IsClientError() bool
IsClientError returns true when this delete access apikey nameorid internal server error response has a 4xx status code
func (*DeleteAccessApikeyNameoridInternalServerError) IsCode ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) IsCode(code int) bool
IsCode returns true when this delete access apikey nameorid internal server error response a status code equal to that given
func (*DeleteAccessApikeyNameoridInternalServerError) IsRedirect ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete access apikey nameorid internal server error response has a 3xx status code
func (*DeleteAccessApikeyNameoridInternalServerError) IsServerError ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) IsServerError() bool
IsServerError returns true when this delete access apikey nameorid internal server error response has a 5xx status code
func (*DeleteAccessApikeyNameoridInternalServerError) IsSuccess ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete access apikey nameorid internal server error response has a 2xx status code
func (*DeleteAccessApikeyNameoridInternalServerError) String ¶
func (o *DeleteAccessApikeyNameoridInternalServerError) String() string
type DeleteAccessApikeyNameoridNotFound ¶
type DeleteAccessApikeyNameoridNotFound struct {
Payload string
}
DeleteAccessApikeyNameoridNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteAccessApikeyNameoridNotFound ¶
func NewDeleteAccessApikeyNameoridNotFound() *DeleteAccessApikeyNameoridNotFound
NewDeleteAccessApikeyNameoridNotFound creates a DeleteAccessApikeyNameoridNotFound with default headers values
func (*DeleteAccessApikeyNameoridNotFound) Code ¶
func (o *DeleteAccessApikeyNameoridNotFound) Code() int
Code gets the status code for the delete access apikey nameorid not found response
func (*DeleteAccessApikeyNameoridNotFound) Error ¶
func (o *DeleteAccessApikeyNameoridNotFound) Error() string
func (*DeleteAccessApikeyNameoridNotFound) GetPayload ¶
func (o *DeleteAccessApikeyNameoridNotFound) GetPayload() string
func (*DeleteAccessApikeyNameoridNotFound) IsClientError ¶
func (o *DeleteAccessApikeyNameoridNotFound) IsClientError() bool
IsClientError returns true when this delete access apikey nameorid not found response has a 4xx status code
func (*DeleteAccessApikeyNameoridNotFound) IsCode ¶
func (o *DeleteAccessApikeyNameoridNotFound) IsCode(code int) bool
IsCode returns true when this delete access apikey nameorid not found response a status code equal to that given
func (*DeleteAccessApikeyNameoridNotFound) IsRedirect ¶
func (o *DeleteAccessApikeyNameoridNotFound) IsRedirect() bool
IsRedirect returns true when this delete access apikey nameorid not found response has a 3xx status code
func (*DeleteAccessApikeyNameoridNotFound) IsServerError ¶
func (o *DeleteAccessApikeyNameoridNotFound) IsServerError() bool
IsServerError returns true when this delete access apikey nameorid not found response has a 5xx status code
func (*DeleteAccessApikeyNameoridNotFound) IsSuccess ¶
func (o *DeleteAccessApikeyNameoridNotFound) IsSuccess() bool
IsSuccess returns true when this delete access apikey nameorid not found response has a 2xx status code
func (*DeleteAccessApikeyNameoridNotFound) String ¶
func (o *DeleteAccessApikeyNameoridNotFound) String() string
type DeleteAccessApikeyNameoridOK ¶
type DeleteAccessApikeyNameoridOK struct {
Payload string
}
DeleteAccessApikeyNameoridOK describes a response with status code 200, with default header values.
OK
func NewDeleteAccessApikeyNameoridOK ¶
func NewDeleteAccessApikeyNameoridOK() *DeleteAccessApikeyNameoridOK
NewDeleteAccessApikeyNameoridOK creates a DeleteAccessApikeyNameoridOK with default headers values
func (*DeleteAccessApikeyNameoridOK) Code ¶
func (o *DeleteAccessApikeyNameoridOK) Code() int
Code gets the status code for the delete access apikey nameorid o k response
func (*DeleteAccessApikeyNameoridOK) Error ¶
func (o *DeleteAccessApikeyNameoridOK) Error() string
func (*DeleteAccessApikeyNameoridOK) GetPayload ¶
func (o *DeleteAccessApikeyNameoridOK) GetPayload() string
func (*DeleteAccessApikeyNameoridOK) IsClientError ¶
func (o *DeleteAccessApikeyNameoridOK) IsClientError() bool
IsClientError returns true when this delete access apikey nameorid o k response has a 4xx status code
func (*DeleteAccessApikeyNameoridOK) IsCode ¶
func (o *DeleteAccessApikeyNameoridOK) IsCode(code int) bool
IsCode returns true when this delete access apikey nameorid o k response a status code equal to that given
func (*DeleteAccessApikeyNameoridOK) IsRedirect ¶
func (o *DeleteAccessApikeyNameoridOK) IsRedirect() bool
IsRedirect returns true when this delete access apikey nameorid o k response has a 3xx status code
func (*DeleteAccessApikeyNameoridOK) IsServerError ¶
func (o *DeleteAccessApikeyNameoridOK) IsServerError() bool
IsServerError returns true when this delete access apikey nameorid o k response has a 5xx status code
func (*DeleteAccessApikeyNameoridOK) IsSuccess ¶
func (o *DeleteAccessApikeyNameoridOK) IsSuccess() bool
IsSuccess returns true when this delete access apikey nameorid o k response has a 2xx status code
func (*DeleteAccessApikeyNameoridOK) String ¶
func (o *DeleteAccessApikeyNameoridOK) String() string
type DeleteAccessApikeyNameoridParams ¶
type DeleteAccessApikeyNameoridParams struct { /* Nameorid. API Key Name or ID */ Nameorid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAccessApikeyNameoridParams contains all the parameters to send to the API endpoint
for the delete access apikey nameorid operation. Typically these are written to a http.Request.
func NewDeleteAccessApikeyNameoridParams ¶
func NewDeleteAccessApikeyNameoridParams() *DeleteAccessApikeyNameoridParams
NewDeleteAccessApikeyNameoridParams creates a new DeleteAccessApikeyNameoridParams 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 NewDeleteAccessApikeyNameoridParamsWithContext ¶
func NewDeleteAccessApikeyNameoridParamsWithContext(ctx context.Context) *DeleteAccessApikeyNameoridParams
NewDeleteAccessApikeyNameoridParamsWithContext creates a new DeleteAccessApikeyNameoridParams object with the ability to set a context for a request.
func NewDeleteAccessApikeyNameoridParamsWithHTTPClient ¶
func NewDeleteAccessApikeyNameoridParamsWithHTTPClient(client *http.Client) *DeleteAccessApikeyNameoridParams
NewDeleteAccessApikeyNameoridParamsWithHTTPClient creates a new DeleteAccessApikeyNameoridParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAccessApikeyNameoridParamsWithTimeout ¶
func NewDeleteAccessApikeyNameoridParamsWithTimeout(timeout time.Duration) *DeleteAccessApikeyNameoridParams
NewDeleteAccessApikeyNameoridParamsWithTimeout creates a new DeleteAccessApikeyNameoridParams object with the ability to set a timeout on a request.
func (*DeleteAccessApikeyNameoridParams) SetContext ¶
func (o *DeleteAccessApikeyNameoridParams) SetContext(ctx context.Context)
SetContext adds the context to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) SetDefaults ¶
func (o *DeleteAccessApikeyNameoridParams) SetDefaults()
SetDefaults hydrates default values in the delete access apikey nameorid params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccessApikeyNameoridParams) SetHTTPClient ¶
func (o *DeleteAccessApikeyNameoridParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) SetNameorid ¶
func (o *DeleteAccessApikeyNameoridParams) SetNameorid(nameorid string)
SetNameorid adds the nameorid to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) SetTimeout ¶
func (o *DeleteAccessApikeyNameoridParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) WithContext ¶
func (o *DeleteAccessApikeyNameoridParams) WithContext(ctx context.Context) *DeleteAccessApikeyNameoridParams
WithContext adds the context to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) WithDefaults ¶
func (o *DeleteAccessApikeyNameoridParams) WithDefaults() *DeleteAccessApikeyNameoridParams
WithDefaults hydrates default values in the delete access apikey nameorid params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccessApikeyNameoridParams) WithHTTPClient ¶
func (o *DeleteAccessApikeyNameoridParams) WithHTTPClient(client *http.Client) *DeleteAccessApikeyNameoridParams
WithHTTPClient adds the HTTPClient to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) WithNameorid ¶
func (o *DeleteAccessApikeyNameoridParams) WithNameorid(nameorid string) *DeleteAccessApikeyNameoridParams
WithNameorid adds the nameorid to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) WithTimeout ¶
func (o *DeleteAccessApikeyNameoridParams) WithTimeout(timeout time.Duration) *DeleteAccessApikeyNameoridParams
WithTimeout adds the timeout to the delete access apikey nameorid params
func (*DeleteAccessApikeyNameoridParams) WriteToRequest ¶
func (o *DeleteAccessApikeyNameoridParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAccessApikeyNameoridReader ¶
type DeleteAccessApikeyNameoridReader struct {
// contains filtered or unexported fields
}
DeleteAccessApikeyNameoridReader is a Reader for the DeleteAccessApikeyNameorid structure.
func (*DeleteAccessApikeyNameoridReader) ReadResponse ¶
func (o *DeleteAccessApikeyNameoridReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAccessApikeyNameoridUnauthorized ¶
type DeleteAccessApikeyNameoridUnauthorized struct {
}DeleteAccessApikeyNameoridUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteAccessApikeyNameoridUnauthorized ¶
func NewDeleteAccessApikeyNameoridUnauthorized() *DeleteAccessApikeyNameoridUnauthorized
NewDeleteAccessApikeyNameoridUnauthorized creates a DeleteAccessApikeyNameoridUnauthorized with default headers values
func (*DeleteAccessApikeyNameoridUnauthorized) Code ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) Code() int
Code gets the status code for the delete access apikey nameorid unauthorized response
func (*DeleteAccessApikeyNameoridUnauthorized) Error ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) Error() string
func (*DeleteAccessApikeyNameoridUnauthorized) GetPayload ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) GetPayload() string
func (*DeleteAccessApikeyNameoridUnauthorized) IsClientError ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) IsClientError() bool
IsClientError returns true when this delete access apikey nameorid unauthorized response has a 4xx status code
func (*DeleteAccessApikeyNameoridUnauthorized) IsCode ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) IsCode(code int) bool
IsCode returns true when this delete access apikey nameorid unauthorized response a status code equal to that given
func (*DeleteAccessApikeyNameoridUnauthorized) IsRedirect ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete access apikey nameorid unauthorized response has a 3xx status code
func (*DeleteAccessApikeyNameoridUnauthorized) IsServerError ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) IsServerError() bool
IsServerError returns true when this delete access apikey nameorid unauthorized response has a 5xx status code
func (*DeleteAccessApikeyNameoridUnauthorized) IsSuccess ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete access apikey nameorid unauthorized response has a 2xx status code
func (*DeleteAccessApikeyNameoridUnauthorized) String ¶
func (o *DeleteAccessApikeyNameoridUnauthorized) 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 GetAccessApikeyNameoridInternalServerError ¶
type GetAccessApikeyNameoridInternalServerError struct {
Payload string
}
GetAccessApikeyNameoridInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAccessApikeyNameoridInternalServerError ¶
func NewGetAccessApikeyNameoridInternalServerError() *GetAccessApikeyNameoridInternalServerError
NewGetAccessApikeyNameoridInternalServerError creates a GetAccessApikeyNameoridInternalServerError with default headers values
func (*GetAccessApikeyNameoridInternalServerError) Code ¶
func (o *GetAccessApikeyNameoridInternalServerError) Code() int
Code gets the status code for the get access apikey nameorid internal server error response
func (*GetAccessApikeyNameoridInternalServerError) Error ¶
func (o *GetAccessApikeyNameoridInternalServerError) Error() string
func (*GetAccessApikeyNameoridInternalServerError) GetPayload ¶
func (o *GetAccessApikeyNameoridInternalServerError) GetPayload() string
func (*GetAccessApikeyNameoridInternalServerError) IsClientError ¶
func (o *GetAccessApikeyNameoridInternalServerError) IsClientError() bool
IsClientError returns true when this get access apikey nameorid internal server error response has a 4xx status code
func (*GetAccessApikeyNameoridInternalServerError) IsCode ¶
func (o *GetAccessApikeyNameoridInternalServerError) IsCode(code int) bool
IsCode returns true when this get access apikey nameorid internal server error response a status code equal to that given
func (*GetAccessApikeyNameoridInternalServerError) IsRedirect ¶
func (o *GetAccessApikeyNameoridInternalServerError) IsRedirect() bool
IsRedirect returns true when this get access apikey nameorid internal server error response has a 3xx status code
func (*GetAccessApikeyNameoridInternalServerError) IsServerError ¶
func (o *GetAccessApikeyNameoridInternalServerError) IsServerError() bool
IsServerError returns true when this get access apikey nameorid internal server error response has a 5xx status code
func (*GetAccessApikeyNameoridInternalServerError) IsSuccess ¶
func (o *GetAccessApikeyNameoridInternalServerError) IsSuccess() bool
IsSuccess returns true when this get access apikey nameorid internal server error response has a 2xx status code
func (*GetAccessApikeyNameoridInternalServerError) String ¶
func (o *GetAccessApikeyNameoridInternalServerError) String() string
type GetAccessApikeyNameoridNotFound ¶
type GetAccessApikeyNameoridNotFound struct {
Payload string
}
GetAccessApikeyNameoridNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAccessApikeyNameoridNotFound ¶
func NewGetAccessApikeyNameoridNotFound() *GetAccessApikeyNameoridNotFound
NewGetAccessApikeyNameoridNotFound creates a GetAccessApikeyNameoridNotFound with default headers values
func (*GetAccessApikeyNameoridNotFound) Code ¶
func (o *GetAccessApikeyNameoridNotFound) Code() int
Code gets the status code for the get access apikey nameorid not found response
func (*GetAccessApikeyNameoridNotFound) Error ¶
func (o *GetAccessApikeyNameoridNotFound) Error() string
func (*GetAccessApikeyNameoridNotFound) GetPayload ¶
func (o *GetAccessApikeyNameoridNotFound) GetPayload() string
func (*GetAccessApikeyNameoridNotFound) IsClientError ¶
func (o *GetAccessApikeyNameoridNotFound) IsClientError() bool
IsClientError returns true when this get access apikey nameorid not found response has a 4xx status code
func (*GetAccessApikeyNameoridNotFound) IsCode ¶
func (o *GetAccessApikeyNameoridNotFound) IsCode(code int) bool
IsCode returns true when this get access apikey nameorid not found response a status code equal to that given
func (*GetAccessApikeyNameoridNotFound) IsRedirect ¶
func (o *GetAccessApikeyNameoridNotFound) IsRedirect() bool
IsRedirect returns true when this get access apikey nameorid not found response has a 3xx status code
func (*GetAccessApikeyNameoridNotFound) IsServerError ¶
func (o *GetAccessApikeyNameoridNotFound) IsServerError() bool
IsServerError returns true when this get access apikey nameorid not found response has a 5xx status code
func (*GetAccessApikeyNameoridNotFound) IsSuccess ¶
func (o *GetAccessApikeyNameoridNotFound) IsSuccess() bool
IsSuccess returns true when this get access apikey nameorid not found response has a 2xx status code
func (*GetAccessApikeyNameoridNotFound) String ¶
func (o *GetAccessApikeyNameoridNotFound) String() string
type GetAccessApikeyNameoridOK ¶
type GetAccessApikeyNameoridOK struct {
Payload *models.ModelsGetAPIKeyResponse
}
GetAccessApikeyNameoridOK describes a response with status code 200, with default header values.
OK
func NewGetAccessApikeyNameoridOK ¶
func NewGetAccessApikeyNameoridOK() *GetAccessApikeyNameoridOK
NewGetAccessApikeyNameoridOK creates a GetAccessApikeyNameoridOK with default headers values
func (*GetAccessApikeyNameoridOK) Code ¶
func (o *GetAccessApikeyNameoridOK) Code() int
Code gets the status code for the get access apikey nameorid o k response
func (*GetAccessApikeyNameoridOK) Error ¶
func (o *GetAccessApikeyNameoridOK) Error() string
func (*GetAccessApikeyNameoridOK) GetPayload ¶
func (o *GetAccessApikeyNameoridOK) GetPayload() *models.ModelsGetAPIKeyResponse
func (*GetAccessApikeyNameoridOK) IsClientError ¶
func (o *GetAccessApikeyNameoridOK) IsClientError() bool
IsClientError returns true when this get access apikey nameorid o k response has a 4xx status code
func (*GetAccessApikeyNameoridOK) IsCode ¶
func (o *GetAccessApikeyNameoridOK) IsCode(code int) bool
IsCode returns true when this get access apikey nameorid o k response a status code equal to that given
func (*GetAccessApikeyNameoridOK) IsRedirect ¶
func (o *GetAccessApikeyNameoridOK) IsRedirect() bool
IsRedirect returns true when this get access apikey nameorid o k response has a 3xx status code
func (*GetAccessApikeyNameoridOK) IsServerError ¶
func (o *GetAccessApikeyNameoridOK) IsServerError() bool
IsServerError returns true when this get access apikey nameorid o k response has a 5xx status code
func (*GetAccessApikeyNameoridOK) IsSuccess ¶
func (o *GetAccessApikeyNameoridOK) IsSuccess() bool
IsSuccess returns true when this get access apikey nameorid o k response has a 2xx status code
func (*GetAccessApikeyNameoridOK) String ¶
func (o *GetAccessApikeyNameoridOK) String() string
type GetAccessApikeyNameoridParams ¶
type GetAccessApikeyNameoridParams struct { /* Nameorid. API Key Name or ID */ Nameorid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessApikeyNameoridParams contains all the parameters to send to the API endpoint
for the get access apikey nameorid operation. Typically these are written to a http.Request.
func NewGetAccessApikeyNameoridParams ¶
func NewGetAccessApikeyNameoridParams() *GetAccessApikeyNameoridParams
NewGetAccessApikeyNameoridParams creates a new GetAccessApikeyNameoridParams 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 NewGetAccessApikeyNameoridParamsWithContext ¶
func NewGetAccessApikeyNameoridParamsWithContext(ctx context.Context) *GetAccessApikeyNameoridParams
NewGetAccessApikeyNameoridParamsWithContext creates a new GetAccessApikeyNameoridParams object with the ability to set a context for a request.
func NewGetAccessApikeyNameoridParamsWithHTTPClient ¶
func NewGetAccessApikeyNameoridParamsWithHTTPClient(client *http.Client) *GetAccessApikeyNameoridParams
NewGetAccessApikeyNameoridParamsWithHTTPClient creates a new GetAccessApikeyNameoridParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccessApikeyNameoridParamsWithTimeout ¶
func NewGetAccessApikeyNameoridParamsWithTimeout(timeout time.Duration) *GetAccessApikeyNameoridParams
NewGetAccessApikeyNameoridParamsWithTimeout creates a new GetAccessApikeyNameoridParams object with the ability to set a timeout on a request.
func (*GetAccessApikeyNameoridParams) SetContext ¶
func (o *GetAccessApikeyNameoridParams) SetContext(ctx context.Context)
SetContext adds the context to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) SetDefaults ¶
func (o *GetAccessApikeyNameoridParams) SetDefaults()
SetDefaults hydrates default values in the get access apikey nameorid params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessApikeyNameoridParams) SetHTTPClient ¶
func (o *GetAccessApikeyNameoridParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) SetNameorid ¶
func (o *GetAccessApikeyNameoridParams) SetNameorid(nameorid string)
SetNameorid adds the nameorid to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) SetTimeout ¶
func (o *GetAccessApikeyNameoridParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) WithContext ¶
func (o *GetAccessApikeyNameoridParams) WithContext(ctx context.Context) *GetAccessApikeyNameoridParams
WithContext adds the context to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) WithDefaults ¶
func (o *GetAccessApikeyNameoridParams) WithDefaults() *GetAccessApikeyNameoridParams
WithDefaults hydrates default values in the get access apikey nameorid params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessApikeyNameoridParams) WithHTTPClient ¶
func (o *GetAccessApikeyNameoridParams) WithHTTPClient(client *http.Client) *GetAccessApikeyNameoridParams
WithHTTPClient adds the HTTPClient to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) WithNameorid ¶
func (o *GetAccessApikeyNameoridParams) WithNameorid(nameorid string) *GetAccessApikeyNameoridParams
WithNameorid adds the nameorid to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) WithTimeout ¶
func (o *GetAccessApikeyNameoridParams) WithTimeout(timeout time.Duration) *GetAccessApikeyNameoridParams
WithTimeout adds the timeout to the get access apikey nameorid params
func (*GetAccessApikeyNameoridParams) WriteToRequest ¶
func (o *GetAccessApikeyNameoridParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessApikeyNameoridReader ¶
type GetAccessApikeyNameoridReader struct {
// contains filtered or unexported fields
}
GetAccessApikeyNameoridReader is a Reader for the GetAccessApikeyNameorid structure.
func (*GetAccessApikeyNameoridReader) ReadResponse ¶
func (o *GetAccessApikeyNameoridReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessApikeyNameoridUnauthorized ¶
type GetAccessApikeyNameoridUnauthorized struct {
}GetAccessApikeyNameoridUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccessApikeyNameoridUnauthorized ¶
func NewGetAccessApikeyNameoridUnauthorized() *GetAccessApikeyNameoridUnauthorized
NewGetAccessApikeyNameoridUnauthorized creates a GetAccessApikeyNameoridUnauthorized with default headers values
func (*GetAccessApikeyNameoridUnauthorized) Code ¶
func (o *GetAccessApikeyNameoridUnauthorized) Code() int
Code gets the status code for the get access apikey nameorid unauthorized response
func (*GetAccessApikeyNameoridUnauthorized) Error ¶
func (o *GetAccessApikeyNameoridUnauthorized) Error() string
func (*GetAccessApikeyNameoridUnauthorized) GetPayload ¶
func (o *GetAccessApikeyNameoridUnauthorized) GetPayload() string
func (*GetAccessApikeyNameoridUnauthorized) IsClientError ¶
func (o *GetAccessApikeyNameoridUnauthorized) IsClientError() bool
IsClientError returns true when this get access apikey nameorid unauthorized response has a 4xx status code
func (*GetAccessApikeyNameoridUnauthorized) IsCode ¶
func (o *GetAccessApikeyNameoridUnauthorized) IsCode(code int) bool
IsCode returns true when this get access apikey nameorid unauthorized response a status code equal to that given
func (*GetAccessApikeyNameoridUnauthorized) IsRedirect ¶
func (o *GetAccessApikeyNameoridUnauthorized) IsRedirect() bool
IsRedirect returns true when this get access apikey nameorid unauthorized response has a 3xx status code
func (*GetAccessApikeyNameoridUnauthorized) IsServerError ¶
func (o *GetAccessApikeyNameoridUnauthorized) IsServerError() bool
IsServerError returns true when this get access apikey nameorid unauthorized response has a 5xx status code
func (*GetAccessApikeyNameoridUnauthorized) IsSuccess ¶
func (o *GetAccessApikeyNameoridUnauthorized) IsSuccess() bool
IsSuccess returns true when this get access apikey nameorid unauthorized response has a 2xx status code
func (*GetAccessApikeyNameoridUnauthorized) String ¶
func (o *GetAccessApikeyNameoridUnauthorized) 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 PostAccessApikeyBadRequest ¶
type PostAccessApikeyBadRequest struct {
Payload string
}
PostAccessApikeyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAccessApikeyBadRequest ¶
func NewPostAccessApikeyBadRequest() *PostAccessApikeyBadRequest
NewPostAccessApikeyBadRequest creates a PostAccessApikeyBadRequest with default headers values
func (*PostAccessApikeyBadRequest) Code ¶
func (o *PostAccessApikeyBadRequest) Code() int
Code gets the status code for the post access apikey bad request response
func (*PostAccessApikeyBadRequest) Error ¶
func (o *PostAccessApikeyBadRequest) Error() string
func (*PostAccessApikeyBadRequest) GetPayload ¶
func (o *PostAccessApikeyBadRequest) GetPayload() string
func (*PostAccessApikeyBadRequest) IsClientError ¶
func (o *PostAccessApikeyBadRequest) IsClientError() bool
IsClientError returns true when this post access apikey bad request response has a 4xx status code
func (*PostAccessApikeyBadRequest) IsCode ¶
func (o *PostAccessApikeyBadRequest) IsCode(code int) bool
IsCode returns true when this post access apikey bad request response a status code equal to that given
func (*PostAccessApikeyBadRequest) IsRedirect ¶
func (o *PostAccessApikeyBadRequest) IsRedirect() bool
IsRedirect returns true when this post access apikey bad request response has a 3xx status code
func (*PostAccessApikeyBadRequest) IsServerError ¶
func (o *PostAccessApikeyBadRequest) IsServerError() bool
IsServerError returns true when this post access apikey bad request response has a 5xx status code
func (*PostAccessApikeyBadRequest) IsSuccess ¶
func (o *PostAccessApikeyBadRequest) IsSuccess() bool
IsSuccess returns true when this post access apikey bad request response has a 2xx status code
func (*PostAccessApikeyBadRequest) String ¶
func (o *PostAccessApikeyBadRequest) String() string
type PostAccessApikeyInternalServerError ¶
type PostAccessApikeyInternalServerError struct {
Payload string
}
PostAccessApikeyInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAccessApikeyInternalServerError ¶
func NewPostAccessApikeyInternalServerError() *PostAccessApikeyInternalServerError
NewPostAccessApikeyInternalServerError creates a PostAccessApikeyInternalServerError with default headers values
func (*PostAccessApikeyInternalServerError) Code ¶
func (o *PostAccessApikeyInternalServerError) Code() int
Code gets the status code for the post access apikey internal server error response
func (*PostAccessApikeyInternalServerError) Error ¶
func (o *PostAccessApikeyInternalServerError) Error() string
func (*PostAccessApikeyInternalServerError) GetPayload ¶
func (o *PostAccessApikeyInternalServerError) GetPayload() string
func (*PostAccessApikeyInternalServerError) IsClientError ¶
func (o *PostAccessApikeyInternalServerError) IsClientError() bool
IsClientError returns true when this post access apikey internal server error response has a 4xx status code
func (*PostAccessApikeyInternalServerError) IsCode ¶
func (o *PostAccessApikeyInternalServerError) IsCode(code int) bool
IsCode returns true when this post access apikey internal server error response a status code equal to that given
func (*PostAccessApikeyInternalServerError) IsRedirect ¶
func (o *PostAccessApikeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this post access apikey internal server error response has a 3xx status code
func (*PostAccessApikeyInternalServerError) IsServerError ¶
func (o *PostAccessApikeyInternalServerError) IsServerError() bool
IsServerError returns true when this post access apikey internal server error response has a 5xx status code
func (*PostAccessApikeyInternalServerError) IsSuccess ¶
func (o *PostAccessApikeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this post access apikey internal server error response has a 2xx status code
func (*PostAccessApikeyInternalServerError) String ¶
func (o *PostAccessApikeyInternalServerError) String() string
type PostAccessApikeyOK ¶
type PostAccessApikeyOK struct {
Payload *models.ModelsCreateAPIKeyResponse
}
PostAccessApikeyOK describes a response with status code 200, with default header values.
OK
func NewPostAccessApikeyOK ¶
func NewPostAccessApikeyOK() *PostAccessApikeyOK
NewPostAccessApikeyOK creates a PostAccessApikeyOK with default headers values
func (*PostAccessApikeyOK) Code ¶
func (o *PostAccessApikeyOK) Code() int
Code gets the status code for the post access apikey o k response
func (*PostAccessApikeyOK) Error ¶
func (o *PostAccessApikeyOK) Error() string
func (*PostAccessApikeyOK) GetPayload ¶
func (o *PostAccessApikeyOK) GetPayload() *models.ModelsCreateAPIKeyResponse
func (*PostAccessApikeyOK) IsClientError ¶
func (o *PostAccessApikeyOK) IsClientError() bool
IsClientError returns true when this post access apikey o k response has a 4xx status code
func (*PostAccessApikeyOK) IsCode ¶
func (o *PostAccessApikeyOK) IsCode(code int) bool
IsCode returns true when this post access apikey o k response a status code equal to that given
func (*PostAccessApikeyOK) IsRedirect ¶
func (o *PostAccessApikeyOK) IsRedirect() bool
IsRedirect returns true when this post access apikey o k response has a 3xx status code
func (*PostAccessApikeyOK) IsServerError ¶
func (o *PostAccessApikeyOK) IsServerError() bool
IsServerError returns true when this post access apikey o k response has a 5xx status code
func (*PostAccessApikeyOK) IsSuccess ¶
func (o *PostAccessApikeyOK) IsSuccess() bool
IsSuccess returns true when this post access apikey o k response has a 2xx status code
func (*PostAccessApikeyOK) String ¶
func (o *PostAccessApikeyOK) String() string
type PostAccessApikeyParams ¶
type PostAccessApikeyParams struct { /* Request. Create API Key Request */ Request *models.ModelsCreateAPIKeyRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAccessApikeyParams contains all the parameters to send to the API endpoint
for the post access apikey operation. Typically these are written to a http.Request.
func NewPostAccessApikeyParams ¶
func NewPostAccessApikeyParams() *PostAccessApikeyParams
NewPostAccessApikeyParams creates a new PostAccessApikeyParams 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 NewPostAccessApikeyParamsWithContext ¶
func NewPostAccessApikeyParamsWithContext(ctx context.Context) *PostAccessApikeyParams
NewPostAccessApikeyParamsWithContext creates a new PostAccessApikeyParams object with the ability to set a context for a request.
func NewPostAccessApikeyParamsWithHTTPClient ¶
func NewPostAccessApikeyParamsWithHTTPClient(client *http.Client) *PostAccessApikeyParams
NewPostAccessApikeyParamsWithHTTPClient creates a new PostAccessApikeyParams object with the ability to set a custom HTTPClient for a request.
func NewPostAccessApikeyParamsWithTimeout ¶
func NewPostAccessApikeyParamsWithTimeout(timeout time.Duration) *PostAccessApikeyParams
NewPostAccessApikeyParamsWithTimeout creates a new PostAccessApikeyParams object with the ability to set a timeout on a request.
func (*PostAccessApikeyParams) SetContext ¶
func (o *PostAccessApikeyParams) SetContext(ctx context.Context)
SetContext adds the context to the post access apikey params
func (*PostAccessApikeyParams) SetDefaults ¶
func (o *PostAccessApikeyParams) SetDefaults()
SetDefaults hydrates default values in the post access apikey params (not the query body).
All values with no default are reset to their zero value.
func (*PostAccessApikeyParams) SetHTTPClient ¶
func (o *PostAccessApikeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post access apikey params
func (*PostAccessApikeyParams) SetRequest ¶
func (o *PostAccessApikeyParams) SetRequest(request *models.ModelsCreateAPIKeyRequest)
SetRequest adds the request to the post access apikey params
func (*PostAccessApikeyParams) SetTimeout ¶
func (o *PostAccessApikeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post access apikey params
func (*PostAccessApikeyParams) WithContext ¶
func (o *PostAccessApikeyParams) WithContext(ctx context.Context) *PostAccessApikeyParams
WithContext adds the context to the post access apikey params
func (*PostAccessApikeyParams) WithDefaults ¶
func (o *PostAccessApikeyParams) WithDefaults() *PostAccessApikeyParams
WithDefaults hydrates default values in the post access apikey params (not the query body).
All values with no default are reset to their zero value.
func (*PostAccessApikeyParams) WithHTTPClient ¶
func (o *PostAccessApikeyParams) WithHTTPClient(client *http.Client) *PostAccessApikeyParams
WithHTTPClient adds the HTTPClient to the post access apikey params
func (*PostAccessApikeyParams) WithRequest ¶
func (o *PostAccessApikeyParams) WithRequest(request *models.ModelsCreateAPIKeyRequest) *PostAccessApikeyParams
WithRequest adds the request to the post access apikey params
func (*PostAccessApikeyParams) WithTimeout ¶
func (o *PostAccessApikeyParams) WithTimeout(timeout time.Duration) *PostAccessApikeyParams
WithTimeout adds the timeout to the post access apikey params
func (*PostAccessApikeyParams) WriteToRequest ¶
func (o *PostAccessApikeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAccessApikeyReader ¶
type PostAccessApikeyReader struct {
// contains filtered or unexported fields
}
PostAccessApikeyReader is a Reader for the PostAccessApikey structure.
func (*PostAccessApikeyReader) ReadResponse ¶
func (o *PostAccessApikeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAccessApikeyUnauthorized ¶
type PostAccessApikeyUnauthorized struct {
}PostAccessApikeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostAccessApikeyUnauthorized ¶
func NewPostAccessApikeyUnauthorized() *PostAccessApikeyUnauthorized
NewPostAccessApikeyUnauthorized creates a PostAccessApikeyUnauthorized with default headers values
func (*PostAccessApikeyUnauthorized) Code ¶
func (o *PostAccessApikeyUnauthorized) Code() int
Code gets the status code for the post access apikey unauthorized response
func (*PostAccessApikeyUnauthorized) Error ¶
func (o *PostAccessApikeyUnauthorized) Error() string
func (*PostAccessApikeyUnauthorized) GetPayload ¶
func (o *PostAccessApikeyUnauthorized) GetPayload() string
func (*PostAccessApikeyUnauthorized) IsClientError ¶
func (o *PostAccessApikeyUnauthorized) IsClientError() bool
IsClientError returns true when this post access apikey unauthorized response has a 4xx status code
func (*PostAccessApikeyUnauthorized) IsCode ¶
func (o *PostAccessApikeyUnauthorized) IsCode(code int) bool
IsCode returns true when this post access apikey unauthorized response a status code equal to that given
func (*PostAccessApikeyUnauthorized) IsRedirect ¶
func (o *PostAccessApikeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this post access apikey unauthorized response has a 3xx status code
func (*PostAccessApikeyUnauthorized) IsServerError ¶
func (o *PostAccessApikeyUnauthorized) IsServerError() bool
IsServerError returns true when this post access apikey unauthorized response has a 5xx status code
func (*PostAccessApikeyUnauthorized) IsSuccess ¶
func (o *PostAccessApikeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this post access apikey unauthorized response has a 2xx status code
func (*PostAccessApikeyUnauthorized) String ¶
func (o *PostAccessApikeyUnauthorized) String() string
Source Files ¶
- access_client.go
- delete_access_apikey_nameorid_parameters.go
- delete_access_apikey_nameorid_responses.go
- get_access_apikey_nameorid_parameters.go
- get_access_apikey_nameorid_responses.go
- get_access_apikey_parameters.go
- get_access_apikey_responses.go
- post_access_apikey_parameters.go
- post_access_apikey_responses.go