org_access

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

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

type CreateAPIKeyBadRequest struct {
	Payload *models.Error
}

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 (*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

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

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 {
	Payload *models.Error
}

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

type CreateAccountSSHKeyBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the create account Ssh key bad request response

func (*CreateAccountSSHKeyBadRequest) Error

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

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 (*CreateAccountSSHKeyCreated) GetPayload

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

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

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

WithRequest adds the request to the create account SSH key params.

func (*CreateAccountSSHKeyParams) WithTimeout

WithTimeout adds the timeout to the create account SSH key params.

func (*CreateAccountSSHKeyParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the create account Ssh key unauthorized response

func (*CreateAccountSSHKeyUnauthorized) Error

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

type DeleteAccountSSHKeyBadRequest

type DeleteAccountSSHKeyBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the delete account Ssh key bad request response

func (*DeleteAccountSSHKeyBadRequest) Error

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

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

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

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

WithID adds the id to the delete account SSH key params.

func (*DeleteAccountSSHKeyParams) WithTimeout

WithTimeout adds the timeout to the delete account SSH key params.

func (*DeleteAccountSSHKeyParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the delete account Ssh key unauthorized response

func (*DeleteAccountSSHKeyUnauthorized) Error

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

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

type ListAPIKeysParams struct {
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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 {
	Payload *models.Error
}

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

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

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

WithTimeout adds the timeout to the list account SSH keys params.

func (*ListAccountSSHKeysParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the list account Ssh keys unauthorized response

func (*ListAccountSSHKeysUnauthorized) Error

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

type ListOrgHostsBadRequest

type ListOrgHostsBadRequest struct {
	Payload *models.Error
}

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

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 {
	Payload *models.Error
}

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

type RevokeAPIKeyBadRequest struct {
	Payload *models.Error
}

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

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

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 {
	Payload *models.Error
}

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

type UpdateAccountBadRequest struct {
	Payload *models.Error
}

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

type UpdateAccountOK struct {
	Payload *models.APIMeView
}

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

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

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 {
	Payload *models.Error
}

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) Code

func (o *WhoamiOK) Code() int

Code gets the status code for the whoami o k response

func (*WhoamiOK) Error

func (o *WhoamiOK) Error() string

func (*WhoamiOK) GetPayload

func (o *WhoamiOK) GetPayload() *models.APICurrentOrgIdentityView

func (*WhoamiOK) IsClientError

func (o *WhoamiOK) IsClientError() bool

IsClientError returns true when this whoami o k response has a 4xx status code

func (*WhoamiOK) IsCode

func (o *WhoamiOK) IsCode(code int) bool

IsCode returns true when this whoami o k response a status code equal to that given

func (*WhoamiOK) IsRedirect

func (o *WhoamiOK) IsRedirect() bool

IsRedirect returns true when this whoami o k response has a 3xx status code

func (*WhoamiOK) IsServerError

func (o *WhoamiOK) IsServerError() bool

IsServerError returns true when this whoami o k response has a 5xx status code

func (*WhoamiOK) IsSuccess

func (o *WhoamiOK) IsSuccess() bool

IsSuccess returns true when this whoami o k response has a 2xx status code

func (*WhoamiOK) String

func (o *WhoamiOK) String() string

type WhoamiParams

type WhoamiParams struct {
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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 {
	Payload *models.Error
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL