users

package
v2.30.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 12 Imported by: 2

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 users API

func (*Client) CurrentUserEndpointAuthorizationsInspect ¶

CurrentUserEndpointAuthorizationsInspect inspects environment authorizations for the current user

Retrieve environment authorizations for the current  user.

**Access policy**: authenticated

func (*Client) CurrentUserInspect ¶

func (a *Client) CurrentUserInspect(params *CurrentUserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CurrentUserInspectOK, error)
CurrentUserInspect inspects the current user

Retrieve details about the current user.

User passwords are filtered out, and should never be accessible. **Access policy**: authenticated

func (*Client) SetTransport ¶

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UserAdminCheck ¶

func (a *Client) UserAdminCheck(params *UserAdminCheckParams, opts ...ClientOption) (*UserAdminCheckNoContent, error)
UserAdminCheck checks administrator account existence

Check if an administrator account exists in the database.

**Access policy**: public

func (*Client) UserAdminInit ¶

func (a *Client) UserAdminInit(params *UserAdminInitParams, opts ...ClientOption) (*UserAdminInitOK, error)
UserAdminInit initializes administrator account

Initialize the 'admin' user account.

**Access policy**: public

func (*Client) UserCreate ¶

func (a *Client) UserCreate(params *UserCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateOK, error)
UserCreate creates a new user

Create a new Portainer user.

Only administrators can create users. **Access policy**: restricted

func (*Client) UserCreateGitCredential ¶

func (a *Client) UserCreateGitCredential(params *UserCreateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateGitCredentialCreated, error)
UserCreateGitCredential stores a git credential for a user

Store a Git Credential for a user.

Only the calling user can store a git credential for themselves. **Access policy**: restricted

func (*Client) UserDelete ¶

func (a *Client) UserDelete(params *UserDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteNoContent, error)
UserDelete removes a user

Remove a user.

**Access policy**: administrator

func (*Client) UserGenerateAPIKey ¶

func (a *Client) UserGenerateAPIKey(params *UserGenerateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGenerateAPIKeyOK, error)
UserGenerateAPIKey generates an API key for a user

Generates an API key for a user.

Only the calling user can generate a token for themselves. Password is required only for internal authentication. **Access policy**: restricted

func (*Client) UserGetAPIKeys ¶

func (a *Client) UserGetAPIKeys(params *UserGetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetAPIKeysOK, error)
UserGetAPIKeys gets all API keys for a user

Gets all API keys for a user.

Only the calling user or admin can retrieve api-keys. **Access policy**: authenticated

func (*Client) UserGetGitCredential ¶

func (a *Client) UserGetGitCredential(params *UserGetGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialOK, error)
UserGetGitCredential gets the specific saved git credential for a user

Gets the specific saved git credential for a user.

Only the calling user can retrieve git credential **Access policy**: authenticated

func (*Client) UserGetGitCredentials ¶

func (a *Client) UserGetGitCredentials(params *UserGetGitCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialsOK, error)
UserGetGitCredentials gets all saved git credentials for a user

Gets all saved git credentials for a user.

Only the calling user can retrieve git credentials **Access policy**: authenticated

func (*Client) UserInspect ¶

func (a *Client) UserInspect(params *UserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserInspectOK, error)
UserInspect inspects a user

Retrieve details about a user.

User passwords are filtered out, and should never be accessible. **Access policy**: authenticated

func (*Client) UserList ¶

func (a *Client) UserList(params *UserListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListOK, error)
UserList lists users

List Portainer users.

Non-administrator users will only be able to list other non-administrator user accounts. User passwords are filtered out, and should never be accessible. **Access policy**: restricted

func (*Client) UserMembershipsInspect ¶

func (a *Client) UserMembershipsInspect(params *UserMembershipsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserMembershipsInspectOK, error)
UserMembershipsInspect inspects a user memberships

Inspect a user memberships.

**Access policy**: restricted

func (*Client) UserNamespaces ¶

func (a *Client) UserNamespaces(params *UserNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNamespacesOK, error)
UserNamespaces retrieves all k8s namespaces for an user

Retrieves user's role authorizations of all namespaces in all k8s environments(endpoints)

**Access policy**: restricted

func (*Client) UserRemoveAPIKey ¶

func (a *Client) UserRemoveAPIKey(params *UserRemoveAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveAPIKeyNoContent, error)
UserRemoveAPIKey removes an api key associated to a user

Remove an api-key associated to a user..

Only the calling user or admin can remove api-key. **Access policy**: authenticated

func (*Client) UserRemoveGitCredential ¶

func (a *Client) UserRemoveGitCredential(params *UserRemoveGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveGitCredentialNoContent, error)
UserRemoveGitCredential removes a git credential associated to a user

Remove a git-credential associated to a user..

Only the calling user can remove git-credential **Access policy**: authenticated

func (*Client) UserUpdate ¶

func (a *Client) UserUpdate(params *UserUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOK, error)
UserUpdate updates a user

Update user details. A regular user account can only update his details.

A regular user account cannot change their username or role. **Access policy**: authenticated

func (*Client) UserUpdateGitCredential ¶

func (a *Client) UserUpdateGitCredential(params *UserUpdateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateGitCredentialNoContent, error)
UserUpdateGitCredential updates a git credential associated to a user

Update a git-credential associated to a user..

Only the calling user can update git-credential **Access policy**: authenticated

func (*Client) UserUpdateOpenAIConfig ¶

func (a *Client) UserUpdateOpenAIConfig(params *UserUpdateOpenAIConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOpenAIConfigNoContent, error)
UserUpdateOpenAIConfig updates the open a i API configuration associated to a user

Update the OpenAI API key and OpenAI model associated to a user. Requires the OpenAI experimental feature setting to be enabled.

This configuration will be used when interacting with the OpenAI chat. Only an administrator user or the user itself can update the OpenAI API key. **Access policy**: restricted

func (*Client) UserUpdatePassword ¶

func (a *Client) UserUpdatePassword(params *UserUpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdatePasswordNoContent, error)
UserUpdatePassword updates password for a user

Update password for the specified user.

**Access policy**: authenticated

type ClientOption ¶

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService ¶

type ClientService interface {
	CurrentUserEndpointAuthorizationsInspect(params *CurrentUserEndpointAuthorizationsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CurrentUserEndpointAuthorizationsInspectOK, error)

	CurrentUserInspect(params *CurrentUserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CurrentUserInspectOK, error)

	UserAdminCheck(params *UserAdminCheckParams, opts ...ClientOption) (*UserAdminCheckNoContent, error)

	UserAdminInit(params *UserAdminInitParams, opts ...ClientOption) (*UserAdminInitOK, error)

	UserCreate(params *UserCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateOK, error)

	UserCreateGitCredential(params *UserCreateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateGitCredentialCreated, error)

	UserDelete(params *UserDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteNoContent, error)

	UserGenerateAPIKey(params *UserGenerateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGenerateAPIKeyOK, error)

	UserGetAPIKeys(params *UserGetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetAPIKeysOK, error)

	UserGetGitCredential(params *UserGetGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialOK, error)

	UserGetGitCredentials(params *UserGetGitCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialsOK, error)

	UserInspect(params *UserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserInspectOK, error)

	UserList(params *UserListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListOK, error)

	UserMembershipsInspect(params *UserMembershipsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserMembershipsInspectOK, error)

	UserNamespaces(params *UserNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNamespacesOK, error)

	UserRemoveAPIKey(params *UserRemoveAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveAPIKeyNoContent, error)

	UserRemoveGitCredential(params *UserRemoveGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveGitCredentialNoContent, error)

	UserUpdate(params *UserUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOK, error)

	UserUpdateGitCredential(params *UserUpdateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateGitCredentialNoContent, error)

	UserUpdateOpenAIConfig(params *UserUpdateOpenAIConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOpenAIConfigNoContent, error)

	UserUpdatePassword(params *UserUpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdatePasswordNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New ¶

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new users API client.

func NewClientWithBasicAuth ¶

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new users 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 users 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 CurrentUserEndpointAuthorizationsInspectBadRequest ¶

type CurrentUserEndpointAuthorizationsInspectBadRequest struct {
}

CurrentUserEndpointAuthorizationsInspectBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewCurrentUserEndpointAuthorizationsInspectBadRequest ¶

func NewCurrentUserEndpointAuthorizationsInspectBadRequest() *CurrentUserEndpointAuthorizationsInspectBadRequest

NewCurrentUserEndpointAuthorizationsInspectBadRequest creates a CurrentUserEndpointAuthorizationsInspectBadRequest with default headers values

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) Code ¶

Code gets the status code for the current user endpoint authorizations inspect bad request response

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) Error ¶

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsClientError ¶

IsClientError returns true when this current user endpoint authorizations inspect bad request response has a 4xx status code

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsCode ¶

IsCode returns true when this current user endpoint authorizations inspect bad request response a status code equal to that given

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsRedirect ¶

IsRedirect returns true when this current user endpoint authorizations inspect bad request response has a 3xx status code

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsServerError ¶

IsServerError returns true when this current user endpoint authorizations inspect bad request response has a 5xx status code

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsSuccess ¶

IsSuccess returns true when this current user endpoint authorizations inspect bad request response has a 2xx status code

func (*CurrentUserEndpointAuthorizationsInspectBadRequest) String ¶

type CurrentUserEndpointAuthorizationsInspectForbidden ¶

type CurrentUserEndpointAuthorizationsInspectForbidden struct {
}

CurrentUserEndpointAuthorizationsInspectForbidden describes a response with status code 403, with default header values.

Permission denied

func NewCurrentUserEndpointAuthorizationsInspectForbidden ¶

func NewCurrentUserEndpointAuthorizationsInspectForbidden() *CurrentUserEndpointAuthorizationsInspectForbidden

NewCurrentUserEndpointAuthorizationsInspectForbidden creates a CurrentUserEndpointAuthorizationsInspectForbidden with default headers values

func (*CurrentUserEndpointAuthorizationsInspectForbidden) Code ¶

Code gets the status code for the current user endpoint authorizations inspect forbidden response

func (*CurrentUserEndpointAuthorizationsInspectForbidden) Error ¶

func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsClientError ¶

IsClientError returns true when this current user endpoint authorizations inspect forbidden response has a 4xx status code

func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsCode ¶

IsCode returns true when this current user endpoint authorizations inspect forbidden response a status code equal to that given

func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsRedirect ¶

IsRedirect returns true when this current user endpoint authorizations inspect forbidden response has a 3xx status code

func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsServerError ¶

IsServerError returns true when this current user endpoint authorizations inspect forbidden response has a 5xx status code

func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsSuccess ¶

IsSuccess returns true when this current user endpoint authorizations inspect forbidden response has a 2xx status code

func (*CurrentUserEndpointAuthorizationsInspectForbidden) String ¶

type CurrentUserEndpointAuthorizationsInspectInternalServerError ¶

type CurrentUserEndpointAuthorizationsInspectInternalServerError struct {
}

CurrentUserEndpointAuthorizationsInspectInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCurrentUserEndpointAuthorizationsInspectInternalServerError ¶

func NewCurrentUserEndpointAuthorizationsInspectInternalServerError() *CurrentUserEndpointAuthorizationsInspectInternalServerError

NewCurrentUserEndpointAuthorizationsInspectInternalServerError creates a CurrentUserEndpointAuthorizationsInspectInternalServerError with default headers values

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) Code ¶

Code gets the status code for the current user endpoint authorizations inspect internal server error response

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) Error ¶

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsClientError ¶

IsClientError returns true when this current user endpoint authorizations inspect internal server error response has a 4xx status code

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsCode ¶

IsCode returns true when this current user endpoint authorizations inspect internal server error response a status code equal to that given

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsRedirect ¶

IsRedirect returns true when this current user endpoint authorizations inspect internal server error response has a 3xx status code

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsServerError ¶

IsServerError returns true when this current user endpoint authorizations inspect internal server error response has a 5xx status code

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsSuccess ¶

IsSuccess returns true when this current user endpoint authorizations inspect internal server error response has a 2xx status code

func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) String ¶

type CurrentUserEndpointAuthorizationsInspectNotFound ¶

type CurrentUserEndpointAuthorizationsInspectNotFound struct {
}

CurrentUserEndpointAuthorizationsInspectNotFound describes a response with status code 404, with default header values.

User not found

func NewCurrentUserEndpointAuthorizationsInspectNotFound ¶

func NewCurrentUserEndpointAuthorizationsInspectNotFound() *CurrentUserEndpointAuthorizationsInspectNotFound

NewCurrentUserEndpointAuthorizationsInspectNotFound creates a CurrentUserEndpointAuthorizationsInspectNotFound with default headers values

func (*CurrentUserEndpointAuthorizationsInspectNotFound) Code ¶

Code gets the status code for the current user endpoint authorizations inspect not found response

func (*CurrentUserEndpointAuthorizationsInspectNotFound) Error ¶

func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsClientError ¶

IsClientError returns true when this current user endpoint authorizations inspect not found response has a 4xx status code

func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsCode ¶

IsCode returns true when this current user endpoint authorizations inspect not found response a status code equal to that given

func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsRedirect ¶

IsRedirect returns true when this current user endpoint authorizations inspect not found response has a 3xx status code

func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsServerError ¶

IsServerError returns true when this current user endpoint authorizations inspect not found response has a 5xx status code

func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsSuccess ¶

IsSuccess returns true when this current user endpoint authorizations inspect not found response has a 2xx status code

func (*CurrentUserEndpointAuthorizationsInspectNotFound) String ¶

type CurrentUserEndpointAuthorizationsInspectOK ¶

type CurrentUserEndpointAuthorizationsInspectOK struct {
	Payload *models.UsersCurrentUserEndpointAuthResponse
}

CurrentUserEndpointAuthorizationsInspectOK describes a response with status code 200, with default header values.

Success

func NewCurrentUserEndpointAuthorizationsInspectOK ¶

func NewCurrentUserEndpointAuthorizationsInspectOK() *CurrentUserEndpointAuthorizationsInspectOK

NewCurrentUserEndpointAuthorizationsInspectOK creates a CurrentUserEndpointAuthorizationsInspectOK with default headers values

func (*CurrentUserEndpointAuthorizationsInspectOK) Code ¶

Code gets the status code for the current user endpoint authorizations inspect o k response

func (*CurrentUserEndpointAuthorizationsInspectOK) Error ¶

func (*CurrentUserEndpointAuthorizationsInspectOK) GetPayload ¶

func (*CurrentUserEndpointAuthorizationsInspectOK) IsClientError ¶

IsClientError returns true when this current user endpoint authorizations inspect o k response has a 4xx status code

func (*CurrentUserEndpointAuthorizationsInspectOK) IsCode ¶

IsCode returns true when this current user endpoint authorizations inspect o k response a status code equal to that given

func (*CurrentUserEndpointAuthorizationsInspectOK) IsRedirect ¶

IsRedirect returns true when this current user endpoint authorizations inspect o k response has a 3xx status code

func (*CurrentUserEndpointAuthorizationsInspectOK) IsServerError ¶

IsServerError returns true when this current user endpoint authorizations inspect o k response has a 5xx status code

func (*CurrentUserEndpointAuthorizationsInspectOK) IsSuccess ¶

IsSuccess returns true when this current user endpoint authorizations inspect o k response has a 2xx status code

func (*CurrentUserEndpointAuthorizationsInspectOK) String ¶

type CurrentUserEndpointAuthorizationsInspectParams ¶

type CurrentUserEndpointAuthorizationsInspectParams struct {

	/* EndpointID.

	   Environment identifier
	*/
	EndpointID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CurrentUserEndpointAuthorizationsInspectParams contains all the parameters to send to the API endpoint

for the current user endpoint authorizations inspect operation.

Typically these are written to a http.Request.

func NewCurrentUserEndpointAuthorizationsInspectParams ¶

func NewCurrentUserEndpointAuthorizationsInspectParams() *CurrentUserEndpointAuthorizationsInspectParams

NewCurrentUserEndpointAuthorizationsInspectParams creates a new CurrentUserEndpointAuthorizationsInspectParams 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 NewCurrentUserEndpointAuthorizationsInspectParamsWithContext ¶

func NewCurrentUserEndpointAuthorizationsInspectParamsWithContext(ctx context.Context) *CurrentUserEndpointAuthorizationsInspectParams

NewCurrentUserEndpointAuthorizationsInspectParamsWithContext creates a new CurrentUserEndpointAuthorizationsInspectParams object with the ability to set a context for a request.

func NewCurrentUserEndpointAuthorizationsInspectParamsWithHTTPClient ¶

func NewCurrentUserEndpointAuthorizationsInspectParamsWithHTTPClient(client *http.Client) *CurrentUserEndpointAuthorizationsInspectParams

NewCurrentUserEndpointAuthorizationsInspectParamsWithHTTPClient creates a new CurrentUserEndpointAuthorizationsInspectParams object with the ability to set a custom HTTPClient for a request.

func NewCurrentUserEndpointAuthorizationsInspectParamsWithTimeout ¶

func NewCurrentUserEndpointAuthorizationsInspectParamsWithTimeout(timeout time.Duration) *CurrentUserEndpointAuthorizationsInspectParams

NewCurrentUserEndpointAuthorizationsInspectParamsWithTimeout creates a new CurrentUserEndpointAuthorizationsInspectParams object with the ability to set a timeout on a request.

func (*CurrentUserEndpointAuthorizationsInspectParams) SetContext ¶

SetContext adds the context to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) SetDefaults ¶

SetDefaults hydrates default values in the current user endpoint authorizations inspect params (not the query body).

All values with no default are reset to their zero value.

func (*CurrentUserEndpointAuthorizationsInspectParams) SetEndpointID ¶

func (o *CurrentUserEndpointAuthorizationsInspectParams) SetEndpointID(endpointID int64)

SetEndpointID adds the endpointId to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) SetTimeout ¶

SetTimeout adds the timeout to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) WithContext ¶

WithContext adds the context to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) WithDefaults ¶

WithDefaults hydrates default values in the current user endpoint authorizations inspect params (not the query body).

All values with no default are reset to their zero value.

func (*CurrentUserEndpointAuthorizationsInspectParams) WithEndpointID ¶

WithEndpointID adds the endpointID to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) WithTimeout ¶

WithTimeout adds the timeout to the current user endpoint authorizations inspect params

func (*CurrentUserEndpointAuthorizationsInspectParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type CurrentUserEndpointAuthorizationsInspectReader ¶

type CurrentUserEndpointAuthorizationsInspectReader struct {
	// contains filtered or unexported fields
}

CurrentUserEndpointAuthorizationsInspectReader is a Reader for the CurrentUserEndpointAuthorizationsInspect structure.

func (*CurrentUserEndpointAuthorizationsInspectReader) ReadResponse ¶

func (o *CurrentUserEndpointAuthorizationsInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CurrentUserInspectBadRequest ¶

type CurrentUserInspectBadRequest struct {
}

CurrentUserInspectBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewCurrentUserInspectBadRequest ¶

func NewCurrentUserInspectBadRequest() *CurrentUserInspectBadRequest

NewCurrentUserInspectBadRequest creates a CurrentUserInspectBadRequest with default headers values

func (*CurrentUserInspectBadRequest) Code ¶

Code gets the status code for the current user inspect bad request response

func (*CurrentUserInspectBadRequest) Error ¶

func (*CurrentUserInspectBadRequest) IsClientError ¶

func (o *CurrentUserInspectBadRequest) IsClientError() bool

IsClientError returns true when this current user inspect bad request response has a 4xx status code

func (*CurrentUserInspectBadRequest) IsCode ¶

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

IsCode returns true when this current user inspect bad request response a status code equal to that given

func (*CurrentUserInspectBadRequest) IsRedirect ¶

func (o *CurrentUserInspectBadRequest) IsRedirect() bool

IsRedirect returns true when this current user inspect bad request response has a 3xx status code

func (*CurrentUserInspectBadRequest) IsServerError ¶

func (o *CurrentUserInspectBadRequest) IsServerError() bool

IsServerError returns true when this current user inspect bad request response has a 5xx status code

func (*CurrentUserInspectBadRequest) IsSuccess ¶

func (o *CurrentUserInspectBadRequest) IsSuccess() bool

IsSuccess returns true when this current user inspect bad request response has a 2xx status code

func (*CurrentUserInspectBadRequest) String ¶

type CurrentUserInspectForbidden ¶

type CurrentUserInspectForbidden struct {
}

CurrentUserInspectForbidden describes a response with status code 403, with default header values.

Permission denied

func NewCurrentUserInspectForbidden ¶

func NewCurrentUserInspectForbidden() *CurrentUserInspectForbidden

NewCurrentUserInspectForbidden creates a CurrentUserInspectForbidden with default headers values

func (*CurrentUserInspectForbidden) Code ¶

func (o *CurrentUserInspectForbidden) Code() int

Code gets the status code for the current user inspect forbidden response

func (*CurrentUserInspectForbidden) Error ¶

func (*CurrentUserInspectForbidden) IsClientError ¶

func (o *CurrentUserInspectForbidden) IsClientError() bool

IsClientError returns true when this current user inspect forbidden response has a 4xx status code

func (*CurrentUserInspectForbidden) IsCode ¶

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

IsCode returns true when this current user inspect forbidden response a status code equal to that given

func (*CurrentUserInspectForbidden) IsRedirect ¶

func (o *CurrentUserInspectForbidden) IsRedirect() bool

IsRedirect returns true when this current user inspect forbidden response has a 3xx status code

func (*CurrentUserInspectForbidden) IsServerError ¶

func (o *CurrentUserInspectForbidden) IsServerError() bool

IsServerError returns true when this current user inspect forbidden response has a 5xx status code

func (*CurrentUserInspectForbidden) IsSuccess ¶

func (o *CurrentUserInspectForbidden) IsSuccess() bool

IsSuccess returns true when this current user inspect forbidden response has a 2xx status code

func (*CurrentUserInspectForbidden) String ¶

func (o *CurrentUserInspectForbidden) String() string

type CurrentUserInspectInternalServerError ¶

type CurrentUserInspectInternalServerError struct {
}

CurrentUserInspectInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCurrentUserInspectInternalServerError ¶

func NewCurrentUserInspectInternalServerError() *CurrentUserInspectInternalServerError

NewCurrentUserInspectInternalServerError creates a CurrentUserInspectInternalServerError with default headers values

func (*CurrentUserInspectInternalServerError) Code ¶

Code gets the status code for the current user inspect internal server error response

func (*CurrentUserInspectInternalServerError) Error ¶

func (*CurrentUserInspectInternalServerError) IsClientError ¶

func (o *CurrentUserInspectInternalServerError) IsClientError() bool

IsClientError returns true when this current user inspect internal server error response has a 4xx status code

func (*CurrentUserInspectInternalServerError) IsCode ¶

IsCode returns true when this current user inspect internal server error response a status code equal to that given

func (*CurrentUserInspectInternalServerError) IsRedirect ¶

IsRedirect returns true when this current user inspect internal server error response has a 3xx status code

func (*CurrentUserInspectInternalServerError) IsServerError ¶

func (o *CurrentUserInspectInternalServerError) IsServerError() bool

IsServerError returns true when this current user inspect internal server error response has a 5xx status code

func (*CurrentUserInspectInternalServerError) IsSuccess ¶

IsSuccess returns true when this current user inspect internal server error response has a 2xx status code

func (*CurrentUserInspectInternalServerError) String ¶

type CurrentUserInspectNotFound ¶

type CurrentUserInspectNotFound struct {
}

CurrentUserInspectNotFound describes a response with status code 404, with default header values.

User not found

func NewCurrentUserInspectNotFound ¶

func NewCurrentUserInspectNotFound() *CurrentUserInspectNotFound

NewCurrentUserInspectNotFound creates a CurrentUserInspectNotFound with default headers values

func (*CurrentUserInspectNotFound) Code ¶

func (o *CurrentUserInspectNotFound) Code() int

Code gets the status code for the current user inspect not found response

func (*CurrentUserInspectNotFound) Error ¶

func (*CurrentUserInspectNotFound) IsClientError ¶

func (o *CurrentUserInspectNotFound) IsClientError() bool

IsClientError returns true when this current user inspect not found response has a 4xx status code

func (*CurrentUserInspectNotFound) IsCode ¶

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

IsCode returns true when this current user inspect not found response a status code equal to that given

func (*CurrentUserInspectNotFound) IsRedirect ¶

func (o *CurrentUserInspectNotFound) IsRedirect() bool

IsRedirect returns true when this current user inspect not found response has a 3xx status code

func (*CurrentUserInspectNotFound) IsServerError ¶

func (o *CurrentUserInspectNotFound) IsServerError() bool

IsServerError returns true when this current user inspect not found response has a 5xx status code

func (*CurrentUserInspectNotFound) IsSuccess ¶

func (o *CurrentUserInspectNotFound) IsSuccess() bool

IsSuccess returns true when this current user inspect not found response has a 2xx status code

func (*CurrentUserInspectNotFound) String ¶

func (o *CurrentUserInspectNotFound) String() string

type CurrentUserInspectOK ¶

type CurrentUserInspectOK struct {
	Payload *models.PortainereeUser
}

CurrentUserInspectOK describes a response with status code 200, with default header values.

Success

func NewCurrentUserInspectOK ¶

func NewCurrentUserInspectOK() *CurrentUserInspectOK

NewCurrentUserInspectOK creates a CurrentUserInspectOK with default headers values

func (*CurrentUserInspectOK) Code ¶

func (o *CurrentUserInspectOK) Code() int

Code gets the status code for the current user inspect o k response

func (*CurrentUserInspectOK) Error ¶

func (o *CurrentUserInspectOK) Error() string

func (*CurrentUserInspectOK) GetPayload ¶

func (o *CurrentUserInspectOK) GetPayload() *models.PortainereeUser

func (*CurrentUserInspectOK) IsClientError ¶

func (o *CurrentUserInspectOK) IsClientError() bool

IsClientError returns true when this current user inspect o k response has a 4xx status code

func (*CurrentUserInspectOK) IsCode ¶

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

IsCode returns true when this current user inspect o k response a status code equal to that given

func (*CurrentUserInspectOK) IsRedirect ¶

func (o *CurrentUserInspectOK) IsRedirect() bool

IsRedirect returns true when this current user inspect o k response has a 3xx status code

func (*CurrentUserInspectOK) IsServerError ¶

func (o *CurrentUserInspectOK) IsServerError() bool

IsServerError returns true when this current user inspect o k response has a 5xx status code

func (*CurrentUserInspectOK) IsSuccess ¶

func (o *CurrentUserInspectOK) IsSuccess() bool

IsSuccess returns true when this current user inspect o k response has a 2xx status code

func (*CurrentUserInspectOK) String ¶

func (o *CurrentUserInspectOK) String() string

type CurrentUserInspectParams ¶

type CurrentUserInspectParams struct {

	/* NoEndpointAuthorizations.

	   Set to true to avoid including the environment authorizations in the response
	*/
	NoEndpointAuthorizations bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CurrentUserInspectParams contains all the parameters to send to the API endpoint

for the current user inspect operation.

Typically these are written to a http.Request.

func NewCurrentUserInspectParams ¶

func NewCurrentUserInspectParams() *CurrentUserInspectParams

NewCurrentUserInspectParams creates a new CurrentUserInspectParams 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 NewCurrentUserInspectParamsWithContext ¶

func NewCurrentUserInspectParamsWithContext(ctx context.Context) *CurrentUserInspectParams

NewCurrentUserInspectParamsWithContext creates a new CurrentUserInspectParams object with the ability to set a context for a request.

func NewCurrentUserInspectParamsWithHTTPClient ¶

func NewCurrentUserInspectParamsWithHTTPClient(client *http.Client) *CurrentUserInspectParams

NewCurrentUserInspectParamsWithHTTPClient creates a new CurrentUserInspectParams object with the ability to set a custom HTTPClient for a request.

func NewCurrentUserInspectParamsWithTimeout ¶

func NewCurrentUserInspectParamsWithTimeout(timeout time.Duration) *CurrentUserInspectParams

NewCurrentUserInspectParamsWithTimeout creates a new CurrentUserInspectParams object with the ability to set a timeout on a request.

func (*CurrentUserInspectParams) SetContext ¶

func (o *CurrentUserInspectParams) SetContext(ctx context.Context)

SetContext adds the context to the current user inspect params

func (*CurrentUserInspectParams) SetDefaults ¶

func (o *CurrentUserInspectParams) SetDefaults()

SetDefaults hydrates default values in the current user inspect params (not the query body).

All values with no default are reset to their zero value.

func (*CurrentUserInspectParams) SetHTTPClient ¶

func (o *CurrentUserInspectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the current user inspect params

func (*CurrentUserInspectParams) SetNoEndpointAuthorizations ¶

func (o *CurrentUserInspectParams) SetNoEndpointAuthorizations(noEndpointAuthorizations bool)

SetNoEndpointAuthorizations adds the noEndpointAuthorizations to the current user inspect params

func (*CurrentUserInspectParams) SetTimeout ¶

func (o *CurrentUserInspectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the current user inspect params

func (*CurrentUserInspectParams) WithContext ¶

WithContext adds the context to the current user inspect params

func (*CurrentUserInspectParams) WithDefaults ¶

WithDefaults hydrates default values in the current user inspect params (not the query body).

All values with no default are reset to their zero value.

func (*CurrentUserInspectParams) WithHTTPClient ¶

func (o *CurrentUserInspectParams) WithHTTPClient(client *http.Client) *CurrentUserInspectParams

WithHTTPClient adds the HTTPClient to the current user inspect params

func (*CurrentUserInspectParams) WithNoEndpointAuthorizations ¶

func (o *CurrentUserInspectParams) WithNoEndpointAuthorizations(noEndpointAuthorizations bool) *CurrentUserInspectParams

WithNoEndpointAuthorizations adds the noEndpointAuthorizations to the current user inspect params

func (*CurrentUserInspectParams) WithTimeout ¶

WithTimeout adds the timeout to the current user inspect params

func (*CurrentUserInspectParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type CurrentUserInspectReader ¶

type CurrentUserInspectReader struct {
	// contains filtered or unexported fields
}

CurrentUserInspectReader is a Reader for the CurrentUserInspect structure.

func (*CurrentUserInspectReader) ReadResponse ¶

func (o *CurrentUserInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserAdminCheckNoContent ¶

type UserAdminCheckNoContent struct {
}

UserAdminCheckNoContent describes a response with status code 204, with default header values.

Success

func NewUserAdminCheckNoContent ¶

func NewUserAdminCheckNoContent() *UserAdminCheckNoContent

NewUserAdminCheckNoContent creates a UserAdminCheckNoContent with default headers values

func (*UserAdminCheckNoContent) Code ¶

func (o *UserAdminCheckNoContent) Code() int

Code gets the status code for the user admin check no content response

func (*UserAdminCheckNoContent) Error ¶

func (o *UserAdminCheckNoContent) Error() string

func (*UserAdminCheckNoContent) IsClientError ¶

func (o *UserAdminCheckNoContent) IsClientError() bool

IsClientError returns true when this user admin check no content response has a 4xx status code

func (*UserAdminCheckNoContent) IsCode ¶

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

IsCode returns true when this user admin check no content response a status code equal to that given

func (*UserAdminCheckNoContent) IsRedirect ¶

func (o *UserAdminCheckNoContent) IsRedirect() bool

IsRedirect returns true when this user admin check no content response has a 3xx status code

func (*UserAdminCheckNoContent) IsServerError ¶

func (o *UserAdminCheckNoContent) IsServerError() bool

IsServerError returns true when this user admin check no content response has a 5xx status code

func (*UserAdminCheckNoContent) IsSuccess ¶

func (o *UserAdminCheckNoContent) IsSuccess() bool

IsSuccess returns true when this user admin check no content response has a 2xx status code

func (*UserAdminCheckNoContent) String ¶

func (o *UserAdminCheckNoContent) String() string

type UserAdminCheckNotFound ¶

type UserAdminCheckNotFound struct {
}

UserAdminCheckNotFound describes a response with status code 404, with default header values.

User not found

func NewUserAdminCheckNotFound ¶

func NewUserAdminCheckNotFound() *UserAdminCheckNotFound

NewUserAdminCheckNotFound creates a UserAdminCheckNotFound with default headers values

func (*UserAdminCheckNotFound) Code ¶

func (o *UserAdminCheckNotFound) Code() int

Code gets the status code for the user admin check not found response

func (*UserAdminCheckNotFound) Error ¶

func (o *UserAdminCheckNotFound) Error() string

func (*UserAdminCheckNotFound) IsClientError ¶

func (o *UserAdminCheckNotFound) IsClientError() bool

IsClientError returns true when this user admin check not found response has a 4xx status code

func (*UserAdminCheckNotFound) IsCode ¶

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

IsCode returns true when this user admin check not found response a status code equal to that given

func (*UserAdminCheckNotFound) IsRedirect ¶

func (o *UserAdminCheckNotFound) IsRedirect() bool

IsRedirect returns true when this user admin check not found response has a 3xx status code

func (*UserAdminCheckNotFound) IsServerError ¶

func (o *UserAdminCheckNotFound) IsServerError() bool

IsServerError returns true when this user admin check not found response has a 5xx status code

func (*UserAdminCheckNotFound) IsSuccess ¶

func (o *UserAdminCheckNotFound) IsSuccess() bool

IsSuccess returns true when this user admin check not found response has a 2xx status code

func (*UserAdminCheckNotFound) String ¶

func (o *UserAdminCheckNotFound) String() string

type UserAdminCheckParams ¶

type UserAdminCheckParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserAdminCheckParams contains all the parameters to send to the API endpoint

for the user admin check operation.

Typically these are written to a http.Request.

func NewUserAdminCheckParams ¶

func NewUserAdminCheckParams() *UserAdminCheckParams

NewUserAdminCheckParams creates a new UserAdminCheckParams 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 NewUserAdminCheckParamsWithContext ¶

func NewUserAdminCheckParamsWithContext(ctx context.Context) *UserAdminCheckParams

NewUserAdminCheckParamsWithContext creates a new UserAdminCheckParams object with the ability to set a context for a request.

func NewUserAdminCheckParamsWithHTTPClient ¶

func NewUserAdminCheckParamsWithHTTPClient(client *http.Client) *UserAdminCheckParams

NewUserAdminCheckParamsWithHTTPClient creates a new UserAdminCheckParams object with the ability to set a custom HTTPClient for a request.

func NewUserAdminCheckParamsWithTimeout ¶

func NewUserAdminCheckParamsWithTimeout(timeout time.Duration) *UserAdminCheckParams

NewUserAdminCheckParamsWithTimeout creates a new UserAdminCheckParams object with the ability to set a timeout on a request.

func (*UserAdminCheckParams) SetContext ¶

func (o *UserAdminCheckParams) SetContext(ctx context.Context)

SetContext adds the context to the user admin check params

func (*UserAdminCheckParams) SetDefaults ¶

func (o *UserAdminCheckParams) SetDefaults()

SetDefaults hydrates default values in the user admin check params (not the query body).

All values with no default are reset to their zero value.

func (*UserAdminCheckParams) SetHTTPClient ¶

func (o *UserAdminCheckParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user admin check params

func (*UserAdminCheckParams) SetTimeout ¶

func (o *UserAdminCheckParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user admin check params

func (*UserAdminCheckParams) WithContext ¶

WithContext adds the context to the user admin check params

func (*UserAdminCheckParams) WithDefaults ¶

func (o *UserAdminCheckParams) WithDefaults() *UserAdminCheckParams

WithDefaults hydrates default values in the user admin check params (not the query body).

All values with no default are reset to their zero value.

func (*UserAdminCheckParams) WithHTTPClient ¶

func (o *UserAdminCheckParams) WithHTTPClient(client *http.Client) *UserAdminCheckParams

WithHTTPClient adds the HTTPClient to the user admin check params

func (*UserAdminCheckParams) WithTimeout ¶

func (o *UserAdminCheckParams) WithTimeout(timeout time.Duration) *UserAdminCheckParams

WithTimeout adds the timeout to the user admin check params

func (*UserAdminCheckParams) WriteToRequest ¶

func (o *UserAdminCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserAdminCheckReader ¶

type UserAdminCheckReader struct {
	// contains filtered or unexported fields
}

UserAdminCheckReader is a Reader for the UserAdminCheck structure.

func (*UserAdminCheckReader) ReadResponse ¶

func (o *UserAdminCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserAdminInitBadRequest ¶

type UserAdminInitBadRequest struct {
}

UserAdminInitBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserAdminInitBadRequest ¶

func NewUserAdminInitBadRequest() *UserAdminInitBadRequest

NewUserAdminInitBadRequest creates a UserAdminInitBadRequest with default headers values

func (*UserAdminInitBadRequest) Code ¶

func (o *UserAdminInitBadRequest) Code() int

Code gets the status code for the user admin init bad request response

func (*UserAdminInitBadRequest) Error ¶

func (o *UserAdminInitBadRequest) Error() string

func (*UserAdminInitBadRequest) IsClientError ¶

func (o *UserAdminInitBadRequest) IsClientError() bool

IsClientError returns true when this user admin init bad request response has a 4xx status code

func (*UserAdminInitBadRequest) IsCode ¶

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

IsCode returns true when this user admin init bad request response a status code equal to that given

func (*UserAdminInitBadRequest) IsRedirect ¶

func (o *UserAdminInitBadRequest) IsRedirect() bool

IsRedirect returns true when this user admin init bad request response has a 3xx status code

func (*UserAdminInitBadRequest) IsServerError ¶

func (o *UserAdminInitBadRequest) IsServerError() bool

IsServerError returns true when this user admin init bad request response has a 5xx status code

func (*UserAdminInitBadRequest) IsSuccess ¶

func (o *UserAdminInitBadRequest) IsSuccess() bool

IsSuccess returns true when this user admin init bad request response has a 2xx status code

func (*UserAdminInitBadRequest) String ¶

func (o *UserAdminInitBadRequest) String() string

type UserAdminInitConflict ¶

type UserAdminInitConflict struct {
}

UserAdminInitConflict describes a response with status code 409, with default header values.

Admin user already initialized

func NewUserAdminInitConflict ¶

func NewUserAdminInitConflict() *UserAdminInitConflict

NewUserAdminInitConflict creates a UserAdminInitConflict with default headers values

func (*UserAdminInitConflict) Code ¶

func (o *UserAdminInitConflict) Code() int

Code gets the status code for the user admin init conflict response

func (*UserAdminInitConflict) Error ¶

func (o *UserAdminInitConflict) Error() string

func (*UserAdminInitConflict) IsClientError ¶

func (o *UserAdminInitConflict) IsClientError() bool

IsClientError returns true when this user admin init conflict response has a 4xx status code

func (*UserAdminInitConflict) IsCode ¶

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

IsCode returns true when this user admin init conflict response a status code equal to that given

func (*UserAdminInitConflict) IsRedirect ¶

func (o *UserAdminInitConflict) IsRedirect() bool

IsRedirect returns true when this user admin init conflict response has a 3xx status code

func (*UserAdminInitConflict) IsServerError ¶

func (o *UserAdminInitConflict) IsServerError() bool

IsServerError returns true when this user admin init conflict response has a 5xx status code

func (*UserAdminInitConflict) IsSuccess ¶

func (o *UserAdminInitConflict) IsSuccess() bool

IsSuccess returns true when this user admin init conflict response has a 2xx status code

func (*UserAdminInitConflict) String ¶

func (o *UserAdminInitConflict) String() string

type UserAdminInitInternalServerError ¶

type UserAdminInitInternalServerError struct {
}

UserAdminInitInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserAdminInitInternalServerError ¶

func NewUserAdminInitInternalServerError() *UserAdminInitInternalServerError

NewUserAdminInitInternalServerError creates a UserAdminInitInternalServerError with default headers values

func (*UserAdminInitInternalServerError) Code ¶

Code gets the status code for the user admin init internal server error response

func (*UserAdminInitInternalServerError) Error ¶

func (*UserAdminInitInternalServerError) IsClientError ¶

func (o *UserAdminInitInternalServerError) IsClientError() bool

IsClientError returns true when this user admin init internal server error response has a 4xx status code

func (*UserAdminInitInternalServerError) IsCode ¶

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

IsCode returns true when this user admin init internal server error response a status code equal to that given

func (*UserAdminInitInternalServerError) IsRedirect ¶

func (o *UserAdminInitInternalServerError) IsRedirect() bool

IsRedirect returns true when this user admin init internal server error response has a 3xx status code

func (*UserAdminInitInternalServerError) IsServerError ¶

func (o *UserAdminInitInternalServerError) IsServerError() bool

IsServerError returns true when this user admin init internal server error response has a 5xx status code

func (*UserAdminInitInternalServerError) IsSuccess ¶

func (o *UserAdminInitInternalServerError) IsSuccess() bool

IsSuccess returns true when this user admin init internal server error response has a 2xx status code

func (*UserAdminInitInternalServerError) String ¶

type UserAdminInitOK ¶

type UserAdminInitOK struct {
	Payload *models.PortainereeUser
}

UserAdminInitOK describes a response with status code 200, with default header values.

Success

func NewUserAdminInitOK ¶

func NewUserAdminInitOK() *UserAdminInitOK

NewUserAdminInitOK creates a UserAdminInitOK with default headers values

func (*UserAdminInitOK) Code ¶

func (o *UserAdminInitOK) Code() int

Code gets the status code for the user admin init o k response

func (*UserAdminInitOK) Error ¶

func (o *UserAdminInitOK) Error() string

func (*UserAdminInitOK) GetPayload ¶

func (o *UserAdminInitOK) GetPayload() *models.PortainereeUser

func (*UserAdminInitOK) IsClientError ¶

func (o *UserAdminInitOK) IsClientError() bool

IsClientError returns true when this user admin init o k response has a 4xx status code

func (*UserAdminInitOK) IsCode ¶

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

IsCode returns true when this user admin init o k response a status code equal to that given

func (*UserAdminInitOK) IsRedirect ¶

func (o *UserAdminInitOK) IsRedirect() bool

IsRedirect returns true when this user admin init o k response has a 3xx status code

func (*UserAdminInitOK) IsServerError ¶

func (o *UserAdminInitOK) IsServerError() bool

IsServerError returns true when this user admin init o k response has a 5xx status code

func (*UserAdminInitOK) IsSuccess ¶

func (o *UserAdminInitOK) IsSuccess() bool

IsSuccess returns true when this user admin init o k response has a 2xx status code

func (*UserAdminInitOK) String ¶

func (o *UserAdminInitOK) String() string

type UserAdminInitParams ¶

type UserAdminInitParams struct {

	/* Body.

	   User details
	*/
	Body *models.UsersAdminInitPayload

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserAdminInitParams contains all the parameters to send to the API endpoint

for the user admin init operation.

Typically these are written to a http.Request.

func NewUserAdminInitParams ¶

func NewUserAdminInitParams() *UserAdminInitParams

NewUserAdminInitParams creates a new UserAdminInitParams 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 NewUserAdminInitParamsWithContext ¶

func NewUserAdminInitParamsWithContext(ctx context.Context) *UserAdminInitParams

NewUserAdminInitParamsWithContext creates a new UserAdminInitParams object with the ability to set a context for a request.

func NewUserAdminInitParamsWithHTTPClient ¶

func NewUserAdminInitParamsWithHTTPClient(client *http.Client) *UserAdminInitParams

NewUserAdminInitParamsWithHTTPClient creates a new UserAdminInitParams object with the ability to set a custom HTTPClient for a request.

func NewUserAdminInitParamsWithTimeout ¶

func NewUserAdminInitParamsWithTimeout(timeout time.Duration) *UserAdminInitParams

NewUserAdminInitParamsWithTimeout creates a new UserAdminInitParams object with the ability to set a timeout on a request.

func (*UserAdminInitParams) SetBody ¶

SetBody adds the body to the user admin init params

func (*UserAdminInitParams) SetContext ¶

func (o *UserAdminInitParams) SetContext(ctx context.Context)

SetContext adds the context to the user admin init params

func (*UserAdminInitParams) SetDefaults ¶

func (o *UserAdminInitParams) SetDefaults()

SetDefaults hydrates default values in the user admin init params (not the query body).

All values with no default are reset to their zero value.

func (*UserAdminInitParams) SetHTTPClient ¶

func (o *UserAdminInitParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user admin init params

func (*UserAdminInitParams) SetTimeout ¶

func (o *UserAdminInitParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user admin init params

func (*UserAdminInitParams) WithBody ¶

WithBody adds the body to the user admin init params

func (*UserAdminInitParams) WithContext ¶

WithContext adds the context to the user admin init params

func (*UserAdminInitParams) WithDefaults ¶

func (o *UserAdminInitParams) WithDefaults() *UserAdminInitParams

WithDefaults hydrates default values in the user admin init params (not the query body).

All values with no default are reset to their zero value.

func (*UserAdminInitParams) WithHTTPClient ¶

func (o *UserAdminInitParams) WithHTTPClient(client *http.Client) *UserAdminInitParams

WithHTTPClient adds the HTTPClient to the user admin init params

func (*UserAdminInitParams) WithTimeout ¶

func (o *UserAdminInitParams) WithTimeout(timeout time.Duration) *UserAdminInitParams

WithTimeout adds the timeout to the user admin init params

func (*UserAdminInitParams) WriteToRequest ¶

func (o *UserAdminInitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserAdminInitReader ¶

type UserAdminInitReader struct {
	// contains filtered or unexported fields
}

UserAdminInitReader is a Reader for the UserAdminInit structure.

func (*UserAdminInitReader) ReadResponse ¶

func (o *UserAdminInitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserCreateBadRequest ¶

type UserCreateBadRequest struct {
}

UserCreateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserCreateBadRequest ¶

func NewUserCreateBadRequest() *UserCreateBadRequest

NewUserCreateBadRequest creates a UserCreateBadRequest with default headers values

func (*UserCreateBadRequest) Code ¶

func (o *UserCreateBadRequest) Code() int

Code gets the status code for the user create bad request response

func (*UserCreateBadRequest) Error ¶

func (o *UserCreateBadRequest) Error() string

func (*UserCreateBadRequest) IsClientError ¶

func (o *UserCreateBadRequest) IsClientError() bool

IsClientError returns true when this user create bad request response has a 4xx status code

func (*UserCreateBadRequest) IsCode ¶

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

IsCode returns true when this user create bad request response a status code equal to that given

func (*UserCreateBadRequest) IsRedirect ¶

func (o *UserCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this user create bad request response has a 3xx status code

func (*UserCreateBadRequest) IsServerError ¶

func (o *UserCreateBadRequest) IsServerError() bool

IsServerError returns true when this user create bad request response has a 5xx status code

func (*UserCreateBadRequest) IsSuccess ¶

func (o *UserCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this user create bad request response has a 2xx status code

func (*UserCreateBadRequest) String ¶

func (o *UserCreateBadRequest) String() string

type UserCreateConflict ¶

type UserCreateConflict struct {
}

UserCreateConflict describes a response with status code 409, with default header values.

User already exists

func NewUserCreateConflict ¶

func NewUserCreateConflict() *UserCreateConflict

NewUserCreateConflict creates a UserCreateConflict with default headers values

func (*UserCreateConflict) Code ¶

func (o *UserCreateConflict) Code() int

Code gets the status code for the user create conflict response

func (*UserCreateConflict) Error ¶

func (o *UserCreateConflict) Error() string

func (*UserCreateConflict) IsClientError ¶

func (o *UserCreateConflict) IsClientError() bool

IsClientError returns true when this user create conflict response has a 4xx status code

func (*UserCreateConflict) IsCode ¶

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

IsCode returns true when this user create conflict response a status code equal to that given

func (*UserCreateConflict) IsRedirect ¶

func (o *UserCreateConflict) IsRedirect() bool

IsRedirect returns true when this user create conflict response has a 3xx status code

func (*UserCreateConflict) IsServerError ¶

func (o *UserCreateConflict) IsServerError() bool

IsServerError returns true when this user create conflict response has a 5xx status code

func (*UserCreateConflict) IsSuccess ¶

func (o *UserCreateConflict) IsSuccess() bool

IsSuccess returns true when this user create conflict response has a 2xx status code

func (*UserCreateConflict) String ¶

func (o *UserCreateConflict) String() string

type UserCreateForbidden ¶

type UserCreateForbidden struct {
}

UserCreateForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserCreateForbidden ¶

func NewUserCreateForbidden() *UserCreateForbidden

NewUserCreateForbidden creates a UserCreateForbidden with default headers values

func (*UserCreateForbidden) Code ¶

func (o *UserCreateForbidden) Code() int

Code gets the status code for the user create forbidden response

func (*UserCreateForbidden) Error ¶

func (o *UserCreateForbidden) Error() string

func (*UserCreateForbidden) IsClientError ¶

func (o *UserCreateForbidden) IsClientError() bool

IsClientError returns true when this user create forbidden response has a 4xx status code

func (*UserCreateForbidden) IsCode ¶

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

IsCode returns true when this user create forbidden response a status code equal to that given

func (*UserCreateForbidden) IsRedirect ¶

func (o *UserCreateForbidden) IsRedirect() bool

IsRedirect returns true when this user create forbidden response has a 3xx status code

func (*UserCreateForbidden) IsServerError ¶

func (o *UserCreateForbidden) IsServerError() bool

IsServerError returns true when this user create forbidden response has a 5xx status code

func (*UserCreateForbidden) IsSuccess ¶

func (o *UserCreateForbidden) IsSuccess() bool

IsSuccess returns true when this user create forbidden response has a 2xx status code

func (*UserCreateForbidden) String ¶

func (o *UserCreateForbidden) String() string

type UserCreateGitCredentialBadRequest ¶

type UserCreateGitCredentialBadRequest struct {
}

UserCreateGitCredentialBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserCreateGitCredentialBadRequest ¶

func NewUserCreateGitCredentialBadRequest() *UserCreateGitCredentialBadRequest

NewUserCreateGitCredentialBadRequest creates a UserCreateGitCredentialBadRequest with default headers values

func (*UserCreateGitCredentialBadRequest) Code ¶

Code gets the status code for the user create git credential bad request response

func (*UserCreateGitCredentialBadRequest) Error ¶

func (*UserCreateGitCredentialBadRequest) IsClientError ¶

func (o *UserCreateGitCredentialBadRequest) IsClientError() bool

IsClientError returns true when this user create git credential bad request response has a 4xx status code

func (*UserCreateGitCredentialBadRequest) IsCode ¶

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

IsCode returns true when this user create git credential bad request response a status code equal to that given

func (*UserCreateGitCredentialBadRequest) IsRedirect ¶

func (o *UserCreateGitCredentialBadRequest) IsRedirect() bool

IsRedirect returns true when this user create git credential bad request response has a 3xx status code

func (*UserCreateGitCredentialBadRequest) IsServerError ¶

func (o *UserCreateGitCredentialBadRequest) IsServerError() bool

IsServerError returns true when this user create git credential bad request response has a 5xx status code

func (*UserCreateGitCredentialBadRequest) IsSuccess ¶

func (o *UserCreateGitCredentialBadRequest) IsSuccess() bool

IsSuccess returns true when this user create git credential bad request response has a 2xx status code

func (*UserCreateGitCredentialBadRequest) String ¶

type UserCreateGitCredentialCreated ¶

type UserCreateGitCredentialCreated struct {
	Payload *models.UsersGitCredentialResponse
}

UserCreateGitCredentialCreated describes a response with status code 201, with default header values.

Created

func NewUserCreateGitCredentialCreated ¶

func NewUserCreateGitCredentialCreated() *UserCreateGitCredentialCreated

NewUserCreateGitCredentialCreated creates a UserCreateGitCredentialCreated with default headers values

func (*UserCreateGitCredentialCreated) Code ¶

Code gets the status code for the user create git credential created response

func (*UserCreateGitCredentialCreated) Error ¶

func (*UserCreateGitCredentialCreated) GetPayload ¶

func (*UserCreateGitCredentialCreated) IsClientError ¶

func (o *UserCreateGitCredentialCreated) IsClientError() bool

IsClientError returns true when this user create git credential created response has a 4xx status code

func (*UserCreateGitCredentialCreated) IsCode ¶

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

IsCode returns true when this user create git credential created response a status code equal to that given

func (*UserCreateGitCredentialCreated) IsRedirect ¶

func (o *UserCreateGitCredentialCreated) IsRedirect() bool

IsRedirect returns true when this user create git credential created response has a 3xx status code

func (*UserCreateGitCredentialCreated) IsServerError ¶

func (o *UserCreateGitCredentialCreated) IsServerError() bool

IsServerError returns true when this user create git credential created response has a 5xx status code

func (*UserCreateGitCredentialCreated) IsSuccess ¶

func (o *UserCreateGitCredentialCreated) IsSuccess() bool

IsSuccess returns true when this user create git credential created response has a 2xx status code

func (*UserCreateGitCredentialCreated) String ¶

type UserCreateGitCredentialForbidden ¶

type UserCreateGitCredentialForbidden struct {
}

UserCreateGitCredentialForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserCreateGitCredentialForbidden ¶

func NewUserCreateGitCredentialForbidden() *UserCreateGitCredentialForbidden

NewUserCreateGitCredentialForbidden creates a UserCreateGitCredentialForbidden with default headers values

func (*UserCreateGitCredentialForbidden) Code ¶

Code gets the status code for the user create git credential forbidden response

func (*UserCreateGitCredentialForbidden) Error ¶

func (*UserCreateGitCredentialForbidden) IsClientError ¶

func (o *UserCreateGitCredentialForbidden) IsClientError() bool

IsClientError returns true when this user create git credential forbidden response has a 4xx status code

func (*UserCreateGitCredentialForbidden) IsCode ¶

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

IsCode returns true when this user create git credential forbidden response a status code equal to that given

func (*UserCreateGitCredentialForbidden) IsRedirect ¶

func (o *UserCreateGitCredentialForbidden) IsRedirect() bool

IsRedirect returns true when this user create git credential forbidden response has a 3xx status code

func (*UserCreateGitCredentialForbidden) IsServerError ¶

func (o *UserCreateGitCredentialForbidden) IsServerError() bool

IsServerError returns true when this user create git credential forbidden response has a 5xx status code

func (*UserCreateGitCredentialForbidden) IsSuccess ¶

func (o *UserCreateGitCredentialForbidden) IsSuccess() bool

IsSuccess returns true when this user create git credential forbidden response has a 2xx status code

func (*UserCreateGitCredentialForbidden) String ¶

type UserCreateGitCredentialInternalServerError ¶

type UserCreateGitCredentialInternalServerError struct {
}

UserCreateGitCredentialInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserCreateGitCredentialInternalServerError ¶

func NewUserCreateGitCredentialInternalServerError() *UserCreateGitCredentialInternalServerError

NewUserCreateGitCredentialInternalServerError creates a UserCreateGitCredentialInternalServerError with default headers values

func (*UserCreateGitCredentialInternalServerError) Code ¶

Code gets the status code for the user create git credential internal server error response

func (*UserCreateGitCredentialInternalServerError) Error ¶

func (*UserCreateGitCredentialInternalServerError) IsClientError ¶

IsClientError returns true when this user create git credential internal server error response has a 4xx status code

func (*UserCreateGitCredentialInternalServerError) IsCode ¶

IsCode returns true when this user create git credential internal server error response a status code equal to that given

func (*UserCreateGitCredentialInternalServerError) IsRedirect ¶

IsRedirect returns true when this user create git credential internal server error response has a 3xx status code

func (*UserCreateGitCredentialInternalServerError) IsServerError ¶

IsServerError returns true when this user create git credential internal server error response has a 5xx status code

func (*UserCreateGitCredentialInternalServerError) IsSuccess ¶

IsSuccess returns true when this user create git credential internal server error response has a 2xx status code

func (*UserCreateGitCredentialInternalServerError) String ¶

type UserCreateGitCredentialParams ¶

type UserCreateGitCredentialParams struct {

	/* Body.

	   details
	*/
	Body *models.UsersUserGitCredentialCreatePayload

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserCreateGitCredentialParams contains all the parameters to send to the API endpoint

for the user create git credential operation.

Typically these are written to a http.Request.

func NewUserCreateGitCredentialParams ¶

func NewUserCreateGitCredentialParams() *UserCreateGitCredentialParams

NewUserCreateGitCredentialParams creates a new UserCreateGitCredentialParams 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 NewUserCreateGitCredentialParamsWithContext ¶

func NewUserCreateGitCredentialParamsWithContext(ctx context.Context) *UserCreateGitCredentialParams

NewUserCreateGitCredentialParamsWithContext creates a new UserCreateGitCredentialParams object with the ability to set a context for a request.

func NewUserCreateGitCredentialParamsWithHTTPClient ¶

func NewUserCreateGitCredentialParamsWithHTTPClient(client *http.Client) *UserCreateGitCredentialParams

NewUserCreateGitCredentialParamsWithHTTPClient creates a new UserCreateGitCredentialParams object with the ability to set a custom HTTPClient for a request.

func NewUserCreateGitCredentialParamsWithTimeout ¶

func NewUserCreateGitCredentialParamsWithTimeout(timeout time.Duration) *UserCreateGitCredentialParams

NewUserCreateGitCredentialParamsWithTimeout creates a new UserCreateGitCredentialParams object with the ability to set a timeout on a request.

func (*UserCreateGitCredentialParams) SetBody ¶

SetBody adds the body to the user create git credential params

func (*UserCreateGitCredentialParams) SetContext ¶

func (o *UserCreateGitCredentialParams) SetContext(ctx context.Context)

SetContext adds the context to the user create git credential params

func (*UserCreateGitCredentialParams) SetDefaults ¶

func (o *UserCreateGitCredentialParams) SetDefaults()

SetDefaults hydrates default values in the user create git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserCreateGitCredentialParams) SetHTTPClient ¶

func (o *UserCreateGitCredentialParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user create git credential params

func (*UserCreateGitCredentialParams) SetID ¶

func (o *UserCreateGitCredentialParams) SetID(id int64)

SetID adds the id to the user create git credential params

func (*UserCreateGitCredentialParams) SetTimeout ¶

func (o *UserCreateGitCredentialParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user create git credential params

func (*UserCreateGitCredentialParams) WithBody ¶

WithBody adds the body to the user create git credential params

func (*UserCreateGitCredentialParams) WithContext ¶

WithContext adds the context to the user create git credential params

func (*UserCreateGitCredentialParams) WithDefaults ¶

WithDefaults hydrates default values in the user create git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserCreateGitCredentialParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the user create git credential params

func (*UserCreateGitCredentialParams) WithID ¶

WithID adds the id to the user create git credential params

func (*UserCreateGitCredentialParams) WithTimeout ¶

WithTimeout adds the timeout to the user create git credential params

func (*UserCreateGitCredentialParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserCreateGitCredentialReader ¶

type UserCreateGitCredentialReader struct {
	// contains filtered or unexported fields
}

UserCreateGitCredentialReader is a Reader for the UserCreateGitCredential structure.

func (*UserCreateGitCredentialReader) ReadResponse ¶

func (o *UserCreateGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserCreateGitCredentialUnauthorized ¶

type UserCreateGitCredentialUnauthorized struct {
}

UserCreateGitCredentialUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUserCreateGitCredentialUnauthorized ¶

func NewUserCreateGitCredentialUnauthorized() *UserCreateGitCredentialUnauthorized

NewUserCreateGitCredentialUnauthorized creates a UserCreateGitCredentialUnauthorized with default headers values

func (*UserCreateGitCredentialUnauthorized) Code ¶

Code gets the status code for the user create git credential unauthorized response

func (*UserCreateGitCredentialUnauthorized) Error ¶

func (*UserCreateGitCredentialUnauthorized) IsClientError ¶

func (o *UserCreateGitCredentialUnauthorized) IsClientError() bool

IsClientError returns true when this user create git credential unauthorized response has a 4xx status code

func (*UserCreateGitCredentialUnauthorized) IsCode ¶

IsCode returns true when this user create git credential unauthorized response a status code equal to that given

func (*UserCreateGitCredentialUnauthorized) IsRedirect ¶

func (o *UserCreateGitCredentialUnauthorized) IsRedirect() bool

IsRedirect returns true when this user create git credential unauthorized response has a 3xx status code

func (*UserCreateGitCredentialUnauthorized) IsServerError ¶

func (o *UserCreateGitCredentialUnauthorized) IsServerError() bool

IsServerError returns true when this user create git credential unauthorized response has a 5xx status code

func (*UserCreateGitCredentialUnauthorized) IsSuccess ¶

IsSuccess returns true when this user create git credential unauthorized response has a 2xx status code

func (*UserCreateGitCredentialUnauthorized) String ¶

type UserCreateInternalServerError ¶

type UserCreateInternalServerError struct {
}

UserCreateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserCreateInternalServerError ¶

func NewUserCreateInternalServerError() *UserCreateInternalServerError

NewUserCreateInternalServerError creates a UserCreateInternalServerError with default headers values

func (*UserCreateInternalServerError) Code ¶

Code gets the status code for the user create internal server error response

func (*UserCreateInternalServerError) Error ¶

func (*UserCreateInternalServerError) IsClientError ¶

func (o *UserCreateInternalServerError) IsClientError() bool

IsClientError returns true when this user create internal server error response has a 4xx status code

func (*UserCreateInternalServerError) IsCode ¶

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

IsCode returns true when this user create internal server error response a status code equal to that given

func (*UserCreateInternalServerError) IsRedirect ¶

func (o *UserCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this user create internal server error response has a 3xx status code

func (*UserCreateInternalServerError) IsServerError ¶

func (o *UserCreateInternalServerError) IsServerError() bool

IsServerError returns true when this user create internal server error response has a 5xx status code

func (*UserCreateInternalServerError) IsSuccess ¶

func (o *UserCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this user create internal server error response has a 2xx status code

func (*UserCreateInternalServerError) String ¶

type UserCreateOK ¶

type UserCreateOK struct {
	Payload *models.PortainereeUser
}

UserCreateOK describes a response with status code 200, with default header values.

Success

func NewUserCreateOK ¶

func NewUserCreateOK() *UserCreateOK

NewUserCreateOK creates a UserCreateOK with default headers values

func (*UserCreateOK) Code ¶

func (o *UserCreateOK) Code() int

Code gets the status code for the user create o k response

func (*UserCreateOK) Error ¶

func (o *UserCreateOK) Error() string

func (*UserCreateOK) GetPayload ¶

func (o *UserCreateOK) GetPayload() *models.PortainereeUser

func (*UserCreateOK) IsClientError ¶

func (o *UserCreateOK) IsClientError() bool

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

func (*UserCreateOK) IsCode ¶

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

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

func (*UserCreateOK) IsRedirect ¶

func (o *UserCreateOK) IsRedirect() bool

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

func (*UserCreateOK) IsServerError ¶

func (o *UserCreateOK) IsServerError() bool

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

func (*UserCreateOK) IsSuccess ¶

func (o *UserCreateOK) IsSuccess() bool

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

func (*UserCreateOK) String ¶

func (o *UserCreateOK) String() string

type UserCreateParams ¶

type UserCreateParams struct {

	/* Body.

	   User details
	*/
	Body *models.UsersUserCreatePayload

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserCreateParams contains all the parameters to send to the API endpoint

for the user create operation.

Typically these are written to a http.Request.

func NewUserCreateParams ¶

func NewUserCreateParams() *UserCreateParams

NewUserCreateParams creates a new UserCreateParams 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 NewUserCreateParamsWithContext ¶

func NewUserCreateParamsWithContext(ctx context.Context) *UserCreateParams

NewUserCreateParamsWithContext creates a new UserCreateParams object with the ability to set a context for a request.

func NewUserCreateParamsWithHTTPClient ¶

func NewUserCreateParamsWithHTTPClient(client *http.Client) *UserCreateParams

NewUserCreateParamsWithHTTPClient creates a new UserCreateParams object with the ability to set a custom HTTPClient for a request.

func NewUserCreateParamsWithTimeout ¶

func NewUserCreateParamsWithTimeout(timeout time.Duration) *UserCreateParams

NewUserCreateParamsWithTimeout creates a new UserCreateParams object with the ability to set a timeout on a request.

func (*UserCreateParams) SetBody ¶

SetBody adds the body to the user create params

func (*UserCreateParams) SetContext ¶

func (o *UserCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the user create params

func (*UserCreateParams) SetDefaults ¶

func (o *UserCreateParams) SetDefaults()

SetDefaults hydrates default values in the user create params (not the query body).

All values with no default are reset to their zero value.

func (*UserCreateParams) SetHTTPClient ¶

func (o *UserCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user create params

func (*UserCreateParams) SetTimeout ¶

func (o *UserCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user create params

func (*UserCreateParams) WithBody ¶

WithBody adds the body to the user create params

func (*UserCreateParams) WithContext ¶

func (o *UserCreateParams) WithContext(ctx context.Context) *UserCreateParams

WithContext adds the context to the user create params

func (*UserCreateParams) WithDefaults ¶

func (o *UserCreateParams) WithDefaults() *UserCreateParams

WithDefaults hydrates default values in the user create params (not the query body).

All values with no default are reset to their zero value.

func (*UserCreateParams) WithHTTPClient ¶

func (o *UserCreateParams) WithHTTPClient(client *http.Client) *UserCreateParams

WithHTTPClient adds the HTTPClient to the user create params

func (*UserCreateParams) WithTimeout ¶

func (o *UserCreateParams) WithTimeout(timeout time.Duration) *UserCreateParams

WithTimeout adds the timeout to the user create params

func (*UserCreateParams) WriteToRequest ¶

func (o *UserCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserCreateReader ¶

type UserCreateReader struct {
	// contains filtered or unexported fields
}

UserCreateReader is a Reader for the UserCreate structure.

func (*UserCreateReader) ReadResponse ¶

func (o *UserCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserDeleteBadRequest ¶

type UserDeleteBadRequest struct {
}

UserDeleteBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserDeleteBadRequest ¶

func NewUserDeleteBadRequest() *UserDeleteBadRequest

NewUserDeleteBadRequest creates a UserDeleteBadRequest with default headers values

func (*UserDeleteBadRequest) Code ¶

func (o *UserDeleteBadRequest) Code() int

Code gets the status code for the user delete bad request response

func (*UserDeleteBadRequest) Error ¶

func (o *UserDeleteBadRequest) Error() string

func (*UserDeleteBadRequest) IsClientError ¶

func (o *UserDeleteBadRequest) IsClientError() bool

IsClientError returns true when this user delete bad request response has a 4xx status code

func (*UserDeleteBadRequest) IsCode ¶

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

IsCode returns true when this user delete bad request response a status code equal to that given

func (*UserDeleteBadRequest) IsRedirect ¶

func (o *UserDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this user delete bad request response has a 3xx status code

func (*UserDeleteBadRequest) IsServerError ¶

func (o *UserDeleteBadRequest) IsServerError() bool

IsServerError returns true when this user delete bad request response has a 5xx status code

func (*UserDeleteBadRequest) IsSuccess ¶

func (o *UserDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this user delete bad request response has a 2xx status code

func (*UserDeleteBadRequest) String ¶

func (o *UserDeleteBadRequest) String() string

type UserDeleteForbidden ¶

type UserDeleteForbidden struct {
}

UserDeleteForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserDeleteForbidden ¶

func NewUserDeleteForbidden() *UserDeleteForbidden

NewUserDeleteForbidden creates a UserDeleteForbidden with default headers values

func (*UserDeleteForbidden) Code ¶

func (o *UserDeleteForbidden) Code() int

Code gets the status code for the user delete forbidden response

func (*UserDeleteForbidden) Error ¶

func (o *UserDeleteForbidden) Error() string

func (*UserDeleteForbidden) IsClientError ¶

func (o *UserDeleteForbidden) IsClientError() bool

IsClientError returns true when this user delete forbidden response has a 4xx status code

func (*UserDeleteForbidden) IsCode ¶

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

IsCode returns true when this user delete forbidden response a status code equal to that given

func (*UserDeleteForbidden) IsRedirect ¶

func (o *UserDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this user delete forbidden response has a 3xx status code

func (*UserDeleteForbidden) IsServerError ¶

func (o *UserDeleteForbidden) IsServerError() bool

IsServerError returns true when this user delete forbidden response has a 5xx status code

func (*UserDeleteForbidden) IsSuccess ¶

func (o *UserDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this user delete forbidden response has a 2xx status code

func (*UserDeleteForbidden) String ¶

func (o *UserDeleteForbidden) String() string

type UserDeleteInternalServerError ¶

type UserDeleteInternalServerError struct {
}

UserDeleteInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserDeleteInternalServerError ¶

func NewUserDeleteInternalServerError() *UserDeleteInternalServerError

NewUserDeleteInternalServerError creates a UserDeleteInternalServerError with default headers values

func (*UserDeleteInternalServerError) Code ¶

Code gets the status code for the user delete internal server error response

func (*UserDeleteInternalServerError) Error ¶

func (*UserDeleteInternalServerError) IsClientError ¶

func (o *UserDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this user delete internal server error response has a 4xx status code

func (*UserDeleteInternalServerError) IsCode ¶

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

IsCode returns true when this user delete internal server error response a status code equal to that given

func (*UserDeleteInternalServerError) IsRedirect ¶

func (o *UserDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this user delete internal server error response has a 3xx status code

func (*UserDeleteInternalServerError) IsServerError ¶

func (o *UserDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this user delete internal server error response has a 5xx status code

func (*UserDeleteInternalServerError) IsSuccess ¶

func (o *UserDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this user delete internal server error response has a 2xx status code

func (*UserDeleteInternalServerError) String ¶

type UserDeleteNoContent ¶

type UserDeleteNoContent struct {
}

UserDeleteNoContent describes a response with status code 204, with default header values.

Success

func NewUserDeleteNoContent ¶

func NewUserDeleteNoContent() *UserDeleteNoContent

NewUserDeleteNoContent creates a UserDeleteNoContent with default headers values

func (*UserDeleteNoContent) Code ¶

func (o *UserDeleteNoContent) Code() int

Code gets the status code for the user delete no content response

func (*UserDeleteNoContent) Error ¶

func (o *UserDeleteNoContent) Error() string

func (*UserDeleteNoContent) IsClientError ¶

func (o *UserDeleteNoContent) IsClientError() bool

IsClientError returns true when this user delete no content response has a 4xx status code

func (*UserDeleteNoContent) IsCode ¶

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

IsCode returns true when this user delete no content response a status code equal to that given

func (*UserDeleteNoContent) IsRedirect ¶

func (o *UserDeleteNoContent) IsRedirect() bool

IsRedirect returns true when this user delete no content response has a 3xx status code

func (*UserDeleteNoContent) IsServerError ¶

func (o *UserDeleteNoContent) IsServerError() bool

IsServerError returns true when this user delete no content response has a 5xx status code

func (*UserDeleteNoContent) IsSuccess ¶

func (o *UserDeleteNoContent) IsSuccess() bool

IsSuccess returns true when this user delete no content response has a 2xx status code

func (*UserDeleteNoContent) String ¶

func (o *UserDeleteNoContent) String() string

type UserDeleteNotFound ¶

type UserDeleteNotFound struct {
}

UserDeleteNotFound describes a response with status code 404, with default header values.

User not found

func NewUserDeleteNotFound ¶

func NewUserDeleteNotFound() *UserDeleteNotFound

NewUserDeleteNotFound creates a UserDeleteNotFound with default headers values

func (*UserDeleteNotFound) Code ¶

func (o *UserDeleteNotFound) Code() int

Code gets the status code for the user delete not found response

func (*UserDeleteNotFound) Error ¶

func (o *UserDeleteNotFound) Error() string

func (*UserDeleteNotFound) IsClientError ¶

func (o *UserDeleteNotFound) IsClientError() bool

IsClientError returns true when this user delete not found response has a 4xx status code

func (*UserDeleteNotFound) IsCode ¶

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

IsCode returns true when this user delete not found response a status code equal to that given

func (*UserDeleteNotFound) IsRedirect ¶

func (o *UserDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this user delete not found response has a 3xx status code

func (*UserDeleteNotFound) IsServerError ¶

func (o *UserDeleteNotFound) IsServerError() bool

IsServerError returns true when this user delete not found response has a 5xx status code

func (*UserDeleteNotFound) IsSuccess ¶

func (o *UserDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this user delete not found response has a 2xx status code

func (*UserDeleteNotFound) String ¶

func (o *UserDeleteNotFound) String() string

type UserDeleteParams ¶

type UserDeleteParams struct {

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserDeleteParams contains all the parameters to send to the API endpoint

for the user delete operation.

Typically these are written to a http.Request.

func NewUserDeleteParams ¶

func NewUserDeleteParams() *UserDeleteParams

NewUserDeleteParams creates a new UserDeleteParams 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 NewUserDeleteParamsWithContext ¶

func NewUserDeleteParamsWithContext(ctx context.Context) *UserDeleteParams

NewUserDeleteParamsWithContext creates a new UserDeleteParams object with the ability to set a context for a request.

func NewUserDeleteParamsWithHTTPClient ¶

func NewUserDeleteParamsWithHTTPClient(client *http.Client) *UserDeleteParams

NewUserDeleteParamsWithHTTPClient creates a new UserDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewUserDeleteParamsWithTimeout ¶

func NewUserDeleteParamsWithTimeout(timeout time.Duration) *UserDeleteParams

NewUserDeleteParamsWithTimeout creates a new UserDeleteParams object with the ability to set a timeout on a request.

func (*UserDeleteParams) SetContext ¶

func (o *UserDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the user delete params

func (*UserDeleteParams) SetDefaults ¶

func (o *UserDeleteParams) SetDefaults()

SetDefaults hydrates default values in the user delete params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteParams) SetHTTPClient ¶

func (o *UserDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user delete params

func (*UserDeleteParams) SetID ¶

func (o *UserDeleteParams) SetID(id int64)

SetID adds the id to the user delete params

func (*UserDeleteParams) SetTimeout ¶

func (o *UserDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user delete params

func (*UserDeleteParams) WithContext ¶

func (o *UserDeleteParams) WithContext(ctx context.Context) *UserDeleteParams

WithContext adds the context to the user delete params

func (*UserDeleteParams) WithDefaults ¶

func (o *UserDeleteParams) WithDefaults() *UserDeleteParams

WithDefaults hydrates default values in the user delete params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteParams) WithHTTPClient ¶

func (o *UserDeleteParams) WithHTTPClient(client *http.Client) *UserDeleteParams

WithHTTPClient adds the HTTPClient to the user delete params

func (*UserDeleteParams) WithID ¶

func (o *UserDeleteParams) WithID(id int64) *UserDeleteParams

WithID adds the id to the user delete params

func (*UserDeleteParams) WithTimeout ¶

func (o *UserDeleteParams) WithTimeout(timeout time.Duration) *UserDeleteParams

WithTimeout adds the timeout to the user delete params

func (*UserDeleteParams) WriteToRequest ¶

func (o *UserDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserDeleteReader ¶

type UserDeleteReader struct {
	// contains filtered or unexported fields
}

UserDeleteReader is a Reader for the UserDelete structure.

func (*UserDeleteReader) ReadResponse ¶

func (o *UserDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGenerateAPIKeyBadRequest ¶

type UserGenerateAPIKeyBadRequest struct {
}

UserGenerateAPIKeyBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserGenerateAPIKeyBadRequest ¶

func NewUserGenerateAPIKeyBadRequest() *UserGenerateAPIKeyBadRequest

NewUserGenerateAPIKeyBadRequest creates a UserGenerateAPIKeyBadRequest with default headers values

func (*UserGenerateAPIKeyBadRequest) Code ¶

Code gets the status code for the user generate Api key bad request response

func (*UserGenerateAPIKeyBadRequest) Error ¶

func (*UserGenerateAPIKeyBadRequest) IsClientError ¶

func (o *UserGenerateAPIKeyBadRequest) IsClientError() bool

IsClientError returns true when this user generate Api key bad request response has a 4xx status code

func (*UserGenerateAPIKeyBadRequest) IsCode ¶

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

IsCode returns true when this user generate Api key bad request response a status code equal to that given

func (*UserGenerateAPIKeyBadRequest) IsRedirect ¶

func (o *UserGenerateAPIKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this user generate Api key bad request response has a 3xx status code

func (*UserGenerateAPIKeyBadRequest) IsServerError ¶

func (o *UserGenerateAPIKeyBadRequest) IsServerError() bool

IsServerError returns true when this user generate Api key bad request response has a 5xx status code

func (*UserGenerateAPIKeyBadRequest) IsSuccess ¶

func (o *UserGenerateAPIKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this user generate Api key bad request response has a 2xx status code

func (*UserGenerateAPIKeyBadRequest) String ¶

type UserGenerateAPIKeyForbidden ¶

type UserGenerateAPIKeyForbidden struct {
}

UserGenerateAPIKeyForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserGenerateAPIKeyForbidden ¶

func NewUserGenerateAPIKeyForbidden() *UserGenerateAPIKeyForbidden

NewUserGenerateAPIKeyForbidden creates a UserGenerateAPIKeyForbidden with default headers values

func (*UserGenerateAPIKeyForbidden) Code ¶

func (o *UserGenerateAPIKeyForbidden) Code() int

Code gets the status code for the user generate Api key forbidden response

func (*UserGenerateAPIKeyForbidden) Error ¶

func (*UserGenerateAPIKeyForbidden) IsClientError ¶

func (o *UserGenerateAPIKeyForbidden) IsClientError() bool

IsClientError returns true when this user generate Api key forbidden response has a 4xx status code

func (*UserGenerateAPIKeyForbidden) IsCode ¶

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

IsCode returns true when this user generate Api key forbidden response a status code equal to that given

func (*UserGenerateAPIKeyForbidden) IsRedirect ¶

func (o *UserGenerateAPIKeyForbidden) IsRedirect() bool

IsRedirect returns true when this user generate Api key forbidden response has a 3xx status code

func (*UserGenerateAPIKeyForbidden) IsServerError ¶

func (o *UserGenerateAPIKeyForbidden) IsServerError() bool

IsServerError returns true when this user generate Api key forbidden response has a 5xx status code

func (*UserGenerateAPIKeyForbidden) IsSuccess ¶

func (o *UserGenerateAPIKeyForbidden) IsSuccess() bool

IsSuccess returns true when this user generate Api key forbidden response has a 2xx status code

func (*UserGenerateAPIKeyForbidden) String ¶

func (o *UserGenerateAPIKeyForbidden) String() string

type UserGenerateAPIKeyInternalServerError ¶

type UserGenerateAPIKeyInternalServerError struct {
}

UserGenerateAPIKeyInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserGenerateAPIKeyInternalServerError ¶

func NewUserGenerateAPIKeyInternalServerError() *UserGenerateAPIKeyInternalServerError

NewUserGenerateAPIKeyInternalServerError creates a UserGenerateAPIKeyInternalServerError with default headers values

func (*UserGenerateAPIKeyInternalServerError) Code ¶

Code gets the status code for the user generate Api key internal server error response

func (*UserGenerateAPIKeyInternalServerError) Error ¶

func (*UserGenerateAPIKeyInternalServerError) IsClientError ¶

func (o *UserGenerateAPIKeyInternalServerError) IsClientError() bool

IsClientError returns true when this user generate Api key internal server error response has a 4xx status code

func (*UserGenerateAPIKeyInternalServerError) IsCode ¶

IsCode returns true when this user generate Api key internal server error response a status code equal to that given

func (*UserGenerateAPIKeyInternalServerError) IsRedirect ¶

IsRedirect returns true when this user generate Api key internal server error response has a 3xx status code

func (*UserGenerateAPIKeyInternalServerError) IsServerError ¶

func (o *UserGenerateAPIKeyInternalServerError) IsServerError() bool

IsServerError returns true when this user generate Api key internal server error response has a 5xx status code

func (*UserGenerateAPIKeyInternalServerError) IsSuccess ¶

IsSuccess returns true when this user generate Api key internal server error response has a 2xx status code

func (*UserGenerateAPIKeyInternalServerError) String ¶

type UserGenerateAPIKeyNotFound ¶

type UserGenerateAPIKeyNotFound struct {
}

UserGenerateAPIKeyNotFound describes a response with status code 404, with default header values.

User not found

func NewUserGenerateAPIKeyNotFound ¶

func NewUserGenerateAPIKeyNotFound() *UserGenerateAPIKeyNotFound

NewUserGenerateAPIKeyNotFound creates a UserGenerateAPIKeyNotFound with default headers values

func (*UserGenerateAPIKeyNotFound) Code ¶

func (o *UserGenerateAPIKeyNotFound) Code() int

Code gets the status code for the user generate Api key not found response

func (*UserGenerateAPIKeyNotFound) Error ¶

func (*UserGenerateAPIKeyNotFound) IsClientError ¶

func (o *UserGenerateAPIKeyNotFound) IsClientError() bool

IsClientError returns true when this user generate Api key not found response has a 4xx status code

func (*UserGenerateAPIKeyNotFound) IsCode ¶

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

IsCode returns true when this user generate Api key not found response a status code equal to that given

func (*UserGenerateAPIKeyNotFound) IsRedirect ¶

func (o *UserGenerateAPIKeyNotFound) IsRedirect() bool

IsRedirect returns true when this user generate Api key not found response has a 3xx status code

func (*UserGenerateAPIKeyNotFound) IsServerError ¶

func (o *UserGenerateAPIKeyNotFound) IsServerError() bool

IsServerError returns true when this user generate Api key not found response has a 5xx status code

func (*UserGenerateAPIKeyNotFound) IsSuccess ¶

func (o *UserGenerateAPIKeyNotFound) IsSuccess() bool

IsSuccess returns true when this user generate Api key not found response has a 2xx status code

func (*UserGenerateAPIKeyNotFound) String ¶

func (o *UserGenerateAPIKeyNotFound) String() string

type UserGenerateAPIKeyOK ¶

type UserGenerateAPIKeyOK struct {
	Payload *models.UsersAccessTokenResponse
}

UserGenerateAPIKeyOK describes a response with status code 200, with default header values.

Success

func NewUserGenerateAPIKeyOK ¶

func NewUserGenerateAPIKeyOK() *UserGenerateAPIKeyOK

NewUserGenerateAPIKeyOK creates a UserGenerateAPIKeyOK with default headers values

func (*UserGenerateAPIKeyOK) Code ¶

func (o *UserGenerateAPIKeyOK) Code() int

Code gets the status code for the user generate Api key o k response

func (*UserGenerateAPIKeyOK) Error ¶

func (o *UserGenerateAPIKeyOK) Error() string

func (*UserGenerateAPIKeyOK) GetPayload ¶

func (*UserGenerateAPIKeyOK) IsClientError ¶

func (o *UserGenerateAPIKeyOK) IsClientError() bool

IsClientError returns true when this user generate Api key o k response has a 4xx status code

func (*UserGenerateAPIKeyOK) IsCode ¶

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

IsCode returns true when this user generate Api key o k response a status code equal to that given

func (*UserGenerateAPIKeyOK) IsRedirect ¶

func (o *UserGenerateAPIKeyOK) IsRedirect() bool

IsRedirect returns true when this user generate Api key o k response has a 3xx status code

func (*UserGenerateAPIKeyOK) IsServerError ¶

func (o *UserGenerateAPIKeyOK) IsServerError() bool

IsServerError returns true when this user generate Api key o k response has a 5xx status code

func (*UserGenerateAPIKeyOK) IsSuccess ¶

func (o *UserGenerateAPIKeyOK) IsSuccess() bool

IsSuccess returns true when this user generate Api key o k response has a 2xx status code

func (*UserGenerateAPIKeyOK) String ¶

func (o *UserGenerateAPIKeyOK) String() string

type UserGenerateAPIKeyParams ¶

type UserGenerateAPIKeyParams struct {

	/* Body.

	   details
	*/
	Body *models.UsersUserAccessTokenCreatePayload

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGenerateAPIKeyParams contains all the parameters to send to the API endpoint

for the user generate API key operation.

Typically these are written to a http.Request.

func NewUserGenerateAPIKeyParams ¶

func NewUserGenerateAPIKeyParams() *UserGenerateAPIKeyParams

NewUserGenerateAPIKeyParams creates a new UserGenerateAPIKeyParams 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 NewUserGenerateAPIKeyParamsWithContext ¶

func NewUserGenerateAPIKeyParamsWithContext(ctx context.Context) *UserGenerateAPIKeyParams

NewUserGenerateAPIKeyParamsWithContext creates a new UserGenerateAPIKeyParams object with the ability to set a context for a request.

func NewUserGenerateAPIKeyParamsWithHTTPClient ¶

func NewUserGenerateAPIKeyParamsWithHTTPClient(client *http.Client) *UserGenerateAPIKeyParams

NewUserGenerateAPIKeyParamsWithHTTPClient creates a new UserGenerateAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserGenerateAPIKeyParamsWithTimeout ¶

func NewUserGenerateAPIKeyParamsWithTimeout(timeout time.Duration) *UserGenerateAPIKeyParams

NewUserGenerateAPIKeyParamsWithTimeout creates a new UserGenerateAPIKeyParams object with the ability to set a timeout on a request.

func (*UserGenerateAPIKeyParams) SetBody ¶

SetBody adds the body to the user generate API key params

func (*UserGenerateAPIKeyParams) SetContext ¶

func (o *UserGenerateAPIKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the user generate API key params

func (*UserGenerateAPIKeyParams) SetDefaults ¶

func (o *UserGenerateAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the user generate API key params (not the query body).

All values with no default are reset to their zero value.

func (*UserGenerateAPIKeyParams) SetHTTPClient ¶

func (o *UserGenerateAPIKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user generate API key params

func (*UserGenerateAPIKeyParams) SetID ¶

func (o *UserGenerateAPIKeyParams) SetID(id int64)

SetID adds the id to the user generate API key params

func (*UserGenerateAPIKeyParams) SetTimeout ¶

func (o *UserGenerateAPIKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user generate API key params

func (*UserGenerateAPIKeyParams) WithBody ¶

WithBody adds the body to the user generate API key params

func (*UserGenerateAPIKeyParams) WithContext ¶

WithContext adds the context to the user generate API key params

func (*UserGenerateAPIKeyParams) WithDefaults ¶

WithDefaults hydrates default values in the user generate API key params (not the query body).

All values with no default are reset to their zero value.

func (*UserGenerateAPIKeyParams) WithHTTPClient ¶

func (o *UserGenerateAPIKeyParams) WithHTTPClient(client *http.Client) *UserGenerateAPIKeyParams

WithHTTPClient adds the HTTPClient to the user generate API key params

func (*UserGenerateAPIKeyParams) WithID ¶

WithID adds the id to the user generate API key params

func (*UserGenerateAPIKeyParams) WithTimeout ¶

WithTimeout adds the timeout to the user generate API key params

func (*UserGenerateAPIKeyParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserGenerateAPIKeyReader ¶

type UserGenerateAPIKeyReader struct {
	// contains filtered or unexported fields
}

UserGenerateAPIKeyReader is a Reader for the UserGenerateAPIKey structure.

func (*UserGenerateAPIKeyReader) ReadResponse ¶

func (o *UserGenerateAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGenerateAPIKeyUnauthorized ¶

type UserGenerateAPIKeyUnauthorized struct {
}

UserGenerateAPIKeyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUserGenerateAPIKeyUnauthorized ¶

func NewUserGenerateAPIKeyUnauthorized() *UserGenerateAPIKeyUnauthorized

NewUserGenerateAPIKeyUnauthorized creates a UserGenerateAPIKeyUnauthorized with default headers values

func (*UserGenerateAPIKeyUnauthorized) Code ¶

Code gets the status code for the user generate Api key unauthorized response

func (*UserGenerateAPIKeyUnauthorized) Error ¶

func (*UserGenerateAPIKeyUnauthorized) IsClientError ¶

func (o *UserGenerateAPIKeyUnauthorized) IsClientError() bool

IsClientError returns true when this user generate Api key unauthorized response has a 4xx status code

func (*UserGenerateAPIKeyUnauthorized) IsCode ¶

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

IsCode returns true when this user generate Api key unauthorized response a status code equal to that given

func (*UserGenerateAPIKeyUnauthorized) IsRedirect ¶

func (o *UserGenerateAPIKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this user generate Api key unauthorized response has a 3xx status code

func (*UserGenerateAPIKeyUnauthorized) IsServerError ¶

func (o *UserGenerateAPIKeyUnauthorized) IsServerError() bool

IsServerError returns true when this user generate Api key unauthorized response has a 5xx status code

func (*UserGenerateAPIKeyUnauthorized) IsSuccess ¶

func (o *UserGenerateAPIKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this user generate Api key unauthorized response has a 2xx status code

func (*UserGenerateAPIKeyUnauthorized) String ¶

type UserGetAPIKeysBadRequest ¶

type UserGetAPIKeysBadRequest struct {
}

UserGetAPIKeysBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserGetAPIKeysBadRequest ¶

func NewUserGetAPIKeysBadRequest() *UserGetAPIKeysBadRequest

NewUserGetAPIKeysBadRequest creates a UserGetAPIKeysBadRequest with default headers values

func (*UserGetAPIKeysBadRequest) Code ¶

func (o *UserGetAPIKeysBadRequest) Code() int

Code gets the status code for the user get Api keys bad request response

func (*UserGetAPIKeysBadRequest) Error ¶

func (o *UserGetAPIKeysBadRequest) Error() string

func (*UserGetAPIKeysBadRequest) IsClientError ¶

func (o *UserGetAPIKeysBadRequest) IsClientError() bool

IsClientError returns true when this user get Api keys bad request response has a 4xx status code

func (*UserGetAPIKeysBadRequest) IsCode ¶

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

IsCode returns true when this user get Api keys bad request response a status code equal to that given

func (*UserGetAPIKeysBadRequest) IsRedirect ¶

func (o *UserGetAPIKeysBadRequest) IsRedirect() bool

IsRedirect returns true when this user get Api keys bad request response has a 3xx status code

func (*UserGetAPIKeysBadRequest) IsServerError ¶

func (o *UserGetAPIKeysBadRequest) IsServerError() bool

IsServerError returns true when this user get Api keys bad request response has a 5xx status code

func (*UserGetAPIKeysBadRequest) IsSuccess ¶

func (o *UserGetAPIKeysBadRequest) IsSuccess() bool

IsSuccess returns true when this user get Api keys bad request response has a 2xx status code

func (*UserGetAPIKeysBadRequest) String ¶

func (o *UserGetAPIKeysBadRequest) String() string

type UserGetAPIKeysForbidden ¶

type UserGetAPIKeysForbidden struct {
}

UserGetAPIKeysForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserGetAPIKeysForbidden ¶

func NewUserGetAPIKeysForbidden() *UserGetAPIKeysForbidden

NewUserGetAPIKeysForbidden creates a UserGetAPIKeysForbidden with default headers values

func (*UserGetAPIKeysForbidden) Code ¶

func (o *UserGetAPIKeysForbidden) Code() int

Code gets the status code for the user get Api keys forbidden response

func (*UserGetAPIKeysForbidden) Error ¶

func (o *UserGetAPIKeysForbidden) Error() string

func (*UserGetAPIKeysForbidden) IsClientError ¶

func (o *UserGetAPIKeysForbidden) IsClientError() bool

IsClientError returns true when this user get Api keys forbidden response has a 4xx status code

func (*UserGetAPIKeysForbidden) IsCode ¶

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

IsCode returns true when this user get Api keys forbidden response a status code equal to that given

func (*UserGetAPIKeysForbidden) IsRedirect ¶

func (o *UserGetAPIKeysForbidden) IsRedirect() bool

IsRedirect returns true when this user get Api keys forbidden response has a 3xx status code

func (*UserGetAPIKeysForbidden) IsServerError ¶

func (o *UserGetAPIKeysForbidden) IsServerError() bool

IsServerError returns true when this user get Api keys forbidden response has a 5xx status code

func (*UserGetAPIKeysForbidden) IsSuccess ¶

func (o *UserGetAPIKeysForbidden) IsSuccess() bool

IsSuccess returns true when this user get Api keys forbidden response has a 2xx status code

func (*UserGetAPIKeysForbidden) String ¶

func (o *UserGetAPIKeysForbidden) String() string

type UserGetAPIKeysInternalServerError ¶

type UserGetAPIKeysInternalServerError struct {
}

UserGetAPIKeysInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserGetAPIKeysInternalServerError ¶

func NewUserGetAPIKeysInternalServerError() *UserGetAPIKeysInternalServerError

NewUserGetAPIKeysInternalServerError creates a UserGetAPIKeysInternalServerError with default headers values

func (*UserGetAPIKeysInternalServerError) Code ¶

Code gets the status code for the user get Api keys internal server error response

func (*UserGetAPIKeysInternalServerError) Error ¶

func (*UserGetAPIKeysInternalServerError) IsClientError ¶

func (o *UserGetAPIKeysInternalServerError) IsClientError() bool

IsClientError returns true when this user get Api keys internal server error response has a 4xx status code

func (*UserGetAPIKeysInternalServerError) IsCode ¶

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

IsCode returns true when this user get Api keys internal server error response a status code equal to that given

func (*UserGetAPIKeysInternalServerError) IsRedirect ¶

func (o *UserGetAPIKeysInternalServerError) IsRedirect() bool

IsRedirect returns true when this user get Api keys internal server error response has a 3xx status code

func (*UserGetAPIKeysInternalServerError) IsServerError ¶

func (o *UserGetAPIKeysInternalServerError) IsServerError() bool

IsServerError returns true when this user get Api keys internal server error response has a 5xx status code

func (*UserGetAPIKeysInternalServerError) IsSuccess ¶

func (o *UserGetAPIKeysInternalServerError) IsSuccess() bool

IsSuccess returns true when this user get Api keys internal server error response has a 2xx status code

func (*UserGetAPIKeysInternalServerError) String ¶

type UserGetAPIKeysNotFound ¶

type UserGetAPIKeysNotFound struct {
}

UserGetAPIKeysNotFound describes a response with status code 404, with default header values.

User not found

func NewUserGetAPIKeysNotFound ¶

func NewUserGetAPIKeysNotFound() *UserGetAPIKeysNotFound

NewUserGetAPIKeysNotFound creates a UserGetAPIKeysNotFound with default headers values

func (*UserGetAPIKeysNotFound) Code ¶

func (o *UserGetAPIKeysNotFound) Code() int

Code gets the status code for the user get Api keys not found response

func (*UserGetAPIKeysNotFound) Error ¶

func (o *UserGetAPIKeysNotFound) Error() string

func (*UserGetAPIKeysNotFound) IsClientError ¶

func (o *UserGetAPIKeysNotFound) IsClientError() bool

IsClientError returns true when this user get Api keys not found response has a 4xx status code

func (*UserGetAPIKeysNotFound) IsCode ¶

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

IsCode returns true when this user get Api keys not found response a status code equal to that given

func (*UserGetAPIKeysNotFound) IsRedirect ¶

func (o *UserGetAPIKeysNotFound) IsRedirect() bool

IsRedirect returns true when this user get Api keys not found response has a 3xx status code

func (*UserGetAPIKeysNotFound) IsServerError ¶

func (o *UserGetAPIKeysNotFound) IsServerError() bool

IsServerError returns true when this user get Api keys not found response has a 5xx status code

func (*UserGetAPIKeysNotFound) IsSuccess ¶

func (o *UserGetAPIKeysNotFound) IsSuccess() bool

IsSuccess returns true when this user get Api keys not found response has a 2xx status code

func (*UserGetAPIKeysNotFound) String ¶

func (o *UserGetAPIKeysNotFound) String() string

type UserGetAPIKeysOK ¶

type UserGetAPIKeysOK struct {
	Payload []*models.PortainerAPIKey
}

UserGetAPIKeysOK describes a response with status code 200, with default header values.

Success

func NewUserGetAPIKeysOK ¶

func NewUserGetAPIKeysOK() *UserGetAPIKeysOK

NewUserGetAPIKeysOK creates a UserGetAPIKeysOK with default headers values

func (*UserGetAPIKeysOK) Code ¶

func (o *UserGetAPIKeysOK) Code() int

Code gets the status code for the user get Api keys o k response

func (*UserGetAPIKeysOK) Error ¶

func (o *UserGetAPIKeysOK) Error() string

func (*UserGetAPIKeysOK) GetPayload ¶

func (o *UserGetAPIKeysOK) GetPayload() []*models.PortainerAPIKey

func (*UserGetAPIKeysOK) IsClientError ¶

func (o *UserGetAPIKeysOK) IsClientError() bool

IsClientError returns true when this user get Api keys o k response has a 4xx status code

func (*UserGetAPIKeysOK) IsCode ¶

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

IsCode returns true when this user get Api keys o k response a status code equal to that given

func (*UserGetAPIKeysOK) IsRedirect ¶

func (o *UserGetAPIKeysOK) IsRedirect() bool

IsRedirect returns true when this user get Api keys o k response has a 3xx status code

func (*UserGetAPIKeysOK) IsServerError ¶

func (o *UserGetAPIKeysOK) IsServerError() bool

IsServerError returns true when this user get Api keys o k response has a 5xx status code

func (*UserGetAPIKeysOK) IsSuccess ¶

func (o *UserGetAPIKeysOK) IsSuccess() bool

IsSuccess returns true when this user get Api keys o k response has a 2xx status code

func (*UserGetAPIKeysOK) String ¶

func (o *UserGetAPIKeysOK) String() string

type UserGetAPIKeysParams ¶

type UserGetAPIKeysParams struct {

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetAPIKeysParams contains all the parameters to send to the API endpoint

for the user get API keys operation.

Typically these are written to a http.Request.

func NewUserGetAPIKeysParams ¶

func NewUserGetAPIKeysParams() *UserGetAPIKeysParams

NewUserGetAPIKeysParams creates a new UserGetAPIKeysParams 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 NewUserGetAPIKeysParamsWithContext ¶

func NewUserGetAPIKeysParamsWithContext(ctx context.Context) *UserGetAPIKeysParams

NewUserGetAPIKeysParamsWithContext creates a new UserGetAPIKeysParams object with the ability to set a context for a request.

func NewUserGetAPIKeysParamsWithHTTPClient ¶

func NewUserGetAPIKeysParamsWithHTTPClient(client *http.Client) *UserGetAPIKeysParams

NewUserGetAPIKeysParamsWithHTTPClient creates a new UserGetAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetAPIKeysParamsWithTimeout ¶

func NewUserGetAPIKeysParamsWithTimeout(timeout time.Duration) *UserGetAPIKeysParams

NewUserGetAPIKeysParamsWithTimeout creates a new UserGetAPIKeysParams object with the ability to set a timeout on a request.

func (*UserGetAPIKeysParams) SetContext ¶

func (o *UserGetAPIKeysParams) SetContext(ctx context.Context)

SetContext adds the context to the user get API keys params

func (*UserGetAPIKeysParams) SetDefaults ¶

func (o *UserGetAPIKeysParams) SetDefaults()

SetDefaults hydrates default values in the user get API keys params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetAPIKeysParams) SetHTTPClient ¶

func (o *UserGetAPIKeysParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get API keys params

func (*UserGetAPIKeysParams) SetID ¶

func (o *UserGetAPIKeysParams) SetID(id int64)

SetID adds the id to the user get API keys params

func (*UserGetAPIKeysParams) SetTimeout ¶

func (o *UserGetAPIKeysParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get API keys params

func (*UserGetAPIKeysParams) WithContext ¶

WithContext adds the context to the user get API keys params

func (*UserGetAPIKeysParams) WithDefaults ¶

func (o *UserGetAPIKeysParams) WithDefaults() *UserGetAPIKeysParams

WithDefaults hydrates default values in the user get API keys params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetAPIKeysParams) WithHTTPClient ¶

func (o *UserGetAPIKeysParams) WithHTTPClient(client *http.Client) *UserGetAPIKeysParams

WithHTTPClient adds the HTTPClient to the user get API keys params

func (*UserGetAPIKeysParams) WithID ¶

WithID adds the id to the user get API keys params

func (*UserGetAPIKeysParams) WithTimeout ¶

func (o *UserGetAPIKeysParams) WithTimeout(timeout time.Duration) *UserGetAPIKeysParams

WithTimeout adds the timeout to the user get API keys params

func (*UserGetAPIKeysParams) WriteToRequest ¶

func (o *UserGetAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserGetAPIKeysReader ¶

type UserGetAPIKeysReader struct {
	// contains filtered or unexported fields
}

UserGetAPIKeysReader is a Reader for the UserGetAPIKeys structure.

func (*UserGetAPIKeysReader) ReadResponse ¶

func (o *UserGetAPIKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetGitCredentialBadRequest ¶

type UserGetGitCredentialBadRequest struct {
}

UserGetGitCredentialBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserGetGitCredentialBadRequest ¶

func NewUserGetGitCredentialBadRequest() *UserGetGitCredentialBadRequest

NewUserGetGitCredentialBadRequest creates a UserGetGitCredentialBadRequest with default headers values

func (*UserGetGitCredentialBadRequest) Code ¶

Code gets the status code for the user get git credential bad request response

func (*UserGetGitCredentialBadRequest) Error ¶

func (*UserGetGitCredentialBadRequest) IsClientError ¶

func (o *UserGetGitCredentialBadRequest) IsClientError() bool

IsClientError returns true when this user get git credential bad request response has a 4xx status code

func (*UserGetGitCredentialBadRequest) IsCode ¶

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

IsCode returns true when this user get git credential bad request response a status code equal to that given

func (*UserGetGitCredentialBadRequest) IsRedirect ¶

func (o *UserGetGitCredentialBadRequest) IsRedirect() bool

IsRedirect returns true when this user get git credential bad request response has a 3xx status code

func (*UserGetGitCredentialBadRequest) IsServerError ¶

func (o *UserGetGitCredentialBadRequest) IsServerError() bool

IsServerError returns true when this user get git credential bad request response has a 5xx status code

func (*UserGetGitCredentialBadRequest) IsSuccess ¶

func (o *UserGetGitCredentialBadRequest) IsSuccess() bool

IsSuccess returns true when this user get git credential bad request response has a 2xx status code

func (*UserGetGitCredentialBadRequest) String ¶

type UserGetGitCredentialForbidden ¶

type UserGetGitCredentialForbidden struct {
}

UserGetGitCredentialForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserGetGitCredentialForbidden ¶

func NewUserGetGitCredentialForbidden() *UserGetGitCredentialForbidden

NewUserGetGitCredentialForbidden creates a UserGetGitCredentialForbidden with default headers values

func (*UserGetGitCredentialForbidden) Code ¶

Code gets the status code for the user get git credential forbidden response

func (*UserGetGitCredentialForbidden) Error ¶

func (*UserGetGitCredentialForbidden) IsClientError ¶

func (o *UserGetGitCredentialForbidden) IsClientError() bool

IsClientError returns true when this user get git credential forbidden response has a 4xx status code

func (*UserGetGitCredentialForbidden) IsCode ¶

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

IsCode returns true when this user get git credential forbidden response a status code equal to that given

func (*UserGetGitCredentialForbidden) IsRedirect ¶

func (o *UserGetGitCredentialForbidden) IsRedirect() bool

IsRedirect returns true when this user get git credential forbidden response has a 3xx status code

func (*UserGetGitCredentialForbidden) IsServerError ¶

func (o *UserGetGitCredentialForbidden) IsServerError() bool

IsServerError returns true when this user get git credential forbidden response has a 5xx status code

func (*UserGetGitCredentialForbidden) IsSuccess ¶

func (o *UserGetGitCredentialForbidden) IsSuccess() bool

IsSuccess returns true when this user get git credential forbidden response has a 2xx status code

func (*UserGetGitCredentialForbidden) String ¶

type UserGetGitCredentialInternalServerError ¶

type UserGetGitCredentialInternalServerError struct {
}

UserGetGitCredentialInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserGetGitCredentialInternalServerError ¶

func NewUserGetGitCredentialInternalServerError() *UserGetGitCredentialInternalServerError

NewUserGetGitCredentialInternalServerError creates a UserGetGitCredentialInternalServerError with default headers values

func (*UserGetGitCredentialInternalServerError) Code ¶

Code gets the status code for the user get git credential internal server error response

func (*UserGetGitCredentialInternalServerError) Error ¶

func (*UserGetGitCredentialInternalServerError) IsClientError ¶

func (o *UserGetGitCredentialInternalServerError) IsClientError() bool

IsClientError returns true when this user get git credential internal server error response has a 4xx status code

func (*UserGetGitCredentialInternalServerError) IsCode ¶

IsCode returns true when this user get git credential internal server error response a status code equal to that given

func (*UserGetGitCredentialInternalServerError) IsRedirect ¶

IsRedirect returns true when this user get git credential internal server error response has a 3xx status code

func (*UserGetGitCredentialInternalServerError) IsServerError ¶

func (o *UserGetGitCredentialInternalServerError) IsServerError() bool

IsServerError returns true when this user get git credential internal server error response has a 5xx status code

func (*UserGetGitCredentialInternalServerError) IsSuccess ¶

IsSuccess returns true when this user get git credential internal server error response has a 2xx status code

func (*UserGetGitCredentialInternalServerError) String ¶

type UserGetGitCredentialNotFound ¶

type UserGetGitCredentialNotFound struct {
}

UserGetGitCredentialNotFound describes a response with status code 404, with default header values.

User not found

func NewUserGetGitCredentialNotFound ¶

func NewUserGetGitCredentialNotFound() *UserGetGitCredentialNotFound

NewUserGetGitCredentialNotFound creates a UserGetGitCredentialNotFound with default headers values

func (*UserGetGitCredentialNotFound) Code ¶

Code gets the status code for the user get git credential not found response

func (*UserGetGitCredentialNotFound) Error ¶

func (*UserGetGitCredentialNotFound) IsClientError ¶

func (o *UserGetGitCredentialNotFound) IsClientError() bool

IsClientError returns true when this user get git credential not found response has a 4xx status code

func (*UserGetGitCredentialNotFound) IsCode ¶

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

IsCode returns true when this user get git credential not found response a status code equal to that given

func (*UserGetGitCredentialNotFound) IsRedirect ¶

func (o *UserGetGitCredentialNotFound) IsRedirect() bool

IsRedirect returns true when this user get git credential not found response has a 3xx status code

func (*UserGetGitCredentialNotFound) IsServerError ¶

func (o *UserGetGitCredentialNotFound) IsServerError() bool

IsServerError returns true when this user get git credential not found response has a 5xx status code

func (*UserGetGitCredentialNotFound) IsSuccess ¶

func (o *UserGetGitCredentialNotFound) IsSuccess() bool

IsSuccess returns true when this user get git credential not found response has a 2xx status code

func (*UserGetGitCredentialNotFound) String ¶

type UserGetGitCredentialOK ¶

type UserGetGitCredentialOK struct {
	Payload *models.PortainereeGitCredential
}

UserGetGitCredentialOK describes a response with status code 200, with default header values.

Success

func NewUserGetGitCredentialOK ¶

func NewUserGetGitCredentialOK() *UserGetGitCredentialOK

NewUserGetGitCredentialOK creates a UserGetGitCredentialOK with default headers values

func (*UserGetGitCredentialOK) Code ¶

func (o *UserGetGitCredentialOK) Code() int

Code gets the status code for the user get git credential o k response

func (*UserGetGitCredentialOK) Error ¶

func (o *UserGetGitCredentialOK) Error() string

func (*UserGetGitCredentialOK) GetPayload ¶

func (*UserGetGitCredentialOK) IsClientError ¶

func (o *UserGetGitCredentialOK) IsClientError() bool

IsClientError returns true when this user get git credential o k response has a 4xx status code

func (*UserGetGitCredentialOK) IsCode ¶

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

IsCode returns true when this user get git credential o k response a status code equal to that given

func (*UserGetGitCredentialOK) IsRedirect ¶

func (o *UserGetGitCredentialOK) IsRedirect() bool

IsRedirect returns true when this user get git credential o k response has a 3xx status code

func (*UserGetGitCredentialOK) IsServerError ¶

func (o *UserGetGitCredentialOK) IsServerError() bool

IsServerError returns true when this user get git credential o k response has a 5xx status code

func (*UserGetGitCredentialOK) IsSuccess ¶

func (o *UserGetGitCredentialOK) IsSuccess() bool

IsSuccess returns true when this user get git credential o k response has a 2xx status code

func (*UserGetGitCredentialOK) String ¶

func (o *UserGetGitCredentialOK) String() string

type UserGetGitCredentialParams ¶

type UserGetGitCredentialParams struct {

	/* CredentialID.

	   Git Credential identifier
	*/
	CredentialID int64

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetGitCredentialParams contains all the parameters to send to the API endpoint

for the user get git credential operation.

Typically these are written to a http.Request.

func NewUserGetGitCredentialParams ¶

func NewUserGetGitCredentialParams() *UserGetGitCredentialParams

NewUserGetGitCredentialParams creates a new UserGetGitCredentialParams 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 NewUserGetGitCredentialParamsWithContext ¶

func NewUserGetGitCredentialParamsWithContext(ctx context.Context) *UserGetGitCredentialParams

NewUserGetGitCredentialParamsWithContext creates a new UserGetGitCredentialParams object with the ability to set a context for a request.

func NewUserGetGitCredentialParamsWithHTTPClient ¶

func NewUserGetGitCredentialParamsWithHTTPClient(client *http.Client) *UserGetGitCredentialParams

NewUserGetGitCredentialParamsWithHTTPClient creates a new UserGetGitCredentialParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetGitCredentialParamsWithTimeout ¶

func NewUserGetGitCredentialParamsWithTimeout(timeout time.Duration) *UserGetGitCredentialParams

NewUserGetGitCredentialParamsWithTimeout creates a new UserGetGitCredentialParams object with the ability to set a timeout on a request.

func (*UserGetGitCredentialParams) SetContext ¶

func (o *UserGetGitCredentialParams) SetContext(ctx context.Context)

SetContext adds the context to the user get git credential params

func (*UserGetGitCredentialParams) SetCredentialID ¶

func (o *UserGetGitCredentialParams) SetCredentialID(credentialID int64)

SetCredentialID adds the credentialId to the user get git credential params

func (*UserGetGitCredentialParams) SetDefaults ¶

func (o *UserGetGitCredentialParams) SetDefaults()

SetDefaults hydrates default values in the user get git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetGitCredentialParams) SetHTTPClient ¶

func (o *UserGetGitCredentialParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get git credential params

func (*UserGetGitCredentialParams) SetID ¶

func (o *UserGetGitCredentialParams) SetID(id int64)

SetID adds the id to the user get git credential params

func (*UserGetGitCredentialParams) SetTimeout ¶

func (o *UserGetGitCredentialParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get git credential params

func (*UserGetGitCredentialParams) WithContext ¶

WithContext adds the context to the user get git credential params

func (*UserGetGitCredentialParams) WithCredentialID ¶

func (o *UserGetGitCredentialParams) WithCredentialID(credentialID int64) *UserGetGitCredentialParams

WithCredentialID adds the credentialID to the user get git credential params

func (*UserGetGitCredentialParams) WithDefaults ¶

WithDefaults hydrates default values in the user get git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetGitCredentialParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the user get git credential params

func (*UserGetGitCredentialParams) WithID ¶

WithID adds the id to the user get git credential params

func (*UserGetGitCredentialParams) WithTimeout ¶

WithTimeout adds the timeout to the user get git credential params

func (*UserGetGitCredentialParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserGetGitCredentialReader ¶

type UserGetGitCredentialReader struct {
	// contains filtered or unexported fields
}

UserGetGitCredentialReader is a Reader for the UserGetGitCredential structure.

func (*UserGetGitCredentialReader) ReadResponse ¶

func (o *UserGetGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetGitCredentialsBadRequest ¶

type UserGetGitCredentialsBadRequest struct {
}

UserGetGitCredentialsBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserGetGitCredentialsBadRequest ¶

func NewUserGetGitCredentialsBadRequest() *UserGetGitCredentialsBadRequest

NewUserGetGitCredentialsBadRequest creates a UserGetGitCredentialsBadRequest with default headers values

func (*UserGetGitCredentialsBadRequest) Code ¶

Code gets the status code for the user get git credentials bad request response

func (*UserGetGitCredentialsBadRequest) Error ¶

func (*UserGetGitCredentialsBadRequest) IsClientError ¶

func (o *UserGetGitCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this user get git credentials bad request response has a 4xx status code

func (*UserGetGitCredentialsBadRequest) IsCode ¶

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

IsCode returns true when this user get git credentials bad request response a status code equal to that given

func (*UserGetGitCredentialsBadRequest) IsRedirect ¶

func (o *UserGetGitCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this user get git credentials bad request response has a 3xx status code

func (*UserGetGitCredentialsBadRequest) IsServerError ¶

func (o *UserGetGitCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this user get git credentials bad request response has a 5xx status code

func (*UserGetGitCredentialsBadRequest) IsSuccess ¶

func (o *UserGetGitCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this user get git credentials bad request response has a 2xx status code

func (*UserGetGitCredentialsBadRequest) String ¶

type UserGetGitCredentialsForbidden ¶

type UserGetGitCredentialsForbidden struct {
}

UserGetGitCredentialsForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserGetGitCredentialsForbidden ¶

func NewUserGetGitCredentialsForbidden() *UserGetGitCredentialsForbidden

NewUserGetGitCredentialsForbidden creates a UserGetGitCredentialsForbidden with default headers values

func (*UserGetGitCredentialsForbidden) Code ¶

Code gets the status code for the user get git credentials forbidden response

func (*UserGetGitCredentialsForbidden) Error ¶

func (*UserGetGitCredentialsForbidden) IsClientError ¶

func (o *UserGetGitCredentialsForbidden) IsClientError() bool

IsClientError returns true when this user get git credentials forbidden response has a 4xx status code

func (*UserGetGitCredentialsForbidden) IsCode ¶

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

IsCode returns true when this user get git credentials forbidden response a status code equal to that given

func (*UserGetGitCredentialsForbidden) IsRedirect ¶

func (o *UserGetGitCredentialsForbidden) IsRedirect() bool

IsRedirect returns true when this user get git credentials forbidden response has a 3xx status code

func (*UserGetGitCredentialsForbidden) IsServerError ¶

func (o *UserGetGitCredentialsForbidden) IsServerError() bool

IsServerError returns true when this user get git credentials forbidden response has a 5xx status code

func (*UserGetGitCredentialsForbidden) IsSuccess ¶

func (o *UserGetGitCredentialsForbidden) IsSuccess() bool

IsSuccess returns true when this user get git credentials forbidden response has a 2xx status code

func (*UserGetGitCredentialsForbidden) String ¶

type UserGetGitCredentialsInternalServerError ¶

type UserGetGitCredentialsInternalServerError struct {
}

UserGetGitCredentialsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserGetGitCredentialsInternalServerError ¶

func NewUserGetGitCredentialsInternalServerError() *UserGetGitCredentialsInternalServerError

NewUserGetGitCredentialsInternalServerError creates a UserGetGitCredentialsInternalServerError with default headers values

func (*UserGetGitCredentialsInternalServerError) Code ¶

Code gets the status code for the user get git credentials internal server error response

func (*UserGetGitCredentialsInternalServerError) Error ¶

func (*UserGetGitCredentialsInternalServerError) IsClientError ¶

IsClientError returns true when this user get git credentials internal server error response has a 4xx status code

func (*UserGetGitCredentialsInternalServerError) IsCode ¶

IsCode returns true when this user get git credentials internal server error response a status code equal to that given

func (*UserGetGitCredentialsInternalServerError) IsRedirect ¶

IsRedirect returns true when this user get git credentials internal server error response has a 3xx status code

func (*UserGetGitCredentialsInternalServerError) IsServerError ¶

IsServerError returns true when this user get git credentials internal server error response has a 5xx status code

func (*UserGetGitCredentialsInternalServerError) IsSuccess ¶

IsSuccess returns true when this user get git credentials internal server error response has a 2xx status code

func (*UserGetGitCredentialsInternalServerError) String ¶

type UserGetGitCredentialsNotFound ¶

type UserGetGitCredentialsNotFound struct {
}

UserGetGitCredentialsNotFound describes a response with status code 404, with default header values.

User not found

func NewUserGetGitCredentialsNotFound ¶

func NewUserGetGitCredentialsNotFound() *UserGetGitCredentialsNotFound

NewUserGetGitCredentialsNotFound creates a UserGetGitCredentialsNotFound with default headers values

func (*UserGetGitCredentialsNotFound) Code ¶

Code gets the status code for the user get git credentials not found response

func (*UserGetGitCredentialsNotFound) Error ¶

func (*UserGetGitCredentialsNotFound) IsClientError ¶

func (o *UserGetGitCredentialsNotFound) IsClientError() bool

IsClientError returns true when this user get git credentials not found response has a 4xx status code

func (*UserGetGitCredentialsNotFound) IsCode ¶

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

IsCode returns true when this user get git credentials not found response a status code equal to that given

func (*UserGetGitCredentialsNotFound) IsRedirect ¶

func (o *UserGetGitCredentialsNotFound) IsRedirect() bool

IsRedirect returns true when this user get git credentials not found response has a 3xx status code

func (*UserGetGitCredentialsNotFound) IsServerError ¶

func (o *UserGetGitCredentialsNotFound) IsServerError() bool

IsServerError returns true when this user get git credentials not found response has a 5xx status code

func (*UserGetGitCredentialsNotFound) IsSuccess ¶

func (o *UserGetGitCredentialsNotFound) IsSuccess() bool

IsSuccess returns true when this user get git credentials not found response has a 2xx status code

func (*UserGetGitCredentialsNotFound) String ¶

type UserGetGitCredentialsOK ¶

type UserGetGitCredentialsOK struct {
	Payload []*models.PortainereeGitCredential
}

UserGetGitCredentialsOK describes a response with status code 200, with default header values.

Success

func NewUserGetGitCredentialsOK ¶

func NewUserGetGitCredentialsOK() *UserGetGitCredentialsOK

NewUserGetGitCredentialsOK creates a UserGetGitCredentialsOK with default headers values

func (*UserGetGitCredentialsOK) Code ¶

func (o *UserGetGitCredentialsOK) Code() int

Code gets the status code for the user get git credentials o k response

func (*UserGetGitCredentialsOK) Error ¶

func (o *UserGetGitCredentialsOK) Error() string

func (*UserGetGitCredentialsOK) GetPayload ¶

func (*UserGetGitCredentialsOK) IsClientError ¶

func (o *UserGetGitCredentialsOK) IsClientError() bool

IsClientError returns true when this user get git credentials o k response has a 4xx status code

func (*UserGetGitCredentialsOK) IsCode ¶

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

IsCode returns true when this user get git credentials o k response a status code equal to that given

func (*UserGetGitCredentialsOK) IsRedirect ¶

func (o *UserGetGitCredentialsOK) IsRedirect() bool

IsRedirect returns true when this user get git credentials o k response has a 3xx status code

func (*UserGetGitCredentialsOK) IsServerError ¶

func (o *UserGetGitCredentialsOK) IsServerError() bool

IsServerError returns true when this user get git credentials o k response has a 5xx status code

func (*UserGetGitCredentialsOK) IsSuccess ¶

func (o *UserGetGitCredentialsOK) IsSuccess() bool

IsSuccess returns true when this user get git credentials o k response has a 2xx status code

func (*UserGetGitCredentialsOK) String ¶

func (o *UserGetGitCredentialsOK) String() string

type UserGetGitCredentialsParams ¶

type UserGetGitCredentialsParams struct {

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetGitCredentialsParams contains all the parameters to send to the API endpoint

for the user get git credentials operation.

Typically these are written to a http.Request.

func NewUserGetGitCredentialsParams ¶

func NewUserGetGitCredentialsParams() *UserGetGitCredentialsParams

NewUserGetGitCredentialsParams creates a new UserGetGitCredentialsParams 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 NewUserGetGitCredentialsParamsWithContext ¶

func NewUserGetGitCredentialsParamsWithContext(ctx context.Context) *UserGetGitCredentialsParams

NewUserGetGitCredentialsParamsWithContext creates a new UserGetGitCredentialsParams object with the ability to set a context for a request.

func NewUserGetGitCredentialsParamsWithHTTPClient ¶

func NewUserGetGitCredentialsParamsWithHTTPClient(client *http.Client) *UserGetGitCredentialsParams

NewUserGetGitCredentialsParamsWithHTTPClient creates a new UserGetGitCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetGitCredentialsParamsWithTimeout ¶

func NewUserGetGitCredentialsParamsWithTimeout(timeout time.Duration) *UserGetGitCredentialsParams

NewUserGetGitCredentialsParamsWithTimeout creates a new UserGetGitCredentialsParams object with the ability to set a timeout on a request.

func (*UserGetGitCredentialsParams) SetContext ¶

func (o *UserGetGitCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the user get git credentials params

func (*UserGetGitCredentialsParams) SetDefaults ¶

func (o *UserGetGitCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the user get git credentials params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetGitCredentialsParams) SetHTTPClient ¶

func (o *UserGetGitCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get git credentials params

func (*UserGetGitCredentialsParams) SetID ¶

func (o *UserGetGitCredentialsParams) SetID(id int64)

SetID adds the id to the user get git credentials params

func (*UserGetGitCredentialsParams) SetTimeout ¶

func (o *UserGetGitCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get git credentials params

func (*UserGetGitCredentialsParams) WithContext ¶

WithContext adds the context to the user get git credentials params

func (*UserGetGitCredentialsParams) WithDefaults ¶

WithDefaults hydrates default values in the user get git credentials params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetGitCredentialsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the user get git credentials params

func (*UserGetGitCredentialsParams) WithID ¶

WithID adds the id to the user get git credentials params

func (*UserGetGitCredentialsParams) WithTimeout ¶

WithTimeout adds the timeout to the user get git credentials params

func (*UserGetGitCredentialsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserGetGitCredentialsReader ¶

type UserGetGitCredentialsReader struct {
	// contains filtered or unexported fields
}

UserGetGitCredentialsReader is a Reader for the UserGetGitCredentials structure.

func (*UserGetGitCredentialsReader) ReadResponse ¶

func (o *UserGetGitCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserInspectBadRequest ¶

type UserInspectBadRequest struct {
}

UserInspectBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserInspectBadRequest ¶

func NewUserInspectBadRequest() *UserInspectBadRequest

NewUserInspectBadRequest creates a UserInspectBadRequest with default headers values

func (*UserInspectBadRequest) Code ¶

func (o *UserInspectBadRequest) Code() int

Code gets the status code for the user inspect bad request response

func (*UserInspectBadRequest) Error ¶

func (o *UserInspectBadRequest) Error() string

func (*UserInspectBadRequest) IsClientError ¶

func (o *UserInspectBadRequest) IsClientError() bool

IsClientError returns true when this user inspect bad request response has a 4xx status code

func (*UserInspectBadRequest) IsCode ¶

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

IsCode returns true when this user inspect bad request response a status code equal to that given

func (*UserInspectBadRequest) IsRedirect ¶

func (o *UserInspectBadRequest) IsRedirect() bool

IsRedirect returns true when this user inspect bad request response has a 3xx status code

func (*UserInspectBadRequest) IsServerError ¶

func (o *UserInspectBadRequest) IsServerError() bool

IsServerError returns true when this user inspect bad request response has a 5xx status code

func (*UserInspectBadRequest) IsSuccess ¶

func (o *UserInspectBadRequest) IsSuccess() bool

IsSuccess returns true when this user inspect bad request response has a 2xx status code

func (*UserInspectBadRequest) String ¶

func (o *UserInspectBadRequest) String() string

type UserInspectForbidden ¶

type UserInspectForbidden struct {
}

UserInspectForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserInspectForbidden ¶

func NewUserInspectForbidden() *UserInspectForbidden

NewUserInspectForbidden creates a UserInspectForbidden with default headers values

func (*UserInspectForbidden) Code ¶

func (o *UserInspectForbidden) Code() int

Code gets the status code for the user inspect forbidden response

func (*UserInspectForbidden) Error ¶

func (o *UserInspectForbidden) Error() string

func (*UserInspectForbidden) IsClientError ¶

func (o *UserInspectForbidden) IsClientError() bool

IsClientError returns true when this user inspect forbidden response has a 4xx status code

func (*UserInspectForbidden) IsCode ¶

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

IsCode returns true when this user inspect forbidden response a status code equal to that given

func (*UserInspectForbidden) IsRedirect ¶

func (o *UserInspectForbidden) IsRedirect() bool

IsRedirect returns true when this user inspect forbidden response has a 3xx status code

func (*UserInspectForbidden) IsServerError ¶

func (o *UserInspectForbidden) IsServerError() bool

IsServerError returns true when this user inspect forbidden response has a 5xx status code

func (*UserInspectForbidden) IsSuccess ¶

func (o *UserInspectForbidden) IsSuccess() bool

IsSuccess returns true when this user inspect forbidden response has a 2xx status code

func (*UserInspectForbidden) String ¶

func (o *UserInspectForbidden) String() string

type UserInspectInternalServerError ¶

type UserInspectInternalServerError struct {
}

UserInspectInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserInspectInternalServerError ¶

func NewUserInspectInternalServerError() *UserInspectInternalServerError

NewUserInspectInternalServerError creates a UserInspectInternalServerError with default headers values

func (*UserInspectInternalServerError) Code ¶

Code gets the status code for the user inspect internal server error response

func (*UserInspectInternalServerError) Error ¶

func (*UserInspectInternalServerError) IsClientError ¶

func (o *UserInspectInternalServerError) IsClientError() bool

IsClientError returns true when this user inspect internal server error response has a 4xx status code

func (*UserInspectInternalServerError) IsCode ¶

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

IsCode returns true when this user inspect internal server error response a status code equal to that given

func (*UserInspectInternalServerError) IsRedirect ¶

func (o *UserInspectInternalServerError) IsRedirect() bool

IsRedirect returns true when this user inspect internal server error response has a 3xx status code

func (*UserInspectInternalServerError) IsServerError ¶

func (o *UserInspectInternalServerError) IsServerError() bool

IsServerError returns true when this user inspect internal server error response has a 5xx status code

func (*UserInspectInternalServerError) IsSuccess ¶

func (o *UserInspectInternalServerError) IsSuccess() bool

IsSuccess returns true when this user inspect internal server error response has a 2xx status code

func (*UserInspectInternalServerError) String ¶

type UserInspectNotFound ¶

type UserInspectNotFound struct {
}

UserInspectNotFound describes a response with status code 404, with default header values.

User not found

func NewUserInspectNotFound ¶

func NewUserInspectNotFound() *UserInspectNotFound

NewUserInspectNotFound creates a UserInspectNotFound with default headers values

func (*UserInspectNotFound) Code ¶

func (o *UserInspectNotFound) Code() int

Code gets the status code for the user inspect not found response

func (*UserInspectNotFound) Error ¶

func (o *UserInspectNotFound) Error() string

func (*UserInspectNotFound) IsClientError ¶

func (o *UserInspectNotFound) IsClientError() bool

IsClientError returns true when this user inspect not found response has a 4xx status code

func (*UserInspectNotFound) IsCode ¶

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

IsCode returns true when this user inspect not found response a status code equal to that given

func (*UserInspectNotFound) IsRedirect ¶

func (o *UserInspectNotFound) IsRedirect() bool

IsRedirect returns true when this user inspect not found response has a 3xx status code

func (*UserInspectNotFound) IsServerError ¶

func (o *UserInspectNotFound) IsServerError() bool

IsServerError returns true when this user inspect not found response has a 5xx status code

func (*UserInspectNotFound) IsSuccess ¶

func (o *UserInspectNotFound) IsSuccess() bool

IsSuccess returns true when this user inspect not found response has a 2xx status code

func (*UserInspectNotFound) String ¶

func (o *UserInspectNotFound) String() string

type UserInspectOK ¶

type UserInspectOK struct {
	Payload *models.PortainereeUser
}

UserInspectOK describes a response with status code 200, with default header values.

Success

func NewUserInspectOK ¶

func NewUserInspectOK() *UserInspectOK

NewUserInspectOK creates a UserInspectOK with default headers values

func (*UserInspectOK) Code ¶

func (o *UserInspectOK) Code() int

Code gets the status code for the user inspect o k response

func (*UserInspectOK) Error ¶

func (o *UserInspectOK) Error() string

func (*UserInspectOK) GetPayload ¶

func (o *UserInspectOK) GetPayload() *models.PortainereeUser

func (*UserInspectOK) IsClientError ¶

func (o *UserInspectOK) IsClientError() bool

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

func (*UserInspectOK) IsCode ¶

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

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

func (*UserInspectOK) IsRedirect ¶

func (o *UserInspectOK) IsRedirect() bool

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

func (*UserInspectOK) IsServerError ¶

func (o *UserInspectOK) IsServerError() bool

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

func (*UserInspectOK) IsSuccess ¶

func (o *UserInspectOK) IsSuccess() bool

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

func (*UserInspectOK) String ¶

func (o *UserInspectOK) String() string

type UserInspectParams ¶

type UserInspectParams struct {

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserInspectParams contains all the parameters to send to the API endpoint

for the user inspect operation.

Typically these are written to a http.Request.

func NewUserInspectParams ¶

func NewUserInspectParams() *UserInspectParams

NewUserInspectParams creates a new UserInspectParams 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 NewUserInspectParamsWithContext ¶

func NewUserInspectParamsWithContext(ctx context.Context) *UserInspectParams

NewUserInspectParamsWithContext creates a new UserInspectParams object with the ability to set a context for a request.

func NewUserInspectParamsWithHTTPClient ¶

func NewUserInspectParamsWithHTTPClient(client *http.Client) *UserInspectParams

NewUserInspectParamsWithHTTPClient creates a new UserInspectParams object with the ability to set a custom HTTPClient for a request.

func NewUserInspectParamsWithTimeout ¶

func NewUserInspectParamsWithTimeout(timeout time.Duration) *UserInspectParams

NewUserInspectParamsWithTimeout creates a new UserInspectParams object with the ability to set a timeout on a request.

func (*UserInspectParams) SetContext ¶

func (o *UserInspectParams) SetContext(ctx context.Context)

SetContext adds the context to the user inspect params

func (*UserInspectParams) SetDefaults ¶

func (o *UserInspectParams) SetDefaults()

SetDefaults hydrates default values in the user inspect params (not the query body).

All values with no default are reset to their zero value.

func (*UserInspectParams) SetHTTPClient ¶

func (o *UserInspectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user inspect params

func (*UserInspectParams) SetID ¶

func (o *UserInspectParams) SetID(id int64)

SetID adds the id to the user inspect params

func (*UserInspectParams) SetTimeout ¶

func (o *UserInspectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user inspect params

func (*UserInspectParams) WithContext ¶

func (o *UserInspectParams) WithContext(ctx context.Context) *UserInspectParams

WithContext adds the context to the user inspect params

func (*UserInspectParams) WithDefaults ¶

func (o *UserInspectParams) WithDefaults() *UserInspectParams

WithDefaults hydrates default values in the user inspect params (not the query body).

All values with no default are reset to their zero value.

func (*UserInspectParams) WithHTTPClient ¶

func (o *UserInspectParams) WithHTTPClient(client *http.Client) *UserInspectParams

WithHTTPClient adds the HTTPClient to the user inspect params

func (*UserInspectParams) WithID ¶

func (o *UserInspectParams) WithID(id int64) *UserInspectParams

WithID adds the id to the user inspect params

func (*UserInspectParams) WithTimeout ¶

func (o *UserInspectParams) WithTimeout(timeout time.Duration) *UserInspectParams

WithTimeout adds the timeout to the user inspect params

func (*UserInspectParams) WriteToRequest ¶

func (o *UserInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserInspectReader ¶

type UserInspectReader struct {
	// contains filtered or unexported fields
}

UserInspectReader is a Reader for the UserInspect structure.

func (*UserInspectReader) ReadResponse ¶

func (o *UserInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListBadRequest ¶

type UserListBadRequest struct {
}

UserListBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserListBadRequest ¶

func NewUserListBadRequest() *UserListBadRequest

NewUserListBadRequest creates a UserListBadRequest with default headers values

func (*UserListBadRequest) Code ¶

func (o *UserListBadRequest) Code() int

Code gets the status code for the user list bad request response

func (*UserListBadRequest) Error ¶

func (o *UserListBadRequest) Error() string

func (*UserListBadRequest) IsClientError ¶

func (o *UserListBadRequest) IsClientError() bool

IsClientError returns true when this user list bad request response has a 4xx status code

func (*UserListBadRequest) IsCode ¶

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

IsCode returns true when this user list bad request response a status code equal to that given

func (*UserListBadRequest) IsRedirect ¶

func (o *UserListBadRequest) IsRedirect() bool

IsRedirect returns true when this user list bad request response has a 3xx status code

func (*UserListBadRequest) IsServerError ¶

func (o *UserListBadRequest) IsServerError() bool

IsServerError returns true when this user list bad request response has a 5xx status code

func (*UserListBadRequest) IsSuccess ¶

func (o *UserListBadRequest) IsSuccess() bool

IsSuccess returns true when this user list bad request response has a 2xx status code

func (*UserListBadRequest) String ¶

func (o *UserListBadRequest) String() string

type UserListInternalServerError ¶

type UserListInternalServerError struct {
}

UserListInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserListInternalServerError ¶

func NewUserListInternalServerError() *UserListInternalServerError

NewUserListInternalServerError creates a UserListInternalServerError with default headers values

func (*UserListInternalServerError) Code ¶

func (o *UserListInternalServerError) Code() int

Code gets the status code for the user list internal server error response

func (*UserListInternalServerError) Error ¶

func (*UserListInternalServerError) IsClientError ¶

func (o *UserListInternalServerError) IsClientError() bool

IsClientError returns true when this user list internal server error response has a 4xx status code

func (*UserListInternalServerError) IsCode ¶

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

IsCode returns true when this user list internal server error response a status code equal to that given

func (*UserListInternalServerError) IsRedirect ¶

func (o *UserListInternalServerError) IsRedirect() bool

IsRedirect returns true when this user list internal server error response has a 3xx status code

func (*UserListInternalServerError) IsServerError ¶

func (o *UserListInternalServerError) IsServerError() bool

IsServerError returns true when this user list internal server error response has a 5xx status code

func (*UserListInternalServerError) IsSuccess ¶

func (o *UserListInternalServerError) IsSuccess() bool

IsSuccess returns true when this user list internal server error response has a 2xx status code

func (*UserListInternalServerError) String ¶

func (o *UserListInternalServerError) String() string

type UserListOK ¶

type UserListOK struct {
	Payload []*models.PortainereeUser
}

UserListOK describes a response with status code 200, with default header values.

Success

func NewUserListOK ¶

func NewUserListOK() *UserListOK

NewUserListOK creates a UserListOK with default headers values

func (*UserListOK) Code ¶

func (o *UserListOK) Code() int

Code gets the status code for the user list o k response

func (*UserListOK) Error ¶

func (o *UserListOK) Error() string

func (*UserListOK) GetPayload ¶

func (o *UserListOK) GetPayload() []*models.PortainereeUser

func (*UserListOK) IsClientError ¶

func (o *UserListOK) IsClientError() bool

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

func (*UserListOK) IsCode ¶

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

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

func (*UserListOK) IsRedirect ¶

func (o *UserListOK) IsRedirect() bool

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

func (*UserListOK) IsServerError ¶

func (o *UserListOK) IsServerError() bool

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

func (*UserListOK) IsSuccess ¶

func (o *UserListOK) IsSuccess() bool

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

func (*UserListOK) String ¶

func (o *UserListOK) String() string

type UserListParams ¶

type UserListParams struct {

	/* EnvironmentID.

	   Identifier of the environment(endpoint) that will be used to filter the authorized users
	*/
	EnvironmentID *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListParams contains all the parameters to send to the API endpoint

for the user list operation.

Typically these are written to a http.Request.

func NewUserListParams ¶

func NewUserListParams() *UserListParams

NewUserListParams creates a new UserListParams 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 NewUserListParamsWithContext ¶

func NewUserListParamsWithContext(ctx context.Context) *UserListParams

NewUserListParamsWithContext creates a new UserListParams object with the ability to set a context for a request.

func NewUserListParamsWithHTTPClient ¶

func NewUserListParamsWithHTTPClient(client *http.Client) *UserListParams

NewUserListParamsWithHTTPClient creates a new UserListParams object with the ability to set a custom HTTPClient for a request.

func NewUserListParamsWithTimeout ¶

func NewUserListParamsWithTimeout(timeout time.Duration) *UserListParams

NewUserListParamsWithTimeout creates a new UserListParams object with the ability to set a timeout on a request.

func (*UserListParams) SetContext ¶

func (o *UserListParams) SetContext(ctx context.Context)

SetContext adds the context to the user list params

func (*UserListParams) SetDefaults ¶

func (o *UserListParams) SetDefaults()

SetDefaults hydrates default values in the user list params (not the query body).

All values with no default are reset to their zero value.

func (*UserListParams) SetEnvironmentID ¶

func (o *UserListParams) SetEnvironmentID(environmentID *int64)

SetEnvironmentID adds the environmentId to the user list params

func (*UserListParams) SetHTTPClient ¶

func (o *UserListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list params

func (*UserListParams) SetTimeout ¶

func (o *UserListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list params

func (*UserListParams) WithContext ¶

func (o *UserListParams) WithContext(ctx context.Context) *UserListParams

WithContext adds the context to the user list params

func (*UserListParams) WithDefaults ¶

func (o *UserListParams) WithDefaults() *UserListParams

WithDefaults hydrates default values in the user list params (not the query body).

All values with no default are reset to their zero value.

func (*UserListParams) WithEnvironmentID ¶

func (o *UserListParams) WithEnvironmentID(environmentID *int64) *UserListParams

WithEnvironmentID adds the environmentID to the user list params

func (*UserListParams) WithHTTPClient ¶

func (o *UserListParams) WithHTTPClient(client *http.Client) *UserListParams

WithHTTPClient adds the HTTPClient to the user list params

func (*UserListParams) WithTimeout ¶

func (o *UserListParams) WithTimeout(timeout time.Duration) *UserListParams

WithTimeout adds the timeout to the user list params

func (*UserListParams) WriteToRequest ¶

func (o *UserListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListReader ¶

type UserListReader struct {
	// contains filtered or unexported fields
}

UserListReader is a Reader for the UserList structure.

func (*UserListReader) ReadResponse ¶

func (o *UserListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserMembershipsInspectBadRequest ¶

type UserMembershipsInspectBadRequest struct {
}

UserMembershipsInspectBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserMembershipsInspectBadRequest ¶

func NewUserMembershipsInspectBadRequest() *UserMembershipsInspectBadRequest

NewUserMembershipsInspectBadRequest creates a UserMembershipsInspectBadRequest with default headers values

func (*UserMembershipsInspectBadRequest) Code ¶

Code gets the status code for the user memberships inspect bad request response

func (*UserMembershipsInspectBadRequest) Error ¶

func (*UserMembershipsInspectBadRequest) IsClientError ¶

func (o *UserMembershipsInspectBadRequest) IsClientError() bool

IsClientError returns true when this user memberships inspect bad request response has a 4xx status code

func (*UserMembershipsInspectBadRequest) IsCode ¶

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

IsCode returns true when this user memberships inspect bad request response a status code equal to that given

func (*UserMembershipsInspectBadRequest) IsRedirect ¶

func (o *UserMembershipsInspectBadRequest) IsRedirect() bool

IsRedirect returns true when this user memberships inspect bad request response has a 3xx status code

func (*UserMembershipsInspectBadRequest) IsServerError ¶

func (o *UserMembershipsInspectBadRequest) IsServerError() bool

IsServerError returns true when this user memberships inspect bad request response has a 5xx status code

func (*UserMembershipsInspectBadRequest) IsSuccess ¶

func (o *UserMembershipsInspectBadRequest) IsSuccess() bool

IsSuccess returns true when this user memberships inspect bad request response has a 2xx status code

func (*UserMembershipsInspectBadRequest) String ¶

type UserMembershipsInspectForbidden ¶

type UserMembershipsInspectForbidden struct {
}

UserMembershipsInspectForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserMembershipsInspectForbidden ¶

func NewUserMembershipsInspectForbidden() *UserMembershipsInspectForbidden

NewUserMembershipsInspectForbidden creates a UserMembershipsInspectForbidden with default headers values

func (*UserMembershipsInspectForbidden) Code ¶

Code gets the status code for the user memberships inspect forbidden response

func (*UserMembershipsInspectForbidden) Error ¶

func (*UserMembershipsInspectForbidden) IsClientError ¶

func (o *UserMembershipsInspectForbidden) IsClientError() bool

IsClientError returns true when this user memberships inspect forbidden response has a 4xx status code

func (*UserMembershipsInspectForbidden) IsCode ¶

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

IsCode returns true when this user memberships inspect forbidden response a status code equal to that given

func (*UserMembershipsInspectForbidden) IsRedirect ¶

func (o *UserMembershipsInspectForbidden) IsRedirect() bool

IsRedirect returns true when this user memberships inspect forbidden response has a 3xx status code

func (*UserMembershipsInspectForbidden) IsServerError ¶

func (o *UserMembershipsInspectForbidden) IsServerError() bool

IsServerError returns true when this user memberships inspect forbidden response has a 5xx status code

func (*UserMembershipsInspectForbidden) IsSuccess ¶

func (o *UserMembershipsInspectForbidden) IsSuccess() bool

IsSuccess returns true when this user memberships inspect forbidden response has a 2xx status code

func (*UserMembershipsInspectForbidden) String ¶

type UserMembershipsInspectInternalServerError ¶

type UserMembershipsInspectInternalServerError struct {
}

UserMembershipsInspectInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserMembershipsInspectInternalServerError ¶

func NewUserMembershipsInspectInternalServerError() *UserMembershipsInspectInternalServerError

NewUserMembershipsInspectInternalServerError creates a UserMembershipsInspectInternalServerError with default headers values

func (*UserMembershipsInspectInternalServerError) Code ¶

Code gets the status code for the user memberships inspect internal server error response

func (*UserMembershipsInspectInternalServerError) Error ¶

func (*UserMembershipsInspectInternalServerError) IsClientError ¶

IsClientError returns true when this user memberships inspect internal server error response has a 4xx status code

func (*UserMembershipsInspectInternalServerError) IsCode ¶

IsCode returns true when this user memberships inspect internal server error response a status code equal to that given

func (*UserMembershipsInspectInternalServerError) IsRedirect ¶

IsRedirect returns true when this user memberships inspect internal server error response has a 3xx status code

func (*UserMembershipsInspectInternalServerError) IsServerError ¶

IsServerError returns true when this user memberships inspect internal server error response has a 5xx status code

func (*UserMembershipsInspectInternalServerError) IsSuccess ¶

IsSuccess returns true when this user memberships inspect internal server error response has a 2xx status code

func (*UserMembershipsInspectInternalServerError) String ¶

type UserMembershipsInspectOK ¶

type UserMembershipsInspectOK struct {
	Payload *models.PortainerTeamMembership
}

UserMembershipsInspectOK describes a response with status code 200, with default header values.

Success

func NewUserMembershipsInspectOK ¶

func NewUserMembershipsInspectOK() *UserMembershipsInspectOK

NewUserMembershipsInspectOK creates a UserMembershipsInspectOK with default headers values

func (*UserMembershipsInspectOK) Code ¶

func (o *UserMembershipsInspectOK) Code() int

Code gets the status code for the user memberships inspect o k response

func (*UserMembershipsInspectOK) Error ¶

func (o *UserMembershipsInspectOK) Error() string

func (*UserMembershipsInspectOK) GetPayload ¶

func (*UserMembershipsInspectOK) IsClientError ¶

func (o *UserMembershipsInspectOK) IsClientError() bool

IsClientError returns true when this user memberships inspect o k response has a 4xx status code

func (*UserMembershipsInspectOK) IsCode ¶

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

IsCode returns true when this user memberships inspect o k response a status code equal to that given

func (*UserMembershipsInspectOK) IsRedirect ¶

func (o *UserMembershipsInspectOK) IsRedirect() bool

IsRedirect returns true when this user memberships inspect o k response has a 3xx status code

func (*UserMembershipsInspectOK) IsServerError ¶

func (o *UserMembershipsInspectOK) IsServerError() bool

IsServerError returns true when this user memberships inspect o k response has a 5xx status code

func (*UserMembershipsInspectOK) IsSuccess ¶

func (o *UserMembershipsInspectOK) IsSuccess() bool

IsSuccess returns true when this user memberships inspect o k response has a 2xx status code

func (*UserMembershipsInspectOK) String ¶

func (o *UserMembershipsInspectOK) String() string

type UserMembershipsInspectParams ¶

type UserMembershipsInspectParams struct {

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserMembershipsInspectParams contains all the parameters to send to the API endpoint

for the user memberships inspect operation.

Typically these are written to a http.Request.

func NewUserMembershipsInspectParams ¶

func NewUserMembershipsInspectParams() *UserMembershipsInspectParams

NewUserMembershipsInspectParams creates a new UserMembershipsInspectParams 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 NewUserMembershipsInspectParamsWithContext ¶

func NewUserMembershipsInspectParamsWithContext(ctx context.Context) *UserMembershipsInspectParams

NewUserMembershipsInspectParamsWithContext creates a new UserMembershipsInspectParams object with the ability to set a context for a request.

func NewUserMembershipsInspectParamsWithHTTPClient ¶

func NewUserMembershipsInspectParamsWithHTTPClient(client *http.Client) *UserMembershipsInspectParams

NewUserMembershipsInspectParamsWithHTTPClient creates a new UserMembershipsInspectParams object with the ability to set a custom HTTPClient for a request.

func NewUserMembershipsInspectParamsWithTimeout ¶

func NewUserMembershipsInspectParamsWithTimeout(timeout time.Duration) *UserMembershipsInspectParams

NewUserMembershipsInspectParamsWithTimeout creates a new UserMembershipsInspectParams object with the ability to set a timeout on a request.

func (*UserMembershipsInspectParams) SetContext ¶

func (o *UserMembershipsInspectParams) SetContext(ctx context.Context)

SetContext adds the context to the user memberships inspect params

func (*UserMembershipsInspectParams) SetDefaults ¶

func (o *UserMembershipsInspectParams) SetDefaults()

SetDefaults hydrates default values in the user memberships inspect params (not the query body).

All values with no default are reset to their zero value.

func (*UserMembershipsInspectParams) SetHTTPClient ¶

func (o *UserMembershipsInspectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user memberships inspect params

func (*UserMembershipsInspectParams) SetID ¶

func (o *UserMembershipsInspectParams) SetID(id int64)

SetID adds the id to the user memberships inspect params

func (*UserMembershipsInspectParams) SetTimeout ¶

func (o *UserMembershipsInspectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user memberships inspect params

func (*UserMembershipsInspectParams) WithContext ¶

WithContext adds the context to the user memberships inspect params

func (*UserMembershipsInspectParams) WithDefaults ¶

WithDefaults hydrates default values in the user memberships inspect params (not the query body).

All values with no default are reset to their zero value.

func (*UserMembershipsInspectParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the user memberships inspect params

func (*UserMembershipsInspectParams) WithID ¶

WithID adds the id to the user memberships inspect params

func (*UserMembershipsInspectParams) WithTimeout ¶

WithTimeout adds the timeout to the user memberships inspect params

func (*UserMembershipsInspectParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserMembershipsInspectReader ¶

type UserMembershipsInspectReader struct {
	// contains filtered or unexported fields
}

UserMembershipsInspectReader is a Reader for the UserMembershipsInspect structure.

func (*UserMembershipsInspectReader) ReadResponse ¶

func (o *UserMembershipsInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserNamespacesBadRequest ¶

type UserNamespacesBadRequest struct {
}

UserNamespacesBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserNamespacesBadRequest ¶

func NewUserNamespacesBadRequest() *UserNamespacesBadRequest

NewUserNamespacesBadRequest creates a UserNamespacesBadRequest with default headers values

func (*UserNamespacesBadRequest) Code ¶

func (o *UserNamespacesBadRequest) Code() int

Code gets the status code for the user namespaces bad request response

func (*UserNamespacesBadRequest) Error ¶

func (o *UserNamespacesBadRequest) Error() string

func (*UserNamespacesBadRequest) IsClientError ¶

func (o *UserNamespacesBadRequest) IsClientError() bool

IsClientError returns true when this user namespaces bad request response has a 4xx status code

func (*UserNamespacesBadRequest) IsCode ¶

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

IsCode returns true when this user namespaces bad request response a status code equal to that given

func (*UserNamespacesBadRequest) IsRedirect ¶

func (o *UserNamespacesBadRequest) IsRedirect() bool

IsRedirect returns true when this user namespaces bad request response has a 3xx status code

func (*UserNamespacesBadRequest) IsServerError ¶

func (o *UserNamespacesBadRequest) IsServerError() bool

IsServerError returns true when this user namespaces bad request response has a 5xx status code

func (*UserNamespacesBadRequest) IsSuccess ¶

func (o *UserNamespacesBadRequest) IsSuccess() bool

IsSuccess returns true when this user namespaces bad request response has a 2xx status code

func (*UserNamespacesBadRequest) String ¶

func (o *UserNamespacesBadRequest) String() string

type UserNamespacesForbidden ¶

type UserNamespacesForbidden struct {
}

UserNamespacesForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserNamespacesForbidden ¶

func NewUserNamespacesForbidden() *UserNamespacesForbidden

NewUserNamespacesForbidden creates a UserNamespacesForbidden with default headers values

func (*UserNamespacesForbidden) Code ¶

func (o *UserNamespacesForbidden) Code() int

Code gets the status code for the user namespaces forbidden response

func (*UserNamespacesForbidden) Error ¶

func (o *UserNamespacesForbidden) Error() string

func (*UserNamespacesForbidden) IsClientError ¶

func (o *UserNamespacesForbidden) IsClientError() bool

IsClientError returns true when this user namespaces forbidden response has a 4xx status code

func (*UserNamespacesForbidden) IsCode ¶

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

IsCode returns true when this user namespaces forbidden response a status code equal to that given

func (*UserNamespacesForbidden) IsRedirect ¶

func (o *UserNamespacesForbidden) IsRedirect() bool

IsRedirect returns true when this user namespaces forbidden response has a 3xx status code

func (*UserNamespacesForbidden) IsServerError ¶

func (o *UserNamespacesForbidden) IsServerError() bool

IsServerError returns true when this user namespaces forbidden response has a 5xx status code

func (*UserNamespacesForbidden) IsSuccess ¶

func (o *UserNamespacesForbidden) IsSuccess() bool

IsSuccess returns true when this user namespaces forbidden response has a 2xx status code

func (*UserNamespacesForbidden) String ¶

func (o *UserNamespacesForbidden) String() string

type UserNamespacesInternalServerError ¶

type UserNamespacesInternalServerError struct {
}

UserNamespacesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserNamespacesInternalServerError ¶

func NewUserNamespacesInternalServerError() *UserNamespacesInternalServerError

NewUserNamespacesInternalServerError creates a UserNamespacesInternalServerError with default headers values

func (*UserNamespacesInternalServerError) Code ¶

Code gets the status code for the user namespaces internal server error response

func (*UserNamespacesInternalServerError) Error ¶

func (*UserNamespacesInternalServerError) IsClientError ¶

func (o *UserNamespacesInternalServerError) IsClientError() bool

IsClientError returns true when this user namespaces internal server error response has a 4xx status code

func (*UserNamespacesInternalServerError) IsCode ¶

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

IsCode returns true when this user namespaces internal server error response a status code equal to that given

func (*UserNamespacesInternalServerError) IsRedirect ¶

func (o *UserNamespacesInternalServerError) IsRedirect() bool

IsRedirect returns true when this user namespaces internal server error response has a 3xx status code

func (*UserNamespacesInternalServerError) IsServerError ¶

func (o *UserNamespacesInternalServerError) IsServerError() bool

IsServerError returns true when this user namespaces internal server error response has a 5xx status code

func (*UserNamespacesInternalServerError) IsSuccess ¶

func (o *UserNamespacesInternalServerError) IsSuccess() bool

IsSuccess returns true when this user namespaces internal server error response has a 2xx status code

func (*UserNamespacesInternalServerError) String ¶

type UserNamespacesNotFound ¶

type UserNamespacesNotFound struct {
}

UserNamespacesNotFound describes a response with status code 404, with default header values.

User not found

func NewUserNamespacesNotFound ¶

func NewUserNamespacesNotFound() *UserNamespacesNotFound

NewUserNamespacesNotFound creates a UserNamespacesNotFound with default headers values

func (*UserNamespacesNotFound) Code ¶

func (o *UserNamespacesNotFound) Code() int

Code gets the status code for the user namespaces not found response

func (*UserNamespacesNotFound) Error ¶

func (o *UserNamespacesNotFound) Error() string

func (*UserNamespacesNotFound) IsClientError ¶

func (o *UserNamespacesNotFound) IsClientError() bool

IsClientError returns true when this user namespaces not found response has a 4xx status code

func (*UserNamespacesNotFound) IsCode ¶

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

IsCode returns true when this user namespaces not found response a status code equal to that given

func (*UserNamespacesNotFound) IsRedirect ¶

func (o *UserNamespacesNotFound) IsRedirect() bool

IsRedirect returns true when this user namespaces not found response has a 3xx status code

func (*UserNamespacesNotFound) IsServerError ¶

func (o *UserNamespacesNotFound) IsServerError() bool

IsServerError returns true when this user namespaces not found response has a 5xx status code

func (*UserNamespacesNotFound) IsSuccess ¶

func (o *UserNamespacesNotFound) IsSuccess() bool

IsSuccess returns true when this user namespaces not found response has a 2xx status code

func (*UserNamespacesNotFound) String ¶

func (o *UserNamespacesNotFound) String() string

type UserNamespacesOK ¶

type UserNamespacesOK struct {
	Payload models.UsersNamespaceMapping
}

UserNamespacesOK describes a response with status code 200, with default header values.

Success

func NewUserNamespacesOK ¶

func NewUserNamespacesOK() *UserNamespacesOK

NewUserNamespacesOK creates a UserNamespacesOK with default headers values

func (*UserNamespacesOK) Code ¶

func (o *UserNamespacesOK) Code() int

Code gets the status code for the user namespaces o k response

func (*UserNamespacesOK) Error ¶

func (o *UserNamespacesOK) Error() string

func (*UserNamespacesOK) GetPayload ¶

func (*UserNamespacesOK) IsClientError ¶

func (o *UserNamespacesOK) IsClientError() bool

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

func (*UserNamespacesOK) IsCode ¶

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

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

func (*UserNamespacesOK) IsRedirect ¶

func (o *UserNamespacesOK) IsRedirect() bool

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

func (*UserNamespacesOK) IsServerError ¶

func (o *UserNamespacesOK) IsServerError() bool

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

func (*UserNamespacesOK) IsSuccess ¶

func (o *UserNamespacesOK) IsSuccess() bool

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

func (*UserNamespacesOK) String ¶

func (o *UserNamespacesOK) String() string

type UserNamespacesParams ¶

type UserNamespacesParams struct {

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserNamespacesParams contains all the parameters to send to the API endpoint

for the user namespaces operation.

Typically these are written to a http.Request.

func NewUserNamespacesParams ¶

func NewUserNamespacesParams() *UserNamespacesParams

NewUserNamespacesParams creates a new UserNamespacesParams 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 NewUserNamespacesParamsWithContext ¶

func NewUserNamespacesParamsWithContext(ctx context.Context) *UserNamespacesParams

NewUserNamespacesParamsWithContext creates a new UserNamespacesParams object with the ability to set a context for a request.

func NewUserNamespacesParamsWithHTTPClient ¶

func NewUserNamespacesParamsWithHTTPClient(client *http.Client) *UserNamespacesParams

NewUserNamespacesParamsWithHTTPClient creates a new UserNamespacesParams object with the ability to set a custom HTTPClient for a request.

func NewUserNamespacesParamsWithTimeout ¶

func NewUserNamespacesParamsWithTimeout(timeout time.Duration) *UserNamespacesParams

NewUserNamespacesParamsWithTimeout creates a new UserNamespacesParams object with the ability to set a timeout on a request.

func (*UserNamespacesParams) SetContext ¶

func (o *UserNamespacesParams) SetContext(ctx context.Context)

SetContext adds the context to the user namespaces params

func (*UserNamespacesParams) SetDefaults ¶

func (o *UserNamespacesParams) SetDefaults()

SetDefaults hydrates default values in the user namespaces params (not the query body).

All values with no default are reset to their zero value.

func (*UserNamespacesParams) SetHTTPClient ¶

func (o *UserNamespacesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user namespaces params

func (*UserNamespacesParams) SetID ¶

func (o *UserNamespacesParams) SetID(id int64)

SetID adds the id to the user namespaces params

func (*UserNamespacesParams) SetTimeout ¶

func (o *UserNamespacesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user namespaces params

func (*UserNamespacesParams) WithContext ¶

WithContext adds the context to the user namespaces params

func (*UserNamespacesParams) WithDefaults ¶

func (o *UserNamespacesParams) WithDefaults() *UserNamespacesParams

WithDefaults hydrates default values in the user namespaces params (not the query body).

All values with no default are reset to their zero value.

func (*UserNamespacesParams) WithHTTPClient ¶

func (o *UserNamespacesParams) WithHTTPClient(client *http.Client) *UserNamespacesParams

WithHTTPClient adds the HTTPClient to the user namespaces params

func (*UserNamespacesParams) WithID ¶

WithID adds the id to the user namespaces params

func (*UserNamespacesParams) WithTimeout ¶

func (o *UserNamespacesParams) WithTimeout(timeout time.Duration) *UserNamespacesParams

WithTimeout adds the timeout to the user namespaces params

func (*UserNamespacesParams) WriteToRequest ¶

func (o *UserNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserNamespacesReader ¶

type UserNamespacesReader struct {
	// contains filtered or unexported fields
}

UserNamespacesReader is a Reader for the UserNamespaces structure.

func (*UserNamespacesReader) ReadResponse ¶

func (o *UserNamespacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserRemoveAPIKeyBadRequest ¶

type UserRemoveAPIKeyBadRequest struct {
}

UserRemoveAPIKeyBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserRemoveAPIKeyBadRequest ¶

func NewUserRemoveAPIKeyBadRequest() *UserRemoveAPIKeyBadRequest

NewUserRemoveAPIKeyBadRequest creates a UserRemoveAPIKeyBadRequest with default headers values

func (*UserRemoveAPIKeyBadRequest) Code ¶

func (o *UserRemoveAPIKeyBadRequest) Code() int

Code gets the status code for the user remove Api key bad request response

func (*UserRemoveAPIKeyBadRequest) Error ¶

func (*UserRemoveAPIKeyBadRequest) IsClientError ¶

func (o *UserRemoveAPIKeyBadRequest) IsClientError() bool

IsClientError returns true when this user remove Api key bad request response has a 4xx status code

func (*UserRemoveAPIKeyBadRequest) IsCode ¶

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

IsCode returns true when this user remove Api key bad request response a status code equal to that given

func (*UserRemoveAPIKeyBadRequest) IsRedirect ¶

func (o *UserRemoveAPIKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this user remove Api key bad request response has a 3xx status code

func (*UserRemoveAPIKeyBadRequest) IsServerError ¶

func (o *UserRemoveAPIKeyBadRequest) IsServerError() bool

IsServerError returns true when this user remove Api key bad request response has a 5xx status code

func (*UserRemoveAPIKeyBadRequest) IsSuccess ¶

func (o *UserRemoveAPIKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this user remove Api key bad request response has a 2xx status code

func (*UserRemoveAPIKeyBadRequest) String ¶

func (o *UserRemoveAPIKeyBadRequest) String() string

type UserRemoveAPIKeyForbidden ¶

type UserRemoveAPIKeyForbidden struct {
}

UserRemoveAPIKeyForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserRemoveAPIKeyForbidden ¶

func NewUserRemoveAPIKeyForbidden() *UserRemoveAPIKeyForbidden

NewUserRemoveAPIKeyForbidden creates a UserRemoveAPIKeyForbidden with default headers values

func (*UserRemoveAPIKeyForbidden) Code ¶

func (o *UserRemoveAPIKeyForbidden) Code() int

Code gets the status code for the user remove Api key forbidden response

func (*UserRemoveAPIKeyForbidden) Error ¶

func (o *UserRemoveAPIKeyForbidden) Error() string

func (*UserRemoveAPIKeyForbidden) IsClientError ¶

func (o *UserRemoveAPIKeyForbidden) IsClientError() bool

IsClientError returns true when this user remove Api key forbidden response has a 4xx status code

func (*UserRemoveAPIKeyForbidden) IsCode ¶

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

IsCode returns true when this user remove Api key forbidden response a status code equal to that given

func (*UserRemoveAPIKeyForbidden) IsRedirect ¶

func (o *UserRemoveAPIKeyForbidden) IsRedirect() bool

IsRedirect returns true when this user remove Api key forbidden response has a 3xx status code

func (*UserRemoveAPIKeyForbidden) IsServerError ¶

func (o *UserRemoveAPIKeyForbidden) IsServerError() bool

IsServerError returns true when this user remove Api key forbidden response has a 5xx status code

func (*UserRemoveAPIKeyForbidden) IsSuccess ¶

func (o *UserRemoveAPIKeyForbidden) IsSuccess() bool

IsSuccess returns true when this user remove Api key forbidden response has a 2xx status code

func (*UserRemoveAPIKeyForbidden) String ¶

func (o *UserRemoveAPIKeyForbidden) String() string

type UserRemoveAPIKeyInternalServerError ¶

type UserRemoveAPIKeyInternalServerError struct {
}

UserRemoveAPIKeyInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserRemoveAPIKeyInternalServerError ¶

func NewUserRemoveAPIKeyInternalServerError() *UserRemoveAPIKeyInternalServerError

NewUserRemoveAPIKeyInternalServerError creates a UserRemoveAPIKeyInternalServerError with default headers values

func (*UserRemoveAPIKeyInternalServerError) Code ¶

Code gets the status code for the user remove Api key internal server error response

func (*UserRemoveAPIKeyInternalServerError) Error ¶

func (*UserRemoveAPIKeyInternalServerError) IsClientError ¶

func (o *UserRemoveAPIKeyInternalServerError) IsClientError() bool

IsClientError returns true when this user remove Api key internal server error response has a 4xx status code

func (*UserRemoveAPIKeyInternalServerError) IsCode ¶

IsCode returns true when this user remove Api key internal server error response a status code equal to that given

func (*UserRemoveAPIKeyInternalServerError) IsRedirect ¶

func (o *UserRemoveAPIKeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this user remove Api key internal server error response has a 3xx status code

func (*UserRemoveAPIKeyInternalServerError) IsServerError ¶

func (o *UserRemoveAPIKeyInternalServerError) IsServerError() bool

IsServerError returns true when this user remove Api key internal server error response has a 5xx status code

func (*UserRemoveAPIKeyInternalServerError) IsSuccess ¶

IsSuccess returns true when this user remove Api key internal server error response has a 2xx status code

func (*UserRemoveAPIKeyInternalServerError) String ¶

type UserRemoveAPIKeyNoContent ¶

type UserRemoveAPIKeyNoContent struct {
}

UserRemoveAPIKeyNoContent describes a response with status code 204, with default header values.

Success

func NewUserRemoveAPIKeyNoContent ¶

func NewUserRemoveAPIKeyNoContent() *UserRemoveAPIKeyNoContent

NewUserRemoveAPIKeyNoContent creates a UserRemoveAPIKeyNoContent with default headers values

func (*UserRemoveAPIKeyNoContent) Code ¶

func (o *UserRemoveAPIKeyNoContent) Code() int

Code gets the status code for the user remove Api key no content response

func (*UserRemoveAPIKeyNoContent) Error ¶

func (o *UserRemoveAPIKeyNoContent) Error() string

func (*UserRemoveAPIKeyNoContent) IsClientError ¶

func (o *UserRemoveAPIKeyNoContent) IsClientError() bool

IsClientError returns true when this user remove Api key no content response has a 4xx status code

func (*UserRemoveAPIKeyNoContent) IsCode ¶

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

IsCode returns true when this user remove Api key no content response a status code equal to that given

func (*UserRemoveAPIKeyNoContent) IsRedirect ¶

func (o *UserRemoveAPIKeyNoContent) IsRedirect() bool

IsRedirect returns true when this user remove Api key no content response has a 3xx status code

func (*UserRemoveAPIKeyNoContent) IsServerError ¶

func (o *UserRemoveAPIKeyNoContent) IsServerError() bool

IsServerError returns true when this user remove Api key no content response has a 5xx status code

func (*UserRemoveAPIKeyNoContent) IsSuccess ¶

func (o *UserRemoveAPIKeyNoContent) IsSuccess() bool

IsSuccess returns true when this user remove Api key no content response has a 2xx status code

func (*UserRemoveAPIKeyNoContent) String ¶

func (o *UserRemoveAPIKeyNoContent) String() string

type UserRemoveAPIKeyNotFound ¶

type UserRemoveAPIKeyNotFound struct {
}

UserRemoveAPIKeyNotFound describes a response with status code 404, with default header values.

Not found

func NewUserRemoveAPIKeyNotFound ¶

func NewUserRemoveAPIKeyNotFound() *UserRemoveAPIKeyNotFound

NewUserRemoveAPIKeyNotFound creates a UserRemoveAPIKeyNotFound with default headers values

func (*UserRemoveAPIKeyNotFound) Code ¶

func (o *UserRemoveAPIKeyNotFound) Code() int

Code gets the status code for the user remove Api key not found response

func (*UserRemoveAPIKeyNotFound) Error ¶

func (o *UserRemoveAPIKeyNotFound) Error() string

func (*UserRemoveAPIKeyNotFound) IsClientError ¶

func (o *UserRemoveAPIKeyNotFound) IsClientError() bool

IsClientError returns true when this user remove Api key not found response has a 4xx status code

func (*UserRemoveAPIKeyNotFound) IsCode ¶

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

IsCode returns true when this user remove Api key not found response a status code equal to that given

func (*UserRemoveAPIKeyNotFound) IsRedirect ¶

func (o *UserRemoveAPIKeyNotFound) IsRedirect() bool

IsRedirect returns true when this user remove Api key not found response has a 3xx status code

func (*UserRemoveAPIKeyNotFound) IsServerError ¶

func (o *UserRemoveAPIKeyNotFound) IsServerError() bool

IsServerError returns true when this user remove Api key not found response has a 5xx status code

func (*UserRemoveAPIKeyNotFound) IsSuccess ¶

func (o *UserRemoveAPIKeyNotFound) IsSuccess() bool

IsSuccess returns true when this user remove Api key not found response has a 2xx status code

func (*UserRemoveAPIKeyNotFound) String ¶

func (o *UserRemoveAPIKeyNotFound) String() string

type UserRemoveAPIKeyParams ¶

type UserRemoveAPIKeyParams struct {

	/* ID.

	   User identifier
	*/
	ID int64

	/* KeyID.

	   Api Key identifier
	*/
	KeyID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserRemoveAPIKeyParams contains all the parameters to send to the API endpoint

for the user remove API key operation.

Typically these are written to a http.Request.

func NewUserRemoveAPIKeyParams ¶

func NewUserRemoveAPIKeyParams() *UserRemoveAPIKeyParams

NewUserRemoveAPIKeyParams creates a new UserRemoveAPIKeyParams 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 NewUserRemoveAPIKeyParamsWithContext ¶

func NewUserRemoveAPIKeyParamsWithContext(ctx context.Context) *UserRemoveAPIKeyParams

NewUserRemoveAPIKeyParamsWithContext creates a new UserRemoveAPIKeyParams object with the ability to set a context for a request.

func NewUserRemoveAPIKeyParamsWithHTTPClient ¶

func NewUserRemoveAPIKeyParamsWithHTTPClient(client *http.Client) *UserRemoveAPIKeyParams

NewUserRemoveAPIKeyParamsWithHTTPClient creates a new UserRemoveAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserRemoveAPIKeyParamsWithTimeout ¶

func NewUserRemoveAPIKeyParamsWithTimeout(timeout time.Duration) *UserRemoveAPIKeyParams

NewUserRemoveAPIKeyParamsWithTimeout creates a new UserRemoveAPIKeyParams object with the ability to set a timeout on a request.

func (*UserRemoveAPIKeyParams) SetContext ¶

func (o *UserRemoveAPIKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the user remove API key params

func (*UserRemoveAPIKeyParams) SetDefaults ¶

func (o *UserRemoveAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the user remove API key params (not the query body).

All values with no default are reset to their zero value.

func (*UserRemoveAPIKeyParams) SetHTTPClient ¶

func (o *UserRemoveAPIKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user remove API key params

func (*UserRemoveAPIKeyParams) SetID ¶

func (o *UserRemoveAPIKeyParams) SetID(id int64)

SetID adds the id to the user remove API key params

func (*UserRemoveAPIKeyParams) SetKeyID ¶

func (o *UserRemoveAPIKeyParams) SetKeyID(keyID int64)

SetKeyID adds the keyId to the user remove API key params

func (*UserRemoveAPIKeyParams) SetTimeout ¶

func (o *UserRemoveAPIKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user remove API key params

func (*UserRemoveAPIKeyParams) WithContext ¶

WithContext adds the context to the user remove API key params

func (*UserRemoveAPIKeyParams) WithDefaults ¶

WithDefaults hydrates default values in the user remove API key params (not the query body).

All values with no default are reset to their zero value.

func (*UserRemoveAPIKeyParams) WithHTTPClient ¶

func (o *UserRemoveAPIKeyParams) WithHTTPClient(client *http.Client) *UserRemoveAPIKeyParams

WithHTTPClient adds the HTTPClient to the user remove API key params

func (*UserRemoveAPIKeyParams) WithID ¶

WithID adds the id to the user remove API key params

func (*UserRemoveAPIKeyParams) WithKeyID ¶

WithKeyID adds the keyID to the user remove API key params

func (*UserRemoveAPIKeyParams) WithTimeout ¶

WithTimeout adds the timeout to the user remove API key params

func (*UserRemoveAPIKeyParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserRemoveAPIKeyReader ¶

type UserRemoveAPIKeyReader struct {
	// contains filtered or unexported fields
}

UserRemoveAPIKeyReader is a Reader for the UserRemoveAPIKey structure.

func (*UserRemoveAPIKeyReader) ReadResponse ¶

func (o *UserRemoveAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserRemoveGitCredentialBadRequest ¶

type UserRemoveGitCredentialBadRequest struct {
}

UserRemoveGitCredentialBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserRemoveGitCredentialBadRequest ¶

func NewUserRemoveGitCredentialBadRequest() *UserRemoveGitCredentialBadRequest

NewUserRemoveGitCredentialBadRequest creates a UserRemoveGitCredentialBadRequest with default headers values

func (*UserRemoveGitCredentialBadRequest) Code ¶

Code gets the status code for the user remove git credential bad request response

func (*UserRemoveGitCredentialBadRequest) Error ¶

func (*UserRemoveGitCredentialBadRequest) IsClientError ¶

func (o *UserRemoveGitCredentialBadRequest) IsClientError() bool

IsClientError returns true when this user remove git credential bad request response has a 4xx status code

func (*UserRemoveGitCredentialBadRequest) IsCode ¶

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

IsCode returns true when this user remove git credential bad request response a status code equal to that given

func (*UserRemoveGitCredentialBadRequest) IsRedirect ¶

func (o *UserRemoveGitCredentialBadRequest) IsRedirect() bool

IsRedirect returns true when this user remove git credential bad request response has a 3xx status code

func (*UserRemoveGitCredentialBadRequest) IsServerError ¶

func (o *UserRemoveGitCredentialBadRequest) IsServerError() bool

IsServerError returns true when this user remove git credential bad request response has a 5xx status code

func (*UserRemoveGitCredentialBadRequest) IsSuccess ¶

func (o *UserRemoveGitCredentialBadRequest) IsSuccess() bool

IsSuccess returns true when this user remove git credential bad request response has a 2xx status code

func (*UserRemoveGitCredentialBadRequest) String ¶

type UserRemoveGitCredentialForbidden ¶

type UserRemoveGitCredentialForbidden struct {
}

UserRemoveGitCredentialForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserRemoveGitCredentialForbidden ¶

func NewUserRemoveGitCredentialForbidden() *UserRemoveGitCredentialForbidden

NewUserRemoveGitCredentialForbidden creates a UserRemoveGitCredentialForbidden with default headers values

func (*UserRemoveGitCredentialForbidden) Code ¶

Code gets the status code for the user remove git credential forbidden response

func (*UserRemoveGitCredentialForbidden) Error ¶

func (*UserRemoveGitCredentialForbidden) IsClientError ¶

func (o *UserRemoveGitCredentialForbidden) IsClientError() bool

IsClientError returns true when this user remove git credential forbidden response has a 4xx status code

func (*UserRemoveGitCredentialForbidden) IsCode ¶

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

IsCode returns true when this user remove git credential forbidden response a status code equal to that given

func (*UserRemoveGitCredentialForbidden) IsRedirect ¶

func (o *UserRemoveGitCredentialForbidden) IsRedirect() bool

IsRedirect returns true when this user remove git credential forbidden response has a 3xx status code

func (*UserRemoveGitCredentialForbidden) IsServerError ¶

func (o *UserRemoveGitCredentialForbidden) IsServerError() bool

IsServerError returns true when this user remove git credential forbidden response has a 5xx status code

func (*UserRemoveGitCredentialForbidden) IsSuccess ¶

func (o *UserRemoveGitCredentialForbidden) IsSuccess() bool

IsSuccess returns true when this user remove git credential forbidden response has a 2xx status code

func (*UserRemoveGitCredentialForbidden) String ¶

type UserRemoveGitCredentialInternalServerError ¶

type UserRemoveGitCredentialInternalServerError struct {
}

UserRemoveGitCredentialInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserRemoveGitCredentialInternalServerError ¶

func NewUserRemoveGitCredentialInternalServerError() *UserRemoveGitCredentialInternalServerError

NewUserRemoveGitCredentialInternalServerError creates a UserRemoveGitCredentialInternalServerError with default headers values

func (*UserRemoveGitCredentialInternalServerError) Code ¶

Code gets the status code for the user remove git credential internal server error response

func (*UserRemoveGitCredentialInternalServerError) Error ¶

func (*UserRemoveGitCredentialInternalServerError) IsClientError ¶

IsClientError returns true when this user remove git credential internal server error response has a 4xx status code

func (*UserRemoveGitCredentialInternalServerError) IsCode ¶

IsCode returns true when this user remove git credential internal server error response a status code equal to that given

func (*UserRemoveGitCredentialInternalServerError) IsRedirect ¶

IsRedirect returns true when this user remove git credential internal server error response has a 3xx status code

func (*UserRemoveGitCredentialInternalServerError) IsServerError ¶

IsServerError returns true when this user remove git credential internal server error response has a 5xx status code

func (*UserRemoveGitCredentialInternalServerError) IsSuccess ¶

IsSuccess returns true when this user remove git credential internal server error response has a 2xx status code

func (*UserRemoveGitCredentialInternalServerError) String ¶

type UserRemoveGitCredentialNoContent ¶

type UserRemoveGitCredentialNoContent struct {
}

UserRemoveGitCredentialNoContent describes a response with status code 204, with default header values.

Success

func NewUserRemoveGitCredentialNoContent ¶

func NewUserRemoveGitCredentialNoContent() *UserRemoveGitCredentialNoContent

NewUserRemoveGitCredentialNoContent creates a UserRemoveGitCredentialNoContent with default headers values

func (*UserRemoveGitCredentialNoContent) Code ¶

Code gets the status code for the user remove git credential no content response

func (*UserRemoveGitCredentialNoContent) Error ¶

func (*UserRemoveGitCredentialNoContent) IsClientError ¶

func (o *UserRemoveGitCredentialNoContent) IsClientError() bool

IsClientError returns true when this user remove git credential no content response has a 4xx status code

func (*UserRemoveGitCredentialNoContent) IsCode ¶

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

IsCode returns true when this user remove git credential no content response a status code equal to that given

func (*UserRemoveGitCredentialNoContent) IsRedirect ¶

func (o *UserRemoveGitCredentialNoContent) IsRedirect() bool

IsRedirect returns true when this user remove git credential no content response has a 3xx status code

func (*UserRemoveGitCredentialNoContent) IsServerError ¶

func (o *UserRemoveGitCredentialNoContent) IsServerError() bool

IsServerError returns true when this user remove git credential no content response has a 5xx status code

func (*UserRemoveGitCredentialNoContent) IsSuccess ¶

func (o *UserRemoveGitCredentialNoContent) IsSuccess() bool

IsSuccess returns true when this user remove git credential no content response has a 2xx status code

func (*UserRemoveGitCredentialNoContent) String ¶

type UserRemoveGitCredentialNotFound ¶

type UserRemoveGitCredentialNotFound struct {
}

UserRemoveGitCredentialNotFound describes a response with status code 404, with default header values.

Not found

func NewUserRemoveGitCredentialNotFound ¶

func NewUserRemoveGitCredentialNotFound() *UserRemoveGitCredentialNotFound

NewUserRemoveGitCredentialNotFound creates a UserRemoveGitCredentialNotFound with default headers values

func (*UserRemoveGitCredentialNotFound) Code ¶

Code gets the status code for the user remove git credential not found response

func (*UserRemoveGitCredentialNotFound) Error ¶

func (*UserRemoveGitCredentialNotFound) IsClientError ¶

func (o *UserRemoveGitCredentialNotFound) IsClientError() bool

IsClientError returns true when this user remove git credential not found response has a 4xx status code

func (*UserRemoveGitCredentialNotFound) IsCode ¶

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

IsCode returns true when this user remove git credential not found response a status code equal to that given

func (*UserRemoveGitCredentialNotFound) IsRedirect ¶

func (o *UserRemoveGitCredentialNotFound) IsRedirect() bool

IsRedirect returns true when this user remove git credential not found response has a 3xx status code

func (*UserRemoveGitCredentialNotFound) IsServerError ¶

func (o *UserRemoveGitCredentialNotFound) IsServerError() bool

IsServerError returns true when this user remove git credential not found response has a 5xx status code

func (*UserRemoveGitCredentialNotFound) IsSuccess ¶

func (o *UserRemoveGitCredentialNotFound) IsSuccess() bool

IsSuccess returns true when this user remove git credential not found response has a 2xx status code

func (*UserRemoveGitCredentialNotFound) String ¶

type UserRemoveGitCredentialParams ¶

type UserRemoveGitCredentialParams struct {

	/* CredentialID.

	   Git Credential identifier
	*/
	CredentialID int64

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserRemoveGitCredentialParams contains all the parameters to send to the API endpoint

for the user remove git credential operation.

Typically these are written to a http.Request.

func NewUserRemoveGitCredentialParams ¶

func NewUserRemoveGitCredentialParams() *UserRemoveGitCredentialParams

NewUserRemoveGitCredentialParams creates a new UserRemoveGitCredentialParams 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 NewUserRemoveGitCredentialParamsWithContext ¶

func NewUserRemoveGitCredentialParamsWithContext(ctx context.Context) *UserRemoveGitCredentialParams

NewUserRemoveGitCredentialParamsWithContext creates a new UserRemoveGitCredentialParams object with the ability to set a context for a request.

func NewUserRemoveGitCredentialParamsWithHTTPClient ¶

func NewUserRemoveGitCredentialParamsWithHTTPClient(client *http.Client) *UserRemoveGitCredentialParams

NewUserRemoveGitCredentialParamsWithHTTPClient creates a new UserRemoveGitCredentialParams object with the ability to set a custom HTTPClient for a request.

func NewUserRemoveGitCredentialParamsWithTimeout ¶

func NewUserRemoveGitCredentialParamsWithTimeout(timeout time.Duration) *UserRemoveGitCredentialParams

NewUserRemoveGitCredentialParamsWithTimeout creates a new UserRemoveGitCredentialParams object with the ability to set a timeout on a request.

func (*UserRemoveGitCredentialParams) SetContext ¶

func (o *UserRemoveGitCredentialParams) SetContext(ctx context.Context)

SetContext adds the context to the user remove git credential params

func (*UserRemoveGitCredentialParams) SetCredentialID ¶

func (o *UserRemoveGitCredentialParams) SetCredentialID(credentialID int64)

SetCredentialID adds the credentialId to the user remove git credential params

func (*UserRemoveGitCredentialParams) SetDefaults ¶

func (o *UserRemoveGitCredentialParams) SetDefaults()

SetDefaults hydrates default values in the user remove git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserRemoveGitCredentialParams) SetHTTPClient ¶

func (o *UserRemoveGitCredentialParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user remove git credential params

func (*UserRemoveGitCredentialParams) SetID ¶

func (o *UserRemoveGitCredentialParams) SetID(id int64)

SetID adds the id to the user remove git credential params

func (*UserRemoveGitCredentialParams) SetTimeout ¶

func (o *UserRemoveGitCredentialParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user remove git credential params

func (*UserRemoveGitCredentialParams) WithContext ¶

WithContext adds the context to the user remove git credential params

func (*UserRemoveGitCredentialParams) WithCredentialID ¶

func (o *UserRemoveGitCredentialParams) WithCredentialID(credentialID int64) *UserRemoveGitCredentialParams

WithCredentialID adds the credentialID to the user remove git credential params

func (*UserRemoveGitCredentialParams) WithDefaults ¶

WithDefaults hydrates default values in the user remove git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserRemoveGitCredentialParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the user remove git credential params

func (*UserRemoveGitCredentialParams) WithID ¶

WithID adds the id to the user remove git credential params

func (*UserRemoveGitCredentialParams) WithTimeout ¶

WithTimeout adds the timeout to the user remove git credential params

func (*UserRemoveGitCredentialParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserRemoveGitCredentialReader ¶

type UserRemoveGitCredentialReader struct {
	// contains filtered or unexported fields
}

UserRemoveGitCredentialReader is a Reader for the UserRemoveGitCredential structure.

func (*UserRemoveGitCredentialReader) ReadResponse ¶

func (o *UserRemoveGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserUpdateBadRequest ¶

type UserUpdateBadRequest struct {
}

UserUpdateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserUpdateBadRequest ¶

func NewUserUpdateBadRequest() *UserUpdateBadRequest

NewUserUpdateBadRequest creates a UserUpdateBadRequest with default headers values

func (*UserUpdateBadRequest) Code ¶

func (o *UserUpdateBadRequest) Code() int

Code gets the status code for the user update bad request response

func (*UserUpdateBadRequest) Error ¶

func (o *UserUpdateBadRequest) Error() string

func (*UserUpdateBadRequest) IsClientError ¶

func (o *UserUpdateBadRequest) IsClientError() bool

IsClientError returns true when this user update bad request response has a 4xx status code

func (*UserUpdateBadRequest) IsCode ¶

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

IsCode returns true when this user update bad request response a status code equal to that given

func (*UserUpdateBadRequest) IsRedirect ¶

func (o *UserUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this user update bad request response has a 3xx status code

func (*UserUpdateBadRequest) IsServerError ¶

func (o *UserUpdateBadRequest) IsServerError() bool

IsServerError returns true when this user update bad request response has a 5xx status code

func (*UserUpdateBadRequest) IsSuccess ¶

func (o *UserUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this user update bad request response has a 2xx status code

func (*UserUpdateBadRequest) String ¶

func (o *UserUpdateBadRequest) String() string

type UserUpdateConflict ¶

type UserUpdateConflict struct {
}

UserUpdateConflict describes a response with status code 409, with default header values.

Username already exist or Edge Compute features are not enabled

func NewUserUpdateConflict ¶

func NewUserUpdateConflict() *UserUpdateConflict

NewUserUpdateConflict creates a UserUpdateConflict with default headers values

func (*UserUpdateConflict) Code ¶

func (o *UserUpdateConflict) Code() int

Code gets the status code for the user update conflict response

func (*UserUpdateConflict) Error ¶

func (o *UserUpdateConflict) Error() string

func (*UserUpdateConflict) IsClientError ¶

func (o *UserUpdateConflict) IsClientError() bool

IsClientError returns true when this user update conflict response has a 4xx status code

func (*UserUpdateConflict) IsCode ¶

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

IsCode returns true when this user update conflict response a status code equal to that given

func (*UserUpdateConflict) IsRedirect ¶

func (o *UserUpdateConflict) IsRedirect() bool

IsRedirect returns true when this user update conflict response has a 3xx status code

func (*UserUpdateConflict) IsServerError ¶

func (o *UserUpdateConflict) IsServerError() bool

IsServerError returns true when this user update conflict response has a 5xx status code

func (*UserUpdateConflict) IsSuccess ¶

func (o *UserUpdateConflict) IsSuccess() bool

IsSuccess returns true when this user update conflict response has a 2xx status code

func (*UserUpdateConflict) String ¶

func (o *UserUpdateConflict) String() string

type UserUpdateForbidden ¶

type UserUpdateForbidden struct {
}

UserUpdateForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserUpdateForbidden ¶

func NewUserUpdateForbidden() *UserUpdateForbidden

NewUserUpdateForbidden creates a UserUpdateForbidden with default headers values

func (*UserUpdateForbidden) Code ¶

func (o *UserUpdateForbidden) Code() int

Code gets the status code for the user update forbidden response

func (*UserUpdateForbidden) Error ¶

func (o *UserUpdateForbidden) Error() string

func (*UserUpdateForbidden) IsClientError ¶

func (o *UserUpdateForbidden) IsClientError() bool

IsClientError returns true when this user update forbidden response has a 4xx status code

func (*UserUpdateForbidden) IsCode ¶

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

IsCode returns true when this user update forbidden response a status code equal to that given

func (*UserUpdateForbidden) IsRedirect ¶

func (o *UserUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this user update forbidden response has a 3xx status code

func (*UserUpdateForbidden) IsServerError ¶

func (o *UserUpdateForbidden) IsServerError() bool

IsServerError returns true when this user update forbidden response has a 5xx status code

func (*UserUpdateForbidden) IsSuccess ¶

func (o *UserUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this user update forbidden response has a 2xx status code

func (*UserUpdateForbidden) String ¶

func (o *UserUpdateForbidden) String() string

type UserUpdateGitCredentialBadRequest ¶

type UserUpdateGitCredentialBadRequest struct {
}

UserUpdateGitCredentialBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserUpdateGitCredentialBadRequest ¶

func NewUserUpdateGitCredentialBadRequest() *UserUpdateGitCredentialBadRequest

NewUserUpdateGitCredentialBadRequest creates a UserUpdateGitCredentialBadRequest with default headers values

func (*UserUpdateGitCredentialBadRequest) Code ¶

Code gets the status code for the user update git credential bad request response

func (*UserUpdateGitCredentialBadRequest) Error ¶

func (*UserUpdateGitCredentialBadRequest) IsClientError ¶

func (o *UserUpdateGitCredentialBadRequest) IsClientError() bool

IsClientError returns true when this user update git credential bad request response has a 4xx status code

func (*UserUpdateGitCredentialBadRequest) IsCode ¶

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

IsCode returns true when this user update git credential bad request response a status code equal to that given

func (*UserUpdateGitCredentialBadRequest) IsRedirect ¶

func (o *UserUpdateGitCredentialBadRequest) IsRedirect() bool

IsRedirect returns true when this user update git credential bad request response has a 3xx status code

func (*UserUpdateGitCredentialBadRequest) IsServerError ¶

func (o *UserUpdateGitCredentialBadRequest) IsServerError() bool

IsServerError returns true when this user update git credential bad request response has a 5xx status code

func (*UserUpdateGitCredentialBadRequest) IsSuccess ¶

func (o *UserUpdateGitCredentialBadRequest) IsSuccess() bool

IsSuccess returns true when this user update git credential bad request response has a 2xx status code

func (*UserUpdateGitCredentialBadRequest) String ¶

type UserUpdateGitCredentialForbidden ¶

type UserUpdateGitCredentialForbidden struct {
}

UserUpdateGitCredentialForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserUpdateGitCredentialForbidden ¶

func NewUserUpdateGitCredentialForbidden() *UserUpdateGitCredentialForbidden

NewUserUpdateGitCredentialForbidden creates a UserUpdateGitCredentialForbidden with default headers values

func (*UserUpdateGitCredentialForbidden) Code ¶

Code gets the status code for the user update git credential forbidden response

func (*UserUpdateGitCredentialForbidden) Error ¶

func (*UserUpdateGitCredentialForbidden) IsClientError ¶

func (o *UserUpdateGitCredentialForbidden) IsClientError() bool

IsClientError returns true when this user update git credential forbidden response has a 4xx status code

func (*UserUpdateGitCredentialForbidden) IsCode ¶

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

IsCode returns true when this user update git credential forbidden response a status code equal to that given

func (*UserUpdateGitCredentialForbidden) IsRedirect ¶

func (o *UserUpdateGitCredentialForbidden) IsRedirect() bool

IsRedirect returns true when this user update git credential forbidden response has a 3xx status code

func (*UserUpdateGitCredentialForbidden) IsServerError ¶

func (o *UserUpdateGitCredentialForbidden) IsServerError() bool

IsServerError returns true when this user update git credential forbidden response has a 5xx status code

func (*UserUpdateGitCredentialForbidden) IsSuccess ¶

func (o *UserUpdateGitCredentialForbidden) IsSuccess() bool

IsSuccess returns true when this user update git credential forbidden response has a 2xx status code

func (*UserUpdateGitCredentialForbidden) String ¶

type UserUpdateGitCredentialInternalServerError ¶

type UserUpdateGitCredentialInternalServerError struct {
}

UserUpdateGitCredentialInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserUpdateGitCredentialInternalServerError ¶

func NewUserUpdateGitCredentialInternalServerError() *UserUpdateGitCredentialInternalServerError

NewUserUpdateGitCredentialInternalServerError creates a UserUpdateGitCredentialInternalServerError with default headers values

func (*UserUpdateGitCredentialInternalServerError) Code ¶

Code gets the status code for the user update git credential internal server error response

func (*UserUpdateGitCredentialInternalServerError) Error ¶

func (*UserUpdateGitCredentialInternalServerError) IsClientError ¶

IsClientError returns true when this user update git credential internal server error response has a 4xx status code

func (*UserUpdateGitCredentialInternalServerError) IsCode ¶

IsCode returns true when this user update git credential internal server error response a status code equal to that given

func (*UserUpdateGitCredentialInternalServerError) IsRedirect ¶

IsRedirect returns true when this user update git credential internal server error response has a 3xx status code

func (*UserUpdateGitCredentialInternalServerError) IsServerError ¶

IsServerError returns true when this user update git credential internal server error response has a 5xx status code

func (*UserUpdateGitCredentialInternalServerError) IsSuccess ¶

IsSuccess returns true when this user update git credential internal server error response has a 2xx status code

func (*UserUpdateGitCredentialInternalServerError) String ¶

type UserUpdateGitCredentialNoContent ¶

type UserUpdateGitCredentialNoContent struct {
}

UserUpdateGitCredentialNoContent describes a response with status code 204, with default header values.

Success

func NewUserUpdateGitCredentialNoContent ¶

func NewUserUpdateGitCredentialNoContent() *UserUpdateGitCredentialNoContent

NewUserUpdateGitCredentialNoContent creates a UserUpdateGitCredentialNoContent with default headers values

func (*UserUpdateGitCredentialNoContent) Code ¶

Code gets the status code for the user update git credential no content response

func (*UserUpdateGitCredentialNoContent) Error ¶

func (*UserUpdateGitCredentialNoContent) IsClientError ¶

func (o *UserUpdateGitCredentialNoContent) IsClientError() bool

IsClientError returns true when this user update git credential no content response has a 4xx status code

func (*UserUpdateGitCredentialNoContent) IsCode ¶

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

IsCode returns true when this user update git credential no content response a status code equal to that given

func (*UserUpdateGitCredentialNoContent) IsRedirect ¶

func (o *UserUpdateGitCredentialNoContent) IsRedirect() bool

IsRedirect returns true when this user update git credential no content response has a 3xx status code

func (*UserUpdateGitCredentialNoContent) IsServerError ¶

func (o *UserUpdateGitCredentialNoContent) IsServerError() bool

IsServerError returns true when this user update git credential no content response has a 5xx status code

func (*UserUpdateGitCredentialNoContent) IsSuccess ¶

func (o *UserUpdateGitCredentialNoContent) IsSuccess() bool

IsSuccess returns true when this user update git credential no content response has a 2xx status code

func (*UserUpdateGitCredentialNoContent) String ¶

type UserUpdateGitCredentialNotFound ¶

type UserUpdateGitCredentialNotFound struct {
}

UserUpdateGitCredentialNotFound describes a response with status code 404, with default header values.

Not found

func NewUserUpdateGitCredentialNotFound ¶

func NewUserUpdateGitCredentialNotFound() *UserUpdateGitCredentialNotFound

NewUserUpdateGitCredentialNotFound creates a UserUpdateGitCredentialNotFound with default headers values

func (*UserUpdateGitCredentialNotFound) Code ¶

Code gets the status code for the user update git credential not found response

func (*UserUpdateGitCredentialNotFound) Error ¶

func (*UserUpdateGitCredentialNotFound) IsClientError ¶

func (o *UserUpdateGitCredentialNotFound) IsClientError() bool

IsClientError returns true when this user update git credential not found response has a 4xx status code

func (*UserUpdateGitCredentialNotFound) IsCode ¶

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

IsCode returns true when this user update git credential not found response a status code equal to that given

func (*UserUpdateGitCredentialNotFound) IsRedirect ¶

func (o *UserUpdateGitCredentialNotFound) IsRedirect() bool

IsRedirect returns true when this user update git credential not found response has a 3xx status code

func (*UserUpdateGitCredentialNotFound) IsServerError ¶

func (o *UserUpdateGitCredentialNotFound) IsServerError() bool

IsServerError returns true when this user update git credential not found response has a 5xx status code

func (*UserUpdateGitCredentialNotFound) IsSuccess ¶

func (o *UserUpdateGitCredentialNotFound) IsSuccess() bool

IsSuccess returns true when this user update git credential not found response has a 2xx status code

func (*UserUpdateGitCredentialNotFound) String ¶

type UserUpdateGitCredentialParams ¶

type UserUpdateGitCredentialParams struct {

	/* CredentialID.

	   Git Credential identifier
	*/
	CredentialID int64

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserUpdateGitCredentialParams contains all the parameters to send to the API endpoint

for the user update git credential operation.

Typically these are written to a http.Request.

func NewUserUpdateGitCredentialParams ¶

func NewUserUpdateGitCredentialParams() *UserUpdateGitCredentialParams

NewUserUpdateGitCredentialParams creates a new UserUpdateGitCredentialParams 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 NewUserUpdateGitCredentialParamsWithContext ¶

func NewUserUpdateGitCredentialParamsWithContext(ctx context.Context) *UserUpdateGitCredentialParams

NewUserUpdateGitCredentialParamsWithContext creates a new UserUpdateGitCredentialParams object with the ability to set a context for a request.

func NewUserUpdateGitCredentialParamsWithHTTPClient ¶

func NewUserUpdateGitCredentialParamsWithHTTPClient(client *http.Client) *UserUpdateGitCredentialParams

NewUserUpdateGitCredentialParamsWithHTTPClient creates a new UserUpdateGitCredentialParams object with the ability to set a custom HTTPClient for a request.

func NewUserUpdateGitCredentialParamsWithTimeout ¶

func NewUserUpdateGitCredentialParamsWithTimeout(timeout time.Duration) *UserUpdateGitCredentialParams

NewUserUpdateGitCredentialParamsWithTimeout creates a new UserUpdateGitCredentialParams object with the ability to set a timeout on a request.

func (*UserUpdateGitCredentialParams) SetContext ¶

func (o *UserUpdateGitCredentialParams) SetContext(ctx context.Context)

SetContext adds the context to the user update git credential params

func (*UserUpdateGitCredentialParams) SetCredentialID ¶

func (o *UserUpdateGitCredentialParams) SetCredentialID(credentialID int64)

SetCredentialID adds the credentialId to the user update git credential params

func (*UserUpdateGitCredentialParams) SetDefaults ¶

func (o *UserUpdateGitCredentialParams) SetDefaults()

SetDefaults hydrates default values in the user update git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateGitCredentialParams) SetHTTPClient ¶

func (o *UserUpdateGitCredentialParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user update git credential params

func (*UserUpdateGitCredentialParams) SetID ¶

func (o *UserUpdateGitCredentialParams) SetID(id int64)

SetID adds the id to the user update git credential params

func (*UserUpdateGitCredentialParams) SetTimeout ¶

func (o *UserUpdateGitCredentialParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user update git credential params

func (*UserUpdateGitCredentialParams) WithContext ¶

WithContext adds the context to the user update git credential params

func (*UserUpdateGitCredentialParams) WithCredentialID ¶

func (o *UserUpdateGitCredentialParams) WithCredentialID(credentialID int64) *UserUpdateGitCredentialParams

WithCredentialID adds the credentialID to the user update git credential params

func (*UserUpdateGitCredentialParams) WithDefaults ¶

WithDefaults hydrates default values in the user update git credential params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateGitCredentialParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the user update git credential params

func (*UserUpdateGitCredentialParams) WithID ¶

WithID adds the id to the user update git credential params

func (*UserUpdateGitCredentialParams) WithTimeout ¶

WithTimeout adds the timeout to the user update git credential params

func (*UserUpdateGitCredentialParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserUpdateGitCredentialReader ¶

type UserUpdateGitCredentialReader struct {
	// contains filtered or unexported fields
}

UserUpdateGitCredentialReader is a Reader for the UserUpdateGitCredential structure.

func (*UserUpdateGitCredentialReader) ReadResponse ¶

func (o *UserUpdateGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserUpdateInternalServerError ¶

type UserUpdateInternalServerError struct {
}

UserUpdateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserUpdateInternalServerError ¶

func NewUserUpdateInternalServerError() *UserUpdateInternalServerError

NewUserUpdateInternalServerError creates a UserUpdateInternalServerError with default headers values

func (*UserUpdateInternalServerError) Code ¶

Code gets the status code for the user update internal server error response

func (*UserUpdateInternalServerError) Error ¶

func (*UserUpdateInternalServerError) IsClientError ¶

func (o *UserUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this user update internal server error response has a 4xx status code

func (*UserUpdateInternalServerError) IsCode ¶

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

IsCode returns true when this user update internal server error response a status code equal to that given

func (*UserUpdateInternalServerError) IsRedirect ¶

func (o *UserUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this user update internal server error response has a 3xx status code

func (*UserUpdateInternalServerError) IsServerError ¶

func (o *UserUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this user update internal server error response has a 5xx status code

func (*UserUpdateInternalServerError) IsSuccess ¶

func (o *UserUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this user update internal server error response has a 2xx status code

func (*UserUpdateInternalServerError) String ¶

type UserUpdateNotFound ¶

type UserUpdateNotFound struct {
}

UserUpdateNotFound describes a response with status code 404, with default header values.

User not found

func NewUserUpdateNotFound ¶

func NewUserUpdateNotFound() *UserUpdateNotFound

NewUserUpdateNotFound creates a UserUpdateNotFound with default headers values

func (*UserUpdateNotFound) Code ¶

func (o *UserUpdateNotFound) Code() int

Code gets the status code for the user update not found response

func (*UserUpdateNotFound) Error ¶

func (o *UserUpdateNotFound) Error() string

func (*UserUpdateNotFound) IsClientError ¶

func (o *UserUpdateNotFound) IsClientError() bool

IsClientError returns true when this user update not found response has a 4xx status code

func (*UserUpdateNotFound) IsCode ¶

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

IsCode returns true when this user update not found response a status code equal to that given

func (*UserUpdateNotFound) IsRedirect ¶

func (o *UserUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this user update not found response has a 3xx status code

func (*UserUpdateNotFound) IsServerError ¶

func (o *UserUpdateNotFound) IsServerError() bool

IsServerError returns true when this user update not found response has a 5xx status code

func (*UserUpdateNotFound) IsSuccess ¶

func (o *UserUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this user update not found response has a 2xx status code

func (*UserUpdateNotFound) String ¶

func (o *UserUpdateNotFound) String() string

type UserUpdateOK ¶

type UserUpdateOK struct {
	Payload *models.PortainereeUser
}

UserUpdateOK describes a response with status code 200, with default header values.

Success

func NewUserUpdateOK ¶

func NewUserUpdateOK() *UserUpdateOK

NewUserUpdateOK creates a UserUpdateOK with default headers values

func (*UserUpdateOK) Code ¶

func (o *UserUpdateOK) Code() int

Code gets the status code for the user update o k response

func (*UserUpdateOK) Error ¶

func (o *UserUpdateOK) Error() string

func (*UserUpdateOK) GetPayload ¶

func (o *UserUpdateOK) GetPayload() *models.PortainereeUser

func (*UserUpdateOK) IsClientError ¶

func (o *UserUpdateOK) IsClientError() bool

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

func (*UserUpdateOK) IsCode ¶

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

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

func (*UserUpdateOK) IsRedirect ¶

func (o *UserUpdateOK) IsRedirect() bool

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

func (*UserUpdateOK) IsServerError ¶

func (o *UserUpdateOK) IsServerError() bool

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

func (*UserUpdateOK) IsSuccess ¶

func (o *UserUpdateOK) IsSuccess() bool

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

func (*UserUpdateOK) String ¶

func (o *UserUpdateOK) String() string

type UserUpdateOpenAIConfigBadRequest ¶

type UserUpdateOpenAIConfigBadRequest struct {
}

UserUpdateOpenAIConfigBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserUpdateOpenAIConfigBadRequest ¶

func NewUserUpdateOpenAIConfigBadRequest() *UserUpdateOpenAIConfigBadRequest

NewUserUpdateOpenAIConfigBadRequest creates a UserUpdateOpenAIConfigBadRequest with default headers values

func (*UserUpdateOpenAIConfigBadRequest) Code ¶

Code gets the status code for the user update open a i config bad request response

func (*UserUpdateOpenAIConfigBadRequest) Error ¶

func (*UserUpdateOpenAIConfigBadRequest) IsClientError ¶

func (o *UserUpdateOpenAIConfigBadRequest) IsClientError() bool

IsClientError returns true when this user update open a i config bad request response has a 4xx status code

func (*UserUpdateOpenAIConfigBadRequest) IsCode ¶

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

IsCode returns true when this user update open a i config bad request response a status code equal to that given

func (*UserUpdateOpenAIConfigBadRequest) IsRedirect ¶

func (o *UserUpdateOpenAIConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this user update open a i config bad request response has a 3xx status code

func (*UserUpdateOpenAIConfigBadRequest) IsServerError ¶

func (o *UserUpdateOpenAIConfigBadRequest) IsServerError() bool

IsServerError returns true when this user update open a i config bad request response has a 5xx status code

func (*UserUpdateOpenAIConfigBadRequest) IsSuccess ¶

func (o *UserUpdateOpenAIConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this user update open a i config bad request response has a 2xx status code

func (*UserUpdateOpenAIConfigBadRequest) String ¶

type UserUpdateOpenAIConfigForbidden ¶

type UserUpdateOpenAIConfigForbidden struct {
}

UserUpdateOpenAIConfigForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserUpdateOpenAIConfigForbidden ¶

func NewUserUpdateOpenAIConfigForbidden() *UserUpdateOpenAIConfigForbidden

NewUserUpdateOpenAIConfigForbidden creates a UserUpdateOpenAIConfigForbidden with default headers values

func (*UserUpdateOpenAIConfigForbidden) Code ¶

Code gets the status code for the user update open a i config forbidden response

func (*UserUpdateOpenAIConfigForbidden) Error ¶

func (*UserUpdateOpenAIConfigForbidden) IsClientError ¶

func (o *UserUpdateOpenAIConfigForbidden) IsClientError() bool

IsClientError returns true when this user update open a i config forbidden response has a 4xx status code

func (*UserUpdateOpenAIConfigForbidden) IsCode ¶

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

IsCode returns true when this user update open a i config forbidden response a status code equal to that given

func (*UserUpdateOpenAIConfigForbidden) IsRedirect ¶

func (o *UserUpdateOpenAIConfigForbidden) IsRedirect() bool

IsRedirect returns true when this user update open a i config forbidden response has a 3xx status code

func (*UserUpdateOpenAIConfigForbidden) IsServerError ¶

func (o *UserUpdateOpenAIConfigForbidden) IsServerError() bool

IsServerError returns true when this user update open a i config forbidden response has a 5xx status code

func (*UserUpdateOpenAIConfigForbidden) IsSuccess ¶

func (o *UserUpdateOpenAIConfigForbidden) IsSuccess() bool

IsSuccess returns true when this user update open a i config forbidden response has a 2xx status code

func (*UserUpdateOpenAIConfigForbidden) String ¶

type UserUpdateOpenAIConfigInternalServerError ¶

type UserUpdateOpenAIConfigInternalServerError struct {
}

UserUpdateOpenAIConfigInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserUpdateOpenAIConfigInternalServerError ¶

func NewUserUpdateOpenAIConfigInternalServerError() *UserUpdateOpenAIConfigInternalServerError

NewUserUpdateOpenAIConfigInternalServerError creates a UserUpdateOpenAIConfigInternalServerError with default headers values

func (*UserUpdateOpenAIConfigInternalServerError) Code ¶

Code gets the status code for the user update open a i config internal server error response

func (*UserUpdateOpenAIConfigInternalServerError) Error ¶

func (*UserUpdateOpenAIConfigInternalServerError) IsClientError ¶

IsClientError returns true when this user update open a i config internal server error response has a 4xx status code

func (*UserUpdateOpenAIConfigInternalServerError) IsCode ¶

IsCode returns true when this user update open a i config internal server error response a status code equal to that given

func (*UserUpdateOpenAIConfigInternalServerError) IsRedirect ¶

IsRedirect returns true when this user update open a i config internal server error response has a 3xx status code

func (*UserUpdateOpenAIConfigInternalServerError) IsServerError ¶

IsServerError returns true when this user update open a i config internal server error response has a 5xx status code

func (*UserUpdateOpenAIConfigInternalServerError) IsSuccess ¶

IsSuccess returns true when this user update open a i config internal server error response has a 2xx status code

func (*UserUpdateOpenAIConfigInternalServerError) String ¶

type UserUpdateOpenAIConfigNoContent ¶

type UserUpdateOpenAIConfigNoContent struct {
}

UserUpdateOpenAIConfigNoContent describes a response with status code 204, with default header values.

Success

func NewUserUpdateOpenAIConfigNoContent ¶

func NewUserUpdateOpenAIConfigNoContent() *UserUpdateOpenAIConfigNoContent

NewUserUpdateOpenAIConfigNoContent creates a UserUpdateOpenAIConfigNoContent with default headers values

func (*UserUpdateOpenAIConfigNoContent) Code ¶

Code gets the status code for the user update open a i config no content response

func (*UserUpdateOpenAIConfigNoContent) Error ¶

func (*UserUpdateOpenAIConfigNoContent) IsClientError ¶

func (o *UserUpdateOpenAIConfigNoContent) IsClientError() bool

IsClientError returns true when this user update open a i config no content response has a 4xx status code

func (*UserUpdateOpenAIConfigNoContent) IsCode ¶

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

IsCode returns true when this user update open a i config no content response a status code equal to that given

func (*UserUpdateOpenAIConfigNoContent) IsRedirect ¶

func (o *UserUpdateOpenAIConfigNoContent) IsRedirect() bool

IsRedirect returns true when this user update open a i config no content response has a 3xx status code

func (*UserUpdateOpenAIConfigNoContent) IsServerError ¶

func (o *UserUpdateOpenAIConfigNoContent) IsServerError() bool

IsServerError returns true when this user update open a i config no content response has a 5xx status code

func (*UserUpdateOpenAIConfigNoContent) IsSuccess ¶

func (o *UserUpdateOpenAIConfigNoContent) IsSuccess() bool

IsSuccess returns true when this user update open a i config no content response has a 2xx status code

func (*UserUpdateOpenAIConfigNoContent) String ¶

type UserUpdateOpenAIConfigNotFound ¶

type UserUpdateOpenAIConfigNotFound struct {
}

UserUpdateOpenAIConfigNotFound describes a response with status code 404, with default header values.

User not found

func NewUserUpdateOpenAIConfigNotFound ¶

func NewUserUpdateOpenAIConfigNotFound() *UserUpdateOpenAIConfigNotFound

NewUserUpdateOpenAIConfigNotFound creates a UserUpdateOpenAIConfigNotFound with default headers values

func (*UserUpdateOpenAIConfigNotFound) Code ¶

Code gets the status code for the user update open a i config not found response

func (*UserUpdateOpenAIConfigNotFound) Error ¶

func (*UserUpdateOpenAIConfigNotFound) IsClientError ¶

func (o *UserUpdateOpenAIConfigNotFound) IsClientError() bool

IsClientError returns true when this user update open a i config not found response has a 4xx status code

func (*UserUpdateOpenAIConfigNotFound) IsCode ¶

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

IsCode returns true when this user update open a i config not found response a status code equal to that given

func (*UserUpdateOpenAIConfigNotFound) IsRedirect ¶

func (o *UserUpdateOpenAIConfigNotFound) IsRedirect() bool

IsRedirect returns true when this user update open a i config not found response has a 3xx status code

func (*UserUpdateOpenAIConfigNotFound) IsServerError ¶

func (o *UserUpdateOpenAIConfigNotFound) IsServerError() bool

IsServerError returns true when this user update open a i config not found response has a 5xx status code

func (*UserUpdateOpenAIConfigNotFound) IsSuccess ¶

func (o *UserUpdateOpenAIConfigNotFound) IsSuccess() bool

IsSuccess returns true when this user update open a i config not found response has a 2xx status code

func (*UserUpdateOpenAIConfigNotFound) String ¶

type UserUpdateOpenAIConfigParams ¶

type UserUpdateOpenAIConfigParams struct {

	/* Body.

	   payload
	*/
	Body *models.UsersUserUpdateOpenAIConfigPayload

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserUpdateOpenAIConfigParams contains all the parameters to send to the API endpoint

for the user update open a i config operation.

Typically these are written to a http.Request.

func NewUserUpdateOpenAIConfigParams ¶

func NewUserUpdateOpenAIConfigParams() *UserUpdateOpenAIConfigParams

NewUserUpdateOpenAIConfigParams creates a new UserUpdateOpenAIConfigParams 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 NewUserUpdateOpenAIConfigParamsWithContext ¶

func NewUserUpdateOpenAIConfigParamsWithContext(ctx context.Context) *UserUpdateOpenAIConfigParams

NewUserUpdateOpenAIConfigParamsWithContext creates a new UserUpdateOpenAIConfigParams object with the ability to set a context for a request.

func NewUserUpdateOpenAIConfigParamsWithHTTPClient ¶

func NewUserUpdateOpenAIConfigParamsWithHTTPClient(client *http.Client) *UserUpdateOpenAIConfigParams

NewUserUpdateOpenAIConfigParamsWithHTTPClient creates a new UserUpdateOpenAIConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUserUpdateOpenAIConfigParamsWithTimeout ¶

func NewUserUpdateOpenAIConfigParamsWithTimeout(timeout time.Duration) *UserUpdateOpenAIConfigParams

NewUserUpdateOpenAIConfigParamsWithTimeout creates a new UserUpdateOpenAIConfigParams object with the ability to set a timeout on a request.

func (*UserUpdateOpenAIConfigParams) SetBody ¶

SetBody adds the body to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) SetContext ¶

func (o *UserUpdateOpenAIConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) SetDefaults ¶

func (o *UserUpdateOpenAIConfigParams) SetDefaults()

SetDefaults hydrates default values in the user update open a i config params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateOpenAIConfigParams) SetHTTPClient ¶

func (o *UserUpdateOpenAIConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) SetID ¶

func (o *UserUpdateOpenAIConfigParams) SetID(id int64)

SetID adds the id to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) SetTimeout ¶

func (o *UserUpdateOpenAIConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) WithBody ¶

WithBody adds the body to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) WithContext ¶

WithContext adds the context to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) WithDefaults ¶

WithDefaults hydrates default values in the user update open a i config params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateOpenAIConfigParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) WithID ¶

WithID adds the id to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) WithTimeout ¶

WithTimeout adds the timeout to the user update open a i config params

func (*UserUpdateOpenAIConfigParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserUpdateOpenAIConfigReader ¶

type UserUpdateOpenAIConfigReader struct {
	// contains filtered or unexported fields
}

UserUpdateOpenAIConfigReader is a Reader for the UserUpdateOpenAIConfig structure.

func (*UserUpdateOpenAIConfigReader) ReadResponse ¶

func (o *UserUpdateOpenAIConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserUpdateParams ¶

type UserUpdateParams struct {

	/* Body.

	   User details
	*/
	Body *models.UsersUserUpdatePayload

	/* ID.

	   User identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserUpdateParams contains all the parameters to send to the API endpoint

for the user update operation.

Typically these are written to a http.Request.

func NewUserUpdateParams ¶

func NewUserUpdateParams() *UserUpdateParams

NewUserUpdateParams creates a new UserUpdateParams 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 NewUserUpdateParamsWithContext ¶

func NewUserUpdateParamsWithContext(ctx context.Context) *UserUpdateParams

NewUserUpdateParamsWithContext creates a new UserUpdateParams object with the ability to set a context for a request.

func NewUserUpdateParamsWithHTTPClient ¶

func NewUserUpdateParamsWithHTTPClient(client *http.Client) *UserUpdateParams

NewUserUpdateParamsWithHTTPClient creates a new UserUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewUserUpdateParamsWithTimeout ¶

func NewUserUpdateParamsWithTimeout(timeout time.Duration) *UserUpdateParams

NewUserUpdateParamsWithTimeout creates a new UserUpdateParams object with the ability to set a timeout on a request.

func (*UserUpdateParams) SetBody ¶

SetBody adds the body to the user update params

func (*UserUpdateParams) SetContext ¶

func (o *UserUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the user update params

func (*UserUpdateParams) SetDefaults ¶

func (o *UserUpdateParams) SetDefaults()

SetDefaults hydrates default values in the user update params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateParams) SetHTTPClient ¶

func (o *UserUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user update params

func (*UserUpdateParams) SetID ¶

func (o *UserUpdateParams) SetID(id int64)

SetID adds the id to the user update params

func (*UserUpdateParams) SetTimeout ¶

func (o *UserUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user update params

func (*UserUpdateParams) WithBody ¶

WithBody adds the body to the user update params

func (*UserUpdateParams) WithContext ¶

func (o *UserUpdateParams) WithContext(ctx context.Context) *UserUpdateParams

WithContext adds the context to the user update params

func (*UserUpdateParams) WithDefaults ¶

func (o *UserUpdateParams) WithDefaults() *UserUpdateParams

WithDefaults hydrates default values in the user update params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateParams) WithHTTPClient ¶

func (o *UserUpdateParams) WithHTTPClient(client *http.Client) *UserUpdateParams

WithHTTPClient adds the HTTPClient to the user update params

func (*UserUpdateParams) WithID ¶

func (o *UserUpdateParams) WithID(id int64) *UserUpdateParams

WithID adds the id to the user update params

func (*UserUpdateParams) WithTimeout ¶

func (o *UserUpdateParams) WithTimeout(timeout time.Duration) *UserUpdateParams

WithTimeout adds the timeout to the user update params

func (*UserUpdateParams) WriteToRequest ¶

func (o *UserUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserUpdatePasswordBadRequest ¶

type UserUpdatePasswordBadRequest struct {
}

UserUpdatePasswordBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUserUpdatePasswordBadRequest ¶

func NewUserUpdatePasswordBadRequest() *UserUpdatePasswordBadRequest

NewUserUpdatePasswordBadRequest creates a UserUpdatePasswordBadRequest with default headers values

func (*UserUpdatePasswordBadRequest) Code ¶

Code gets the status code for the user update password bad request response

func (*UserUpdatePasswordBadRequest) Error ¶

func (*UserUpdatePasswordBadRequest) IsClientError ¶

func (o *UserUpdatePasswordBadRequest) IsClientError() bool

IsClientError returns true when this user update password bad request response has a 4xx status code

func (*UserUpdatePasswordBadRequest) IsCode ¶

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

IsCode returns true when this user update password bad request response a status code equal to that given

func (*UserUpdatePasswordBadRequest) IsRedirect ¶

func (o *UserUpdatePasswordBadRequest) IsRedirect() bool

IsRedirect returns true when this user update password bad request response has a 3xx status code

func (*UserUpdatePasswordBadRequest) IsServerError ¶

func (o *UserUpdatePasswordBadRequest) IsServerError() bool

IsServerError returns true when this user update password bad request response has a 5xx status code

func (*UserUpdatePasswordBadRequest) IsSuccess ¶

func (o *UserUpdatePasswordBadRequest) IsSuccess() bool

IsSuccess returns true when this user update password bad request response has a 2xx status code

func (*UserUpdatePasswordBadRequest) String ¶

type UserUpdatePasswordForbidden ¶

type UserUpdatePasswordForbidden struct {
}

UserUpdatePasswordForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUserUpdatePasswordForbidden ¶

func NewUserUpdatePasswordForbidden() *UserUpdatePasswordForbidden

NewUserUpdatePasswordForbidden creates a UserUpdatePasswordForbidden with default headers values

func (*UserUpdatePasswordForbidden) Code ¶

func (o *UserUpdatePasswordForbidden) Code() int

Code gets the status code for the user update password forbidden response

func (*UserUpdatePasswordForbidden) Error ¶

func (*UserUpdatePasswordForbidden) IsClientError ¶

func (o *UserUpdatePasswordForbidden) IsClientError() bool

IsClientError returns true when this user update password forbidden response has a 4xx status code

func (*UserUpdatePasswordForbidden) IsCode ¶

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

IsCode returns true when this user update password forbidden response a status code equal to that given

func (*UserUpdatePasswordForbidden) IsRedirect ¶

func (o *UserUpdatePasswordForbidden) IsRedirect() bool

IsRedirect returns true when this user update password forbidden response has a 3xx status code

func (*UserUpdatePasswordForbidden) IsServerError ¶

func (o *UserUpdatePasswordForbidden) IsServerError() bool

IsServerError returns true when this user update password forbidden response has a 5xx status code

func (*UserUpdatePasswordForbidden) IsSuccess ¶

func (o *UserUpdatePasswordForbidden) IsSuccess() bool

IsSuccess returns true when this user update password forbidden response has a 2xx status code

func (*UserUpdatePasswordForbidden) String ¶

func (o *UserUpdatePasswordForbidden) String() string

type UserUpdatePasswordInternalServerError ¶

type UserUpdatePasswordInternalServerError struct {
}

UserUpdatePasswordInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUserUpdatePasswordInternalServerError ¶

func NewUserUpdatePasswordInternalServerError() *UserUpdatePasswordInternalServerError

NewUserUpdatePasswordInternalServerError creates a UserUpdatePasswordInternalServerError with default headers values

func (*UserUpdatePasswordInternalServerError) Code ¶

Code gets the status code for the user update password internal server error response

func (*UserUpdatePasswordInternalServerError) Error ¶

func (*UserUpdatePasswordInternalServerError) IsClientError ¶

func (o *UserUpdatePasswordInternalServerError) IsClientError() bool

IsClientError returns true when this user update password internal server error response has a 4xx status code

func (*UserUpdatePasswordInternalServerError) IsCode ¶

IsCode returns true when this user update password internal server error response a status code equal to that given

func (*UserUpdatePasswordInternalServerError) IsRedirect ¶

IsRedirect returns true when this user update password internal server error response has a 3xx status code

func (*UserUpdatePasswordInternalServerError) IsServerError ¶

func (o *UserUpdatePasswordInternalServerError) IsServerError() bool

IsServerError returns true when this user update password internal server error response has a 5xx status code

func (*UserUpdatePasswordInternalServerError) IsSuccess ¶

IsSuccess returns true when this user update password internal server error response has a 2xx status code

func (*UserUpdatePasswordInternalServerError) String ¶

type UserUpdatePasswordNoContent ¶

type UserUpdatePasswordNoContent struct {
}

UserUpdatePasswordNoContent describes a response with status code 204, with default header values.

Success

func NewUserUpdatePasswordNoContent ¶

func NewUserUpdatePasswordNoContent() *UserUpdatePasswordNoContent

NewUserUpdatePasswordNoContent creates a UserUpdatePasswordNoContent with default headers values

func (*UserUpdatePasswordNoContent) Code ¶

func (o *UserUpdatePasswordNoContent) Code() int

Code gets the status code for the user update password no content response

func (*UserUpdatePasswordNoContent) Error ¶

func (*UserUpdatePasswordNoContent) IsClientError ¶

func (o *UserUpdatePasswordNoContent) IsClientError() bool

IsClientError returns true when this user update password no content response has a 4xx status code

func (*UserUpdatePasswordNoContent) IsCode ¶

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

IsCode returns true when this user update password no content response a status code equal to that given

func (*UserUpdatePasswordNoContent) IsRedirect ¶

func (o *UserUpdatePasswordNoContent) IsRedirect() bool

IsRedirect returns true when this user update password no content response has a 3xx status code

func (*UserUpdatePasswordNoContent) IsServerError ¶

func (o *UserUpdatePasswordNoContent) IsServerError() bool

IsServerError returns true when this user update password no content response has a 5xx status code

func (*UserUpdatePasswordNoContent) IsSuccess ¶

func (o *UserUpdatePasswordNoContent) IsSuccess() bool

IsSuccess returns true when this user update password no content response has a 2xx status code

func (*UserUpdatePasswordNoContent) String ¶

func (o *UserUpdatePasswordNoContent) String() string

type UserUpdatePasswordNotFound ¶

type UserUpdatePasswordNotFound struct {
}

UserUpdatePasswordNotFound describes a response with status code 404, with default header values.

User not found

func NewUserUpdatePasswordNotFound ¶

func NewUserUpdatePasswordNotFound() *UserUpdatePasswordNotFound

NewUserUpdatePasswordNotFound creates a UserUpdatePasswordNotFound with default headers values

func (*UserUpdatePasswordNotFound) Code ¶

func (o *UserUpdatePasswordNotFound) Code() int

Code gets the status code for the user update password not found response

func (*UserUpdatePasswordNotFound) Error ¶

func (*UserUpdatePasswordNotFound) IsClientError ¶

func (o *UserUpdatePasswordNotFound) IsClientError() bool

IsClientError returns true when this user update password not found response has a 4xx status code

func (*UserUpdatePasswordNotFound) IsCode ¶

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

IsCode returns true when this user update password not found response a status code equal to that given

func (*UserUpdatePasswordNotFound) IsRedirect ¶

func (o *UserUpdatePasswordNotFound) IsRedirect() bool

IsRedirect returns true when this user update password not found response has a 3xx status code

func (*UserUpdatePasswordNotFound) IsServerError ¶

func (o *UserUpdatePasswordNotFound) IsServerError() bool

IsServerError returns true when this user update password not found response has a 5xx status code

func (*UserUpdatePasswordNotFound) IsSuccess ¶

func (o *UserUpdatePasswordNotFound) IsSuccess() bool

IsSuccess returns true when this user update password not found response has a 2xx status code

func (*UserUpdatePasswordNotFound) String ¶

func (o *UserUpdatePasswordNotFound) String() string

type UserUpdatePasswordParams ¶

type UserUpdatePasswordParams struct {

	/* Body.

	   details
	*/
	Body *models.UsersUserUpdatePasswordPayload

	/* ID.

	   identifier
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserUpdatePasswordParams contains all the parameters to send to the API endpoint

for the user update password operation.

Typically these are written to a http.Request.

func NewUserUpdatePasswordParams ¶

func NewUserUpdatePasswordParams() *UserUpdatePasswordParams

NewUserUpdatePasswordParams creates a new UserUpdatePasswordParams 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 NewUserUpdatePasswordParamsWithContext ¶

func NewUserUpdatePasswordParamsWithContext(ctx context.Context) *UserUpdatePasswordParams

NewUserUpdatePasswordParamsWithContext creates a new UserUpdatePasswordParams object with the ability to set a context for a request.

func NewUserUpdatePasswordParamsWithHTTPClient ¶

func NewUserUpdatePasswordParamsWithHTTPClient(client *http.Client) *UserUpdatePasswordParams

NewUserUpdatePasswordParamsWithHTTPClient creates a new UserUpdatePasswordParams object with the ability to set a custom HTTPClient for a request.

func NewUserUpdatePasswordParamsWithTimeout ¶

func NewUserUpdatePasswordParamsWithTimeout(timeout time.Duration) *UserUpdatePasswordParams

NewUserUpdatePasswordParamsWithTimeout creates a new UserUpdatePasswordParams object with the ability to set a timeout on a request.

func (*UserUpdatePasswordParams) SetBody ¶

SetBody adds the body to the user update password params

func (*UserUpdatePasswordParams) SetContext ¶

func (o *UserUpdatePasswordParams) SetContext(ctx context.Context)

SetContext adds the context to the user update password params

func (*UserUpdatePasswordParams) SetDefaults ¶

func (o *UserUpdatePasswordParams) SetDefaults()

SetDefaults hydrates default values in the user update password params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdatePasswordParams) SetHTTPClient ¶

func (o *UserUpdatePasswordParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user update password params

func (*UserUpdatePasswordParams) SetID ¶

func (o *UserUpdatePasswordParams) SetID(id int64)

SetID adds the id to the user update password params

func (*UserUpdatePasswordParams) SetTimeout ¶

func (o *UserUpdatePasswordParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user update password params

func (*UserUpdatePasswordParams) WithBody ¶

WithBody adds the body to the user update password params

func (*UserUpdatePasswordParams) WithContext ¶

WithContext adds the context to the user update password params

func (*UserUpdatePasswordParams) WithDefaults ¶

WithDefaults hydrates default values in the user update password params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdatePasswordParams) WithHTTPClient ¶

func (o *UserUpdatePasswordParams) WithHTTPClient(client *http.Client) *UserUpdatePasswordParams

WithHTTPClient adds the HTTPClient to the user update password params

func (*UserUpdatePasswordParams) WithID ¶

WithID adds the id to the user update password params

func (*UserUpdatePasswordParams) WithTimeout ¶

WithTimeout adds the timeout to the user update password params

func (*UserUpdatePasswordParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UserUpdatePasswordReader ¶

type UserUpdatePasswordReader struct {
	// contains filtered or unexported fields
}

UserUpdatePasswordReader is a Reader for the UserUpdatePassword structure.

func (*UserUpdatePasswordReader) ReadResponse ¶

func (o *UserUpdatePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserUpdateReader ¶

type UserUpdateReader struct {
	// contains filtered or unexported fields
}

UserUpdateReader is a Reader for the UserUpdate structure.

func (*UserUpdateReader) ReadResponse ¶

func (o *UserUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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