user

package
v0.0.0-...-078138e Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptTextHTML

func WithAcceptTextHTML(r *runtime.ClientOperation)

WithAcceptTextHTML sets the Accept header to "text/html".

func WithAcceptTextPlain

func WithAcceptTextPlain(r *runtime.ClientOperation)

WithAcceptTextPlain sets the Accept header to "text/plain".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeTextPlain

func WithContentTypeTextPlain(r *runtime.ClientOperation)

WithContentTypeTextPlain sets the Content-Type header to "text/plain".

Types

type Client

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

Client for user API

func (*Client) CreateUserVariable

CreateUserVariable creates a user level variable

func (*Client) DeleteUserSecret

func (a *Client) DeleteUserSecret(params *DeleteUserSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserSecretNoContent, error)

DeleteUserSecret deletes a secret in a user scope

func (*Client) DeleteUserVariable

DeleteUserVariable deletes a user level variable which is created by current doer

func (*Client) GetUserSettings

func (a *Client) GetUserSettings(params *GetUserSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserSettingsOK, error)

GetUserSettings gets user settings

func (*Client) GetUserVariable

func (a *Client) GetUserVariable(params *GetUserVariableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserVariableOK, error)

GetUserVariable gets a user level variable which is created by current doer

func (*Client) GetUserVariablesList

func (a *Client) GetUserVariablesList(params *GetUserVariablesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserVariablesListOK, error)

GetUserVariablesList gets the user level list of variables which is created by current doer

func (*Client) GetVerificationToken

func (a *Client) GetVerificationToken(params *GetVerificationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVerificationTokenOK, error)

GetVerificationToken gets a token to verify

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateUserSecret

UpdateUserSecret creates or update a secret value in a user scope

func (*Client) UpdateUserSettings

func (a *Client) UpdateUserSettings(params *UpdateUserSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserSettingsOK, error)

UpdateUserSettings updates user settings

func (*Client) UpdateUserVariable

UpdateUserVariable updates a user level variable which is created by current doer

func (*Client) UserAddEmail

func (a *Client) UserAddEmail(params *UserAddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserAddEmailCreated, error)

UserAddEmail adds email addresses

func (*Client) UserBlockUser

func (a *Client) UserBlockUser(params *UserBlockUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserBlockUserNoContent, error)

UserBlockUser blocks a user

func (*Client) UserCheckFollowing

func (a *Client) UserCheckFollowing(params *UserCheckFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCheckFollowingNoContent, error)

UserCheckFollowing checks if one user is following another user

func (*Client) UserCheckUserBlock

func (a *Client) UserCheckUserBlock(params *UserCheckUserBlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCheckUserBlockNoContent, error)

UserCheckUserBlock checks if a user is blocked by the authenticated user

func (*Client) UserCreateHook

func (a *Client) UserCreateHook(params *UserCreateHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateHookCreated, error)

UserCreateHook creates a hook

func (*Client) UserCreateOAuth2Application

func (a *Client) UserCreateOAuth2Application(params *UserCreateOAuth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateOAuth2ApplicationCreated, error)

UserCreateOAuth2Application creates a new o auth2 application

func (*Client) UserCreateToken

func (a *Client) UserCreateToken(params *UserCreateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateTokenCreated, error)

UserCreateToken creates an access token

func (*Client) UserCurrentCheckFollowing

UserCurrentCheckFollowing checks whether a user is followed by the authenticated user

func (*Client) UserCurrentCheckStarring

UserCurrentCheckStarring whethers the authenticated is starring the repo

func (*Client) UserCurrentDeleteFollow

func (a *Client) UserCurrentDeleteFollow(params *UserCurrentDeleteFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteFollowNoContent, error)

UserCurrentDeleteFollow unfollows a user

func (*Client) UserCurrentDeleteGPGKey

func (a *Client) UserCurrentDeleteGPGKey(params *UserCurrentDeleteGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteGPGKeyNoContent, error)

UserCurrentDeleteGPGKey removes a g p g key

func (*Client) UserCurrentDeleteKey

func (a *Client) UserCurrentDeleteKey(params *UserCurrentDeleteKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteKeyNoContent, error)

UserCurrentDeleteKey deletes a public key

func (*Client) UserCurrentDeleteStar

func (a *Client) UserCurrentDeleteStar(params *UserCurrentDeleteStarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteStarNoContent, error)

UserCurrentDeleteStar unstars the given repo

func (*Client) UserCurrentGetGPGKey

func (a *Client) UserCurrentGetGPGKey(params *UserCurrentGetGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentGetGPGKeyOK, error)

UserCurrentGetGPGKey gets a g p g key

func (*Client) UserCurrentGetKey

func (a *Client) UserCurrentGetKey(params *UserCurrentGetKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentGetKeyOK, error)

UserCurrentGetKey gets a public key

func (*Client) UserCurrentListFollowers

func (a *Client) UserCurrentListFollowers(params *UserCurrentListFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListFollowersOK, error)

UserCurrentListFollowers lists the authenticated user s followers

func (*Client) UserCurrentListFollowing

func (a *Client) UserCurrentListFollowing(params *UserCurrentListFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListFollowingOK, error)

UserCurrentListFollowing lists the users that the authenticated user is following

func (*Client) UserCurrentListGPGKeys

func (a *Client) UserCurrentListGPGKeys(params *UserCurrentListGPGKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListGPGKeysOK, error)

UserCurrentListGPGKeys lists the authenticated user s g p g keys

func (*Client) UserCurrentListKeys

func (a *Client) UserCurrentListKeys(params *UserCurrentListKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListKeysOK, error)

UserCurrentListKeys lists the authenticated user s public keys

func (*Client) UserCurrentListRepos

func (a *Client) UserCurrentListRepos(params *UserCurrentListReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListReposOK, error)

UserCurrentListRepos lists the repos that the authenticated user owns

func (*Client) UserCurrentListStarred

func (a *Client) UserCurrentListStarred(params *UserCurrentListStarredParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListStarredOK, error)

UserCurrentListStarred thes repos that the authenticated user has starred

func (*Client) UserCurrentListSubscriptions

func (a *Client) UserCurrentListSubscriptions(params *UserCurrentListSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListSubscriptionsOK, error)

UserCurrentListSubscriptions lists repositories watched by the authenticated user

func (*Client) UserCurrentPostGPGKey

func (a *Client) UserCurrentPostGPGKey(params *UserCurrentPostGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPostGPGKeyCreated, error)

UserCurrentPostGPGKey creates a g p g key

func (*Client) UserCurrentPostKey

func (a *Client) UserCurrentPostKey(params *UserCurrentPostKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPostKeyCreated, error)

UserCurrentPostKey creates a public key

func (*Client) UserCurrentPutFollow

func (a *Client) UserCurrentPutFollow(params *UserCurrentPutFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPutFollowNoContent, error)

UserCurrentPutFollow follows a user

func (*Client) UserCurrentPutStar

func (a *Client) UserCurrentPutStar(params *UserCurrentPutStarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPutStarNoContent, error)

UserCurrentPutStar stars the given repo

func (*Client) UserCurrentTrackedTimes

func (a *Client) UserCurrentTrackedTimes(params *UserCurrentTrackedTimesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentTrackedTimesOK, error)

UserCurrentTrackedTimes lists the current user s tracked times

func (*Client) UserDeleteAccessToken

func (a *Client) UserDeleteAccessToken(params *UserDeleteAccessTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteAccessTokenNoContent, error)

UserDeleteAccessToken deletes an access token

func (*Client) UserDeleteAvatar

func (a *Client) UserDeleteAvatar(params *UserDeleteAvatarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteAvatarNoContent, error)

UserDeleteAvatar deletes avatar

func (*Client) UserDeleteEmail

func (a *Client) UserDeleteEmail(params *UserDeleteEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteEmailNoContent, error)

UserDeleteEmail deletes email addresses

func (*Client) UserDeleteHook

func (a *Client) UserDeleteHook(params *UserDeleteHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteHookNoContent, error)

UserDeleteHook deletes a hook

func (*Client) UserDeleteOAuth2Application

UserDeleteOAuth2Application deletes an o auth2 application

func (*Client) UserEditHook

func (a *Client) UserEditHook(params *UserEditHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserEditHookOK, error)

UserEditHook updates a hook

func (*Client) UserGet

func (a *Client) UserGet(params *UserGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetOK, error)

UserGet gets a user

func (*Client) UserGetCurrent

func (a *Client) UserGetCurrent(params *UserGetCurrentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetCurrentOK, error)

UserGetCurrent gets the authenticated user

func (*Client) UserGetHeatmapData

func (a *Client) UserGetHeatmapData(params *UserGetHeatmapDataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetHeatmapDataOK, error)

UserGetHeatmapData gets a user s heatmap

func (*Client) UserGetHook

func (a *Client) UserGetHook(params *UserGetHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetHookOK, error)

UserGetHook gets a hook

func (*Client) UserGetOAuth2Application

func (a *Client) UserGetOAuth2Application(params *UserGetOAuth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetOAuth2ApplicationOK, error)

UserGetOAuth2Application gets an o auth2 application

func (*Client) UserGetOauth2Application

func (a *Client) UserGetOauth2Application(params *UserGetOauth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetOauth2ApplicationOK, error)

UserGetOauth2Application lists the authenticated user s oauth2 applications

func (*Client) UserGetRunnerRegistrationToken

func (a *Client) UserGetRunnerRegistrationToken(params *UserGetRunnerRegistrationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetRunnerRegistrationTokenOK, error)

UserGetRunnerRegistrationToken gets an user s actions runner registration token

func (*Client) UserGetStopWatches

func (a *Client) UserGetStopWatches(params *UserGetStopWatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetStopWatchesOK, error)

UserGetStopWatches gets list of all existing stopwatches

func (*Client) UserGetTokens

func (a *Client) UserGetTokens(params *UserGetTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetTokensOK, error)

UserGetTokens lists the authenticated user s access tokens

func (*Client) UserListActivityFeeds

func (a *Client) UserListActivityFeeds(params *UserListActivityFeedsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListActivityFeedsOK, error)

UserListActivityFeeds lists a user s activity feeds

func (*Client) UserListBlocks

func (a *Client) UserListBlocks(params *UserListBlocksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListBlocksOK, error)

UserListBlocks lists users blocked by the authenticated user

func (*Client) UserListEmails

func (a *Client) UserListEmails(params *UserListEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListEmailsOK, error)

UserListEmails lists the authenticated user s email addresses

func (*Client) UserListFollowers

func (a *Client) UserListFollowers(params *UserListFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListFollowersOK, error)

UserListFollowers lists the given user s followers

func (*Client) UserListFollowing

func (a *Client) UserListFollowing(params *UserListFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListFollowingOK, error)

UserListFollowing lists the users that the given user is following

func (*Client) UserListGPGKeys

func (a *Client) UserListGPGKeys(params *UserListGPGKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListGPGKeysOK, error)

UserListGPGKeys lists the given user s g p g keys

func (*Client) UserListHooks

func (a *Client) UserListHooks(params *UserListHooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListHooksOK, error)

UserListHooks lists the authenticated user s webhooks

func (*Client) UserListKeys

func (a *Client) UserListKeys(params *UserListKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListKeysOK, error)

UserListKeys lists the given user s public keys

func (*Client) UserListRepos

func (a *Client) UserListRepos(params *UserListReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListReposOK, error)

UserListRepos lists the repos owned by the given user

func (*Client) UserListStarred

func (a *Client) UserListStarred(params *UserListStarredParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListStarredOK, error)

UserListStarred thes repos that the given user has starred

func (*Client) UserListSubscriptions

func (a *Client) UserListSubscriptions(params *UserListSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListSubscriptionsOK, error)

UserListSubscriptions lists the repositories watched by a user

func (*Client) UserListTeams

func (a *Client) UserListTeams(params *UserListTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListTeamsOK, error)

UserListTeams lists all the teams a user belongs to

func (*Client) UserSearch

func (a *Client) UserSearch(params *UserSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserSearchOK, error)

UserSearch searches for users

func (*Client) UserUnblockUser

func (a *Client) UserUnblockUser(params *UserUnblockUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUnblockUserNoContent, error)

UserUnblockUser unblocks a user

func (*Client) UserUpdateAvatar

func (a *Client) UserUpdateAvatar(params *UserUpdateAvatarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateAvatarNoContent, error)

UserUpdateAvatar updates avatar

func (*Client) UserUpdateOAuth2Application

func (a *Client) UserUpdateOAuth2Application(params *UserUpdateOAuth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOAuth2ApplicationOK, error)

UserUpdateOAuth2Application updates an o auth2 application this includes regenerating the client secret

func (*Client) UserVerifyGPGKey

func (a *Client) UserVerifyGPGKey(params *UserVerifyGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserVerifyGPGKeyCreated, error)

UserVerifyGPGKey verifies a g p g key

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	CreateUserVariable(params *CreateUserVariableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserVariableCreated, *CreateUserVariableNoContent, error)

	DeleteUserSecret(params *DeleteUserSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserSecretNoContent, error)

	DeleteUserVariable(params *DeleteUserVariableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserVariableCreated, *DeleteUserVariableNoContent, error)

	GetUserSettings(params *GetUserSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserSettingsOK, error)

	GetUserVariable(params *GetUserVariableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserVariableOK, error)

	GetUserVariablesList(params *GetUserVariablesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserVariablesListOK, error)

	GetVerificationToken(params *GetVerificationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVerificationTokenOK, error)

	UpdateUserSecret(params *UpdateUserSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserSecretCreated, *UpdateUserSecretNoContent, error)

	UpdateUserSettings(params *UpdateUserSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserSettingsOK, error)

	UpdateUserVariable(params *UpdateUserVariableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserVariableCreated, *UpdateUserVariableNoContent, error)

	UserAddEmail(params *UserAddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserAddEmailCreated, error)

	UserBlockUser(params *UserBlockUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserBlockUserNoContent, error)

	UserCheckFollowing(params *UserCheckFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCheckFollowingNoContent, error)

	UserCheckUserBlock(params *UserCheckUserBlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCheckUserBlockNoContent, error)

	UserCreateHook(params *UserCreateHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateHookCreated, error)

	UserCreateOAuth2Application(params *UserCreateOAuth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateOAuth2ApplicationCreated, error)

	UserCreateToken(params *UserCreateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateTokenCreated, error)

	UserCurrentCheckFollowing(params *UserCurrentCheckFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentCheckFollowingNoContent, error)

	UserCurrentCheckStarring(params *UserCurrentCheckStarringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentCheckStarringNoContent, error)

	UserCurrentDeleteFollow(params *UserCurrentDeleteFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteFollowNoContent, error)

	UserCurrentDeleteGPGKey(params *UserCurrentDeleteGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteGPGKeyNoContent, error)

	UserCurrentDeleteKey(params *UserCurrentDeleteKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteKeyNoContent, error)

	UserCurrentDeleteStar(params *UserCurrentDeleteStarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentDeleteStarNoContent, error)

	UserCurrentGetGPGKey(params *UserCurrentGetGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentGetGPGKeyOK, error)

	UserCurrentGetKey(params *UserCurrentGetKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentGetKeyOK, error)

	UserCurrentListFollowers(params *UserCurrentListFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListFollowersOK, error)

	UserCurrentListFollowing(params *UserCurrentListFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListFollowingOK, error)

	UserCurrentListGPGKeys(params *UserCurrentListGPGKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListGPGKeysOK, error)

	UserCurrentListKeys(params *UserCurrentListKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListKeysOK, error)

	UserCurrentListRepos(params *UserCurrentListReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListReposOK, error)

	UserCurrentListStarred(params *UserCurrentListStarredParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListStarredOK, error)

	UserCurrentListSubscriptions(params *UserCurrentListSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentListSubscriptionsOK, error)

	UserCurrentPostGPGKey(params *UserCurrentPostGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPostGPGKeyCreated, error)

	UserCurrentPostKey(params *UserCurrentPostKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPostKeyCreated, error)

	UserCurrentPutFollow(params *UserCurrentPutFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPutFollowNoContent, error)

	UserCurrentPutStar(params *UserCurrentPutStarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentPutStarNoContent, error)

	UserCurrentTrackedTimes(params *UserCurrentTrackedTimesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCurrentTrackedTimesOK, error)

	UserDeleteAccessToken(params *UserDeleteAccessTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteAccessTokenNoContent, error)

	UserDeleteAvatar(params *UserDeleteAvatarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteAvatarNoContent, error)

	UserDeleteEmail(params *UserDeleteEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteEmailNoContent, error)

	UserDeleteHook(params *UserDeleteHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteHookNoContent, error)

	UserDeleteOAuth2Application(params *UserDeleteOAuth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteOAuth2ApplicationNoContent, error)

	UserEditHook(params *UserEditHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserEditHookOK, error)

	UserGet(params *UserGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetOK, error)

	UserGetCurrent(params *UserGetCurrentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetCurrentOK, error)

	UserGetHeatmapData(params *UserGetHeatmapDataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetHeatmapDataOK, error)

	UserGetHook(params *UserGetHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetHookOK, error)

	UserGetOAuth2Application(params *UserGetOAuth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetOAuth2ApplicationOK, error)

	UserGetOauth2Application(params *UserGetOauth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetOauth2ApplicationOK, error)

	UserGetRunnerRegistrationToken(params *UserGetRunnerRegistrationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetRunnerRegistrationTokenOK, error)

	UserGetStopWatches(params *UserGetStopWatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetStopWatchesOK, error)

	UserGetTokens(params *UserGetTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetTokensOK, error)

	UserListActivityFeeds(params *UserListActivityFeedsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListActivityFeedsOK, error)

	UserListBlocks(params *UserListBlocksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListBlocksOK, error)

	UserListEmails(params *UserListEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListEmailsOK, error)

	UserListFollowers(params *UserListFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListFollowersOK, error)

	UserListFollowing(params *UserListFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListFollowingOK, error)

	UserListGPGKeys(params *UserListGPGKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListGPGKeysOK, error)

	UserListHooks(params *UserListHooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListHooksOK, error)

	UserListKeys(params *UserListKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListKeysOK, error)

	UserListRepos(params *UserListReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListReposOK, error)

	UserListStarred(params *UserListStarredParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListStarredOK, error)

	UserListSubscriptions(params *UserListSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListSubscriptionsOK, error)

	UserListTeams(params *UserListTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListTeamsOK, error)

	UserSearch(params *UserSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserSearchOK, error)

	UserUnblockUser(params *UserUnblockUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUnblockUserNoContent, error)

	UserUpdateAvatar(params *UserUpdateAvatarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateAvatarNoContent, error)

	UserUpdateOAuth2Application(params *UserUpdateOAuth2ApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOAuth2ApplicationOK, error)

	UserVerifyGPGKey(params *UserVerifyGPGKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserVerifyGPGKeyCreated, 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 user API client.

func NewClientWithBasicAuth

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

New creates a new user 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 user 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 CreateUserVariableBadRequest

type CreateUserVariableBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewCreateUserVariableBadRequest

func NewCreateUserVariableBadRequest() *CreateUserVariableBadRequest

NewCreateUserVariableBadRequest creates a CreateUserVariableBadRequest with default headers values

func (*CreateUserVariableBadRequest) Code

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

func (*CreateUserVariableBadRequest) Error

func (*CreateUserVariableBadRequest) IsClientError

func (o *CreateUserVariableBadRequest) IsClientError() bool

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

func (*CreateUserVariableBadRequest) IsCode

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

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

func (*CreateUserVariableBadRequest) IsRedirect

func (o *CreateUserVariableBadRequest) IsRedirect() bool

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

func (*CreateUserVariableBadRequest) IsServerError

func (o *CreateUserVariableBadRequest) IsServerError() bool

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

func (*CreateUserVariableBadRequest) IsSuccess

func (o *CreateUserVariableBadRequest) IsSuccess() bool

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

func (*CreateUserVariableBadRequest) String

type CreateUserVariableCreated

type CreateUserVariableCreated struct {
}

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

response when creating a variable

func NewCreateUserVariableCreated

func NewCreateUserVariableCreated() *CreateUserVariableCreated

NewCreateUserVariableCreated creates a CreateUserVariableCreated with default headers values

func (*CreateUserVariableCreated) Code

func (o *CreateUserVariableCreated) Code() int

Code gets the status code for the create user variable created response

func (*CreateUserVariableCreated) Error

func (o *CreateUserVariableCreated) Error() string

func (*CreateUserVariableCreated) IsClientError

func (o *CreateUserVariableCreated) IsClientError() bool

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

func (*CreateUserVariableCreated) IsCode

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

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

func (*CreateUserVariableCreated) IsRedirect

func (o *CreateUserVariableCreated) IsRedirect() bool

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

func (*CreateUserVariableCreated) IsServerError

func (o *CreateUserVariableCreated) IsServerError() bool

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

func (*CreateUserVariableCreated) IsSuccess

func (o *CreateUserVariableCreated) IsSuccess() bool

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

func (*CreateUserVariableCreated) String

func (o *CreateUserVariableCreated) String() string

type CreateUserVariableNoContent

type CreateUserVariableNoContent struct {
}

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

response when creating a variable

func NewCreateUserVariableNoContent

func NewCreateUserVariableNoContent() *CreateUserVariableNoContent

NewCreateUserVariableNoContent creates a CreateUserVariableNoContent with default headers values

func (*CreateUserVariableNoContent) Code

func (o *CreateUserVariableNoContent) Code() int

Code gets the status code for the create user variable no content response

func (*CreateUserVariableNoContent) Error

func (*CreateUserVariableNoContent) IsClientError

func (o *CreateUserVariableNoContent) IsClientError() bool

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

func (*CreateUserVariableNoContent) IsCode

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

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

func (*CreateUserVariableNoContent) IsRedirect

func (o *CreateUserVariableNoContent) IsRedirect() bool

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

func (*CreateUserVariableNoContent) IsServerError

func (o *CreateUserVariableNoContent) IsServerError() bool

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

func (*CreateUserVariableNoContent) IsSuccess

func (o *CreateUserVariableNoContent) IsSuccess() bool

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

func (*CreateUserVariableNoContent) String

func (o *CreateUserVariableNoContent) String() string

type CreateUserVariableNotFound

type CreateUserVariableNotFound struct {
}

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

APINotFound is a not found empty response

func NewCreateUserVariableNotFound

func NewCreateUserVariableNotFound() *CreateUserVariableNotFound

NewCreateUserVariableNotFound creates a CreateUserVariableNotFound with default headers values

func (*CreateUserVariableNotFound) Code

func (o *CreateUserVariableNotFound) Code() int

Code gets the status code for the create user variable not found response

func (*CreateUserVariableNotFound) Error

func (*CreateUserVariableNotFound) IsClientError

func (o *CreateUserVariableNotFound) IsClientError() bool

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

func (*CreateUserVariableNotFound) IsCode

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

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

func (*CreateUserVariableNotFound) IsRedirect

func (o *CreateUserVariableNotFound) IsRedirect() bool

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

func (*CreateUserVariableNotFound) IsServerError

func (o *CreateUserVariableNotFound) IsServerError() bool

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

func (*CreateUserVariableNotFound) IsSuccess

func (o *CreateUserVariableNotFound) IsSuccess() bool

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

func (*CreateUserVariableNotFound) String

func (o *CreateUserVariableNotFound) String() string

type CreateUserVariableParams

type CreateUserVariableParams struct {

	// Body.
	Body *models.CreateVariableOption

	/* Variablename.

	   name of the variable
	*/
	Variablename string

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

CreateUserVariableParams contains all the parameters to send to the API endpoint

for the create user variable operation.

Typically these are written to a http.Request.

func NewCreateUserVariableParams

func NewCreateUserVariableParams() *CreateUserVariableParams

NewCreateUserVariableParams creates a new CreateUserVariableParams 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 NewCreateUserVariableParamsWithContext

func NewCreateUserVariableParamsWithContext(ctx context.Context) *CreateUserVariableParams

NewCreateUserVariableParamsWithContext creates a new CreateUserVariableParams object with the ability to set a context for a request.

func NewCreateUserVariableParamsWithHTTPClient

func NewCreateUserVariableParamsWithHTTPClient(client *http.Client) *CreateUserVariableParams

NewCreateUserVariableParamsWithHTTPClient creates a new CreateUserVariableParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserVariableParamsWithTimeout

func NewCreateUserVariableParamsWithTimeout(timeout time.Duration) *CreateUserVariableParams

NewCreateUserVariableParamsWithTimeout creates a new CreateUserVariableParams object with the ability to set a timeout on a request.

func (*CreateUserVariableParams) SetBody

SetBody adds the body to the create user variable params

func (*CreateUserVariableParams) SetContext

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

SetContext adds the context to the create user variable params

func (*CreateUserVariableParams) SetDefaults

func (o *CreateUserVariableParams) SetDefaults()

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

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

func (*CreateUserVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user variable params

func (*CreateUserVariableParams) SetTimeout

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

SetTimeout adds the timeout to the create user variable params

func (*CreateUserVariableParams) SetVariablename

func (o *CreateUserVariableParams) SetVariablename(variablename string)

SetVariablename adds the variablename to the create user variable params

func (*CreateUserVariableParams) WithBody

WithBody adds the body to the create user variable params

func (*CreateUserVariableParams) WithContext

WithContext adds the context to the create user variable params

func (*CreateUserVariableParams) WithDefaults

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

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

func (*CreateUserVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user variable params

func (*CreateUserVariableParams) WithTimeout

WithTimeout adds the timeout to the create user variable params

func (*CreateUserVariableParams) WithVariablename

func (o *CreateUserVariableParams) WithVariablename(variablename string) *CreateUserVariableParams

WithVariablename adds the variablename to the create user variable params

func (*CreateUserVariableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateUserVariableReader

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

CreateUserVariableReader is a Reader for the CreateUserVariable structure.

func (*CreateUserVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserSecretBadRequest

type DeleteUserSecretBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewDeleteUserSecretBadRequest

func NewDeleteUserSecretBadRequest() *DeleteUserSecretBadRequest

NewDeleteUserSecretBadRequest creates a DeleteUserSecretBadRequest with default headers values

func (*DeleteUserSecretBadRequest) Code

func (o *DeleteUserSecretBadRequest) Code() int

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

func (*DeleteUserSecretBadRequest) Error

func (*DeleteUserSecretBadRequest) IsClientError

func (o *DeleteUserSecretBadRequest) IsClientError() bool

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

func (*DeleteUserSecretBadRequest) IsCode

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

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

func (*DeleteUserSecretBadRequest) IsRedirect

func (o *DeleteUserSecretBadRequest) IsRedirect() bool

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

func (*DeleteUserSecretBadRequest) IsServerError

func (o *DeleteUserSecretBadRequest) IsServerError() bool

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

func (*DeleteUserSecretBadRequest) IsSuccess

func (o *DeleteUserSecretBadRequest) IsSuccess() bool

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

func (*DeleteUserSecretBadRequest) String

func (o *DeleteUserSecretBadRequest) String() string

type DeleteUserSecretNoContent

type DeleteUserSecretNoContent struct {
}

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

delete one secret of the user

func NewDeleteUserSecretNoContent

func NewDeleteUserSecretNoContent() *DeleteUserSecretNoContent

NewDeleteUserSecretNoContent creates a DeleteUserSecretNoContent with default headers values

func (*DeleteUserSecretNoContent) Code

func (o *DeleteUserSecretNoContent) Code() int

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

func (*DeleteUserSecretNoContent) Error

func (o *DeleteUserSecretNoContent) Error() string

func (*DeleteUserSecretNoContent) IsClientError

func (o *DeleteUserSecretNoContent) IsClientError() bool

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

func (*DeleteUserSecretNoContent) IsCode

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

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

func (*DeleteUserSecretNoContent) IsRedirect

func (o *DeleteUserSecretNoContent) IsRedirect() bool

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

func (*DeleteUserSecretNoContent) IsServerError

func (o *DeleteUserSecretNoContent) IsServerError() bool

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

func (*DeleteUserSecretNoContent) IsSuccess

func (o *DeleteUserSecretNoContent) IsSuccess() bool

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

func (*DeleteUserSecretNoContent) String

func (o *DeleteUserSecretNoContent) String() string

type DeleteUserSecretNotFound

type DeleteUserSecretNotFound struct {
}

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

APINotFound is a not found empty response

func NewDeleteUserSecretNotFound

func NewDeleteUserSecretNotFound() *DeleteUserSecretNotFound

NewDeleteUserSecretNotFound creates a DeleteUserSecretNotFound with default headers values

func (*DeleteUserSecretNotFound) Code

func (o *DeleteUserSecretNotFound) Code() int

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

func (*DeleteUserSecretNotFound) Error

func (o *DeleteUserSecretNotFound) Error() string

func (*DeleteUserSecretNotFound) IsClientError

func (o *DeleteUserSecretNotFound) IsClientError() bool

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

func (*DeleteUserSecretNotFound) IsCode

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

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

func (*DeleteUserSecretNotFound) IsRedirect

func (o *DeleteUserSecretNotFound) IsRedirect() bool

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

func (*DeleteUserSecretNotFound) IsServerError

func (o *DeleteUserSecretNotFound) IsServerError() bool

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

func (*DeleteUserSecretNotFound) IsSuccess

func (o *DeleteUserSecretNotFound) IsSuccess() bool

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

func (*DeleteUserSecretNotFound) String

func (o *DeleteUserSecretNotFound) String() string

type DeleteUserSecretParams

type DeleteUserSecretParams struct {

	/* Secretname.

	   name of the secret
	*/
	Secretname string

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

DeleteUserSecretParams contains all the parameters to send to the API endpoint

for the delete user secret operation.

Typically these are written to a http.Request.

func NewDeleteUserSecretParams

func NewDeleteUserSecretParams() *DeleteUserSecretParams

NewDeleteUserSecretParams creates a new DeleteUserSecretParams 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 NewDeleteUserSecretParamsWithContext

func NewDeleteUserSecretParamsWithContext(ctx context.Context) *DeleteUserSecretParams

NewDeleteUserSecretParamsWithContext creates a new DeleteUserSecretParams object with the ability to set a context for a request.

func NewDeleteUserSecretParamsWithHTTPClient

func NewDeleteUserSecretParamsWithHTTPClient(client *http.Client) *DeleteUserSecretParams

NewDeleteUserSecretParamsWithHTTPClient creates a new DeleteUserSecretParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserSecretParamsWithTimeout

func NewDeleteUserSecretParamsWithTimeout(timeout time.Duration) *DeleteUserSecretParams

NewDeleteUserSecretParamsWithTimeout creates a new DeleteUserSecretParams object with the ability to set a timeout on a request.

func (*DeleteUserSecretParams) SetContext

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

SetContext adds the context to the delete user secret params

func (*DeleteUserSecretParams) SetDefaults

func (o *DeleteUserSecretParams) SetDefaults()

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

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

func (*DeleteUserSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user secret params

func (*DeleteUserSecretParams) SetSecretname

func (o *DeleteUserSecretParams) SetSecretname(secretname string)

SetSecretname adds the secretname to the delete user secret params

func (*DeleteUserSecretParams) SetTimeout

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

SetTimeout adds the timeout to the delete user secret params

func (*DeleteUserSecretParams) WithContext

WithContext adds the context to the delete user secret params

func (*DeleteUserSecretParams) WithDefaults

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

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

func (*DeleteUserSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user secret params

func (*DeleteUserSecretParams) WithSecretname

func (o *DeleteUserSecretParams) WithSecretname(secretname string) *DeleteUserSecretParams

WithSecretname adds the secretname to the delete user secret params

func (*DeleteUserSecretParams) WithTimeout

WithTimeout adds the timeout to the delete user secret params

func (*DeleteUserSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserSecretReader

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

DeleteUserSecretReader is a Reader for the DeleteUserSecret structure.

func (*DeleteUserSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserVariableBadRequest

type DeleteUserVariableBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewDeleteUserVariableBadRequest

func NewDeleteUserVariableBadRequest() *DeleteUserVariableBadRequest

NewDeleteUserVariableBadRequest creates a DeleteUserVariableBadRequest with default headers values

func (*DeleteUserVariableBadRequest) Code

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

func (*DeleteUserVariableBadRequest) Error

func (*DeleteUserVariableBadRequest) IsClientError

func (o *DeleteUserVariableBadRequest) IsClientError() bool

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

func (*DeleteUserVariableBadRequest) IsCode

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

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

func (*DeleteUserVariableBadRequest) IsRedirect

func (o *DeleteUserVariableBadRequest) IsRedirect() bool

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

func (*DeleteUserVariableBadRequest) IsServerError

func (o *DeleteUserVariableBadRequest) IsServerError() bool

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

func (*DeleteUserVariableBadRequest) IsSuccess

func (o *DeleteUserVariableBadRequest) IsSuccess() bool

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

func (*DeleteUserVariableBadRequest) String

type DeleteUserVariableCreated

type DeleteUserVariableCreated struct {
}

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

response when deleting a variable

func NewDeleteUserVariableCreated

func NewDeleteUserVariableCreated() *DeleteUserVariableCreated

NewDeleteUserVariableCreated creates a DeleteUserVariableCreated with default headers values

func (*DeleteUserVariableCreated) Code

func (o *DeleteUserVariableCreated) Code() int

Code gets the status code for the delete user variable created response

func (*DeleteUserVariableCreated) Error

func (o *DeleteUserVariableCreated) Error() string

func (*DeleteUserVariableCreated) IsClientError

func (o *DeleteUserVariableCreated) IsClientError() bool

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

func (*DeleteUserVariableCreated) IsCode

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

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

func (*DeleteUserVariableCreated) IsRedirect

func (o *DeleteUserVariableCreated) IsRedirect() bool

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

func (*DeleteUserVariableCreated) IsServerError

func (o *DeleteUserVariableCreated) IsServerError() bool

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

func (*DeleteUserVariableCreated) IsSuccess

func (o *DeleteUserVariableCreated) IsSuccess() bool

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

func (*DeleteUserVariableCreated) String

func (o *DeleteUserVariableCreated) String() string

type DeleteUserVariableNoContent

type DeleteUserVariableNoContent struct {
}

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

response when deleting a variable

func NewDeleteUserVariableNoContent

func NewDeleteUserVariableNoContent() *DeleteUserVariableNoContent

NewDeleteUserVariableNoContent creates a DeleteUserVariableNoContent with default headers values

func (*DeleteUserVariableNoContent) Code

func (o *DeleteUserVariableNoContent) Code() int

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

func (*DeleteUserVariableNoContent) Error

func (*DeleteUserVariableNoContent) IsClientError

func (o *DeleteUserVariableNoContent) IsClientError() bool

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

func (*DeleteUserVariableNoContent) IsCode

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

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

func (*DeleteUserVariableNoContent) IsRedirect

func (o *DeleteUserVariableNoContent) IsRedirect() bool

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

func (*DeleteUserVariableNoContent) IsServerError

func (o *DeleteUserVariableNoContent) IsServerError() bool

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

func (*DeleteUserVariableNoContent) IsSuccess

func (o *DeleteUserVariableNoContent) IsSuccess() bool

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

func (*DeleteUserVariableNoContent) String

func (o *DeleteUserVariableNoContent) String() string

type DeleteUserVariableNotFound

type DeleteUserVariableNotFound struct {
}

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

APINotFound is a not found empty response

func NewDeleteUserVariableNotFound

func NewDeleteUserVariableNotFound() *DeleteUserVariableNotFound

NewDeleteUserVariableNotFound creates a DeleteUserVariableNotFound with default headers values

func (*DeleteUserVariableNotFound) Code

func (o *DeleteUserVariableNotFound) Code() int

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

func (*DeleteUserVariableNotFound) Error

func (*DeleteUserVariableNotFound) IsClientError

func (o *DeleteUserVariableNotFound) IsClientError() bool

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

func (*DeleteUserVariableNotFound) IsCode

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

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

func (*DeleteUserVariableNotFound) IsRedirect

func (o *DeleteUserVariableNotFound) IsRedirect() bool

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

func (*DeleteUserVariableNotFound) IsServerError

func (o *DeleteUserVariableNotFound) IsServerError() bool

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

func (*DeleteUserVariableNotFound) IsSuccess

func (o *DeleteUserVariableNotFound) IsSuccess() bool

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

func (*DeleteUserVariableNotFound) String

func (o *DeleteUserVariableNotFound) String() string

type DeleteUserVariableParams

type DeleteUserVariableParams struct {

	/* Variablename.

	   name of the variable
	*/
	Variablename string

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

DeleteUserVariableParams contains all the parameters to send to the API endpoint

for the delete user variable operation.

Typically these are written to a http.Request.

func NewDeleteUserVariableParams

func NewDeleteUserVariableParams() *DeleteUserVariableParams

NewDeleteUserVariableParams creates a new DeleteUserVariableParams 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 NewDeleteUserVariableParamsWithContext

func NewDeleteUserVariableParamsWithContext(ctx context.Context) *DeleteUserVariableParams

NewDeleteUserVariableParamsWithContext creates a new DeleteUserVariableParams object with the ability to set a context for a request.

func NewDeleteUserVariableParamsWithHTTPClient

func NewDeleteUserVariableParamsWithHTTPClient(client *http.Client) *DeleteUserVariableParams

NewDeleteUserVariableParamsWithHTTPClient creates a new DeleteUserVariableParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserVariableParamsWithTimeout

func NewDeleteUserVariableParamsWithTimeout(timeout time.Duration) *DeleteUserVariableParams

NewDeleteUserVariableParamsWithTimeout creates a new DeleteUserVariableParams object with the ability to set a timeout on a request.

func (*DeleteUserVariableParams) SetContext

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

SetContext adds the context to the delete user variable params

func (*DeleteUserVariableParams) SetDefaults

func (o *DeleteUserVariableParams) SetDefaults()

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

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

func (*DeleteUserVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user variable params

func (*DeleteUserVariableParams) SetTimeout

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

SetTimeout adds the timeout to the delete user variable params

func (*DeleteUserVariableParams) SetVariablename

func (o *DeleteUserVariableParams) SetVariablename(variablename string)

SetVariablename adds the variablename to the delete user variable params

func (*DeleteUserVariableParams) WithContext

WithContext adds the context to the delete user variable params

func (*DeleteUserVariableParams) WithDefaults

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

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

func (*DeleteUserVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user variable params

func (*DeleteUserVariableParams) WithTimeout

WithTimeout adds the timeout to the delete user variable params

func (*DeleteUserVariableParams) WithVariablename

func (o *DeleteUserVariableParams) WithVariablename(variablename string) *DeleteUserVariableParams

WithVariablename adds the variablename to the delete user variable params

func (*DeleteUserVariableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserVariableReader

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

DeleteUserVariableReader is a Reader for the DeleteUserVariable structure.

func (*DeleteUserVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserSettingsOK

type GetUserSettingsOK struct {
	Payload []*models.UserSettings
}

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

UserSettings

func NewGetUserSettingsOK

func NewGetUserSettingsOK() *GetUserSettingsOK

NewGetUserSettingsOK creates a GetUserSettingsOK with default headers values

func (*GetUserSettingsOK) Code

func (o *GetUserSettingsOK) Code() int

Code gets the status code for the get user settings o k response

func (*GetUserSettingsOK) Error

func (o *GetUserSettingsOK) Error() string

func (*GetUserSettingsOK) GetPayload

func (o *GetUserSettingsOK) GetPayload() []*models.UserSettings

func (*GetUserSettingsOK) IsClientError

func (o *GetUserSettingsOK) IsClientError() bool

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

func (*GetUserSettingsOK) IsCode

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

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

func (*GetUserSettingsOK) IsRedirect

func (o *GetUserSettingsOK) IsRedirect() bool

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

func (*GetUserSettingsOK) IsServerError

func (o *GetUserSettingsOK) IsServerError() bool

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

func (*GetUserSettingsOK) IsSuccess

func (o *GetUserSettingsOK) IsSuccess() bool

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

func (*GetUserSettingsOK) String

func (o *GetUserSettingsOK) String() string

type GetUserSettingsParams

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

GetUserSettingsParams contains all the parameters to send to the API endpoint

for the get user settings operation.

Typically these are written to a http.Request.

func NewGetUserSettingsParams

func NewGetUserSettingsParams() *GetUserSettingsParams

NewGetUserSettingsParams creates a new GetUserSettingsParams 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 NewGetUserSettingsParamsWithContext

func NewGetUserSettingsParamsWithContext(ctx context.Context) *GetUserSettingsParams

NewGetUserSettingsParamsWithContext creates a new GetUserSettingsParams object with the ability to set a context for a request.

func NewGetUserSettingsParamsWithHTTPClient

func NewGetUserSettingsParamsWithHTTPClient(client *http.Client) *GetUserSettingsParams

NewGetUserSettingsParamsWithHTTPClient creates a new GetUserSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserSettingsParamsWithTimeout

func NewGetUserSettingsParamsWithTimeout(timeout time.Duration) *GetUserSettingsParams

NewGetUserSettingsParamsWithTimeout creates a new GetUserSettingsParams object with the ability to set a timeout on a request.

func (*GetUserSettingsParams) SetContext

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

SetContext adds the context to the get user settings params

func (*GetUserSettingsParams) SetDefaults

func (o *GetUserSettingsParams) SetDefaults()

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

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

func (*GetUserSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user settings params

func (*GetUserSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get user settings params

func (*GetUserSettingsParams) WithContext

WithContext adds the context to the get user settings params

func (*GetUserSettingsParams) WithDefaults

func (o *GetUserSettingsParams) WithDefaults() *GetUserSettingsParams

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

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

func (*GetUserSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user settings params

func (*GetUserSettingsParams) WithTimeout

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

WithTimeout adds the timeout to the get user settings params

func (*GetUserSettingsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserSettingsReader

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

GetUserSettingsReader is a Reader for the GetUserSettings structure.

func (*GetUserSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserVariableBadRequest

type GetUserVariableBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewGetUserVariableBadRequest

func NewGetUserVariableBadRequest() *GetUserVariableBadRequest

NewGetUserVariableBadRequest creates a GetUserVariableBadRequest with default headers values

func (*GetUserVariableBadRequest) Code

func (o *GetUserVariableBadRequest) Code() int

Code gets the status code for the get user variable bad request response

func (*GetUserVariableBadRequest) Error

func (o *GetUserVariableBadRequest) Error() string

func (*GetUserVariableBadRequest) IsClientError

func (o *GetUserVariableBadRequest) IsClientError() bool

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

func (*GetUserVariableBadRequest) IsCode

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

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

func (*GetUserVariableBadRequest) IsRedirect

func (o *GetUserVariableBadRequest) IsRedirect() bool

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

func (*GetUserVariableBadRequest) IsServerError

func (o *GetUserVariableBadRequest) IsServerError() bool

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

func (*GetUserVariableBadRequest) IsSuccess

func (o *GetUserVariableBadRequest) IsSuccess() bool

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

func (*GetUserVariableBadRequest) String

func (o *GetUserVariableBadRequest) String() string

type GetUserVariableNotFound

type GetUserVariableNotFound struct {
}

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

APINotFound is a not found empty response

func NewGetUserVariableNotFound

func NewGetUserVariableNotFound() *GetUserVariableNotFound

NewGetUserVariableNotFound creates a GetUserVariableNotFound with default headers values

func (*GetUserVariableNotFound) Code

func (o *GetUserVariableNotFound) Code() int

Code gets the status code for the get user variable not found response

func (*GetUserVariableNotFound) Error

func (o *GetUserVariableNotFound) Error() string

func (*GetUserVariableNotFound) IsClientError

func (o *GetUserVariableNotFound) IsClientError() bool

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

func (*GetUserVariableNotFound) IsCode

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

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

func (*GetUserVariableNotFound) IsRedirect

func (o *GetUserVariableNotFound) IsRedirect() bool

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

func (*GetUserVariableNotFound) IsServerError

func (o *GetUserVariableNotFound) IsServerError() bool

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

func (*GetUserVariableNotFound) IsSuccess

func (o *GetUserVariableNotFound) IsSuccess() bool

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

func (*GetUserVariableNotFound) String

func (o *GetUserVariableNotFound) String() string

type GetUserVariableOK

type GetUserVariableOK struct {
	Payload *models.ActionVariable
}

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

ActionVariable

func NewGetUserVariableOK

func NewGetUserVariableOK() *GetUserVariableOK

NewGetUserVariableOK creates a GetUserVariableOK with default headers values

func (*GetUserVariableOK) Code

func (o *GetUserVariableOK) Code() int

Code gets the status code for the get user variable o k response

func (*GetUserVariableOK) Error

func (o *GetUserVariableOK) Error() string

func (*GetUserVariableOK) GetPayload

func (o *GetUserVariableOK) GetPayload() *models.ActionVariable

func (*GetUserVariableOK) IsClientError

func (o *GetUserVariableOK) IsClientError() bool

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

func (*GetUserVariableOK) IsCode

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

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

func (*GetUserVariableOK) IsRedirect

func (o *GetUserVariableOK) IsRedirect() bool

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

func (*GetUserVariableOK) IsServerError

func (o *GetUserVariableOK) IsServerError() bool

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

func (*GetUserVariableOK) IsSuccess

func (o *GetUserVariableOK) IsSuccess() bool

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

func (*GetUserVariableOK) String

func (o *GetUserVariableOK) String() string

type GetUserVariableParams

type GetUserVariableParams struct {

	/* Variablename.

	   name of the variable
	*/
	Variablename string

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

GetUserVariableParams contains all the parameters to send to the API endpoint

for the get user variable operation.

Typically these are written to a http.Request.

func NewGetUserVariableParams

func NewGetUserVariableParams() *GetUserVariableParams

NewGetUserVariableParams creates a new GetUserVariableParams 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 NewGetUserVariableParamsWithContext

func NewGetUserVariableParamsWithContext(ctx context.Context) *GetUserVariableParams

NewGetUserVariableParamsWithContext creates a new GetUserVariableParams object with the ability to set a context for a request.

func NewGetUserVariableParamsWithHTTPClient

func NewGetUserVariableParamsWithHTTPClient(client *http.Client) *GetUserVariableParams

NewGetUserVariableParamsWithHTTPClient creates a new GetUserVariableParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserVariableParamsWithTimeout

func NewGetUserVariableParamsWithTimeout(timeout time.Duration) *GetUserVariableParams

NewGetUserVariableParamsWithTimeout creates a new GetUserVariableParams object with the ability to set a timeout on a request.

func (*GetUserVariableParams) SetContext

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

SetContext adds the context to the get user variable params

func (*GetUserVariableParams) SetDefaults

func (o *GetUserVariableParams) SetDefaults()

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

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

func (*GetUserVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user variable params

func (*GetUserVariableParams) SetTimeout

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

SetTimeout adds the timeout to the get user variable params

func (*GetUserVariableParams) SetVariablename

func (o *GetUserVariableParams) SetVariablename(variablename string)

SetVariablename adds the variablename to the get user variable params

func (*GetUserVariableParams) WithContext

WithContext adds the context to the get user variable params

func (*GetUserVariableParams) WithDefaults

func (o *GetUserVariableParams) WithDefaults() *GetUserVariableParams

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

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

func (*GetUserVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user variable params

func (*GetUserVariableParams) WithTimeout

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

WithTimeout adds the timeout to the get user variable params

func (*GetUserVariableParams) WithVariablename

func (o *GetUserVariableParams) WithVariablename(variablename string) *GetUserVariableParams

WithVariablename adds the variablename to the get user variable params

func (*GetUserVariableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserVariableReader

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

GetUserVariableReader is a Reader for the GetUserVariable structure.

func (*GetUserVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserVariablesListBadRequest

type GetUserVariablesListBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewGetUserVariablesListBadRequest

func NewGetUserVariablesListBadRequest() *GetUserVariablesListBadRequest

NewGetUserVariablesListBadRequest creates a GetUserVariablesListBadRequest with default headers values

func (*GetUserVariablesListBadRequest) Code

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

func (*GetUserVariablesListBadRequest) Error

func (*GetUserVariablesListBadRequest) IsClientError

func (o *GetUserVariablesListBadRequest) IsClientError() bool

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

func (*GetUserVariablesListBadRequest) IsCode

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

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

func (*GetUserVariablesListBadRequest) IsRedirect

func (o *GetUserVariablesListBadRequest) IsRedirect() bool

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

func (*GetUserVariablesListBadRequest) IsServerError

func (o *GetUserVariablesListBadRequest) IsServerError() bool

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

func (*GetUserVariablesListBadRequest) IsSuccess

func (o *GetUserVariablesListBadRequest) IsSuccess() bool

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

func (*GetUserVariablesListBadRequest) String

type GetUserVariablesListNotFound

type GetUserVariablesListNotFound struct {
}

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

APINotFound is a not found empty response

func NewGetUserVariablesListNotFound

func NewGetUserVariablesListNotFound() *GetUserVariablesListNotFound

NewGetUserVariablesListNotFound creates a GetUserVariablesListNotFound with default headers values

func (*GetUserVariablesListNotFound) Code

Code gets the status code for the get user variables list not found response

func (*GetUserVariablesListNotFound) Error

func (*GetUserVariablesListNotFound) IsClientError

func (o *GetUserVariablesListNotFound) IsClientError() bool

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

func (*GetUserVariablesListNotFound) IsCode

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

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

func (*GetUserVariablesListNotFound) IsRedirect

func (o *GetUserVariablesListNotFound) IsRedirect() bool

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

func (*GetUserVariablesListNotFound) IsServerError

func (o *GetUserVariablesListNotFound) IsServerError() bool

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

func (*GetUserVariablesListNotFound) IsSuccess

func (o *GetUserVariablesListNotFound) IsSuccess() bool

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

func (*GetUserVariablesListNotFound) String

type GetUserVariablesListOK

type GetUserVariablesListOK struct {
	Payload []*models.ActionVariable
}

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

VariableList

func NewGetUserVariablesListOK

func NewGetUserVariablesListOK() *GetUserVariablesListOK

NewGetUserVariablesListOK creates a GetUserVariablesListOK with default headers values

func (*GetUserVariablesListOK) Code

func (o *GetUserVariablesListOK) Code() int

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

func (*GetUserVariablesListOK) Error

func (o *GetUserVariablesListOK) Error() string

func (*GetUserVariablesListOK) GetPayload

func (o *GetUserVariablesListOK) GetPayload() []*models.ActionVariable

func (*GetUserVariablesListOK) IsClientError

func (o *GetUserVariablesListOK) IsClientError() bool

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

func (*GetUserVariablesListOK) IsCode

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

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

func (*GetUserVariablesListOK) IsRedirect

func (o *GetUserVariablesListOK) IsRedirect() bool

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

func (*GetUserVariablesListOK) IsServerError

func (o *GetUserVariablesListOK) IsServerError() bool

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

func (*GetUserVariablesListOK) IsSuccess

func (o *GetUserVariablesListOK) IsSuccess() bool

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

func (*GetUserVariablesListOK) String

func (o *GetUserVariablesListOK) String() string

type GetUserVariablesListParams

type GetUserVariablesListParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

GetUserVariablesListParams contains all the parameters to send to the API endpoint

for the get user variables list operation.

Typically these are written to a http.Request.

func NewGetUserVariablesListParams

func NewGetUserVariablesListParams() *GetUserVariablesListParams

NewGetUserVariablesListParams creates a new GetUserVariablesListParams 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 NewGetUserVariablesListParamsWithContext

func NewGetUserVariablesListParamsWithContext(ctx context.Context) *GetUserVariablesListParams

NewGetUserVariablesListParamsWithContext creates a new GetUserVariablesListParams object with the ability to set a context for a request.

func NewGetUserVariablesListParamsWithHTTPClient

func NewGetUserVariablesListParamsWithHTTPClient(client *http.Client) *GetUserVariablesListParams

NewGetUserVariablesListParamsWithHTTPClient creates a new GetUserVariablesListParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserVariablesListParamsWithTimeout

func NewGetUserVariablesListParamsWithTimeout(timeout time.Duration) *GetUserVariablesListParams

NewGetUserVariablesListParamsWithTimeout creates a new GetUserVariablesListParams object with the ability to set a timeout on a request.

func (*GetUserVariablesListParams) SetContext

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

SetContext adds the context to the get user variables list params

func (*GetUserVariablesListParams) SetDefaults

func (o *GetUserVariablesListParams) SetDefaults()

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

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

func (*GetUserVariablesListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user variables list params

func (*GetUserVariablesListParams) SetLimit

func (o *GetUserVariablesListParams) SetLimit(limit *int64)

SetLimit adds the limit to the get user variables list params

func (*GetUserVariablesListParams) SetPage

func (o *GetUserVariablesListParams) SetPage(page *int64)

SetPage adds the page to the get user variables list params

func (*GetUserVariablesListParams) SetTimeout

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

SetTimeout adds the timeout to the get user variables list params

func (*GetUserVariablesListParams) WithContext

WithContext adds the context to the get user variables list params

func (*GetUserVariablesListParams) WithDefaults

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

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

func (*GetUserVariablesListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user variables list params

func (*GetUserVariablesListParams) WithLimit

WithLimit adds the limit to the get user variables list params

func (*GetUserVariablesListParams) WithPage

WithPage adds the page to the get user variables list params

func (*GetUserVariablesListParams) WithTimeout

WithTimeout adds the timeout to the get user variables list params

func (*GetUserVariablesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserVariablesListReader

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

GetUserVariablesListReader is a Reader for the GetUserVariablesList structure.

func (*GetUserVariablesListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVerificationTokenNotFound

type GetVerificationTokenNotFound struct {
}

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

APINotFound is a not found empty response

func NewGetVerificationTokenNotFound

func NewGetVerificationTokenNotFound() *GetVerificationTokenNotFound

NewGetVerificationTokenNotFound creates a GetVerificationTokenNotFound with default headers values

func (*GetVerificationTokenNotFound) Code

Code gets the status code for the get verification token not found response

func (*GetVerificationTokenNotFound) Error

func (*GetVerificationTokenNotFound) IsClientError

func (o *GetVerificationTokenNotFound) IsClientError() bool

IsClientError returns true when this get verification token not found response has a 4xx status code

func (*GetVerificationTokenNotFound) IsCode

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

IsCode returns true when this get verification token not found response a status code equal to that given

func (*GetVerificationTokenNotFound) IsRedirect

func (o *GetVerificationTokenNotFound) IsRedirect() bool

IsRedirect returns true when this get verification token not found response has a 3xx status code

func (*GetVerificationTokenNotFound) IsServerError

func (o *GetVerificationTokenNotFound) IsServerError() bool

IsServerError returns true when this get verification token not found response has a 5xx status code

func (*GetVerificationTokenNotFound) IsSuccess

func (o *GetVerificationTokenNotFound) IsSuccess() bool

IsSuccess returns true when this get verification token not found response has a 2xx status code

func (*GetVerificationTokenNotFound) String

type GetVerificationTokenOK

type GetVerificationTokenOK struct {
	Payload string
}

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

APIString is a string response

func NewGetVerificationTokenOK

func NewGetVerificationTokenOK() *GetVerificationTokenOK

NewGetVerificationTokenOK creates a GetVerificationTokenOK with default headers values

func (*GetVerificationTokenOK) Code

func (o *GetVerificationTokenOK) Code() int

Code gets the status code for the get verification token o k response

func (*GetVerificationTokenOK) Error

func (o *GetVerificationTokenOK) Error() string

func (*GetVerificationTokenOK) GetPayload

func (o *GetVerificationTokenOK) GetPayload() string

func (*GetVerificationTokenOK) IsClientError

func (o *GetVerificationTokenOK) IsClientError() bool

IsClientError returns true when this get verification token o k response has a 4xx status code

func (*GetVerificationTokenOK) IsCode

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

IsCode returns true when this get verification token o k response a status code equal to that given

func (*GetVerificationTokenOK) IsRedirect

func (o *GetVerificationTokenOK) IsRedirect() bool

IsRedirect returns true when this get verification token o k response has a 3xx status code

func (*GetVerificationTokenOK) IsServerError

func (o *GetVerificationTokenOK) IsServerError() bool

IsServerError returns true when this get verification token o k response has a 5xx status code

func (*GetVerificationTokenOK) IsSuccess

func (o *GetVerificationTokenOK) IsSuccess() bool

IsSuccess returns true when this get verification token o k response has a 2xx status code

func (*GetVerificationTokenOK) String

func (o *GetVerificationTokenOK) String() string

type GetVerificationTokenParams

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

GetVerificationTokenParams contains all the parameters to send to the API endpoint

for the get verification token operation.

Typically these are written to a http.Request.

func NewGetVerificationTokenParams

func NewGetVerificationTokenParams() *GetVerificationTokenParams

NewGetVerificationTokenParams creates a new GetVerificationTokenParams 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 NewGetVerificationTokenParamsWithContext

func NewGetVerificationTokenParamsWithContext(ctx context.Context) *GetVerificationTokenParams

NewGetVerificationTokenParamsWithContext creates a new GetVerificationTokenParams object with the ability to set a context for a request.

func NewGetVerificationTokenParamsWithHTTPClient

func NewGetVerificationTokenParamsWithHTTPClient(client *http.Client) *GetVerificationTokenParams

NewGetVerificationTokenParamsWithHTTPClient creates a new GetVerificationTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetVerificationTokenParamsWithTimeout

func NewGetVerificationTokenParamsWithTimeout(timeout time.Duration) *GetVerificationTokenParams

NewGetVerificationTokenParamsWithTimeout creates a new GetVerificationTokenParams object with the ability to set a timeout on a request.

func (*GetVerificationTokenParams) SetContext

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

SetContext adds the context to the get verification token params

func (*GetVerificationTokenParams) SetDefaults

func (o *GetVerificationTokenParams) SetDefaults()

SetDefaults hydrates default values in the get verification token params (not the query body).

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

func (*GetVerificationTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get verification token params

func (*GetVerificationTokenParams) SetTimeout

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

SetTimeout adds the timeout to the get verification token params

func (*GetVerificationTokenParams) WithContext

WithContext adds the context to the get verification token params

func (*GetVerificationTokenParams) WithDefaults

WithDefaults hydrates default values in the get verification token params (not the query body).

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

func (*GetVerificationTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get verification token params

func (*GetVerificationTokenParams) WithTimeout

WithTimeout adds the timeout to the get verification token params

func (*GetVerificationTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVerificationTokenReader

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

GetVerificationTokenReader is a Reader for the GetVerificationToken structure.

func (*GetVerificationTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserSecretBadRequest

type UpdateUserSecretBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewUpdateUserSecretBadRequest

func NewUpdateUserSecretBadRequest() *UpdateUserSecretBadRequest

NewUpdateUserSecretBadRequest creates a UpdateUserSecretBadRequest with default headers values

func (*UpdateUserSecretBadRequest) Code

func (o *UpdateUserSecretBadRequest) Code() int

Code gets the status code for the update user secret bad request response

func (*UpdateUserSecretBadRequest) Error

func (*UpdateUserSecretBadRequest) IsClientError

func (o *UpdateUserSecretBadRequest) IsClientError() bool

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

func (*UpdateUserSecretBadRequest) IsCode

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

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

func (*UpdateUserSecretBadRequest) IsRedirect

func (o *UpdateUserSecretBadRequest) IsRedirect() bool

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

func (*UpdateUserSecretBadRequest) IsServerError

func (o *UpdateUserSecretBadRequest) IsServerError() bool

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

func (*UpdateUserSecretBadRequest) IsSuccess

func (o *UpdateUserSecretBadRequest) IsSuccess() bool

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

func (*UpdateUserSecretBadRequest) String

func (o *UpdateUserSecretBadRequest) String() string

type UpdateUserSecretCreated

type UpdateUserSecretCreated struct {
}

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

response when creating a secret

func NewUpdateUserSecretCreated

func NewUpdateUserSecretCreated() *UpdateUserSecretCreated

NewUpdateUserSecretCreated creates a UpdateUserSecretCreated with default headers values

func (*UpdateUserSecretCreated) Code

func (o *UpdateUserSecretCreated) Code() int

Code gets the status code for the update user secret created response

func (*UpdateUserSecretCreated) Error

func (o *UpdateUserSecretCreated) Error() string

func (*UpdateUserSecretCreated) IsClientError

func (o *UpdateUserSecretCreated) IsClientError() bool

IsClientError returns true when this update user secret created response has a 4xx status code

func (*UpdateUserSecretCreated) IsCode

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

IsCode returns true when this update user secret created response a status code equal to that given

func (*UpdateUserSecretCreated) IsRedirect

func (o *UpdateUserSecretCreated) IsRedirect() bool

IsRedirect returns true when this update user secret created response has a 3xx status code

func (*UpdateUserSecretCreated) IsServerError

func (o *UpdateUserSecretCreated) IsServerError() bool

IsServerError returns true when this update user secret created response has a 5xx status code

func (*UpdateUserSecretCreated) IsSuccess

func (o *UpdateUserSecretCreated) IsSuccess() bool

IsSuccess returns true when this update user secret created response has a 2xx status code

func (*UpdateUserSecretCreated) String

func (o *UpdateUserSecretCreated) String() string

type UpdateUserSecretNoContent

type UpdateUserSecretNoContent struct {
}

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

response when updating a secret

func NewUpdateUserSecretNoContent

func NewUpdateUserSecretNoContent() *UpdateUserSecretNoContent

NewUpdateUserSecretNoContent creates a UpdateUserSecretNoContent with default headers values

func (*UpdateUserSecretNoContent) Code

func (o *UpdateUserSecretNoContent) Code() int

Code gets the status code for the update user secret no content response

func (*UpdateUserSecretNoContent) Error

func (o *UpdateUserSecretNoContent) Error() string

func (*UpdateUserSecretNoContent) IsClientError

func (o *UpdateUserSecretNoContent) IsClientError() bool

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

func (*UpdateUserSecretNoContent) IsCode

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

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

func (*UpdateUserSecretNoContent) IsRedirect

func (o *UpdateUserSecretNoContent) IsRedirect() bool

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

func (*UpdateUserSecretNoContent) IsServerError

func (o *UpdateUserSecretNoContent) IsServerError() bool

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

func (*UpdateUserSecretNoContent) IsSuccess

func (o *UpdateUserSecretNoContent) IsSuccess() bool

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

func (*UpdateUserSecretNoContent) String

func (o *UpdateUserSecretNoContent) String() string

type UpdateUserSecretNotFound

type UpdateUserSecretNotFound struct {
}

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

APINotFound is a not found empty response

func NewUpdateUserSecretNotFound

func NewUpdateUserSecretNotFound() *UpdateUserSecretNotFound

NewUpdateUserSecretNotFound creates a UpdateUserSecretNotFound with default headers values

func (*UpdateUserSecretNotFound) Code

func (o *UpdateUserSecretNotFound) Code() int

Code gets the status code for the update user secret not found response

func (*UpdateUserSecretNotFound) Error

func (o *UpdateUserSecretNotFound) Error() string

func (*UpdateUserSecretNotFound) IsClientError

func (o *UpdateUserSecretNotFound) IsClientError() bool

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

func (*UpdateUserSecretNotFound) IsCode

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

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

func (*UpdateUserSecretNotFound) IsRedirect

func (o *UpdateUserSecretNotFound) IsRedirect() bool

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

func (*UpdateUserSecretNotFound) IsServerError

func (o *UpdateUserSecretNotFound) IsServerError() bool

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

func (*UpdateUserSecretNotFound) IsSuccess

func (o *UpdateUserSecretNotFound) IsSuccess() bool

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

func (*UpdateUserSecretNotFound) String

func (o *UpdateUserSecretNotFound) String() string

type UpdateUserSecretParams

type UpdateUserSecretParams struct {

	// Body.
	Body *models.CreateOrUpdateSecretOption

	/* Secretname.

	   name of the secret
	*/
	Secretname string

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

UpdateUserSecretParams contains all the parameters to send to the API endpoint

for the update user secret operation.

Typically these are written to a http.Request.

func NewUpdateUserSecretParams

func NewUpdateUserSecretParams() *UpdateUserSecretParams

NewUpdateUserSecretParams creates a new UpdateUserSecretParams 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 NewUpdateUserSecretParamsWithContext

func NewUpdateUserSecretParamsWithContext(ctx context.Context) *UpdateUserSecretParams

NewUpdateUserSecretParamsWithContext creates a new UpdateUserSecretParams object with the ability to set a context for a request.

func NewUpdateUserSecretParamsWithHTTPClient

func NewUpdateUserSecretParamsWithHTTPClient(client *http.Client) *UpdateUserSecretParams

NewUpdateUserSecretParamsWithHTTPClient creates a new UpdateUserSecretParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserSecretParamsWithTimeout

func NewUpdateUserSecretParamsWithTimeout(timeout time.Duration) *UpdateUserSecretParams

NewUpdateUserSecretParamsWithTimeout creates a new UpdateUserSecretParams object with the ability to set a timeout on a request.

func (*UpdateUserSecretParams) SetBody

SetBody adds the body to the update user secret params

func (*UpdateUserSecretParams) SetContext

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

SetContext adds the context to the update user secret params

func (*UpdateUserSecretParams) SetDefaults

func (o *UpdateUserSecretParams) SetDefaults()

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

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

func (*UpdateUserSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user secret params

func (*UpdateUserSecretParams) SetSecretname

func (o *UpdateUserSecretParams) SetSecretname(secretname string)

SetSecretname adds the secretname to the update user secret params

func (*UpdateUserSecretParams) SetTimeout

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

SetTimeout adds the timeout to the update user secret params

func (*UpdateUserSecretParams) WithBody

WithBody adds the body to the update user secret params

func (*UpdateUserSecretParams) WithContext

WithContext adds the context to the update user secret params

func (*UpdateUserSecretParams) WithDefaults

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

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

func (*UpdateUserSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user secret params

func (*UpdateUserSecretParams) WithSecretname

func (o *UpdateUserSecretParams) WithSecretname(secretname string) *UpdateUserSecretParams

WithSecretname adds the secretname to the update user secret params

func (*UpdateUserSecretParams) WithTimeout

WithTimeout adds the timeout to the update user secret params

func (*UpdateUserSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserSecretReader

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

UpdateUserSecretReader is a Reader for the UpdateUserSecret structure.

func (*UpdateUserSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserSettingsOK

type UpdateUserSettingsOK struct {
	Payload []*models.UserSettings
}

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

UserSettings

func NewUpdateUserSettingsOK

func NewUpdateUserSettingsOK() *UpdateUserSettingsOK

NewUpdateUserSettingsOK creates a UpdateUserSettingsOK with default headers values

func (*UpdateUserSettingsOK) Code

func (o *UpdateUserSettingsOK) Code() int

Code gets the status code for the update user settings o k response

func (*UpdateUserSettingsOK) Error

func (o *UpdateUserSettingsOK) Error() string

func (*UpdateUserSettingsOK) GetPayload

func (o *UpdateUserSettingsOK) GetPayload() []*models.UserSettings

func (*UpdateUserSettingsOK) IsClientError

func (o *UpdateUserSettingsOK) IsClientError() bool

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

func (*UpdateUserSettingsOK) IsCode

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

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

func (*UpdateUserSettingsOK) IsRedirect

func (o *UpdateUserSettingsOK) IsRedirect() bool

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

func (*UpdateUserSettingsOK) IsServerError

func (o *UpdateUserSettingsOK) IsServerError() bool

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

func (*UpdateUserSettingsOK) IsSuccess

func (o *UpdateUserSettingsOK) IsSuccess() bool

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

func (*UpdateUserSettingsOK) String

func (o *UpdateUserSettingsOK) String() string

type UpdateUserSettingsParams

type UpdateUserSettingsParams struct {

	// Body.
	Body *models.UserSettingsOptions

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

UpdateUserSettingsParams contains all the parameters to send to the API endpoint

for the update user settings operation.

Typically these are written to a http.Request.

func NewUpdateUserSettingsParams

func NewUpdateUserSettingsParams() *UpdateUserSettingsParams

NewUpdateUserSettingsParams creates a new UpdateUserSettingsParams 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 NewUpdateUserSettingsParamsWithContext

func NewUpdateUserSettingsParamsWithContext(ctx context.Context) *UpdateUserSettingsParams

NewUpdateUserSettingsParamsWithContext creates a new UpdateUserSettingsParams object with the ability to set a context for a request.

func NewUpdateUserSettingsParamsWithHTTPClient

func NewUpdateUserSettingsParamsWithHTTPClient(client *http.Client) *UpdateUserSettingsParams

NewUpdateUserSettingsParamsWithHTTPClient creates a new UpdateUserSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserSettingsParamsWithTimeout

func NewUpdateUserSettingsParamsWithTimeout(timeout time.Duration) *UpdateUserSettingsParams

NewUpdateUserSettingsParamsWithTimeout creates a new UpdateUserSettingsParams object with the ability to set a timeout on a request.

func (*UpdateUserSettingsParams) SetBody

SetBody adds the body to the update user settings params

func (*UpdateUserSettingsParams) SetContext

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

SetContext adds the context to the update user settings params

func (*UpdateUserSettingsParams) SetDefaults

func (o *UpdateUserSettingsParams) SetDefaults()

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

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

func (*UpdateUserSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user settings params

func (*UpdateUserSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the update user settings params

func (*UpdateUserSettingsParams) WithBody

WithBody adds the body to the update user settings params

func (*UpdateUserSettingsParams) WithContext

WithContext adds the context to the update user settings params

func (*UpdateUserSettingsParams) WithDefaults

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

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

func (*UpdateUserSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user settings params

func (*UpdateUserSettingsParams) WithTimeout

WithTimeout adds the timeout to the update user settings params

func (*UpdateUserSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserSettingsReader

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

UpdateUserSettingsReader is a Reader for the UpdateUserSettings structure.

func (*UpdateUserSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserVariableBadRequest

type UpdateUserVariableBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewUpdateUserVariableBadRequest

func NewUpdateUserVariableBadRequest() *UpdateUserVariableBadRequest

NewUpdateUserVariableBadRequest creates a UpdateUserVariableBadRequest with default headers values

func (*UpdateUserVariableBadRequest) Code

Code gets the status code for the update user variable bad request response

func (*UpdateUserVariableBadRequest) Error

func (*UpdateUserVariableBadRequest) IsClientError

func (o *UpdateUserVariableBadRequest) IsClientError() bool

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

func (*UpdateUserVariableBadRequest) IsCode

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

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

func (*UpdateUserVariableBadRequest) IsRedirect

func (o *UpdateUserVariableBadRequest) IsRedirect() bool

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

func (*UpdateUserVariableBadRequest) IsServerError

func (o *UpdateUserVariableBadRequest) IsServerError() bool

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

func (*UpdateUserVariableBadRequest) IsSuccess

func (o *UpdateUserVariableBadRequest) IsSuccess() bool

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

func (*UpdateUserVariableBadRequest) String

type UpdateUserVariableCreated

type UpdateUserVariableCreated struct {
}

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

response when updating a variable

func NewUpdateUserVariableCreated

func NewUpdateUserVariableCreated() *UpdateUserVariableCreated

NewUpdateUserVariableCreated creates a UpdateUserVariableCreated with default headers values

func (*UpdateUserVariableCreated) Code

func (o *UpdateUserVariableCreated) Code() int

Code gets the status code for the update user variable created response

func (*UpdateUserVariableCreated) Error

func (o *UpdateUserVariableCreated) Error() string

func (*UpdateUserVariableCreated) IsClientError

func (o *UpdateUserVariableCreated) IsClientError() bool

IsClientError returns true when this update user variable created response has a 4xx status code

func (*UpdateUserVariableCreated) IsCode

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

IsCode returns true when this update user variable created response a status code equal to that given

func (*UpdateUserVariableCreated) IsRedirect

func (o *UpdateUserVariableCreated) IsRedirect() bool

IsRedirect returns true when this update user variable created response has a 3xx status code

func (*UpdateUserVariableCreated) IsServerError

func (o *UpdateUserVariableCreated) IsServerError() bool

IsServerError returns true when this update user variable created response has a 5xx status code

func (*UpdateUserVariableCreated) IsSuccess

func (o *UpdateUserVariableCreated) IsSuccess() bool

IsSuccess returns true when this update user variable created response has a 2xx status code

func (*UpdateUserVariableCreated) String

func (o *UpdateUserVariableCreated) String() string

type UpdateUserVariableNoContent

type UpdateUserVariableNoContent struct {
}

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

response when updating a variable

func NewUpdateUserVariableNoContent

func NewUpdateUserVariableNoContent() *UpdateUserVariableNoContent

NewUpdateUserVariableNoContent creates a UpdateUserVariableNoContent with default headers values

func (*UpdateUserVariableNoContent) Code

func (o *UpdateUserVariableNoContent) Code() int

Code gets the status code for the update user variable no content response

func (*UpdateUserVariableNoContent) Error

func (*UpdateUserVariableNoContent) IsClientError

func (o *UpdateUserVariableNoContent) IsClientError() bool

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

func (*UpdateUserVariableNoContent) IsCode

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

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

func (*UpdateUserVariableNoContent) IsRedirect

func (o *UpdateUserVariableNoContent) IsRedirect() bool

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

func (*UpdateUserVariableNoContent) IsServerError

func (o *UpdateUserVariableNoContent) IsServerError() bool

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

func (*UpdateUserVariableNoContent) IsSuccess

func (o *UpdateUserVariableNoContent) IsSuccess() bool

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

func (*UpdateUserVariableNoContent) String

func (o *UpdateUserVariableNoContent) String() string

type UpdateUserVariableNotFound

type UpdateUserVariableNotFound struct {
}

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

APINotFound is a not found empty response

func NewUpdateUserVariableNotFound

func NewUpdateUserVariableNotFound() *UpdateUserVariableNotFound

NewUpdateUserVariableNotFound creates a UpdateUserVariableNotFound with default headers values

func (*UpdateUserVariableNotFound) Code

func (o *UpdateUserVariableNotFound) Code() int

Code gets the status code for the update user variable not found response

func (*UpdateUserVariableNotFound) Error

func (*UpdateUserVariableNotFound) IsClientError

func (o *UpdateUserVariableNotFound) IsClientError() bool

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

func (*UpdateUserVariableNotFound) IsCode

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

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

func (*UpdateUserVariableNotFound) IsRedirect

func (o *UpdateUserVariableNotFound) IsRedirect() bool

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

func (*UpdateUserVariableNotFound) IsServerError

func (o *UpdateUserVariableNotFound) IsServerError() bool

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

func (*UpdateUserVariableNotFound) IsSuccess

func (o *UpdateUserVariableNotFound) IsSuccess() bool

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

func (*UpdateUserVariableNotFound) String

func (o *UpdateUserVariableNotFound) String() string

type UpdateUserVariableParams

type UpdateUserVariableParams struct {

	// Body.
	Body *models.UpdateVariableOption

	/* Variablename.

	   name of the variable
	*/
	Variablename string

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

UpdateUserVariableParams contains all the parameters to send to the API endpoint

for the update user variable operation.

Typically these are written to a http.Request.

func NewUpdateUserVariableParams

func NewUpdateUserVariableParams() *UpdateUserVariableParams

NewUpdateUserVariableParams creates a new UpdateUserVariableParams 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 NewUpdateUserVariableParamsWithContext

func NewUpdateUserVariableParamsWithContext(ctx context.Context) *UpdateUserVariableParams

NewUpdateUserVariableParamsWithContext creates a new UpdateUserVariableParams object with the ability to set a context for a request.

func NewUpdateUserVariableParamsWithHTTPClient

func NewUpdateUserVariableParamsWithHTTPClient(client *http.Client) *UpdateUserVariableParams

NewUpdateUserVariableParamsWithHTTPClient creates a new UpdateUserVariableParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserVariableParamsWithTimeout

func NewUpdateUserVariableParamsWithTimeout(timeout time.Duration) *UpdateUserVariableParams

NewUpdateUserVariableParamsWithTimeout creates a new UpdateUserVariableParams object with the ability to set a timeout on a request.

func (*UpdateUserVariableParams) SetBody

SetBody adds the body to the update user variable params

func (*UpdateUserVariableParams) SetContext

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

SetContext adds the context to the update user variable params

func (*UpdateUserVariableParams) SetDefaults

func (o *UpdateUserVariableParams) SetDefaults()

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

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

func (*UpdateUserVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user variable params

func (*UpdateUserVariableParams) SetTimeout

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

SetTimeout adds the timeout to the update user variable params

func (*UpdateUserVariableParams) SetVariablename

func (o *UpdateUserVariableParams) SetVariablename(variablename string)

SetVariablename adds the variablename to the update user variable params

func (*UpdateUserVariableParams) WithBody

WithBody adds the body to the update user variable params

func (*UpdateUserVariableParams) WithContext

WithContext adds the context to the update user variable params

func (*UpdateUserVariableParams) WithDefaults

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

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

func (*UpdateUserVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user variable params

func (*UpdateUserVariableParams) WithTimeout

WithTimeout adds the timeout to the update user variable params

func (*UpdateUserVariableParams) WithVariablename

func (o *UpdateUserVariableParams) WithVariablename(variablename string) *UpdateUserVariableParams

WithVariablename adds the variablename to the update user variable params

func (*UpdateUserVariableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserVariableReader

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

UpdateUserVariableReader is a Reader for the UpdateUserVariable structure.

func (*UpdateUserVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserAddEmailCreated

type UserAddEmailCreated struct {
	Payload []*models.Email
}

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

EmailList

func NewUserAddEmailCreated

func NewUserAddEmailCreated() *UserAddEmailCreated

NewUserAddEmailCreated creates a UserAddEmailCreated with default headers values

func (*UserAddEmailCreated) Code

func (o *UserAddEmailCreated) Code() int

Code gets the status code for the user add email created response

func (*UserAddEmailCreated) Error

func (o *UserAddEmailCreated) Error() string

func (*UserAddEmailCreated) GetPayload

func (o *UserAddEmailCreated) GetPayload() []*models.Email

func (*UserAddEmailCreated) IsClientError

func (o *UserAddEmailCreated) IsClientError() bool

IsClientError returns true when this user add email created response has a 4xx status code

func (*UserAddEmailCreated) IsCode

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

IsCode returns true when this user add email created response a status code equal to that given

func (*UserAddEmailCreated) IsRedirect

func (o *UserAddEmailCreated) IsRedirect() bool

IsRedirect returns true when this user add email created response has a 3xx status code

func (*UserAddEmailCreated) IsServerError

func (o *UserAddEmailCreated) IsServerError() bool

IsServerError returns true when this user add email created response has a 5xx status code

func (*UserAddEmailCreated) IsSuccess

func (o *UserAddEmailCreated) IsSuccess() bool

IsSuccess returns true when this user add email created response has a 2xx status code

func (*UserAddEmailCreated) String

func (o *UserAddEmailCreated) String() string

type UserAddEmailParams

type UserAddEmailParams struct {

	// Body.
	Body *models.CreateEmailOption

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

UserAddEmailParams contains all the parameters to send to the API endpoint

for the user add email operation.

Typically these are written to a http.Request.

func NewUserAddEmailParams

func NewUserAddEmailParams() *UserAddEmailParams

NewUserAddEmailParams creates a new UserAddEmailParams 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 NewUserAddEmailParamsWithContext

func NewUserAddEmailParamsWithContext(ctx context.Context) *UserAddEmailParams

NewUserAddEmailParamsWithContext creates a new UserAddEmailParams object with the ability to set a context for a request.

func NewUserAddEmailParamsWithHTTPClient

func NewUserAddEmailParamsWithHTTPClient(client *http.Client) *UserAddEmailParams

NewUserAddEmailParamsWithHTTPClient creates a new UserAddEmailParams object with the ability to set a custom HTTPClient for a request.

func NewUserAddEmailParamsWithTimeout

func NewUserAddEmailParamsWithTimeout(timeout time.Duration) *UserAddEmailParams

NewUserAddEmailParamsWithTimeout creates a new UserAddEmailParams object with the ability to set a timeout on a request.

func (*UserAddEmailParams) SetBody

func (o *UserAddEmailParams) SetBody(body *models.CreateEmailOption)

SetBody adds the body to the user add email params

func (*UserAddEmailParams) SetContext

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

SetContext adds the context to the user add email params

func (*UserAddEmailParams) SetDefaults

func (o *UserAddEmailParams) SetDefaults()

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

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

func (*UserAddEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user add email params

func (*UserAddEmailParams) SetTimeout

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

SetTimeout adds the timeout to the user add email params

func (*UserAddEmailParams) WithBody

WithBody adds the body to the user add email params

func (*UserAddEmailParams) WithContext

WithContext adds the context to the user add email params

func (*UserAddEmailParams) WithDefaults

func (o *UserAddEmailParams) WithDefaults() *UserAddEmailParams

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

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

func (*UserAddEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user add email params

func (*UserAddEmailParams) WithTimeout

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

WithTimeout adds the timeout to the user add email params

func (*UserAddEmailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserAddEmailReader

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

UserAddEmailReader is a Reader for the UserAddEmail structure.

func (*UserAddEmailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserAddEmailUnprocessableEntity

type UserAddEmailUnprocessableEntity struct {
	Message string
	URL     string
}

UserAddEmailUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewUserAddEmailUnprocessableEntity

func NewUserAddEmailUnprocessableEntity() *UserAddEmailUnprocessableEntity

NewUserAddEmailUnprocessableEntity creates a UserAddEmailUnprocessableEntity with default headers values

func (*UserAddEmailUnprocessableEntity) Code

Code gets the status code for the user add email unprocessable entity response

func (*UserAddEmailUnprocessableEntity) Error

func (*UserAddEmailUnprocessableEntity) IsClientError

func (o *UserAddEmailUnprocessableEntity) IsClientError() bool

IsClientError returns true when this user add email unprocessable entity response has a 4xx status code

func (*UserAddEmailUnprocessableEntity) IsCode

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

IsCode returns true when this user add email unprocessable entity response a status code equal to that given

func (*UserAddEmailUnprocessableEntity) IsRedirect

func (o *UserAddEmailUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this user add email unprocessable entity response has a 3xx status code

func (*UserAddEmailUnprocessableEntity) IsServerError

func (o *UserAddEmailUnprocessableEntity) IsServerError() bool

IsServerError returns true when this user add email unprocessable entity response has a 5xx status code

func (*UserAddEmailUnprocessableEntity) IsSuccess

func (o *UserAddEmailUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this user add email unprocessable entity response has a 2xx status code

func (*UserAddEmailUnprocessableEntity) String

type UserBlockUserNoContent

type UserBlockUserNoContent struct {
}

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

APIEmpty is an empty response

func NewUserBlockUserNoContent

func NewUserBlockUserNoContent() *UserBlockUserNoContent

NewUserBlockUserNoContent creates a UserBlockUserNoContent with default headers values

func (*UserBlockUserNoContent) Code

func (o *UserBlockUserNoContent) Code() int

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

func (*UserBlockUserNoContent) Error

func (o *UserBlockUserNoContent) Error() string

func (*UserBlockUserNoContent) IsClientError

func (o *UserBlockUserNoContent) IsClientError() bool

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

func (*UserBlockUserNoContent) IsCode

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

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

func (*UserBlockUserNoContent) IsRedirect

func (o *UserBlockUserNoContent) IsRedirect() bool

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

func (*UserBlockUserNoContent) IsServerError

func (o *UserBlockUserNoContent) IsServerError() bool

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

func (*UserBlockUserNoContent) IsSuccess

func (o *UserBlockUserNoContent) IsSuccess() bool

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

func (*UserBlockUserNoContent) String

func (o *UserBlockUserNoContent) String() string

type UserBlockUserNotFound

type UserBlockUserNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserBlockUserNotFound

func NewUserBlockUserNotFound() *UserBlockUserNotFound

NewUserBlockUserNotFound creates a UserBlockUserNotFound with default headers values

func (*UserBlockUserNotFound) Code

func (o *UserBlockUserNotFound) Code() int

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

func (*UserBlockUserNotFound) Error

func (o *UserBlockUserNotFound) Error() string

func (*UserBlockUserNotFound) IsClientError

func (o *UserBlockUserNotFound) IsClientError() bool

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

func (*UserBlockUserNotFound) IsCode

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

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

func (*UserBlockUserNotFound) IsRedirect

func (o *UserBlockUserNotFound) IsRedirect() bool

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

func (*UserBlockUserNotFound) IsServerError

func (o *UserBlockUserNotFound) IsServerError() bool

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

func (*UserBlockUserNotFound) IsSuccess

func (o *UserBlockUserNotFound) IsSuccess() bool

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

func (*UserBlockUserNotFound) String

func (o *UserBlockUserNotFound) String() string

type UserBlockUserParams

type UserBlockUserParams struct {

	/* Note.

	   optional note for the block
	*/
	Note *string

	/* Username.

	   user to block
	*/
	Username string

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

UserBlockUserParams contains all the parameters to send to the API endpoint

for the user block user operation.

Typically these are written to a http.Request.

func NewUserBlockUserParams

func NewUserBlockUserParams() *UserBlockUserParams

NewUserBlockUserParams creates a new UserBlockUserParams 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 NewUserBlockUserParamsWithContext

func NewUserBlockUserParamsWithContext(ctx context.Context) *UserBlockUserParams

NewUserBlockUserParamsWithContext creates a new UserBlockUserParams object with the ability to set a context for a request.

func NewUserBlockUserParamsWithHTTPClient

func NewUserBlockUserParamsWithHTTPClient(client *http.Client) *UserBlockUserParams

NewUserBlockUserParamsWithHTTPClient creates a new UserBlockUserParams object with the ability to set a custom HTTPClient for a request.

func NewUserBlockUserParamsWithTimeout

func NewUserBlockUserParamsWithTimeout(timeout time.Duration) *UserBlockUserParams

NewUserBlockUserParamsWithTimeout creates a new UserBlockUserParams object with the ability to set a timeout on a request.

func (*UserBlockUserParams) SetContext

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

SetContext adds the context to the user block user params

func (*UserBlockUserParams) SetDefaults

func (o *UserBlockUserParams) SetDefaults()

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

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

func (*UserBlockUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user block user params

func (*UserBlockUserParams) SetNote

func (o *UserBlockUserParams) SetNote(note *string)

SetNote adds the note to the user block user params

func (*UserBlockUserParams) SetTimeout

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

SetTimeout adds the timeout to the user block user params

func (*UserBlockUserParams) SetUsername

func (o *UserBlockUserParams) SetUsername(username string)

SetUsername adds the username to the user block user params

func (*UserBlockUserParams) WithContext

WithContext adds the context to the user block user params

func (*UserBlockUserParams) WithDefaults

func (o *UserBlockUserParams) WithDefaults() *UserBlockUserParams

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

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

func (*UserBlockUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user block user params

func (*UserBlockUserParams) WithNote

func (o *UserBlockUserParams) WithNote(note *string) *UserBlockUserParams

WithNote adds the note to the user block user params

func (*UserBlockUserParams) WithTimeout

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

WithTimeout adds the timeout to the user block user params

func (*UserBlockUserParams) WithUsername

func (o *UserBlockUserParams) WithUsername(username string) *UserBlockUserParams

WithUsername adds the username to the user block user params

func (*UserBlockUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserBlockUserReader

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

UserBlockUserReader is a Reader for the UserBlockUser structure.

func (*UserBlockUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserBlockUserUnprocessableEntity

type UserBlockUserUnprocessableEntity struct {
	Message string
	URL     string
}

UserBlockUserUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewUserBlockUserUnprocessableEntity

func NewUserBlockUserUnprocessableEntity() *UserBlockUserUnprocessableEntity

NewUserBlockUserUnprocessableEntity creates a UserBlockUserUnprocessableEntity with default headers values

func (*UserBlockUserUnprocessableEntity) Code

Code gets the status code for the user block user unprocessable entity response

func (*UserBlockUserUnprocessableEntity) Error

func (*UserBlockUserUnprocessableEntity) IsClientError

func (o *UserBlockUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this user block user unprocessable entity response has a 4xx status code

func (*UserBlockUserUnprocessableEntity) IsCode

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

IsCode returns true when this user block user unprocessable entity response a status code equal to that given

func (*UserBlockUserUnprocessableEntity) IsRedirect

func (o *UserBlockUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this user block user unprocessable entity response has a 3xx status code

func (*UserBlockUserUnprocessableEntity) IsServerError

func (o *UserBlockUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this user block user unprocessable entity response has a 5xx status code

func (*UserBlockUserUnprocessableEntity) IsSuccess

func (o *UserBlockUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this user block user unprocessable entity response has a 2xx status code

func (*UserBlockUserUnprocessableEntity) String

type UserCheckFollowingNoContent

type UserCheckFollowingNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCheckFollowingNoContent

func NewUserCheckFollowingNoContent() *UserCheckFollowingNoContent

NewUserCheckFollowingNoContent creates a UserCheckFollowingNoContent with default headers values

func (*UserCheckFollowingNoContent) Code

func (o *UserCheckFollowingNoContent) Code() int

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

func (*UserCheckFollowingNoContent) Error

func (*UserCheckFollowingNoContent) IsClientError

func (o *UserCheckFollowingNoContent) IsClientError() bool

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

func (*UserCheckFollowingNoContent) IsCode

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

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

func (*UserCheckFollowingNoContent) IsRedirect

func (o *UserCheckFollowingNoContent) IsRedirect() bool

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

func (*UserCheckFollowingNoContent) IsServerError

func (o *UserCheckFollowingNoContent) IsServerError() bool

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

func (*UserCheckFollowingNoContent) IsSuccess

func (o *UserCheckFollowingNoContent) IsSuccess() bool

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

func (*UserCheckFollowingNoContent) String

func (o *UserCheckFollowingNoContent) String() string

type UserCheckFollowingNotFound

type UserCheckFollowingNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCheckFollowingNotFound

func NewUserCheckFollowingNotFound() *UserCheckFollowingNotFound

NewUserCheckFollowingNotFound creates a UserCheckFollowingNotFound with default headers values

func (*UserCheckFollowingNotFound) Code

func (o *UserCheckFollowingNotFound) Code() int

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

func (*UserCheckFollowingNotFound) Error

func (*UserCheckFollowingNotFound) IsClientError

func (o *UserCheckFollowingNotFound) IsClientError() bool

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

func (*UserCheckFollowingNotFound) IsCode

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

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

func (*UserCheckFollowingNotFound) IsRedirect

func (o *UserCheckFollowingNotFound) IsRedirect() bool

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

func (*UserCheckFollowingNotFound) IsServerError

func (o *UserCheckFollowingNotFound) IsServerError() bool

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

func (*UserCheckFollowingNotFound) IsSuccess

func (o *UserCheckFollowingNotFound) IsSuccess() bool

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

func (*UserCheckFollowingNotFound) String

func (o *UserCheckFollowingNotFound) String() string

type UserCheckFollowingParams

type UserCheckFollowingParams struct {

	/* Target.

	   username of followed user
	*/
	Target string

	/* Username.

	   username of following user
	*/
	Username string

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

UserCheckFollowingParams contains all the parameters to send to the API endpoint

for the user check following operation.

Typically these are written to a http.Request.

func NewUserCheckFollowingParams

func NewUserCheckFollowingParams() *UserCheckFollowingParams

NewUserCheckFollowingParams creates a new UserCheckFollowingParams 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 NewUserCheckFollowingParamsWithContext

func NewUserCheckFollowingParamsWithContext(ctx context.Context) *UserCheckFollowingParams

NewUserCheckFollowingParamsWithContext creates a new UserCheckFollowingParams object with the ability to set a context for a request.

func NewUserCheckFollowingParamsWithHTTPClient

func NewUserCheckFollowingParamsWithHTTPClient(client *http.Client) *UserCheckFollowingParams

NewUserCheckFollowingParamsWithHTTPClient creates a new UserCheckFollowingParams object with the ability to set a custom HTTPClient for a request.

func NewUserCheckFollowingParamsWithTimeout

func NewUserCheckFollowingParamsWithTimeout(timeout time.Duration) *UserCheckFollowingParams

NewUserCheckFollowingParamsWithTimeout creates a new UserCheckFollowingParams object with the ability to set a timeout on a request.

func (*UserCheckFollowingParams) SetContext

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

SetContext adds the context to the user check following params

func (*UserCheckFollowingParams) SetDefaults

func (o *UserCheckFollowingParams) SetDefaults()

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

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

func (*UserCheckFollowingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user check following params

func (*UserCheckFollowingParams) SetTarget

func (o *UserCheckFollowingParams) SetTarget(target string)

SetTarget adds the target to the user check following params

func (*UserCheckFollowingParams) SetTimeout

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

SetTimeout adds the timeout to the user check following params

func (*UserCheckFollowingParams) SetUsername

func (o *UserCheckFollowingParams) SetUsername(username string)

SetUsername adds the username to the user check following params

func (*UserCheckFollowingParams) WithContext

WithContext adds the context to the user check following params

func (*UserCheckFollowingParams) WithDefaults

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

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

func (*UserCheckFollowingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user check following params

func (*UserCheckFollowingParams) WithTarget

WithTarget adds the target to the user check following params

func (*UserCheckFollowingParams) WithTimeout

WithTimeout adds the timeout to the user check following params

func (*UserCheckFollowingParams) WithUsername

func (o *UserCheckFollowingParams) WithUsername(username string) *UserCheckFollowingParams

WithUsername adds the username to the user check following params

func (*UserCheckFollowingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCheckFollowingReader

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

UserCheckFollowingReader is a Reader for the UserCheckFollowing structure.

func (*UserCheckFollowingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCheckUserBlockNoContent

type UserCheckUserBlockNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCheckUserBlockNoContent

func NewUserCheckUserBlockNoContent() *UserCheckUserBlockNoContent

NewUserCheckUserBlockNoContent creates a UserCheckUserBlockNoContent with default headers values

func (*UserCheckUserBlockNoContent) Code

func (o *UserCheckUserBlockNoContent) Code() int

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

func (*UserCheckUserBlockNoContent) Error

func (*UserCheckUserBlockNoContent) IsClientError

func (o *UserCheckUserBlockNoContent) IsClientError() bool

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

func (*UserCheckUserBlockNoContent) IsCode

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

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

func (*UserCheckUserBlockNoContent) IsRedirect

func (o *UserCheckUserBlockNoContent) IsRedirect() bool

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

func (*UserCheckUserBlockNoContent) IsServerError

func (o *UserCheckUserBlockNoContent) IsServerError() bool

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

func (*UserCheckUserBlockNoContent) IsSuccess

func (o *UserCheckUserBlockNoContent) IsSuccess() bool

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

func (*UserCheckUserBlockNoContent) String

func (o *UserCheckUserBlockNoContent) String() string

type UserCheckUserBlockNotFound

type UserCheckUserBlockNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCheckUserBlockNotFound

func NewUserCheckUserBlockNotFound() *UserCheckUserBlockNotFound

NewUserCheckUserBlockNotFound creates a UserCheckUserBlockNotFound with default headers values

func (*UserCheckUserBlockNotFound) Code

func (o *UserCheckUserBlockNotFound) Code() int

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

func (*UserCheckUserBlockNotFound) Error

func (*UserCheckUserBlockNotFound) IsClientError

func (o *UserCheckUserBlockNotFound) IsClientError() bool

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

func (*UserCheckUserBlockNotFound) IsCode

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

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

func (*UserCheckUserBlockNotFound) IsRedirect

func (o *UserCheckUserBlockNotFound) IsRedirect() bool

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

func (*UserCheckUserBlockNotFound) IsServerError

func (o *UserCheckUserBlockNotFound) IsServerError() bool

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

func (*UserCheckUserBlockNotFound) IsSuccess

func (o *UserCheckUserBlockNotFound) IsSuccess() bool

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

func (*UserCheckUserBlockNotFound) String

func (o *UserCheckUserBlockNotFound) String() string

type UserCheckUserBlockParams

type UserCheckUserBlockParams struct {

	/* Username.

	   user to check
	*/
	Username string

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

UserCheckUserBlockParams contains all the parameters to send to the API endpoint

for the user check user block operation.

Typically these are written to a http.Request.

func NewUserCheckUserBlockParams

func NewUserCheckUserBlockParams() *UserCheckUserBlockParams

NewUserCheckUserBlockParams creates a new UserCheckUserBlockParams 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 NewUserCheckUserBlockParamsWithContext

func NewUserCheckUserBlockParamsWithContext(ctx context.Context) *UserCheckUserBlockParams

NewUserCheckUserBlockParamsWithContext creates a new UserCheckUserBlockParams object with the ability to set a context for a request.

func NewUserCheckUserBlockParamsWithHTTPClient

func NewUserCheckUserBlockParamsWithHTTPClient(client *http.Client) *UserCheckUserBlockParams

NewUserCheckUserBlockParamsWithHTTPClient creates a new UserCheckUserBlockParams object with the ability to set a custom HTTPClient for a request.

func NewUserCheckUserBlockParamsWithTimeout

func NewUserCheckUserBlockParamsWithTimeout(timeout time.Duration) *UserCheckUserBlockParams

NewUserCheckUserBlockParamsWithTimeout creates a new UserCheckUserBlockParams object with the ability to set a timeout on a request.

func (*UserCheckUserBlockParams) SetContext

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

SetContext adds the context to the user check user block params

func (*UserCheckUserBlockParams) SetDefaults

func (o *UserCheckUserBlockParams) SetDefaults()

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

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

func (*UserCheckUserBlockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user check user block params

func (*UserCheckUserBlockParams) SetTimeout

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

SetTimeout adds the timeout to the user check user block params

func (*UserCheckUserBlockParams) SetUsername

func (o *UserCheckUserBlockParams) SetUsername(username string)

SetUsername adds the username to the user check user block params

func (*UserCheckUserBlockParams) WithContext

WithContext adds the context to the user check user block params

func (*UserCheckUserBlockParams) WithDefaults

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

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

func (*UserCheckUserBlockParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user check user block params

func (*UserCheckUserBlockParams) WithTimeout

WithTimeout adds the timeout to the user check user block params

func (*UserCheckUserBlockParams) WithUsername

func (o *UserCheckUserBlockParams) WithUsername(username string) *UserCheckUserBlockParams

WithUsername adds the username to the user check user block params

func (*UserCheckUserBlockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCheckUserBlockReader

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

UserCheckUserBlockReader is a Reader for the UserCheckUserBlock structure.

func (*UserCheckUserBlockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCreateHookCreated

type UserCreateHookCreated struct {
	Payload *models.Hook
}

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

Hook

func NewUserCreateHookCreated

func NewUserCreateHookCreated() *UserCreateHookCreated

NewUserCreateHookCreated creates a UserCreateHookCreated with default headers values

func (*UserCreateHookCreated) Code

func (o *UserCreateHookCreated) Code() int

Code gets the status code for the user create hook created response

func (*UserCreateHookCreated) Error

func (o *UserCreateHookCreated) Error() string

func (*UserCreateHookCreated) GetPayload

func (o *UserCreateHookCreated) GetPayload() *models.Hook

func (*UserCreateHookCreated) IsClientError

func (o *UserCreateHookCreated) IsClientError() bool

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

func (*UserCreateHookCreated) IsCode

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

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

func (*UserCreateHookCreated) IsRedirect

func (o *UserCreateHookCreated) IsRedirect() bool

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

func (*UserCreateHookCreated) IsServerError

func (o *UserCreateHookCreated) IsServerError() bool

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

func (*UserCreateHookCreated) IsSuccess

func (o *UserCreateHookCreated) IsSuccess() bool

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

func (*UserCreateHookCreated) String

func (o *UserCreateHookCreated) String() string

type UserCreateHookParams

type UserCreateHookParams struct {

	// Body.
	Body *models.CreateHookOption

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

UserCreateHookParams contains all the parameters to send to the API endpoint

for the user create hook operation.

Typically these are written to a http.Request.

func NewUserCreateHookParams

func NewUserCreateHookParams() *UserCreateHookParams

NewUserCreateHookParams creates a new UserCreateHookParams 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 NewUserCreateHookParamsWithContext

func NewUserCreateHookParamsWithContext(ctx context.Context) *UserCreateHookParams

NewUserCreateHookParamsWithContext creates a new UserCreateHookParams object with the ability to set a context for a request.

func NewUserCreateHookParamsWithHTTPClient

func NewUserCreateHookParamsWithHTTPClient(client *http.Client) *UserCreateHookParams

NewUserCreateHookParamsWithHTTPClient creates a new UserCreateHookParams object with the ability to set a custom HTTPClient for a request.

func NewUserCreateHookParamsWithTimeout

func NewUserCreateHookParamsWithTimeout(timeout time.Duration) *UserCreateHookParams

NewUserCreateHookParamsWithTimeout creates a new UserCreateHookParams object with the ability to set a timeout on a request.

func (*UserCreateHookParams) SetBody

func (o *UserCreateHookParams) SetBody(body *models.CreateHookOption)

SetBody adds the body to the user create hook params

func (*UserCreateHookParams) SetContext

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

SetContext adds the context to the user create hook params

func (*UserCreateHookParams) SetDefaults

func (o *UserCreateHookParams) SetDefaults()

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

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

func (*UserCreateHookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user create hook params

func (*UserCreateHookParams) SetTimeout

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

SetTimeout adds the timeout to the user create hook params

func (*UserCreateHookParams) WithBody

WithBody adds the body to the user create hook params

func (*UserCreateHookParams) WithContext

WithContext adds the context to the user create hook params

func (*UserCreateHookParams) WithDefaults

func (o *UserCreateHookParams) WithDefaults() *UserCreateHookParams

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

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

func (*UserCreateHookParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user create hook params

func (*UserCreateHookParams) WithTimeout

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

WithTimeout adds the timeout to the user create hook params

func (*UserCreateHookParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserCreateHookReader

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

UserCreateHookReader is a Reader for the UserCreateHook structure.

func (*UserCreateHookReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCreateOAuth2ApplicationBadRequest

type UserCreateOAuth2ApplicationBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewUserCreateOAuth2ApplicationBadRequest

func NewUserCreateOAuth2ApplicationBadRequest() *UserCreateOAuth2ApplicationBadRequest

NewUserCreateOAuth2ApplicationBadRequest creates a UserCreateOAuth2ApplicationBadRequest with default headers values

func (*UserCreateOAuth2ApplicationBadRequest) Code

Code gets the status code for the user create o auth2 application bad request response

func (*UserCreateOAuth2ApplicationBadRequest) Error

func (*UserCreateOAuth2ApplicationBadRequest) IsClientError

func (o *UserCreateOAuth2ApplicationBadRequest) IsClientError() bool

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

func (*UserCreateOAuth2ApplicationBadRequest) IsCode

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

func (*UserCreateOAuth2ApplicationBadRequest) IsRedirect

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

func (*UserCreateOAuth2ApplicationBadRequest) IsServerError

func (o *UserCreateOAuth2ApplicationBadRequest) IsServerError() bool

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

func (*UserCreateOAuth2ApplicationBadRequest) IsSuccess

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

func (*UserCreateOAuth2ApplicationBadRequest) String

type UserCreateOAuth2ApplicationCreated

type UserCreateOAuth2ApplicationCreated struct {
	Payload *models.OAuth2Application
}

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

OAuth2Application

func NewUserCreateOAuth2ApplicationCreated

func NewUserCreateOAuth2ApplicationCreated() *UserCreateOAuth2ApplicationCreated

NewUserCreateOAuth2ApplicationCreated creates a UserCreateOAuth2ApplicationCreated with default headers values

func (*UserCreateOAuth2ApplicationCreated) Code

Code gets the status code for the user create o auth2 application created response

func (*UserCreateOAuth2ApplicationCreated) Error

func (*UserCreateOAuth2ApplicationCreated) GetPayload

func (*UserCreateOAuth2ApplicationCreated) IsClientError

func (o *UserCreateOAuth2ApplicationCreated) IsClientError() bool

IsClientError returns true when this user create o auth2 application created response has a 4xx status code

func (*UserCreateOAuth2ApplicationCreated) IsCode

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

func (*UserCreateOAuth2ApplicationCreated) IsRedirect

func (o *UserCreateOAuth2ApplicationCreated) IsRedirect() bool

IsRedirect returns true when this user create o auth2 application created response has a 3xx status code

func (*UserCreateOAuth2ApplicationCreated) IsServerError

func (o *UserCreateOAuth2ApplicationCreated) IsServerError() bool

IsServerError returns true when this user create o auth2 application created response has a 5xx status code

func (*UserCreateOAuth2ApplicationCreated) IsSuccess

IsSuccess returns true when this user create o auth2 application created response has a 2xx status code

func (*UserCreateOAuth2ApplicationCreated) String

type UserCreateOAuth2ApplicationParams

type UserCreateOAuth2ApplicationParams struct {

	// Body.
	Body *models.CreateOAuth2ApplicationOptions

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

UserCreateOAuth2ApplicationParams contains all the parameters to send to the API endpoint

for the user create o auth2 application operation.

Typically these are written to a http.Request.

func NewUserCreateOAuth2ApplicationParams

func NewUserCreateOAuth2ApplicationParams() *UserCreateOAuth2ApplicationParams

NewUserCreateOAuth2ApplicationParams creates a new UserCreateOAuth2ApplicationParams 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 NewUserCreateOAuth2ApplicationParamsWithContext

func NewUserCreateOAuth2ApplicationParamsWithContext(ctx context.Context) *UserCreateOAuth2ApplicationParams

NewUserCreateOAuth2ApplicationParamsWithContext creates a new UserCreateOAuth2ApplicationParams object with the ability to set a context for a request.

func NewUserCreateOAuth2ApplicationParamsWithHTTPClient

func NewUserCreateOAuth2ApplicationParamsWithHTTPClient(client *http.Client) *UserCreateOAuth2ApplicationParams

NewUserCreateOAuth2ApplicationParamsWithHTTPClient creates a new UserCreateOAuth2ApplicationParams object with the ability to set a custom HTTPClient for a request.

func NewUserCreateOAuth2ApplicationParamsWithTimeout

func NewUserCreateOAuth2ApplicationParamsWithTimeout(timeout time.Duration) *UserCreateOAuth2ApplicationParams

NewUserCreateOAuth2ApplicationParamsWithTimeout creates a new UserCreateOAuth2ApplicationParams object with the ability to set a timeout on a request.

func (*UserCreateOAuth2ApplicationParams) SetBody

SetBody adds the body to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) SetContext

SetContext adds the context to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) SetDefaults

func (o *UserCreateOAuth2ApplicationParams) SetDefaults()

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

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

func (*UserCreateOAuth2ApplicationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) SetTimeout

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

SetTimeout adds the timeout to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) WithBody

WithBody adds the body to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) WithContext

WithContext adds the context to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) WithDefaults

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

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

func (*UserCreateOAuth2ApplicationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) WithTimeout

WithTimeout adds the timeout to the user create o auth2 application params

func (*UserCreateOAuth2ApplicationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCreateOAuth2ApplicationReader

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

UserCreateOAuth2ApplicationReader is a Reader for the UserCreateOAuth2Application structure.

func (*UserCreateOAuth2ApplicationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCreateTokenBadRequest

type UserCreateTokenBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewUserCreateTokenBadRequest

func NewUserCreateTokenBadRequest() *UserCreateTokenBadRequest

NewUserCreateTokenBadRequest creates a UserCreateTokenBadRequest with default headers values

func (*UserCreateTokenBadRequest) Code

func (o *UserCreateTokenBadRequest) Code() int

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

func (*UserCreateTokenBadRequest) Error

func (o *UserCreateTokenBadRequest) Error() string

func (*UserCreateTokenBadRequest) IsClientError

func (o *UserCreateTokenBadRequest) IsClientError() bool

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

func (*UserCreateTokenBadRequest) IsCode

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

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

func (*UserCreateTokenBadRequest) IsRedirect

func (o *UserCreateTokenBadRequest) IsRedirect() bool

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

func (*UserCreateTokenBadRequest) IsServerError

func (o *UserCreateTokenBadRequest) IsServerError() bool

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

func (*UserCreateTokenBadRequest) IsSuccess

func (o *UserCreateTokenBadRequest) IsSuccess() bool

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

func (*UserCreateTokenBadRequest) String

func (o *UserCreateTokenBadRequest) String() string

type UserCreateTokenCreated

type UserCreateTokenCreated struct {
	Payload *models.AccessToken
}

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

AccessToken represents an API access token.

func NewUserCreateTokenCreated

func NewUserCreateTokenCreated() *UserCreateTokenCreated

NewUserCreateTokenCreated creates a UserCreateTokenCreated with default headers values

func (*UserCreateTokenCreated) Code

func (o *UserCreateTokenCreated) Code() int

Code gets the status code for the user create token created response

func (*UserCreateTokenCreated) Error

func (o *UserCreateTokenCreated) Error() string

func (*UserCreateTokenCreated) GetPayload

func (o *UserCreateTokenCreated) GetPayload() *models.AccessToken

func (*UserCreateTokenCreated) IsClientError

func (o *UserCreateTokenCreated) IsClientError() bool

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

func (*UserCreateTokenCreated) IsCode

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

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

func (*UserCreateTokenCreated) IsRedirect

func (o *UserCreateTokenCreated) IsRedirect() bool

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

func (*UserCreateTokenCreated) IsServerError

func (o *UserCreateTokenCreated) IsServerError() bool

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

func (*UserCreateTokenCreated) IsSuccess

func (o *UserCreateTokenCreated) IsSuccess() bool

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

func (*UserCreateTokenCreated) String

func (o *UserCreateTokenCreated) String() string

type UserCreateTokenForbidden

type UserCreateTokenForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewUserCreateTokenForbidden

func NewUserCreateTokenForbidden() *UserCreateTokenForbidden

NewUserCreateTokenForbidden creates a UserCreateTokenForbidden with default headers values

func (*UserCreateTokenForbidden) Code

func (o *UserCreateTokenForbidden) Code() int

Code gets the status code for the user create token forbidden response

func (*UserCreateTokenForbidden) Error

func (o *UserCreateTokenForbidden) Error() string

func (*UserCreateTokenForbidden) IsClientError

func (o *UserCreateTokenForbidden) IsClientError() bool

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

func (*UserCreateTokenForbidden) IsCode

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

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

func (*UserCreateTokenForbidden) IsRedirect

func (o *UserCreateTokenForbidden) IsRedirect() bool

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

func (*UserCreateTokenForbidden) IsServerError

func (o *UserCreateTokenForbidden) IsServerError() bool

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

func (*UserCreateTokenForbidden) IsSuccess

func (o *UserCreateTokenForbidden) IsSuccess() bool

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

func (*UserCreateTokenForbidden) String

func (o *UserCreateTokenForbidden) String() string

type UserCreateTokenParams

type UserCreateTokenParams struct {

	// Body.
	Body *models.CreateAccessTokenOption

	/* Username.

	   username of user
	*/
	Username string

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

UserCreateTokenParams contains all the parameters to send to the API endpoint

for the user create token operation.

Typically these are written to a http.Request.

func NewUserCreateTokenParams

func NewUserCreateTokenParams() *UserCreateTokenParams

NewUserCreateTokenParams creates a new UserCreateTokenParams 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 NewUserCreateTokenParamsWithContext

func NewUserCreateTokenParamsWithContext(ctx context.Context) *UserCreateTokenParams

NewUserCreateTokenParamsWithContext creates a new UserCreateTokenParams object with the ability to set a context for a request.

func NewUserCreateTokenParamsWithHTTPClient

func NewUserCreateTokenParamsWithHTTPClient(client *http.Client) *UserCreateTokenParams

NewUserCreateTokenParamsWithHTTPClient creates a new UserCreateTokenParams object with the ability to set a custom HTTPClient for a request.

func NewUserCreateTokenParamsWithTimeout

func NewUserCreateTokenParamsWithTimeout(timeout time.Duration) *UserCreateTokenParams

NewUserCreateTokenParamsWithTimeout creates a new UserCreateTokenParams object with the ability to set a timeout on a request.

func (*UserCreateTokenParams) SetBody

SetBody adds the body to the user create token params

func (*UserCreateTokenParams) SetContext

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

SetContext adds the context to the user create token params

func (*UserCreateTokenParams) SetDefaults

func (o *UserCreateTokenParams) SetDefaults()

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

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

func (*UserCreateTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user create token params

func (*UserCreateTokenParams) SetTimeout

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

SetTimeout adds the timeout to the user create token params

func (*UserCreateTokenParams) SetUsername

func (o *UserCreateTokenParams) SetUsername(username string)

SetUsername adds the username to the user create token params

func (*UserCreateTokenParams) WithBody

WithBody adds the body to the user create token params

func (*UserCreateTokenParams) WithContext

WithContext adds the context to the user create token params

func (*UserCreateTokenParams) WithDefaults

func (o *UserCreateTokenParams) WithDefaults() *UserCreateTokenParams

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

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

func (*UserCreateTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user create token params

func (*UserCreateTokenParams) WithTimeout

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

WithTimeout adds the timeout to the user create token params

func (*UserCreateTokenParams) WithUsername

func (o *UserCreateTokenParams) WithUsername(username string) *UserCreateTokenParams

WithUsername adds the username to the user create token params

func (*UserCreateTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserCreateTokenReader

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

UserCreateTokenReader is a Reader for the UserCreateToken structure.

func (*UserCreateTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentCheckFollowingNoContent

type UserCurrentCheckFollowingNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCurrentCheckFollowingNoContent

func NewUserCurrentCheckFollowingNoContent() *UserCurrentCheckFollowingNoContent

NewUserCurrentCheckFollowingNoContent creates a UserCurrentCheckFollowingNoContent with default headers values

func (*UserCurrentCheckFollowingNoContent) Code

Code gets the status code for the user current check following no content response

func (*UserCurrentCheckFollowingNoContent) Error

func (*UserCurrentCheckFollowingNoContent) IsClientError

func (o *UserCurrentCheckFollowingNoContent) IsClientError() bool

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

func (*UserCurrentCheckFollowingNoContent) IsCode

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

func (*UserCurrentCheckFollowingNoContent) IsRedirect

func (o *UserCurrentCheckFollowingNoContent) IsRedirect() bool

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

func (*UserCurrentCheckFollowingNoContent) IsServerError

func (o *UserCurrentCheckFollowingNoContent) IsServerError() bool

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

func (*UserCurrentCheckFollowingNoContent) IsSuccess

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

func (*UserCurrentCheckFollowingNoContent) String

type UserCurrentCheckFollowingNotFound

type UserCurrentCheckFollowingNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentCheckFollowingNotFound

func NewUserCurrentCheckFollowingNotFound() *UserCurrentCheckFollowingNotFound

NewUserCurrentCheckFollowingNotFound creates a UserCurrentCheckFollowingNotFound with default headers values

func (*UserCurrentCheckFollowingNotFound) Code

Code gets the status code for the user current check following not found response

func (*UserCurrentCheckFollowingNotFound) Error

func (*UserCurrentCheckFollowingNotFound) IsClientError

func (o *UserCurrentCheckFollowingNotFound) IsClientError() bool

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

func (*UserCurrentCheckFollowingNotFound) IsCode

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

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

func (*UserCurrentCheckFollowingNotFound) IsRedirect

func (o *UserCurrentCheckFollowingNotFound) IsRedirect() bool

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

func (*UserCurrentCheckFollowingNotFound) IsServerError

func (o *UserCurrentCheckFollowingNotFound) IsServerError() bool

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

func (*UserCurrentCheckFollowingNotFound) IsSuccess

func (o *UserCurrentCheckFollowingNotFound) IsSuccess() bool

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

func (*UserCurrentCheckFollowingNotFound) String

type UserCurrentCheckFollowingParams

type UserCurrentCheckFollowingParams struct {

	/* Username.

	   username of followed user
	*/
	Username string

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

UserCurrentCheckFollowingParams contains all the parameters to send to the API endpoint

for the user current check following operation.

Typically these are written to a http.Request.

func NewUserCurrentCheckFollowingParams

func NewUserCurrentCheckFollowingParams() *UserCurrentCheckFollowingParams

NewUserCurrentCheckFollowingParams creates a new UserCurrentCheckFollowingParams 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 NewUserCurrentCheckFollowingParamsWithContext

func NewUserCurrentCheckFollowingParamsWithContext(ctx context.Context) *UserCurrentCheckFollowingParams

NewUserCurrentCheckFollowingParamsWithContext creates a new UserCurrentCheckFollowingParams object with the ability to set a context for a request.

func NewUserCurrentCheckFollowingParamsWithHTTPClient

func NewUserCurrentCheckFollowingParamsWithHTTPClient(client *http.Client) *UserCurrentCheckFollowingParams

NewUserCurrentCheckFollowingParamsWithHTTPClient creates a new UserCurrentCheckFollowingParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentCheckFollowingParamsWithTimeout

func NewUserCurrentCheckFollowingParamsWithTimeout(timeout time.Duration) *UserCurrentCheckFollowingParams

NewUserCurrentCheckFollowingParamsWithTimeout creates a new UserCurrentCheckFollowingParams object with the ability to set a timeout on a request.

func (*UserCurrentCheckFollowingParams) SetContext

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

SetContext adds the context to the user current check following params

func (*UserCurrentCheckFollowingParams) SetDefaults

func (o *UserCurrentCheckFollowingParams) SetDefaults()

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

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

func (*UserCurrentCheckFollowingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current check following params

func (*UserCurrentCheckFollowingParams) SetTimeout

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

SetTimeout adds the timeout to the user current check following params

func (*UserCurrentCheckFollowingParams) SetUsername

func (o *UserCurrentCheckFollowingParams) SetUsername(username string)

SetUsername adds the username to the user current check following params

func (*UserCurrentCheckFollowingParams) WithContext

WithContext adds the context to the user current check following params

func (*UserCurrentCheckFollowingParams) WithDefaults

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

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

func (*UserCurrentCheckFollowingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current check following params

func (*UserCurrentCheckFollowingParams) WithTimeout

WithTimeout adds the timeout to the user current check following params

func (*UserCurrentCheckFollowingParams) WithUsername

WithUsername adds the username to the user current check following params

func (*UserCurrentCheckFollowingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentCheckFollowingReader

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

UserCurrentCheckFollowingReader is a Reader for the UserCurrentCheckFollowing structure.

func (*UserCurrentCheckFollowingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentCheckStarringNoContent

type UserCurrentCheckStarringNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCurrentCheckStarringNoContent

func NewUserCurrentCheckStarringNoContent() *UserCurrentCheckStarringNoContent

NewUserCurrentCheckStarringNoContent creates a UserCurrentCheckStarringNoContent with default headers values

func (*UserCurrentCheckStarringNoContent) Code

Code gets the status code for the user current check starring no content response

func (*UserCurrentCheckStarringNoContent) Error

func (*UserCurrentCheckStarringNoContent) IsClientError

func (o *UserCurrentCheckStarringNoContent) IsClientError() bool

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

func (*UserCurrentCheckStarringNoContent) IsCode

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

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

func (*UserCurrentCheckStarringNoContent) IsRedirect

func (o *UserCurrentCheckStarringNoContent) IsRedirect() bool

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

func (*UserCurrentCheckStarringNoContent) IsServerError

func (o *UserCurrentCheckStarringNoContent) IsServerError() bool

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

func (*UserCurrentCheckStarringNoContent) IsSuccess

func (o *UserCurrentCheckStarringNoContent) IsSuccess() bool

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

func (*UserCurrentCheckStarringNoContent) String

type UserCurrentCheckStarringNotFound

type UserCurrentCheckStarringNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentCheckStarringNotFound

func NewUserCurrentCheckStarringNotFound() *UserCurrentCheckStarringNotFound

NewUserCurrentCheckStarringNotFound creates a UserCurrentCheckStarringNotFound with default headers values

func (*UserCurrentCheckStarringNotFound) Code

Code gets the status code for the user current check starring not found response

func (*UserCurrentCheckStarringNotFound) Error

func (*UserCurrentCheckStarringNotFound) IsClientError

func (o *UserCurrentCheckStarringNotFound) IsClientError() bool

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

func (*UserCurrentCheckStarringNotFound) IsCode

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

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

func (*UserCurrentCheckStarringNotFound) IsRedirect

func (o *UserCurrentCheckStarringNotFound) IsRedirect() bool

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

func (*UserCurrentCheckStarringNotFound) IsServerError

func (o *UserCurrentCheckStarringNotFound) IsServerError() bool

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

func (*UserCurrentCheckStarringNotFound) IsSuccess

func (o *UserCurrentCheckStarringNotFound) IsSuccess() bool

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

func (*UserCurrentCheckStarringNotFound) String

type UserCurrentCheckStarringParams

type UserCurrentCheckStarringParams struct {

	/* Owner.

	   owner of the repo
	*/
	Owner string

	/* Repo.

	   name of the repo
	*/
	Repo string

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

UserCurrentCheckStarringParams contains all the parameters to send to the API endpoint

for the user current check starring operation.

Typically these are written to a http.Request.

func NewUserCurrentCheckStarringParams

func NewUserCurrentCheckStarringParams() *UserCurrentCheckStarringParams

NewUserCurrentCheckStarringParams creates a new UserCurrentCheckStarringParams 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 NewUserCurrentCheckStarringParamsWithContext

func NewUserCurrentCheckStarringParamsWithContext(ctx context.Context) *UserCurrentCheckStarringParams

NewUserCurrentCheckStarringParamsWithContext creates a new UserCurrentCheckStarringParams object with the ability to set a context for a request.

func NewUserCurrentCheckStarringParamsWithHTTPClient

func NewUserCurrentCheckStarringParamsWithHTTPClient(client *http.Client) *UserCurrentCheckStarringParams

NewUserCurrentCheckStarringParamsWithHTTPClient creates a new UserCurrentCheckStarringParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentCheckStarringParamsWithTimeout

func NewUserCurrentCheckStarringParamsWithTimeout(timeout time.Duration) *UserCurrentCheckStarringParams

NewUserCurrentCheckStarringParamsWithTimeout creates a new UserCurrentCheckStarringParams object with the ability to set a timeout on a request.

func (*UserCurrentCheckStarringParams) SetContext

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

SetContext adds the context to the user current check starring params

func (*UserCurrentCheckStarringParams) SetDefaults

func (o *UserCurrentCheckStarringParams) SetDefaults()

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

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

func (*UserCurrentCheckStarringParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current check starring params

func (*UserCurrentCheckStarringParams) SetOwner

func (o *UserCurrentCheckStarringParams) SetOwner(owner string)

SetOwner adds the owner to the user current check starring params

func (*UserCurrentCheckStarringParams) SetRepo

func (o *UserCurrentCheckStarringParams) SetRepo(repo string)

SetRepo adds the repo to the user current check starring params

func (*UserCurrentCheckStarringParams) SetTimeout

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

SetTimeout adds the timeout to the user current check starring params

func (*UserCurrentCheckStarringParams) WithContext

WithContext adds the context to the user current check starring params

func (*UserCurrentCheckStarringParams) WithDefaults

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

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

func (*UserCurrentCheckStarringParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current check starring params

func (*UserCurrentCheckStarringParams) WithOwner

WithOwner adds the owner to the user current check starring params

func (*UserCurrentCheckStarringParams) WithRepo

WithRepo adds the repo to the user current check starring params

func (*UserCurrentCheckStarringParams) WithTimeout

WithTimeout adds the timeout to the user current check starring params

func (*UserCurrentCheckStarringParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentCheckStarringReader

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

UserCurrentCheckStarringReader is a Reader for the UserCurrentCheckStarring structure.

func (*UserCurrentCheckStarringReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentDeleteFollowNoContent

type UserCurrentDeleteFollowNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCurrentDeleteFollowNoContent

func NewUserCurrentDeleteFollowNoContent() *UserCurrentDeleteFollowNoContent

NewUserCurrentDeleteFollowNoContent creates a UserCurrentDeleteFollowNoContent with default headers values

func (*UserCurrentDeleteFollowNoContent) Code

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

func (*UserCurrentDeleteFollowNoContent) Error

func (*UserCurrentDeleteFollowNoContent) IsClientError

func (o *UserCurrentDeleteFollowNoContent) IsClientError() bool

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

func (*UserCurrentDeleteFollowNoContent) IsCode

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

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

func (*UserCurrentDeleteFollowNoContent) IsRedirect

func (o *UserCurrentDeleteFollowNoContent) IsRedirect() bool

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

func (*UserCurrentDeleteFollowNoContent) IsServerError

func (o *UserCurrentDeleteFollowNoContent) IsServerError() bool

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

func (*UserCurrentDeleteFollowNoContent) IsSuccess

func (o *UserCurrentDeleteFollowNoContent) IsSuccess() bool

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

func (*UserCurrentDeleteFollowNoContent) String

type UserCurrentDeleteFollowNotFound

type UserCurrentDeleteFollowNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentDeleteFollowNotFound

func NewUserCurrentDeleteFollowNotFound() *UserCurrentDeleteFollowNotFound

NewUserCurrentDeleteFollowNotFound creates a UserCurrentDeleteFollowNotFound with default headers values

func (*UserCurrentDeleteFollowNotFound) Code

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

func (*UserCurrentDeleteFollowNotFound) Error

func (*UserCurrentDeleteFollowNotFound) IsClientError

func (o *UserCurrentDeleteFollowNotFound) IsClientError() bool

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

func (*UserCurrentDeleteFollowNotFound) IsCode

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

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

func (*UserCurrentDeleteFollowNotFound) IsRedirect

func (o *UserCurrentDeleteFollowNotFound) IsRedirect() bool

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

func (*UserCurrentDeleteFollowNotFound) IsServerError

func (o *UserCurrentDeleteFollowNotFound) IsServerError() bool

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

func (*UserCurrentDeleteFollowNotFound) IsSuccess

func (o *UserCurrentDeleteFollowNotFound) IsSuccess() bool

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

func (*UserCurrentDeleteFollowNotFound) String

type UserCurrentDeleteFollowParams

type UserCurrentDeleteFollowParams struct {

	/* Username.

	   username of user to unfollow
	*/
	Username string

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

UserCurrentDeleteFollowParams contains all the parameters to send to the API endpoint

for the user current delete follow operation.

Typically these are written to a http.Request.

func NewUserCurrentDeleteFollowParams

func NewUserCurrentDeleteFollowParams() *UserCurrentDeleteFollowParams

NewUserCurrentDeleteFollowParams creates a new UserCurrentDeleteFollowParams 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 NewUserCurrentDeleteFollowParamsWithContext

func NewUserCurrentDeleteFollowParamsWithContext(ctx context.Context) *UserCurrentDeleteFollowParams

NewUserCurrentDeleteFollowParamsWithContext creates a new UserCurrentDeleteFollowParams object with the ability to set a context for a request.

func NewUserCurrentDeleteFollowParamsWithHTTPClient

func NewUserCurrentDeleteFollowParamsWithHTTPClient(client *http.Client) *UserCurrentDeleteFollowParams

NewUserCurrentDeleteFollowParamsWithHTTPClient creates a new UserCurrentDeleteFollowParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentDeleteFollowParamsWithTimeout

func NewUserCurrentDeleteFollowParamsWithTimeout(timeout time.Duration) *UserCurrentDeleteFollowParams

NewUserCurrentDeleteFollowParamsWithTimeout creates a new UserCurrentDeleteFollowParams object with the ability to set a timeout on a request.

func (*UserCurrentDeleteFollowParams) SetContext

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

SetContext adds the context to the user current delete follow params

func (*UserCurrentDeleteFollowParams) SetDefaults

func (o *UserCurrentDeleteFollowParams) SetDefaults()

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

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

func (*UserCurrentDeleteFollowParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current delete follow params

func (*UserCurrentDeleteFollowParams) SetTimeout

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

SetTimeout adds the timeout to the user current delete follow params

func (*UserCurrentDeleteFollowParams) SetUsername

func (o *UserCurrentDeleteFollowParams) SetUsername(username string)

SetUsername adds the username to the user current delete follow params

func (*UserCurrentDeleteFollowParams) WithContext

WithContext adds the context to the user current delete follow params

func (*UserCurrentDeleteFollowParams) WithDefaults

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

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

func (*UserCurrentDeleteFollowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current delete follow params

func (*UserCurrentDeleteFollowParams) WithTimeout

WithTimeout adds the timeout to the user current delete follow params

func (*UserCurrentDeleteFollowParams) WithUsername

WithUsername adds the username to the user current delete follow params

func (*UserCurrentDeleteFollowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentDeleteFollowReader

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

UserCurrentDeleteFollowReader is a Reader for the UserCurrentDeleteFollow structure.

func (*UserCurrentDeleteFollowReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentDeleteGPGKeyForbidden

type UserCurrentDeleteGPGKeyForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewUserCurrentDeleteGPGKeyForbidden

func NewUserCurrentDeleteGPGKeyForbidden() *UserCurrentDeleteGPGKeyForbidden

NewUserCurrentDeleteGPGKeyForbidden creates a UserCurrentDeleteGPGKeyForbidden with default headers values

func (*UserCurrentDeleteGPGKeyForbidden) Code

Code gets the status code for the user current delete g p g key forbidden response

func (*UserCurrentDeleteGPGKeyForbidden) Error

func (*UserCurrentDeleteGPGKeyForbidden) IsClientError

func (o *UserCurrentDeleteGPGKeyForbidden) IsClientError() bool

IsClientError returns true when this user current delete g p g key forbidden response has a 4xx status code

func (*UserCurrentDeleteGPGKeyForbidden) IsCode

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

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

func (*UserCurrentDeleteGPGKeyForbidden) IsRedirect

func (o *UserCurrentDeleteGPGKeyForbidden) IsRedirect() bool

IsRedirect returns true when this user current delete g p g key forbidden response has a 3xx status code

func (*UserCurrentDeleteGPGKeyForbidden) IsServerError

func (o *UserCurrentDeleteGPGKeyForbidden) IsServerError() bool

IsServerError returns true when this user current delete g p g key forbidden response has a 5xx status code

func (*UserCurrentDeleteGPGKeyForbidden) IsSuccess

func (o *UserCurrentDeleteGPGKeyForbidden) IsSuccess() bool

IsSuccess returns true when this user current delete g p g key forbidden response has a 2xx status code

func (*UserCurrentDeleteGPGKeyForbidden) String

type UserCurrentDeleteGPGKeyNoContent

type UserCurrentDeleteGPGKeyNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCurrentDeleteGPGKeyNoContent

func NewUserCurrentDeleteGPGKeyNoContent() *UserCurrentDeleteGPGKeyNoContent

NewUserCurrentDeleteGPGKeyNoContent creates a UserCurrentDeleteGPGKeyNoContent with default headers values

func (*UserCurrentDeleteGPGKeyNoContent) Code

Code gets the status code for the user current delete g p g key no content response

func (*UserCurrentDeleteGPGKeyNoContent) Error

func (*UserCurrentDeleteGPGKeyNoContent) IsClientError

func (o *UserCurrentDeleteGPGKeyNoContent) IsClientError() bool

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

func (*UserCurrentDeleteGPGKeyNoContent) IsCode

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

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

func (*UserCurrentDeleteGPGKeyNoContent) IsRedirect

func (o *UserCurrentDeleteGPGKeyNoContent) IsRedirect() bool

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

func (*UserCurrentDeleteGPGKeyNoContent) IsServerError

func (o *UserCurrentDeleteGPGKeyNoContent) IsServerError() bool

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

func (*UserCurrentDeleteGPGKeyNoContent) IsSuccess

func (o *UserCurrentDeleteGPGKeyNoContent) IsSuccess() bool

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

func (*UserCurrentDeleteGPGKeyNoContent) String

type UserCurrentDeleteGPGKeyNotFound

type UserCurrentDeleteGPGKeyNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentDeleteGPGKeyNotFound

func NewUserCurrentDeleteGPGKeyNotFound() *UserCurrentDeleteGPGKeyNotFound

NewUserCurrentDeleteGPGKeyNotFound creates a UserCurrentDeleteGPGKeyNotFound with default headers values

func (*UserCurrentDeleteGPGKeyNotFound) Code

Code gets the status code for the user current delete g p g key not found response

func (*UserCurrentDeleteGPGKeyNotFound) Error

func (*UserCurrentDeleteGPGKeyNotFound) IsClientError

func (o *UserCurrentDeleteGPGKeyNotFound) IsClientError() bool

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

func (*UserCurrentDeleteGPGKeyNotFound) IsCode

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

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

func (*UserCurrentDeleteGPGKeyNotFound) IsRedirect

func (o *UserCurrentDeleteGPGKeyNotFound) IsRedirect() bool

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

func (*UserCurrentDeleteGPGKeyNotFound) IsServerError

func (o *UserCurrentDeleteGPGKeyNotFound) IsServerError() bool

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

func (*UserCurrentDeleteGPGKeyNotFound) IsSuccess

func (o *UserCurrentDeleteGPGKeyNotFound) IsSuccess() bool

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

func (*UserCurrentDeleteGPGKeyNotFound) String

type UserCurrentDeleteGPGKeyParams

type UserCurrentDeleteGPGKeyParams struct {

	/* ID.

	   id of key to delete

	   Format: int64
	*/
	ID int64

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

UserCurrentDeleteGPGKeyParams contains all the parameters to send to the API endpoint

for the user current delete g p g key operation.

Typically these are written to a http.Request.

func NewUserCurrentDeleteGPGKeyParams

func NewUserCurrentDeleteGPGKeyParams() *UserCurrentDeleteGPGKeyParams

NewUserCurrentDeleteGPGKeyParams creates a new UserCurrentDeleteGPGKeyParams 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 NewUserCurrentDeleteGPGKeyParamsWithContext

func NewUserCurrentDeleteGPGKeyParamsWithContext(ctx context.Context) *UserCurrentDeleteGPGKeyParams

NewUserCurrentDeleteGPGKeyParamsWithContext creates a new UserCurrentDeleteGPGKeyParams object with the ability to set a context for a request.

func NewUserCurrentDeleteGPGKeyParamsWithHTTPClient

func NewUserCurrentDeleteGPGKeyParamsWithHTTPClient(client *http.Client) *UserCurrentDeleteGPGKeyParams

NewUserCurrentDeleteGPGKeyParamsWithHTTPClient creates a new UserCurrentDeleteGPGKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentDeleteGPGKeyParamsWithTimeout

func NewUserCurrentDeleteGPGKeyParamsWithTimeout(timeout time.Duration) *UserCurrentDeleteGPGKeyParams

NewUserCurrentDeleteGPGKeyParamsWithTimeout creates a new UserCurrentDeleteGPGKeyParams object with the ability to set a timeout on a request.

func (*UserCurrentDeleteGPGKeyParams) SetContext

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

SetContext adds the context to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) SetDefaults

func (o *UserCurrentDeleteGPGKeyParams) SetDefaults()

SetDefaults hydrates default values in the user current delete g p g key params (not the query body).

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

func (*UserCurrentDeleteGPGKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) SetID

func (o *UserCurrentDeleteGPGKeyParams) SetID(id int64)

SetID adds the id to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) SetTimeout

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

SetTimeout adds the timeout to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) WithContext

WithContext adds the context to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) WithDefaults

WithDefaults hydrates default values in the user current delete g p g key params (not the query body).

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

func (*UserCurrentDeleteGPGKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) WithID

WithID adds the id to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) WithTimeout

WithTimeout adds the timeout to the user current delete g p g key params

func (*UserCurrentDeleteGPGKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentDeleteGPGKeyReader

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

UserCurrentDeleteGPGKeyReader is a Reader for the UserCurrentDeleteGPGKey structure.

func (*UserCurrentDeleteGPGKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentDeleteKeyForbidden

type UserCurrentDeleteKeyForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewUserCurrentDeleteKeyForbidden

func NewUserCurrentDeleteKeyForbidden() *UserCurrentDeleteKeyForbidden

NewUserCurrentDeleteKeyForbidden creates a UserCurrentDeleteKeyForbidden with default headers values

func (*UserCurrentDeleteKeyForbidden) Code

Code gets the status code for the user current delete key forbidden response

func (*UserCurrentDeleteKeyForbidden) Error

func (*UserCurrentDeleteKeyForbidden) IsClientError

func (o *UserCurrentDeleteKeyForbidden) IsClientError() bool

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

func (*UserCurrentDeleteKeyForbidden) IsCode

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

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

func (*UserCurrentDeleteKeyForbidden) IsRedirect

func (o *UserCurrentDeleteKeyForbidden) IsRedirect() bool

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

func (*UserCurrentDeleteKeyForbidden) IsServerError

func (o *UserCurrentDeleteKeyForbidden) IsServerError() bool

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

func (*UserCurrentDeleteKeyForbidden) IsSuccess

func (o *UserCurrentDeleteKeyForbidden) IsSuccess() bool

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

func (*UserCurrentDeleteKeyForbidden) String

type UserCurrentDeleteKeyNoContent

type UserCurrentDeleteKeyNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCurrentDeleteKeyNoContent

func NewUserCurrentDeleteKeyNoContent() *UserCurrentDeleteKeyNoContent

NewUserCurrentDeleteKeyNoContent creates a UserCurrentDeleteKeyNoContent with default headers values

func (*UserCurrentDeleteKeyNoContent) Code

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

func (*UserCurrentDeleteKeyNoContent) Error

func (*UserCurrentDeleteKeyNoContent) IsClientError

func (o *UserCurrentDeleteKeyNoContent) IsClientError() bool

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

func (*UserCurrentDeleteKeyNoContent) IsCode

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

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

func (*UserCurrentDeleteKeyNoContent) IsRedirect

func (o *UserCurrentDeleteKeyNoContent) IsRedirect() bool

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

func (*UserCurrentDeleteKeyNoContent) IsServerError

func (o *UserCurrentDeleteKeyNoContent) IsServerError() bool

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

func (*UserCurrentDeleteKeyNoContent) IsSuccess

func (o *UserCurrentDeleteKeyNoContent) IsSuccess() bool

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

func (*UserCurrentDeleteKeyNoContent) String

type UserCurrentDeleteKeyNotFound

type UserCurrentDeleteKeyNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentDeleteKeyNotFound

func NewUserCurrentDeleteKeyNotFound() *UserCurrentDeleteKeyNotFound

NewUserCurrentDeleteKeyNotFound creates a UserCurrentDeleteKeyNotFound with default headers values

func (*UserCurrentDeleteKeyNotFound) Code

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

func (*UserCurrentDeleteKeyNotFound) Error

func (*UserCurrentDeleteKeyNotFound) IsClientError

func (o *UserCurrentDeleteKeyNotFound) IsClientError() bool

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

func (*UserCurrentDeleteKeyNotFound) IsCode

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

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

func (*UserCurrentDeleteKeyNotFound) IsRedirect

func (o *UserCurrentDeleteKeyNotFound) IsRedirect() bool

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

func (*UserCurrentDeleteKeyNotFound) IsServerError

func (o *UserCurrentDeleteKeyNotFound) IsServerError() bool

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

func (*UserCurrentDeleteKeyNotFound) IsSuccess

func (o *UserCurrentDeleteKeyNotFound) IsSuccess() bool

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

func (*UserCurrentDeleteKeyNotFound) String

type UserCurrentDeleteKeyParams

type UserCurrentDeleteKeyParams struct {

	/* ID.

	   id of key to delete

	   Format: int64
	*/
	ID int64

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

UserCurrentDeleteKeyParams contains all the parameters to send to the API endpoint

for the user current delete key operation.

Typically these are written to a http.Request.

func NewUserCurrentDeleteKeyParams

func NewUserCurrentDeleteKeyParams() *UserCurrentDeleteKeyParams

NewUserCurrentDeleteKeyParams creates a new UserCurrentDeleteKeyParams 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 NewUserCurrentDeleteKeyParamsWithContext

func NewUserCurrentDeleteKeyParamsWithContext(ctx context.Context) *UserCurrentDeleteKeyParams

NewUserCurrentDeleteKeyParamsWithContext creates a new UserCurrentDeleteKeyParams object with the ability to set a context for a request.

func NewUserCurrentDeleteKeyParamsWithHTTPClient

func NewUserCurrentDeleteKeyParamsWithHTTPClient(client *http.Client) *UserCurrentDeleteKeyParams

NewUserCurrentDeleteKeyParamsWithHTTPClient creates a new UserCurrentDeleteKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentDeleteKeyParamsWithTimeout

func NewUserCurrentDeleteKeyParamsWithTimeout(timeout time.Duration) *UserCurrentDeleteKeyParams

NewUserCurrentDeleteKeyParamsWithTimeout creates a new UserCurrentDeleteKeyParams object with the ability to set a timeout on a request.

func (*UserCurrentDeleteKeyParams) SetContext

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

SetContext adds the context to the user current delete key params

func (*UserCurrentDeleteKeyParams) SetDefaults

func (o *UserCurrentDeleteKeyParams) SetDefaults()

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

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

func (*UserCurrentDeleteKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current delete key params

func (*UserCurrentDeleteKeyParams) SetID

func (o *UserCurrentDeleteKeyParams) SetID(id int64)

SetID adds the id to the user current delete key params

func (*UserCurrentDeleteKeyParams) SetTimeout

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

SetTimeout adds the timeout to the user current delete key params

func (*UserCurrentDeleteKeyParams) WithContext

WithContext adds the context to the user current delete key params

func (*UserCurrentDeleteKeyParams) WithDefaults

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

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

func (*UserCurrentDeleteKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current delete key params

func (*UserCurrentDeleteKeyParams) WithID

WithID adds the id to the user current delete key params

func (*UserCurrentDeleteKeyParams) WithTimeout

WithTimeout adds the timeout to the user current delete key params

func (*UserCurrentDeleteKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentDeleteKeyReader

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

UserCurrentDeleteKeyReader is a Reader for the UserCurrentDeleteKey structure.

func (*UserCurrentDeleteKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentDeleteStarNoContent

type UserCurrentDeleteStarNoContent struct {
}

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

APIEmpty is an empty response

func NewUserCurrentDeleteStarNoContent

func NewUserCurrentDeleteStarNoContent() *UserCurrentDeleteStarNoContent

NewUserCurrentDeleteStarNoContent creates a UserCurrentDeleteStarNoContent with default headers values

func (*UserCurrentDeleteStarNoContent) Code

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

func (*UserCurrentDeleteStarNoContent) Error

func (*UserCurrentDeleteStarNoContent) IsClientError

func (o *UserCurrentDeleteStarNoContent) IsClientError() bool

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

func (*UserCurrentDeleteStarNoContent) IsCode

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

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

func (*UserCurrentDeleteStarNoContent) IsRedirect

func (o *UserCurrentDeleteStarNoContent) IsRedirect() bool

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

func (*UserCurrentDeleteStarNoContent) IsServerError

func (o *UserCurrentDeleteStarNoContent) IsServerError() bool

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

func (*UserCurrentDeleteStarNoContent) IsSuccess

func (o *UserCurrentDeleteStarNoContent) IsSuccess() bool

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

func (*UserCurrentDeleteStarNoContent) String

type UserCurrentDeleteStarNotFound

type UserCurrentDeleteStarNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentDeleteStarNotFound

func NewUserCurrentDeleteStarNotFound() *UserCurrentDeleteStarNotFound

NewUserCurrentDeleteStarNotFound creates a UserCurrentDeleteStarNotFound with default headers values

func (*UserCurrentDeleteStarNotFound) Code

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

func (*UserCurrentDeleteStarNotFound) Error

func (*UserCurrentDeleteStarNotFound) IsClientError

func (o *UserCurrentDeleteStarNotFound) IsClientError() bool

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

func (*UserCurrentDeleteStarNotFound) IsCode

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

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

func (*UserCurrentDeleteStarNotFound) IsRedirect

func (o *UserCurrentDeleteStarNotFound) IsRedirect() bool

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

func (*UserCurrentDeleteStarNotFound) IsServerError

func (o *UserCurrentDeleteStarNotFound) IsServerError() bool

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

func (*UserCurrentDeleteStarNotFound) IsSuccess

func (o *UserCurrentDeleteStarNotFound) IsSuccess() bool

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

func (*UserCurrentDeleteStarNotFound) String

type UserCurrentDeleteStarParams

type UserCurrentDeleteStarParams struct {

	/* Owner.

	   owner of the repo to unstar
	*/
	Owner string

	/* Repo.

	   name of the repo to unstar
	*/
	Repo string

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

UserCurrentDeleteStarParams contains all the parameters to send to the API endpoint

for the user current delete star operation.

Typically these are written to a http.Request.

func NewUserCurrentDeleteStarParams

func NewUserCurrentDeleteStarParams() *UserCurrentDeleteStarParams

NewUserCurrentDeleteStarParams creates a new UserCurrentDeleteStarParams 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 NewUserCurrentDeleteStarParamsWithContext

func NewUserCurrentDeleteStarParamsWithContext(ctx context.Context) *UserCurrentDeleteStarParams

NewUserCurrentDeleteStarParamsWithContext creates a new UserCurrentDeleteStarParams object with the ability to set a context for a request.

func NewUserCurrentDeleteStarParamsWithHTTPClient

func NewUserCurrentDeleteStarParamsWithHTTPClient(client *http.Client) *UserCurrentDeleteStarParams

NewUserCurrentDeleteStarParamsWithHTTPClient creates a new UserCurrentDeleteStarParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentDeleteStarParamsWithTimeout

func NewUserCurrentDeleteStarParamsWithTimeout(timeout time.Duration) *UserCurrentDeleteStarParams

NewUserCurrentDeleteStarParamsWithTimeout creates a new UserCurrentDeleteStarParams object with the ability to set a timeout on a request.

func (*UserCurrentDeleteStarParams) SetContext

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

SetContext adds the context to the user current delete star params

func (*UserCurrentDeleteStarParams) SetDefaults

func (o *UserCurrentDeleteStarParams) SetDefaults()

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

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

func (*UserCurrentDeleteStarParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current delete star params

func (*UserCurrentDeleteStarParams) SetOwner

func (o *UserCurrentDeleteStarParams) SetOwner(owner string)

SetOwner adds the owner to the user current delete star params

func (*UserCurrentDeleteStarParams) SetRepo

func (o *UserCurrentDeleteStarParams) SetRepo(repo string)

SetRepo adds the repo to the user current delete star params

func (*UserCurrentDeleteStarParams) SetTimeout

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

SetTimeout adds the timeout to the user current delete star params

func (*UserCurrentDeleteStarParams) WithContext

WithContext adds the context to the user current delete star params

func (*UserCurrentDeleteStarParams) WithDefaults

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

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

func (*UserCurrentDeleteStarParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current delete star params

func (*UserCurrentDeleteStarParams) WithOwner

WithOwner adds the owner to the user current delete star params

func (*UserCurrentDeleteStarParams) WithRepo

WithRepo adds the repo to the user current delete star params

func (*UserCurrentDeleteStarParams) WithTimeout

WithTimeout adds the timeout to the user current delete star params

func (*UserCurrentDeleteStarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentDeleteStarReader

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

UserCurrentDeleteStarReader is a Reader for the UserCurrentDeleteStar structure.

func (*UserCurrentDeleteStarReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentGetGPGKeyNotFound

type UserCurrentGetGPGKeyNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentGetGPGKeyNotFound

func NewUserCurrentGetGPGKeyNotFound() *UserCurrentGetGPGKeyNotFound

NewUserCurrentGetGPGKeyNotFound creates a UserCurrentGetGPGKeyNotFound with default headers values

func (*UserCurrentGetGPGKeyNotFound) Code

Code gets the status code for the user current get g p g key not found response

func (*UserCurrentGetGPGKeyNotFound) Error

func (*UserCurrentGetGPGKeyNotFound) IsClientError

func (o *UserCurrentGetGPGKeyNotFound) IsClientError() bool

IsClientError returns true when this user current get g p g key not found response has a 4xx status code

func (*UserCurrentGetGPGKeyNotFound) IsCode

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

IsCode returns true when this user current get g p g key not found response a status code equal to that given

func (*UserCurrentGetGPGKeyNotFound) IsRedirect

func (o *UserCurrentGetGPGKeyNotFound) IsRedirect() bool

IsRedirect returns true when this user current get g p g key not found response has a 3xx status code

func (*UserCurrentGetGPGKeyNotFound) IsServerError

func (o *UserCurrentGetGPGKeyNotFound) IsServerError() bool

IsServerError returns true when this user current get g p g key not found response has a 5xx status code

func (*UserCurrentGetGPGKeyNotFound) IsSuccess

func (o *UserCurrentGetGPGKeyNotFound) IsSuccess() bool

IsSuccess returns true when this user current get g p g key not found response has a 2xx status code

func (*UserCurrentGetGPGKeyNotFound) String

type UserCurrentGetGPGKeyOK

type UserCurrentGetGPGKeyOK struct {
	Payload *models.GPGKey
}

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

GPGKey

func NewUserCurrentGetGPGKeyOK

func NewUserCurrentGetGPGKeyOK() *UserCurrentGetGPGKeyOK

NewUserCurrentGetGPGKeyOK creates a UserCurrentGetGPGKeyOK with default headers values

func (*UserCurrentGetGPGKeyOK) Code

func (o *UserCurrentGetGPGKeyOK) Code() int

Code gets the status code for the user current get g p g key o k response

func (*UserCurrentGetGPGKeyOK) Error

func (o *UserCurrentGetGPGKeyOK) Error() string

func (*UserCurrentGetGPGKeyOK) GetPayload

func (o *UserCurrentGetGPGKeyOK) GetPayload() *models.GPGKey

func (*UserCurrentGetGPGKeyOK) IsClientError

func (o *UserCurrentGetGPGKeyOK) IsClientError() bool

IsClientError returns true when this user current get g p g key o k response has a 4xx status code

func (*UserCurrentGetGPGKeyOK) IsCode

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

IsCode returns true when this user current get g p g key o k response a status code equal to that given

func (*UserCurrentGetGPGKeyOK) IsRedirect

func (o *UserCurrentGetGPGKeyOK) IsRedirect() bool

IsRedirect returns true when this user current get g p g key o k response has a 3xx status code

func (*UserCurrentGetGPGKeyOK) IsServerError

func (o *UserCurrentGetGPGKeyOK) IsServerError() bool

IsServerError returns true when this user current get g p g key o k response has a 5xx status code

func (*UserCurrentGetGPGKeyOK) IsSuccess

func (o *UserCurrentGetGPGKeyOK) IsSuccess() bool

IsSuccess returns true when this user current get g p g key o k response has a 2xx status code

func (*UserCurrentGetGPGKeyOK) String

func (o *UserCurrentGetGPGKeyOK) String() string

type UserCurrentGetGPGKeyParams

type UserCurrentGetGPGKeyParams struct {

	/* ID.

	   id of key to get

	   Format: int64
	*/
	ID int64

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

UserCurrentGetGPGKeyParams contains all the parameters to send to the API endpoint

for the user current get g p g key operation.

Typically these are written to a http.Request.

func NewUserCurrentGetGPGKeyParams

func NewUserCurrentGetGPGKeyParams() *UserCurrentGetGPGKeyParams

NewUserCurrentGetGPGKeyParams creates a new UserCurrentGetGPGKeyParams 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 NewUserCurrentGetGPGKeyParamsWithContext

func NewUserCurrentGetGPGKeyParamsWithContext(ctx context.Context) *UserCurrentGetGPGKeyParams

NewUserCurrentGetGPGKeyParamsWithContext creates a new UserCurrentGetGPGKeyParams object with the ability to set a context for a request.

func NewUserCurrentGetGPGKeyParamsWithHTTPClient

func NewUserCurrentGetGPGKeyParamsWithHTTPClient(client *http.Client) *UserCurrentGetGPGKeyParams

NewUserCurrentGetGPGKeyParamsWithHTTPClient creates a new UserCurrentGetGPGKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentGetGPGKeyParamsWithTimeout

func NewUserCurrentGetGPGKeyParamsWithTimeout(timeout time.Duration) *UserCurrentGetGPGKeyParams

NewUserCurrentGetGPGKeyParamsWithTimeout creates a new UserCurrentGetGPGKeyParams object with the ability to set a timeout on a request.

func (*UserCurrentGetGPGKeyParams) SetContext

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

SetContext adds the context to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) SetDefaults

func (o *UserCurrentGetGPGKeyParams) SetDefaults()

SetDefaults hydrates default values in the user current get g p g key params (not the query body).

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

func (*UserCurrentGetGPGKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) SetID

func (o *UserCurrentGetGPGKeyParams) SetID(id int64)

SetID adds the id to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) SetTimeout

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

SetTimeout adds the timeout to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) WithContext

WithContext adds the context to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) WithDefaults

WithDefaults hydrates default values in the user current get g p g key params (not the query body).

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

func (*UserCurrentGetGPGKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) WithID

WithID adds the id to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) WithTimeout

WithTimeout adds the timeout to the user current get g p g key params

func (*UserCurrentGetGPGKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentGetGPGKeyReader

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

UserCurrentGetGPGKeyReader is a Reader for the UserCurrentGetGPGKey structure.

func (*UserCurrentGetGPGKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentGetKeyNotFound

type UserCurrentGetKeyNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentGetKeyNotFound

func NewUserCurrentGetKeyNotFound() *UserCurrentGetKeyNotFound

NewUserCurrentGetKeyNotFound creates a UserCurrentGetKeyNotFound with default headers values

func (*UserCurrentGetKeyNotFound) Code

func (o *UserCurrentGetKeyNotFound) Code() int

Code gets the status code for the user current get key not found response

func (*UserCurrentGetKeyNotFound) Error

func (o *UserCurrentGetKeyNotFound) Error() string

func (*UserCurrentGetKeyNotFound) IsClientError

func (o *UserCurrentGetKeyNotFound) IsClientError() bool

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

func (*UserCurrentGetKeyNotFound) IsCode

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

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

func (*UserCurrentGetKeyNotFound) IsRedirect

func (o *UserCurrentGetKeyNotFound) IsRedirect() bool

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

func (*UserCurrentGetKeyNotFound) IsServerError

func (o *UserCurrentGetKeyNotFound) IsServerError() bool

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

func (*UserCurrentGetKeyNotFound) IsSuccess

func (o *UserCurrentGetKeyNotFound) IsSuccess() bool

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

func (*UserCurrentGetKeyNotFound) String

func (o *UserCurrentGetKeyNotFound) String() string

type UserCurrentGetKeyOK

type UserCurrentGetKeyOK struct {
	Payload *models.PublicKey
}

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

PublicKey

func NewUserCurrentGetKeyOK

func NewUserCurrentGetKeyOK() *UserCurrentGetKeyOK

NewUserCurrentGetKeyOK creates a UserCurrentGetKeyOK with default headers values

func (*UserCurrentGetKeyOK) Code

func (o *UserCurrentGetKeyOK) Code() int

Code gets the status code for the user current get key o k response

func (*UserCurrentGetKeyOK) Error

func (o *UserCurrentGetKeyOK) Error() string

func (*UserCurrentGetKeyOK) GetPayload

func (o *UserCurrentGetKeyOK) GetPayload() *models.PublicKey

func (*UserCurrentGetKeyOK) IsClientError

func (o *UserCurrentGetKeyOK) IsClientError() bool

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

func (*UserCurrentGetKeyOK) IsCode

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

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

func (*UserCurrentGetKeyOK) IsRedirect

func (o *UserCurrentGetKeyOK) IsRedirect() bool

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

func (*UserCurrentGetKeyOK) IsServerError

func (o *UserCurrentGetKeyOK) IsServerError() bool

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

func (*UserCurrentGetKeyOK) IsSuccess

func (o *UserCurrentGetKeyOK) IsSuccess() bool

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

func (*UserCurrentGetKeyOK) String

func (o *UserCurrentGetKeyOK) String() string

type UserCurrentGetKeyParams

type UserCurrentGetKeyParams struct {

	/* ID.

	   id of key to get

	   Format: int64
	*/
	ID int64

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

UserCurrentGetKeyParams contains all the parameters to send to the API endpoint

for the user current get key operation.

Typically these are written to a http.Request.

func NewUserCurrentGetKeyParams

func NewUserCurrentGetKeyParams() *UserCurrentGetKeyParams

NewUserCurrentGetKeyParams creates a new UserCurrentGetKeyParams 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 NewUserCurrentGetKeyParamsWithContext

func NewUserCurrentGetKeyParamsWithContext(ctx context.Context) *UserCurrentGetKeyParams

NewUserCurrentGetKeyParamsWithContext creates a new UserCurrentGetKeyParams object with the ability to set a context for a request.

func NewUserCurrentGetKeyParamsWithHTTPClient

func NewUserCurrentGetKeyParamsWithHTTPClient(client *http.Client) *UserCurrentGetKeyParams

NewUserCurrentGetKeyParamsWithHTTPClient creates a new UserCurrentGetKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentGetKeyParamsWithTimeout

func NewUserCurrentGetKeyParamsWithTimeout(timeout time.Duration) *UserCurrentGetKeyParams

NewUserCurrentGetKeyParamsWithTimeout creates a new UserCurrentGetKeyParams object with the ability to set a timeout on a request.

func (*UserCurrentGetKeyParams) SetContext

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

SetContext adds the context to the user current get key params

func (*UserCurrentGetKeyParams) SetDefaults

func (o *UserCurrentGetKeyParams) SetDefaults()

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

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

func (*UserCurrentGetKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current get key params

func (*UserCurrentGetKeyParams) SetID

func (o *UserCurrentGetKeyParams) SetID(id int64)

SetID adds the id to the user current get key params

func (*UserCurrentGetKeyParams) SetTimeout

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

SetTimeout adds the timeout to the user current get key params

func (*UserCurrentGetKeyParams) WithContext

WithContext adds the context to the user current get key params

func (*UserCurrentGetKeyParams) WithDefaults

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

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

func (*UserCurrentGetKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user current get key params

func (*UserCurrentGetKeyParams) WithID

WithID adds the id to the user current get key params

func (*UserCurrentGetKeyParams) WithTimeout

WithTimeout adds the timeout to the user current get key params

func (*UserCurrentGetKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentGetKeyReader

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

UserCurrentGetKeyReader is a Reader for the UserCurrentGetKey structure.

func (*UserCurrentGetKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentListFollowersOK

type UserCurrentListFollowersOK struct {
	Payload []*models.User
}

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

UserList

func NewUserCurrentListFollowersOK

func NewUserCurrentListFollowersOK() *UserCurrentListFollowersOK

NewUserCurrentListFollowersOK creates a UserCurrentListFollowersOK with default headers values

func (*UserCurrentListFollowersOK) Code

func (o *UserCurrentListFollowersOK) Code() int

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

func (*UserCurrentListFollowersOK) Error

func (*UserCurrentListFollowersOK) GetPayload

func (o *UserCurrentListFollowersOK) GetPayload() []*models.User

func (*UserCurrentListFollowersOK) IsClientError

func (o *UserCurrentListFollowersOK) IsClientError() bool

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

func (*UserCurrentListFollowersOK) IsCode

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

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

func (*UserCurrentListFollowersOK) IsRedirect

func (o *UserCurrentListFollowersOK) IsRedirect() bool

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

func (*UserCurrentListFollowersOK) IsServerError

func (o *UserCurrentListFollowersOK) IsServerError() bool

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

func (*UserCurrentListFollowersOK) IsSuccess

func (o *UserCurrentListFollowersOK) IsSuccess() bool

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

func (*UserCurrentListFollowersOK) String

func (o *UserCurrentListFollowersOK) String() string

type UserCurrentListFollowersParams

type UserCurrentListFollowersParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

UserCurrentListFollowersParams contains all the parameters to send to the API endpoint

for the user current list followers operation.

Typically these are written to a http.Request.

func NewUserCurrentListFollowersParams

func NewUserCurrentListFollowersParams() *UserCurrentListFollowersParams

NewUserCurrentListFollowersParams creates a new UserCurrentListFollowersParams 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 NewUserCurrentListFollowersParamsWithContext

func NewUserCurrentListFollowersParamsWithContext(ctx context.Context) *UserCurrentListFollowersParams

NewUserCurrentListFollowersParamsWithContext creates a new UserCurrentListFollowersParams object with the ability to set a context for a request.

func NewUserCurrentListFollowersParamsWithHTTPClient

func NewUserCurrentListFollowersParamsWithHTTPClient(client *http.Client) *UserCurrentListFollowersParams

NewUserCurrentListFollowersParamsWithHTTPClient creates a new UserCurrentListFollowersParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentListFollowersParamsWithTimeout

func NewUserCurrentListFollowersParamsWithTimeout(timeout time.Duration) *UserCurrentListFollowersParams

NewUserCurrentListFollowersParamsWithTimeout creates a new UserCurrentListFollowersParams object with the ability to set a timeout on a request.

func (*UserCurrentListFollowersParams) SetContext

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

SetContext adds the context to the user current list followers params

func (*UserCurrentListFollowersParams) SetDefaults

func (o *UserCurrentListFollowersParams) SetDefaults()

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

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

func (*UserCurrentListFollowersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current list followers params

func (*UserCurrentListFollowersParams) SetLimit

func (o *UserCurrentListFollowersParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current list followers params

func (*UserCurrentListFollowersParams) SetPage

func (o *UserCurrentListFollowersParams) SetPage(page *int64)

SetPage adds the page to the user current list followers params

func (*UserCurrentListFollowersParams) SetTimeout

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

SetTimeout adds the timeout to the user current list followers params

func (*UserCurrentListFollowersParams) WithContext

WithContext adds the context to the user current list followers params

func (*UserCurrentListFollowersParams) WithDefaults

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

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

func (*UserCurrentListFollowersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current list followers params

func (*UserCurrentListFollowersParams) WithLimit

WithLimit adds the limit to the user current list followers params

func (*UserCurrentListFollowersParams) WithPage

WithPage adds the page to the user current list followers params

func (*UserCurrentListFollowersParams) WithTimeout

WithTimeout adds the timeout to the user current list followers params

func (*UserCurrentListFollowersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentListFollowersReader

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

UserCurrentListFollowersReader is a Reader for the UserCurrentListFollowers structure.

func (*UserCurrentListFollowersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentListFollowingOK

type UserCurrentListFollowingOK struct {
	Payload []*models.User
}

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

UserList

func NewUserCurrentListFollowingOK

func NewUserCurrentListFollowingOK() *UserCurrentListFollowingOK

NewUserCurrentListFollowingOK creates a UserCurrentListFollowingOK with default headers values

func (*UserCurrentListFollowingOK) Code

func (o *UserCurrentListFollowingOK) Code() int

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

func (*UserCurrentListFollowingOK) Error

func (*UserCurrentListFollowingOK) GetPayload

func (o *UserCurrentListFollowingOK) GetPayload() []*models.User

func (*UserCurrentListFollowingOK) IsClientError

func (o *UserCurrentListFollowingOK) IsClientError() bool

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

func (*UserCurrentListFollowingOK) IsCode

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

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

func (*UserCurrentListFollowingOK) IsRedirect

func (o *UserCurrentListFollowingOK) IsRedirect() bool

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

func (*UserCurrentListFollowingOK) IsServerError

func (o *UserCurrentListFollowingOK) IsServerError() bool

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

func (*UserCurrentListFollowingOK) IsSuccess

func (o *UserCurrentListFollowingOK) IsSuccess() bool

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

func (*UserCurrentListFollowingOK) String

func (o *UserCurrentListFollowingOK) String() string

type UserCurrentListFollowingParams

type UserCurrentListFollowingParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

UserCurrentListFollowingParams contains all the parameters to send to the API endpoint

for the user current list following operation.

Typically these are written to a http.Request.

func NewUserCurrentListFollowingParams

func NewUserCurrentListFollowingParams() *UserCurrentListFollowingParams

NewUserCurrentListFollowingParams creates a new UserCurrentListFollowingParams 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 NewUserCurrentListFollowingParamsWithContext

func NewUserCurrentListFollowingParamsWithContext(ctx context.Context) *UserCurrentListFollowingParams

NewUserCurrentListFollowingParamsWithContext creates a new UserCurrentListFollowingParams object with the ability to set a context for a request.

func NewUserCurrentListFollowingParamsWithHTTPClient

func NewUserCurrentListFollowingParamsWithHTTPClient(client *http.Client) *UserCurrentListFollowingParams

NewUserCurrentListFollowingParamsWithHTTPClient creates a new UserCurrentListFollowingParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentListFollowingParamsWithTimeout

func NewUserCurrentListFollowingParamsWithTimeout(timeout time.Duration) *UserCurrentListFollowingParams

NewUserCurrentListFollowingParamsWithTimeout creates a new UserCurrentListFollowingParams object with the ability to set a timeout on a request.

func (*UserCurrentListFollowingParams) SetContext

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

SetContext adds the context to the user current list following params

func (*UserCurrentListFollowingParams) SetDefaults

func (o *UserCurrentListFollowingParams) SetDefaults()

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

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

func (*UserCurrentListFollowingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current list following params

func (*UserCurrentListFollowingParams) SetLimit

func (o *UserCurrentListFollowingParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current list following params

func (*UserCurrentListFollowingParams) SetPage

func (o *UserCurrentListFollowingParams) SetPage(page *int64)

SetPage adds the page to the user current list following params

func (*UserCurrentListFollowingParams) SetTimeout

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

SetTimeout adds the timeout to the user current list following params

func (*UserCurrentListFollowingParams) WithContext

WithContext adds the context to the user current list following params

func (*UserCurrentListFollowingParams) WithDefaults

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

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

func (*UserCurrentListFollowingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current list following params

func (*UserCurrentListFollowingParams) WithLimit

WithLimit adds the limit to the user current list following params

func (*UserCurrentListFollowingParams) WithPage

WithPage adds the page to the user current list following params

func (*UserCurrentListFollowingParams) WithTimeout

WithTimeout adds the timeout to the user current list following params

func (*UserCurrentListFollowingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentListFollowingReader

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

UserCurrentListFollowingReader is a Reader for the UserCurrentListFollowing structure.

func (*UserCurrentListFollowingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentListGPGKeysOK

type UserCurrentListGPGKeysOK struct {
	Payload []*models.GPGKey
}

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

GPGKeyList

func NewUserCurrentListGPGKeysOK

func NewUserCurrentListGPGKeysOK() *UserCurrentListGPGKeysOK

NewUserCurrentListGPGKeysOK creates a UserCurrentListGPGKeysOK with default headers values

func (*UserCurrentListGPGKeysOK) Code

func (o *UserCurrentListGPGKeysOK) Code() int

Code gets the status code for the user current list g p g keys o k response

func (*UserCurrentListGPGKeysOK) Error

func (o *UserCurrentListGPGKeysOK) Error() string

func (*UserCurrentListGPGKeysOK) GetPayload

func (o *UserCurrentListGPGKeysOK) GetPayload() []*models.GPGKey

func (*UserCurrentListGPGKeysOK) IsClientError

func (o *UserCurrentListGPGKeysOK) IsClientError() bool

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

func (*UserCurrentListGPGKeysOK) IsCode

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

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

func (*UserCurrentListGPGKeysOK) IsRedirect

func (o *UserCurrentListGPGKeysOK) IsRedirect() bool

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

func (*UserCurrentListGPGKeysOK) IsServerError

func (o *UserCurrentListGPGKeysOK) IsServerError() bool

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

func (*UserCurrentListGPGKeysOK) IsSuccess

func (o *UserCurrentListGPGKeysOK) IsSuccess() bool

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

func (*UserCurrentListGPGKeysOK) String

func (o *UserCurrentListGPGKeysOK) String() string

type UserCurrentListGPGKeysParams

type UserCurrentListGPGKeysParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

UserCurrentListGPGKeysParams contains all the parameters to send to the API endpoint

for the user current list g p g keys operation.

Typically these are written to a http.Request.

func NewUserCurrentListGPGKeysParams

func NewUserCurrentListGPGKeysParams() *UserCurrentListGPGKeysParams

NewUserCurrentListGPGKeysParams creates a new UserCurrentListGPGKeysParams 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 NewUserCurrentListGPGKeysParamsWithContext

func NewUserCurrentListGPGKeysParamsWithContext(ctx context.Context) *UserCurrentListGPGKeysParams

NewUserCurrentListGPGKeysParamsWithContext creates a new UserCurrentListGPGKeysParams object with the ability to set a context for a request.

func NewUserCurrentListGPGKeysParamsWithHTTPClient

func NewUserCurrentListGPGKeysParamsWithHTTPClient(client *http.Client) *UserCurrentListGPGKeysParams

NewUserCurrentListGPGKeysParamsWithHTTPClient creates a new UserCurrentListGPGKeysParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentListGPGKeysParamsWithTimeout

func NewUserCurrentListGPGKeysParamsWithTimeout(timeout time.Duration) *UserCurrentListGPGKeysParams

NewUserCurrentListGPGKeysParamsWithTimeout creates a new UserCurrentListGPGKeysParams object with the ability to set a timeout on a request.

func (*UserCurrentListGPGKeysParams) SetContext

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

SetContext adds the context to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) SetDefaults

func (o *UserCurrentListGPGKeysParams) SetDefaults()

SetDefaults hydrates default values in the user current list g p g keys params (not the query body).

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

func (*UserCurrentListGPGKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) SetLimit

func (o *UserCurrentListGPGKeysParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) SetPage

func (o *UserCurrentListGPGKeysParams) SetPage(page *int64)

SetPage adds the page to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) SetTimeout

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

SetTimeout adds the timeout to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) WithContext

WithContext adds the context to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) WithDefaults

WithDefaults hydrates default values in the user current list g p g keys params (not the query body).

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

func (*UserCurrentListGPGKeysParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) WithLimit

WithLimit adds the limit to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) WithPage

WithPage adds the page to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) WithTimeout

WithTimeout adds the timeout to the user current list g p g keys params

func (*UserCurrentListGPGKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentListGPGKeysReader

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

UserCurrentListGPGKeysReader is a Reader for the UserCurrentListGPGKeys structure.

func (*UserCurrentListGPGKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentListKeysOK

type UserCurrentListKeysOK struct {
	Payload []*models.PublicKey
}

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

PublicKeyList

func NewUserCurrentListKeysOK

func NewUserCurrentListKeysOK() *UserCurrentListKeysOK

NewUserCurrentListKeysOK creates a UserCurrentListKeysOK with default headers values

func (*UserCurrentListKeysOK) Code

func (o *UserCurrentListKeysOK) Code() int

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

func (*UserCurrentListKeysOK) Error

func (o *UserCurrentListKeysOK) Error() string

func (*UserCurrentListKeysOK) GetPayload

func (o *UserCurrentListKeysOK) GetPayload() []*models.PublicKey

func (*UserCurrentListKeysOK) IsClientError

func (o *UserCurrentListKeysOK) IsClientError() bool

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

func (*UserCurrentListKeysOK) IsCode

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

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

func (*UserCurrentListKeysOK) IsRedirect

func (o *UserCurrentListKeysOK) IsRedirect() bool

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

func (*UserCurrentListKeysOK) IsServerError

func (o *UserCurrentListKeysOK) IsServerError() bool

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

func (*UserCurrentListKeysOK) IsSuccess

func (o *UserCurrentListKeysOK) IsSuccess() bool

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

func (*UserCurrentListKeysOK) String

func (o *UserCurrentListKeysOK) String() string

type UserCurrentListKeysParams

type UserCurrentListKeysParams struct {

	/* Fingerprint.

	   fingerprint of the key
	*/
	Fingerprint *string

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

UserCurrentListKeysParams contains all the parameters to send to the API endpoint

for the user current list keys operation.

Typically these are written to a http.Request.

func NewUserCurrentListKeysParams

func NewUserCurrentListKeysParams() *UserCurrentListKeysParams

NewUserCurrentListKeysParams creates a new UserCurrentListKeysParams 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 NewUserCurrentListKeysParamsWithContext

func NewUserCurrentListKeysParamsWithContext(ctx context.Context) *UserCurrentListKeysParams

NewUserCurrentListKeysParamsWithContext creates a new UserCurrentListKeysParams object with the ability to set a context for a request.

func NewUserCurrentListKeysParamsWithHTTPClient

func NewUserCurrentListKeysParamsWithHTTPClient(client *http.Client) *UserCurrentListKeysParams

NewUserCurrentListKeysParamsWithHTTPClient creates a new UserCurrentListKeysParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentListKeysParamsWithTimeout

func NewUserCurrentListKeysParamsWithTimeout(timeout time.Duration) *UserCurrentListKeysParams

NewUserCurrentListKeysParamsWithTimeout creates a new UserCurrentListKeysParams object with the ability to set a timeout on a request.

func (*UserCurrentListKeysParams) SetContext

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

SetContext adds the context to the user current list keys params

func (*UserCurrentListKeysParams) SetDefaults

func (o *UserCurrentListKeysParams) SetDefaults()

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

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

func (*UserCurrentListKeysParams) SetFingerprint

func (o *UserCurrentListKeysParams) SetFingerprint(fingerprint *string)

SetFingerprint adds the fingerprint to the user current list keys params

func (*UserCurrentListKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current list keys params

func (*UserCurrentListKeysParams) SetLimit

func (o *UserCurrentListKeysParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current list keys params

func (*UserCurrentListKeysParams) SetPage

func (o *UserCurrentListKeysParams) SetPage(page *int64)

SetPage adds the page to the user current list keys params

func (*UserCurrentListKeysParams) SetTimeout

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

SetTimeout adds the timeout to the user current list keys params

func (*UserCurrentListKeysParams) WithContext

WithContext adds the context to the user current list keys params

func (*UserCurrentListKeysParams) WithDefaults

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

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

func (*UserCurrentListKeysParams) WithFingerprint

func (o *UserCurrentListKeysParams) WithFingerprint(fingerprint *string) *UserCurrentListKeysParams

WithFingerprint adds the fingerprint to the user current list keys params

func (*UserCurrentListKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user current list keys params

func (*UserCurrentListKeysParams) WithLimit

WithLimit adds the limit to the user current list keys params

func (*UserCurrentListKeysParams) WithPage

WithPage adds the page to the user current list keys params

func (*UserCurrentListKeysParams) WithTimeout

WithTimeout adds the timeout to the user current list keys params

func (*UserCurrentListKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentListKeysReader

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

UserCurrentListKeysReader is a Reader for the UserCurrentListKeys structure.

func (*UserCurrentListKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentListReposOK

type UserCurrentListReposOK struct {
	Payload []*models.Repository
}

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

RepositoryList

func NewUserCurrentListReposOK

func NewUserCurrentListReposOK() *UserCurrentListReposOK

NewUserCurrentListReposOK creates a UserCurrentListReposOK with default headers values

func (*UserCurrentListReposOK) Code

func (o *UserCurrentListReposOK) Code() int

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

func (*UserCurrentListReposOK) Error

func (o *UserCurrentListReposOK) Error() string

func (*UserCurrentListReposOK) GetPayload

func (o *UserCurrentListReposOK) GetPayload() []*models.Repository

func (*UserCurrentListReposOK) IsClientError

func (o *UserCurrentListReposOK) IsClientError() bool

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

func (*UserCurrentListReposOK) IsCode

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

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

func (*UserCurrentListReposOK) IsRedirect

func (o *UserCurrentListReposOK) IsRedirect() bool

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

func (*UserCurrentListReposOK) IsServerError

func (o *UserCurrentListReposOK) IsServerError() bool

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

func (*UserCurrentListReposOK) IsSuccess

func (o *UserCurrentListReposOK) IsSuccess() bool

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

func (*UserCurrentListReposOK) String

func (o *UserCurrentListReposOK) String() string

type UserCurrentListReposParams

type UserCurrentListReposParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

UserCurrentListReposParams contains all the parameters to send to the API endpoint

for the user current list repos operation.

Typically these are written to a http.Request.

func NewUserCurrentListReposParams

func NewUserCurrentListReposParams() *UserCurrentListReposParams

NewUserCurrentListReposParams creates a new UserCurrentListReposParams 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 NewUserCurrentListReposParamsWithContext

func NewUserCurrentListReposParamsWithContext(ctx context.Context) *UserCurrentListReposParams

NewUserCurrentListReposParamsWithContext creates a new UserCurrentListReposParams object with the ability to set a context for a request.

func NewUserCurrentListReposParamsWithHTTPClient

func NewUserCurrentListReposParamsWithHTTPClient(client *http.Client) *UserCurrentListReposParams

NewUserCurrentListReposParamsWithHTTPClient creates a new UserCurrentListReposParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentListReposParamsWithTimeout

func NewUserCurrentListReposParamsWithTimeout(timeout time.Duration) *UserCurrentListReposParams

NewUserCurrentListReposParamsWithTimeout creates a new UserCurrentListReposParams object with the ability to set a timeout on a request.

func (*UserCurrentListReposParams) SetContext

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

SetContext adds the context to the user current list repos params

func (*UserCurrentListReposParams) SetDefaults

func (o *UserCurrentListReposParams) SetDefaults()

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

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

func (*UserCurrentListReposParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current list repos params

func (*UserCurrentListReposParams) SetLimit

func (o *UserCurrentListReposParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current list repos params

func (*UserCurrentListReposParams) SetPage

func (o *UserCurrentListReposParams) SetPage(page *int64)

SetPage adds the page to the user current list repos params

func (*UserCurrentListReposParams) SetTimeout

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

SetTimeout adds the timeout to the user current list repos params

func (*UserCurrentListReposParams) WithContext

WithContext adds the context to the user current list repos params

func (*UserCurrentListReposParams) WithDefaults

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

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

func (*UserCurrentListReposParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current list repos params

func (*UserCurrentListReposParams) WithLimit

WithLimit adds the limit to the user current list repos params

func (*UserCurrentListReposParams) WithPage

WithPage adds the page to the user current list repos params

func (*UserCurrentListReposParams) WithTimeout

WithTimeout adds the timeout to the user current list repos params

func (*UserCurrentListReposParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentListReposReader

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

UserCurrentListReposReader is a Reader for the UserCurrentListRepos structure.

func (*UserCurrentListReposReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentListStarredOK

type UserCurrentListStarredOK struct {
	Payload []*models.Repository
}

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

RepositoryList

func NewUserCurrentListStarredOK

func NewUserCurrentListStarredOK() *UserCurrentListStarredOK

NewUserCurrentListStarredOK creates a UserCurrentListStarredOK with default headers values

func (*UserCurrentListStarredOK) Code

func (o *UserCurrentListStarredOK) Code() int

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

func (*UserCurrentListStarredOK) Error

func (o *UserCurrentListStarredOK) Error() string

func (*UserCurrentListStarredOK) GetPayload

func (o *UserCurrentListStarredOK) GetPayload() []*models.Repository

func (*UserCurrentListStarredOK) IsClientError

func (o *UserCurrentListStarredOK) IsClientError() bool

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

func (*UserCurrentListStarredOK) IsCode

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

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

func (*UserCurrentListStarredOK) IsRedirect

func (o *UserCurrentListStarredOK) IsRedirect() bool

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

func (*UserCurrentListStarredOK) IsServerError

func (o *UserCurrentListStarredOK) IsServerError() bool

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

func (*UserCurrentListStarredOK) IsSuccess

func (o *UserCurrentListStarredOK) IsSuccess() bool

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

func (*UserCurrentListStarredOK) String

func (o *UserCurrentListStarredOK) String() string

type UserCurrentListStarredParams

type UserCurrentListStarredParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

UserCurrentListStarredParams contains all the parameters to send to the API endpoint

for the user current list starred operation.

Typically these are written to a http.Request.

func NewUserCurrentListStarredParams

func NewUserCurrentListStarredParams() *UserCurrentListStarredParams

NewUserCurrentListStarredParams creates a new UserCurrentListStarredParams 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 NewUserCurrentListStarredParamsWithContext

func NewUserCurrentListStarredParamsWithContext(ctx context.Context) *UserCurrentListStarredParams

NewUserCurrentListStarredParamsWithContext creates a new UserCurrentListStarredParams object with the ability to set a context for a request.

func NewUserCurrentListStarredParamsWithHTTPClient

func NewUserCurrentListStarredParamsWithHTTPClient(client *http.Client) *UserCurrentListStarredParams

NewUserCurrentListStarredParamsWithHTTPClient creates a new UserCurrentListStarredParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentListStarredParamsWithTimeout

func NewUserCurrentListStarredParamsWithTimeout(timeout time.Duration) *UserCurrentListStarredParams

NewUserCurrentListStarredParamsWithTimeout creates a new UserCurrentListStarredParams object with the ability to set a timeout on a request.

func (*UserCurrentListStarredParams) SetContext

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

SetContext adds the context to the user current list starred params

func (*UserCurrentListStarredParams) SetDefaults

func (o *UserCurrentListStarredParams) SetDefaults()

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

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

func (*UserCurrentListStarredParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current list starred params

func (*UserCurrentListStarredParams) SetLimit

func (o *UserCurrentListStarredParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current list starred params

func (*UserCurrentListStarredParams) SetPage

func (o *UserCurrentListStarredParams) SetPage(page *int64)

SetPage adds the page to the user current list starred params

func (*UserCurrentListStarredParams) SetTimeout

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

SetTimeout adds the timeout to the user current list starred params

func (*UserCurrentListStarredParams) WithContext

WithContext adds the context to the user current list starred params

func (*UserCurrentListStarredParams) WithDefaults

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

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

func (*UserCurrentListStarredParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current list starred params

func (*UserCurrentListStarredParams) WithLimit

WithLimit adds the limit to the user current list starred params

func (*UserCurrentListStarredParams) WithPage

WithPage adds the page to the user current list starred params

func (*UserCurrentListStarredParams) WithTimeout

WithTimeout adds the timeout to the user current list starred params

func (*UserCurrentListStarredParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentListStarredReader

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

UserCurrentListStarredReader is a Reader for the UserCurrentListStarred structure.

func (*UserCurrentListStarredReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentListSubscriptionsOK

type UserCurrentListSubscriptionsOK struct {
	Payload []*models.Repository
}

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

RepositoryList

func NewUserCurrentListSubscriptionsOK

func NewUserCurrentListSubscriptionsOK() *UserCurrentListSubscriptionsOK

NewUserCurrentListSubscriptionsOK creates a UserCurrentListSubscriptionsOK with default headers values

func (*UserCurrentListSubscriptionsOK) Code

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

func (*UserCurrentListSubscriptionsOK) Error

func (*UserCurrentListSubscriptionsOK) GetPayload

func (*UserCurrentListSubscriptionsOK) IsClientError

func (o *UserCurrentListSubscriptionsOK) IsClientError() bool

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

func (*UserCurrentListSubscriptionsOK) IsCode

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

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

func (*UserCurrentListSubscriptionsOK) IsRedirect

func (o *UserCurrentListSubscriptionsOK) IsRedirect() bool

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

func (*UserCurrentListSubscriptionsOK) IsServerError

func (o *UserCurrentListSubscriptionsOK) IsServerError() bool

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

func (*UserCurrentListSubscriptionsOK) IsSuccess

func (o *UserCurrentListSubscriptionsOK) IsSuccess() bool

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

func (*UserCurrentListSubscriptionsOK) String

type UserCurrentListSubscriptionsParams

type UserCurrentListSubscriptionsParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

UserCurrentListSubscriptionsParams contains all the parameters to send to the API endpoint

for the user current list subscriptions operation.

Typically these are written to a http.Request.

func NewUserCurrentListSubscriptionsParams

func NewUserCurrentListSubscriptionsParams() *UserCurrentListSubscriptionsParams

NewUserCurrentListSubscriptionsParams creates a new UserCurrentListSubscriptionsParams 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 NewUserCurrentListSubscriptionsParamsWithContext

func NewUserCurrentListSubscriptionsParamsWithContext(ctx context.Context) *UserCurrentListSubscriptionsParams

NewUserCurrentListSubscriptionsParamsWithContext creates a new UserCurrentListSubscriptionsParams object with the ability to set a context for a request.

func NewUserCurrentListSubscriptionsParamsWithHTTPClient

func NewUserCurrentListSubscriptionsParamsWithHTTPClient(client *http.Client) *UserCurrentListSubscriptionsParams

NewUserCurrentListSubscriptionsParamsWithHTTPClient creates a new UserCurrentListSubscriptionsParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentListSubscriptionsParamsWithTimeout

func NewUserCurrentListSubscriptionsParamsWithTimeout(timeout time.Duration) *UserCurrentListSubscriptionsParams

NewUserCurrentListSubscriptionsParamsWithTimeout creates a new UserCurrentListSubscriptionsParams object with the ability to set a timeout on a request.

func (*UserCurrentListSubscriptionsParams) SetContext

SetContext adds the context to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) SetDefaults

func (o *UserCurrentListSubscriptionsParams) SetDefaults()

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

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

func (*UserCurrentListSubscriptionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) SetLimit

func (o *UserCurrentListSubscriptionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) SetPage

func (o *UserCurrentListSubscriptionsParams) SetPage(page *int64)

SetPage adds the page to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) SetTimeout

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

SetTimeout adds the timeout to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) WithContext

WithContext adds the context to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) WithDefaults

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

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

func (*UserCurrentListSubscriptionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) WithLimit

WithLimit adds the limit to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) WithPage

WithPage adds the page to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the user current list subscriptions params

func (*UserCurrentListSubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentListSubscriptionsReader

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

UserCurrentListSubscriptionsReader is a Reader for the UserCurrentListSubscriptions structure.

func (*UserCurrentListSubscriptionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCurrentPostGPGKeyCreated

type UserCurrentPostGPGKeyCreated struct {
	Payload *models.GPGKey
}

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

GPGKey

func NewUserCurrentPostGPGKeyCreated

func NewUserCurrentPostGPGKeyCreated() *UserCurrentPostGPGKeyCreated

NewUserCurrentPostGPGKeyCreated creates a UserCurrentPostGPGKeyCreated with default headers values

func (*UserCurrentPostGPGKeyCreated) Code

Code gets the status code for the user current post g p g key created response

func (*UserCurrentPostGPGKeyCreated) Error

func (*UserCurrentPostGPGKeyCreated) GetPayload

func (o *UserCurrentPostGPGKeyCreated) GetPayload() *models.GPGKey

func (*UserCurrentPostGPGKeyCreated) IsClientError

func (o *UserCurrentPostGPGKeyCreated) IsClientError() bool

IsClientError returns true when this user current post g p g key created response has a 4xx status code

func (*UserCurrentPostGPGKeyCreated) IsCode

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

IsCode returns true when this user current post g p g key created response a status code equal to that given

func (*UserCurrentPostGPGKeyCreated) IsRedirect

func (o *UserCurrentPostGPGKeyCreated) IsRedirect() bool

IsRedirect returns true when this user current post g p g key created response has a 3xx status code

func (*UserCurrentPostGPGKeyCreated) IsServerError

func (o *UserCurrentPostGPGKeyCreated) IsServerError() bool

IsServerError returns true when this user current post g p g key created response has a 5xx status code

func (*UserCurrentPostGPGKeyCreated) IsSuccess

func (o *UserCurrentPostGPGKeyCreated) IsSuccess() bool

IsSuccess returns true when this user current post g p g key created response has a 2xx status code

func (*UserCurrentPostGPGKeyCreated) String

type UserCurrentPostGPGKeyNotFound

type UserCurrentPostGPGKeyNotFound struct {
}

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

APINotFound is a not found empty response

func NewUserCurrentPostGPGKeyNotFound

func NewUserCurrentPostGPGKeyNotFound() *UserCurrentPostGPGKeyNotFound

NewUserCurrentPostGPGKeyNotFound creates a UserCurrentPostGPGKeyNotFound with default headers values

func (*UserCurrentPostGPGKeyNotFound) Code

Code gets the status code for the user current post g p g key not found response

func (*UserCurrentPostGPGKeyNotFound) Error

func (*UserCurrentPostGPGKeyNotFound) IsClientError

func (o *UserCurrentPostGPGKeyNotFound) IsClientError() bool

IsClientError returns true when this user current post g p g key not found response has a 4xx status code

func (*UserCurrentPostGPGKeyNotFound) IsCode

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

IsCode returns true when this user current post g p g key not found response a status code equal to that given

func (*UserCurrentPostGPGKeyNotFound) IsRedirect

func (o *UserCurrentPostGPGKeyNotFound) IsRedirect() bool

IsRedirect returns true when this user current post g p g key not found response has a 3xx status code

func (*UserCurrentPostGPGKeyNotFound) IsServerError

func (o *UserCurrentPostGPGKeyNotFound) IsServerError() bool

IsServerError returns true when this user current post g p g key not found response has a 5xx status code

func (*UserCurrentPostGPGKeyNotFound) IsSuccess

func (o *UserCurrentPostGPGKeyNotFound) IsSuccess() bool

IsSuccess returns true when this user current post g p g key not found response has a 2xx status code

func (*UserCurrentPostGPGKeyNotFound) String

type UserCurrentPostGPGKeyParams

type UserCurrentPostGPGKeyParams struct {

	// Form.
	Form *models.CreateGPGKeyOption

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserCurrentPostGPGKeyParams contains all the parameters to send to the API endpoint

for the user current post g p g key operation.

Typically these are written to a http.Request.

func NewUserCurrentPostGPGKeyParams

func NewUserCurrentPostGPGKeyParams() *UserCurrentPostGPGKeyParams

NewUserCurrentPostGPGKeyParams creates a new UserCurrentPostGPGKeyParams 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 NewUserCurrentPostGPGKeyParamsWithContext

func NewUserCurrentPostGPGKeyParamsWithContext(ctx context.Context) *UserCurrentPostGPGKeyParams

NewUserCurrentPostGPGKeyParamsWithContext creates a new UserCurrentPostGPGKeyParams object with the ability to set a context for a request.

func NewUserCurrentPostGPGKeyParamsWithHTTPClient

func NewUserCurrentPostGPGKeyParamsWithHTTPClient(client *http.Client) *UserCurrentPostGPGKeyParams

NewUserCurrentPostGPGKeyParamsWithHTTPClient creates a new UserCurrentPostGPGKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentPostGPGKeyParamsWithTimeout

func NewUserCurrentPostGPGKeyParamsWithTimeout(timeout time.Duration) *UserCurrentPostGPGKeyParams

NewUserCurrentPostGPGKeyParamsWithTimeout creates a new UserCurrentPostGPGKeyParams object with the ability to set a timeout on a request.

func (*UserCurrentPostGPGKeyParams) SetContext

func (o *UserCurrentPostGPGKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) SetDefaults

func (o *UserCurrentPostGPGKeyParams) SetDefaults()

SetDefaults hydrates default values in the user current post g p g key params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPostGPGKeyParams) SetForm

SetForm adds the form to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) SetHTTPClient

func (o *UserCurrentPostGPGKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) SetTimeout

func (o *UserCurrentPostGPGKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) WithContext

WithContext adds the context to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) WithDefaults

WithDefaults hydrates default values in the user current post g p g key params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPostGPGKeyParams) WithForm

WithForm adds the form to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) WithTimeout

WithTimeout adds the timeout to the user current post g p g key params

func (*UserCurrentPostGPGKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentPostGPGKeyReader

type UserCurrentPostGPGKeyReader struct {
	// contains filtered or unexported fields
}

UserCurrentPostGPGKeyReader is a Reader for the UserCurrentPostGPGKey structure.

func (*UserCurrentPostGPGKeyReader) ReadResponse

func (o *UserCurrentPostGPGKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserCurrentPostGPGKeyUnprocessableEntity

type UserCurrentPostGPGKeyUnprocessableEntity struct {
	Message string
	URL     string
}

UserCurrentPostGPGKeyUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewUserCurrentPostGPGKeyUnprocessableEntity

func NewUserCurrentPostGPGKeyUnprocessableEntity() *UserCurrentPostGPGKeyUnprocessableEntity

NewUserCurrentPostGPGKeyUnprocessableEntity creates a UserCurrentPostGPGKeyUnprocessableEntity with default headers values

func (*UserCurrentPostGPGKeyUnprocessableEntity) Code

Code gets the status code for the user current post g p g key unprocessable entity response

func (*UserCurrentPostGPGKeyUnprocessableEntity) Error

func (*UserCurrentPostGPGKeyUnprocessableEntity) IsClientError

IsClientError returns true when this user current post g p g key unprocessable entity response has a 4xx status code

func (*UserCurrentPostGPGKeyUnprocessableEntity) IsCode

IsCode returns true when this user current post g p g key unprocessable entity response a status code equal to that given

func (*UserCurrentPostGPGKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this user current post g p g key unprocessable entity response has a 3xx status code

func (*UserCurrentPostGPGKeyUnprocessableEntity) IsServerError

IsServerError returns true when this user current post g p g key unprocessable entity response has a 5xx status code

func (*UserCurrentPostGPGKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this user current post g p g key unprocessable entity response has a 2xx status code

func (*UserCurrentPostGPGKeyUnprocessableEntity) String

type UserCurrentPostKeyCreated

type UserCurrentPostKeyCreated struct {
	Payload *models.PublicKey
}

UserCurrentPostKeyCreated describes a response with status code 201, with default header values.

PublicKey

func NewUserCurrentPostKeyCreated

func NewUserCurrentPostKeyCreated() *UserCurrentPostKeyCreated

NewUserCurrentPostKeyCreated creates a UserCurrentPostKeyCreated with default headers values

func (*UserCurrentPostKeyCreated) Code

func (o *UserCurrentPostKeyCreated) Code() int

Code gets the status code for the user current post key created response

func (*UserCurrentPostKeyCreated) Error

func (o *UserCurrentPostKeyCreated) Error() string

func (*UserCurrentPostKeyCreated) GetPayload

func (o *UserCurrentPostKeyCreated) GetPayload() *models.PublicKey

func (*UserCurrentPostKeyCreated) IsClientError

func (o *UserCurrentPostKeyCreated) IsClientError() bool

IsClientError returns true when this user current post key created response has a 4xx status code

func (*UserCurrentPostKeyCreated) IsCode

func (o *UserCurrentPostKeyCreated) IsCode(code int) bool

IsCode returns true when this user current post key created response a status code equal to that given

func (*UserCurrentPostKeyCreated) IsRedirect

func (o *UserCurrentPostKeyCreated) IsRedirect() bool

IsRedirect returns true when this user current post key created response has a 3xx status code

func (*UserCurrentPostKeyCreated) IsServerError

func (o *UserCurrentPostKeyCreated) IsServerError() bool

IsServerError returns true when this user current post key created response has a 5xx status code

func (*UserCurrentPostKeyCreated) IsSuccess

func (o *UserCurrentPostKeyCreated) IsSuccess() bool

IsSuccess returns true when this user current post key created response has a 2xx status code

func (*UserCurrentPostKeyCreated) String

func (o *UserCurrentPostKeyCreated) String() string

type UserCurrentPostKeyParams

type UserCurrentPostKeyParams struct {

	// Body.
	Body *models.CreateKeyOption

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserCurrentPostKeyParams contains all the parameters to send to the API endpoint

for the user current post key operation.

Typically these are written to a http.Request.

func NewUserCurrentPostKeyParams

func NewUserCurrentPostKeyParams() *UserCurrentPostKeyParams

NewUserCurrentPostKeyParams creates a new UserCurrentPostKeyParams 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 NewUserCurrentPostKeyParamsWithContext

func NewUserCurrentPostKeyParamsWithContext(ctx context.Context) *UserCurrentPostKeyParams

NewUserCurrentPostKeyParamsWithContext creates a new UserCurrentPostKeyParams object with the ability to set a context for a request.

func NewUserCurrentPostKeyParamsWithHTTPClient

func NewUserCurrentPostKeyParamsWithHTTPClient(client *http.Client) *UserCurrentPostKeyParams

NewUserCurrentPostKeyParamsWithHTTPClient creates a new UserCurrentPostKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentPostKeyParamsWithTimeout

func NewUserCurrentPostKeyParamsWithTimeout(timeout time.Duration) *UserCurrentPostKeyParams

NewUserCurrentPostKeyParamsWithTimeout creates a new UserCurrentPostKeyParams object with the ability to set a timeout on a request.

func (*UserCurrentPostKeyParams) SetBody

SetBody adds the body to the user current post key params

func (*UserCurrentPostKeyParams) SetContext

func (o *UserCurrentPostKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the user current post key params

func (*UserCurrentPostKeyParams) SetDefaults

func (o *UserCurrentPostKeyParams) SetDefaults()

SetDefaults hydrates default values in the user current post key params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPostKeyParams) SetHTTPClient

func (o *UserCurrentPostKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user current post key params

func (*UserCurrentPostKeyParams) SetTimeout

func (o *UserCurrentPostKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user current post key params

func (*UserCurrentPostKeyParams) WithBody

WithBody adds the body to the user current post key params

func (*UserCurrentPostKeyParams) WithContext

WithContext adds the context to the user current post key params

func (*UserCurrentPostKeyParams) WithDefaults

WithDefaults hydrates default values in the user current post key params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPostKeyParams) WithHTTPClient

func (o *UserCurrentPostKeyParams) WithHTTPClient(client *http.Client) *UserCurrentPostKeyParams

WithHTTPClient adds the HTTPClient to the user current post key params

func (*UserCurrentPostKeyParams) WithTimeout

WithTimeout adds the timeout to the user current post key params

func (*UserCurrentPostKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentPostKeyReader

type UserCurrentPostKeyReader struct {
	// contains filtered or unexported fields
}

UserCurrentPostKeyReader is a Reader for the UserCurrentPostKey structure.

func (*UserCurrentPostKeyReader) ReadResponse

func (o *UserCurrentPostKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserCurrentPostKeyUnprocessableEntity

type UserCurrentPostKeyUnprocessableEntity struct {
	Message string
	URL     string
}

UserCurrentPostKeyUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewUserCurrentPostKeyUnprocessableEntity

func NewUserCurrentPostKeyUnprocessableEntity() *UserCurrentPostKeyUnprocessableEntity

NewUserCurrentPostKeyUnprocessableEntity creates a UserCurrentPostKeyUnprocessableEntity with default headers values

func (*UserCurrentPostKeyUnprocessableEntity) Code

Code gets the status code for the user current post key unprocessable entity response

func (*UserCurrentPostKeyUnprocessableEntity) Error

func (*UserCurrentPostKeyUnprocessableEntity) IsClientError

func (o *UserCurrentPostKeyUnprocessableEntity) IsClientError() bool

IsClientError returns true when this user current post key unprocessable entity response has a 4xx status code

func (*UserCurrentPostKeyUnprocessableEntity) IsCode

IsCode returns true when this user current post key unprocessable entity response a status code equal to that given

func (*UserCurrentPostKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this user current post key unprocessable entity response has a 3xx status code

func (*UserCurrentPostKeyUnprocessableEntity) IsServerError

func (o *UserCurrentPostKeyUnprocessableEntity) IsServerError() bool

IsServerError returns true when this user current post key unprocessable entity response has a 5xx status code

func (*UserCurrentPostKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this user current post key unprocessable entity response has a 2xx status code

func (*UserCurrentPostKeyUnprocessableEntity) String

type UserCurrentPutFollowForbidden

type UserCurrentPutFollowForbidden struct {
	Message string
	URL     string
}

UserCurrentPutFollowForbidden describes a response with status code 403, with default header values.

APIForbiddenError is a forbidden error response

func NewUserCurrentPutFollowForbidden

func NewUserCurrentPutFollowForbidden() *UserCurrentPutFollowForbidden

NewUserCurrentPutFollowForbidden creates a UserCurrentPutFollowForbidden with default headers values

func (*UserCurrentPutFollowForbidden) Code

Code gets the status code for the user current put follow forbidden response

func (*UserCurrentPutFollowForbidden) Error

func (*UserCurrentPutFollowForbidden) IsClientError

func (o *UserCurrentPutFollowForbidden) IsClientError() bool

IsClientError returns true when this user current put follow forbidden response has a 4xx status code

func (*UserCurrentPutFollowForbidden) IsCode

func (o *UserCurrentPutFollowForbidden) IsCode(code int) bool

IsCode returns true when this user current put follow forbidden response a status code equal to that given

func (*UserCurrentPutFollowForbidden) IsRedirect

func (o *UserCurrentPutFollowForbidden) IsRedirect() bool

IsRedirect returns true when this user current put follow forbidden response has a 3xx status code

func (*UserCurrentPutFollowForbidden) IsServerError

func (o *UserCurrentPutFollowForbidden) IsServerError() bool

IsServerError returns true when this user current put follow forbidden response has a 5xx status code

func (*UserCurrentPutFollowForbidden) IsSuccess

func (o *UserCurrentPutFollowForbidden) IsSuccess() bool

IsSuccess returns true when this user current put follow forbidden response has a 2xx status code

func (*UserCurrentPutFollowForbidden) String

type UserCurrentPutFollowNoContent

type UserCurrentPutFollowNoContent struct {
}

UserCurrentPutFollowNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserCurrentPutFollowNoContent

func NewUserCurrentPutFollowNoContent() *UserCurrentPutFollowNoContent

NewUserCurrentPutFollowNoContent creates a UserCurrentPutFollowNoContent with default headers values

func (*UserCurrentPutFollowNoContent) Code

Code gets the status code for the user current put follow no content response

func (*UserCurrentPutFollowNoContent) Error

func (*UserCurrentPutFollowNoContent) IsClientError

func (o *UserCurrentPutFollowNoContent) IsClientError() bool

IsClientError returns true when this user current put follow no content response has a 4xx status code

func (*UserCurrentPutFollowNoContent) IsCode

func (o *UserCurrentPutFollowNoContent) IsCode(code int) bool

IsCode returns true when this user current put follow no content response a status code equal to that given

func (*UserCurrentPutFollowNoContent) IsRedirect

func (o *UserCurrentPutFollowNoContent) IsRedirect() bool

IsRedirect returns true when this user current put follow no content response has a 3xx status code

func (*UserCurrentPutFollowNoContent) IsServerError

func (o *UserCurrentPutFollowNoContent) IsServerError() bool

IsServerError returns true when this user current put follow no content response has a 5xx status code

func (*UserCurrentPutFollowNoContent) IsSuccess

func (o *UserCurrentPutFollowNoContent) IsSuccess() bool

IsSuccess returns true when this user current put follow no content response has a 2xx status code

func (*UserCurrentPutFollowNoContent) String

type UserCurrentPutFollowNotFound

type UserCurrentPutFollowNotFound struct {
}

UserCurrentPutFollowNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserCurrentPutFollowNotFound

func NewUserCurrentPutFollowNotFound() *UserCurrentPutFollowNotFound

NewUserCurrentPutFollowNotFound creates a UserCurrentPutFollowNotFound with default headers values

func (*UserCurrentPutFollowNotFound) Code

Code gets the status code for the user current put follow not found response

func (*UserCurrentPutFollowNotFound) Error

func (*UserCurrentPutFollowNotFound) IsClientError

func (o *UserCurrentPutFollowNotFound) IsClientError() bool

IsClientError returns true when this user current put follow not found response has a 4xx status code

func (*UserCurrentPutFollowNotFound) IsCode

func (o *UserCurrentPutFollowNotFound) IsCode(code int) bool

IsCode returns true when this user current put follow not found response a status code equal to that given

func (*UserCurrentPutFollowNotFound) IsRedirect

func (o *UserCurrentPutFollowNotFound) IsRedirect() bool

IsRedirect returns true when this user current put follow not found response has a 3xx status code

func (*UserCurrentPutFollowNotFound) IsServerError

func (o *UserCurrentPutFollowNotFound) IsServerError() bool

IsServerError returns true when this user current put follow not found response has a 5xx status code

func (*UserCurrentPutFollowNotFound) IsSuccess

func (o *UserCurrentPutFollowNotFound) IsSuccess() bool

IsSuccess returns true when this user current put follow not found response has a 2xx status code

func (*UserCurrentPutFollowNotFound) String

type UserCurrentPutFollowParams

type UserCurrentPutFollowParams struct {

	/* Username.

	   username of user to follow
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserCurrentPutFollowParams contains all the parameters to send to the API endpoint

for the user current put follow operation.

Typically these are written to a http.Request.

func NewUserCurrentPutFollowParams

func NewUserCurrentPutFollowParams() *UserCurrentPutFollowParams

NewUserCurrentPutFollowParams creates a new UserCurrentPutFollowParams 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 NewUserCurrentPutFollowParamsWithContext

func NewUserCurrentPutFollowParamsWithContext(ctx context.Context) *UserCurrentPutFollowParams

NewUserCurrentPutFollowParamsWithContext creates a new UserCurrentPutFollowParams object with the ability to set a context for a request.

func NewUserCurrentPutFollowParamsWithHTTPClient

func NewUserCurrentPutFollowParamsWithHTTPClient(client *http.Client) *UserCurrentPutFollowParams

NewUserCurrentPutFollowParamsWithHTTPClient creates a new UserCurrentPutFollowParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentPutFollowParamsWithTimeout

func NewUserCurrentPutFollowParamsWithTimeout(timeout time.Duration) *UserCurrentPutFollowParams

NewUserCurrentPutFollowParamsWithTimeout creates a new UserCurrentPutFollowParams object with the ability to set a timeout on a request.

func (*UserCurrentPutFollowParams) SetContext

func (o *UserCurrentPutFollowParams) SetContext(ctx context.Context)

SetContext adds the context to the user current put follow params

func (*UserCurrentPutFollowParams) SetDefaults

func (o *UserCurrentPutFollowParams) SetDefaults()

SetDefaults hydrates default values in the user current put follow params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPutFollowParams) SetHTTPClient

func (o *UserCurrentPutFollowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user current put follow params

func (*UserCurrentPutFollowParams) SetTimeout

func (o *UserCurrentPutFollowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user current put follow params

func (*UserCurrentPutFollowParams) SetUsername

func (o *UserCurrentPutFollowParams) SetUsername(username string)

SetUsername adds the username to the user current put follow params

func (*UserCurrentPutFollowParams) WithContext

WithContext adds the context to the user current put follow params

func (*UserCurrentPutFollowParams) WithDefaults

WithDefaults hydrates default values in the user current put follow params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPutFollowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current put follow params

func (*UserCurrentPutFollowParams) WithTimeout

WithTimeout adds the timeout to the user current put follow params

func (*UserCurrentPutFollowParams) WithUsername

WithUsername adds the username to the user current put follow params

func (*UserCurrentPutFollowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentPutFollowReader

type UserCurrentPutFollowReader struct {
	// contains filtered or unexported fields
}

UserCurrentPutFollowReader is a Reader for the UserCurrentPutFollow structure.

func (*UserCurrentPutFollowReader) ReadResponse

func (o *UserCurrentPutFollowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserCurrentPutStarForbidden

type UserCurrentPutStarForbidden struct {
	Message string
	URL     string
}

UserCurrentPutStarForbidden describes a response with status code 403, with default header values.

APIForbiddenError is a forbidden error response

func NewUserCurrentPutStarForbidden

func NewUserCurrentPutStarForbidden() *UserCurrentPutStarForbidden

NewUserCurrentPutStarForbidden creates a UserCurrentPutStarForbidden with default headers values

func (*UserCurrentPutStarForbidden) Code

func (o *UserCurrentPutStarForbidden) Code() int

Code gets the status code for the user current put star forbidden response

func (*UserCurrentPutStarForbidden) Error

func (*UserCurrentPutStarForbidden) IsClientError

func (o *UserCurrentPutStarForbidden) IsClientError() bool

IsClientError returns true when this user current put star forbidden response has a 4xx status code

func (*UserCurrentPutStarForbidden) IsCode

func (o *UserCurrentPutStarForbidden) IsCode(code int) bool

IsCode returns true when this user current put star forbidden response a status code equal to that given

func (*UserCurrentPutStarForbidden) IsRedirect

func (o *UserCurrentPutStarForbidden) IsRedirect() bool

IsRedirect returns true when this user current put star forbidden response has a 3xx status code

func (*UserCurrentPutStarForbidden) IsServerError

func (o *UserCurrentPutStarForbidden) IsServerError() bool

IsServerError returns true when this user current put star forbidden response has a 5xx status code

func (*UserCurrentPutStarForbidden) IsSuccess

func (o *UserCurrentPutStarForbidden) IsSuccess() bool

IsSuccess returns true when this user current put star forbidden response has a 2xx status code

func (*UserCurrentPutStarForbidden) String

func (o *UserCurrentPutStarForbidden) String() string

type UserCurrentPutStarNoContent

type UserCurrentPutStarNoContent struct {
}

UserCurrentPutStarNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserCurrentPutStarNoContent

func NewUserCurrentPutStarNoContent() *UserCurrentPutStarNoContent

NewUserCurrentPutStarNoContent creates a UserCurrentPutStarNoContent with default headers values

func (*UserCurrentPutStarNoContent) Code

func (o *UserCurrentPutStarNoContent) Code() int

Code gets the status code for the user current put star no content response

func (*UserCurrentPutStarNoContent) Error

func (*UserCurrentPutStarNoContent) IsClientError

func (o *UserCurrentPutStarNoContent) IsClientError() bool

IsClientError returns true when this user current put star no content response has a 4xx status code

func (*UserCurrentPutStarNoContent) IsCode

func (o *UserCurrentPutStarNoContent) IsCode(code int) bool

IsCode returns true when this user current put star no content response a status code equal to that given

func (*UserCurrentPutStarNoContent) IsRedirect

func (o *UserCurrentPutStarNoContent) IsRedirect() bool

IsRedirect returns true when this user current put star no content response has a 3xx status code

func (*UserCurrentPutStarNoContent) IsServerError

func (o *UserCurrentPutStarNoContent) IsServerError() bool

IsServerError returns true when this user current put star no content response has a 5xx status code

func (*UserCurrentPutStarNoContent) IsSuccess

func (o *UserCurrentPutStarNoContent) IsSuccess() bool

IsSuccess returns true when this user current put star no content response has a 2xx status code

func (*UserCurrentPutStarNoContent) String

func (o *UserCurrentPutStarNoContent) String() string

type UserCurrentPutStarNotFound

type UserCurrentPutStarNotFound struct {
}

UserCurrentPutStarNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserCurrentPutStarNotFound

func NewUserCurrentPutStarNotFound() *UserCurrentPutStarNotFound

NewUserCurrentPutStarNotFound creates a UserCurrentPutStarNotFound with default headers values

func (*UserCurrentPutStarNotFound) Code

func (o *UserCurrentPutStarNotFound) Code() int

Code gets the status code for the user current put star not found response

func (*UserCurrentPutStarNotFound) Error

func (*UserCurrentPutStarNotFound) IsClientError

func (o *UserCurrentPutStarNotFound) IsClientError() bool

IsClientError returns true when this user current put star not found response has a 4xx status code

func (*UserCurrentPutStarNotFound) IsCode

func (o *UserCurrentPutStarNotFound) IsCode(code int) bool

IsCode returns true when this user current put star not found response a status code equal to that given

func (*UserCurrentPutStarNotFound) IsRedirect

func (o *UserCurrentPutStarNotFound) IsRedirect() bool

IsRedirect returns true when this user current put star not found response has a 3xx status code

func (*UserCurrentPutStarNotFound) IsServerError

func (o *UserCurrentPutStarNotFound) IsServerError() bool

IsServerError returns true when this user current put star not found response has a 5xx status code

func (*UserCurrentPutStarNotFound) IsSuccess

func (o *UserCurrentPutStarNotFound) IsSuccess() bool

IsSuccess returns true when this user current put star not found response has a 2xx status code

func (*UserCurrentPutStarNotFound) String

func (o *UserCurrentPutStarNotFound) String() string

type UserCurrentPutStarParams

type UserCurrentPutStarParams struct {

	/* Owner.

	   owner of the repo to star
	*/
	Owner string

	/* Repo.

	   name of the repo to star
	*/
	Repo string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserCurrentPutStarParams contains all the parameters to send to the API endpoint

for the user current put star operation.

Typically these are written to a http.Request.

func NewUserCurrentPutStarParams

func NewUserCurrentPutStarParams() *UserCurrentPutStarParams

NewUserCurrentPutStarParams creates a new UserCurrentPutStarParams 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 NewUserCurrentPutStarParamsWithContext

func NewUserCurrentPutStarParamsWithContext(ctx context.Context) *UserCurrentPutStarParams

NewUserCurrentPutStarParamsWithContext creates a new UserCurrentPutStarParams object with the ability to set a context for a request.

func NewUserCurrentPutStarParamsWithHTTPClient

func NewUserCurrentPutStarParamsWithHTTPClient(client *http.Client) *UserCurrentPutStarParams

NewUserCurrentPutStarParamsWithHTTPClient creates a new UserCurrentPutStarParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentPutStarParamsWithTimeout

func NewUserCurrentPutStarParamsWithTimeout(timeout time.Duration) *UserCurrentPutStarParams

NewUserCurrentPutStarParamsWithTimeout creates a new UserCurrentPutStarParams object with the ability to set a timeout on a request.

func (*UserCurrentPutStarParams) SetContext

func (o *UserCurrentPutStarParams) SetContext(ctx context.Context)

SetContext adds the context to the user current put star params

func (*UserCurrentPutStarParams) SetDefaults

func (o *UserCurrentPutStarParams) SetDefaults()

SetDefaults hydrates default values in the user current put star params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPutStarParams) SetHTTPClient

func (o *UserCurrentPutStarParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user current put star params

func (*UserCurrentPutStarParams) SetOwner

func (o *UserCurrentPutStarParams) SetOwner(owner string)

SetOwner adds the owner to the user current put star params

func (*UserCurrentPutStarParams) SetRepo

func (o *UserCurrentPutStarParams) SetRepo(repo string)

SetRepo adds the repo to the user current put star params

func (*UserCurrentPutStarParams) SetTimeout

func (o *UserCurrentPutStarParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user current put star params

func (*UserCurrentPutStarParams) WithContext

WithContext adds the context to the user current put star params

func (*UserCurrentPutStarParams) WithDefaults

WithDefaults hydrates default values in the user current put star params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentPutStarParams) WithHTTPClient

func (o *UserCurrentPutStarParams) WithHTTPClient(client *http.Client) *UserCurrentPutStarParams

WithHTTPClient adds the HTTPClient to the user current put star params

func (*UserCurrentPutStarParams) WithOwner

WithOwner adds the owner to the user current put star params

func (*UserCurrentPutStarParams) WithRepo

WithRepo adds the repo to the user current put star params

func (*UserCurrentPutStarParams) WithTimeout

WithTimeout adds the timeout to the user current put star params

func (*UserCurrentPutStarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentPutStarReader

type UserCurrentPutStarReader struct {
	// contains filtered or unexported fields
}

UserCurrentPutStarReader is a Reader for the UserCurrentPutStar structure.

func (*UserCurrentPutStarReader) ReadResponse

func (o *UserCurrentPutStarReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserCurrentTrackedTimesOK

type UserCurrentTrackedTimesOK struct {
	Payload []*models.TrackedTime
}

UserCurrentTrackedTimesOK describes a response with status code 200, with default header values.

TrackedTimeList

func NewUserCurrentTrackedTimesOK

func NewUserCurrentTrackedTimesOK() *UserCurrentTrackedTimesOK

NewUserCurrentTrackedTimesOK creates a UserCurrentTrackedTimesOK with default headers values

func (*UserCurrentTrackedTimesOK) Code

func (o *UserCurrentTrackedTimesOK) Code() int

Code gets the status code for the user current tracked times o k response

func (*UserCurrentTrackedTimesOK) Error

func (o *UserCurrentTrackedTimesOK) Error() string

func (*UserCurrentTrackedTimesOK) GetPayload

func (o *UserCurrentTrackedTimesOK) GetPayload() []*models.TrackedTime

func (*UserCurrentTrackedTimesOK) IsClientError

func (o *UserCurrentTrackedTimesOK) IsClientError() bool

IsClientError returns true when this user current tracked times o k response has a 4xx status code

func (*UserCurrentTrackedTimesOK) IsCode

func (o *UserCurrentTrackedTimesOK) IsCode(code int) bool

IsCode returns true when this user current tracked times o k response a status code equal to that given

func (*UserCurrentTrackedTimesOK) IsRedirect

func (o *UserCurrentTrackedTimesOK) IsRedirect() bool

IsRedirect returns true when this user current tracked times o k response has a 3xx status code

func (*UserCurrentTrackedTimesOK) IsServerError

func (o *UserCurrentTrackedTimesOK) IsServerError() bool

IsServerError returns true when this user current tracked times o k response has a 5xx status code

func (*UserCurrentTrackedTimesOK) IsSuccess

func (o *UserCurrentTrackedTimesOK) IsSuccess() bool

IsSuccess returns true when this user current tracked times o k response has a 2xx status code

func (*UserCurrentTrackedTimesOK) String

func (o *UserCurrentTrackedTimesOK) String() string

type UserCurrentTrackedTimesParams

type UserCurrentTrackedTimesParams struct {

	/* Before.

	   Only show times updated before the given time. This is a timestamp in RFC 3339 format

	   Format: date-time
	*/
	Before *strfmt.DateTime

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Since.

	   Only show times updated after the given time. This is a timestamp in RFC 3339 format

	   Format: date-time
	*/
	Since *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserCurrentTrackedTimesParams contains all the parameters to send to the API endpoint

for the user current tracked times operation.

Typically these are written to a http.Request.

func NewUserCurrentTrackedTimesParams

func NewUserCurrentTrackedTimesParams() *UserCurrentTrackedTimesParams

NewUserCurrentTrackedTimesParams creates a new UserCurrentTrackedTimesParams 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 NewUserCurrentTrackedTimesParamsWithContext

func NewUserCurrentTrackedTimesParamsWithContext(ctx context.Context) *UserCurrentTrackedTimesParams

NewUserCurrentTrackedTimesParamsWithContext creates a new UserCurrentTrackedTimesParams object with the ability to set a context for a request.

func NewUserCurrentTrackedTimesParamsWithHTTPClient

func NewUserCurrentTrackedTimesParamsWithHTTPClient(client *http.Client) *UserCurrentTrackedTimesParams

NewUserCurrentTrackedTimesParamsWithHTTPClient creates a new UserCurrentTrackedTimesParams object with the ability to set a custom HTTPClient for a request.

func NewUserCurrentTrackedTimesParamsWithTimeout

func NewUserCurrentTrackedTimesParamsWithTimeout(timeout time.Duration) *UserCurrentTrackedTimesParams

NewUserCurrentTrackedTimesParamsWithTimeout creates a new UserCurrentTrackedTimesParams object with the ability to set a timeout on a request.

func (*UserCurrentTrackedTimesParams) SetBefore

func (o *UserCurrentTrackedTimesParams) SetBefore(before *strfmt.DateTime)

SetBefore adds the before to the user current tracked times params

func (*UserCurrentTrackedTimesParams) SetContext

func (o *UserCurrentTrackedTimesParams) SetContext(ctx context.Context)

SetContext adds the context to the user current tracked times params

func (*UserCurrentTrackedTimesParams) SetDefaults

func (o *UserCurrentTrackedTimesParams) SetDefaults()

SetDefaults hydrates default values in the user current tracked times params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentTrackedTimesParams) SetHTTPClient

func (o *UserCurrentTrackedTimesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user current tracked times params

func (*UserCurrentTrackedTimesParams) SetLimit

func (o *UserCurrentTrackedTimesParams) SetLimit(limit *int64)

SetLimit adds the limit to the user current tracked times params

func (*UserCurrentTrackedTimesParams) SetPage

func (o *UserCurrentTrackedTimesParams) SetPage(page *int64)

SetPage adds the page to the user current tracked times params

func (*UserCurrentTrackedTimesParams) SetSince

func (o *UserCurrentTrackedTimesParams) SetSince(since *strfmt.DateTime)

SetSince adds the since to the user current tracked times params

func (*UserCurrentTrackedTimesParams) SetTimeout

func (o *UserCurrentTrackedTimesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WithBefore

WithBefore adds the before to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WithContext

WithContext adds the context to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WithDefaults

WithDefaults hydrates default values in the user current tracked times params (not the query body).

All values with no default are reset to their zero value.

func (*UserCurrentTrackedTimesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WithLimit

WithLimit adds the limit to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WithPage

WithPage adds the page to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WithSince

WithSince adds the since to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WithTimeout

WithTimeout adds the timeout to the user current tracked times params

func (*UserCurrentTrackedTimesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserCurrentTrackedTimesReader

type UserCurrentTrackedTimesReader struct {
	// contains filtered or unexported fields
}

UserCurrentTrackedTimesReader is a Reader for the UserCurrentTrackedTimes structure.

func (*UserCurrentTrackedTimesReader) ReadResponse

func (o *UserCurrentTrackedTimesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserDeleteAccessTokenForbidden

type UserDeleteAccessTokenForbidden struct {
	Message string
	URL     string
}

UserDeleteAccessTokenForbidden describes a response with status code 403, with default header values.

APIForbiddenError is a forbidden error response

func NewUserDeleteAccessTokenForbidden

func NewUserDeleteAccessTokenForbidden() *UserDeleteAccessTokenForbidden

NewUserDeleteAccessTokenForbidden creates a UserDeleteAccessTokenForbidden with default headers values

func (*UserDeleteAccessTokenForbidden) Code

Code gets the status code for the user delete access token forbidden response

func (*UserDeleteAccessTokenForbidden) Error

func (*UserDeleteAccessTokenForbidden) IsClientError

func (o *UserDeleteAccessTokenForbidden) IsClientError() bool

IsClientError returns true when this user delete access token forbidden response has a 4xx status code

func (*UserDeleteAccessTokenForbidden) IsCode

func (o *UserDeleteAccessTokenForbidden) IsCode(code int) bool

IsCode returns true when this user delete access token forbidden response a status code equal to that given

func (*UserDeleteAccessTokenForbidden) IsRedirect

func (o *UserDeleteAccessTokenForbidden) IsRedirect() bool

IsRedirect returns true when this user delete access token forbidden response has a 3xx status code

func (*UserDeleteAccessTokenForbidden) IsServerError

func (o *UserDeleteAccessTokenForbidden) IsServerError() bool

IsServerError returns true when this user delete access token forbidden response has a 5xx status code

func (*UserDeleteAccessTokenForbidden) IsSuccess

func (o *UserDeleteAccessTokenForbidden) IsSuccess() bool

IsSuccess returns true when this user delete access token forbidden response has a 2xx status code

func (*UserDeleteAccessTokenForbidden) String

type UserDeleteAccessTokenNoContent

type UserDeleteAccessTokenNoContent struct {
}

UserDeleteAccessTokenNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserDeleteAccessTokenNoContent

func NewUserDeleteAccessTokenNoContent() *UserDeleteAccessTokenNoContent

NewUserDeleteAccessTokenNoContent creates a UserDeleteAccessTokenNoContent with default headers values

func (*UserDeleteAccessTokenNoContent) Code

Code gets the status code for the user delete access token no content response

func (*UserDeleteAccessTokenNoContent) Error

func (*UserDeleteAccessTokenNoContent) IsClientError

func (o *UserDeleteAccessTokenNoContent) IsClientError() bool

IsClientError returns true when this user delete access token no content response has a 4xx status code

func (*UserDeleteAccessTokenNoContent) IsCode

func (o *UserDeleteAccessTokenNoContent) IsCode(code int) bool

IsCode returns true when this user delete access token no content response a status code equal to that given

func (*UserDeleteAccessTokenNoContent) IsRedirect

func (o *UserDeleteAccessTokenNoContent) IsRedirect() bool

IsRedirect returns true when this user delete access token no content response has a 3xx status code

func (*UserDeleteAccessTokenNoContent) IsServerError

func (o *UserDeleteAccessTokenNoContent) IsServerError() bool

IsServerError returns true when this user delete access token no content response has a 5xx status code

func (*UserDeleteAccessTokenNoContent) IsSuccess

func (o *UserDeleteAccessTokenNoContent) IsSuccess() bool

IsSuccess returns true when this user delete access token no content response has a 2xx status code

func (*UserDeleteAccessTokenNoContent) String

type UserDeleteAccessTokenNotFound

type UserDeleteAccessTokenNotFound struct {
}

UserDeleteAccessTokenNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserDeleteAccessTokenNotFound

func NewUserDeleteAccessTokenNotFound() *UserDeleteAccessTokenNotFound

NewUserDeleteAccessTokenNotFound creates a UserDeleteAccessTokenNotFound with default headers values

func (*UserDeleteAccessTokenNotFound) Code

Code gets the status code for the user delete access token not found response

func (*UserDeleteAccessTokenNotFound) Error

func (*UserDeleteAccessTokenNotFound) IsClientError

func (o *UserDeleteAccessTokenNotFound) IsClientError() bool

IsClientError returns true when this user delete access token not found response has a 4xx status code

func (*UserDeleteAccessTokenNotFound) IsCode

func (o *UserDeleteAccessTokenNotFound) IsCode(code int) bool

IsCode returns true when this user delete access token not found response a status code equal to that given

func (*UserDeleteAccessTokenNotFound) IsRedirect

func (o *UserDeleteAccessTokenNotFound) IsRedirect() bool

IsRedirect returns true when this user delete access token not found response has a 3xx status code

func (*UserDeleteAccessTokenNotFound) IsServerError

func (o *UserDeleteAccessTokenNotFound) IsServerError() bool

IsServerError returns true when this user delete access token not found response has a 5xx status code

func (*UserDeleteAccessTokenNotFound) IsSuccess

func (o *UserDeleteAccessTokenNotFound) IsSuccess() bool

IsSuccess returns true when this user delete access token not found response has a 2xx status code

func (*UserDeleteAccessTokenNotFound) String

type UserDeleteAccessTokenParams

type UserDeleteAccessTokenParams struct {

	/* Token.

	   token to be deleted, identified by ID and if not available by name
	*/
	Token string

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserDeleteAccessTokenParams contains all the parameters to send to the API endpoint

for the user delete access token operation.

Typically these are written to a http.Request.

func NewUserDeleteAccessTokenParams

func NewUserDeleteAccessTokenParams() *UserDeleteAccessTokenParams

NewUserDeleteAccessTokenParams creates a new UserDeleteAccessTokenParams 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 NewUserDeleteAccessTokenParamsWithContext

func NewUserDeleteAccessTokenParamsWithContext(ctx context.Context) *UserDeleteAccessTokenParams

NewUserDeleteAccessTokenParamsWithContext creates a new UserDeleteAccessTokenParams object with the ability to set a context for a request.

func NewUserDeleteAccessTokenParamsWithHTTPClient

func NewUserDeleteAccessTokenParamsWithHTTPClient(client *http.Client) *UserDeleteAccessTokenParams

NewUserDeleteAccessTokenParamsWithHTTPClient creates a new UserDeleteAccessTokenParams object with the ability to set a custom HTTPClient for a request.

func NewUserDeleteAccessTokenParamsWithTimeout

func NewUserDeleteAccessTokenParamsWithTimeout(timeout time.Duration) *UserDeleteAccessTokenParams

NewUserDeleteAccessTokenParamsWithTimeout creates a new UserDeleteAccessTokenParams object with the ability to set a timeout on a request.

func (*UserDeleteAccessTokenParams) SetContext

func (o *UserDeleteAccessTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the user delete access token params

func (*UserDeleteAccessTokenParams) SetDefaults

func (o *UserDeleteAccessTokenParams) SetDefaults()

SetDefaults hydrates default values in the user delete access token params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteAccessTokenParams) SetHTTPClient

func (o *UserDeleteAccessTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user delete access token params

func (*UserDeleteAccessTokenParams) SetTimeout

func (o *UserDeleteAccessTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user delete access token params

func (*UserDeleteAccessTokenParams) SetToken

func (o *UserDeleteAccessTokenParams) SetToken(token string)

SetToken adds the token to the user delete access token params

func (*UserDeleteAccessTokenParams) SetUsername

func (o *UserDeleteAccessTokenParams) SetUsername(username string)

SetUsername adds the username to the user delete access token params

func (*UserDeleteAccessTokenParams) WithContext

WithContext adds the context to the user delete access token params

func (*UserDeleteAccessTokenParams) WithDefaults

WithDefaults hydrates default values in the user delete access token params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteAccessTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user delete access token params

func (*UserDeleteAccessTokenParams) WithTimeout

WithTimeout adds the timeout to the user delete access token params

func (*UserDeleteAccessTokenParams) WithToken

WithToken adds the token to the user delete access token params

func (*UserDeleteAccessTokenParams) WithUsername

WithUsername adds the username to the user delete access token params

func (*UserDeleteAccessTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserDeleteAccessTokenReader

type UserDeleteAccessTokenReader struct {
	// contains filtered or unexported fields
}

UserDeleteAccessTokenReader is a Reader for the UserDeleteAccessToken structure.

func (*UserDeleteAccessTokenReader) ReadResponse

func (o *UserDeleteAccessTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserDeleteAccessTokenUnprocessableEntity

type UserDeleteAccessTokenUnprocessableEntity struct {
	Message string
	URL     string
}

UserDeleteAccessTokenUnprocessableEntity describes a response with status code 422, with default header values.

APIError is error format response

func NewUserDeleteAccessTokenUnprocessableEntity

func NewUserDeleteAccessTokenUnprocessableEntity() *UserDeleteAccessTokenUnprocessableEntity

NewUserDeleteAccessTokenUnprocessableEntity creates a UserDeleteAccessTokenUnprocessableEntity with default headers values

func (*UserDeleteAccessTokenUnprocessableEntity) Code

Code gets the status code for the user delete access token unprocessable entity response

func (*UserDeleteAccessTokenUnprocessableEntity) Error

func (*UserDeleteAccessTokenUnprocessableEntity) IsClientError

IsClientError returns true when this user delete access token unprocessable entity response has a 4xx status code

func (*UserDeleteAccessTokenUnprocessableEntity) IsCode

IsCode returns true when this user delete access token unprocessable entity response a status code equal to that given

func (*UserDeleteAccessTokenUnprocessableEntity) IsRedirect

IsRedirect returns true when this user delete access token unprocessable entity response has a 3xx status code

func (*UserDeleteAccessTokenUnprocessableEntity) IsServerError

IsServerError returns true when this user delete access token unprocessable entity response has a 5xx status code

func (*UserDeleteAccessTokenUnprocessableEntity) IsSuccess

IsSuccess returns true when this user delete access token unprocessable entity response has a 2xx status code

func (*UserDeleteAccessTokenUnprocessableEntity) String

type UserDeleteAvatarNoContent

type UserDeleteAvatarNoContent struct {
}

UserDeleteAvatarNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserDeleteAvatarNoContent

func NewUserDeleteAvatarNoContent() *UserDeleteAvatarNoContent

NewUserDeleteAvatarNoContent creates a UserDeleteAvatarNoContent with default headers values

func (*UserDeleteAvatarNoContent) Code

func (o *UserDeleteAvatarNoContent) Code() int

Code gets the status code for the user delete avatar no content response

func (*UserDeleteAvatarNoContent) Error

func (o *UserDeleteAvatarNoContent) Error() string

func (*UserDeleteAvatarNoContent) IsClientError

func (o *UserDeleteAvatarNoContent) IsClientError() bool

IsClientError returns true when this user delete avatar no content response has a 4xx status code

func (*UserDeleteAvatarNoContent) IsCode

func (o *UserDeleteAvatarNoContent) IsCode(code int) bool

IsCode returns true when this user delete avatar no content response a status code equal to that given

func (*UserDeleteAvatarNoContent) IsRedirect

func (o *UserDeleteAvatarNoContent) IsRedirect() bool

IsRedirect returns true when this user delete avatar no content response has a 3xx status code

func (*UserDeleteAvatarNoContent) IsServerError

func (o *UserDeleteAvatarNoContent) IsServerError() bool

IsServerError returns true when this user delete avatar no content response has a 5xx status code

func (*UserDeleteAvatarNoContent) IsSuccess

func (o *UserDeleteAvatarNoContent) IsSuccess() bool

IsSuccess returns true when this user delete avatar no content response has a 2xx status code

func (*UserDeleteAvatarNoContent) String

func (o *UserDeleteAvatarNoContent) String() string

type UserDeleteAvatarParams

type UserDeleteAvatarParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserDeleteAvatarParams contains all the parameters to send to the API endpoint

for the user delete avatar operation.

Typically these are written to a http.Request.

func NewUserDeleteAvatarParams

func NewUserDeleteAvatarParams() *UserDeleteAvatarParams

NewUserDeleteAvatarParams creates a new UserDeleteAvatarParams 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 NewUserDeleteAvatarParamsWithContext

func NewUserDeleteAvatarParamsWithContext(ctx context.Context) *UserDeleteAvatarParams

NewUserDeleteAvatarParamsWithContext creates a new UserDeleteAvatarParams object with the ability to set a context for a request.

func NewUserDeleteAvatarParamsWithHTTPClient

func NewUserDeleteAvatarParamsWithHTTPClient(client *http.Client) *UserDeleteAvatarParams

NewUserDeleteAvatarParamsWithHTTPClient creates a new UserDeleteAvatarParams object with the ability to set a custom HTTPClient for a request.

func NewUserDeleteAvatarParamsWithTimeout

func NewUserDeleteAvatarParamsWithTimeout(timeout time.Duration) *UserDeleteAvatarParams

NewUserDeleteAvatarParamsWithTimeout creates a new UserDeleteAvatarParams object with the ability to set a timeout on a request.

func (*UserDeleteAvatarParams) SetContext

func (o *UserDeleteAvatarParams) SetContext(ctx context.Context)

SetContext adds the context to the user delete avatar params

func (*UserDeleteAvatarParams) SetDefaults

func (o *UserDeleteAvatarParams) SetDefaults()

SetDefaults hydrates default values in the user delete avatar params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteAvatarParams) SetHTTPClient

func (o *UserDeleteAvatarParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user delete avatar params

func (*UserDeleteAvatarParams) SetTimeout

func (o *UserDeleteAvatarParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user delete avatar params

func (*UserDeleteAvatarParams) WithContext

WithContext adds the context to the user delete avatar params

func (*UserDeleteAvatarParams) WithDefaults

WithDefaults hydrates default values in the user delete avatar params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteAvatarParams) WithHTTPClient

func (o *UserDeleteAvatarParams) WithHTTPClient(client *http.Client) *UserDeleteAvatarParams

WithHTTPClient adds the HTTPClient to the user delete avatar params

func (*UserDeleteAvatarParams) WithTimeout

WithTimeout adds the timeout to the user delete avatar params

func (*UserDeleteAvatarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserDeleteAvatarReader

type UserDeleteAvatarReader struct {
	// contains filtered or unexported fields
}

UserDeleteAvatarReader is a Reader for the UserDeleteAvatar structure.

func (*UserDeleteAvatarReader) ReadResponse

func (o *UserDeleteAvatarReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserDeleteEmailNoContent

type UserDeleteEmailNoContent struct {
}

UserDeleteEmailNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserDeleteEmailNoContent

func NewUserDeleteEmailNoContent() *UserDeleteEmailNoContent

NewUserDeleteEmailNoContent creates a UserDeleteEmailNoContent with default headers values

func (*UserDeleteEmailNoContent) Code

func (o *UserDeleteEmailNoContent) Code() int

Code gets the status code for the user delete email no content response

func (*UserDeleteEmailNoContent) Error

func (o *UserDeleteEmailNoContent) Error() string

func (*UserDeleteEmailNoContent) IsClientError

func (o *UserDeleteEmailNoContent) IsClientError() bool

IsClientError returns true when this user delete email no content response has a 4xx status code

func (*UserDeleteEmailNoContent) IsCode

func (o *UserDeleteEmailNoContent) IsCode(code int) bool

IsCode returns true when this user delete email no content response a status code equal to that given

func (*UserDeleteEmailNoContent) IsRedirect

func (o *UserDeleteEmailNoContent) IsRedirect() bool

IsRedirect returns true when this user delete email no content response has a 3xx status code

func (*UserDeleteEmailNoContent) IsServerError

func (o *UserDeleteEmailNoContent) IsServerError() bool

IsServerError returns true when this user delete email no content response has a 5xx status code

func (*UserDeleteEmailNoContent) IsSuccess

func (o *UserDeleteEmailNoContent) IsSuccess() bool

IsSuccess returns true when this user delete email no content response has a 2xx status code

func (*UserDeleteEmailNoContent) String

func (o *UserDeleteEmailNoContent) String() string

type UserDeleteEmailNotFound

type UserDeleteEmailNotFound struct {
}

UserDeleteEmailNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserDeleteEmailNotFound

func NewUserDeleteEmailNotFound() *UserDeleteEmailNotFound

NewUserDeleteEmailNotFound creates a UserDeleteEmailNotFound with default headers values

func (*UserDeleteEmailNotFound) Code

func (o *UserDeleteEmailNotFound) Code() int

Code gets the status code for the user delete email not found response

func (*UserDeleteEmailNotFound) Error

func (o *UserDeleteEmailNotFound) Error() string

func (*UserDeleteEmailNotFound) IsClientError

func (o *UserDeleteEmailNotFound) IsClientError() bool

IsClientError returns true when this user delete email not found response has a 4xx status code

func (*UserDeleteEmailNotFound) IsCode

func (o *UserDeleteEmailNotFound) IsCode(code int) bool

IsCode returns true when this user delete email not found response a status code equal to that given

func (*UserDeleteEmailNotFound) IsRedirect

func (o *UserDeleteEmailNotFound) IsRedirect() bool

IsRedirect returns true when this user delete email not found response has a 3xx status code

func (*UserDeleteEmailNotFound) IsServerError

func (o *UserDeleteEmailNotFound) IsServerError() bool

IsServerError returns true when this user delete email not found response has a 5xx status code

func (*UserDeleteEmailNotFound) IsSuccess

func (o *UserDeleteEmailNotFound) IsSuccess() bool

IsSuccess returns true when this user delete email not found response has a 2xx status code

func (*UserDeleteEmailNotFound) String

func (o *UserDeleteEmailNotFound) String() string

type UserDeleteEmailParams

type UserDeleteEmailParams struct {

	// Body.
	Body *models.DeleteEmailOption

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserDeleteEmailParams contains all the parameters to send to the API endpoint

for the user delete email operation.

Typically these are written to a http.Request.

func NewUserDeleteEmailParams

func NewUserDeleteEmailParams() *UserDeleteEmailParams

NewUserDeleteEmailParams creates a new UserDeleteEmailParams 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 NewUserDeleteEmailParamsWithContext

func NewUserDeleteEmailParamsWithContext(ctx context.Context) *UserDeleteEmailParams

NewUserDeleteEmailParamsWithContext creates a new UserDeleteEmailParams object with the ability to set a context for a request.

func NewUserDeleteEmailParamsWithHTTPClient

func NewUserDeleteEmailParamsWithHTTPClient(client *http.Client) *UserDeleteEmailParams

NewUserDeleteEmailParamsWithHTTPClient creates a new UserDeleteEmailParams object with the ability to set a custom HTTPClient for a request.

func NewUserDeleteEmailParamsWithTimeout

func NewUserDeleteEmailParamsWithTimeout(timeout time.Duration) *UserDeleteEmailParams

NewUserDeleteEmailParamsWithTimeout creates a new UserDeleteEmailParams object with the ability to set a timeout on a request.

func (*UserDeleteEmailParams) SetBody

SetBody adds the body to the user delete email params

func (*UserDeleteEmailParams) SetContext

func (o *UserDeleteEmailParams) SetContext(ctx context.Context)

SetContext adds the context to the user delete email params

func (*UserDeleteEmailParams) SetDefaults

func (o *UserDeleteEmailParams) SetDefaults()

SetDefaults hydrates default values in the user delete email params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteEmailParams) SetHTTPClient

func (o *UserDeleteEmailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user delete email params

func (*UserDeleteEmailParams) SetTimeout

func (o *UserDeleteEmailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user delete email params

func (*UserDeleteEmailParams) WithBody

WithBody adds the body to the user delete email params

func (*UserDeleteEmailParams) WithContext

WithContext adds the context to the user delete email params

func (*UserDeleteEmailParams) WithDefaults

func (o *UserDeleteEmailParams) WithDefaults() *UserDeleteEmailParams

WithDefaults hydrates default values in the user delete email params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteEmailParams) WithHTTPClient

func (o *UserDeleteEmailParams) WithHTTPClient(client *http.Client) *UserDeleteEmailParams

WithHTTPClient adds the HTTPClient to the user delete email params

func (*UserDeleteEmailParams) WithTimeout

func (o *UserDeleteEmailParams) WithTimeout(timeout time.Duration) *UserDeleteEmailParams

WithTimeout adds the timeout to the user delete email params

func (*UserDeleteEmailParams) WriteToRequest

func (o *UserDeleteEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserDeleteEmailReader

type UserDeleteEmailReader struct {
	// contains filtered or unexported fields
}

UserDeleteEmailReader is a Reader for the UserDeleteEmail structure.

func (*UserDeleteEmailReader) ReadResponse

func (o *UserDeleteEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserDeleteHookNoContent

type UserDeleteHookNoContent struct {
}

UserDeleteHookNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserDeleteHookNoContent

func NewUserDeleteHookNoContent() *UserDeleteHookNoContent

NewUserDeleteHookNoContent creates a UserDeleteHookNoContent with default headers values

func (*UserDeleteHookNoContent) Code

func (o *UserDeleteHookNoContent) Code() int

Code gets the status code for the user delete hook no content response

func (*UserDeleteHookNoContent) Error

func (o *UserDeleteHookNoContent) Error() string

func (*UserDeleteHookNoContent) IsClientError

func (o *UserDeleteHookNoContent) IsClientError() bool

IsClientError returns true when this user delete hook no content response has a 4xx status code

func (*UserDeleteHookNoContent) IsCode

func (o *UserDeleteHookNoContent) IsCode(code int) bool

IsCode returns true when this user delete hook no content response a status code equal to that given

func (*UserDeleteHookNoContent) IsRedirect

func (o *UserDeleteHookNoContent) IsRedirect() bool

IsRedirect returns true when this user delete hook no content response has a 3xx status code

func (*UserDeleteHookNoContent) IsServerError

func (o *UserDeleteHookNoContent) IsServerError() bool

IsServerError returns true when this user delete hook no content response has a 5xx status code

func (*UserDeleteHookNoContent) IsSuccess

func (o *UserDeleteHookNoContent) IsSuccess() bool

IsSuccess returns true when this user delete hook no content response has a 2xx status code

func (*UserDeleteHookNoContent) String

func (o *UserDeleteHookNoContent) String() string

type UserDeleteHookParams

type UserDeleteHookParams struct {

	/* ID.

	   id of the hook to delete

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserDeleteHookParams contains all the parameters to send to the API endpoint

for the user delete hook operation.

Typically these are written to a http.Request.

func NewUserDeleteHookParams

func NewUserDeleteHookParams() *UserDeleteHookParams

NewUserDeleteHookParams creates a new UserDeleteHookParams 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 NewUserDeleteHookParamsWithContext

func NewUserDeleteHookParamsWithContext(ctx context.Context) *UserDeleteHookParams

NewUserDeleteHookParamsWithContext creates a new UserDeleteHookParams object with the ability to set a context for a request.

func NewUserDeleteHookParamsWithHTTPClient

func NewUserDeleteHookParamsWithHTTPClient(client *http.Client) *UserDeleteHookParams

NewUserDeleteHookParamsWithHTTPClient creates a new UserDeleteHookParams object with the ability to set a custom HTTPClient for a request.

func NewUserDeleteHookParamsWithTimeout

func NewUserDeleteHookParamsWithTimeout(timeout time.Duration) *UserDeleteHookParams

NewUserDeleteHookParamsWithTimeout creates a new UserDeleteHookParams object with the ability to set a timeout on a request.

func (*UserDeleteHookParams) SetContext

func (o *UserDeleteHookParams) SetContext(ctx context.Context)

SetContext adds the context to the user delete hook params

func (*UserDeleteHookParams) SetDefaults

func (o *UserDeleteHookParams) SetDefaults()

SetDefaults hydrates default values in the user delete hook params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteHookParams) SetHTTPClient

func (o *UserDeleteHookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user delete hook params

func (*UserDeleteHookParams) SetID

func (o *UserDeleteHookParams) SetID(id int64)

SetID adds the id to the user delete hook params

func (*UserDeleteHookParams) SetTimeout

func (o *UserDeleteHookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user delete hook params

func (*UserDeleteHookParams) WithContext

WithContext adds the context to the user delete hook params

func (*UserDeleteHookParams) WithDefaults

func (o *UserDeleteHookParams) WithDefaults() *UserDeleteHookParams

WithDefaults hydrates default values in the user delete hook params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteHookParams) WithHTTPClient

func (o *UserDeleteHookParams) WithHTTPClient(client *http.Client) *UserDeleteHookParams

WithHTTPClient adds the HTTPClient to the user delete hook params

func (*UserDeleteHookParams) WithID

WithID adds the id to the user delete hook params

func (*UserDeleteHookParams) WithTimeout

func (o *UserDeleteHookParams) WithTimeout(timeout time.Duration) *UserDeleteHookParams

WithTimeout adds the timeout to the user delete hook params

func (*UserDeleteHookParams) WriteToRequest

func (o *UserDeleteHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserDeleteHookReader

type UserDeleteHookReader struct {
	// contains filtered or unexported fields
}

UserDeleteHookReader is a Reader for the UserDeleteHook structure.

func (*UserDeleteHookReader) ReadResponse

func (o *UserDeleteHookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserDeleteOAuth2ApplicationNoContent

type UserDeleteOAuth2ApplicationNoContent struct {
}

UserDeleteOAuth2ApplicationNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserDeleteOAuth2ApplicationNoContent

func NewUserDeleteOAuth2ApplicationNoContent() *UserDeleteOAuth2ApplicationNoContent

NewUserDeleteOAuth2ApplicationNoContent creates a UserDeleteOAuth2ApplicationNoContent with default headers values

func (*UserDeleteOAuth2ApplicationNoContent) Code

Code gets the status code for the user delete o auth2 application no content response

func (*UserDeleteOAuth2ApplicationNoContent) Error

func (*UserDeleteOAuth2ApplicationNoContent) IsClientError

func (o *UserDeleteOAuth2ApplicationNoContent) IsClientError() bool

IsClientError returns true when this user delete o auth2 application no content response has a 4xx status code

func (*UserDeleteOAuth2ApplicationNoContent) IsCode

IsCode returns true when this user delete o auth2 application no content response a status code equal to that given

func (*UserDeleteOAuth2ApplicationNoContent) IsRedirect

IsRedirect returns true when this user delete o auth2 application no content response has a 3xx status code

func (*UserDeleteOAuth2ApplicationNoContent) IsServerError

func (o *UserDeleteOAuth2ApplicationNoContent) IsServerError() bool

IsServerError returns true when this user delete o auth2 application no content response has a 5xx status code

func (*UserDeleteOAuth2ApplicationNoContent) IsSuccess

IsSuccess returns true when this user delete o auth2 application no content response has a 2xx status code

func (*UserDeleteOAuth2ApplicationNoContent) String

type UserDeleteOAuth2ApplicationNotFound

type UserDeleteOAuth2ApplicationNotFound struct {
}

UserDeleteOAuth2ApplicationNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserDeleteOAuth2ApplicationNotFound

func NewUserDeleteOAuth2ApplicationNotFound() *UserDeleteOAuth2ApplicationNotFound

NewUserDeleteOAuth2ApplicationNotFound creates a UserDeleteOAuth2ApplicationNotFound with default headers values

func (*UserDeleteOAuth2ApplicationNotFound) Code

Code gets the status code for the user delete o auth2 application not found response

func (*UserDeleteOAuth2ApplicationNotFound) Error

func (*UserDeleteOAuth2ApplicationNotFound) IsClientError

func (o *UserDeleteOAuth2ApplicationNotFound) IsClientError() bool

IsClientError returns true when this user delete o auth2 application not found response has a 4xx status code

func (*UserDeleteOAuth2ApplicationNotFound) IsCode

IsCode returns true when this user delete o auth2 application not found response a status code equal to that given

func (*UserDeleteOAuth2ApplicationNotFound) IsRedirect

func (o *UserDeleteOAuth2ApplicationNotFound) IsRedirect() bool

IsRedirect returns true when this user delete o auth2 application not found response has a 3xx status code

func (*UserDeleteOAuth2ApplicationNotFound) IsServerError

func (o *UserDeleteOAuth2ApplicationNotFound) IsServerError() bool

IsServerError returns true when this user delete o auth2 application not found response has a 5xx status code

func (*UserDeleteOAuth2ApplicationNotFound) IsSuccess

IsSuccess returns true when this user delete o auth2 application not found response has a 2xx status code

func (*UserDeleteOAuth2ApplicationNotFound) String

type UserDeleteOAuth2ApplicationParams

type UserDeleteOAuth2ApplicationParams struct {

	/* ID.

	   token to be deleted

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserDeleteOAuth2ApplicationParams contains all the parameters to send to the API endpoint

for the user delete o auth2 application operation.

Typically these are written to a http.Request.

func NewUserDeleteOAuth2ApplicationParams

func NewUserDeleteOAuth2ApplicationParams() *UserDeleteOAuth2ApplicationParams

NewUserDeleteOAuth2ApplicationParams creates a new UserDeleteOAuth2ApplicationParams 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 NewUserDeleteOAuth2ApplicationParamsWithContext

func NewUserDeleteOAuth2ApplicationParamsWithContext(ctx context.Context) *UserDeleteOAuth2ApplicationParams

NewUserDeleteOAuth2ApplicationParamsWithContext creates a new UserDeleteOAuth2ApplicationParams object with the ability to set a context for a request.

func NewUserDeleteOAuth2ApplicationParamsWithHTTPClient

func NewUserDeleteOAuth2ApplicationParamsWithHTTPClient(client *http.Client) *UserDeleteOAuth2ApplicationParams

NewUserDeleteOAuth2ApplicationParamsWithHTTPClient creates a new UserDeleteOAuth2ApplicationParams object with the ability to set a custom HTTPClient for a request.

func NewUserDeleteOAuth2ApplicationParamsWithTimeout

func NewUserDeleteOAuth2ApplicationParamsWithTimeout(timeout time.Duration) *UserDeleteOAuth2ApplicationParams

NewUserDeleteOAuth2ApplicationParamsWithTimeout creates a new UserDeleteOAuth2ApplicationParams object with the ability to set a timeout on a request.

func (*UserDeleteOAuth2ApplicationParams) SetContext

SetContext adds the context to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) SetDefaults

func (o *UserDeleteOAuth2ApplicationParams) SetDefaults()

SetDefaults hydrates default values in the user delete o auth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteOAuth2ApplicationParams) SetHTTPClient

func (o *UserDeleteOAuth2ApplicationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) SetID

SetID adds the id to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) SetTimeout

func (o *UserDeleteOAuth2ApplicationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) WithContext

WithContext adds the context to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) WithDefaults

WithDefaults hydrates default values in the user delete o auth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserDeleteOAuth2ApplicationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) WithID

WithID adds the id to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) WithTimeout

WithTimeout adds the timeout to the user delete o auth2 application params

func (*UserDeleteOAuth2ApplicationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserDeleteOAuth2ApplicationReader

type UserDeleteOAuth2ApplicationReader struct {
	// contains filtered or unexported fields
}

UserDeleteOAuth2ApplicationReader is a Reader for the UserDeleteOAuth2Application structure.

func (*UserDeleteOAuth2ApplicationReader) ReadResponse

func (o *UserDeleteOAuth2ApplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserEditHookOK

type UserEditHookOK struct {
	Payload *models.Hook
}

UserEditHookOK describes a response with status code 200, with default header values.

Hook

func NewUserEditHookOK

func NewUserEditHookOK() *UserEditHookOK

NewUserEditHookOK creates a UserEditHookOK with default headers values

func (*UserEditHookOK) Code

func (o *UserEditHookOK) Code() int

Code gets the status code for the user edit hook o k response

func (*UserEditHookOK) Error

func (o *UserEditHookOK) Error() string

func (*UserEditHookOK) GetPayload

func (o *UserEditHookOK) GetPayload() *models.Hook

func (*UserEditHookOK) IsClientError

func (o *UserEditHookOK) IsClientError() bool

IsClientError returns true when this user edit hook o k response has a 4xx status code

func (*UserEditHookOK) IsCode

func (o *UserEditHookOK) IsCode(code int) bool

IsCode returns true when this user edit hook o k response a status code equal to that given

func (*UserEditHookOK) IsRedirect

func (o *UserEditHookOK) IsRedirect() bool

IsRedirect returns true when this user edit hook o k response has a 3xx status code

func (*UserEditHookOK) IsServerError

func (o *UserEditHookOK) IsServerError() bool

IsServerError returns true when this user edit hook o k response has a 5xx status code

func (*UserEditHookOK) IsSuccess

func (o *UserEditHookOK) IsSuccess() bool

IsSuccess returns true when this user edit hook o k response has a 2xx status code

func (*UserEditHookOK) String

func (o *UserEditHookOK) String() string

type UserEditHookParams

type UserEditHookParams struct {

	// Body.
	Body *models.EditHookOption

	/* ID.

	   id of the hook to update

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserEditHookParams contains all the parameters to send to the API endpoint

for the user edit hook operation.

Typically these are written to a http.Request.

func NewUserEditHookParams

func NewUserEditHookParams() *UserEditHookParams

NewUserEditHookParams creates a new UserEditHookParams 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 NewUserEditHookParamsWithContext

func NewUserEditHookParamsWithContext(ctx context.Context) *UserEditHookParams

NewUserEditHookParamsWithContext creates a new UserEditHookParams object with the ability to set a context for a request.

func NewUserEditHookParamsWithHTTPClient

func NewUserEditHookParamsWithHTTPClient(client *http.Client) *UserEditHookParams

NewUserEditHookParamsWithHTTPClient creates a new UserEditHookParams object with the ability to set a custom HTTPClient for a request.

func NewUserEditHookParamsWithTimeout

func NewUserEditHookParamsWithTimeout(timeout time.Duration) *UserEditHookParams

NewUserEditHookParamsWithTimeout creates a new UserEditHookParams object with the ability to set a timeout on a request.

func (*UserEditHookParams) SetBody

func (o *UserEditHookParams) SetBody(body *models.EditHookOption)

SetBody adds the body to the user edit hook params

func (*UserEditHookParams) SetContext

func (o *UserEditHookParams) SetContext(ctx context.Context)

SetContext adds the context to the user edit hook params

func (*UserEditHookParams) SetDefaults

func (o *UserEditHookParams) SetDefaults()

SetDefaults hydrates default values in the user edit hook params (not the query body).

All values with no default are reset to their zero value.

func (*UserEditHookParams) SetHTTPClient

func (o *UserEditHookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user edit hook params

func (*UserEditHookParams) SetID

func (o *UserEditHookParams) SetID(id int64)

SetID adds the id to the user edit hook params

func (*UserEditHookParams) SetTimeout

func (o *UserEditHookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user edit hook params

func (*UserEditHookParams) WithBody

WithBody adds the body to the user edit hook params

func (*UserEditHookParams) WithContext

WithContext adds the context to the user edit hook params

func (*UserEditHookParams) WithDefaults

func (o *UserEditHookParams) WithDefaults() *UserEditHookParams

WithDefaults hydrates default values in the user edit hook params (not the query body).

All values with no default are reset to their zero value.

func (*UserEditHookParams) WithHTTPClient

func (o *UserEditHookParams) WithHTTPClient(client *http.Client) *UserEditHookParams

WithHTTPClient adds the HTTPClient to the user edit hook params

func (*UserEditHookParams) WithID

WithID adds the id to the user edit hook params

func (*UserEditHookParams) WithTimeout

func (o *UserEditHookParams) WithTimeout(timeout time.Duration) *UserEditHookParams

WithTimeout adds the timeout to the user edit hook params

func (*UserEditHookParams) WriteToRequest

func (o *UserEditHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserEditHookReader

type UserEditHookReader struct {
	// contains filtered or unexported fields
}

UserEditHookReader is a Reader for the UserEditHook structure.

func (*UserEditHookReader) ReadResponse

func (o *UserEditHookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetCurrentOK

type UserGetCurrentOK struct {
	Payload *models.User
}

UserGetCurrentOK describes a response with status code 200, with default header values.

User

func NewUserGetCurrentOK

func NewUserGetCurrentOK() *UserGetCurrentOK

NewUserGetCurrentOK creates a UserGetCurrentOK with default headers values

func (*UserGetCurrentOK) Code

func (o *UserGetCurrentOK) Code() int

Code gets the status code for the user get current o k response

func (*UserGetCurrentOK) Error

func (o *UserGetCurrentOK) Error() string

func (*UserGetCurrentOK) GetPayload

func (o *UserGetCurrentOK) GetPayload() *models.User

func (*UserGetCurrentOK) IsClientError

func (o *UserGetCurrentOK) IsClientError() bool

IsClientError returns true when this user get current o k response has a 4xx status code

func (*UserGetCurrentOK) IsCode

func (o *UserGetCurrentOK) IsCode(code int) bool

IsCode returns true when this user get current o k response a status code equal to that given

func (*UserGetCurrentOK) IsRedirect

func (o *UserGetCurrentOK) IsRedirect() bool

IsRedirect returns true when this user get current o k response has a 3xx status code

func (*UserGetCurrentOK) IsServerError

func (o *UserGetCurrentOK) IsServerError() bool

IsServerError returns true when this user get current o k response has a 5xx status code

func (*UserGetCurrentOK) IsSuccess

func (o *UserGetCurrentOK) IsSuccess() bool

IsSuccess returns true when this user get current o k response has a 2xx status code

func (*UserGetCurrentOK) String

func (o *UserGetCurrentOK) String() string

type UserGetCurrentParams

type UserGetCurrentParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetCurrentParams contains all the parameters to send to the API endpoint

for the user get current operation.

Typically these are written to a http.Request.

func NewUserGetCurrentParams

func NewUserGetCurrentParams() *UserGetCurrentParams

NewUserGetCurrentParams creates a new UserGetCurrentParams 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 NewUserGetCurrentParamsWithContext

func NewUserGetCurrentParamsWithContext(ctx context.Context) *UserGetCurrentParams

NewUserGetCurrentParamsWithContext creates a new UserGetCurrentParams object with the ability to set a context for a request.

func NewUserGetCurrentParamsWithHTTPClient

func NewUserGetCurrentParamsWithHTTPClient(client *http.Client) *UserGetCurrentParams

NewUserGetCurrentParamsWithHTTPClient creates a new UserGetCurrentParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetCurrentParamsWithTimeout

func NewUserGetCurrentParamsWithTimeout(timeout time.Duration) *UserGetCurrentParams

NewUserGetCurrentParamsWithTimeout creates a new UserGetCurrentParams object with the ability to set a timeout on a request.

func (*UserGetCurrentParams) SetContext

func (o *UserGetCurrentParams) SetContext(ctx context.Context)

SetContext adds the context to the user get current params

func (*UserGetCurrentParams) SetDefaults

func (o *UserGetCurrentParams) SetDefaults()

SetDefaults hydrates default values in the user get current params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetCurrentParams) SetHTTPClient

func (o *UserGetCurrentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get current params

func (*UserGetCurrentParams) SetTimeout

func (o *UserGetCurrentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get current params

func (*UserGetCurrentParams) WithContext

WithContext adds the context to the user get current params

func (*UserGetCurrentParams) WithDefaults

func (o *UserGetCurrentParams) WithDefaults() *UserGetCurrentParams

WithDefaults hydrates default values in the user get current params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetCurrentParams) WithHTTPClient

func (o *UserGetCurrentParams) WithHTTPClient(client *http.Client) *UserGetCurrentParams

WithHTTPClient adds the HTTPClient to the user get current params

func (*UserGetCurrentParams) WithTimeout

func (o *UserGetCurrentParams) WithTimeout(timeout time.Duration) *UserGetCurrentParams

WithTimeout adds the timeout to the user get current params

func (*UserGetCurrentParams) WriteToRequest

func (o *UserGetCurrentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserGetCurrentReader

type UserGetCurrentReader struct {
	// contains filtered or unexported fields
}

UserGetCurrentReader is a Reader for the UserGetCurrent structure.

func (*UserGetCurrentReader) ReadResponse

func (o *UserGetCurrentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetHeatmapDataNotFound

type UserGetHeatmapDataNotFound struct {
}

UserGetHeatmapDataNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserGetHeatmapDataNotFound

func NewUserGetHeatmapDataNotFound() *UserGetHeatmapDataNotFound

NewUserGetHeatmapDataNotFound creates a UserGetHeatmapDataNotFound with default headers values

func (*UserGetHeatmapDataNotFound) Code

func (o *UserGetHeatmapDataNotFound) Code() int

Code gets the status code for the user get heatmap data not found response

func (*UserGetHeatmapDataNotFound) Error

func (*UserGetHeatmapDataNotFound) IsClientError

func (o *UserGetHeatmapDataNotFound) IsClientError() bool

IsClientError returns true when this user get heatmap data not found response has a 4xx status code

func (*UserGetHeatmapDataNotFound) IsCode

func (o *UserGetHeatmapDataNotFound) IsCode(code int) bool

IsCode returns true when this user get heatmap data not found response a status code equal to that given

func (*UserGetHeatmapDataNotFound) IsRedirect

func (o *UserGetHeatmapDataNotFound) IsRedirect() bool

IsRedirect returns true when this user get heatmap data not found response has a 3xx status code

func (*UserGetHeatmapDataNotFound) IsServerError

func (o *UserGetHeatmapDataNotFound) IsServerError() bool

IsServerError returns true when this user get heatmap data not found response has a 5xx status code

func (*UserGetHeatmapDataNotFound) IsSuccess

func (o *UserGetHeatmapDataNotFound) IsSuccess() bool

IsSuccess returns true when this user get heatmap data not found response has a 2xx status code

func (*UserGetHeatmapDataNotFound) String

func (o *UserGetHeatmapDataNotFound) String() string

type UserGetHeatmapDataOK

type UserGetHeatmapDataOK struct {
	Payload []*models.UserHeatmapData
}

UserGetHeatmapDataOK describes a response with status code 200, with default header values.

UserHeatmapData

func NewUserGetHeatmapDataOK

func NewUserGetHeatmapDataOK() *UserGetHeatmapDataOK

NewUserGetHeatmapDataOK creates a UserGetHeatmapDataOK with default headers values

func (*UserGetHeatmapDataOK) Code

func (o *UserGetHeatmapDataOK) Code() int

Code gets the status code for the user get heatmap data o k response

func (*UserGetHeatmapDataOK) Error

func (o *UserGetHeatmapDataOK) Error() string

func (*UserGetHeatmapDataOK) GetPayload

func (o *UserGetHeatmapDataOK) GetPayload() []*models.UserHeatmapData

func (*UserGetHeatmapDataOK) IsClientError

func (o *UserGetHeatmapDataOK) IsClientError() bool

IsClientError returns true when this user get heatmap data o k response has a 4xx status code

func (*UserGetHeatmapDataOK) IsCode

func (o *UserGetHeatmapDataOK) IsCode(code int) bool

IsCode returns true when this user get heatmap data o k response a status code equal to that given

func (*UserGetHeatmapDataOK) IsRedirect

func (o *UserGetHeatmapDataOK) IsRedirect() bool

IsRedirect returns true when this user get heatmap data o k response has a 3xx status code

func (*UserGetHeatmapDataOK) IsServerError

func (o *UserGetHeatmapDataOK) IsServerError() bool

IsServerError returns true when this user get heatmap data o k response has a 5xx status code

func (*UserGetHeatmapDataOK) IsSuccess

func (o *UserGetHeatmapDataOK) IsSuccess() bool

IsSuccess returns true when this user get heatmap data o k response has a 2xx status code

func (*UserGetHeatmapDataOK) String

func (o *UserGetHeatmapDataOK) String() string

type UserGetHeatmapDataParams

type UserGetHeatmapDataParams struct {

	/* Username.

	   username of user to get
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetHeatmapDataParams contains all the parameters to send to the API endpoint

for the user get heatmap data operation.

Typically these are written to a http.Request.

func NewUserGetHeatmapDataParams

func NewUserGetHeatmapDataParams() *UserGetHeatmapDataParams

NewUserGetHeatmapDataParams creates a new UserGetHeatmapDataParams 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 NewUserGetHeatmapDataParamsWithContext

func NewUserGetHeatmapDataParamsWithContext(ctx context.Context) *UserGetHeatmapDataParams

NewUserGetHeatmapDataParamsWithContext creates a new UserGetHeatmapDataParams object with the ability to set a context for a request.

func NewUserGetHeatmapDataParamsWithHTTPClient

func NewUserGetHeatmapDataParamsWithHTTPClient(client *http.Client) *UserGetHeatmapDataParams

NewUserGetHeatmapDataParamsWithHTTPClient creates a new UserGetHeatmapDataParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetHeatmapDataParamsWithTimeout

func NewUserGetHeatmapDataParamsWithTimeout(timeout time.Duration) *UserGetHeatmapDataParams

NewUserGetHeatmapDataParamsWithTimeout creates a new UserGetHeatmapDataParams object with the ability to set a timeout on a request.

func (*UserGetHeatmapDataParams) SetContext

func (o *UserGetHeatmapDataParams) SetContext(ctx context.Context)

SetContext adds the context to the user get heatmap data params

func (*UserGetHeatmapDataParams) SetDefaults

func (o *UserGetHeatmapDataParams) SetDefaults()

SetDefaults hydrates default values in the user get heatmap data params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetHeatmapDataParams) SetHTTPClient

func (o *UserGetHeatmapDataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get heatmap data params

func (*UserGetHeatmapDataParams) SetTimeout

func (o *UserGetHeatmapDataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get heatmap data params

func (*UserGetHeatmapDataParams) SetUsername

func (o *UserGetHeatmapDataParams) SetUsername(username string)

SetUsername adds the username to the user get heatmap data params

func (*UserGetHeatmapDataParams) WithContext

WithContext adds the context to the user get heatmap data params

func (*UserGetHeatmapDataParams) WithDefaults

WithDefaults hydrates default values in the user get heatmap data params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetHeatmapDataParams) WithHTTPClient

func (o *UserGetHeatmapDataParams) WithHTTPClient(client *http.Client) *UserGetHeatmapDataParams

WithHTTPClient adds the HTTPClient to the user get heatmap data params

func (*UserGetHeatmapDataParams) WithTimeout

WithTimeout adds the timeout to the user get heatmap data params

func (*UserGetHeatmapDataParams) WithUsername

func (o *UserGetHeatmapDataParams) WithUsername(username string) *UserGetHeatmapDataParams

WithUsername adds the username to the user get heatmap data params

func (*UserGetHeatmapDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserGetHeatmapDataReader

type UserGetHeatmapDataReader struct {
	// contains filtered or unexported fields
}

UserGetHeatmapDataReader is a Reader for the UserGetHeatmapData structure.

func (*UserGetHeatmapDataReader) ReadResponse

func (o *UserGetHeatmapDataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetHookOK

type UserGetHookOK struct {
	Payload *models.Hook
}

UserGetHookOK describes a response with status code 200, with default header values.

Hook

func NewUserGetHookOK

func NewUserGetHookOK() *UserGetHookOK

NewUserGetHookOK creates a UserGetHookOK with default headers values

func (*UserGetHookOK) Code

func (o *UserGetHookOK) Code() int

Code gets the status code for the user get hook o k response

func (*UserGetHookOK) Error

func (o *UserGetHookOK) Error() string

func (*UserGetHookOK) GetPayload

func (o *UserGetHookOK) GetPayload() *models.Hook

func (*UserGetHookOK) IsClientError

func (o *UserGetHookOK) IsClientError() bool

IsClientError returns true when this user get hook o k response has a 4xx status code

func (*UserGetHookOK) IsCode

func (o *UserGetHookOK) IsCode(code int) bool

IsCode returns true when this user get hook o k response a status code equal to that given

func (*UserGetHookOK) IsRedirect

func (o *UserGetHookOK) IsRedirect() bool

IsRedirect returns true when this user get hook o k response has a 3xx status code

func (*UserGetHookOK) IsServerError

func (o *UserGetHookOK) IsServerError() bool

IsServerError returns true when this user get hook o k response has a 5xx status code

func (*UserGetHookOK) IsSuccess

func (o *UserGetHookOK) IsSuccess() bool

IsSuccess returns true when this user get hook o k response has a 2xx status code

func (*UserGetHookOK) String

func (o *UserGetHookOK) String() string

type UserGetHookParams

type UserGetHookParams struct {

	/* ID.

	   id of the hook to get

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetHookParams contains all the parameters to send to the API endpoint

for the user get hook operation.

Typically these are written to a http.Request.

func NewUserGetHookParams

func NewUserGetHookParams() *UserGetHookParams

NewUserGetHookParams creates a new UserGetHookParams 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 NewUserGetHookParamsWithContext

func NewUserGetHookParamsWithContext(ctx context.Context) *UserGetHookParams

NewUserGetHookParamsWithContext creates a new UserGetHookParams object with the ability to set a context for a request.

func NewUserGetHookParamsWithHTTPClient

func NewUserGetHookParamsWithHTTPClient(client *http.Client) *UserGetHookParams

NewUserGetHookParamsWithHTTPClient creates a new UserGetHookParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetHookParamsWithTimeout

func NewUserGetHookParamsWithTimeout(timeout time.Duration) *UserGetHookParams

NewUserGetHookParamsWithTimeout creates a new UserGetHookParams object with the ability to set a timeout on a request.

func (*UserGetHookParams) SetContext

func (o *UserGetHookParams) SetContext(ctx context.Context)

SetContext adds the context to the user get hook params

func (*UserGetHookParams) SetDefaults

func (o *UserGetHookParams) SetDefaults()

SetDefaults hydrates default values in the user get hook params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetHookParams) SetHTTPClient

func (o *UserGetHookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get hook params

func (*UserGetHookParams) SetID

func (o *UserGetHookParams) SetID(id int64)

SetID adds the id to the user get hook params

func (*UserGetHookParams) SetTimeout

func (o *UserGetHookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get hook params

func (*UserGetHookParams) WithContext

func (o *UserGetHookParams) WithContext(ctx context.Context) *UserGetHookParams

WithContext adds the context to the user get hook params

func (*UserGetHookParams) WithDefaults

func (o *UserGetHookParams) WithDefaults() *UserGetHookParams

WithDefaults hydrates default values in the user get hook params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetHookParams) WithHTTPClient

func (o *UserGetHookParams) WithHTTPClient(client *http.Client) *UserGetHookParams

WithHTTPClient adds the HTTPClient to the user get hook params

func (*UserGetHookParams) WithID

func (o *UserGetHookParams) WithID(id int64) *UserGetHookParams

WithID adds the id to the user get hook params

func (*UserGetHookParams) WithTimeout

func (o *UserGetHookParams) WithTimeout(timeout time.Duration) *UserGetHookParams

WithTimeout adds the timeout to the user get hook params

func (*UserGetHookParams) WriteToRequest

func (o *UserGetHookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserGetHookReader

type UserGetHookReader struct {
	// contains filtered or unexported fields
}

UserGetHookReader is a Reader for the UserGetHook structure.

func (*UserGetHookReader) ReadResponse

func (o *UserGetHookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetNotFound

type UserGetNotFound struct {
}

UserGetNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserGetNotFound

func NewUserGetNotFound() *UserGetNotFound

NewUserGetNotFound creates a UserGetNotFound with default headers values

func (*UserGetNotFound) Code

func (o *UserGetNotFound) Code() int

Code gets the status code for the user get not found response

func (*UserGetNotFound) Error

func (o *UserGetNotFound) Error() string

func (*UserGetNotFound) IsClientError

func (o *UserGetNotFound) IsClientError() bool

IsClientError returns true when this user get not found response has a 4xx status code

func (*UserGetNotFound) IsCode

func (o *UserGetNotFound) IsCode(code int) bool

IsCode returns true when this user get not found response a status code equal to that given

func (*UserGetNotFound) IsRedirect

func (o *UserGetNotFound) IsRedirect() bool

IsRedirect returns true when this user get not found response has a 3xx status code

func (*UserGetNotFound) IsServerError

func (o *UserGetNotFound) IsServerError() bool

IsServerError returns true when this user get not found response has a 5xx status code

func (*UserGetNotFound) IsSuccess

func (o *UserGetNotFound) IsSuccess() bool

IsSuccess returns true when this user get not found response has a 2xx status code

func (*UserGetNotFound) String

func (o *UserGetNotFound) String() string

type UserGetOAuth2ApplicationNotFound

type UserGetOAuth2ApplicationNotFound struct {
}

UserGetOAuth2ApplicationNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserGetOAuth2ApplicationNotFound

func NewUserGetOAuth2ApplicationNotFound() *UserGetOAuth2ApplicationNotFound

NewUserGetOAuth2ApplicationNotFound creates a UserGetOAuth2ApplicationNotFound with default headers values

func (*UserGetOAuth2ApplicationNotFound) Code

Code gets the status code for the user get o auth2 application not found response

func (*UserGetOAuth2ApplicationNotFound) Error

func (*UserGetOAuth2ApplicationNotFound) IsClientError

func (o *UserGetOAuth2ApplicationNotFound) IsClientError() bool

IsClientError returns true when this user get o auth2 application not found response has a 4xx status code

func (*UserGetOAuth2ApplicationNotFound) IsCode

func (o *UserGetOAuth2ApplicationNotFound) IsCode(code int) bool

IsCode returns true when this user get o auth2 application not found response a status code equal to that given

func (*UserGetOAuth2ApplicationNotFound) IsRedirect

func (o *UserGetOAuth2ApplicationNotFound) IsRedirect() bool

IsRedirect returns true when this user get o auth2 application not found response has a 3xx status code

func (*UserGetOAuth2ApplicationNotFound) IsServerError

func (o *UserGetOAuth2ApplicationNotFound) IsServerError() bool

IsServerError returns true when this user get o auth2 application not found response has a 5xx status code

func (*UserGetOAuth2ApplicationNotFound) IsSuccess

func (o *UserGetOAuth2ApplicationNotFound) IsSuccess() bool

IsSuccess returns true when this user get o auth2 application not found response has a 2xx status code

func (*UserGetOAuth2ApplicationNotFound) String

type UserGetOAuth2ApplicationOK

type UserGetOAuth2ApplicationOK struct {
	Payload *models.OAuth2Application
}

UserGetOAuth2ApplicationOK describes a response with status code 200, with default header values.

OAuth2Application

func NewUserGetOAuth2ApplicationOK

func NewUserGetOAuth2ApplicationOK() *UserGetOAuth2ApplicationOK

NewUserGetOAuth2ApplicationOK creates a UserGetOAuth2ApplicationOK with default headers values

func (*UserGetOAuth2ApplicationOK) Code

func (o *UserGetOAuth2ApplicationOK) Code() int

Code gets the status code for the user get o auth2 application o k response

func (*UserGetOAuth2ApplicationOK) Error

func (*UserGetOAuth2ApplicationOK) GetPayload

func (*UserGetOAuth2ApplicationOK) IsClientError

func (o *UserGetOAuth2ApplicationOK) IsClientError() bool

IsClientError returns true when this user get o auth2 application o k response has a 4xx status code

func (*UserGetOAuth2ApplicationOK) IsCode

func (o *UserGetOAuth2ApplicationOK) IsCode(code int) bool

IsCode returns true when this user get o auth2 application o k response a status code equal to that given

func (*UserGetOAuth2ApplicationOK) IsRedirect

func (o *UserGetOAuth2ApplicationOK) IsRedirect() bool

IsRedirect returns true when this user get o auth2 application o k response has a 3xx status code

func (*UserGetOAuth2ApplicationOK) IsServerError

func (o *UserGetOAuth2ApplicationOK) IsServerError() bool

IsServerError returns true when this user get o auth2 application o k response has a 5xx status code

func (*UserGetOAuth2ApplicationOK) IsSuccess

func (o *UserGetOAuth2ApplicationOK) IsSuccess() bool

IsSuccess returns true when this user get o auth2 application o k response has a 2xx status code

func (*UserGetOAuth2ApplicationOK) String

func (o *UserGetOAuth2ApplicationOK) String() string

type UserGetOAuth2ApplicationParams

type UserGetOAuth2ApplicationParams struct {

	/* ID.

	   Application ID to be found

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetOAuth2ApplicationParams contains all the parameters to send to the API endpoint

for the user get o auth2 application operation.

Typically these are written to a http.Request.

func NewUserGetOAuth2ApplicationParams

func NewUserGetOAuth2ApplicationParams() *UserGetOAuth2ApplicationParams

NewUserGetOAuth2ApplicationParams creates a new UserGetOAuth2ApplicationParams 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 NewUserGetOAuth2ApplicationParamsWithContext

func NewUserGetOAuth2ApplicationParamsWithContext(ctx context.Context) *UserGetOAuth2ApplicationParams

NewUserGetOAuth2ApplicationParamsWithContext creates a new UserGetOAuth2ApplicationParams object with the ability to set a context for a request.

func NewUserGetOAuth2ApplicationParamsWithHTTPClient

func NewUserGetOAuth2ApplicationParamsWithHTTPClient(client *http.Client) *UserGetOAuth2ApplicationParams

NewUserGetOAuth2ApplicationParamsWithHTTPClient creates a new UserGetOAuth2ApplicationParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetOAuth2ApplicationParamsWithTimeout

func NewUserGetOAuth2ApplicationParamsWithTimeout(timeout time.Duration) *UserGetOAuth2ApplicationParams

NewUserGetOAuth2ApplicationParamsWithTimeout creates a new UserGetOAuth2ApplicationParams object with the ability to set a timeout on a request.

func (*UserGetOAuth2ApplicationParams) SetContext

func (o *UserGetOAuth2ApplicationParams) SetContext(ctx context.Context)

SetContext adds the context to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) SetDefaults

func (o *UserGetOAuth2ApplicationParams) SetDefaults()

SetDefaults hydrates default values in the user get o auth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetOAuth2ApplicationParams) SetHTTPClient

func (o *UserGetOAuth2ApplicationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) SetID

SetID adds the id to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) SetTimeout

func (o *UserGetOAuth2ApplicationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) WithContext

WithContext adds the context to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) WithDefaults

WithDefaults hydrates default values in the user get o auth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetOAuth2ApplicationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) WithID

WithID adds the id to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) WithTimeout

WithTimeout adds the timeout to the user get o auth2 application params

func (*UserGetOAuth2ApplicationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserGetOAuth2ApplicationReader

type UserGetOAuth2ApplicationReader struct {
	// contains filtered or unexported fields
}

UserGetOAuth2ApplicationReader is a Reader for the UserGetOAuth2Application structure.

func (*UserGetOAuth2ApplicationReader) ReadResponse

func (o *UserGetOAuth2ApplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetOK

type UserGetOK struct {
	Payload *models.User
}

UserGetOK describes a response with status code 200, with default header values.

User

func NewUserGetOK

func NewUserGetOK() *UserGetOK

NewUserGetOK creates a UserGetOK with default headers values

func (*UserGetOK) Code

func (o *UserGetOK) Code() int

Code gets the status code for the user get o k response

func (*UserGetOK) Error

func (o *UserGetOK) Error() string

func (*UserGetOK) GetPayload

func (o *UserGetOK) GetPayload() *models.User

func (*UserGetOK) IsClientError

func (o *UserGetOK) IsClientError() bool

IsClientError returns true when this user get o k response has a 4xx status code

func (*UserGetOK) IsCode

func (o *UserGetOK) IsCode(code int) bool

IsCode returns true when this user get o k response a status code equal to that given

func (*UserGetOK) IsRedirect

func (o *UserGetOK) IsRedirect() bool

IsRedirect returns true when this user get o k response has a 3xx status code

func (*UserGetOK) IsServerError

func (o *UserGetOK) IsServerError() bool

IsServerError returns true when this user get o k response has a 5xx status code

func (*UserGetOK) IsSuccess

func (o *UserGetOK) IsSuccess() bool

IsSuccess returns true when this user get o k response has a 2xx status code

func (*UserGetOK) String

func (o *UserGetOK) String() string

type UserGetOauth2ApplicationOK

type UserGetOauth2ApplicationOK struct {
	Payload []*models.OAuth2Application
}

UserGetOauth2ApplicationOK describes a response with status code 200, with default header values.

OAuth2ApplicationList represents a list of OAuth2 applications.

func NewUserGetOauth2ApplicationOK

func NewUserGetOauth2ApplicationOK() *UserGetOauth2ApplicationOK

NewUserGetOauth2ApplicationOK creates a UserGetOauth2ApplicationOK with default headers values

func (*UserGetOauth2ApplicationOK) Code

func (o *UserGetOauth2ApplicationOK) Code() int

Code gets the status code for the user get oauth2 application o k response

func (*UserGetOauth2ApplicationOK) Error

func (*UserGetOauth2ApplicationOK) GetPayload

func (*UserGetOauth2ApplicationOK) IsClientError

func (o *UserGetOauth2ApplicationOK) IsClientError() bool

IsClientError returns true when this user get oauth2 application o k response has a 4xx status code

func (*UserGetOauth2ApplicationOK) IsCode

func (o *UserGetOauth2ApplicationOK) IsCode(code int) bool

IsCode returns true when this user get oauth2 application o k response a status code equal to that given

func (*UserGetOauth2ApplicationOK) IsRedirect

func (o *UserGetOauth2ApplicationOK) IsRedirect() bool

IsRedirect returns true when this user get oauth2 application o k response has a 3xx status code

func (*UserGetOauth2ApplicationOK) IsServerError

func (o *UserGetOauth2ApplicationOK) IsServerError() bool

IsServerError returns true when this user get oauth2 application o k response has a 5xx status code

func (*UserGetOauth2ApplicationOK) IsSuccess

func (o *UserGetOauth2ApplicationOK) IsSuccess() bool

IsSuccess returns true when this user get oauth2 application o k response has a 2xx status code

func (*UserGetOauth2ApplicationOK) String

func (o *UserGetOauth2ApplicationOK) String() string

type UserGetOauth2ApplicationParams

type UserGetOauth2ApplicationParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetOauth2ApplicationParams contains all the parameters to send to the API endpoint

for the user get oauth2 application operation.

Typically these are written to a http.Request.

func NewUserGetOauth2ApplicationParams

func NewUserGetOauth2ApplicationParams() *UserGetOauth2ApplicationParams

NewUserGetOauth2ApplicationParams creates a new UserGetOauth2ApplicationParams 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 NewUserGetOauth2ApplicationParamsWithContext

func NewUserGetOauth2ApplicationParamsWithContext(ctx context.Context) *UserGetOauth2ApplicationParams

NewUserGetOauth2ApplicationParamsWithContext creates a new UserGetOauth2ApplicationParams object with the ability to set a context for a request.

func NewUserGetOauth2ApplicationParamsWithHTTPClient

func NewUserGetOauth2ApplicationParamsWithHTTPClient(client *http.Client) *UserGetOauth2ApplicationParams

NewUserGetOauth2ApplicationParamsWithHTTPClient creates a new UserGetOauth2ApplicationParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetOauth2ApplicationParamsWithTimeout

func NewUserGetOauth2ApplicationParamsWithTimeout(timeout time.Duration) *UserGetOauth2ApplicationParams

NewUserGetOauth2ApplicationParamsWithTimeout creates a new UserGetOauth2ApplicationParams object with the ability to set a timeout on a request.

func (*UserGetOauth2ApplicationParams) SetContext

func (o *UserGetOauth2ApplicationParams) SetContext(ctx context.Context)

SetContext adds the context to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) SetDefaults

func (o *UserGetOauth2ApplicationParams) SetDefaults()

SetDefaults hydrates default values in the user get oauth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetOauth2ApplicationParams) SetHTTPClient

func (o *UserGetOauth2ApplicationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) SetLimit

func (o *UserGetOauth2ApplicationParams) SetLimit(limit *int64)

SetLimit adds the limit to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) SetPage

func (o *UserGetOauth2ApplicationParams) SetPage(page *int64)

SetPage adds the page to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) SetTimeout

func (o *UserGetOauth2ApplicationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) WithContext

WithContext adds the context to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) WithDefaults

WithDefaults hydrates default values in the user get oauth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetOauth2ApplicationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) WithLimit

WithLimit adds the limit to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) WithPage

WithPage adds the page to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) WithTimeout

WithTimeout adds the timeout to the user get oauth2 application params

func (*UserGetOauth2ApplicationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserGetOauth2ApplicationReader

type UserGetOauth2ApplicationReader struct {
	// contains filtered or unexported fields
}

UserGetOauth2ApplicationReader is a Reader for the UserGetOauth2Application structure.

func (*UserGetOauth2ApplicationReader) ReadResponse

func (o *UserGetOauth2ApplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetParams

type UserGetParams struct {

	/* Username.

	   username of user to get
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetParams contains all the parameters to send to the API endpoint

for the user get operation.

Typically these are written to a http.Request.

func NewUserGetParams

func NewUserGetParams() *UserGetParams

NewUserGetParams creates a new UserGetParams 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 NewUserGetParamsWithContext

func NewUserGetParamsWithContext(ctx context.Context) *UserGetParams

NewUserGetParamsWithContext creates a new UserGetParams object with the ability to set a context for a request.

func NewUserGetParamsWithHTTPClient

func NewUserGetParamsWithHTTPClient(client *http.Client) *UserGetParams

NewUserGetParamsWithHTTPClient creates a new UserGetParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetParamsWithTimeout

func NewUserGetParamsWithTimeout(timeout time.Duration) *UserGetParams

NewUserGetParamsWithTimeout creates a new UserGetParams object with the ability to set a timeout on a request.

func (*UserGetParams) SetContext

func (o *UserGetParams) SetContext(ctx context.Context)

SetContext adds the context to the user get params

func (*UserGetParams) SetDefaults

func (o *UserGetParams) SetDefaults()

SetDefaults hydrates default values in the user get params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetParams) SetHTTPClient

func (o *UserGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get params

func (*UserGetParams) SetTimeout

func (o *UserGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get params

func (*UserGetParams) SetUsername

func (o *UserGetParams) SetUsername(username string)

SetUsername adds the username to the user get params

func (*UserGetParams) WithContext

func (o *UserGetParams) WithContext(ctx context.Context) *UserGetParams

WithContext adds the context to the user get params

func (*UserGetParams) WithDefaults

func (o *UserGetParams) WithDefaults() *UserGetParams

WithDefaults hydrates default values in the user get params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetParams) WithHTTPClient

func (o *UserGetParams) WithHTTPClient(client *http.Client) *UserGetParams

WithHTTPClient adds the HTTPClient to the user get params

func (*UserGetParams) WithTimeout

func (o *UserGetParams) WithTimeout(timeout time.Duration) *UserGetParams

WithTimeout adds the timeout to the user get params

func (*UserGetParams) WithUsername

func (o *UserGetParams) WithUsername(username string) *UserGetParams

WithUsername adds the username to the user get params

func (*UserGetParams) WriteToRequest

func (o *UserGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserGetReader

type UserGetReader struct {
	// contains filtered or unexported fields
}

UserGetReader is a Reader for the UserGet structure.

func (*UserGetReader) ReadResponse

func (o *UserGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetRunnerRegistrationTokenOK

type UserGetRunnerRegistrationTokenOK struct {
	Token string
}

UserGetRunnerRegistrationTokenOK describes a response with status code 200, with default header values.

RegistrationToken is response related to registration token

func NewUserGetRunnerRegistrationTokenOK

func NewUserGetRunnerRegistrationTokenOK() *UserGetRunnerRegistrationTokenOK

NewUserGetRunnerRegistrationTokenOK creates a UserGetRunnerRegistrationTokenOK with default headers values

func (*UserGetRunnerRegistrationTokenOK) Code

Code gets the status code for the user get runner registration token o k response

func (*UserGetRunnerRegistrationTokenOK) Error

func (*UserGetRunnerRegistrationTokenOK) IsClientError

func (o *UserGetRunnerRegistrationTokenOK) IsClientError() bool

IsClientError returns true when this user get runner registration token o k response has a 4xx status code

func (*UserGetRunnerRegistrationTokenOK) IsCode

func (o *UserGetRunnerRegistrationTokenOK) IsCode(code int) bool

IsCode returns true when this user get runner registration token o k response a status code equal to that given

func (*UserGetRunnerRegistrationTokenOK) IsRedirect

func (o *UserGetRunnerRegistrationTokenOK) IsRedirect() bool

IsRedirect returns true when this user get runner registration token o k response has a 3xx status code

func (*UserGetRunnerRegistrationTokenOK) IsServerError

func (o *UserGetRunnerRegistrationTokenOK) IsServerError() bool

IsServerError returns true when this user get runner registration token o k response has a 5xx status code

func (*UserGetRunnerRegistrationTokenOK) IsSuccess

func (o *UserGetRunnerRegistrationTokenOK) IsSuccess() bool

IsSuccess returns true when this user get runner registration token o k response has a 2xx status code

func (*UserGetRunnerRegistrationTokenOK) String

type UserGetRunnerRegistrationTokenParams

type UserGetRunnerRegistrationTokenParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetRunnerRegistrationTokenParams contains all the parameters to send to the API endpoint

for the user get runner registration token operation.

Typically these are written to a http.Request.

func NewUserGetRunnerRegistrationTokenParams

func NewUserGetRunnerRegistrationTokenParams() *UserGetRunnerRegistrationTokenParams

NewUserGetRunnerRegistrationTokenParams creates a new UserGetRunnerRegistrationTokenParams 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 NewUserGetRunnerRegistrationTokenParamsWithContext

func NewUserGetRunnerRegistrationTokenParamsWithContext(ctx context.Context) *UserGetRunnerRegistrationTokenParams

NewUserGetRunnerRegistrationTokenParamsWithContext creates a new UserGetRunnerRegistrationTokenParams object with the ability to set a context for a request.

func NewUserGetRunnerRegistrationTokenParamsWithHTTPClient

func NewUserGetRunnerRegistrationTokenParamsWithHTTPClient(client *http.Client) *UserGetRunnerRegistrationTokenParams

NewUserGetRunnerRegistrationTokenParamsWithHTTPClient creates a new UserGetRunnerRegistrationTokenParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetRunnerRegistrationTokenParamsWithTimeout

func NewUserGetRunnerRegistrationTokenParamsWithTimeout(timeout time.Duration) *UserGetRunnerRegistrationTokenParams

NewUserGetRunnerRegistrationTokenParamsWithTimeout creates a new UserGetRunnerRegistrationTokenParams object with the ability to set a timeout on a request.

func (*UserGetRunnerRegistrationTokenParams) SetContext

SetContext adds the context to the user get runner registration token params

func (*UserGetRunnerRegistrationTokenParams) SetDefaults

func (o *UserGetRunnerRegistrationTokenParams) SetDefaults()

SetDefaults hydrates default values in the user get runner registration token params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetRunnerRegistrationTokenParams) SetHTTPClient

func (o *UserGetRunnerRegistrationTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get runner registration token params

func (*UserGetRunnerRegistrationTokenParams) SetTimeout

func (o *UserGetRunnerRegistrationTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get runner registration token params

func (*UserGetRunnerRegistrationTokenParams) WithContext

WithContext adds the context to the user get runner registration token params

func (*UserGetRunnerRegistrationTokenParams) WithDefaults

WithDefaults hydrates default values in the user get runner registration token params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetRunnerRegistrationTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user get runner registration token params

func (*UserGetRunnerRegistrationTokenParams) WithTimeout

WithTimeout adds the timeout to the user get runner registration token params

func (*UserGetRunnerRegistrationTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserGetRunnerRegistrationTokenReader

type UserGetRunnerRegistrationTokenReader struct {
	// contains filtered or unexported fields
}

UserGetRunnerRegistrationTokenReader is a Reader for the UserGetRunnerRegistrationToken structure.

func (*UserGetRunnerRegistrationTokenReader) ReadResponse

func (o *UserGetRunnerRegistrationTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetStopWatchesOK

type UserGetStopWatchesOK struct {
	Payload []*models.StopWatch
}

UserGetStopWatchesOK describes a response with status code 200, with default header values.

StopWatchList

func NewUserGetStopWatchesOK

func NewUserGetStopWatchesOK() *UserGetStopWatchesOK

NewUserGetStopWatchesOK creates a UserGetStopWatchesOK with default headers values

func (*UserGetStopWatchesOK) Code

func (o *UserGetStopWatchesOK) Code() int

Code gets the status code for the user get stop watches o k response

func (*UserGetStopWatchesOK) Error

func (o *UserGetStopWatchesOK) Error() string

func (*UserGetStopWatchesOK) GetPayload

func (o *UserGetStopWatchesOK) GetPayload() []*models.StopWatch

func (*UserGetStopWatchesOK) IsClientError

func (o *UserGetStopWatchesOK) IsClientError() bool

IsClientError returns true when this user get stop watches o k response has a 4xx status code

func (*UserGetStopWatchesOK) IsCode

func (o *UserGetStopWatchesOK) IsCode(code int) bool

IsCode returns true when this user get stop watches o k response a status code equal to that given

func (*UserGetStopWatchesOK) IsRedirect

func (o *UserGetStopWatchesOK) IsRedirect() bool

IsRedirect returns true when this user get stop watches o k response has a 3xx status code

func (*UserGetStopWatchesOK) IsServerError

func (o *UserGetStopWatchesOK) IsServerError() bool

IsServerError returns true when this user get stop watches o k response has a 5xx status code

func (*UserGetStopWatchesOK) IsSuccess

func (o *UserGetStopWatchesOK) IsSuccess() bool

IsSuccess returns true when this user get stop watches o k response has a 2xx status code

func (*UserGetStopWatchesOK) String

func (o *UserGetStopWatchesOK) String() string

type UserGetStopWatchesParams

type UserGetStopWatchesParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetStopWatchesParams contains all the parameters to send to the API endpoint

for the user get stop watches operation.

Typically these are written to a http.Request.

func NewUserGetStopWatchesParams

func NewUserGetStopWatchesParams() *UserGetStopWatchesParams

NewUserGetStopWatchesParams creates a new UserGetStopWatchesParams 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 NewUserGetStopWatchesParamsWithContext

func NewUserGetStopWatchesParamsWithContext(ctx context.Context) *UserGetStopWatchesParams

NewUserGetStopWatchesParamsWithContext creates a new UserGetStopWatchesParams object with the ability to set a context for a request.

func NewUserGetStopWatchesParamsWithHTTPClient

func NewUserGetStopWatchesParamsWithHTTPClient(client *http.Client) *UserGetStopWatchesParams

NewUserGetStopWatchesParamsWithHTTPClient creates a new UserGetStopWatchesParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetStopWatchesParamsWithTimeout

func NewUserGetStopWatchesParamsWithTimeout(timeout time.Duration) *UserGetStopWatchesParams

NewUserGetStopWatchesParamsWithTimeout creates a new UserGetStopWatchesParams object with the ability to set a timeout on a request.

func (*UserGetStopWatchesParams) SetContext

func (o *UserGetStopWatchesParams) SetContext(ctx context.Context)

SetContext adds the context to the user get stop watches params

func (*UserGetStopWatchesParams) SetDefaults

func (o *UserGetStopWatchesParams) SetDefaults()

SetDefaults hydrates default values in the user get stop watches params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetStopWatchesParams) SetHTTPClient

func (o *UserGetStopWatchesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get stop watches params

func (*UserGetStopWatchesParams) SetLimit

func (o *UserGetStopWatchesParams) SetLimit(limit *int64)

SetLimit adds the limit to the user get stop watches params

func (*UserGetStopWatchesParams) SetPage

func (o *UserGetStopWatchesParams) SetPage(page *int64)

SetPage adds the page to the user get stop watches params

func (*UserGetStopWatchesParams) SetTimeout

func (o *UserGetStopWatchesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get stop watches params

func (*UserGetStopWatchesParams) WithContext

WithContext adds the context to the user get stop watches params

func (*UserGetStopWatchesParams) WithDefaults

WithDefaults hydrates default values in the user get stop watches params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetStopWatchesParams) WithHTTPClient

func (o *UserGetStopWatchesParams) WithHTTPClient(client *http.Client) *UserGetStopWatchesParams

WithHTTPClient adds the HTTPClient to the user get stop watches params

func (*UserGetStopWatchesParams) WithLimit

WithLimit adds the limit to the user get stop watches params

func (*UserGetStopWatchesParams) WithPage

WithPage adds the page to the user get stop watches params

func (*UserGetStopWatchesParams) WithTimeout

WithTimeout adds the timeout to the user get stop watches params

func (*UserGetStopWatchesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserGetStopWatchesReader

type UserGetStopWatchesReader struct {
	// contains filtered or unexported fields
}

UserGetStopWatchesReader is a Reader for the UserGetStopWatches structure.

func (*UserGetStopWatchesReader) ReadResponse

func (o *UserGetStopWatchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserGetTokensForbidden

type UserGetTokensForbidden struct {
	Message string
	URL     string
}

UserGetTokensForbidden describes a response with status code 403, with default header values.

APIForbiddenError is a forbidden error response

func NewUserGetTokensForbidden

func NewUserGetTokensForbidden() *UserGetTokensForbidden

NewUserGetTokensForbidden creates a UserGetTokensForbidden with default headers values

func (*UserGetTokensForbidden) Code

func (o *UserGetTokensForbidden) Code() int

Code gets the status code for the user get tokens forbidden response

func (*UserGetTokensForbidden) Error

func (o *UserGetTokensForbidden) Error() string

func (*UserGetTokensForbidden) IsClientError

func (o *UserGetTokensForbidden) IsClientError() bool

IsClientError returns true when this user get tokens forbidden response has a 4xx status code

func (*UserGetTokensForbidden) IsCode

func (o *UserGetTokensForbidden) IsCode(code int) bool

IsCode returns true when this user get tokens forbidden response a status code equal to that given

func (*UserGetTokensForbidden) IsRedirect

func (o *UserGetTokensForbidden) IsRedirect() bool

IsRedirect returns true when this user get tokens forbidden response has a 3xx status code

func (*UserGetTokensForbidden) IsServerError

func (o *UserGetTokensForbidden) IsServerError() bool

IsServerError returns true when this user get tokens forbidden response has a 5xx status code

func (*UserGetTokensForbidden) IsSuccess

func (o *UserGetTokensForbidden) IsSuccess() bool

IsSuccess returns true when this user get tokens forbidden response has a 2xx status code

func (*UserGetTokensForbidden) String

func (o *UserGetTokensForbidden) String() string

type UserGetTokensOK

type UserGetTokensOK struct {
	Payload []*models.AccessToken
}

UserGetTokensOK describes a response with status code 200, with default header values.

AccessTokenList represents a list of API access token.

func NewUserGetTokensOK

func NewUserGetTokensOK() *UserGetTokensOK

NewUserGetTokensOK creates a UserGetTokensOK with default headers values

func (*UserGetTokensOK) Code

func (o *UserGetTokensOK) Code() int

Code gets the status code for the user get tokens o k response

func (*UserGetTokensOK) Error

func (o *UserGetTokensOK) Error() string

func (*UserGetTokensOK) GetPayload

func (o *UserGetTokensOK) GetPayload() []*models.AccessToken

func (*UserGetTokensOK) IsClientError

func (o *UserGetTokensOK) IsClientError() bool

IsClientError returns true when this user get tokens o k response has a 4xx status code

func (*UserGetTokensOK) IsCode

func (o *UserGetTokensOK) IsCode(code int) bool

IsCode returns true when this user get tokens o k response a status code equal to that given

func (*UserGetTokensOK) IsRedirect

func (o *UserGetTokensOK) IsRedirect() bool

IsRedirect returns true when this user get tokens o k response has a 3xx status code

func (*UserGetTokensOK) IsServerError

func (o *UserGetTokensOK) IsServerError() bool

IsServerError returns true when this user get tokens o k response has a 5xx status code

func (*UserGetTokensOK) IsSuccess

func (o *UserGetTokensOK) IsSuccess() bool

IsSuccess returns true when this user get tokens o k response has a 2xx status code

func (*UserGetTokensOK) String

func (o *UserGetTokensOK) String() string

type UserGetTokensParams

type UserGetTokensParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserGetTokensParams contains all the parameters to send to the API endpoint

for the user get tokens operation.

Typically these are written to a http.Request.

func NewUserGetTokensParams

func NewUserGetTokensParams() *UserGetTokensParams

NewUserGetTokensParams creates a new UserGetTokensParams 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 NewUserGetTokensParamsWithContext

func NewUserGetTokensParamsWithContext(ctx context.Context) *UserGetTokensParams

NewUserGetTokensParamsWithContext creates a new UserGetTokensParams object with the ability to set a context for a request.

func NewUserGetTokensParamsWithHTTPClient

func NewUserGetTokensParamsWithHTTPClient(client *http.Client) *UserGetTokensParams

NewUserGetTokensParamsWithHTTPClient creates a new UserGetTokensParams object with the ability to set a custom HTTPClient for a request.

func NewUserGetTokensParamsWithTimeout

func NewUserGetTokensParamsWithTimeout(timeout time.Duration) *UserGetTokensParams

NewUserGetTokensParamsWithTimeout creates a new UserGetTokensParams object with the ability to set a timeout on a request.

func (*UserGetTokensParams) SetContext

func (o *UserGetTokensParams) SetContext(ctx context.Context)

SetContext adds the context to the user get tokens params

func (*UserGetTokensParams) SetDefaults

func (o *UserGetTokensParams) SetDefaults()

SetDefaults hydrates default values in the user get tokens params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetTokensParams) SetHTTPClient

func (o *UserGetTokensParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user get tokens params

func (*UserGetTokensParams) SetLimit

func (o *UserGetTokensParams) SetLimit(limit *int64)

SetLimit adds the limit to the user get tokens params

func (*UserGetTokensParams) SetPage

func (o *UserGetTokensParams) SetPage(page *int64)

SetPage adds the page to the user get tokens params

func (*UserGetTokensParams) SetTimeout

func (o *UserGetTokensParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user get tokens params

func (*UserGetTokensParams) SetUsername

func (o *UserGetTokensParams) SetUsername(username string)

SetUsername adds the username to the user get tokens params

func (*UserGetTokensParams) WithContext

WithContext adds the context to the user get tokens params

func (*UserGetTokensParams) WithDefaults

func (o *UserGetTokensParams) WithDefaults() *UserGetTokensParams

WithDefaults hydrates default values in the user get tokens params (not the query body).

All values with no default are reset to their zero value.

func (*UserGetTokensParams) WithHTTPClient

func (o *UserGetTokensParams) WithHTTPClient(client *http.Client) *UserGetTokensParams

WithHTTPClient adds the HTTPClient to the user get tokens params

func (*UserGetTokensParams) WithLimit

func (o *UserGetTokensParams) WithLimit(limit *int64) *UserGetTokensParams

WithLimit adds the limit to the user get tokens params

func (*UserGetTokensParams) WithPage

func (o *UserGetTokensParams) WithPage(page *int64) *UserGetTokensParams

WithPage adds the page to the user get tokens params

func (*UserGetTokensParams) WithTimeout

func (o *UserGetTokensParams) WithTimeout(timeout time.Duration) *UserGetTokensParams

WithTimeout adds the timeout to the user get tokens params

func (*UserGetTokensParams) WithUsername

func (o *UserGetTokensParams) WithUsername(username string) *UserGetTokensParams

WithUsername adds the username to the user get tokens params

func (*UserGetTokensParams) WriteToRequest

func (o *UserGetTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserGetTokensReader

type UserGetTokensReader struct {
	// contains filtered or unexported fields
}

UserGetTokensReader is a Reader for the UserGetTokens structure.

func (*UserGetTokensReader) ReadResponse

func (o *UserGetTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListActivityFeedsNotFound

type UserListActivityFeedsNotFound struct {
}

UserListActivityFeedsNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListActivityFeedsNotFound

func NewUserListActivityFeedsNotFound() *UserListActivityFeedsNotFound

NewUserListActivityFeedsNotFound creates a UserListActivityFeedsNotFound with default headers values

func (*UserListActivityFeedsNotFound) Code

Code gets the status code for the user list activity feeds not found response

func (*UserListActivityFeedsNotFound) Error

func (*UserListActivityFeedsNotFound) IsClientError

func (o *UserListActivityFeedsNotFound) IsClientError() bool

IsClientError returns true when this user list activity feeds not found response has a 4xx status code

func (*UserListActivityFeedsNotFound) IsCode

func (o *UserListActivityFeedsNotFound) IsCode(code int) bool

IsCode returns true when this user list activity feeds not found response a status code equal to that given

func (*UserListActivityFeedsNotFound) IsRedirect

func (o *UserListActivityFeedsNotFound) IsRedirect() bool

IsRedirect returns true when this user list activity feeds not found response has a 3xx status code

func (*UserListActivityFeedsNotFound) IsServerError

func (o *UserListActivityFeedsNotFound) IsServerError() bool

IsServerError returns true when this user list activity feeds not found response has a 5xx status code

func (*UserListActivityFeedsNotFound) IsSuccess

func (o *UserListActivityFeedsNotFound) IsSuccess() bool

IsSuccess returns true when this user list activity feeds not found response has a 2xx status code

func (*UserListActivityFeedsNotFound) String

type UserListActivityFeedsOK

type UserListActivityFeedsOK struct {
	Payload []*models.Activity
}

UserListActivityFeedsOK describes a response with status code 200, with default header values.

ActivityFeedsList

func NewUserListActivityFeedsOK

func NewUserListActivityFeedsOK() *UserListActivityFeedsOK

NewUserListActivityFeedsOK creates a UserListActivityFeedsOK with default headers values

func (*UserListActivityFeedsOK) Code

func (o *UserListActivityFeedsOK) Code() int

Code gets the status code for the user list activity feeds o k response

func (*UserListActivityFeedsOK) Error

func (o *UserListActivityFeedsOK) Error() string

func (*UserListActivityFeedsOK) GetPayload

func (o *UserListActivityFeedsOK) GetPayload() []*models.Activity

func (*UserListActivityFeedsOK) IsClientError

func (o *UserListActivityFeedsOK) IsClientError() bool

IsClientError returns true when this user list activity feeds o k response has a 4xx status code

func (*UserListActivityFeedsOK) IsCode

func (o *UserListActivityFeedsOK) IsCode(code int) bool

IsCode returns true when this user list activity feeds o k response a status code equal to that given

func (*UserListActivityFeedsOK) IsRedirect

func (o *UserListActivityFeedsOK) IsRedirect() bool

IsRedirect returns true when this user list activity feeds o k response has a 3xx status code

func (*UserListActivityFeedsOK) IsServerError

func (o *UserListActivityFeedsOK) IsServerError() bool

IsServerError returns true when this user list activity feeds o k response has a 5xx status code

func (*UserListActivityFeedsOK) IsSuccess

func (o *UserListActivityFeedsOK) IsSuccess() bool

IsSuccess returns true when this user list activity feeds o k response has a 2xx status code

func (*UserListActivityFeedsOK) String

func (o *UserListActivityFeedsOK) String() string

type UserListActivityFeedsParams

type UserListActivityFeedsParams struct {

	/* Date.

	   the date of the activities to be found

	   Format: date
	*/
	Date *strfmt.Date

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* OnlyPerformedBy.

	   if true, only show actions performed by the requested user
	*/
	OnlyPerformedBy *bool

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListActivityFeedsParams contains all the parameters to send to the API endpoint

for the user list activity feeds operation.

Typically these are written to a http.Request.

func NewUserListActivityFeedsParams

func NewUserListActivityFeedsParams() *UserListActivityFeedsParams

NewUserListActivityFeedsParams creates a new UserListActivityFeedsParams 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 NewUserListActivityFeedsParamsWithContext

func NewUserListActivityFeedsParamsWithContext(ctx context.Context) *UserListActivityFeedsParams

NewUserListActivityFeedsParamsWithContext creates a new UserListActivityFeedsParams object with the ability to set a context for a request.

func NewUserListActivityFeedsParamsWithHTTPClient

func NewUserListActivityFeedsParamsWithHTTPClient(client *http.Client) *UserListActivityFeedsParams

NewUserListActivityFeedsParamsWithHTTPClient creates a new UserListActivityFeedsParams object with the ability to set a custom HTTPClient for a request.

func NewUserListActivityFeedsParamsWithTimeout

func NewUserListActivityFeedsParamsWithTimeout(timeout time.Duration) *UserListActivityFeedsParams

NewUserListActivityFeedsParamsWithTimeout creates a new UserListActivityFeedsParams object with the ability to set a timeout on a request.

func (*UserListActivityFeedsParams) SetContext

func (o *UserListActivityFeedsParams) SetContext(ctx context.Context)

SetContext adds the context to the user list activity feeds params

func (*UserListActivityFeedsParams) SetDate

func (o *UserListActivityFeedsParams) SetDate(date *strfmt.Date)

SetDate adds the date to the user list activity feeds params

func (*UserListActivityFeedsParams) SetDefaults

func (o *UserListActivityFeedsParams) SetDefaults()

SetDefaults hydrates default values in the user list activity feeds params (not the query body).

All values with no default are reset to their zero value.

func (*UserListActivityFeedsParams) SetHTTPClient

func (o *UserListActivityFeedsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list activity feeds params

func (*UserListActivityFeedsParams) SetLimit

func (o *UserListActivityFeedsParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list activity feeds params

func (*UserListActivityFeedsParams) SetOnlyPerformedBy

func (o *UserListActivityFeedsParams) SetOnlyPerformedBy(onlyPerformedBy *bool)

SetOnlyPerformedBy adds the onlyPerformedBy to the user list activity feeds params

func (*UserListActivityFeedsParams) SetPage

func (o *UserListActivityFeedsParams) SetPage(page *int64)

SetPage adds the page to the user list activity feeds params

func (*UserListActivityFeedsParams) SetTimeout

func (o *UserListActivityFeedsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list activity feeds params

func (*UserListActivityFeedsParams) SetUsername

func (o *UserListActivityFeedsParams) SetUsername(username string)

SetUsername adds the username to the user list activity feeds params

func (*UserListActivityFeedsParams) WithContext

WithContext adds the context to the user list activity feeds params

func (*UserListActivityFeedsParams) WithDate

WithDate adds the date to the user list activity feeds params

func (*UserListActivityFeedsParams) WithDefaults

WithDefaults hydrates default values in the user list activity feeds params (not the query body).

All values with no default are reset to their zero value.

func (*UserListActivityFeedsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user list activity feeds params

func (*UserListActivityFeedsParams) WithLimit

WithLimit adds the limit to the user list activity feeds params

func (*UserListActivityFeedsParams) WithOnlyPerformedBy

func (o *UserListActivityFeedsParams) WithOnlyPerformedBy(onlyPerformedBy *bool) *UserListActivityFeedsParams

WithOnlyPerformedBy adds the onlyPerformedBy to the user list activity feeds params

func (*UserListActivityFeedsParams) WithPage

WithPage adds the page to the user list activity feeds params

func (*UserListActivityFeedsParams) WithTimeout

WithTimeout adds the timeout to the user list activity feeds params

func (*UserListActivityFeedsParams) WithUsername

WithUsername adds the username to the user list activity feeds params

func (*UserListActivityFeedsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserListActivityFeedsReader

type UserListActivityFeedsReader struct {
	// contains filtered or unexported fields
}

UserListActivityFeedsReader is a Reader for the UserListActivityFeeds structure.

func (*UserListActivityFeedsReader) ReadResponse

func (o *UserListActivityFeedsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListBlocksOK

type UserListBlocksOK struct {
	Payload []*models.User
}

UserListBlocksOK describes a response with status code 200, with default header values.

UserList

func NewUserListBlocksOK

func NewUserListBlocksOK() *UserListBlocksOK

NewUserListBlocksOK creates a UserListBlocksOK with default headers values

func (*UserListBlocksOK) Code

func (o *UserListBlocksOK) Code() int

Code gets the status code for the user list blocks o k response

func (*UserListBlocksOK) Error

func (o *UserListBlocksOK) Error() string

func (*UserListBlocksOK) GetPayload

func (o *UserListBlocksOK) GetPayload() []*models.User

func (*UserListBlocksOK) IsClientError

func (o *UserListBlocksOK) IsClientError() bool

IsClientError returns true when this user list blocks o k response has a 4xx status code

func (*UserListBlocksOK) IsCode

func (o *UserListBlocksOK) IsCode(code int) bool

IsCode returns true when this user list blocks o k response a status code equal to that given

func (*UserListBlocksOK) IsRedirect

func (o *UserListBlocksOK) IsRedirect() bool

IsRedirect returns true when this user list blocks o k response has a 3xx status code

func (*UserListBlocksOK) IsServerError

func (o *UserListBlocksOK) IsServerError() bool

IsServerError returns true when this user list blocks o k response has a 5xx status code

func (*UserListBlocksOK) IsSuccess

func (o *UserListBlocksOK) IsSuccess() bool

IsSuccess returns true when this user list blocks o k response has a 2xx status code

func (*UserListBlocksOK) String

func (o *UserListBlocksOK) String() string

type UserListBlocksParams

type UserListBlocksParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListBlocksParams contains all the parameters to send to the API endpoint

for the user list blocks operation.

Typically these are written to a http.Request.

func NewUserListBlocksParams

func NewUserListBlocksParams() *UserListBlocksParams

NewUserListBlocksParams creates a new UserListBlocksParams 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 NewUserListBlocksParamsWithContext

func NewUserListBlocksParamsWithContext(ctx context.Context) *UserListBlocksParams

NewUserListBlocksParamsWithContext creates a new UserListBlocksParams object with the ability to set a context for a request.

func NewUserListBlocksParamsWithHTTPClient

func NewUserListBlocksParamsWithHTTPClient(client *http.Client) *UserListBlocksParams

NewUserListBlocksParamsWithHTTPClient creates a new UserListBlocksParams object with the ability to set a custom HTTPClient for a request.

func NewUserListBlocksParamsWithTimeout

func NewUserListBlocksParamsWithTimeout(timeout time.Duration) *UserListBlocksParams

NewUserListBlocksParamsWithTimeout creates a new UserListBlocksParams object with the ability to set a timeout on a request.

func (*UserListBlocksParams) SetContext

func (o *UserListBlocksParams) SetContext(ctx context.Context)

SetContext adds the context to the user list blocks params

func (*UserListBlocksParams) SetDefaults

func (o *UserListBlocksParams) SetDefaults()

SetDefaults hydrates default values in the user list blocks params (not the query body).

All values with no default are reset to their zero value.

func (*UserListBlocksParams) SetHTTPClient

func (o *UserListBlocksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list blocks params

func (*UserListBlocksParams) SetLimit

func (o *UserListBlocksParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list blocks params

func (*UserListBlocksParams) SetPage

func (o *UserListBlocksParams) SetPage(page *int64)

SetPage adds the page to the user list blocks params

func (*UserListBlocksParams) SetTimeout

func (o *UserListBlocksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list blocks params

func (*UserListBlocksParams) WithContext

WithContext adds the context to the user list blocks params

func (*UserListBlocksParams) WithDefaults

func (o *UserListBlocksParams) WithDefaults() *UserListBlocksParams

WithDefaults hydrates default values in the user list blocks params (not the query body).

All values with no default are reset to their zero value.

func (*UserListBlocksParams) WithHTTPClient

func (o *UserListBlocksParams) WithHTTPClient(client *http.Client) *UserListBlocksParams

WithHTTPClient adds the HTTPClient to the user list blocks params

func (*UserListBlocksParams) WithLimit

func (o *UserListBlocksParams) WithLimit(limit *int64) *UserListBlocksParams

WithLimit adds the limit to the user list blocks params

func (*UserListBlocksParams) WithPage

func (o *UserListBlocksParams) WithPage(page *int64) *UserListBlocksParams

WithPage adds the page to the user list blocks params

func (*UserListBlocksParams) WithTimeout

func (o *UserListBlocksParams) WithTimeout(timeout time.Duration) *UserListBlocksParams

WithTimeout adds the timeout to the user list blocks params

func (*UserListBlocksParams) WriteToRequest

func (o *UserListBlocksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListBlocksReader

type UserListBlocksReader struct {
	// contains filtered or unexported fields
}

UserListBlocksReader is a Reader for the UserListBlocks structure.

func (*UserListBlocksReader) ReadResponse

func (o *UserListBlocksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListEmailsOK

type UserListEmailsOK struct {
	Payload []*models.Email
}

UserListEmailsOK describes a response with status code 200, with default header values.

EmailList

func NewUserListEmailsOK

func NewUserListEmailsOK() *UserListEmailsOK

NewUserListEmailsOK creates a UserListEmailsOK with default headers values

func (*UserListEmailsOK) Code

func (o *UserListEmailsOK) Code() int

Code gets the status code for the user list emails o k response

func (*UserListEmailsOK) Error

func (o *UserListEmailsOK) Error() string

func (*UserListEmailsOK) GetPayload

func (o *UserListEmailsOK) GetPayload() []*models.Email

func (*UserListEmailsOK) IsClientError

func (o *UserListEmailsOK) IsClientError() bool

IsClientError returns true when this user list emails o k response has a 4xx status code

func (*UserListEmailsOK) IsCode

func (o *UserListEmailsOK) IsCode(code int) bool

IsCode returns true when this user list emails o k response a status code equal to that given

func (*UserListEmailsOK) IsRedirect

func (o *UserListEmailsOK) IsRedirect() bool

IsRedirect returns true when this user list emails o k response has a 3xx status code

func (*UserListEmailsOK) IsServerError

func (o *UserListEmailsOK) IsServerError() bool

IsServerError returns true when this user list emails o k response has a 5xx status code

func (*UserListEmailsOK) IsSuccess

func (o *UserListEmailsOK) IsSuccess() bool

IsSuccess returns true when this user list emails o k response has a 2xx status code

func (*UserListEmailsOK) String

func (o *UserListEmailsOK) String() string

type UserListEmailsParams

type UserListEmailsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListEmailsParams contains all the parameters to send to the API endpoint

for the user list emails operation.

Typically these are written to a http.Request.

func NewUserListEmailsParams

func NewUserListEmailsParams() *UserListEmailsParams

NewUserListEmailsParams creates a new UserListEmailsParams 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 NewUserListEmailsParamsWithContext

func NewUserListEmailsParamsWithContext(ctx context.Context) *UserListEmailsParams

NewUserListEmailsParamsWithContext creates a new UserListEmailsParams object with the ability to set a context for a request.

func NewUserListEmailsParamsWithHTTPClient

func NewUserListEmailsParamsWithHTTPClient(client *http.Client) *UserListEmailsParams

NewUserListEmailsParamsWithHTTPClient creates a new UserListEmailsParams object with the ability to set a custom HTTPClient for a request.

func NewUserListEmailsParamsWithTimeout

func NewUserListEmailsParamsWithTimeout(timeout time.Duration) *UserListEmailsParams

NewUserListEmailsParamsWithTimeout creates a new UserListEmailsParams object with the ability to set a timeout on a request.

func (*UserListEmailsParams) SetContext

func (o *UserListEmailsParams) SetContext(ctx context.Context)

SetContext adds the context to the user list emails params

func (*UserListEmailsParams) SetDefaults

func (o *UserListEmailsParams) SetDefaults()

SetDefaults hydrates default values in the user list emails params (not the query body).

All values with no default are reset to their zero value.

func (*UserListEmailsParams) SetHTTPClient

func (o *UserListEmailsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list emails params

func (*UserListEmailsParams) SetTimeout

func (o *UserListEmailsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list emails params

func (*UserListEmailsParams) WithContext

WithContext adds the context to the user list emails params

func (*UserListEmailsParams) WithDefaults

func (o *UserListEmailsParams) WithDefaults() *UserListEmailsParams

WithDefaults hydrates default values in the user list emails params (not the query body).

All values with no default are reset to their zero value.

func (*UserListEmailsParams) WithHTTPClient

func (o *UserListEmailsParams) WithHTTPClient(client *http.Client) *UserListEmailsParams

WithHTTPClient adds the HTTPClient to the user list emails params

func (*UserListEmailsParams) WithTimeout

func (o *UserListEmailsParams) WithTimeout(timeout time.Duration) *UserListEmailsParams

WithTimeout adds the timeout to the user list emails params

func (*UserListEmailsParams) WriteToRequest

func (o *UserListEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListEmailsReader

type UserListEmailsReader struct {
	// contains filtered or unexported fields
}

UserListEmailsReader is a Reader for the UserListEmails structure.

func (*UserListEmailsReader) ReadResponse

func (o *UserListEmailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListFollowersNotFound

type UserListFollowersNotFound struct {
}

UserListFollowersNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListFollowersNotFound

func NewUserListFollowersNotFound() *UserListFollowersNotFound

NewUserListFollowersNotFound creates a UserListFollowersNotFound with default headers values

func (*UserListFollowersNotFound) Code

func (o *UserListFollowersNotFound) Code() int

Code gets the status code for the user list followers not found response

func (*UserListFollowersNotFound) Error

func (o *UserListFollowersNotFound) Error() string

func (*UserListFollowersNotFound) IsClientError

func (o *UserListFollowersNotFound) IsClientError() bool

IsClientError returns true when this user list followers not found response has a 4xx status code

func (*UserListFollowersNotFound) IsCode

func (o *UserListFollowersNotFound) IsCode(code int) bool

IsCode returns true when this user list followers not found response a status code equal to that given

func (*UserListFollowersNotFound) IsRedirect

func (o *UserListFollowersNotFound) IsRedirect() bool

IsRedirect returns true when this user list followers not found response has a 3xx status code

func (*UserListFollowersNotFound) IsServerError

func (o *UserListFollowersNotFound) IsServerError() bool

IsServerError returns true when this user list followers not found response has a 5xx status code

func (*UserListFollowersNotFound) IsSuccess

func (o *UserListFollowersNotFound) IsSuccess() bool

IsSuccess returns true when this user list followers not found response has a 2xx status code

func (*UserListFollowersNotFound) String

func (o *UserListFollowersNotFound) String() string

type UserListFollowersOK

type UserListFollowersOK struct {
	Payload []*models.User
}

UserListFollowersOK describes a response with status code 200, with default header values.

UserList

func NewUserListFollowersOK

func NewUserListFollowersOK() *UserListFollowersOK

NewUserListFollowersOK creates a UserListFollowersOK with default headers values

func (*UserListFollowersOK) Code

func (o *UserListFollowersOK) Code() int

Code gets the status code for the user list followers o k response

func (*UserListFollowersOK) Error

func (o *UserListFollowersOK) Error() string

func (*UserListFollowersOK) GetPayload

func (o *UserListFollowersOK) GetPayload() []*models.User

func (*UserListFollowersOK) IsClientError

func (o *UserListFollowersOK) IsClientError() bool

IsClientError returns true when this user list followers o k response has a 4xx status code

func (*UserListFollowersOK) IsCode

func (o *UserListFollowersOK) IsCode(code int) bool

IsCode returns true when this user list followers o k response a status code equal to that given

func (*UserListFollowersOK) IsRedirect

func (o *UserListFollowersOK) IsRedirect() bool

IsRedirect returns true when this user list followers o k response has a 3xx status code

func (*UserListFollowersOK) IsServerError

func (o *UserListFollowersOK) IsServerError() bool

IsServerError returns true when this user list followers o k response has a 5xx status code

func (*UserListFollowersOK) IsSuccess

func (o *UserListFollowersOK) IsSuccess() bool

IsSuccess returns true when this user list followers o k response has a 2xx status code

func (*UserListFollowersOK) String

func (o *UserListFollowersOK) String() string

type UserListFollowersParams

type UserListFollowersParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListFollowersParams contains all the parameters to send to the API endpoint

for the user list followers operation.

Typically these are written to a http.Request.

func NewUserListFollowersParams

func NewUserListFollowersParams() *UserListFollowersParams

NewUserListFollowersParams creates a new UserListFollowersParams 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 NewUserListFollowersParamsWithContext

func NewUserListFollowersParamsWithContext(ctx context.Context) *UserListFollowersParams

NewUserListFollowersParamsWithContext creates a new UserListFollowersParams object with the ability to set a context for a request.

func NewUserListFollowersParamsWithHTTPClient

func NewUserListFollowersParamsWithHTTPClient(client *http.Client) *UserListFollowersParams

NewUserListFollowersParamsWithHTTPClient creates a new UserListFollowersParams object with the ability to set a custom HTTPClient for a request.

func NewUserListFollowersParamsWithTimeout

func NewUserListFollowersParamsWithTimeout(timeout time.Duration) *UserListFollowersParams

NewUserListFollowersParamsWithTimeout creates a new UserListFollowersParams object with the ability to set a timeout on a request.

func (*UserListFollowersParams) SetContext

func (o *UserListFollowersParams) SetContext(ctx context.Context)

SetContext adds the context to the user list followers params

func (*UserListFollowersParams) SetDefaults

func (o *UserListFollowersParams) SetDefaults()

SetDefaults hydrates default values in the user list followers params (not the query body).

All values with no default are reset to their zero value.

func (*UserListFollowersParams) SetHTTPClient

func (o *UserListFollowersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list followers params

func (*UserListFollowersParams) SetLimit

func (o *UserListFollowersParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list followers params

func (*UserListFollowersParams) SetPage

func (o *UserListFollowersParams) SetPage(page *int64)

SetPage adds the page to the user list followers params

func (*UserListFollowersParams) SetTimeout

func (o *UserListFollowersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list followers params

func (*UserListFollowersParams) SetUsername

func (o *UserListFollowersParams) SetUsername(username string)

SetUsername adds the username to the user list followers params

func (*UserListFollowersParams) WithContext

WithContext adds the context to the user list followers params

func (*UserListFollowersParams) WithDefaults

WithDefaults hydrates default values in the user list followers params (not the query body).

All values with no default are reset to their zero value.

func (*UserListFollowersParams) WithHTTPClient

func (o *UserListFollowersParams) WithHTTPClient(client *http.Client) *UserListFollowersParams

WithHTTPClient adds the HTTPClient to the user list followers params

func (*UserListFollowersParams) WithLimit

WithLimit adds the limit to the user list followers params

func (*UserListFollowersParams) WithPage

WithPage adds the page to the user list followers params

func (*UserListFollowersParams) WithTimeout

WithTimeout adds the timeout to the user list followers params

func (*UserListFollowersParams) WithUsername

func (o *UserListFollowersParams) WithUsername(username string) *UserListFollowersParams

WithUsername adds the username to the user list followers params

func (*UserListFollowersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserListFollowersReader

type UserListFollowersReader struct {
	// contains filtered or unexported fields
}

UserListFollowersReader is a Reader for the UserListFollowers structure.

func (*UserListFollowersReader) ReadResponse

func (o *UserListFollowersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListFollowingNotFound

type UserListFollowingNotFound struct {
}

UserListFollowingNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListFollowingNotFound

func NewUserListFollowingNotFound() *UserListFollowingNotFound

NewUserListFollowingNotFound creates a UserListFollowingNotFound with default headers values

func (*UserListFollowingNotFound) Code

func (o *UserListFollowingNotFound) Code() int

Code gets the status code for the user list following not found response

func (*UserListFollowingNotFound) Error

func (o *UserListFollowingNotFound) Error() string

func (*UserListFollowingNotFound) IsClientError

func (o *UserListFollowingNotFound) IsClientError() bool

IsClientError returns true when this user list following not found response has a 4xx status code

func (*UserListFollowingNotFound) IsCode

func (o *UserListFollowingNotFound) IsCode(code int) bool

IsCode returns true when this user list following not found response a status code equal to that given

func (*UserListFollowingNotFound) IsRedirect

func (o *UserListFollowingNotFound) IsRedirect() bool

IsRedirect returns true when this user list following not found response has a 3xx status code

func (*UserListFollowingNotFound) IsServerError

func (o *UserListFollowingNotFound) IsServerError() bool

IsServerError returns true when this user list following not found response has a 5xx status code

func (*UserListFollowingNotFound) IsSuccess

func (o *UserListFollowingNotFound) IsSuccess() bool

IsSuccess returns true when this user list following not found response has a 2xx status code

func (*UserListFollowingNotFound) String

func (o *UserListFollowingNotFound) String() string

type UserListFollowingOK

type UserListFollowingOK struct {
	Payload []*models.User
}

UserListFollowingOK describes a response with status code 200, with default header values.

UserList

func NewUserListFollowingOK

func NewUserListFollowingOK() *UserListFollowingOK

NewUserListFollowingOK creates a UserListFollowingOK with default headers values

func (*UserListFollowingOK) Code

func (o *UserListFollowingOK) Code() int

Code gets the status code for the user list following o k response

func (*UserListFollowingOK) Error

func (o *UserListFollowingOK) Error() string

func (*UserListFollowingOK) GetPayload

func (o *UserListFollowingOK) GetPayload() []*models.User

func (*UserListFollowingOK) IsClientError

func (o *UserListFollowingOK) IsClientError() bool

IsClientError returns true when this user list following o k response has a 4xx status code

func (*UserListFollowingOK) IsCode

func (o *UserListFollowingOK) IsCode(code int) bool

IsCode returns true when this user list following o k response a status code equal to that given

func (*UserListFollowingOK) IsRedirect

func (o *UserListFollowingOK) IsRedirect() bool

IsRedirect returns true when this user list following o k response has a 3xx status code

func (*UserListFollowingOK) IsServerError

func (o *UserListFollowingOK) IsServerError() bool

IsServerError returns true when this user list following o k response has a 5xx status code

func (*UserListFollowingOK) IsSuccess

func (o *UserListFollowingOK) IsSuccess() bool

IsSuccess returns true when this user list following o k response has a 2xx status code

func (*UserListFollowingOK) String

func (o *UserListFollowingOK) String() string

type UserListFollowingParams

type UserListFollowingParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListFollowingParams contains all the parameters to send to the API endpoint

for the user list following operation.

Typically these are written to a http.Request.

func NewUserListFollowingParams

func NewUserListFollowingParams() *UserListFollowingParams

NewUserListFollowingParams creates a new UserListFollowingParams 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 NewUserListFollowingParamsWithContext

func NewUserListFollowingParamsWithContext(ctx context.Context) *UserListFollowingParams

NewUserListFollowingParamsWithContext creates a new UserListFollowingParams object with the ability to set a context for a request.

func NewUserListFollowingParamsWithHTTPClient

func NewUserListFollowingParamsWithHTTPClient(client *http.Client) *UserListFollowingParams

NewUserListFollowingParamsWithHTTPClient creates a new UserListFollowingParams object with the ability to set a custom HTTPClient for a request.

func NewUserListFollowingParamsWithTimeout

func NewUserListFollowingParamsWithTimeout(timeout time.Duration) *UserListFollowingParams

NewUserListFollowingParamsWithTimeout creates a new UserListFollowingParams object with the ability to set a timeout on a request.

func (*UserListFollowingParams) SetContext

func (o *UserListFollowingParams) SetContext(ctx context.Context)

SetContext adds the context to the user list following params

func (*UserListFollowingParams) SetDefaults

func (o *UserListFollowingParams) SetDefaults()

SetDefaults hydrates default values in the user list following params (not the query body).

All values with no default are reset to their zero value.

func (*UserListFollowingParams) SetHTTPClient

func (o *UserListFollowingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list following params

func (*UserListFollowingParams) SetLimit

func (o *UserListFollowingParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list following params

func (*UserListFollowingParams) SetPage

func (o *UserListFollowingParams) SetPage(page *int64)

SetPage adds the page to the user list following params

func (*UserListFollowingParams) SetTimeout

func (o *UserListFollowingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list following params

func (*UserListFollowingParams) SetUsername

func (o *UserListFollowingParams) SetUsername(username string)

SetUsername adds the username to the user list following params

func (*UserListFollowingParams) WithContext

WithContext adds the context to the user list following params

func (*UserListFollowingParams) WithDefaults

WithDefaults hydrates default values in the user list following params (not the query body).

All values with no default are reset to their zero value.

func (*UserListFollowingParams) WithHTTPClient

func (o *UserListFollowingParams) WithHTTPClient(client *http.Client) *UserListFollowingParams

WithHTTPClient adds the HTTPClient to the user list following params

func (*UserListFollowingParams) WithLimit

WithLimit adds the limit to the user list following params

func (*UserListFollowingParams) WithPage

WithPage adds the page to the user list following params

func (*UserListFollowingParams) WithTimeout

WithTimeout adds the timeout to the user list following params

func (*UserListFollowingParams) WithUsername

func (o *UserListFollowingParams) WithUsername(username string) *UserListFollowingParams

WithUsername adds the username to the user list following params

func (*UserListFollowingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserListFollowingReader

type UserListFollowingReader struct {
	// contains filtered or unexported fields
}

UserListFollowingReader is a Reader for the UserListFollowing structure.

func (*UserListFollowingReader) ReadResponse

func (o *UserListFollowingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListGPGKeysNotFound

type UserListGPGKeysNotFound struct {
}

UserListGPGKeysNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListGPGKeysNotFound

func NewUserListGPGKeysNotFound() *UserListGPGKeysNotFound

NewUserListGPGKeysNotFound creates a UserListGPGKeysNotFound with default headers values

func (*UserListGPGKeysNotFound) Code

func (o *UserListGPGKeysNotFound) Code() int

Code gets the status code for the user list g p g keys not found response

func (*UserListGPGKeysNotFound) Error

func (o *UserListGPGKeysNotFound) Error() string

func (*UserListGPGKeysNotFound) IsClientError

func (o *UserListGPGKeysNotFound) IsClientError() bool

IsClientError returns true when this user list g p g keys not found response has a 4xx status code

func (*UserListGPGKeysNotFound) IsCode

func (o *UserListGPGKeysNotFound) IsCode(code int) bool

IsCode returns true when this user list g p g keys not found response a status code equal to that given

func (*UserListGPGKeysNotFound) IsRedirect

func (o *UserListGPGKeysNotFound) IsRedirect() bool

IsRedirect returns true when this user list g p g keys not found response has a 3xx status code

func (*UserListGPGKeysNotFound) IsServerError

func (o *UserListGPGKeysNotFound) IsServerError() bool

IsServerError returns true when this user list g p g keys not found response has a 5xx status code

func (*UserListGPGKeysNotFound) IsSuccess

func (o *UserListGPGKeysNotFound) IsSuccess() bool

IsSuccess returns true when this user list g p g keys not found response has a 2xx status code

func (*UserListGPGKeysNotFound) String

func (o *UserListGPGKeysNotFound) String() string

type UserListGPGKeysOK

type UserListGPGKeysOK struct {
	Payload []*models.GPGKey
}

UserListGPGKeysOK describes a response with status code 200, with default header values.

GPGKeyList

func NewUserListGPGKeysOK

func NewUserListGPGKeysOK() *UserListGPGKeysOK

NewUserListGPGKeysOK creates a UserListGPGKeysOK with default headers values

func (*UserListGPGKeysOK) Code

func (o *UserListGPGKeysOK) Code() int

Code gets the status code for the user list g p g keys o k response

func (*UserListGPGKeysOK) Error

func (o *UserListGPGKeysOK) Error() string

func (*UserListGPGKeysOK) GetPayload

func (o *UserListGPGKeysOK) GetPayload() []*models.GPGKey

func (*UserListGPGKeysOK) IsClientError

func (o *UserListGPGKeysOK) IsClientError() bool

IsClientError returns true when this user list g p g keys o k response has a 4xx status code

func (*UserListGPGKeysOK) IsCode

func (o *UserListGPGKeysOK) IsCode(code int) bool

IsCode returns true when this user list g p g keys o k response a status code equal to that given

func (*UserListGPGKeysOK) IsRedirect

func (o *UserListGPGKeysOK) IsRedirect() bool

IsRedirect returns true when this user list g p g keys o k response has a 3xx status code

func (*UserListGPGKeysOK) IsServerError

func (o *UserListGPGKeysOK) IsServerError() bool

IsServerError returns true when this user list g p g keys o k response has a 5xx status code

func (*UserListGPGKeysOK) IsSuccess

func (o *UserListGPGKeysOK) IsSuccess() bool

IsSuccess returns true when this user list g p g keys o k response has a 2xx status code

func (*UserListGPGKeysOK) String

func (o *UserListGPGKeysOK) String() string

type UserListGPGKeysParams

type UserListGPGKeysParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListGPGKeysParams contains all the parameters to send to the API endpoint

for the user list g p g keys operation.

Typically these are written to a http.Request.

func NewUserListGPGKeysParams

func NewUserListGPGKeysParams() *UserListGPGKeysParams

NewUserListGPGKeysParams creates a new UserListGPGKeysParams 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 NewUserListGPGKeysParamsWithContext

func NewUserListGPGKeysParamsWithContext(ctx context.Context) *UserListGPGKeysParams

NewUserListGPGKeysParamsWithContext creates a new UserListGPGKeysParams object with the ability to set a context for a request.

func NewUserListGPGKeysParamsWithHTTPClient

func NewUserListGPGKeysParamsWithHTTPClient(client *http.Client) *UserListGPGKeysParams

NewUserListGPGKeysParamsWithHTTPClient creates a new UserListGPGKeysParams object with the ability to set a custom HTTPClient for a request.

func NewUserListGPGKeysParamsWithTimeout

func NewUserListGPGKeysParamsWithTimeout(timeout time.Duration) *UserListGPGKeysParams

NewUserListGPGKeysParamsWithTimeout creates a new UserListGPGKeysParams object with the ability to set a timeout on a request.

func (*UserListGPGKeysParams) SetContext

func (o *UserListGPGKeysParams) SetContext(ctx context.Context)

SetContext adds the context to the user list g p g keys params

func (*UserListGPGKeysParams) SetDefaults

func (o *UserListGPGKeysParams) SetDefaults()

SetDefaults hydrates default values in the user list g p g keys params (not the query body).

All values with no default are reset to their zero value.

func (*UserListGPGKeysParams) SetHTTPClient

func (o *UserListGPGKeysParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list g p g keys params

func (*UserListGPGKeysParams) SetLimit

func (o *UserListGPGKeysParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list g p g keys params

func (*UserListGPGKeysParams) SetPage

func (o *UserListGPGKeysParams) SetPage(page *int64)

SetPage adds the page to the user list g p g keys params

func (*UserListGPGKeysParams) SetTimeout

func (o *UserListGPGKeysParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list g p g keys params

func (*UserListGPGKeysParams) SetUsername

func (o *UserListGPGKeysParams) SetUsername(username string)

SetUsername adds the username to the user list g p g keys params

func (*UserListGPGKeysParams) WithContext

WithContext adds the context to the user list g p g keys params

func (*UserListGPGKeysParams) WithDefaults

func (o *UserListGPGKeysParams) WithDefaults() *UserListGPGKeysParams

WithDefaults hydrates default values in the user list g p g keys params (not the query body).

All values with no default are reset to their zero value.

func (*UserListGPGKeysParams) WithHTTPClient

func (o *UserListGPGKeysParams) WithHTTPClient(client *http.Client) *UserListGPGKeysParams

WithHTTPClient adds the HTTPClient to the user list g p g keys params

func (*UserListGPGKeysParams) WithLimit

func (o *UserListGPGKeysParams) WithLimit(limit *int64) *UserListGPGKeysParams

WithLimit adds the limit to the user list g p g keys params

func (*UserListGPGKeysParams) WithPage

WithPage adds the page to the user list g p g keys params

func (*UserListGPGKeysParams) WithTimeout

func (o *UserListGPGKeysParams) WithTimeout(timeout time.Duration) *UserListGPGKeysParams

WithTimeout adds the timeout to the user list g p g keys params

func (*UserListGPGKeysParams) WithUsername

func (o *UserListGPGKeysParams) WithUsername(username string) *UserListGPGKeysParams

WithUsername adds the username to the user list g p g keys params

func (*UserListGPGKeysParams) WriteToRequest

func (o *UserListGPGKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListGPGKeysReader

type UserListGPGKeysReader struct {
	// contains filtered or unexported fields
}

UserListGPGKeysReader is a Reader for the UserListGPGKeys structure.

func (*UserListGPGKeysReader) ReadResponse

func (o *UserListGPGKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListHooksOK

type UserListHooksOK struct {
	Payload []*models.Hook
}

UserListHooksOK describes a response with status code 200, with default header values.

HookList

func NewUserListHooksOK

func NewUserListHooksOK() *UserListHooksOK

NewUserListHooksOK creates a UserListHooksOK with default headers values

func (*UserListHooksOK) Code

func (o *UserListHooksOK) Code() int

Code gets the status code for the user list hooks o k response

func (*UserListHooksOK) Error

func (o *UserListHooksOK) Error() string

func (*UserListHooksOK) GetPayload

func (o *UserListHooksOK) GetPayload() []*models.Hook

func (*UserListHooksOK) IsClientError

func (o *UserListHooksOK) IsClientError() bool

IsClientError returns true when this user list hooks o k response has a 4xx status code

func (*UserListHooksOK) IsCode

func (o *UserListHooksOK) IsCode(code int) bool

IsCode returns true when this user list hooks o k response a status code equal to that given

func (*UserListHooksOK) IsRedirect

func (o *UserListHooksOK) IsRedirect() bool

IsRedirect returns true when this user list hooks o k response has a 3xx status code

func (*UserListHooksOK) IsServerError

func (o *UserListHooksOK) IsServerError() bool

IsServerError returns true when this user list hooks o k response has a 5xx status code

func (*UserListHooksOK) IsSuccess

func (o *UserListHooksOK) IsSuccess() bool

IsSuccess returns true when this user list hooks o k response has a 2xx status code

func (*UserListHooksOK) String

func (o *UserListHooksOK) String() string

type UserListHooksParams

type UserListHooksParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListHooksParams contains all the parameters to send to the API endpoint

for the user list hooks operation.

Typically these are written to a http.Request.

func NewUserListHooksParams

func NewUserListHooksParams() *UserListHooksParams

NewUserListHooksParams creates a new UserListHooksParams 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 NewUserListHooksParamsWithContext

func NewUserListHooksParamsWithContext(ctx context.Context) *UserListHooksParams

NewUserListHooksParamsWithContext creates a new UserListHooksParams object with the ability to set a context for a request.

func NewUserListHooksParamsWithHTTPClient

func NewUserListHooksParamsWithHTTPClient(client *http.Client) *UserListHooksParams

NewUserListHooksParamsWithHTTPClient creates a new UserListHooksParams object with the ability to set a custom HTTPClient for a request.

func NewUserListHooksParamsWithTimeout

func NewUserListHooksParamsWithTimeout(timeout time.Duration) *UserListHooksParams

NewUserListHooksParamsWithTimeout creates a new UserListHooksParams object with the ability to set a timeout on a request.

func (*UserListHooksParams) SetContext

func (o *UserListHooksParams) SetContext(ctx context.Context)

SetContext adds the context to the user list hooks params

func (*UserListHooksParams) SetDefaults

func (o *UserListHooksParams) SetDefaults()

SetDefaults hydrates default values in the user list hooks params (not the query body).

All values with no default are reset to their zero value.

func (*UserListHooksParams) SetHTTPClient

func (o *UserListHooksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list hooks params

func (*UserListHooksParams) SetLimit

func (o *UserListHooksParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list hooks params

func (*UserListHooksParams) SetPage

func (o *UserListHooksParams) SetPage(page *int64)

SetPage adds the page to the user list hooks params

func (*UserListHooksParams) SetTimeout

func (o *UserListHooksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list hooks params

func (*UserListHooksParams) WithContext

WithContext adds the context to the user list hooks params

func (*UserListHooksParams) WithDefaults

func (o *UserListHooksParams) WithDefaults() *UserListHooksParams

WithDefaults hydrates default values in the user list hooks params (not the query body).

All values with no default are reset to their zero value.

func (*UserListHooksParams) WithHTTPClient

func (o *UserListHooksParams) WithHTTPClient(client *http.Client) *UserListHooksParams

WithHTTPClient adds the HTTPClient to the user list hooks params

func (*UserListHooksParams) WithLimit

func (o *UserListHooksParams) WithLimit(limit *int64) *UserListHooksParams

WithLimit adds the limit to the user list hooks params

func (*UserListHooksParams) WithPage

func (o *UserListHooksParams) WithPage(page *int64) *UserListHooksParams

WithPage adds the page to the user list hooks params

func (*UserListHooksParams) WithTimeout

func (o *UserListHooksParams) WithTimeout(timeout time.Duration) *UserListHooksParams

WithTimeout adds the timeout to the user list hooks params

func (*UserListHooksParams) WriteToRequest

func (o *UserListHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListHooksReader

type UserListHooksReader struct {
	// contains filtered or unexported fields
}

UserListHooksReader is a Reader for the UserListHooks structure.

func (*UserListHooksReader) ReadResponse

func (o *UserListHooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListKeysNotFound

type UserListKeysNotFound struct {
}

UserListKeysNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListKeysNotFound

func NewUserListKeysNotFound() *UserListKeysNotFound

NewUserListKeysNotFound creates a UserListKeysNotFound with default headers values

func (*UserListKeysNotFound) Code

func (o *UserListKeysNotFound) Code() int

Code gets the status code for the user list keys not found response

func (*UserListKeysNotFound) Error

func (o *UserListKeysNotFound) Error() string

func (*UserListKeysNotFound) IsClientError

func (o *UserListKeysNotFound) IsClientError() bool

IsClientError returns true when this user list keys not found response has a 4xx status code

func (*UserListKeysNotFound) IsCode

func (o *UserListKeysNotFound) IsCode(code int) bool

IsCode returns true when this user list keys not found response a status code equal to that given

func (*UserListKeysNotFound) IsRedirect

func (o *UserListKeysNotFound) IsRedirect() bool

IsRedirect returns true when this user list keys not found response has a 3xx status code

func (*UserListKeysNotFound) IsServerError

func (o *UserListKeysNotFound) IsServerError() bool

IsServerError returns true when this user list keys not found response has a 5xx status code

func (*UserListKeysNotFound) IsSuccess

func (o *UserListKeysNotFound) IsSuccess() bool

IsSuccess returns true when this user list keys not found response has a 2xx status code

func (*UserListKeysNotFound) String

func (o *UserListKeysNotFound) String() string

type UserListKeysOK

type UserListKeysOK struct {
	Payload []*models.PublicKey
}

UserListKeysOK describes a response with status code 200, with default header values.

PublicKeyList

func NewUserListKeysOK

func NewUserListKeysOK() *UserListKeysOK

NewUserListKeysOK creates a UserListKeysOK with default headers values

func (*UserListKeysOK) Code

func (o *UserListKeysOK) Code() int

Code gets the status code for the user list keys o k response

func (*UserListKeysOK) Error

func (o *UserListKeysOK) Error() string

func (*UserListKeysOK) GetPayload

func (o *UserListKeysOK) GetPayload() []*models.PublicKey

func (*UserListKeysOK) IsClientError

func (o *UserListKeysOK) IsClientError() bool

IsClientError returns true when this user list keys o k response has a 4xx status code

func (*UserListKeysOK) IsCode

func (o *UserListKeysOK) IsCode(code int) bool

IsCode returns true when this user list keys o k response a status code equal to that given

func (*UserListKeysOK) IsRedirect

func (o *UserListKeysOK) IsRedirect() bool

IsRedirect returns true when this user list keys o k response has a 3xx status code

func (*UserListKeysOK) IsServerError

func (o *UserListKeysOK) IsServerError() bool

IsServerError returns true when this user list keys o k response has a 5xx status code

func (*UserListKeysOK) IsSuccess

func (o *UserListKeysOK) IsSuccess() bool

IsSuccess returns true when this user list keys o k response has a 2xx status code

func (*UserListKeysOK) String

func (o *UserListKeysOK) String() string

type UserListKeysParams

type UserListKeysParams struct {

	/* Fingerprint.

	   fingerprint of the key
	*/
	Fingerprint *string

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListKeysParams contains all the parameters to send to the API endpoint

for the user list keys operation.

Typically these are written to a http.Request.

func NewUserListKeysParams

func NewUserListKeysParams() *UserListKeysParams

NewUserListKeysParams creates a new UserListKeysParams 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 NewUserListKeysParamsWithContext

func NewUserListKeysParamsWithContext(ctx context.Context) *UserListKeysParams

NewUserListKeysParamsWithContext creates a new UserListKeysParams object with the ability to set a context for a request.

func NewUserListKeysParamsWithHTTPClient

func NewUserListKeysParamsWithHTTPClient(client *http.Client) *UserListKeysParams

NewUserListKeysParamsWithHTTPClient creates a new UserListKeysParams object with the ability to set a custom HTTPClient for a request.

func NewUserListKeysParamsWithTimeout

func NewUserListKeysParamsWithTimeout(timeout time.Duration) *UserListKeysParams

NewUserListKeysParamsWithTimeout creates a new UserListKeysParams object with the ability to set a timeout on a request.

func (*UserListKeysParams) SetContext

func (o *UserListKeysParams) SetContext(ctx context.Context)

SetContext adds the context to the user list keys params

func (*UserListKeysParams) SetDefaults

func (o *UserListKeysParams) SetDefaults()

SetDefaults hydrates default values in the user list keys params (not the query body).

All values with no default are reset to their zero value.

func (*UserListKeysParams) SetFingerprint

func (o *UserListKeysParams) SetFingerprint(fingerprint *string)

SetFingerprint adds the fingerprint to the user list keys params

func (*UserListKeysParams) SetHTTPClient

func (o *UserListKeysParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list keys params

func (*UserListKeysParams) SetLimit

func (o *UserListKeysParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list keys params

func (*UserListKeysParams) SetPage

func (o *UserListKeysParams) SetPage(page *int64)

SetPage adds the page to the user list keys params

func (*UserListKeysParams) SetTimeout

func (o *UserListKeysParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list keys params

func (*UserListKeysParams) SetUsername

func (o *UserListKeysParams) SetUsername(username string)

SetUsername adds the username to the user list keys params

func (*UserListKeysParams) WithContext

WithContext adds the context to the user list keys params

func (*UserListKeysParams) WithDefaults

func (o *UserListKeysParams) WithDefaults() *UserListKeysParams

WithDefaults hydrates default values in the user list keys params (not the query body).

All values with no default are reset to their zero value.

func (*UserListKeysParams) WithFingerprint

func (o *UserListKeysParams) WithFingerprint(fingerprint *string) *UserListKeysParams

WithFingerprint adds the fingerprint to the user list keys params

func (*UserListKeysParams) WithHTTPClient

func (o *UserListKeysParams) WithHTTPClient(client *http.Client) *UserListKeysParams

WithHTTPClient adds the HTTPClient to the user list keys params

func (*UserListKeysParams) WithLimit

func (o *UserListKeysParams) WithLimit(limit *int64) *UserListKeysParams

WithLimit adds the limit to the user list keys params

func (*UserListKeysParams) WithPage

func (o *UserListKeysParams) WithPage(page *int64) *UserListKeysParams

WithPage adds the page to the user list keys params

func (*UserListKeysParams) WithTimeout

func (o *UserListKeysParams) WithTimeout(timeout time.Duration) *UserListKeysParams

WithTimeout adds the timeout to the user list keys params

func (*UserListKeysParams) WithUsername

func (o *UserListKeysParams) WithUsername(username string) *UserListKeysParams

WithUsername adds the username to the user list keys params

func (*UserListKeysParams) WriteToRequest

func (o *UserListKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListKeysReader

type UserListKeysReader struct {
	// contains filtered or unexported fields
}

UserListKeysReader is a Reader for the UserListKeys structure.

func (*UserListKeysReader) ReadResponse

func (o *UserListKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListReposNotFound

type UserListReposNotFound struct {
}

UserListReposNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListReposNotFound

func NewUserListReposNotFound() *UserListReposNotFound

NewUserListReposNotFound creates a UserListReposNotFound with default headers values

func (*UserListReposNotFound) Code

func (o *UserListReposNotFound) Code() int

Code gets the status code for the user list repos not found response

func (*UserListReposNotFound) Error

func (o *UserListReposNotFound) Error() string

func (*UserListReposNotFound) IsClientError

func (o *UserListReposNotFound) IsClientError() bool

IsClientError returns true when this user list repos not found response has a 4xx status code

func (*UserListReposNotFound) IsCode

func (o *UserListReposNotFound) IsCode(code int) bool

IsCode returns true when this user list repos not found response a status code equal to that given

func (*UserListReposNotFound) IsRedirect

func (o *UserListReposNotFound) IsRedirect() bool

IsRedirect returns true when this user list repos not found response has a 3xx status code

func (*UserListReposNotFound) IsServerError

func (o *UserListReposNotFound) IsServerError() bool

IsServerError returns true when this user list repos not found response has a 5xx status code

func (*UserListReposNotFound) IsSuccess

func (o *UserListReposNotFound) IsSuccess() bool

IsSuccess returns true when this user list repos not found response has a 2xx status code

func (*UserListReposNotFound) String

func (o *UserListReposNotFound) String() string

type UserListReposOK

type UserListReposOK struct {
	Payload []*models.Repository
}

UserListReposOK describes a response with status code 200, with default header values.

RepositoryList

func NewUserListReposOK

func NewUserListReposOK() *UserListReposOK

NewUserListReposOK creates a UserListReposOK with default headers values

func (*UserListReposOK) Code

func (o *UserListReposOK) Code() int

Code gets the status code for the user list repos o k response

func (*UserListReposOK) Error

func (o *UserListReposOK) Error() string

func (*UserListReposOK) GetPayload

func (o *UserListReposOK) GetPayload() []*models.Repository

func (*UserListReposOK) IsClientError

func (o *UserListReposOK) IsClientError() bool

IsClientError returns true when this user list repos o k response has a 4xx status code

func (*UserListReposOK) IsCode

func (o *UserListReposOK) IsCode(code int) bool

IsCode returns true when this user list repos o k response a status code equal to that given

func (*UserListReposOK) IsRedirect

func (o *UserListReposOK) IsRedirect() bool

IsRedirect returns true when this user list repos o k response has a 3xx status code

func (*UserListReposOK) IsServerError

func (o *UserListReposOK) IsServerError() bool

IsServerError returns true when this user list repos o k response has a 5xx status code

func (*UserListReposOK) IsSuccess

func (o *UserListReposOK) IsSuccess() bool

IsSuccess returns true when this user list repos o k response has a 2xx status code

func (*UserListReposOK) String

func (o *UserListReposOK) String() string

type UserListReposParams

type UserListReposParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListReposParams contains all the parameters to send to the API endpoint

for the user list repos operation.

Typically these are written to a http.Request.

func NewUserListReposParams

func NewUserListReposParams() *UserListReposParams

NewUserListReposParams creates a new UserListReposParams 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 NewUserListReposParamsWithContext

func NewUserListReposParamsWithContext(ctx context.Context) *UserListReposParams

NewUserListReposParamsWithContext creates a new UserListReposParams object with the ability to set a context for a request.

func NewUserListReposParamsWithHTTPClient

func NewUserListReposParamsWithHTTPClient(client *http.Client) *UserListReposParams

NewUserListReposParamsWithHTTPClient creates a new UserListReposParams object with the ability to set a custom HTTPClient for a request.

func NewUserListReposParamsWithTimeout

func NewUserListReposParamsWithTimeout(timeout time.Duration) *UserListReposParams

NewUserListReposParamsWithTimeout creates a new UserListReposParams object with the ability to set a timeout on a request.

func (*UserListReposParams) SetContext

func (o *UserListReposParams) SetContext(ctx context.Context)

SetContext adds the context to the user list repos params

func (*UserListReposParams) SetDefaults

func (o *UserListReposParams) SetDefaults()

SetDefaults hydrates default values in the user list repos params (not the query body).

All values with no default are reset to their zero value.

func (*UserListReposParams) SetHTTPClient

func (o *UserListReposParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list repos params

func (*UserListReposParams) SetLimit

func (o *UserListReposParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list repos params

func (*UserListReposParams) SetPage

func (o *UserListReposParams) SetPage(page *int64)

SetPage adds the page to the user list repos params

func (*UserListReposParams) SetTimeout

func (o *UserListReposParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list repos params

func (*UserListReposParams) SetUsername

func (o *UserListReposParams) SetUsername(username string)

SetUsername adds the username to the user list repos params

func (*UserListReposParams) WithContext

WithContext adds the context to the user list repos params

func (*UserListReposParams) WithDefaults

func (o *UserListReposParams) WithDefaults() *UserListReposParams

WithDefaults hydrates default values in the user list repos params (not the query body).

All values with no default are reset to their zero value.

func (*UserListReposParams) WithHTTPClient

func (o *UserListReposParams) WithHTTPClient(client *http.Client) *UserListReposParams

WithHTTPClient adds the HTTPClient to the user list repos params

func (*UserListReposParams) WithLimit

func (o *UserListReposParams) WithLimit(limit *int64) *UserListReposParams

WithLimit adds the limit to the user list repos params

func (*UserListReposParams) WithPage

func (o *UserListReposParams) WithPage(page *int64) *UserListReposParams

WithPage adds the page to the user list repos params

func (*UserListReposParams) WithTimeout

func (o *UserListReposParams) WithTimeout(timeout time.Duration) *UserListReposParams

WithTimeout adds the timeout to the user list repos params

func (*UserListReposParams) WithUsername

func (o *UserListReposParams) WithUsername(username string) *UserListReposParams

WithUsername adds the username to the user list repos params

func (*UserListReposParams) WriteToRequest

func (o *UserListReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListReposReader

type UserListReposReader struct {
	// contains filtered or unexported fields
}

UserListReposReader is a Reader for the UserListRepos structure.

func (*UserListReposReader) ReadResponse

func (o *UserListReposReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListStarredNotFound

type UserListStarredNotFound struct {
}

UserListStarredNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListStarredNotFound

func NewUserListStarredNotFound() *UserListStarredNotFound

NewUserListStarredNotFound creates a UserListStarredNotFound with default headers values

func (*UserListStarredNotFound) Code

func (o *UserListStarredNotFound) Code() int

Code gets the status code for the user list starred not found response

func (*UserListStarredNotFound) Error

func (o *UserListStarredNotFound) Error() string

func (*UserListStarredNotFound) IsClientError

func (o *UserListStarredNotFound) IsClientError() bool

IsClientError returns true when this user list starred not found response has a 4xx status code

func (*UserListStarredNotFound) IsCode

func (o *UserListStarredNotFound) IsCode(code int) bool

IsCode returns true when this user list starred not found response a status code equal to that given

func (*UserListStarredNotFound) IsRedirect

func (o *UserListStarredNotFound) IsRedirect() bool

IsRedirect returns true when this user list starred not found response has a 3xx status code

func (*UserListStarredNotFound) IsServerError

func (o *UserListStarredNotFound) IsServerError() bool

IsServerError returns true when this user list starred not found response has a 5xx status code

func (*UserListStarredNotFound) IsSuccess

func (o *UserListStarredNotFound) IsSuccess() bool

IsSuccess returns true when this user list starred not found response has a 2xx status code

func (*UserListStarredNotFound) String

func (o *UserListStarredNotFound) String() string

type UserListStarredOK

type UserListStarredOK struct {
	Payload []*models.Repository
}

UserListStarredOK describes a response with status code 200, with default header values.

RepositoryList

func NewUserListStarredOK

func NewUserListStarredOK() *UserListStarredOK

NewUserListStarredOK creates a UserListStarredOK with default headers values

func (*UserListStarredOK) Code

func (o *UserListStarredOK) Code() int

Code gets the status code for the user list starred o k response

func (*UserListStarredOK) Error

func (o *UserListStarredOK) Error() string

func (*UserListStarredOK) GetPayload

func (o *UserListStarredOK) GetPayload() []*models.Repository

func (*UserListStarredOK) IsClientError

func (o *UserListStarredOK) IsClientError() bool

IsClientError returns true when this user list starred o k response has a 4xx status code

func (*UserListStarredOK) IsCode

func (o *UserListStarredOK) IsCode(code int) bool

IsCode returns true when this user list starred o k response a status code equal to that given

func (*UserListStarredOK) IsRedirect

func (o *UserListStarredOK) IsRedirect() bool

IsRedirect returns true when this user list starred o k response has a 3xx status code

func (*UserListStarredOK) IsServerError

func (o *UserListStarredOK) IsServerError() bool

IsServerError returns true when this user list starred o k response has a 5xx status code

func (*UserListStarredOK) IsSuccess

func (o *UserListStarredOK) IsSuccess() bool

IsSuccess returns true when this user list starred o k response has a 2xx status code

func (*UserListStarredOK) String

func (o *UserListStarredOK) String() string

type UserListStarredParams

type UserListStarredParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListStarredParams contains all the parameters to send to the API endpoint

for the user list starred operation.

Typically these are written to a http.Request.

func NewUserListStarredParams

func NewUserListStarredParams() *UserListStarredParams

NewUserListStarredParams creates a new UserListStarredParams 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 NewUserListStarredParamsWithContext

func NewUserListStarredParamsWithContext(ctx context.Context) *UserListStarredParams

NewUserListStarredParamsWithContext creates a new UserListStarredParams object with the ability to set a context for a request.

func NewUserListStarredParamsWithHTTPClient

func NewUserListStarredParamsWithHTTPClient(client *http.Client) *UserListStarredParams

NewUserListStarredParamsWithHTTPClient creates a new UserListStarredParams object with the ability to set a custom HTTPClient for a request.

func NewUserListStarredParamsWithTimeout

func NewUserListStarredParamsWithTimeout(timeout time.Duration) *UserListStarredParams

NewUserListStarredParamsWithTimeout creates a new UserListStarredParams object with the ability to set a timeout on a request.

func (*UserListStarredParams) SetContext

func (o *UserListStarredParams) SetContext(ctx context.Context)

SetContext adds the context to the user list starred params

func (*UserListStarredParams) SetDefaults

func (o *UserListStarredParams) SetDefaults()

SetDefaults hydrates default values in the user list starred params (not the query body).

All values with no default are reset to their zero value.

func (*UserListStarredParams) SetHTTPClient

func (o *UserListStarredParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list starred params

func (*UserListStarredParams) SetLimit

func (o *UserListStarredParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list starred params

func (*UserListStarredParams) SetPage

func (o *UserListStarredParams) SetPage(page *int64)

SetPage adds the page to the user list starred params

func (*UserListStarredParams) SetTimeout

func (o *UserListStarredParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list starred params

func (*UserListStarredParams) SetUsername

func (o *UserListStarredParams) SetUsername(username string)

SetUsername adds the username to the user list starred params

func (*UserListStarredParams) WithContext

WithContext adds the context to the user list starred params

func (*UserListStarredParams) WithDefaults

func (o *UserListStarredParams) WithDefaults() *UserListStarredParams

WithDefaults hydrates default values in the user list starred params (not the query body).

All values with no default are reset to their zero value.

func (*UserListStarredParams) WithHTTPClient

func (o *UserListStarredParams) WithHTTPClient(client *http.Client) *UserListStarredParams

WithHTTPClient adds the HTTPClient to the user list starred params

func (*UserListStarredParams) WithLimit

func (o *UserListStarredParams) WithLimit(limit *int64) *UserListStarredParams

WithLimit adds the limit to the user list starred params

func (*UserListStarredParams) WithPage

WithPage adds the page to the user list starred params

func (*UserListStarredParams) WithTimeout

func (o *UserListStarredParams) WithTimeout(timeout time.Duration) *UserListStarredParams

WithTimeout adds the timeout to the user list starred params

func (*UserListStarredParams) WithUsername

func (o *UserListStarredParams) WithUsername(username string) *UserListStarredParams

WithUsername adds the username to the user list starred params

func (*UserListStarredParams) WriteToRequest

func (o *UserListStarredParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListStarredReader

type UserListStarredReader struct {
	// contains filtered or unexported fields
}

UserListStarredReader is a Reader for the UserListStarred structure.

func (*UserListStarredReader) ReadResponse

func (o *UserListStarredReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListSubscriptionsNotFound

type UserListSubscriptionsNotFound struct {
}

UserListSubscriptionsNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserListSubscriptionsNotFound

func NewUserListSubscriptionsNotFound() *UserListSubscriptionsNotFound

NewUserListSubscriptionsNotFound creates a UserListSubscriptionsNotFound with default headers values

func (*UserListSubscriptionsNotFound) Code

Code gets the status code for the user list subscriptions not found response

func (*UserListSubscriptionsNotFound) Error

func (*UserListSubscriptionsNotFound) IsClientError

func (o *UserListSubscriptionsNotFound) IsClientError() bool

IsClientError returns true when this user list subscriptions not found response has a 4xx status code

func (*UserListSubscriptionsNotFound) IsCode

func (o *UserListSubscriptionsNotFound) IsCode(code int) bool

IsCode returns true when this user list subscriptions not found response a status code equal to that given

func (*UserListSubscriptionsNotFound) IsRedirect

func (o *UserListSubscriptionsNotFound) IsRedirect() bool

IsRedirect returns true when this user list subscriptions not found response has a 3xx status code

func (*UserListSubscriptionsNotFound) IsServerError

func (o *UserListSubscriptionsNotFound) IsServerError() bool

IsServerError returns true when this user list subscriptions not found response has a 5xx status code

func (*UserListSubscriptionsNotFound) IsSuccess

func (o *UserListSubscriptionsNotFound) IsSuccess() bool

IsSuccess returns true when this user list subscriptions not found response has a 2xx status code

func (*UserListSubscriptionsNotFound) String

type UserListSubscriptionsOK

type UserListSubscriptionsOK struct {
	Payload []*models.Repository
}

UserListSubscriptionsOK describes a response with status code 200, with default header values.

RepositoryList

func NewUserListSubscriptionsOK

func NewUserListSubscriptionsOK() *UserListSubscriptionsOK

NewUserListSubscriptionsOK creates a UserListSubscriptionsOK with default headers values

func (*UserListSubscriptionsOK) Code

func (o *UserListSubscriptionsOK) Code() int

Code gets the status code for the user list subscriptions o k response

func (*UserListSubscriptionsOK) Error

func (o *UserListSubscriptionsOK) Error() string

func (*UserListSubscriptionsOK) GetPayload

func (o *UserListSubscriptionsOK) GetPayload() []*models.Repository

func (*UserListSubscriptionsOK) IsClientError

func (o *UserListSubscriptionsOK) IsClientError() bool

IsClientError returns true when this user list subscriptions o k response has a 4xx status code

func (*UserListSubscriptionsOK) IsCode

func (o *UserListSubscriptionsOK) IsCode(code int) bool

IsCode returns true when this user list subscriptions o k response a status code equal to that given

func (*UserListSubscriptionsOK) IsRedirect

func (o *UserListSubscriptionsOK) IsRedirect() bool

IsRedirect returns true when this user list subscriptions o k response has a 3xx status code

func (*UserListSubscriptionsOK) IsServerError

func (o *UserListSubscriptionsOK) IsServerError() bool

IsServerError returns true when this user list subscriptions o k response has a 5xx status code

func (*UserListSubscriptionsOK) IsSuccess

func (o *UserListSubscriptionsOK) IsSuccess() bool

IsSuccess returns true when this user list subscriptions o k response has a 2xx status code

func (*UserListSubscriptionsOK) String

func (o *UserListSubscriptionsOK) String() string

type UserListSubscriptionsParams

type UserListSubscriptionsParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Username.

	   username of the user
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListSubscriptionsParams contains all the parameters to send to the API endpoint

for the user list subscriptions operation.

Typically these are written to a http.Request.

func NewUserListSubscriptionsParams

func NewUserListSubscriptionsParams() *UserListSubscriptionsParams

NewUserListSubscriptionsParams creates a new UserListSubscriptionsParams 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 NewUserListSubscriptionsParamsWithContext

func NewUserListSubscriptionsParamsWithContext(ctx context.Context) *UserListSubscriptionsParams

NewUserListSubscriptionsParamsWithContext creates a new UserListSubscriptionsParams object with the ability to set a context for a request.

func NewUserListSubscriptionsParamsWithHTTPClient

func NewUserListSubscriptionsParamsWithHTTPClient(client *http.Client) *UserListSubscriptionsParams

NewUserListSubscriptionsParamsWithHTTPClient creates a new UserListSubscriptionsParams object with the ability to set a custom HTTPClient for a request.

func NewUserListSubscriptionsParamsWithTimeout

func NewUserListSubscriptionsParamsWithTimeout(timeout time.Duration) *UserListSubscriptionsParams

NewUserListSubscriptionsParamsWithTimeout creates a new UserListSubscriptionsParams object with the ability to set a timeout on a request.

func (*UserListSubscriptionsParams) SetContext

func (o *UserListSubscriptionsParams) SetContext(ctx context.Context)

SetContext adds the context to the user list subscriptions params

func (*UserListSubscriptionsParams) SetDefaults

func (o *UserListSubscriptionsParams) SetDefaults()

SetDefaults hydrates default values in the user list subscriptions params (not the query body).

All values with no default are reset to their zero value.

func (*UserListSubscriptionsParams) SetHTTPClient

func (o *UserListSubscriptionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list subscriptions params

func (*UserListSubscriptionsParams) SetLimit

func (o *UserListSubscriptionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list subscriptions params

func (*UserListSubscriptionsParams) SetPage

func (o *UserListSubscriptionsParams) SetPage(page *int64)

SetPage adds the page to the user list subscriptions params

func (*UserListSubscriptionsParams) SetTimeout

func (o *UserListSubscriptionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list subscriptions params

func (*UserListSubscriptionsParams) SetUsername

func (o *UserListSubscriptionsParams) SetUsername(username string)

SetUsername adds the username to the user list subscriptions params

func (*UserListSubscriptionsParams) WithContext

WithContext adds the context to the user list subscriptions params

func (*UserListSubscriptionsParams) WithDefaults

WithDefaults hydrates default values in the user list subscriptions params (not the query body).

All values with no default are reset to their zero value.

func (*UserListSubscriptionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user list subscriptions params

func (*UserListSubscriptionsParams) WithLimit

WithLimit adds the limit to the user list subscriptions params

func (*UserListSubscriptionsParams) WithPage

WithPage adds the page to the user list subscriptions params

func (*UserListSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the user list subscriptions params

func (*UserListSubscriptionsParams) WithUsername

WithUsername adds the username to the user list subscriptions params

func (*UserListSubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserListSubscriptionsReader

type UserListSubscriptionsReader struct {
	// contains filtered or unexported fields
}

UserListSubscriptionsReader is a Reader for the UserListSubscriptions structure.

func (*UserListSubscriptionsReader) ReadResponse

func (o *UserListSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserListTeamsOK

type UserListTeamsOK struct {
	Payload []*models.Team
}

UserListTeamsOK describes a response with status code 200, with default header values.

TeamList

func NewUserListTeamsOK

func NewUserListTeamsOK() *UserListTeamsOK

NewUserListTeamsOK creates a UserListTeamsOK with default headers values

func (*UserListTeamsOK) Code

func (o *UserListTeamsOK) Code() int

Code gets the status code for the user list teams o k response

func (*UserListTeamsOK) Error

func (o *UserListTeamsOK) Error() string

func (*UserListTeamsOK) GetPayload

func (o *UserListTeamsOK) GetPayload() []*models.Team

func (*UserListTeamsOK) IsClientError

func (o *UserListTeamsOK) IsClientError() bool

IsClientError returns true when this user list teams o k response has a 4xx status code

func (*UserListTeamsOK) IsCode

func (o *UserListTeamsOK) IsCode(code int) bool

IsCode returns true when this user list teams o k response a status code equal to that given

func (*UserListTeamsOK) IsRedirect

func (o *UserListTeamsOK) IsRedirect() bool

IsRedirect returns true when this user list teams o k response has a 3xx status code

func (*UserListTeamsOK) IsServerError

func (o *UserListTeamsOK) IsServerError() bool

IsServerError returns true when this user list teams o k response has a 5xx status code

func (*UserListTeamsOK) IsSuccess

func (o *UserListTeamsOK) IsSuccess() bool

IsSuccess returns true when this user list teams o k response has a 2xx status code

func (*UserListTeamsOK) String

func (o *UserListTeamsOK) String() string

type UserListTeamsParams

type UserListTeamsParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserListTeamsParams contains all the parameters to send to the API endpoint

for the user list teams operation.

Typically these are written to a http.Request.

func NewUserListTeamsParams

func NewUserListTeamsParams() *UserListTeamsParams

NewUserListTeamsParams creates a new UserListTeamsParams 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 NewUserListTeamsParamsWithContext

func NewUserListTeamsParamsWithContext(ctx context.Context) *UserListTeamsParams

NewUserListTeamsParamsWithContext creates a new UserListTeamsParams object with the ability to set a context for a request.

func NewUserListTeamsParamsWithHTTPClient

func NewUserListTeamsParamsWithHTTPClient(client *http.Client) *UserListTeamsParams

NewUserListTeamsParamsWithHTTPClient creates a new UserListTeamsParams object with the ability to set a custom HTTPClient for a request.

func NewUserListTeamsParamsWithTimeout

func NewUserListTeamsParamsWithTimeout(timeout time.Duration) *UserListTeamsParams

NewUserListTeamsParamsWithTimeout creates a new UserListTeamsParams object with the ability to set a timeout on a request.

func (*UserListTeamsParams) SetContext

func (o *UserListTeamsParams) SetContext(ctx context.Context)

SetContext adds the context to the user list teams params

func (*UserListTeamsParams) SetDefaults

func (o *UserListTeamsParams) SetDefaults()

SetDefaults hydrates default values in the user list teams params (not the query body).

All values with no default are reset to their zero value.

func (*UserListTeamsParams) SetHTTPClient

func (o *UserListTeamsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user list teams params

func (*UserListTeamsParams) SetLimit

func (o *UserListTeamsParams) SetLimit(limit *int64)

SetLimit adds the limit to the user list teams params

func (*UserListTeamsParams) SetPage

func (o *UserListTeamsParams) SetPage(page *int64)

SetPage adds the page to the user list teams params

func (*UserListTeamsParams) SetTimeout

func (o *UserListTeamsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user list teams params

func (*UserListTeamsParams) WithContext

WithContext adds the context to the user list teams params

func (*UserListTeamsParams) WithDefaults

func (o *UserListTeamsParams) WithDefaults() *UserListTeamsParams

WithDefaults hydrates default values in the user list teams params (not the query body).

All values with no default are reset to their zero value.

func (*UserListTeamsParams) WithHTTPClient

func (o *UserListTeamsParams) WithHTTPClient(client *http.Client) *UserListTeamsParams

WithHTTPClient adds the HTTPClient to the user list teams params

func (*UserListTeamsParams) WithLimit

func (o *UserListTeamsParams) WithLimit(limit *int64) *UserListTeamsParams

WithLimit adds the limit to the user list teams params

func (*UserListTeamsParams) WithPage

func (o *UserListTeamsParams) WithPage(page *int64) *UserListTeamsParams

WithPage adds the page to the user list teams params

func (*UserListTeamsParams) WithTimeout

func (o *UserListTeamsParams) WithTimeout(timeout time.Duration) *UserListTeamsParams

WithTimeout adds the timeout to the user list teams params

func (*UserListTeamsParams) WriteToRequest

func (o *UserListTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserListTeamsReader

type UserListTeamsReader struct {
	// contains filtered or unexported fields
}

UserListTeamsReader is a Reader for the UserListTeams structure.

func (*UserListTeamsReader) ReadResponse

func (o *UserListTeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserSearchOK

type UserSearchOK struct {
	Payload *UserSearchOKBody
}

UserSearchOK describes a response with status code 200, with default header values.

SearchResults of a successful search

func NewUserSearchOK

func NewUserSearchOK() *UserSearchOK

NewUserSearchOK creates a UserSearchOK with default headers values

func (*UserSearchOK) Code

func (o *UserSearchOK) Code() int

Code gets the status code for the user search o k response

func (*UserSearchOK) Error

func (o *UserSearchOK) Error() string

func (*UserSearchOK) GetPayload

func (o *UserSearchOK) GetPayload() *UserSearchOKBody

func (*UserSearchOK) IsClientError

func (o *UserSearchOK) IsClientError() bool

IsClientError returns true when this user search o k response has a 4xx status code

func (*UserSearchOK) IsCode

func (o *UserSearchOK) IsCode(code int) bool

IsCode returns true when this user search o k response a status code equal to that given

func (*UserSearchOK) IsRedirect

func (o *UserSearchOK) IsRedirect() bool

IsRedirect returns true when this user search o k response has a 3xx status code

func (*UserSearchOK) IsServerError

func (o *UserSearchOK) IsServerError() bool

IsServerError returns true when this user search o k response has a 5xx status code

func (*UserSearchOK) IsSuccess

func (o *UserSearchOK) IsSuccess() bool

IsSuccess returns true when this user search o k response has a 2xx status code

func (*UserSearchOK) String

func (o *UserSearchOK) String() string

type UserSearchOKBody

type UserSearchOKBody struct {

	// data
	Data []*models.User `json:"data"`

	// ok
	Ok bool `json:"ok,omitempty"`
}

UserSearchOKBody user search o k body swagger:model UserSearchOKBody

func (*UserSearchOKBody) ContextValidate

func (o *UserSearchOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user search o k body based on the context it is used

func (*UserSearchOKBody) MarshalBinary

func (o *UserSearchOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserSearchOKBody) UnmarshalBinary

func (o *UserSearchOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserSearchOKBody) Validate

func (o *UserSearchOKBody) Validate(formats strfmt.Registry) error

Validate validates this user search o k body

type UserSearchParams

type UserSearchParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Q.

	   keyword
	*/
	Q *string

	/* UID.

	   ID of the user to search for

	   Format: int64
	*/
	UID *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserSearchParams contains all the parameters to send to the API endpoint

for the user search operation.

Typically these are written to a http.Request.

func NewUserSearchParams

func NewUserSearchParams() *UserSearchParams

NewUserSearchParams creates a new UserSearchParams 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 NewUserSearchParamsWithContext

func NewUserSearchParamsWithContext(ctx context.Context) *UserSearchParams

NewUserSearchParamsWithContext creates a new UserSearchParams object with the ability to set a context for a request.

func NewUserSearchParamsWithHTTPClient

func NewUserSearchParamsWithHTTPClient(client *http.Client) *UserSearchParams

NewUserSearchParamsWithHTTPClient creates a new UserSearchParams object with the ability to set a custom HTTPClient for a request.

func NewUserSearchParamsWithTimeout

func NewUserSearchParamsWithTimeout(timeout time.Duration) *UserSearchParams

NewUserSearchParamsWithTimeout creates a new UserSearchParams object with the ability to set a timeout on a request.

func (*UserSearchParams) SetContext

func (o *UserSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the user search params

func (*UserSearchParams) SetDefaults

func (o *UserSearchParams) SetDefaults()

SetDefaults hydrates default values in the user search params (not the query body).

All values with no default are reset to their zero value.

func (*UserSearchParams) SetHTTPClient

func (o *UserSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user search params

func (*UserSearchParams) SetLimit

func (o *UserSearchParams) SetLimit(limit *int64)

SetLimit adds the limit to the user search params

func (*UserSearchParams) SetPage

func (o *UserSearchParams) SetPage(page *int64)

SetPage adds the page to the user search params

func (*UserSearchParams) SetQ

func (o *UserSearchParams) SetQ(q *string)

SetQ adds the q to the user search params

func (*UserSearchParams) SetTimeout

func (o *UserSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user search params

func (*UserSearchParams) SetUID

func (o *UserSearchParams) SetUID(uid *int64)

SetUID adds the uid to the user search params

func (*UserSearchParams) WithContext

func (o *UserSearchParams) WithContext(ctx context.Context) *UserSearchParams

WithContext adds the context to the user search params

func (*UserSearchParams) WithDefaults

func (o *UserSearchParams) WithDefaults() *UserSearchParams

WithDefaults hydrates default values in the user search params (not the query body).

All values with no default are reset to their zero value.

func (*UserSearchParams) WithHTTPClient

func (o *UserSearchParams) WithHTTPClient(client *http.Client) *UserSearchParams

WithHTTPClient adds the HTTPClient to the user search params

func (*UserSearchParams) WithLimit

func (o *UserSearchParams) WithLimit(limit *int64) *UserSearchParams

WithLimit adds the limit to the user search params

func (*UserSearchParams) WithPage

func (o *UserSearchParams) WithPage(page *int64) *UserSearchParams

WithPage adds the page to the user search params

func (*UserSearchParams) WithQ

WithQ adds the q to the user search params

func (*UserSearchParams) WithTimeout

func (o *UserSearchParams) WithTimeout(timeout time.Duration) *UserSearchParams

WithTimeout adds the timeout to the user search params

func (*UserSearchParams) WithUID

func (o *UserSearchParams) WithUID(uid *int64) *UserSearchParams

WithUID adds the uid to the user search params

func (*UserSearchParams) WriteToRequest

func (o *UserSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserSearchReader

type UserSearchReader struct {
	// contains filtered or unexported fields
}

UserSearchReader is a Reader for the UserSearch structure.

func (*UserSearchReader) ReadResponse

func (o *UserSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserUnblockUserNoContent

type UserUnblockUserNoContent struct {
}

UserUnblockUserNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserUnblockUserNoContent

func NewUserUnblockUserNoContent() *UserUnblockUserNoContent

NewUserUnblockUserNoContent creates a UserUnblockUserNoContent with default headers values

func (*UserUnblockUserNoContent) Code

func (o *UserUnblockUserNoContent) Code() int

Code gets the status code for the user unblock user no content response

func (*UserUnblockUserNoContent) Error

func (o *UserUnblockUserNoContent) Error() string

func (*UserUnblockUserNoContent) IsClientError

func (o *UserUnblockUserNoContent) IsClientError() bool

IsClientError returns true when this user unblock user no content response has a 4xx status code

func (*UserUnblockUserNoContent) IsCode

func (o *UserUnblockUserNoContent) IsCode(code int) bool

IsCode returns true when this user unblock user no content response a status code equal to that given

func (*UserUnblockUserNoContent) IsRedirect

func (o *UserUnblockUserNoContent) IsRedirect() bool

IsRedirect returns true when this user unblock user no content response has a 3xx status code

func (*UserUnblockUserNoContent) IsServerError

func (o *UserUnblockUserNoContent) IsServerError() bool

IsServerError returns true when this user unblock user no content response has a 5xx status code

func (*UserUnblockUserNoContent) IsSuccess

func (o *UserUnblockUserNoContent) IsSuccess() bool

IsSuccess returns true when this user unblock user no content response has a 2xx status code

func (*UserUnblockUserNoContent) String

func (o *UserUnblockUserNoContent) String() string

type UserUnblockUserNotFound

type UserUnblockUserNotFound struct {
}

UserUnblockUserNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserUnblockUserNotFound

func NewUserUnblockUserNotFound() *UserUnblockUserNotFound

NewUserUnblockUserNotFound creates a UserUnblockUserNotFound with default headers values

func (*UserUnblockUserNotFound) Code

func (o *UserUnblockUserNotFound) Code() int

Code gets the status code for the user unblock user not found response

func (*UserUnblockUserNotFound) Error

func (o *UserUnblockUserNotFound) Error() string

func (*UserUnblockUserNotFound) IsClientError

func (o *UserUnblockUserNotFound) IsClientError() bool

IsClientError returns true when this user unblock user not found response has a 4xx status code

func (*UserUnblockUserNotFound) IsCode

func (o *UserUnblockUserNotFound) IsCode(code int) bool

IsCode returns true when this user unblock user not found response a status code equal to that given

func (*UserUnblockUserNotFound) IsRedirect

func (o *UserUnblockUserNotFound) IsRedirect() bool

IsRedirect returns true when this user unblock user not found response has a 3xx status code

func (*UserUnblockUserNotFound) IsServerError

func (o *UserUnblockUserNotFound) IsServerError() bool

IsServerError returns true when this user unblock user not found response has a 5xx status code

func (*UserUnblockUserNotFound) IsSuccess

func (o *UserUnblockUserNotFound) IsSuccess() bool

IsSuccess returns true when this user unblock user not found response has a 2xx status code

func (*UserUnblockUserNotFound) String

func (o *UserUnblockUserNotFound) String() string

type UserUnblockUserParams

type UserUnblockUserParams struct {

	/* Username.

	   user to unblock
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserUnblockUserParams contains all the parameters to send to the API endpoint

for the user unblock user operation.

Typically these are written to a http.Request.

func NewUserUnblockUserParams

func NewUserUnblockUserParams() *UserUnblockUserParams

NewUserUnblockUserParams creates a new UserUnblockUserParams 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 NewUserUnblockUserParamsWithContext

func NewUserUnblockUserParamsWithContext(ctx context.Context) *UserUnblockUserParams

NewUserUnblockUserParamsWithContext creates a new UserUnblockUserParams object with the ability to set a context for a request.

func NewUserUnblockUserParamsWithHTTPClient

func NewUserUnblockUserParamsWithHTTPClient(client *http.Client) *UserUnblockUserParams

NewUserUnblockUserParamsWithHTTPClient creates a new UserUnblockUserParams object with the ability to set a custom HTTPClient for a request.

func NewUserUnblockUserParamsWithTimeout

func NewUserUnblockUserParamsWithTimeout(timeout time.Duration) *UserUnblockUserParams

NewUserUnblockUserParamsWithTimeout creates a new UserUnblockUserParams object with the ability to set a timeout on a request.

func (*UserUnblockUserParams) SetContext

func (o *UserUnblockUserParams) SetContext(ctx context.Context)

SetContext adds the context to the user unblock user params

func (*UserUnblockUserParams) SetDefaults

func (o *UserUnblockUserParams) SetDefaults()

SetDefaults hydrates default values in the user unblock user params (not the query body).

All values with no default are reset to their zero value.

func (*UserUnblockUserParams) SetHTTPClient

func (o *UserUnblockUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user unblock user params

func (*UserUnblockUserParams) SetTimeout

func (o *UserUnblockUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user unblock user params

func (*UserUnblockUserParams) SetUsername

func (o *UserUnblockUserParams) SetUsername(username string)

SetUsername adds the username to the user unblock user params

func (*UserUnblockUserParams) WithContext

WithContext adds the context to the user unblock user params

func (*UserUnblockUserParams) WithDefaults

func (o *UserUnblockUserParams) WithDefaults() *UserUnblockUserParams

WithDefaults hydrates default values in the user unblock user params (not the query body).

All values with no default are reset to their zero value.

func (*UserUnblockUserParams) WithHTTPClient

func (o *UserUnblockUserParams) WithHTTPClient(client *http.Client) *UserUnblockUserParams

WithHTTPClient adds the HTTPClient to the user unblock user params

func (*UserUnblockUserParams) WithTimeout

func (o *UserUnblockUserParams) WithTimeout(timeout time.Duration) *UserUnblockUserParams

WithTimeout adds the timeout to the user unblock user params

func (*UserUnblockUserParams) WithUsername

func (o *UserUnblockUserParams) WithUsername(username string) *UserUnblockUserParams

WithUsername adds the username to the user unblock user params

func (*UserUnblockUserParams) WriteToRequest

func (o *UserUnblockUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserUnblockUserReader

type UserUnblockUserReader struct {
	// contains filtered or unexported fields
}

UserUnblockUserReader is a Reader for the UserUnblockUser structure.

func (*UserUnblockUserReader) ReadResponse

func (o *UserUnblockUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserUnblockUserUnprocessableEntity

type UserUnblockUserUnprocessableEntity struct {
	Message string
	URL     string
}

UserUnblockUserUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewUserUnblockUserUnprocessableEntity

func NewUserUnblockUserUnprocessableEntity() *UserUnblockUserUnprocessableEntity

NewUserUnblockUserUnprocessableEntity creates a UserUnblockUserUnprocessableEntity with default headers values

func (*UserUnblockUserUnprocessableEntity) Code

Code gets the status code for the user unblock user unprocessable entity response

func (*UserUnblockUserUnprocessableEntity) Error

func (*UserUnblockUserUnprocessableEntity) IsClientError

func (o *UserUnblockUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this user unblock user unprocessable entity response has a 4xx status code

func (*UserUnblockUserUnprocessableEntity) IsCode

IsCode returns true when this user unblock user unprocessable entity response a status code equal to that given

func (*UserUnblockUserUnprocessableEntity) IsRedirect

func (o *UserUnblockUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this user unblock user unprocessable entity response has a 3xx status code

func (*UserUnblockUserUnprocessableEntity) IsServerError

func (o *UserUnblockUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this user unblock user unprocessable entity response has a 5xx status code

func (*UserUnblockUserUnprocessableEntity) IsSuccess

IsSuccess returns true when this user unblock user unprocessable entity response has a 2xx status code

func (*UserUnblockUserUnprocessableEntity) String

type UserUpdateAvatarNoContent

type UserUpdateAvatarNoContent struct {
}

UserUpdateAvatarNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewUserUpdateAvatarNoContent

func NewUserUpdateAvatarNoContent() *UserUpdateAvatarNoContent

NewUserUpdateAvatarNoContent creates a UserUpdateAvatarNoContent with default headers values

func (*UserUpdateAvatarNoContent) Code

func (o *UserUpdateAvatarNoContent) Code() int

Code gets the status code for the user update avatar no content response

func (*UserUpdateAvatarNoContent) Error

func (o *UserUpdateAvatarNoContent) Error() string

func (*UserUpdateAvatarNoContent) IsClientError

func (o *UserUpdateAvatarNoContent) IsClientError() bool

IsClientError returns true when this user update avatar no content response has a 4xx status code

func (*UserUpdateAvatarNoContent) IsCode

func (o *UserUpdateAvatarNoContent) IsCode(code int) bool

IsCode returns true when this user update avatar no content response a status code equal to that given

func (*UserUpdateAvatarNoContent) IsRedirect

func (o *UserUpdateAvatarNoContent) IsRedirect() bool

IsRedirect returns true when this user update avatar no content response has a 3xx status code

func (*UserUpdateAvatarNoContent) IsServerError

func (o *UserUpdateAvatarNoContent) IsServerError() bool

IsServerError returns true when this user update avatar no content response has a 5xx status code

func (*UserUpdateAvatarNoContent) IsSuccess

func (o *UserUpdateAvatarNoContent) IsSuccess() bool

IsSuccess returns true when this user update avatar no content response has a 2xx status code

func (*UserUpdateAvatarNoContent) String

func (o *UserUpdateAvatarNoContent) String() string

type UserUpdateAvatarParams

type UserUpdateAvatarParams struct {

	// Body.
	Body *models.UpdateUserAvatarOption

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserUpdateAvatarParams contains all the parameters to send to the API endpoint

for the user update avatar operation.

Typically these are written to a http.Request.

func NewUserUpdateAvatarParams

func NewUserUpdateAvatarParams() *UserUpdateAvatarParams

NewUserUpdateAvatarParams creates a new UserUpdateAvatarParams 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 NewUserUpdateAvatarParamsWithContext

func NewUserUpdateAvatarParamsWithContext(ctx context.Context) *UserUpdateAvatarParams

NewUserUpdateAvatarParamsWithContext creates a new UserUpdateAvatarParams object with the ability to set a context for a request.

func NewUserUpdateAvatarParamsWithHTTPClient

func NewUserUpdateAvatarParamsWithHTTPClient(client *http.Client) *UserUpdateAvatarParams

NewUserUpdateAvatarParamsWithHTTPClient creates a new UserUpdateAvatarParams object with the ability to set a custom HTTPClient for a request.

func NewUserUpdateAvatarParamsWithTimeout

func NewUserUpdateAvatarParamsWithTimeout(timeout time.Duration) *UserUpdateAvatarParams

NewUserUpdateAvatarParamsWithTimeout creates a new UserUpdateAvatarParams object with the ability to set a timeout on a request.

func (*UserUpdateAvatarParams) SetBody

SetBody adds the body to the user update avatar params

func (*UserUpdateAvatarParams) SetContext

func (o *UserUpdateAvatarParams) SetContext(ctx context.Context)

SetContext adds the context to the user update avatar params

func (*UserUpdateAvatarParams) SetDefaults

func (o *UserUpdateAvatarParams) SetDefaults()

SetDefaults hydrates default values in the user update avatar params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateAvatarParams) SetHTTPClient

func (o *UserUpdateAvatarParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user update avatar params

func (*UserUpdateAvatarParams) SetTimeout

func (o *UserUpdateAvatarParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user update avatar params

func (*UserUpdateAvatarParams) WithBody

WithBody adds the body to the user update avatar params

func (*UserUpdateAvatarParams) WithContext

WithContext adds the context to the user update avatar params

func (*UserUpdateAvatarParams) WithDefaults

WithDefaults hydrates default values in the user update avatar params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateAvatarParams) WithHTTPClient

func (o *UserUpdateAvatarParams) WithHTTPClient(client *http.Client) *UserUpdateAvatarParams

WithHTTPClient adds the HTTPClient to the user update avatar params

func (*UserUpdateAvatarParams) WithTimeout

WithTimeout adds the timeout to the user update avatar params

func (*UserUpdateAvatarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserUpdateAvatarReader

type UserUpdateAvatarReader struct {
	// contains filtered or unexported fields
}

UserUpdateAvatarReader is a Reader for the UserUpdateAvatar structure.

func (*UserUpdateAvatarReader) ReadResponse

func (o *UserUpdateAvatarReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserUpdateOAuth2ApplicationNotFound

type UserUpdateOAuth2ApplicationNotFound struct {
}

UserUpdateOAuth2ApplicationNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserUpdateOAuth2ApplicationNotFound

func NewUserUpdateOAuth2ApplicationNotFound() *UserUpdateOAuth2ApplicationNotFound

NewUserUpdateOAuth2ApplicationNotFound creates a UserUpdateOAuth2ApplicationNotFound with default headers values

func (*UserUpdateOAuth2ApplicationNotFound) Code

Code gets the status code for the user update o auth2 application not found response

func (*UserUpdateOAuth2ApplicationNotFound) Error

func (*UserUpdateOAuth2ApplicationNotFound) IsClientError

func (o *UserUpdateOAuth2ApplicationNotFound) IsClientError() bool

IsClientError returns true when this user update o auth2 application not found response has a 4xx status code

func (*UserUpdateOAuth2ApplicationNotFound) IsCode

IsCode returns true when this user update o auth2 application not found response a status code equal to that given

func (*UserUpdateOAuth2ApplicationNotFound) IsRedirect

func (o *UserUpdateOAuth2ApplicationNotFound) IsRedirect() bool

IsRedirect returns true when this user update o auth2 application not found response has a 3xx status code

func (*UserUpdateOAuth2ApplicationNotFound) IsServerError

func (o *UserUpdateOAuth2ApplicationNotFound) IsServerError() bool

IsServerError returns true when this user update o auth2 application not found response has a 5xx status code

func (*UserUpdateOAuth2ApplicationNotFound) IsSuccess

IsSuccess returns true when this user update o auth2 application not found response has a 2xx status code

func (*UserUpdateOAuth2ApplicationNotFound) String

type UserUpdateOAuth2ApplicationOK

type UserUpdateOAuth2ApplicationOK struct {
	Payload *models.OAuth2Application
}

UserUpdateOAuth2ApplicationOK describes a response with status code 200, with default header values.

OAuth2Application

func NewUserUpdateOAuth2ApplicationOK

func NewUserUpdateOAuth2ApplicationOK() *UserUpdateOAuth2ApplicationOK

NewUserUpdateOAuth2ApplicationOK creates a UserUpdateOAuth2ApplicationOK with default headers values

func (*UserUpdateOAuth2ApplicationOK) Code

Code gets the status code for the user update o auth2 application o k response

func (*UserUpdateOAuth2ApplicationOK) Error

func (*UserUpdateOAuth2ApplicationOK) GetPayload

func (*UserUpdateOAuth2ApplicationOK) IsClientError

func (o *UserUpdateOAuth2ApplicationOK) IsClientError() bool

IsClientError returns true when this user update o auth2 application o k response has a 4xx status code

func (*UserUpdateOAuth2ApplicationOK) IsCode

func (o *UserUpdateOAuth2ApplicationOK) IsCode(code int) bool

IsCode returns true when this user update o auth2 application o k response a status code equal to that given

func (*UserUpdateOAuth2ApplicationOK) IsRedirect

func (o *UserUpdateOAuth2ApplicationOK) IsRedirect() bool

IsRedirect returns true when this user update o auth2 application o k response has a 3xx status code

func (*UserUpdateOAuth2ApplicationOK) IsServerError

func (o *UserUpdateOAuth2ApplicationOK) IsServerError() bool

IsServerError returns true when this user update o auth2 application o k response has a 5xx status code

func (*UserUpdateOAuth2ApplicationOK) IsSuccess

func (o *UserUpdateOAuth2ApplicationOK) IsSuccess() bool

IsSuccess returns true when this user update o auth2 application o k response has a 2xx status code

func (*UserUpdateOAuth2ApplicationOK) String

type UserUpdateOAuth2ApplicationParams

type UserUpdateOAuth2ApplicationParams struct {

	// Body.
	Body *models.CreateOAuth2ApplicationOptions

	/* ID.

	   application to be updated

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserUpdateOAuth2ApplicationParams contains all the parameters to send to the API endpoint

for the user update o auth2 application operation.

Typically these are written to a http.Request.

func NewUserUpdateOAuth2ApplicationParams

func NewUserUpdateOAuth2ApplicationParams() *UserUpdateOAuth2ApplicationParams

NewUserUpdateOAuth2ApplicationParams creates a new UserUpdateOAuth2ApplicationParams 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 NewUserUpdateOAuth2ApplicationParamsWithContext

func NewUserUpdateOAuth2ApplicationParamsWithContext(ctx context.Context) *UserUpdateOAuth2ApplicationParams

NewUserUpdateOAuth2ApplicationParamsWithContext creates a new UserUpdateOAuth2ApplicationParams object with the ability to set a context for a request.

func NewUserUpdateOAuth2ApplicationParamsWithHTTPClient

func NewUserUpdateOAuth2ApplicationParamsWithHTTPClient(client *http.Client) *UserUpdateOAuth2ApplicationParams

NewUserUpdateOAuth2ApplicationParamsWithHTTPClient creates a new UserUpdateOAuth2ApplicationParams object with the ability to set a custom HTTPClient for a request.

func NewUserUpdateOAuth2ApplicationParamsWithTimeout

func NewUserUpdateOAuth2ApplicationParamsWithTimeout(timeout time.Duration) *UserUpdateOAuth2ApplicationParams

NewUserUpdateOAuth2ApplicationParamsWithTimeout creates a new UserUpdateOAuth2ApplicationParams object with the ability to set a timeout on a request.

func (*UserUpdateOAuth2ApplicationParams) SetBody

SetBody adds the body to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) SetContext

SetContext adds the context to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) SetDefaults

func (o *UserUpdateOAuth2ApplicationParams) SetDefaults()

SetDefaults hydrates default values in the user update o auth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateOAuth2ApplicationParams) SetHTTPClient

func (o *UserUpdateOAuth2ApplicationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) SetID

SetID adds the id to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) SetTimeout

func (o *UserUpdateOAuth2ApplicationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) WithBody

WithBody adds the body to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) WithContext

WithContext adds the context to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) WithDefaults

WithDefaults hydrates default values in the user update o auth2 application params (not the query body).

All values with no default are reset to their zero value.

func (*UserUpdateOAuth2ApplicationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) WithID

WithID adds the id to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) WithTimeout

WithTimeout adds the timeout to the user update o auth2 application params

func (*UserUpdateOAuth2ApplicationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserUpdateOAuth2ApplicationReader

type UserUpdateOAuth2ApplicationReader struct {
	// contains filtered or unexported fields
}

UserUpdateOAuth2ApplicationReader is a Reader for the UserUpdateOAuth2Application structure.

func (*UserUpdateOAuth2ApplicationReader) ReadResponse

func (o *UserUpdateOAuth2ApplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserVerifyGPGKeyCreated

type UserVerifyGPGKeyCreated struct {
	Payload *models.GPGKey
}

UserVerifyGPGKeyCreated describes a response with status code 201, with default header values.

GPGKey

func NewUserVerifyGPGKeyCreated

func NewUserVerifyGPGKeyCreated() *UserVerifyGPGKeyCreated

NewUserVerifyGPGKeyCreated creates a UserVerifyGPGKeyCreated with default headers values

func (*UserVerifyGPGKeyCreated) Code

func (o *UserVerifyGPGKeyCreated) Code() int

Code gets the status code for the user verify g p g key created response

func (*UserVerifyGPGKeyCreated) Error

func (o *UserVerifyGPGKeyCreated) Error() string

func (*UserVerifyGPGKeyCreated) GetPayload

func (o *UserVerifyGPGKeyCreated) GetPayload() *models.GPGKey

func (*UserVerifyGPGKeyCreated) IsClientError

func (o *UserVerifyGPGKeyCreated) IsClientError() bool

IsClientError returns true when this user verify g p g key created response has a 4xx status code

func (*UserVerifyGPGKeyCreated) IsCode

func (o *UserVerifyGPGKeyCreated) IsCode(code int) bool

IsCode returns true when this user verify g p g key created response a status code equal to that given

func (*UserVerifyGPGKeyCreated) IsRedirect

func (o *UserVerifyGPGKeyCreated) IsRedirect() bool

IsRedirect returns true when this user verify g p g key created response has a 3xx status code

func (*UserVerifyGPGKeyCreated) IsServerError

func (o *UserVerifyGPGKeyCreated) IsServerError() bool

IsServerError returns true when this user verify g p g key created response has a 5xx status code

func (*UserVerifyGPGKeyCreated) IsSuccess

func (o *UserVerifyGPGKeyCreated) IsSuccess() bool

IsSuccess returns true when this user verify g p g key created response has a 2xx status code

func (*UserVerifyGPGKeyCreated) String

func (o *UserVerifyGPGKeyCreated) String() string

type UserVerifyGPGKeyNotFound

type UserVerifyGPGKeyNotFound struct {
}

UserVerifyGPGKeyNotFound describes a response with status code 404, with default header values.

APINotFound is a not found empty response

func NewUserVerifyGPGKeyNotFound

func NewUserVerifyGPGKeyNotFound() *UserVerifyGPGKeyNotFound

NewUserVerifyGPGKeyNotFound creates a UserVerifyGPGKeyNotFound with default headers values

func (*UserVerifyGPGKeyNotFound) Code

func (o *UserVerifyGPGKeyNotFound) Code() int

Code gets the status code for the user verify g p g key not found response

func (*UserVerifyGPGKeyNotFound) Error

func (o *UserVerifyGPGKeyNotFound) Error() string

func (*UserVerifyGPGKeyNotFound) IsClientError

func (o *UserVerifyGPGKeyNotFound) IsClientError() bool

IsClientError returns true when this user verify g p g key not found response has a 4xx status code

func (*UserVerifyGPGKeyNotFound) IsCode

func (o *UserVerifyGPGKeyNotFound) IsCode(code int) bool

IsCode returns true when this user verify g p g key not found response a status code equal to that given

func (*UserVerifyGPGKeyNotFound) IsRedirect

func (o *UserVerifyGPGKeyNotFound) IsRedirect() bool

IsRedirect returns true when this user verify g p g key not found response has a 3xx status code

func (*UserVerifyGPGKeyNotFound) IsServerError

func (o *UserVerifyGPGKeyNotFound) IsServerError() bool

IsServerError returns true when this user verify g p g key not found response has a 5xx status code

func (*UserVerifyGPGKeyNotFound) IsSuccess

func (o *UserVerifyGPGKeyNotFound) IsSuccess() bool

IsSuccess returns true when this user verify g p g key not found response has a 2xx status code

func (*UserVerifyGPGKeyNotFound) String

func (o *UserVerifyGPGKeyNotFound) String() string

type UserVerifyGPGKeyParams

type UserVerifyGPGKeyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserVerifyGPGKeyParams contains all the parameters to send to the API endpoint

for the user verify g p g key operation.

Typically these are written to a http.Request.

func NewUserVerifyGPGKeyParams

func NewUserVerifyGPGKeyParams() *UserVerifyGPGKeyParams

NewUserVerifyGPGKeyParams creates a new UserVerifyGPGKeyParams 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 NewUserVerifyGPGKeyParamsWithContext

func NewUserVerifyGPGKeyParamsWithContext(ctx context.Context) *UserVerifyGPGKeyParams

NewUserVerifyGPGKeyParamsWithContext creates a new UserVerifyGPGKeyParams object with the ability to set a context for a request.

func NewUserVerifyGPGKeyParamsWithHTTPClient

func NewUserVerifyGPGKeyParamsWithHTTPClient(client *http.Client) *UserVerifyGPGKeyParams

NewUserVerifyGPGKeyParamsWithHTTPClient creates a new UserVerifyGPGKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUserVerifyGPGKeyParamsWithTimeout

func NewUserVerifyGPGKeyParamsWithTimeout(timeout time.Duration) *UserVerifyGPGKeyParams

NewUserVerifyGPGKeyParamsWithTimeout creates a new UserVerifyGPGKeyParams object with the ability to set a timeout on a request.

func (*UserVerifyGPGKeyParams) SetContext

func (o *UserVerifyGPGKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the user verify g p g key params

func (*UserVerifyGPGKeyParams) SetDefaults

func (o *UserVerifyGPGKeyParams) SetDefaults()

SetDefaults hydrates default values in the user verify g p g key params (not the query body).

All values with no default are reset to their zero value.

func (*UserVerifyGPGKeyParams) SetHTTPClient

func (o *UserVerifyGPGKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user verify g p g key params

func (*UserVerifyGPGKeyParams) SetTimeout

func (o *UserVerifyGPGKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user verify g p g key params

func (*UserVerifyGPGKeyParams) WithContext

WithContext adds the context to the user verify g p g key params

func (*UserVerifyGPGKeyParams) WithDefaults

WithDefaults hydrates default values in the user verify g p g key params (not the query body).

All values with no default are reset to their zero value.

func (*UserVerifyGPGKeyParams) WithHTTPClient

func (o *UserVerifyGPGKeyParams) WithHTTPClient(client *http.Client) *UserVerifyGPGKeyParams

WithHTTPClient adds the HTTPClient to the user verify g p g key params

func (*UserVerifyGPGKeyParams) WithTimeout

WithTimeout adds the timeout to the user verify g p g key params

func (*UserVerifyGPGKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserVerifyGPGKeyReader

type UserVerifyGPGKeyReader struct {
	// contains filtered or unexported fields
}

UserVerifyGPGKeyReader is a Reader for the UserVerifyGPGKey structure.

func (*UserVerifyGPGKeyReader) ReadResponse

func (o *UserVerifyGPGKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserVerifyGPGKeyUnprocessableEntity

type UserVerifyGPGKeyUnprocessableEntity struct {
	Message string
	URL     string
}

UserVerifyGPGKeyUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewUserVerifyGPGKeyUnprocessableEntity

func NewUserVerifyGPGKeyUnprocessableEntity() *UserVerifyGPGKeyUnprocessableEntity

NewUserVerifyGPGKeyUnprocessableEntity creates a UserVerifyGPGKeyUnprocessableEntity with default headers values

func (*UserVerifyGPGKeyUnprocessableEntity) Code

Code gets the status code for the user verify g p g key unprocessable entity response

func (*UserVerifyGPGKeyUnprocessableEntity) Error

func (*UserVerifyGPGKeyUnprocessableEntity) IsClientError

func (o *UserVerifyGPGKeyUnprocessableEntity) IsClientError() bool

IsClientError returns true when this user verify g p g key unprocessable entity response has a 4xx status code

func (*UserVerifyGPGKeyUnprocessableEntity) IsCode

IsCode returns true when this user verify g p g key unprocessable entity response a status code equal to that given

func (*UserVerifyGPGKeyUnprocessableEntity) IsRedirect

func (o *UserVerifyGPGKeyUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this user verify g p g key unprocessable entity response has a 3xx status code

func (*UserVerifyGPGKeyUnprocessableEntity) IsServerError

func (o *UserVerifyGPGKeyUnprocessableEntity) IsServerError() bool

IsServerError returns true when this user verify g p g key unprocessable entity response has a 5xx status code

func (*UserVerifyGPGKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this user verify g p g key unprocessable entity response has a 2xx status code

func (*UserVerifyGPGKeyUnprocessableEntity) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL