Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateAPIKey(params *CreateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAPIKeyCreated, error)
- func (a *Client) CreateAPIKeyContext(ctx context.Context, params *CreateAPIKeyParams, ...) (*CreateAPIKeyCreated, error)
- func (a *Client) CreateAccountSSHKey(params *CreateAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAccountSSHKeyCreated, error)
- func (a *Client) CreateAccountSSHKeyContext(ctx context.Context, params *CreateAccountSSHKeyParams, ...) (*CreateAccountSSHKeyCreated, error)
- func (a *Client) DeleteAccountSSHKey(params *DeleteAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAccountSSHKeyOK, error)
- func (a *Client) DeleteAccountSSHKeyContext(ctx context.Context, params *DeleteAccountSSHKeyParams, ...) (*DeleteAccountSSHKeyOK, error)
- func (a *Client) ListAPIKeys(params *ListAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAPIKeysOK, error)
- func (a *Client) ListAPIKeysContext(ctx context.Context, params *ListAPIKeysParams, ...) (*ListAPIKeysOK, error)
- func (a *Client) ListAccountSSHKeys(params *ListAccountSSHKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAccountSSHKeysOK, error)
- func (a *Client) ListAccountSSHKeysContext(ctx context.Context, params *ListAccountSSHKeysParams, ...) (*ListAccountSSHKeysOK, error)
- func (a *Client) ListOrgHosts(params *ListOrgHostsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOrgHostsOK, error)
- func (a *Client) ListOrgHostsContext(ctx context.Context, params *ListOrgHostsParams, ...) (*ListOrgHostsOK, error)
- func (a *Client) RevokeAPIKey(params *RevokeAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeAPIKeyOK, error)
- func (a *Client) RevokeAPIKeyContext(ctx context.Context, params *RevokeAPIKeyParams, ...) (*RevokeAPIKeyOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- func (a *Client) UpdateAccount(params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAccountOK, error)
- func (a *Client) UpdateAccountContext(ctx context.Context, params *UpdateAccountParams, ...) (*UpdateAccountOK, error)
- func (a *Client) Whoami(params *WhoamiParams, authInfo runtime.ClientAuthInfoWriter, ...) (*WhoamiOK, error)
- func (a *Client) WhoamiContext(ctx context.Context, params *WhoamiParams, ...) (*WhoamiOK, error)
- type ClientOption
- type ClientService
- type CreateAPIKeyBadRequest
- func (o *CreateAPIKeyBadRequest) Code() int
- func (o *CreateAPIKeyBadRequest) Error() string
- func (o *CreateAPIKeyBadRequest) GetPayload() *models.Error
- func (o *CreateAPIKeyBadRequest) IsClientError() bool
- func (o *CreateAPIKeyBadRequest) IsCode(code int) bool
- func (o *CreateAPIKeyBadRequest) IsRedirect() bool
- func (o *CreateAPIKeyBadRequest) IsServerError() bool
- func (o *CreateAPIKeyBadRequest) IsSuccess() bool
- func (o *CreateAPIKeyBadRequest) String() string
- type CreateAPIKeyCreated
- func (o *CreateAPIKeyCreated) Code() int
- func (o *CreateAPIKeyCreated) Error() string
- func (o *CreateAPIKeyCreated) GetPayload() *models.APICreatedAPIKeyView
- func (o *CreateAPIKeyCreated) IsClientError() bool
- func (o *CreateAPIKeyCreated) IsCode(code int) bool
- func (o *CreateAPIKeyCreated) IsRedirect() bool
- func (o *CreateAPIKeyCreated) IsServerError() bool
- func (o *CreateAPIKeyCreated) IsSuccess() bool
- func (o *CreateAPIKeyCreated) String() string
- type CreateAPIKeyParams
- func NewCreateAPIKeyParams() *CreateAPIKeyParams
- func NewCreateAPIKeyParamsWithContext(ctx context.Context) *CreateAPIKeyParamsdeprecated
- func NewCreateAPIKeyParamsWithHTTPClient(client *http.Client) *CreateAPIKeyParams
- func NewCreateAPIKeyParamsWithTimeout(timeout time.Duration) *CreateAPIKeyParams
- func (o *CreateAPIKeyParams) SetContext(ctx context.Context)deprecated
- func (o *CreateAPIKeyParams) SetDefaults()
- func (o *CreateAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *CreateAPIKeyParams) SetRequest(request *models.CreateAPIKeyPayload)
- func (o *CreateAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *CreateAPIKeyParams) WithContext(ctx context.Context) *CreateAPIKeyParamsdeprecated
- func (o *CreateAPIKeyParams) WithDefaults() *CreateAPIKeyParams
- func (o *CreateAPIKeyParams) WithHTTPClient(client *http.Client) *CreateAPIKeyParams
- func (o *CreateAPIKeyParams) WithRequest(request *models.CreateAPIKeyPayload) *CreateAPIKeyParams
- func (o *CreateAPIKeyParams) WithTimeout(timeout time.Duration) *CreateAPIKeyParams
- func (o *CreateAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAPIKeyReader
- type CreateAPIKeyUnauthorized
- func (o *CreateAPIKeyUnauthorized) Code() int
- func (o *CreateAPIKeyUnauthorized) Error() string
- func (o *CreateAPIKeyUnauthorized) GetPayload() *models.Error
- func (o *CreateAPIKeyUnauthorized) IsClientError() bool
- func (o *CreateAPIKeyUnauthorized) IsCode(code int) bool
- func (o *CreateAPIKeyUnauthorized) IsRedirect() bool
- func (o *CreateAPIKeyUnauthorized) IsServerError() bool
- func (o *CreateAPIKeyUnauthorized) IsSuccess() bool
- func (o *CreateAPIKeyUnauthorized) String() string
- type CreateAccountSSHKeyBadRequest
- func (o *CreateAccountSSHKeyBadRequest) Code() int
- func (o *CreateAccountSSHKeyBadRequest) Error() string
- func (o *CreateAccountSSHKeyBadRequest) GetPayload() *models.Error
- func (o *CreateAccountSSHKeyBadRequest) IsClientError() bool
- func (o *CreateAccountSSHKeyBadRequest) IsCode(code int) bool
- func (o *CreateAccountSSHKeyBadRequest) IsRedirect() bool
- func (o *CreateAccountSSHKeyBadRequest) IsServerError() bool
- func (o *CreateAccountSSHKeyBadRequest) IsSuccess() bool
- func (o *CreateAccountSSHKeyBadRequest) String() string
- type CreateAccountSSHKeyCreated
- func (o *CreateAccountSSHKeyCreated) Code() int
- func (o *CreateAccountSSHKeyCreated) Error() string
- func (o *CreateAccountSSHKeyCreated) GetPayload() *models.APISSHKeyView
- func (o *CreateAccountSSHKeyCreated) IsClientError() bool
- func (o *CreateAccountSSHKeyCreated) IsCode(code int) bool
- func (o *CreateAccountSSHKeyCreated) IsRedirect() bool
- func (o *CreateAccountSSHKeyCreated) IsServerError() bool
- func (o *CreateAccountSSHKeyCreated) IsSuccess() bool
- func (o *CreateAccountSSHKeyCreated) String() string
- type CreateAccountSSHKeyParams
- func NewCreateAccountSSHKeyParams() *CreateAccountSSHKeyParams
- func NewCreateAccountSSHKeyParamsWithContext(ctx context.Context) *CreateAccountSSHKeyParamsdeprecated
- func NewCreateAccountSSHKeyParamsWithHTTPClient(client *http.Client) *CreateAccountSSHKeyParams
- func NewCreateAccountSSHKeyParamsWithTimeout(timeout time.Duration) *CreateAccountSSHKeyParams
- func (o *CreateAccountSSHKeyParams) SetContext(ctx context.Context)deprecated
- func (o *CreateAccountSSHKeyParams) SetDefaults()
- func (o *CreateAccountSSHKeyParams) SetHTTPClient(client *http.Client)
- func (o *CreateAccountSSHKeyParams) SetRequest(request *models.CreateSSHKeyPayload)
- func (o *CreateAccountSSHKeyParams) SetTimeout(timeout time.Duration)
- func (o *CreateAccountSSHKeyParams) WithContext(ctx context.Context) *CreateAccountSSHKeyParamsdeprecated
- func (o *CreateAccountSSHKeyParams) WithDefaults() *CreateAccountSSHKeyParams
- func (o *CreateAccountSSHKeyParams) WithHTTPClient(client *http.Client) *CreateAccountSSHKeyParams
- func (o *CreateAccountSSHKeyParams) WithRequest(request *models.CreateSSHKeyPayload) *CreateAccountSSHKeyParams
- func (o *CreateAccountSSHKeyParams) WithTimeout(timeout time.Duration) *CreateAccountSSHKeyParams
- func (o *CreateAccountSSHKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAccountSSHKeyReader
- type CreateAccountSSHKeyUnauthorized
- func (o *CreateAccountSSHKeyUnauthorized) Code() int
- func (o *CreateAccountSSHKeyUnauthorized) Error() string
- func (o *CreateAccountSSHKeyUnauthorized) GetPayload() *models.Error
- func (o *CreateAccountSSHKeyUnauthorized) IsClientError() bool
- func (o *CreateAccountSSHKeyUnauthorized) IsCode(code int) bool
- func (o *CreateAccountSSHKeyUnauthorized) IsRedirect() bool
- func (o *CreateAccountSSHKeyUnauthorized) IsServerError() bool
- func (o *CreateAccountSSHKeyUnauthorized) IsSuccess() bool
- func (o *CreateAccountSSHKeyUnauthorized) String() string
- type DeleteAccountSSHKeyBadRequest
- func (o *DeleteAccountSSHKeyBadRequest) Code() int
- func (o *DeleteAccountSSHKeyBadRequest) Error() string
- func (o *DeleteAccountSSHKeyBadRequest) GetPayload() *models.Error
- func (o *DeleteAccountSSHKeyBadRequest) IsClientError() bool
- func (o *DeleteAccountSSHKeyBadRequest) IsCode(code int) bool
- func (o *DeleteAccountSSHKeyBadRequest) IsRedirect() bool
- func (o *DeleteAccountSSHKeyBadRequest) IsServerError() bool
- func (o *DeleteAccountSSHKeyBadRequest) IsSuccess() bool
- func (o *DeleteAccountSSHKeyBadRequest) String() string
- type DeleteAccountSSHKeyOK
- func (o *DeleteAccountSSHKeyOK) Code() int
- func (o *DeleteAccountSSHKeyOK) Error() string
- func (o *DeleteAccountSSHKeyOK) GetPayload() *models.APISSHKeyView
- func (o *DeleteAccountSSHKeyOK) IsClientError() bool
- func (o *DeleteAccountSSHKeyOK) IsCode(code int) bool
- func (o *DeleteAccountSSHKeyOK) IsRedirect() bool
- func (o *DeleteAccountSSHKeyOK) IsServerError() bool
- func (o *DeleteAccountSSHKeyOK) IsSuccess() bool
- func (o *DeleteAccountSSHKeyOK) String() string
- type DeleteAccountSSHKeyParams
- func NewDeleteAccountSSHKeyParams() *DeleteAccountSSHKeyParams
- func NewDeleteAccountSSHKeyParamsWithContext(ctx context.Context) *DeleteAccountSSHKeyParamsdeprecated
- func NewDeleteAccountSSHKeyParamsWithHTTPClient(client *http.Client) *DeleteAccountSSHKeyParams
- func NewDeleteAccountSSHKeyParamsWithTimeout(timeout time.Duration) *DeleteAccountSSHKeyParams
- func (o *DeleteAccountSSHKeyParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteAccountSSHKeyParams) SetDefaults()
- func (o *DeleteAccountSSHKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccountSSHKeyParams) SetID(id string)
- func (o *DeleteAccountSSHKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAccountSSHKeyParams) WithContext(ctx context.Context) *DeleteAccountSSHKeyParamsdeprecated
- func (o *DeleteAccountSSHKeyParams) WithDefaults() *DeleteAccountSSHKeyParams
- func (o *DeleteAccountSSHKeyParams) WithHTTPClient(client *http.Client) *DeleteAccountSSHKeyParams
- func (o *DeleteAccountSSHKeyParams) WithID(id string) *DeleteAccountSSHKeyParams
- func (o *DeleteAccountSSHKeyParams) WithTimeout(timeout time.Duration) *DeleteAccountSSHKeyParams
- func (o *DeleteAccountSSHKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccountSSHKeyReader
- type DeleteAccountSSHKeyUnauthorized
- func (o *DeleteAccountSSHKeyUnauthorized) Code() int
- func (o *DeleteAccountSSHKeyUnauthorized) Error() string
- func (o *DeleteAccountSSHKeyUnauthorized) GetPayload() *models.Error
- func (o *DeleteAccountSSHKeyUnauthorized) IsClientError() bool
- func (o *DeleteAccountSSHKeyUnauthorized) IsCode(code int) bool
- func (o *DeleteAccountSSHKeyUnauthorized) IsRedirect() bool
- func (o *DeleteAccountSSHKeyUnauthorized) IsServerError() bool
- func (o *DeleteAccountSSHKeyUnauthorized) IsSuccess() bool
- func (o *DeleteAccountSSHKeyUnauthorized) String() string
- type ListAPIKeysOK
- func (o *ListAPIKeysOK) Code() int
- func (o *ListAPIKeysOK) Error() string
- func (o *ListAPIKeysOK) GetPayload() []*models.APIAPIKeyView
- func (o *ListAPIKeysOK) IsClientError() bool
- func (o *ListAPIKeysOK) IsCode(code int) bool
- func (o *ListAPIKeysOK) IsRedirect() bool
- func (o *ListAPIKeysOK) IsServerError() bool
- func (o *ListAPIKeysOK) IsSuccess() bool
- func (o *ListAPIKeysOK) String() string
- type ListAPIKeysParams
- func (o *ListAPIKeysParams) SetContext(ctx context.Context)deprecated
- func (o *ListAPIKeysParams) SetDefaults()
- func (o *ListAPIKeysParams) SetHTTPClient(client *http.Client)
- func (o *ListAPIKeysParams) SetTimeout(timeout time.Duration)
- func (o *ListAPIKeysParams) WithContext(ctx context.Context) *ListAPIKeysParamsdeprecated
- func (o *ListAPIKeysParams) WithDefaults() *ListAPIKeysParams
- func (o *ListAPIKeysParams) WithHTTPClient(client *http.Client) *ListAPIKeysParams
- func (o *ListAPIKeysParams) WithTimeout(timeout time.Duration) *ListAPIKeysParams
- func (o *ListAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAPIKeysReader
- type ListAPIKeysUnauthorized
- func (o *ListAPIKeysUnauthorized) Code() int
- func (o *ListAPIKeysUnauthorized) Error() string
- func (o *ListAPIKeysUnauthorized) GetPayload() *models.Error
- func (o *ListAPIKeysUnauthorized) IsClientError() bool
- func (o *ListAPIKeysUnauthorized) IsCode(code int) bool
- func (o *ListAPIKeysUnauthorized) IsRedirect() bool
- func (o *ListAPIKeysUnauthorized) IsServerError() bool
- func (o *ListAPIKeysUnauthorized) IsSuccess() bool
- func (o *ListAPIKeysUnauthorized) String() string
- type ListAccountSSHKeysOK
- func (o *ListAccountSSHKeysOK) Code() int
- func (o *ListAccountSSHKeysOK) Error() string
- func (o *ListAccountSSHKeysOK) GetPayload() []*models.APISSHKeyView
- func (o *ListAccountSSHKeysOK) IsClientError() bool
- func (o *ListAccountSSHKeysOK) IsCode(code int) bool
- func (o *ListAccountSSHKeysOK) IsRedirect() bool
- func (o *ListAccountSSHKeysOK) IsServerError() bool
- func (o *ListAccountSSHKeysOK) IsSuccess() bool
- func (o *ListAccountSSHKeysOK) String() string
- type ListAccountSSHKeysParams
- func NewListAccountSSHKeysParams() *ListAccountSSHKeysParams
- func NewListAccountSSHKeysParamsWithContext(ctx context.Context) *ListAccountSSHKeysParamsdeprecated
- func NewListAccountSSHKeysParamsWithHTTPClient(client *http.Client) *ListAccountSSHKeysParams
- func NewListAccountSSHKeysParamsWithTimeout(timeout time.Duration) *ListAccountSSHKeysParams
- func (o *ListAccountSSHKeysParams) SetContext(ctx context.Context)deprecated
- func (o *ListAccountSSHKeysParams) SetDefaults()
- func (o *ListAccountSSHKeysParams) SetHTTPClient(client *http.Client)
- func (o *ListAccountSSHKeysParams) SetTimeout(timeout time.Duration)
- func (o *ListAccountSSHKeysParams) WithContext(ctx context.Context) *ListAccountSSHKeysParamsdeprecated
- func (o *ListAccountSSHKeysParams) WithDefaults() *ListAccountSSHKeysParams
- func (o *ListAccountSSHKeysParams) WithHTTPClient(client *http.Client) *ListAccountSSHKeysParams
- func (o *ListAccountSSHKeysParams) WithTimeout(timeout time.Duration) *ListAccountSSHKeysParams
- func (o *ListAccountSSHKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAccountSSHKeysReader
- type ListAccountSSHKeysUnauthorized
- func (o *ListAccountSSHKeysUnauthorized) Code() int
- func (o *ListAccountSSHKeysUnauthorized) Error() string
- func (o *ListAccountSSHKeysUnauthorized) GetPayload() *models.Error
- func (o *ListAccountSSHKeysUnauthorized) IsClientError() bool
- func (o *ListAccountSSHKeysUnauthorized) IsCode(code int) bool
- func (o *ListAccountSSHKeysUnauthorized) IsRedirect() bool
- func (o *ListAccountSSHKeysUnauthorized) IsServerError() bool
- func (o *ListAccountSSHKeysUnauthorized) IsSuccess() bool
- func (o *ListAccountSSHKeysUnauthorized) String() string
- type ListOrgHostsBadRequest
- func (o *ListOrgHostsBadRequest) Code() int
- func (o *ListOrgHostsBadRequest) Error() string
- func (o *ListOrgHostsBadRequest) GetPayload() *models.Error
- func (o *ListOrgHostsBadRequest) IsClientError() bool
- func (o *ListOrgHostsBadRequest) IsCode(code int) bool
- func (o *ListOrgHostsBadRequest) IsRedirect() bool
- func (o *ListOrgHostsBadRequest) IsServerError() bool
- func (o *ListOrgHostsBadRequest) IsSuccess() bool
- func (o *ListOrgHostsBadRequest) String() string
- type ListOrgHostsOK
- func (o *ListOrgHostsOK) Code() int
- func (o *ListOrgHostsOK) Error() string
- func (o *ListOrgHostsOK) GetPayload() *models.APIOrgHostsView
- func (o *ListOrgHostsOK) IsClientError() bool
- func (o *ListOrgHostsOK) IsCode(code int) bool
- func (o *ListOrgHostsOK) IsRedirect() bool
- func (o *ListOrgHostsOK) IsServerError() bool
- func (o *ListOrgHostsOK) IsSuccess() bool
- func (o *ListOrgHostsOK) String() string
- type ListOrgHostsParams
- func NewListOrgHostsParams() *ListOrgHostsParams
- func NewListOrgHostsParamsWithContext(ctx context.Context) *ListOrgHostsParamsdeprecated
- func NewListOrgHostsParamsWithHTTPClient(client *http.Client) *ListOrgHostsParams
- func NewListOrgHostsParamsWithTimeout(timeout time.Duration) *ListOrgHostsParams
- func (o *ListOrgHostsParams) SetContext(ctx context.Context)deprecated
- func (o *ListOrgHostsParams) SetDefaults()
- func (o *ListOrgHostsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrgHostsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrgHostsParams) WithContext(ctx context.Context) *ListOrgHostsParamsdeprecated
- func (o *ListOrgHostsParams) WithDefaults() *ListOrgHostsParams
- func (o *ListOrgHostsParams) WithHTTPClient(client *http.Client) *ListOrgHostsParams
- func (o *ListOrgHostsParams) WithTimeout(timeout time.Duration) *ListOrgHostsParams
- func (o *ListOrgHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrgHostsReader
- type ListOrgHostsUnauthorized
- func (o *ListOrgHostsUnauthorized) Code() int
- func (o *ListOrgHostsUnauthorized) Error() string
- func (o *ListOrgHostsUnauthorized) GetPayload() *models.Error
- func (o *ListOrgHostsUnauthorized) IsClientError() bool
- func (o *ListOrgHostsUnauthorized) IsCode(code int) bool
- func (o *ListOrgHostsUnauthorized) IsRedirect() bool
- func (o *ListOrgHostsUnauthorized) IsServerError() bool
- func (o *ListOrgHostsUnauthorized) IsSuccess() bool
- func (o *ListOrgHostsUnauthorized) String() string
- type RevokeAPIKeyBadRequest
- func (o *RevokeAPIKeyBadRequest) Code() int
- func (o *RevokeAPIKeyBadRequest) Error() string
- func (o *RevokeAPIKeyBadRequest) GetPayload() *models.Error
- func (o *RevokeAPIKeyBadRequest) IsClientError() bool
- func (o *RevokeAPIKeyBadRequest) IsCode(code int) bool
- func (o *RevokeAPIKeyBadRequest) IsRedirect() bool
- func (o *RevokeAPIKeyBadRequest) IsServerError() bool
- func (o *RevokeAPIKeyBadRequest) IsSuccess() bool
- func (o *RevokeAPIKeyBadRequest) String() string
- type RevokeAPIKeyOK
- func (o *RevokeAPIKeyOK) Code() int
- func (o *RevokeAPIKeyOK) Error() string
- func (o *RevokeAPIKeyOK) GetPayload() *models.APIAPIKeyView
- func (o *RevokeAPIKeyOK) IsClientError() bool
- func (o *RevokeAPIKeyOK) IsCode(code int) bool
- func (o *RevokeAPIKeyOK) IsRedirect() bool
- func (o *RevokeAPIKeyOK) IsServerError() bool
- func (o *RevokeAPIKeyOK) IsSuccess() bool
- func (o *RevokeAPIKeyOK) String() string
- type RevokeAPIKeyParams
- func NewRevokeAPIKeyParams() *RevokeAPIKeyParams
- func NewRevokeAPIKeyParamsWithContext(ctx context.Context) *RevokeAPIKeyParamsdeprecated
- func NewRevokeAPIKeyParamsWithHTTPClient(client *http.Client) *RevokeAPIKeyParams
- func NewRevokeAPIKeyParamsWithTimeout(timeout time.Duration) *RevokeAPIKeyParams
- func (o *RevokeAPIKeyParams) SetContext(ctx context.Context)deprecated
- func (o *RevokeAPIKeyParams) SetDefaults()
- func (o *RevokeAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *RevokeAPIKeyParams) SetID(id string)
- func (o *RevokeAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *RevokeAPIKeyParams) WithContext(ctx context.Context) *RevokeAPIKeyParamsdeprecated
- func (o *RevokeAPIKeyParams) WithDefaults() *RevokeAPIKeyParams
- func (o *RevokeAPIKeyParams) WithHTTPClient(client *http.Client) *RevokeAPIKeyParams
- func (o *RevokeAPIKeyParams) WithID(id string) *RevokeAPIKeyParams
- func (o *RevokeAPIKeyParams) WithTimeout(timeout time.Duration) *RevokeAPIKeyParams
- func (o *RevokeAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeAPIKeyReader
- type RevokeAPIKeyUnauthorized
- func (o *RevokeAPIKeyUnauthorized) Code() int
- func (o *RevokeAPIKeyUnauthorized) Error() string
- func (o *RevokeAPIKeyUnauthorized) GetPayload() *models.Error
- func (o *RevokeAPIKeyUnauthorized) IsClientError() bool
- func (o *RevokeAPIKeyUnauthorized) IsCode(code int) bool
- func (o *RevokeAPIKeyUnauthorized) IsRedirect() bool
- func (o *RevokeAPIKeyUnauthorized) IsServerError() bool
- func (o *RevokeAPIKeyUnauthorized) IsSuccess() bool
- func (o *RevokeAPIKeyUnauthorized) String() string
- type UpdateAccountBadRequest
- func (o *UpdateAccountBadRequest) Code() int
- func (o *UpdateAccountBadRequest) Error() string
- func (o *UpdateAccountBadRequest) GetPayload() *models.Error
- func (o *UpdateAccountBadRequest) IsClientError() bool
- func (o *UpdateAccountBadRequest) IsCode(code int) bool
- func (o *UpdateAccountBadRequest) IsRedirect() bool
- func (o *UpdateAccountBadRequest) IsServerError() bool
- func (o *UpdateAccountBadRequest) IsSuccess() bool
- func (o *UpdateAccountBadRequest) String() string
- type UpdateAccountOK
- func (o *UpdateAccountOK) Code() int
- func (o *UpdateAccountOK) Error() string
- func (o *UpdateAccountOK) GetPayload() *models.APIMeView
- func (o *UpdateAccountOK) IsClientError() bool
- func (o *UpdateAccountOK) IsCode(code int) bool
- func (o *UpdateAccountOK) IsRedirect() bool
- func (o *UpdateAccountOK) IsServerError() bool
- func (o *UpdateAccountOK) IsSuccess() bool
- func (o *UpdateAccountOK) String() string
- type UpdateAccountParams
- func NewUpdateAccountParams() *UpdateAccountParams
- func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParamsdeprecated
- func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams
- func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams
- func (o *UpdateAccountParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateAccountParams) SetDefaults()
- func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAccountParams) SetRequest(request *models.UpdateMePayload)
- func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAccountParams) WithContext(ctx context.Context) *UpdateAccountParamsdeprecated
- func (o *UpdateAccountParams) WithDefaults() *UpdateAccountParams
- func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams
- func (o *UpdateAccountParams) WithRequest(request *models.UpdateMePayload) *UpdateAccountParams
- func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams
- func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAccountReader
- type UpdateAccountUnauthorized
- func (o *UpdateAccountUnauthorized) Code() int
- func (o *UpdateAccountUnauthorized) Error() string
- func (o *UpdateAccountUnauthorized) GetPayload() *models.Error
- func (o *UpdateAccountUnauthorized) IsClientError() bool
- func (o *UpdateAccountUnauthorized) IsCode(code int) bool
- func (o *UpdateAccountUnauthorized) IsRedirect() bool
- func (o *UpdateAccountUnauthorized) IsServerError() bool
- func (o *UpdateAccountUnauthorized) IsSuccess() bool
- func (o *UpdateAccountUnauthorized) String() string
- type WhoamiOK
- func (o *WhoamiOK) Code() int
- func (o *WhoamiOK) Error() string
- func (o *WhoamiOK) GetPayload() *models.APICurrentOrgIdentityView
- func (o *WhoamiOK) IsClientError() bool
- func (o *WhoamiOK) IsCode(code int) bool
- func (o *WhoamiOK) IsRedirect() bool
- func (o *WhoamiOK) IsServerError() bool
- func (o *WhoamiOK) IsSuccess() bool
- func (o *WhoamiOK) String() string
- type WhoamiParams
- func (o *WhoamiParams) SetContext(ctx context.Context)deprecated
- func (o *WhoamiParams) SetDefaults()
- func (o *WhoamiParams) SetHTTPClient(client *http.Client)
- func (o *WhoamiParams) SetTimeout(timeout time.Duration)
- func (o *WhoamiParams) WithContext(ctx context.Context) *WhoamiParamsdeprecated
- func (o *WhoamiParams) WithDefaults() *WhoamiParams
- func (o *WhoamiParams) WithHTTPClient(client *http.Client) *WhoamiParams
- func (o *WhoamiParams) WithTimeout(timeout time.Duration) *WhoamiParams
- func (o *WhoamiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WhoamiReader
- type WhoamiUnauthorized
- func (o *WhoamiUnauthorized) Code() int
- func (o *WhoamiUnauthorized) Error() string
- func (o *WhoamiUnauthorized) GetPayload() *models.Error
- func (o *WhoamiUnauthorized) IsClientError() bool
- func (o *WhoamiUnauthorized) IsCode(code int) bool
- func (o *WhoamiUnauthorized) IsRedirect() bool
- func (o *WhoamiUnauthorized) IsServerError() bool
- func (o *WhoamiUnauthorized) IsSuccess() bool
- func (o *WhoamiUnauthorized) 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 org access API.
func (*Client) CreateAPIKey ¶
func (a *Client) CreateAPIKey(params *CreateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeyCreated, error)
CreateAPIKeycreates an API key.
The secret key (`sk`) is returned only once, in this response..
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.CreateAPIKeyContext instead.
func (*Client) CreateAPIKeyContext ¶
func (a *Client) CreateAPIKeyContext(ctx context.Context, params *CreateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeyCreated, error)
CreateAPIKeyContextcreates an API key.
The secret key (`sk`) is returned only once, in this response..
Do not use the deprecated [CreateAPIKeyParams.Context] with this method: it would be ignored.
func (*Client) CreateAccountSSHKey ¶
func (a *Client) CreateAccountSSHKey(params *CreateAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountSSHKeyCreated, error)
CreateAccountSSHKeyadds an SSH public key.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.CreateAccountSSHKeyContext instead.
func (*Client) CreateAccountSSHKeyContext ¶
func (a *Client) CreateAccountSSHKeyContext(ctx context.Context, params *CreateAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountSSHKeyCreated, error)
CreateAccountSSHKeyContextadds an SSH public key.
Do not use the deprecated [CreateAccountSSHKeyParams.Context] with this method: it would be ignored.
func (*Client) DeleteAccountSSHKey ¶
func (a *Client) DeleteAccountSSHKey(params *DeleteAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountSSHKeyOK, error)
DeleteAccountSSHKeydeletes an SSH key.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.DeleteAccountSSHKeyContext instead.
func (*Client) DeleteAccountSSHKeyContext ¶
func (a *Client) DeleteAccountSSHKeyContext(ctx context.Context, params *DeleteAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountSSHKeyOK, error)
DeleteAccountSSHKeyContextdeletes an SSH key.
Do not use the deprecated [DeleteAccountSSHKeyParams.Context] with this method: it would be ignored.
func (*Client) ListAPIKeys ¶
func (a *Client) ListAPIKeys(params *ListAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIKeysOK, error)
ListAPIKeyslists API keys in the current org.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.ListAPIKeysContext instead.
func (*Client) ListAPIKeysContext ¶
func (a *Client) ListAPIKeysContext(ctx context.Context, params *ListAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIKeysOK, error)
ListAPIKeysContextlists API keys in the current org.
Do not use the deprecated [ListAPIKeysParams.Context] with this method: it would be ignored.
func (*Client) ListAccountSSHKeys ¶
func (a *Client) ListAccountSSHKeys(params *ListAccountSSHKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountSSHKeysOK, error)
ListAccountSSHKeyslists the caller s SSH keys.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.ListAccountSSHKeysContext instead.
func (*Client) ListAccountSSHKeysContext ¶
func (a *Client) ListAccountSSHKeysContext(ctx context.Context, params *ListAccountSSHKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountSSHKeysOK, error)
ListAccountSSHKeysContextlists the caller s SSH keys.
Do not use the deprecated [ListAccountSSHKeysParams.Context] with this method: it would be ignored.
func (*Client) ListOrgHosts ¶
func (a *Client) ListOrgHosts(params *ListOrgHostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgHostsOK, error)
ListOrgHostslists host summaries currently assigned to the org.
Returns the current org's public runtime host summaries. Low-level infrastructure and runtime diagnostics stay out of this public contract..
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.ListOrgHostsContext instead.
func (*Client) ListOrgHostsContext ¶
func (a *Client) ListOrgHostsContext(ctx context.Context, params *ListOrgHostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgHostsOK, error)
ListOrgHostsContextlists host summaries currently assigned to the org.
Returns the current org's public runtime host summaries. Low-level infrastructure and runtime diagnostics stay out of this public contract..
Do not use the deprecated [ListOrgHostsParams.Context] with this method: it would be ignored.
func (*Client) RevokeAPIKey ¶
func (a *Client) RevokeAPIKey(params *RevokeAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeAPIKeyOK, error)
RevokeAPIKeyrevokes an API key.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.RevokeAPIKeyContext instead.
func (*Client) RevokeAPIKeyContext ¶
func (a *Client) RevokeAPIKeyContext(ctx context.Context, params *RevokeAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeAPIKeyOK, error)
RevokeAPIKeyContextrevokes an API key.
Do not use the deprecated [RevokeAPIKeyParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAccount ¶
func (a *Client) UpdateAccount(params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountOK, error)
UpdateAccountupdates the caller s profile.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.UpdateAccountContext instead.
func (*Client) UpdateAccountContext ¶
func (a *Client) UpdateAccountContext(ctx context.Context, params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountOK, error)
UpdateAccountContextupdates the caller s profile.
Do not use the deprecated [UpdateAccountParams.Context] with this method: it would be ignored.
func (*Client) Whoami ¶
func (a *Client) Whoami(params *WhoamiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WhoamiOK, error)
Whoamiidentifies the current org scoped caller.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.WhoamiContext instead.
func (*Client) WhoamiContext ¶
func (a *Client) WhoamiContext(ctx context.Context, params *WhoamiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WhoamiOK, error)
WhoamiContextidentifies the current org scoped caller.
Do not use the deprecated [WhoamiParams.Context] with this method: it would be ignored.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
// CreateAPIKey create an API key.
CreateAPIKey(params *CreateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeyCreated, error)
// CreateAPIKeyContext create an API key.
CreateAPIKeyContext(ctx context.Context, params *CreateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeyCreated, error)
// CreateAccountSSHKey add an SSH public key.
CreateAccountSSHKey(params *CreateAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountSSHKeyCreated, error)
// CreateAccountSSHKeyContext add an SSH public key.
CreateAccountSSHKeyContext(ctx context.Context, params *CreateAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountSSHKeyCreated, error)
// DeleteAccountSSHKey delete an SSH key.
DeleteAccountSSHKey(params *DeleteAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountSSHKeyOK, error)
// DeleteAccountSSHKeyContext delete an SSH key.
DeleteAccountSSHKeyContext(ctx context.Context, params *DeleteAccountSSHKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountSSHKeyOK, error)
// ListAPIKeys list API keys in the current org.
ListAPIKeys(params *ListAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIKeysOK, error)
// ListAPIKeysContext list API keys in the current org.
ListAPIKeysContext(ctx context.Context, params *ListAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIKeysOK, error)
// ListAccountSSHKeys list the caller s SSH keys.
ListAccountSSHKeys(params *ListAccountSSHKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountSSHKeysOK, error)
// ListAccountSSHKeysContext list the caller s SSH keys.
ListAccountSSHKeysContext(ctx context.Context, params *ListAccountSSHKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountSSHKeysOK, error)
// ListOrgHosts list host summaries currently assigned to the org.
ListOrgHosts(params *ListOrgHostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgHostsOK, error)
// ListOrgHostsContext list host summaries currently assigned to the org.
ListOrgHostsContext(ctx context.Context, params *ListOrgHostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgHostsOK, error)
// RevokeAPIKey revoke an API key.
RevokeAPIKey(params *RevokeAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeAPIKeyOK, error)
// RevokeAPIKeyContext revoke an API key.
RevokeAPIKeyContext(ctx context.Context, params *RevokeAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeAPIKeyOK, error)
// UpdateAccount update the caller s profile.
UpdateAccount(params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountOK, error)
// UpdateAccountContext update the caller s profile.
UpdateAccountContext(ctx context.Context, params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountOK, error)
// Whoami identify the current org scoped caller.
Whoami(params *WhoamiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WhoamiOK, error)
// WhoamiContext identify the current org scoped caller.
WhoamiContext(ctx context.Context, params *WhoamiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WhoamiOK, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new org access API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new org access API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new org access API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateAPIKeyBadRequest ¶
CreateAPIKeyBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewCreateAPIKeyBadRequest ¶
func NewCreateAPIKeyBadRequest() *CreateAPIKeyBadRequest
NewCreateAPIKeyBadRequest creates a CreateAPIKeyBadRequest with default headers values
func (*CreateAPIKeyBadRequest) Code ¶
func (o *CreateAPIKeyBadRequest) Code() int
Code gets the status code for the create Api key bad request response
func (*CreateAPIKeyBadRequest) Error ¶
func (o *CreateAPIKeyBadRequest) Error() string
func (*CreateAPIKeyBadRequest) GetPayload ¶
func (o *CreateAPIKeyBadRequest) GetPayload() *models.Error
func (*CreateAPIKeyBadRequest) IsClientError ¶
func (o *CreateAPIKeyBadRequest) IsClientError() bool
IsClientError returns true when this create Api key bad request response has a 4xx status code
func (*CreateAPIKeyBadRequest) IsCode ¶
func (o *CreateAPIKeyBadRequest) IsCode(code int) bool
IsCode returns true when this create Api key bad request response a status code equal to that given
func (*CreateAPIKeyBadRequest) IsRedirect ¶
func (o *CreateAPIKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this create Api key bad request response has a 3xx status code
func (*CreateAPIKeyBadRequest) IsServerError ¶
func (o *CreateAPIKeyBadRequest) IsServerError() bool
IsServerError returns true when this create Api key bad request response has a 5xx status code
func (*CreateAPIKeyBadRequest) IsSuccess ¶
func (o *CreateAPIKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this create Api key bad request response has a 2xx status code
func (*CreateAPIKeyBadRequest) String ¶
func (o *CreateAPIKeyBadRequest) String() string
type CreateAPIKeyCreated ¶
type CreateAPIKeyCreated struct {
Payload *models.APICreatedAPIKeyView
}
CreateAPIKeyCreated describes a response with status code 201, with default header values.
The created API key, including its one-time secret.
func NewCreateAPIKeyCreated ¶
func NewCreateAPIKeyCreated() *CreateAPIKeyCreated
NewCreateAPIKeyCreated creates a CreateAPIKeyCreated with default headers values
func (*CreateAPIKeyCreated) Code ¶
func (o *CreateAPIKeyCreated) Code() int
Code gets the status code for the create Api key created response
func (*CreateAPIKeyCreated) Error ¶
func (o *CreateAPIKeyCreated) Error() string
func (*CreateAPIKeyCreated) GetPayload ¶
func (o *CreateAPIKeyCreated) GetPayload() *models.APICreatedAPIKeyView
func (*CreateAPIKeyCreated) IsClientError ¶
func (o *CreateAPIKeyCreated) IsClientError() bool
IsClientError returns true when this create Api key created response has a 4xx status code
func (*CreateAPIKeyCreated) IsCode ¶
func (o *CreateAPIKeyCreated) IsCode(code int) bool
IsCode returns true when this create Api key created response a status code equal to that given
func (*CreateAPIKeyCreated) IsRedirect ¶
func (o *CreateAPIKeyCreated) IsRedirect() bool
IsRedirect returns true when this create Api key created response has a 3xx status code
func (*CreateAPIKeyCreated) IsServerError ¶
func (o *CreateAPIKeyCreated) IsServerError() bool
IsServerError returns true when this create Api key created response has a 5xx status code
func (*CreateAPIKeyCreated) IsSuccess ¶
func (o *CreateAPIKeyCreated) IsSuccess() bool
IsSuccess returns true when this create Api key created response has a 2xx status code
func (*CreateAPIKeyCreated) String ¶
func (o *CreateAPIKeyCreated) String() string
type CreateAPIKeyParams ¶
type CreateAPIKeyParams struct {
/* Request.
Request body
*/
Request *models.CreateAPIKeyPayload
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateAPIKeyParams contains all the parameters to send to the API endpoint
for the create API key operation. Typically these are written to a http.Request.
func NewCreateAPIKeyParams ¶
func NewCreateAPIKeyParams() *CreateAPIKeyParams
NewCreateAPIKeyParams creates a new CreateAPIKeyParams 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 NewCreateAPIKeyParamsWithContext
deprecated
func NewCreateAPIKeyParamsWithContext(ctx context.Context) *CreateAPIKeyParams
NewCreateAPIKeyParamsWithContext creates a new CreateAPIKeyParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CreateAPIKeyParams.
func NewCreateAPIKeyParamsWithHTTPClient ¶
func NewCreateAPIKeyParamsWithHTTPClient(client *http.Client) *CreateAPIKeyParams
NewCreateAPIKeyParamsWithHTTPClient creates a new CreateAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAPIKeyParamsWithTimeout ¶
func NewCreateAPIKeyParamsWithTimeout(timeout time.Duration) *CreateAPIKeyParams
NewCreateAPIKeyParamsWithTimeout creates a new CreateAPIKeyParams object with the ability to set a timeout on a request.
func (*CreateAPIKeyParams) SetContext
deprecated
func (o *CreateAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the create API key params.
Deprecated: use the operation call with context to pass the context instead of CreateAPIKeyParams.
func (*CreateAPIKeyParams) SetDefaults ¶
func (o *CreateAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the create API key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAPIKeyParams) SetHTTPClient ¶
func (o *CreateAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create API key params.
func (*CreateAPIKeyParams) SetRequest ¶
func (o *CreateAPIKeyParams) SetRequest(request *models.CreateAPIKeyPayload)
SetRequest adds the request to the create API key params.
func (*CreateAPIKeyParams) SetTimeout ¶
func (o *CreateAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create API key params.
func (*CreateAPIKeyParams) WithContext
deprecated
func (o *CreateAPIKeyParams) WithContext(ctx context.Context) *CreateAPIKeyParams
WithContext adds the context to the create API key params.
Deprecated: use the operation call with context to pass the context instead of CreateAPIKeyParams.
func (*CreateAPIKeyParams) WithDefaults ¶
func (o *CreateAPIKeyParams) WithDefaults() *CreateAPIKeyParams
WithDefaults hydrates default values in the create API key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAPIKeyParams) WithHTTPClient ¶
func (o *CreateAPIKeyParams) WithHTTPClient(client *http.Client) *CreateAPIKeyParams
WithHTTPClient adds the HTTPClient to the create API key params.
func (*CreateAPIKeyParams) WithRequest ¶
func (o *CreateAPIKeyParams) WithRequest(request *models.CreateAPIKeyPayload) *CreateAPIKeyParams
WithRequest adds the request to the create API key params.
func (*CreateAPIKeyParams) WithTimeout ¶
func (o *CreateAPIKeyParams) WithTimeout(timeout time.Duration) *CreateAPIKeyParams
WithTimeout adds the timeout to the create API key params.
func (*CreateAPIKeyParams) WriteToRequest ¶
func (o *CreateAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CreateAPIKeyReader ¶
type CreateAPIKeyReader struct {
// contains filtered or unexported fields
}
CreateAPIKeyReader is a Reader for the CreateAPIKey structure.
func (*CreateAPIKeyReader) ReadResponse ¶
func (o *CreateAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateAPIKeyUnauthorized ¶
type CreateAPIKeyUnauthorized struct {
}
CreateAPIKeyUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewCreateAPIKeyUnauthorized ¶
func NewCreateAPIKeyUnauthorized() *CreateAPIKeyUnauthorized
NewCreateAPIKeyUnauthorized creates a CreateAPIKeyUnauthorized with default headers values
func (*CreateAPIKeyUnauthorized) Code ¶
func (o *CreateAPIKeyUnauthorized) Code() int
Code gets the status code for the create Api key unauthorized response
func (*CreateAPIKeyUnauthorized) Error ¶
func (o *CreateAPIKeyUnauthorized) Error() string
func (*CreateAPIKeyUnauthorized) GetPayload ¶
func (o *CreateAPIKeyUnauthorized) GetPayload() *models.Error
func (*CreateAPIKeyUnauthorized) IsClientError ¶
func (o *CreateAPIKeyUnauthorized) IsClientError() bool
IsClientError returns true when this create Api key unauthorized response has a 4xx status code
func (*CreateAPIKeyUnauthorized) IsCode ¶
func (o *CreateAPIKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this create Api key unauthorized response a status code equal to that given
func (*CreateAPIKeyUnauthorized) IsRedirect ¶
func (o *CreateAPIKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this create Api key unauthorized response has a 3xx status code
func (*CreateAPIKeyUnauthorized) IsServerError ¶
func (o *CreateAPIKeyUnauthorized) IsServerError() bool
IsServerError returns true when this create Api key unauthorized response has a 5xx status code
func (*CreateAPIKeyUnauthorized) IsSuccess ¶
func (o *CreateAPIKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this create Api key unauthorized response has a 2xx status code
func (*CreateAPIKeyUnauthorized) String ¶
func (o *CreateAPIKeyUnauthorized) String() string
type CreateAccountSSHKeyBadRequest ¶
CreateAccountSSHKeyBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewCreateAccountSSHKeyBadRequest ¶
func NewCreateAccountSSHKeyBadRequest() *CreateAccountSSHKeyBadRequest
NewCreateAccountSSHKeyBadRequest creates a CreateAccountSSHKeyBadRequest with default headers values
func (*CreateAccountSSHKeyBadRequest) Code ¶
func (o *CreateAccountSSHKeyBadRequest) Code() int
Code gets the status code for the create account Ssh key bad request response
func (*CreateAccountSSHKeyBadRequest) Error ¶
func (o *CreateAccountSSHKeyBadRequest) Error() string
func (*CreateAccountSSHKeyBadRequest) GetPayload ¶
func (o *CreateAccountSSHKeyBadRequest) GetPayload() *models.Error
func (*CreateAccountSSHKeyBadRequest) IsClientError ¶
func (o *CreateAccountSSHKeyBadRequest) IsClientError() bool
IsClientError returns true when this create account Ssh key bad request response has a 4xx status code
func (*CreateAccountSSHKeyBadRequest) IsCode ¶
func (o *CreateAccountSSHKeyBadRequest) IsCode(code int) bool
IsCode returns true when this create account Ssh key bad request response a status code equal to that given
func (*CreateAccountSSHKeyBadRequest) IsRedirect ¶
func (o *CreateAccountSSHKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this create account Ssh key bad request response has a 3xx status code
func (*CreateAccountSSHKeyBadRequest) IsServerError ¶
func (o *CreateAccountSSHKeyBadRequest) IsServerError() bool
IsServerError returns true when this create account Ssh key bad request response has a 5xx status code
func (*CreateAccountSSHKeyBadRequest) IsSuccess ¶
func (o *CreateAccountSSHKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this create account Ssh key bad request response has a 2xx status code
func (*CreateAccountSSHKeyBadRequest) String ¶
func (o *CreateAccountSSHKeyBadRequest) String() string
type CreateAccountSSHKeyCreated ¶
type CreateAccountSSHKeyCreated struct {
Payload *models.APISSHKeyView
}
CreateAccountSSHKeyCreated describes a response with status code 201, with default header values.
The created SSH key.
func NewCreateAccountSSHKeyCreated ¶
func NewCreateAccountSSHKeyCreated() *CreateAccountSSHKeyCreated
NewCreateAccountSSHKeyCreated creates a CreateAccountSSHKeyCreated with default headers values
func (*CreateAccountSSHKeyCreated) Code ¶
func (o *CreateAccountSSHKeyCreated) Code() int
Code gets the status code for the create account Ssh key created response
func (*CreateAccountSSHKeyCreated) Error ¶
func (o *CreateAccountSSHKeyCreated) Error() string
func (*CreateAccountSSHKeyCreated) GetPayload ¶
func (o *CreateAccountSSHKeyCreated) GetPayload() *models.APISSHKeyView
func (*CreateAccountSSHKeyCreated) IsClientError ¶
func (o *CreateAccountSSHKeyCreated) IsClientError() bool
IsClientError returns true when this create account Ssh key created response has a 4xx status code
func (*CreateAccountSSHKeyCreated) IsCode ¶
func (o *CreateAccountSSHKeyCreated) IsCode(code int) bool
IsCode returns true when this create account Ssh key created response a status code equal to that given
func (*CreateAccountSSHKeyCreated) IsRedirect ¶
func (o *CreateAccountSSHKeyCreated) IsRedirect() bool
IsRedirect returns true when this create account Ssh key created response has a 3xx status code
func (*CreateAccountSSHKeyCreated) IsServerError ¶
func (o *CreateAccountSSHKeyCreated) IsServerError() bool
IsServerError returns true when this create account Ssh key created response has a 5xx status code
func (*CreateAccountSSHKeyCreated) IsSuccess ¶
func (o *CreateAccountSSHKeyCreated) IsSuccess() bool
IsSuccess returns true when this create account Ssh key created response has a 2xx status code
func (*CreateAccountSSHKeyCreated) String ¶
func (o *CreateAccountSSHKeyCreated) String() string
type CreateAccountSSHKeyParams ¶
type CreateAccountSSHKeyParams struct {
/* Request.
Request body
*/
Request *models.CreateSSHKeyPayload
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateAccountSSHKeyParams contains all the parameters to send to the API endpoint
for the create account SSH key operation. Typically these are written to a http.Request.
func NewCreateAccountSSHKeyParams ¶
func NewCreateAccountSSHKeyParams() *CreateAccountSSHKeyParams
NewCreateAccountSSHKeyParams creates a new CreateAccountSSHKeyParams 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 NewCreateAccountSSHKeyParamsWithContext
deprecated
func NewCreateAccountSSHKeyParamsWithContext(ctx context.Context) *CreateAccountSSHKeyParams
NewCreateAccountSSHKeyParamsWithContext creates a new CreateAccountSSHKeyParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CreateAccountSSHKeyParams.
func NewCreateAccountSSHKeyParamsWithHTTPClient ¶
func NewCreateAccountSSHKeyParamsWithHTTPClient(client *http.Client) *CreateAccountSSHKeyParams
NewCreateAccountSSHKeyParamsWithHTTPClient creates a new CreateAccountSSHKeyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAccountSSHKeyParamsWithTimeout ¶
func NewCreateAccountSSHKeyParamsWithTimeout(timeout time.Duration) *CreateAccountSSHKeyParams
NewCreateAccountSSHKeyParamsWithTimeout creates a new CreateAccountSSHKeyParams object with the ability to set a timeout on a request.
func (*CreateAccountSSHKeyParams) SetContext
deprecated
func (o *CreateAccountSSHKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the create account SSH key params.
Deprecated: use the operation call with context to pass the context instead of CreateAccountSSHKeyParams.
func (*CreateAccountSSHKeyParams) SetDefaults ¶
func (o *CreateAccountSSHKeyParams) SetDefaults()
SetDefaults hydrates default values in the create account SSH key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAccountSSHKeyParams) SetHTTPClient ¶
func (o *CreateAccountSSHKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create account SSH key params.
func (*CreateAccountSSHKeyParams) SetRequest ¶
func (o *CreateAccountSSHKeyParams) SetRequest(request *models.CreateSSHKeyPayload)
SetRequest adds the request to the create account SSH key params.
func (*CreateAccountSSHKeyParams) SetTimeout ¶
func (o *CreateAccountSSHKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create account SSH key params.
func (*CreateAccountSSHKeyParams) WithContext
deprecated
func (o *CreateAccountSSHKeyParams) WithContext(ctx context.Context) *CreateAccountSSHKeyParams
WithContext adds the context to the create account SSH key params.
Deprecated: use the operation call with context to pass the context instead of CreateAccountSSHKeyParams.
func (*CreateAccountSSHKeyParams) WithDefaults ¶
func (o *CreateAccountSSHKeyParams) WithDefaults() *CreateAccountSSHKeyParams
WithDefaults hydrates default values in the create account SSH key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAccountSSHKeyParams) WithHTTPClient ¶
func (o *CreateAccountSSHKeyParams) WithHTTPClient(client *http.Client) *CreateAccountSSHKeyParams
WithHTTPClient adds the HTTPClient to the create account SSH key params.
func (*CreateAccountSSHKeyParams) WithRequest ¶
func (o *CreateAccountSSHKeyParams) WithRequest(request *models.CreateSSHKeyPayload) *CreateAccountSSHKeyParams
WithRequest adds the request to the create account SSH key params.
func (*CreateAccountSSHKeyParams) WithTimeout ¶
func (o *CreateAccountSSHKeyParams) WithTimeout(timeout time.Duration) *CreateAccountSSHKeyParams
WithTimeout adds the timeout to the create account SSH key params.
func (*CreateAccountSSHKeyParams) WriteToRequest ¶
func (o *CreateAccountSSHKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CreateAccountSSHKeyReader ¶
type CreateAccountSSHKeyReader struct {
// contains filtered or unexported fields
}
CreateAccountSSHKeyReader is a Reader for the CreateAccountSSHKey structure.
func (*CreateAccountSSHKeyReader) ReadResponse ¶
func (o *CreateAccountSSHKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateAccountSSHKeyUnauthorized ¶
type CreateAccountSSHKeyUnauthorized struct {
}
CreateAccountSSHKeyUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewCreateAccountSSHKeyUnauthorized ¶
func NewCreateAccountSSHKeyUnauthorized() *CreateAccountSSHKeyUnauthorized
NewCreateAccountSSHKeyUnauthorized creates a CreateAccountSSHKeyUnauthorized with default headers values
func (*CreateAccountSSHKeyUnauthorized) Code ¶
func (o *CreateAccountSSHKeyUnauthorized) Code() int
Code gets the status code for the create account Ssh key unauthorized response
func (*CreateAccountSSHKeyUnauthorized) Error ¶
func (o *CreateAccountSSHKeyUnauthorized) Error() string
func (*CreateAccountSSHKeyUnauthorized) GetPayload ¶
func (o *CreateAccountSSHKeyUnauthorized) GetPayload() *models.Error
func (*CreateAccountSSHKeyUnauthorized) IsClientError ¶
func (o *CreateAccountSSHKeyUnauthorized) IsClientError() bool
IsClientError returns true when this create account Ssh key unauthorized response has a 4xx status code
func (*CreateAccountSSHKeyUnauthorized) IsCode ¶
func (o *CreateAccountSSHKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this create account Ssh key unauthorized response a status code equal to that given
func (*CreateAccountSSHKeyUnauthorized) IsRedirect ¶
func (o *CreateAccountSSHKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this create account Ssh key unauthorized response has a 3xx status code
func (*CreateAccountSSHKeyUnauthorized) IsServerError ¶
func (o *CreateAccountSSHKeyUnauthorized) IsServerError() bool
IsServerError returns true when this create account Ssh key unauthorized response has a 5xx status code
func (*CreateAccountSSHKeyUnauthorized) IsSuccess ¶
func (o *CreateAccountSSHKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this create account Ssh key unauthorized response has a 2xx status code
func (*CreateAccountSSHKeyUnauthorized) String ¶
func (o *CreateAccountSSHKeyUnauthorized) String() string
type DeleteAccountSSHKeyBadRequest ¶
DeleteAccountSSHKeyBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewDeleteAccountSSHKeyBadRequest ¶
func NewDeleteAccountSSHKeyBadRequest() *DeleteAccountSSHKeyBadRequest
NewDeleteAccountSSHKeyBadRequest creates a DeleteAccountSSHKeyBadRequest with default headers values
func (*DeleteAccountSSHKeyBadRequest) Code ¶
func (o *DeleteAccountSSHKeyBadRequest) Code() int
Code gets the status code for the delete account Ssh key bad request response
func (*DeleteAccountSSHKeyBadRequest) Error ¶
func (o *DeleteAccountSSHKeyBadRequest) Error() string
func (*DeleteAccountSSHKeyBadRequest) GetPayload ¶
func (o *DeleteAccountSSHKeyBadRequest) GetPayload() *models.Error
func (*DeleteAccountSSHKeyBadRequest) IsClientError ¶
func (o *DeleteAccountSSHKeyBadRequest) IsClientError() bool
IsClientError returns true when this delete account Ssh key bad request response has a 4xx status code
func (*DeleteAccountSSHKeyBadRequest) IsCode ¶
func (o *DeleteAccountSSHKeyBadRequest) IsCode(code int) bool
IsCode returns true when this delete account Ssh key bad request response a status code equal to that given
func (*DeleteAccountSSHKeyBadRequest) IsRedirect ¶
func (o *DeleteAccountSSHKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this delete account Ssh key bad request response has a 3xx status code
func (*DeleteAccountSSHKeyBadRequest) IsServerError ¶
func (o *DeleteAccountSSHKeyBadRequest) IsServerError() bool
IsServerError returns true when this delete account Ssh key bad request response has a 5xx status code
func (*DeleteAccountSSHKeyBadRequest) IsSuccess ¶
func (o *DeleteAccountSSHKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this delete account Ssh key bad request response has a 2xx status code
func (*DeleteAccountSSHKeyBadRequest) String ¶
func (o *DeleteAccountSSHKeyBadRequest) String() string
type DeleteAccountSSHKeyOK ¶
type DeleteAccountSSHKeyOK struct {
Payload *models.APISSHKeyView
}
DeleteAccountSSHKeyOK describes a response with status code 200, with default header values.
The deleted SSH key.
func NewDeleteAccountSSHKeyOK ¶
func NewDeleteAccountSSHKeyOK() *DeleteAccountSSHKeyOK
NewDeleteAccountSSHKeyOK creates a DeleteAccountSSHKeyOK with default headers values
func (*DeleteAccountSSHKeyOK) Code ¶
func (o *DeleteAccountSSHKeyOK) Code() int
Code gets the status code for the delete account Ssh key o k response
func (*DeleteAccountSSHKeyOK) Error ¶
func (o *DeleteAccountSSHKeyOK) Error() string
func (*DeleteAccountSSHKeyOK) GetPayload ¶
func (o *DeleteAccountSSHKeyOK) GetPayload() *models.APISSHKeyView
func (*DeleteAccountSSHKeyOK) IsClientError ¶
func (o *DeleteAccountSSHKeyOK) IsClientError() bool
IsClientError returns true when this delete account Ssh key o k response has a 4xx status code
func (*DeleteAccountSSHKeyOK) IsCode ¶
func (o *DeleteAccountSSHKeyOK) IsCode(code int) bool
IsCode returns true when this delete account Ssh key o k response a status code equal to that given
func (*DeleteAccountSSHKeyOK) IsRedirect ¶
func (o *DeleteAccountSSHKeyOK) IsRedirect() bool
IsRedirect returns true when this delete account Ssh key o k response has a 3xx status code
func (*DeleteAccountSSHKeyOK) IsServerError ¶
func (o *DeleteAccountSSHKeyOK) IsServerError() bool
IsServerError returns true when this delete account Ssh key o k response has a 5xx status code
func (*DeleteAccountSSHKeyOK) IsSuccess ¶
func (o *DeleteAccountSSHKeyOK) IsSuccess() bool
IsSuccess returns true when this delete account Ssh key o k response has a 2xx status code
func (*DeleteAccountSSHKeyOK) String ¶
func (o *DeleteAccountSSHKeyOK) String() string
type DeleteAccountSSHKeyParams ¶
type DeleteAccountSSHKeyParams struct {
/* ID.
Resource identifier.
*/
ID string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAccountSSHKeyParams contains all the parameters to send to the API endpoint
for the delete account SSH key operation. Typically these are written to a http.Request.
func NewDeleteAccountSSHKeyParams ¶
func NewDeleteAccountSSHKeyParams() *DeleteAccountSSHKeyParams
NewDeleteAccountSSHKeyParams creates a new DeleteAccountSSHKeyParams 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 NewDeleteAccountSSHKeyParamsWithContext
deprecated
func NewDeleteAccountSSHKeyParamsWithContext(ctx context.Context) *DeleteAccountSSHKeyParams
NewDeleteAccountSSHKeyParamsWithContext creates a new DeleteAccountSSHKeyParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteAccountSSHKeyParams.
func NewDeleteAccountSSHKeyParamsWithHTTPClient ¶
func NewDeleteAccountSSHKeyParamsWithHTTPClient(client *http.Client) *DeleteAccountSSHKeyParams
NewDeleteAccountSSHKeyParamsWithHTTPClient creates a new DeleteAccountSSHKeyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAccountSSHKeyParamsWithTimeout ¶
func NewDeleteAccountSSHKeyParamsWithTimeout(timeout time.Duration) *DeleteAccountSSHKeyParams
NewDeleteAccountSSHKeyParamsWithTimeout creates a new DeleteAccountSSHKeyParams object with the ability to set a timeout on a request.
func (*DeleteAccountSSHKeyParams) SetContext
deprecated
func (o *DeleteAccountSSHKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete account SSH key params.
Deprecated: use the operation call with context to pass the context instead of DeleteAccountSSHKeyParams.
func (*DeleteAccountSSHKeyParams) SetDefaults ¶
func (o *DeleteAccountSSHKeyParams) SetDefaults()
SetDefaults hydrates default values in the delete account SSH key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccountSSHKeyParams) SetHTTPClient ¶
func (o *DeleteAccountSSHKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete account SSH key params.
func (*DeleteAccountSSHKeyParams) SetID ¶
func (o *DeleteAccountSSHKeyParams) SetID(id string)
SetID adds the id to the delete account SSH key params.
func (*DeleteAccountSSHKeyParams) SetTimeout ¶
func (o *DeleteAccountSSHKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete account SSH key params.
func (*DeleteAccountSSHKeyParams) WithContext
deprecated
func (o *DeleteAccountSSHKeyParams) WithContext(ctx context.Context) *DeleteAccountSSHKeyParams
WithContext adds the context to the delete account SSH key params.
Deprecated: use the operation call with context to pass the context instead of DeleteAccountSSHKeyParams.
func (*DeleteAccountSSHKeyParams) WithDefaults ¶
func (o *DeleteAccountSSHKeyParams) WithDefaults() *DeleteAccountSSHKeyParams
WithDefaults hydrates default values in the delete account SSH key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAccountSSHKeyParams) WithHTTPClient ¶
func (o *DeleteAccountSSHKeyParams) WithHTTPClient(client *http.Client) *DeleteAccountSSHKeyParams
WithHTTPClient adds the HTTPClient to the delete account SSH key params.
func (*DeleteAccountSSHKeyParams) WithID ¶
func (o *DeleteAccountSSHKeyParams) WithID(id string) *DeleteAccountSSHKeyParams
WithID adds the id to the delete account SSH key params.
func (*DeleteAccountSSHKeyParams) WithTimeout ¶
func (o *DeleteAccountSSHKeyParams) WithTimeout(timeout time.Duration) *DeleteAccountSSHKeyParams
WithTimeout adds the timeout to the delete account SSH key params.
func (*DeleteAccountSSHKeyParams) WriteToRequest ¶
func (o *DeleteAccountSSHKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteAccountSSHKeyReader ¶
type DeleteAccountSSHKeyReader struct {
// contains filtered or unexported fields
}
DeleteAccountSSHKeyReader is a Reader for the DeleteAccountSSHKey structure.
func (*DeleteAccountSSHKeyReader) ReadResponse ¶
func (o *DeleteAccountSSHKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteAccountSSHKeyUnauthorized ¶
type DeleteAccountSSHKeyUnauthorized struct {
}
DeleteAccountSSHKeyUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewDeleteAccountSSHKeyUnauthorized ¶
func NewDeleteAccountSSHKeyUnauthorized() *DeleteAccountSSHKeyUnauthorized
NewDeleteAccountSSHKeyUnauthorized creates a DeleteAccountSSHKeyUnauthorized with default headers values
func (*DeleteAccountSSHKeyUnauthorized) Code ¶
func (o *DeleteAccountSSHKeyUnauthorized) Code() int
Code gets the status code for the delete account Ssh key unauthorized response
func (*DeleteAccountSSHKeyUnauthorized) Error ¶
func (o *DeleteAccountSSHKeyUnauthorized) Error() string
func (*DeleteAccountSSHKeyUnauthorized) GetPayload ¶
func (o *DeleteAccountSSHKeyUnauthorized) GetPayload() *models.Error
func (*DeleteAccountSSHKeyUnauthorized) IsClientError ¶
func (o *DeleteAccountSSHKeyUnauthorized) IsClientError() bool
IsClientError returns true when this delete account Ssh key unauthorized response has a 4xx status code
func (*DeleteAccountSSHKeyUnauthorized) IsCode ¶
func (o *DeleteAccountSSHKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this delete account Ssh key unauthorized response a status code equal to that given
func (*DeleteAccountSSHKeyUnauthorized) IsRedirect ¶
func (o *DeleteAccountSSHKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete account Ssh key unauthorized response has a 3xx status code
func (*DeleteAccountSSHKeyUnauthorized) IsServerError ¶
func (o *DeleteAccountSSHKeyUnauthorized) IsServerError() bool
IsServerError returns true when this delete account Ssh key unauthorized response has a 5xx status code
func (*DeleteAccountSSHKeyUnauthorized) IsSuccess ¶
func (o *DeleteAccountSSHKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete account Ssh key unauthorized response has a 2xx status code
func (*DeleteAccountSSHKeyUnauthorized) String ¶
func (o *DeleteAccountSSHKeyUnauthorized) String() string
type ListAPIKeysOK ¶
type ListAPIKeysOK struct {
Payload []*models.APIAPIKeyView
}
ListAPIKeysOK describes a response with status code 200, with default header values.
API keys (no secrets).
func NewListAPIKeysOK ¶
func NewListAPIKeysOK() *ListAPIKeysOK
NewListAPIKeysOK creates a ListAPIKeysOK with default headers values
func (*ListAPIKeysOK) Code ¶
func (o *ListAPIKeysOK) Code() int
Code gets the status code for the list Api keys o k response
func (*ListAPIKeysOK) Error ¶
func (o *ListAPIKeysOK) Error() string
func (*ListAPIKeysOK) GetPayload ¶
func (o *ListAPIKeysOK) GetPayload() []*models.APIAPIKeyView
func (*ListAPIKeysOK) IsClientError ¶
func (o *ListAPIKeysOK) IsClientError() bool
IsClientError returns true when this list Api keys o k response has a 4xx status code
func (*ListAPIKeysOK) IsCode ¶
func (o *ListAPIKeysOK) IsCode(code int) bool
IsCode returns true when this list Api keys o k response a status code equal to that given
func (*ListAPIKeysOK) IsRedirect ¶
func (o *ListAPIKeysOK) IsRedirect() bool
IsRedirect returns true when this list Api keys o k response has a 3xx status code
func (*ListAPIKeysOK) IsServerError ¶
func (o *ListAPIKeysOK) IsServerError() bool
IsServerError returns true when this list Api keys o k response has a 5xx status code
func (*ListAPIKeysOK) IsSuccess ¶
func (o *ListAPIKeysOK) IsSuccess() bool
IsSuccess returns true when this list Api keys o k response has a 2xx status code
func (*ListAPIKeysOK) String ¶
func (o *ListAPIKeysOK) String() string
type ListAPIKeysParams ¶
ListAPIKeysParams contains all the parameters to send to the API endpoint
for the list API keys operation. Typically these are written to a http.Request.
func NewListAPIKeysParams ¶
func NewListAPIKeysParams() *ListAPIKeysParams
NewListAPIKeysParams creates a new ListAPIKeysParams 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 NewListAPIKeysParamsWithContext
deprecated
func NewListAPIKeysParamsWithContext(ctx context.Context) *ListAPIKeysParams
NewListAPIKeysParamsWithContext creates a new ListAPIKeysParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListAPIKeysParams.
func NewListAPIKeysParamsWithHTTPClient ¶
func NewListAPIKeysParamsWithHTTPClient(client *http.Client) *ListAPIKeysParams
NewListAPIKeysParamsWithHTTPClient creates a new ListAPIKeysParams object with the ability to set a custom HTTPClient for a request.
func NewListAPIKeysParamsWithTimeout ¶
func NewListAPIKeysParamsWithTimeout(timeout time.Duration) *ListAPIKeysParams
NewListAPIKeysParamsWithTimeout creates a new ListAPIKeysParams object with the ability to set a timeout on a request.
func (*ListAPIKeysParams) SetContext
deprecated
func (o *ListAPIKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the list API keys params.
Deprecated: use the operation call with context to pass the context instead of ListAPIKeysParams.
func (*ListAPIKeysParams) SetDefaults ¶
func (o *ListAPIKeysParams) SetDefaults()
SetDefaults hydrates default values in the list API keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListAPIKeysParams) SetHTTPClient ¶
func (o *ListAPIKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list API keys params.
func (*ListAPIKeysParams) SetTimeout ¶
func (o *ListAPIKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list API keys params.
func (*ListAPIKeysParams) WithContext
deprecated
func (o *ListAPIKeysParams) WithContext(ctx context.Context) *ListAPIKeysParams
WithContext adds the context to the list API keys params.
Deprecated: use the operation call with context to pass the context instead of ListAPIKeysParams.
func (*ListAPIKeysParams) WithDefaults ¶
func (o *ListAPIKeysParams) WithDefaults() *ListAPIKeysParams
WithDefaults hydrates default values in the list API keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListAPIKeysParams) WithHTTPClient ¶
func (o *ListAPIKeysParams) WithHTTPClient(client *http.Client) *ListAPIKeysParams
WithHTTPClient adds the HTTPClient to the list API keys params.
func (*ListAPIKeysParams) WithTimeout ¶
func (o *ListAPIKeysParams) WithTimeout(timeout time.Duration) *ListAPIKeysParams
WithTimeout adds the timeout to the list API keys params.
func (*ListAPIKeysParams) WriteToRequest ¶
func (o *ListAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListAPIKeysReader ¶
type ListAPIKeysReader struct {
// contains filtered or unexported fields
}
ListAPIKeysReader is a Reader for the ListAPIKeys structure.
func (*ListAPIKeysReader) ReadResponse ¶
func (o *ListAPIKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListAPIKeysUnauthorized ¶
type ListAPIKeysUnauthorized struct {
}
ListAPIKeysUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewListAPIKeysUnauthorized ¶
func NewListAPIKeysUnauthorized() *ListAPIKeysUnauthorized
NewListAPIKeysUnauthorized creates a ListAPIKeysUnauthorized with default headers values
func (*ListAPIKeysUnauthorized) Code ¶
func (o *ListAPIKeysUnauthorized) Code() int
Code gets the status code for the list Api keys unauthorized response
func (*ListAPIKeysUnauthorized) Error ¶
func (o *ListAPIKeysUnauthorized) Error() string
func (*ListAPIKeysUnauthorized) GetPayload ¶
func (o *ListAPIKeysUnauthorized) GetPayload() *models.Error
func (*ListAPIKeysUnauthorized) IsClientError ¶
func (o *ListAPIKeysUnauthorized) IsClientError() bool
IsClientError returns true when this list Api keys unauthorized response has a 4xx status code
func (*ListAPIKeysUnauthorized) IsCode ¶
func (o *ListAPIKeysUnauthorized) IsCode(code int) bool
IsCode returns true when this list Api keys unauthorized response a status code equal to that given
func (*ListAPIKeysUnauthorized) IsRedirect ¶
func (o *ListAPIKeysUnauthorized) IsRedirect() bool
IsRedirect returns true when this list Api keys unauthorized response has a 3xx status code
func (*ListAPIKeysUnauthorized) IsServerError ¶
func (o *ListAPIKeysUnauthorized) IsServerError() bool
IsServerError returns true when this list Api keys unauthorized response has a 5xx status code
func (*ListAPIKeysUnauthorized) IsSuccess ¶
func (o *ListAPIKeysUnauthorized) IsSuccess() bool
IsSuccess returns true when this list Api keys unauthorized response has a 2xx status code
func (*ListAPIKeysUnauthorized) String ¶
func (o *ListAPIKeysUnauthorized) String() string
type ListAccountSSHKeysOK ¶
type ListAccountSSHKeysOK struct {
Payload []*models.APISSHKeyView
}
ListAccountSSHKeysOK describes a response with status code 200, with default header values.
SSH keys.
func NewListAccountSSHKeysOK ¶
func NewListAccountSSHKeysOK() *ListAccountSSHKeysOK
NewListAccountSSHKeysOK creates a ListAccountSSHKeysOK with default headers values
func (*ListAccountSSHKeysOK) Code ¶
func (o *ListAccountSSHKeysOK) Code() int
Code gets the status code for the list account Ssh keys o k response
func (*ListAccountSSHKeysOK) Error ¶
func (o *ListAccountSSHKeysOK) Error() string
func (*ListAccountSSHKeysOK) GetPayload ¶
func (o *ListAccountSSHKeysOK) GetPayload() []*models.APISSHKeyView
func (*ListAccountSSHKeysOK) IsClientError ¶
func (o *ListAccountSSHKeysOK) IsClientError() bool
IsClientError returns true when this list account Ssh keys o k response has a 4xx status code
func (*ListAccountSSHKeysOK) IsCode ¶
func (o *ListAccountSSHKeysOK) IsCode(code int) bool
IsCode returns true when this list account Ssh keys o k response a status code equal to that given
func (*ListAccountSSHKeysOK) IsRedirect ¶
func (o *ListAccountSSHKeysOK) IsRedirect() bool
IsRedirect returns true when this list account Ssh keys o k response has a 3xx status code
func (*ListAccountSSHKeysOK) IsServerError ¶
func (o *ListAccountSSHKeysOK) IsServerError() bool
IsServerError returns true when this list account Ssh keys o k response has a 5xx status code
func (*ListAccountSSHKeysOK) IsSuccess ¶
func (o *ListAccountSSHKeysOK) IsSuccess() bool
IsSuccess returns true when this list account Ssh keys o k response has a 2xx status code
func (*ListAccountSSHKeysOK) String ¶
func (o *ListAccountSSHKeysOK) String() string
type ListAccountSSHKeysParams ¶
type ListAccountSSHKeysParams struct {
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListAccountSSHKeysParams contains all the parameters to send to the API endpoint
for the list account SSH keys operation. Typically these are written to a http.Request.
func NewListAccountSSHKeysParams ¶
func NewListAccountSSHKeysParams() *ListAccountSSHKeysParams
NewListAccountSSHKeysParams creates a new ListAccountSSHKeysParams 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 NewListAccountSSHKeysParamsWithContext
deprecated
func NewListAccountSSHKeysParamsWithContext(ctx context.Context) *ListAccountSSHKeysParams
NewListAccountSSHKeysParamsWithContext creates a new ListAccountSSHKeysParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListAccountSSHKeysParams.
func NewListAccountSSHKeysParamsWithHTTPClient ¶
func NewListAccountSSHKeysParamsWithHTTPClient(client *http.Client) *ListAccountSSHKeysParams
NewListAccountSSHKeysParamsWithHTTPClient creates a new ListAccountSSHKeysParams object with the ability to set a custom HTTPClient for a request.
func NewListAccountSSHKeysParamsWithTimeout ¶
func NewListAccountSSHKeysParamsWithTimeout(timeout time.Duration) *ListAccountSSHKeysParams
NewListAccountSSHKeysParamsWithTimeout creates a new ListAccountSSHKeysParams object with the ability to set a timeout on a request.
func (*ListAccountSSHKeysParams) SetContext
deprecated
func (o *ListAccountSSHKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the list account SSH keys params.
Deprecated: use the operation call with context to pass the context instead of ListAccountSSHKeysParams.
func (*ListAccountSSHKeysParams) SetDefaults ¶
func (o *ListAccountSSHKeysParams) SetDefaults()
SetDefaults hydrates default values in the list account SSH keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListAccountSSHKeysParams) SetHTTPClient ¶
func (o *ListAccountSSHKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list account SSH keys params.
func (*ListAccountSSHKeysParams) SetTimeout ¶
func (o *ListAccountSSHKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list account SSH keys params.
func (*ListAccountSSHKeysParams) WithContext
deprecated
func (o *ListAccountSSHKeysParams) WithContext(ctx context.Context) *ListAccountSSHKeysParams
WithContext adds the context to the list account SSH keys params.
Deprecated: use the operation call with context to pass the context instead of ListAccountSSHKeysParams.
func (*ListAccountSSHKeysParams) WithDefaults ¶
func (o *ListAccountSSHKeysParams) WithDefaults() *ListAccountSSHKeysParams
WithDefaults hydrates default values in the list account SSH keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListAccountSSHKeysParams) WithHTTPClient ¶
func (o *ListAccountSSHKeysParams) WithHTTPClient(client *http.Client) *ListAccountSSHKeysParams
WithHTTPClient adds the HTTPClient to the list account SSH keys params.
func (*ListAccountSSHKeysParams) WithTimeout ¶
func (o *ListAccountSSHKeysParams) WithTimeout(timeout time.Duration) *ListAccountSSHKeysParams
WithTimeout adds the timeout to the list account SSH keys params.
func (*ListAccountSSHKeysParams) WriteToRequest ¶
func (o *ListAccountSSHKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListAccountSSHKeysReader ¶
type ListAccountSSHKeysReader struct {
// contains filtered or unexported fields
}
ListAccountSSHKeysReader is a Reader for the ListAccountSSHKeys structure.
func (*ListAccountSSHKeysReader) ReadResponse ¶
func (o *ListAccountSSHKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListAccountSSHKeysUnauthorized ¶
type ListAccountSSHKeysUnauthorized struct {
}
ListAccountSSHKeysUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewListAccountSSHKeysUnauthorized ¶
func NewListAccountSSHKeysUnauthorized() *ListAccountSSHKeysUnauthorized
NewListAccountSSHKeysUnauthorized creates a ListAccountSSHKeysUnauthorized with default headers values
func (*ListAccountSSHKeysUnauthorized) Code ¶
func (o *ListAccountSSHKeysUnauthorized) Code() int
Code gets the status code for the list account Ssh keys unauthorized response
func (*ListAccountSSHKeysUnauthorized) Error ¶
func (o *ListAccountSSHKeysUnauthorized) Error() string
func (*ListAccountSSHKeysUnauthorized) GetPayload ¶
func (o *ListAccountSSHKeysUnauthorized) GetPayload() *models.Error
func (*ListAccountSSHKeysUnauthorized) IsClientError ¶
func (o *ListAccountSSHKeysUnauthorized) IsClientError() bool
IsClientError returns true when this list account Ssh keys unauthorized response has a 4xx status code
func (*ListAccountSSHKeysUnauthorized) IsCode ¶
func (o *ListAccountSSHKeysUnauthorized) IsCode(code int) bool
IsCode returns true when this list account Ssh keys unauthorized response a status code equal to that given
func (*ListAccountSSHKeysUnauthorized) IsRedirect ¶
func (o *ListAccountSSHKeysUnauthorized) IsRedirect() bool
IsRedirect returns true when this list account Ssh keys unauthorized response has a 3xx status code
func (*ListAccountSSHKeysUnauthorized) IsServerError ¶
func (o *ListAccountSSHKeysUnauthorized) IsServerError() bool
IsServerError returns true when this list account Ssh keys unauthorized response has a 5xx status code
func (*ListAccountSSHKeysUnauthorized) IsSuccess ¶
func (o *ListAccountSSHKeysUnauthorized) IsSuccess() bool
IsSuccess returns true when this list account Ssh keys unauthorized response has a 2xx status code
func (*ListAccountSSHKeysUnauthorized) String ¶
func (o *ListAccountSSHKeysUnauthorized) String() string
type ListOrgHostsBadRequest ¶
ListOrgHostsBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewListOrgHostsBadRequest ¶
func NewListOrgHostsBadRequest() *ListOrgHostsBadRequest
NewListOrgHostsBadRequest creates a ListOrgHostsBadRequest with default headers values
func (*ListOrgHostsBadRequest) Code ¶
func (o *ListOrgHostsBadRequest) Code() int
Code gets the status code for the list org hosts bad request response
func (*ListOrgHostsBadRequest) Error ¶
func (o *ListOrgHostsBadRequest) Error() string
func (*ListOrgHostsBadRequest) GetPayload ¶
func (o *ListOrgHostsBadRequest) GetPayload() *models.Error
func (*ListOrgHostsBadRequest) IsClientError ¶
func (o *ListOrgHostsBadRequest) IsClientError() bool
IsClientError returns true when this list org hosts bad request response has a 4xx status code
func (*ListOrgHostsBadRequest) IsCode ¶
func (o *ListOrgHostsBadRequest) IsCode(code int) bool
IsCode returns true when this list org hosts bad request response a status code equal to that given
func (*ListOrgHostsBadRequest) IsRedirect ¶
func (o *ListOrgHostsBadRequest) IsRedirect() bool
IsRedirect returns true when this list org hosts bad request response has a 3xx status code
func (*ListOrgHostsBadRequest) IsServerError ¶
func (o *ListOrgHostsBadRequest) IsServerError() bool
IsServerError returns true when this list org hosts bad request response has a 5xx status code
func (*ListOrgHostsBadRequest) IsSuccess ¶
func (o *ListOrgHostsBadRequest) IsSuccess() bool
IsSuccess returns true when this list org hosts bad request response has a 2xx status code
func (*ListOrgHostsBadRequest) String ¶
func (o *ListOrgHostsBadRequest) String() string
type ListOrgHostsOK ¶
type ListOrgHostsOK struct {
Payload *models.APIOrgHostsView
}
ListOrgHostsOK describes a response with status code 200, with default header values.
Org host capacity.
func NewListOrgHostsOK ¶
func NewListOrgHostsOK() *ListOrgHostsOK
NewListOrgHostsOK creates a ListOrgHostsOK with default headers values
func (*ListOrgHostsOK) Code ¶
func (o *ListOrgHostsOK) Code() int
Code gets the status code for the list org hosts o k response
func (*ListOrgHostsOK) Error ¶
func (o *ListOrgHostsOK) Error() string
func (*ListOrgHostsOK) GetPayload ¶
func (o *ListOrgHostsOK) GetPayload() *models.APIOrgHostsView
func (*ListOrgHostsOK) IsClientError ¶
func (o *ListOrgHostsOK) IsClientError() bool
IsClientError returns true when this list org hosts o k response has a 4xx status code
func (*ListOrgHostsOK) IsCode ¶
func (o *ListOrgHostsOK) IsCode(code int) bool
IsCode returns true when this list org hosts o k response a status code equal to that given
func (*ListOrgHostsOK) IsRedirect ¶
func (o *ListOrgHostsOK) IsRedirect() bool
IsRedirect returns true when this list org hosts o k response has a 3xx status code
func (*ListOrgHostsOK) IsServerError ¶
func (o *ListOrgHostsOK) IsServerError() bool
IsServerError returns true when this list org hosts o k response has a 5xx status code
func (*ListOrgHostsOK) IsSuccess ¶
func (o *ListOrgHostsOK) IsSuccess() bool
IsSuccess returns true when this list org hosts o k response has a 2xx status code
func (*ListOrgHostsOK) String ¶
func (o *ListOrgHostsOK) String() string
type ListOrgHostsParams ¶
type ListOrgHostsParams struct {
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListOrgHostsParams contains all the parameters to send to the API endpoint
for the list org hosts operation. Typically these are written to a http.Request.
func NewListOrgHostsParams ¶
func NewListOrgHostsParams() *ListOrgHostsParams
NewListOrgHostsParams creates a new ListOrgHostsParams 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 NewListOrgHostsParamsWithContext
deprecated
func NewListOrgHostsParamsWithContext(ctx context.Context) *ListOrgHostsParams
NewListOrgHostsParamsWithContext creates a new ListOrgHostsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListOrgHostsParams.
func NewListOrgHostsParamsWithHTTPClient ¶
func NewListOrgHostsParamsWithHTTPClient(client *http.Client) *ListOrgHostsParams
NewListOrgHostsParamsWithHTTPClient creates a new ListOrgHostsParams object with the ability to set a custom HTTPClient for a request.
func NewListOrgHostsParamsWithTimeout ¶
func NewListOrgHostsParamsWithTimeout(timeout time.Duration) *ListOrgHostsParams
NewListOrgHostsParamsWithTimeout creates a new ListOrgHostsParams object with the ability to set a timeout on a request.
func (*ListOrgHostsParams) SetContext
deprecated
func (o *ListOrgHostsParams) SetContext(ctx context.Context)
SetContext adds the context to the list org hosts params.
Deprecated: use the operation call with context to pass the context instead of ListOrgHostsParams.
func (*ListOrgHostsParams) SetDefaults ¶
func (o *ListOrgHostsParams) SetDefaults()
SetDefaults hydrates default values in the list org hosts params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrgHostsParams) SetHTTPClient ¶
func (o *ListOrgHostsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list org hosts params.
func (*ListOrgHostsParams) SetTimeout ¶
func (o *ListOrgHostsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list org hosts params.
func (*ListOrgHostsParams) WithContext
deprecated
func (o *ListOrgHostsParams) WithContext(ctx context.Context) *ListOrgHostsParams
WithContext adds the context to the list org hosts params.
Deprecated: use the operation call with context to pass the context instead of ListOrgHostsParams.
func (*ListOrgHostsParams) WithDefaults ¶
func (o *ListOrgHostsParams) WithDefaults() *ListOrgHostsParams
WithDefaults hydrates default values in the list org hosts params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrgHostsParams) WithHTTPClient ¶
func (o *ListOrgHostsParams) WithHTTPClient(client *http.Client) *ListOrgHostsParams
WithHTTPClient adds the HTTPClient to the list org hosts params.
func (*ListOrgHostsParams) WithTimeout ¶
func (o *ListOrgHostsParams) WithTimeout(timeout time.Duration) *ListOrgHostsParams
WithTimeout adds the timeout to the list org hosts params.
func (*ListOrgHostsParams) WriteToRequest ¶
func (o *ListOrgHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListOrgHostsReader ¶
type ListOrgHostsReader struct {
// contains filtered or unexported fields
}
ListOrgHostsReader is a Reader for the ListOrgHosts structure.
func (*ListOrgHostsReader) ReadResponse ¶
func (o *ListOrgHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListOrgHostsUnauthorized ¶
type ListOrgHostsUnauthorized struct {
}
ListOrgHostsUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewListOrgHostsUnauthorized ¶
func NewListOrgHostsUnauthorized() *ListOrgHostsUnauthorized
NewListOrgHostsUnauthorized creates a ListOrgHostsUnauthorized with default headers values
func (*ListOrgHostsUnauthorized) Code ¶
func (o *ListOrgHostsUnauthorized) Code() int
Code gets the status code for the list org hosts unauthorized response
func (*ListOrgHostsUnauthorized) Error ¶
func (o *ListOrgHostsUnauthorized) Error() string
func (*ListOrgHostsUnauthorized) GetPayload ¶
func (o *ListOrgHostsUnauthorized) GetPayload() *models.Error
func (*ListOrgHostsUnauthorized) IsClientError ¶
func (o *ListOrgHostsUnauthorized) IsClientError() bool
IsClientError returns true when this list org hosts unauthorized response has a 4xx status code
func (*ListOrgHostsUnauthorized) IsCode ¶
func (o *ListOrgHostsUnauthorized) IsCode(code int) bool
IsCode returns true when this list org hosts unauthorized response a status code equal to that given
func (*ListOrgHostsUnauthorized) IsRedirect ¶
func (o *ListOrgHostsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list org hosts unauthorized response has a 3xx status code
func (*ListOrgHostsUnauthorized) IsServerError ¶
func (o *ListOrgHostsUnauthorized) IsServerError() bool
IsServerError returns true when this list org hosts unauthorized response has a 5xx status code
func (*ListOrgHostsUnauthorized) IsSuccess ¶
func (o *ListOrgHostsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list org hosts unauthorized response has a 2xx status code
func (*ListOrgHostsUnauthorized) String ¶
func (o *ListOrgHostsUnauthorized) String() string
type RevokeAPIKeyBadRequest ¶
RevokeAPIKeyBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewRevokeAPIKeyBadRequest ¶
func NewRevokeAPIKeyBadRequest() *RevokeAPIKeyBadRequest
NewRevokeAPIKeyBadRequest creates a RevokeAPIKeyBadRequest with default headers values
func (*RevokeAPIKeyBadRequest) Code ¶
func (o *RevokeAPIKeyBadRequest) Code() int
Code gets the status code for the revoke Api key bad request response
func (*RevokeAPIKeyBadRequest) Error ¶
func (o *RevokeAPIKeyBadRequest) Error() string
func (*RevokeAPIKeyBadRequest) GetPayload ¶
func (o *RevokeAPIKeyBadRequest) GetPayload() *models.Error
func (*RevokeAPIKeyBadRequest) IsClientError ¶
func (o *RevokeAPIKeyBadRequest) IsClientError() bool
IsClientError returns true when this revoke Api key bad request response has a 4xx status code
func (*RevokeAPIKeyBadRequest) IsCode ¶
func (o *RevokeAPIKeyBadRequest) IsCode(code int) bool
IsCode returns true when this revoke Api key bad request response a status code equal to that given
func (*RevokeAPIKeyBadRequest) IsRedirect ¶
func (o *RevokeAPIKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this revoke Api key bad request response has a 3xx status code
func (*RevokeAPIKeyBadRequest) IsServerError ¶
func (o *RevokeAPIKeyBadRequest) IsServerError() bool
IsServerError returns true when this revoke Api key bad request response has a 5xx status code
func (*RevokeAPIKeyBadRequest) IsSuccess ¶
func (o *RevokeAPIKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this revoke Api key bad request response has a 2xx status code
func (*RevokeAPIKeyBadRequest) String ¶
func (o *RevokeAPIKeyBadRequest) String() string
type RevokeAPIKeyOK ¶
type RevokeAPIKeyOK struct {
Payload *models.APIAPIKeyView
}
RevokeAPIKeyOK describes a response with status code 200, with default header values.
The revoked API key.
func NewRevokeAPIKeyOK ¶
func NewRevokeAPIKeyOK() *RevokeAPIKeyOK
NewRevokeAPIKeyOK creates a RevokeAPIKeyOK with default headers values
func (*RevokeAPIKeyOK) Code ¶
func (o *RevokeAPIKeyOK) Code() int
Code gets the status code for the revoke Api key o k response
func (*RevokeAPIKeyOK) Error ¶
func (o *RevokeAPIKeyOK) Error() string
func (*RevokeAPIKeyOK) GetPayload ¶
func (o *RevokeAPIKeyOK) GetPayload() *models.APIAPIKeyView
func (*RevokeAPIKeyOK) IsClientError ¶
func (o *RevokeAPIKeyOK) IsClientError() bool
IsClientError returns true when this revoke Api key o k response has a 4xx status code
func (*RevokeAPIKeyOK) IsCode ¶
func (o *RevokeAPIKeyOK) IsCode(code int) bool
IsCode returns true when this revoke Api key o k response a status code equal to that given
func (*RevokeAPIKeyOK) IsRedirect ¶
func (o *RevokeAPIKeyOK) IsRedirect() bool
IsRedirect returns true when this revoke Api key o k response has a 3xx status code
func (*RevokeAPIKeyOK) IsServerError ¶
func (o *RevokeAPIKeyOK) IsServerError() bool
IsServerError returns true when this revoke Api key o k response has a 5xx status code
func (*RevokeAPIKeyOK) IsSuccess ¶
func (o *RevokeAPIKeyOK) IsSuccess() bool
IsSuccess returns true when this revoke Api key o k response has a 2xx status code
func (*RevokeAPIKeyOK) String ¶
func (o *RevokeAPIKeyOK) String() string
type RevokeAPIKeyParams ¶
type RevokeAPIKeyParams struct {
/* ID.
Resource identifier.
*/
ID string
HTTPClient *http.Client
// contains filtered or unexported fields
}
RevokeAPIKeyParams contains all the parameters to send to the API endpoint
for the revoke API key operation. Typically these are written to a http.Request.
func NewRevokeAPIKeyParams ¶
func NewRevokeAPIKeyParams() *RevokeAPIKeyParams
NewRevokeAPIKeyParams creates a new RevokeAPIKeyParams 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 NewRevokeAPIKeyParamsWithContext
deprecated
func NewRevokeAPIKeyParamsWithContext(ctx context.Context) *RevokeAPIKeyParams
NewRevokeAPIKeyParamsWithContext creates a new RevokeAPIKeyParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of RevokeAPIKeyParams.
func NewRevokeAPIKeyParamsWithHTTPClient ¶
func NewRevokeAPIKeyParamsWithHTTPClient(client *http.Client) *RevokeAPIKeyParams
NewRevokeAPIKeyParamsWithHTTPClient creates a new RevokeAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeAPIKeyParamsWithTimeout ¶
func NewRevokeAPIKeyParamsWithTimeout(timeout time.Duration) *RevokeAPIKeyParams
NewRevokeAPIKeyParamsWithTimeout creates a new RevokeAPIKeyParams object with the ability to set a timeout on a request.
func (*RevokeAPIKeyParams) SetContext
deprecated
func (o *RevokeAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke API key params.
Deprecated: use the operation call with context to pass the context instead of RevokeAPIKeyParams.
func (*RevokeAPIKeyParams) SetDefaults ¶
func (o *RevokeAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the revoke API key params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeAPIKeyParams) SetHTTPClient ¶
func (o *RevokeAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke API key params.
func (*RevokeAPIKeyParams) SetID ¶
func (o *RevokeAPIKeyParams) SetID(id string)
SetID adds the id to the revoke API key params.
func (*RevokeAPIKeyParams) SetTimeout ¶
func (o *RevokeAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke API key params.
func (*RevokeAPIKeyParams) WithContext
deprecated
func (o *RevokeAPIKeyParams) WithContext(ctx context.Context) *RevokeAPIKeyParams
WithContext adds the context to the revoke API key params.
Deprecated: use the operation call with context to pass the context instead of RevokeAPIKeyParams.
func (*RevokeAPIKeyParams) WithDefaults ¶
func (o *RevokeAPIKeyParams) WithDefaults() *RevokeAPIKeyParams
WithDefaults hydrates default values in the revoke API key params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeAPIKeyParams) WithHTTPClient ¶
func (o *RevokeAPIKeyParams) WithHTTPClient(client *http.Client) *RevokeAPIKeyParams
WithHTTPClient adds the HTTPClient to the revoke API key params.
func (*RevokeAPIKeyParams) WithID ¶
func (o *RevokeAPIKeyParams) WithID(id string) *RevokeAPIKeyParams
WithID adds the id to the revoke API key params.
func (*RevokeAPIKeyParams) WithTimeout ¶
func (o *RevokeAPIKeyParams) WithTimeout(timeout time.Duration) *RevokeAPIKeyParams
WithTimeout adds the timeout to the revoke API key params.
func (*RevokeAPIKeyParams) WriteToRequest ¶
func (o *RevokeAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type RevokeAPIKeyReader ¶
type RevokeAPIKeyReader struct {
// contains filtered or unexported fields
}
RevokeAPIKeyReader is a Reader for the RevokeAPIKey structure.
func (*RevokeAPIKeyReader) ReadResponse ¶
func (o *RevokeAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RevokeAPIKeyUnauthorized ¶
type RevokeAPIKeyUnauthorized struct {
}
RevokeAPIKeyUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewRevokeAPIKeyUnauthorized ¶
func NewRevokeAPIKeyUnauthorized() *RevokeAPIKeyUnauthorized
NewRevokeAPIKeyUnauthorized creates a RevokeAPIKeyUnauthorized with default headers values
func (*RevokeAPIKeyUnauthorized) Code ¶
func (o *RevokeAPIKeyUnauthorized) Code() int
Code gets the status code for the revoke Api key unauthorized response
func (*RevokeAPIKeyUnauthorized) Error ¶
func (o *RevokeAPIKeyUnauthorized) Error() string
func (*RevokeAPIKeyUnauthorized) GetPayload ¶
func (o *RevokeAPIKeyUnauthorized) GetPayload() *models.Error
func (*RevokeAPIKeyUnauthorized) IsClientError ¶
func (o *RevokeAPIKeyUnauthorized) IsClientError() bool
IsClientError returns true when this revoke Api key unauthorized response has a 4xx status code
func (*RevokeAPIKeyUnauthorized) IsCode ¶
func (o *RevokeAPIKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke Api key unauthorized response a status code equal to that given
func (*RevokeAPIKeyUnauthorized) IsRedirect ¶
func (o *RevokeAPIKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke Api key unauthorized response has a 3xx status code
func (*RevokeAPIKeyUnauthorized) IsServerError ¶
func (o *RevokeAPIKeyUnauthorized) IsServerError() bool
IsServerError returns true when this revoke Api key unauthorized response has a 5xx status code
func (*RevokeAPIKeyUnauthorized) IsSuccess ¶
func (o *RevokeAPIKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke Api key unauthorized response has a 2xx status code
func (*RevokeAPIKeyUnauthorized) String ¶
func (o *RevokeAPIKeyUnauthorized) String() string
type UpdateAccountBadRequest ¶
UpdateAccountBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewUpdateAccountBadRequest ¶
func NewUpdateAccountBadRequest() *UpdateAccountBadRequest
NewUpdateAccountBadRequest creates a UpdateAccountBadRequest with default headers values
func (*UpdateAccountBadRequest) Code ¶
func (o *UpdateAccountBadRequest) Code() int
Code gets the status code for the update account bad request response
func (*UpdateAccountBadRequest) Error ¶
func (o *UpdateAccountBadRequest) Error() string
func (*UpdateAccountBadRequest) GetPayload ¶
func (o *UpdateAccountBadRequest) GetPayload() *models.Error
func (*UpdateAccountBadRequest) IsClientError ¶
func (o *UpdateAccountBadRequest) IsClientError() bool
IsClientError returns true when this update account bad request response has a 4xx status code
func (*UpdateAccountBadRequest) IsCode ¶
func (o *UpdateAccountBadRequest) IsCode(code int) bool
IsCode returns true when this update account bad request response a status code equal to that given
func (*UpdateAccountBadRequest) IsRedirect ¶
func (o *UpdateAccountBadRequest) IsRedirect() bool
IsRedirect returns true when this update account bad request response has a 3xx status code
func (*UpdateAccountBadRequest) IsServerError ¶
func (o *UpdateAccountBadRequest) IsServerError() bool
IsServerError returns true when this update account bad request response has a 5xx status code
func (*UpdateAccountBadRequest) IsSuccess ¶
func (o *UpdateAccountBadRequest) IsSuccess() bool
IsSuccess returns true when this update account bad request response has a 2xx status code
func (*UpdateAccountBadRequest) String ¶
func (o *UpdateAccountBadRequest) String() string
type UpdateAccountOK ¶
UpdateAccountOK describes a response with status code 200, with default header values.
The updated user.
func NewUpdateAccountOK ¶
func NewUpdateAccountOK() *UpdateAccountOK
NewUpdateAccountOK creates a UpdateAccountOK with default headers values
func (*UpdateAccountOK) Code ¶
func (o *UpdateAccountOK) Code() int
Code gets the status code for the update account o k response
func (*UpdateAccountOK) Error ¶
func (o *UpdateAccountOK) Error() string
func (*UpdateAccountOK) GetPayload ¶
func (o *UpdateAccountOK) GetPayload() *models.APIMeView
func (*UpdateAccountOK) IsClientError ¶
func (o *UpdateAccountOK) IsClientError() bool
IsClientError returns true when this update account o k response has a 4xx status code
func (*UpdateAccountOK) IsCode ¶
func (o *UpdateAccountOK) IsCode(code int) bool
IsCode returns true when this update account o k response a status code equal to that given
func (*UpdateAccountOK) IsRedirect ¶
func (o *UpdateAccountOK) IsRedirect() bool
IsRedirect returns true when this update account o k response has a 3xx status code
func (*UpdateAccountOK) IsServerError ¶
func (o *UpdateAccountOK) IsServerError() bool
IsServerError returns true when this update account o k response has a 5xx status code
func (*UpdateAccountOK) IsSuccess ¶
func (o *UpdateAccountOK) IsSuccess() bool
IsSuccess returns true when this update account o k response has a 2xx status code
func (*UpdateAccountOK) String ¶
func (o *UpdateAccountOK) String() string
type UpdateAccountParams ¶
type UpdateAccountParams struct {
/* Request.
Request body
*/
Request *models.UpdateMePayload
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateAccountParams contains all the parameters to send to the API endpoint
for the update account operation. Typically these are written to a http.Request.
func NewUpdateAccountParams ¶
func NewUpdateAccountParams() *UpdateAccountParams
NewUpdateAccountParams creates a new UpdateAccountParams 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 NewUpdateAccountParamsWithContext
deprecated
func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams
NewUpdateAccountParamsWithContext creates a new UpdateAccountParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of UpdateAccountParams.
func NewUpdateAccountParamsWithHTTPClient ¶
func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams
NewUpdateAccountParamsWithHTTPClient creates a new UpdateAccountParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAccountParamsWithTimeout ¶
func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams
NewUpdateAccountParamsWithTimeout creates a new UpdateAccountParams object with the ability to set a timeout on a request.
func (*UpdateAccountParams) SetContext
deprecated
func (o *UpdateAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update account params.
Deprecated: use the operation call with context to pass the context instead of UpdateAccountParams.
func (*UpdateAccountParams) SetDefaults ¶
func (o *UpdateAccountParams) SetDefaults()
SetDefaults hydrates default values in the update account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccountParams) SetHTTPClient ¶
func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update account params.
func (*UpdateAccountParams) SetRequest ¶
func (o *UpdateAccountParams) SetRequest(request *models.UpdateMePayload)
SetRequest adds the request to the update account params.
func (*UpdateAccountParams) SetTimeout ¶
func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update account params.
func (*UpdateAccountParams) WithContext
deprecated
func (o *UpdateAccountParams) WithContext(ctx context.Context) *UpdateAccountParams
WithContext adds the context to the update account params.
Deprecated: use the operation call with context to pass the context instead of UpdateAccountParams.
func (*UpdateAccountParams) WithDefaults ¶
func (o *UpdateAccountParams) WithDefaults() *UpdateAccountParams
WithDefaults hydrates default values in the update account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAccountParams) WithHTTPClient ¶
func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams
WithHTTPClient adds the HTTPClient to the update account params.
func (*UpdateAccountParams) WithRequest ¶
func (o *UpdateAccountParams) WithRequest(request *models.UpdateMePayload) *UpdateAccountParams
WithRequest adds the request to the update account params.
func (*UpdateAccountParams) WithTimeout ¶
func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams
WithTimeout adds the timeout to the update account params.
func (*UpdateAccountParams) WriteToRequest ¶
func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type UpdateAccountReader ¶
type UpdateAccountReader struct {
// contains filtered or unexported fields
}
UpdateAccountReader is a Reader for the UpdateAccount structure.
func (*UpdateAccountReader) ReadResponse ¶
func (o *UpdateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateAccountUnauthorized ¶
type UpdateAccountUnauthorized struct {
}
UpdateAccountUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewUpdateAccountUnauthorized ¶
func NewUpdateAccountUnauthorized() *UpdateAccountUnauthorized
NewUpdateAccountUnauthorized creates a UpdateAccountUnauthorized with default headers values
func (*UpdateAccountUnauthorized) Code ¶
func (o *UpdateAccountUnauthorized) Code() int
Code gets the status code for the update account unauthorized response
func (*UpdateAccountUnauthorized) Error ¶
func (o *UpdateAccountUnauthorized) Error() string
func (*UpdateAccountUnauthorized) GetPayload ¶
func (o *UpdateAccountUnauthorized) GetPayload() *models.Error
func (*UpdateAccountUnauthorized) IsClientError ¶
func (o *UpdateAccountUnauthorized) IsClientError() bool
IsClientError returns true when this update account unauthorized response has a 4xx status code
func (*UpdateAccountUnauthorized) IsCode ¶
func (o *UpdateAccountUnauthorized) IsCode(code int) bool
IsCode returns true when this update account unauthorized response a status code equal to that given
func (*UpdateAccountUnauthorized) IsRedirect ¶
func (o *UpdateAccountUnauthorized) IsRedirect() bool
IsRedirect returns true when this update account unauthorized response has a 3xx status code
func (*UpdateAccountUnauthorized) IsServerError ¶
func (o *UpdateAccountUnauthorized) IsServerError() bool
IsServerError returns true when this update account unauthorized response has a 5xx status code
func (*UpdateAccountUnauthorized) IsSuccess ¶
func (o *UpdateAccountUnauthorized) IsSuccess() bool
IsSuccess returns true when this update account unauthorized response has a 2xx status code
func (*UpdateAccountUnauthorized) String ¶
func (o *UpdateAccountUnauthorized) String() string
type WhoamiOK ¶
type WhoamiOK struct {
Payload *models.APICurrentOrgIdentityView
}
WhoamiOK describes a response with status code 200, with default header values.
The current identity.
func NewWhoamiOK ¶
func NewWhoamiOK() *WhoamiOK
NewWhoamiOK creates a WhoamiOK with default headers values
func (*WhoamiOK) GetPayload ¶
func (o *WhoamiOK) GetPayload() *models.APICurrentOrgIdentityView
func (*WhoamiOK) IsClientError ¶
IsClientError returns true when this whoami o k response has a 4xx status code
func (*WhoamiOK) IsCode ¶
IsCode returns true when this whoami o k response a status code equal to that given
func (*WhoamiOK) IsRedirect ¶
IsRedirect returns true when this whoami o k response has a 3xx status code
func (*WhoamiOK) IsServerError ¶
IsServerError returns true when this whoami o k response has a 5xx status code
type WhoamiParams ¶
WhoamiParams contains all the parameters to send to the API endpoint
for the whoami operation. Typically these are written to a http.Request.
func NewWhoamiParams ¶
func NewWhoamiParams() *WhoamiParams
NewWhoamiParams creates a new WhoamiParams 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 NewWhoamiParamsWithContext
deprecated
func NewWhoamiParamsWithContext(ctx context.Context) *WhoamiParams
NewWhoamiParamsWithContext creates a new WhoamiParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of WhoamiParams.
func NewWhoamiParamsWithHTTPClient ¶
func NewWhoamiParamsWithHTTPClient(client *http.Client) *WhoamiParams
NewWhoamiParamsWithHTTPClient creates a new WhoamiParams object with the ability to set a custom HTTPClient for a request.
func NewWhoamiParamsWithTimeout ¶
func NewWhoamiParamsWithTimeout(timeout time.Duration) *WhoamiParams
NewWhoamiParamsWithTimeout creates a new WhoamiParams object with the ability to set a timeout on a request.
func (*WhoamiParams) SetContext
deprecated
func (o *WhoamiParams) SetContext(ctx context.Context)
SetContext adds the context to the whoami params.
Deprecated: use the operation call with context to pass the context instead of WhoamiParams.
func (*WhoamiParams) SetDefaults ¶
func (o *WhoamiParams) SetDefaults()
SetDefaults hydrates default values in the whoami params (not the query body).
All values with no default are reset to their zero value.
func (*WhoamiParams) SetHTTPClient ¶
func (o *WhoamiParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the whoami params.
func (*WhoamiParams) SetTimeout ¶
func (o *WhoamiParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the whoami params.
func (*WhoamiParams) WithContext
deprecated
func (o *WhoamiParams) WithContext(ctx context.Context) *WhoamiParams
WithContext adds the context to the whoami params.
Deprecated: use the operation call with context to pass the context instead of WhoamiParams.
func (*WhoamiParams) WithDefaults ¶
func (o *WhoamiParams) WithDefaults() *WhoamiParams
WithDefaults hydrates default values in the whoami params (not the query body).
All values with no default are reset to their zero value.
func (*WhoamiParams) WithHTTPClient ¶
func (o *WhoamiParams) WithHTTPClient(client *http.Client) *WhoamiParams
WithHTTPClient adds the HTTPClient to the whoami params.
func (*WhoamiParams) WithTimeout ¶
func (o *WhoamiParams) WithTimeout(timeout time.Duration) *WhoamiParams
WithTimeout adds the timeout to the whoami params.
func (*WhoamiParams) WriteToRequest ¶
func (o *WhoamiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type WhoamiReader ¶
type WhoamiReader struct {
// contains filtered or unexported fields
}
WhoamiReader is a Reader for the Whoami structure.
func (*WhoamiReader) ReadResponse ¶
func (o *WhoamiReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type WhoamiUnauthorized ¶
type WhoamiUnauthorized struct {
}
WhoamiUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewWhoamiUnauthorized ¶
func NewWhoamiUnauthorized() *WhoamiUnauthorized
NewWhoamiUnauthorized creates a WhoamiUnauthorized with default headers values
func (*WhoamiUnauthorized) Code ¶
func (o *WhoamiUnauthorized) Code() int
Code gets the status code for the whoami unauthorized response
func (*WhoamiUnauthorized) Error ¶
func (o *WhoamiUnauthorized) Error() string
func (*WhoamiUnauthorized) GetPayload ¶
func (o *WhoamiUnauthorized) GetPayload() *models.Error
func (*WhoamiUnauthorized) IsClientError ¶
func (o *WhoamiUnauthorized) IsClientError() bool
IsClientError returns true when this whoami unauthorized response has a 4xx status code
func (*WhoamiUnauthorized) IsCode ¶
func (o *WhoamiUnauthorized) IsCode(code int) bool
IsCode returns true when this whoami unauthorized response a status code equal to that given
func (*WhoamiUnauthorized) IsRedirect ¶
func (o *WhoamiUnauthorized) IsRedirect() bool
IsRedirect returns true when this whoami unauthorized response has a 3xx status code
func (*WhoamiUnauthorized) IsServerError ¶
func (o *WhoamiUnauthorized) IsServerError() bool
IsServerError returns true when this whoami unauthorized response has a 5xx status code
func (*WhoamiUnauthorized) IsSuccess ¶
func (o *WhoamiUnauthorized) IsSuccess() bool
IsSuccess returns true when this whoami unauthorized response has a 2xx status code
func (*WhoamiUnauthorized) String ¶
func (o *WhoamiUnauthorized) String() string
Source Files
¶
- create_account_ssh_key_parameters.go
- create_account_ssh_key_responses.go
- create_api_key_parameters.go
- create_api_key_responses.go
- delete_account_ssh_key_parameters.go
- delete_account_ssh_key_responses.go
- list_account_ssh_keys_parameters.go
- list_account_ssh_keys_responses.go
- list_api_keys_parameters.go
- list_api_keys_responses.go
- list_org_hosts_parameters.go
- list_org_hosts_responses.go
- org_access_client.go
- revoke_api_key_parameters.go
- revoke_api_key_responses.go
- update_account_parameters.go
- update_account_responses.go
- whoami_parameters.go
- whoami_responses.go