signed_in_user

package
v0.0.0-...-59d2d35 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeUserPasswordBadRequest

type ChangeUserPasswordBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewChangeUserPasswordBadRequest

func NewChangeUserPasswordBadRequest() *ChangeUserPasswordBadRequest

NewChangeUserPasswordBadRequest creates a ChangeUserPasswordBadRequest with default headers values

func (*ChangeUserPasswordBadRequest) Code

Code gets the status code for the change user password bad request response

func (*ChangeUserPasswordBadRequest) Error

func (*ChangeUserPasswordBadRequest) GetPayload

func (*ChangeUserPasswordBadRequest) IsClientError

func (o *ChangeUserPasswordBadRequest) IsClientError() bool

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

func (*ChangeUserPasswordBadRequest) IsCode

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

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

func (*ChangeUserPasswordBadRequest) IsRedirect

func (o *ChangeUserPasswordBadRequest) IsRedirect() bool

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

func (*ChangeUserPasswordBadRequest) IsServerError

func (o *ChangeUserPasswordBadRequest) IsServerError() bool

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

func (*ChangeUserPasswordBadRequest) IsSuccess

func (o *ChangeUserPasswordBadRequest) IsSuccess() bool

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

func (*ChangeUserPasswordBadRequest) String

type ChangeUserPasswordForbidden

type ChangeUserPasswordForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewChangeUserPasswordForbidden

func NewChangeUserPasswordForbidden() *ChangeUserPasswordForbidden

NewChangeUserPasswordForbidden creates a ChangeUserPasswordForbidden with default headers values

func (*ChangeUserPasswordForbidden) Code

func (o *ChangeUserPasswordForbidden) Code() int

Code gets the status code for the change user password forbidden response

func (*ChangeUserPasswordForbidden) Error

func (*ChangeUserPasswordForbidden) GetPayload

func (*ChangeUserPasswordForbidden) IsClientError

func (o *ChangeUserPasswordForbidden) IsClientError() bool

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

func (*ChangeUserPasswordForbidden) IsCode

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

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

func (*ChangeUserPasswordForbidden) IsRedirect

func (o *ChangeUserPasswordForbidden) IsRedirect() bool

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

func (*ChangeUserPasswordForbidden) IsServerError

func (o *ChangeUserPasswordForbidden) IsServerError() bool

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

func (*ChangeUserPasswordForbidden) IsSuccess

func (o *ChangeUserPasswordForbidden) IsSuccess() bool

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

func (*ChangeUserPasswordForbidden) String

func (o *ChangeUserPasswordForbidden) String() string

type ChangeUserPasswordInternalServerError

type ChangeUserPasswordInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewChangeUserPasswordInternalServerError

func NewChangeUserPasswordInternalServerError() *ChangeUserPasswordInternalServerError

NewChangeUserPasswordInternalServerError creates a ChangeUserPasswordInternalServerError with default headers values

func (*ChangeUserPasswordInternalServerError) Code

Code gets the status code for the change user password internal server error response

func (*ChangeUserPasswordInternalServerError) Error

func (*ChangeUserPasswordInternalServerError) GetPayload

func (*ChangeUserPasswordInternalServerError) IsClientError

func (o *ChangeUserPasswordInternalServerError) IsClientError() bool

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

func (*ChangeUserPasswordInternalServerError) IsCode

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

func (*ChangeUserPasswordInternalServerError) IsRedirect

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

func (*ChangeUserPasswordInternalServerError) IsServerError

func (o *ChangeUserPasswordInternalServerError) IsServerError() bool

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

func (*ChangeUserPasswordInternalServerError) IsSuccess

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

func (*ChangeUserPasswordInternalServerError) String

type ChangeUserPasswordOK

type ChangeUserPasswordOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewChangeUserPasswordOK

func NewChangeUserPasswordOK() *ChangeUserPasswordOK

NewChangeUserPasswordOK creates a ChangeUserPasswordOK with default headers values

func (*ChangeUserPasswordOK) Code

func (o *ChangeUserPasswordOK) Code() int

Code gets the status code for the change user password Ok response

func (*ChangeUserPasswordOK) Error

func (o *ChangeUserPasswordOK) Error() string

func (*ChangeUserPasswordOK) GetPayload

func (*ChangeUserPasswordOK) IsClientError

func (o *ChangeUserPasswordOK) IsClientError() bool

IsClientError returns true when this change user password Ok response has a 4xx status code

func (*ChangeUserPasswordOK) IsCode

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

IsCode returns true when this change user password Ok response a status code equal to that given

func (*ChangeUserPasswordOK) IsRedirect

func (o *ChangeUserPasswordOK) IsRedirect() bool

IsRedirect returns true when this change user password Ok response has a 3xx status code

func (*ChangeUserPasswordOK) IsServerError

func (o *ChangeUserPasswordOK) IsServerError() bool

IsServerError returns true when this change user password Ok response has a 5xx status code

func (*ChangeUserPasswordOK) IsSuccess

func (o *ChangeUserPasswordOK) IsSuccess() bool

IsSuccess returns true when this change user password Ok response has a 2xx status code

func (*ChangeUserPasswordOK) String

func (o *ChangeUserPasswordOK) String() string

type ChangeUserPasswordParams

type ChangeUserPasswordParams struct {

	/* Body.

	   To change the email, name, login, theme, provide another one.
	*/
	Body *models.ChangeUserPasswordCommand

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

ChangeUserPasswordParams contains all the parameters to send to the API endpoint

for the change user password operation.

Typically these are written to a http.Request.

func NewChangeUserPasswordParams

func NewChangeUserPasswordParams() *ChangeUserPasswordParams

NewChangeUserPasswordParams creates a new ChangeUserPasswordParams 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 NewChangeUserPasswordParamsWithContext

func NewChangeUserPasswordParamsWithContext(ctx context.Context) *ChangeUserPasswordParams

NewChangeUserPasswordParamsWithContext creates a new ChangeUserPasswordParams object with the ability to set a context for a request.

func NewChangeUserPasswordParamsWithHTTPClient

func NewChangeUserPasswordParamsWithHTTPClient(client *http.Client) *ChangeUserPasswordParams

NewChangeUserPasswordParamsWithHTTPClient creates a new ChangeUserPasswordParams object with the ability to set a custom HTTPClient for a request.

func NewChangeUserPasswordParamsWithTimeout

func NewChangeUserPasswordParamsWithTimeout(timeout time.Duration) *ChangeUserPasswordParams

NewChangeUserPasswordParamsWithTimeout creates a new ChangeUserPasswordParams object with the ability to set a timeout on a request.

func (*ChangeUserPasswordParams) SetBody

SetBody adds the body to the change user password params

func (*ChangeUserPasswordParams) SetContext

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

SetContext adds the context to the change user password params

func (*ChangeUserPasswordParams) SetDefaults

func (o *ChangeUserPasswordParams) SetDefaults()

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

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

func (*ChangeUserPasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change user password params

func (*ChangeUserPasswordParams) SetTimeout

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

SetTimeout adds the timeout to the change user password params

func (*ChangeUserPasswordParams) WithBody

WithBody adds the body to the change user password params

func (*ChangeUserPasswordParams) WithContext

WithContext adds the context to the change user password params

func (*ChangeUserPasswordParams) WithDefaults

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

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

func (*ChangeUserPasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change user password params

func (*ChangeUserPasswordParams) WithTimeout

WithTimeout adds the timeout to the change user password params

func (*ChangeUserPasswordParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeUserPasswordReader

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

ChangeUserPasswordReader is a Reader for the ChangeUserPassword structure.

func (*ChangeUserPasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeUserPasswordUnauthorized

type ChangeUserPasswordUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewChangeUserPasswordUnauthorized

func NewChangeUserPasswordUnauthorized() *ChangeUserPasswordUnauthorized

NewChangeUserPasswordUnauthorized creates a ChangeUserPasswordUnauthorized with default headers values

func (*ChangeUserPasswordUnauthorized) Code

Code gets the status code for the change user password unauthorized response

func (*ChangeUserPasswordUnauthorized) Error

func (*ChangeUserPasswordUnauthorized) GetPayload

func (*ChangeUserPasswordUnauthorized) IsClientError

func (o *ChangeUserPasswordUnauthorized) IsClientError() bool

IsClientError returns true when this change user password unauthorized response has a 4xx status code

func (*ChangeUserPasswordUnauthorized) IsCode

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

IsCode returns true when this change user password unauthorized response a status code equal to that given

func (*ChangeUserPasswordUnauthorized) IsRedirect

func (o *ChangeUserPasswordUnauthorized) IsRedirect() bool

IsRedirect returns true when this change user password unauthorized response has a 3xx status code

func (*ChangeUserPasswordUnauthorized) IsServerError

func (o *ChangeUserPasswordUnauthorized) IsServerError() bool

IsServerError returns true when this change user password unauthorized response has a 5xx status code

func (*ChangeUserPasswordUnauthorized) IsSuccess

func (o *ChangeUserPasswordUnauthorized) IsSuccess() bool

IsSuccess returns true when this change user password unauthorized response has a 2xx status code

func (*ChangeUserPasswordUnauthorized) String

type ClearHelpFlagsForbidden

type ClearHelpFlagsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewClearHelpFlagsForbidden

func NewClearHelpFlagsForbidden() *ClearHelpFlagsForbidden

NewClearHelpFlagsForbidden creates a ClearHelpFlagsForbidden with default headers values

func (*ClearHelpFlagsForbidden) Code

func (o *ClearHelpFlagsForbidden) Code() int

Code gets the status code for the clear help flags forbidden response

func (*ClearHelpFlagsForbidden) Error

func (o *ClearHelpFlagsForbidden) Error() string

func (*ClearHelpFlagsForbidden) GetPayload

func (*ClearHelpFlagsForbidden) IsClientError

func (o *ClearHelpFlagsForbidden) IsClientError() bool

IsClientError returns true when this clear help flags forbidden response has a 4xx status code

func (*ClearHelpFlagsForbidden) IsCode

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

IsCode returns true when this clear help flags forbidden response a status code equal to that given

func (*ClearHelpFlagsForbidden) IsRedirect

func (o *ClearHelpFlagsForbidden) IsRedirect() bool

IsRedirect returns true when this clear help flags forbidden response has a 3xx status code

func (*ClearHelpFlagsForbidden) IsServerError

func (o *ClearHelpFlagsForbidden) IsServerError() bool

IsServerError returns true when this clear help flags forbidden response has a 5xx status code

func (*ClearHelpFlagsForbidden) IsSuccess

func (o *ClearHelpFlagsForbidden) IsSuccess() bool

IsSuccess returns true when this clear help flags forbidden response has a 2xx status code

func (*ClearHelpFlagsForbidden) String

func (o *ClearHelpFlagsForbidden) String() string

type ClearHelpFlagsInternalServerError

type ClearHelpFlagsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewClearHelpFlagsInternalServerError

func NewClearHelpFlagsInternalServerError() *ClearHelpFlagsInternalServerError

NewClearHelpFlagsInternalServerError creates a ClearHelpFlagsInternalServerError with default headers values

func (*ClearHelpFlagsInternalServerError) Code

Code gets the status code for the clear help flags internal server error response

func (*ClearHelpFlagsInternalServerError) Error

func (*ClearHelpFlagsInternalServerError) GetPayload

func (*ClearHelpFlagsInternalServerError) IsClientError

func (o *ClearHelpFlagsInternalServerError) IsClientError() bool

IsClientError returns true when this clear help flags internal server error response has a 4xx status code

func (*ClearHelpFlagsInternalServerError) IsCode

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

IsCode returns true when this clear help flags internal server error response a status code equal to that given

func (*ClearHelpFlagsInternalServerError) IsRedirect

func (o *ClearHelpFlagsInternalServerError) IsRedirect() bool

IsRedirect returns true when this clear help flags internal server error response has a 3xx status code

func (*ClearHelpFlagsInternalServerError) IsServerError

func (o *ClearHelpFlagsInternalServerError) IsServerError() bool

IsServerError returns true when this clear help flags internal server error response has a 5xx status code

func (*ClearHelpFlagsInternalServerError) IsSuccess

func (o *ClearHelpFlagsInternalServerError) IsSuccess() bool

IsSuccess returns true when this clear help flags internal server error response has a 2xx status code

func (*ClearHelpFlagsInternalServerError) String

type ClearHelpFlagsOK

type ClearHelpFlagsOK struct {
	Payload *models.ClearHelpFlagsOKBody
}

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

(empty)

func NewClearHelpFlagsOK

func NewClearHelpFlagsOK() *ClearHelpFlagsOK

NewClearHelpFlagsOK creates a ClearHelpFlagsOK with default headers values

func (*ClearHelpFlagsOK) Code

func (o *ClearHelpFlagsOK) Code() int

Code gets the status code for the clear help flags Ok response

func (*ClearHelpFlagsOK) Error

func (o *ClearHelpFlagsOK) Error() string

func (*ClearHelpFlagsOK) GetPayload

func (o *ClearHelpFlagsOK) GetPayload() *models.ClearHelpFlagsOKBody

func (*ClearHelpFlagsOK) IsClientError

func (o *ClearHelpFlagsOK) IsClientError() bool

IsClientError returns true when this clear help flags Ok response has a 4xx status code

func (*ClearHelpFlagsOK) IsCode

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

IsCode returns true when this clear help flags Ok response a status code equal to that given

func (*ClearHelpFlagsOK) IsRedirect

func (o *ClearHelpFlagsOK) IsRedirect() bool

IsRedirect returns true when this clear help flags Ok response has a 3xx status code

func (*ClearHelpFlagsOK) IsServerError

func (o *ClearHelpFlagsOK) IsServerError() bool

IsServerError returns true when this clear help flags Ok response has a 5xx status code

func (*ClearHelpFlagsOK) IsSuccess

func (o *ClearHelpFlagsOK) IsSuccess() bool

IsSuccess returns true when this clear help flags Ok response has a 2xx status code

func (*ClearHelpFlagsOK) String

func (o *ClearHelpFlagsOK) String() string

type ClearHelpFlagsParams

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

ClearHelpFlagsParams contains all the parameters to send to the API endpoint

for the clear help flags operation.

Typically these are written to a http.Request.

func NewClearHelpFlagsParams

func NewClearHelpFlagsParams() *ClearHelpFlagsParams

NewClearHelpFlagsParams creates a new ClearHelpFlagsParams 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 NewClearHelpFlagsParamsWithContext

func NewClearHelpFlagsParamsWithContext(ctx context.Context) *ClearHelpFlagsParams

NewClearHelpFlagsParamsWithContext creates a new ClearHelpFlagsParams object with the ability to set a context for a request.

func NewClearHelpFlagsParamsWithHTTPClient

func NewClearHelpFlagsParamsWithHTTPClient(client *http.Client) *ClearHelpFlagsParams

NewClearHelpFlagsParamsWithHTTPClient creates a new ClearHelpFlagsParams object with the ability to set a custom HTTPClient for a request.

func NewClearHelpFlagsParamsWithTimeout

func NewClearHelpFlagsParamsWithTimeout(timeout time.Duration) *ClearHelpFlagsParams

NewClearHelpFlagsParamsWithTimeout creates a new ClearHelpFlagsParams object with the ability to set a timeout on a request.

func (*ClearHelpFlagsParams) SetContext

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

SetContext adds the context to the clear help flags params

func (*ClearHelpFlagsParams) SetDefaults

func (o *ClearHelpFlagsParams) SetDefaults()

SetDefaults hydrates default values in the clear help flags params (not the query body).

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

func (*ClearHelpFlagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the clear help flags params

func (*ClearHelpFlagsParams) SetTimeout

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

SetTimeout adds the timeout to the clear help flags params

func (*ClearHelpFlagsParams) WithContext

WithContext adds the context to the clear help flags params

func (*ClearHelpFlagsParams) WithDefaults

func (o *ClearHelpFlagsParams) WithDefaults() *ClearHelpFlagsParams

WithDefaults hydrates default values in the clear help flags params (not the query body).

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

func (*ClearHelpFlagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the clear help flags params

func (*ClearHelpFlagsParams) WithTimeout

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

WithTimeout adds the timeout to the clear help flags params

func (*ClearHelpFlagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ClearHelpFlagsReader

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

ClearHelpFlagsReader is a Reader for the ClearHelpFlags structure.

func (*ClearHelpFlagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClearHelpFlagsUnauthorized

type ClearHelpFlagsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewClearHelpFlagsUnauthorized

func NewClearHelpFlagsUnauthorized() *ClearHelpFlagsUnauthorized

NewClearHelpFlagsUnauthorized creates a ClearHelpFlagsUnauthorized with default headers values

func (*ClearHelpFlagsUnauthorized) Code

func (o *ClearHelpFlagsUnauthorized) Code() int

Code gets the status code for the clear help flags unauthorized response

func (*ClearHelpFlagsUnauthorized) Error

func (*ClearHelpFlagsUnauthorized) GetPayload

func (*ClearHelpFlagsUnauthorized) IsClientError

func (o *ClearHelpFlagsUnauthorized) IsClientError() bool

IsClientError returns true when this clear help flags unauthorized response has a 4xx status code

func (*ClearHelpFlagsUnauthorized) IsCode

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

IsCode returns true when this clear help flags unauthorized response a status code equal to that given

func (*ClearHelpFlagsUnauthorized) IsRedirect

func (o *ClearHelpFlagsUnauthorized) IsRedirect() bool

IsRedirect returns true when this clear help flags unauthorized response has a 3xx status code

func (*ClearHelpFlagsUnauthorized) IsServerError

func (o *ClearHelpFlagsUnauthorized) IsServerError() bool

IsServerError returns true when this clear help flags unauthorized response has a 5xx status code

func (*ClearHelpFlagsUnauthorized) IsSuccess

func (o *ClearHelpFlagsUnauthorized) IsSuccess() bool

IsSuccess returns true when this clear help flags unauthorized response has a 2xx status code

func (*ClearHelpFlagsUnauthorized) String

func (o *ClearHelpFlagsUnauthorized) String() string

type Client

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

Client for signed in user API

func (*Client) ChangeUserPassword

func (a *Client) ChangeUserPassword(body *models.ChangeUserPasswordCommand, opts ...ClientOption) (*ChangeUserPasswordOK, error)

ChangeUserPassword changes password

Changes the password for the user.

func (*Client) ChangeUserPasswordWithParams

func (a *Client) ChangeUserPasswordWithParams(params *ChangeUserPasswordParams, opts ...ClientOption) (*ChangeUserPasswordOK, error)

func (*Client) ClearHelpFlags

func (a *Client) ClearHelpFlags(opts ...ClientOption) (*ClearHelpFlagsOK, error)

ClearHelpFlags clears user help flag

func (*Client) ClearHelpFlagsWithParams

func (a *Client) ClearHelpFlagsWithParams(params *ClearHelpFlagsParams, opts ...ClientOption) (*ClearHelpFlagsOK, error)

func (*Client) GetSignedInUser

func (a *Client) GetSignedInUser(opts ...ClientOption) (*GetSignedInUserOK, error)

GetSignedInUser Get (current authenticated user)

func (*Client) GetSignedInUserOrgList

func (a *Client) GetSignedInUserOrgList(opts ...ClientOption) (*GetSignedInUserOrgListOK, error)

GetSignedInUserOrgList organizations of the actual user

Return a list of all organizations of the current user.

func (*Client) GetSignedInUserOrgListWithParams

func (a *Client) GetSignedInUserOrgListWithParams(params *GetSignedInUserOrgListParams, opts ...ClientOption) (*GetSignedInUserOrgListOK, error)

func (*Client) GetSignedInUserTeamList

func (a *Client) GetSignedInUserTeamList(opts ...ClientOption) (*GetSignedInUserTeamListOK, error)

GetSignedInUserTeamList teams that the actual user is member of

Return a list of all teams that the current user is member of.

func (*Client) GetSignedInUserTeamListWithParams

func (a *Client) GetSignedInUserTeamListWithParams(params *GetSignedInUserTeamListParams, opts ...ClientOption) (*GetSignedInUserTeamListOK, error)

func (*Client) GetSignedInUserWithParams

func (a *Client) GetSignedInUserWithParams(params *GetSignedInUserParams, opts ...ClientOption) (*GetSignedInUserOK, error)

func (*Client) GetUserAuthTokens

func (a *Client) GetUserAuthTokens(opts ...ClientOption) (*GetUserAuthTokensOK, error)

GetUserAuthTokens auths tokens of the actual user

Return a list of all auth tokens (devices) that the actual user currently have logged in from.

func (*Client) GetUserAuthTokensWithParams

func (a *Client) GetUserAuthTokensWithParams(params *GetUserAuthTokensParams, opts ...ClientOption) (*GetUserAuthTokensOK, error)

func (*Client) GetUserQuotas

func (a *Client) GetUserQuotas(opts ...ClientOption) (*GetUserQuotasOK, error)

GetUserQuotas fetches user quota

func (*Client) GetUserQuotasWithParams

func (a *Client) GetUserQuotasWithParams(params *GetUserQuotasParams, opts ...ClientOption) (*GetUserQuotasOK, error)

func (*Client) RevokeUserAuthToken

func (a *Client) RevokeUserAuthToken(body *models.RevokeAuthTokenCmd, opts ...ClientOption) (*RevokeUserAuthTokenOK, error)

RevokeUserAuthToken revokes an auth token of the actual user

Revokes the given auth token (device) for the actual user. User of issued auth token (device) will no longer be logged in and will be required to authenticate again upon next activity.

func (*Client) RevokeUserAuthTokenWithParams

func (a *Client) RevokeUserAuthTokenWithParams(params *RevokeUserAuthTokenParams, opts ...ClientOption) (*RevokeUserAuthTokenOK, error)

func (*Client) SetHelpFlag

func (a *Client) SetHelpFlag(flagID string, opts ...ClientOption) (*SetHelpFlagOK, error)

SetHelpFlag sets user help flag

func (*Client) SetHelpFlagWithParams

func (a *Client) SetHelpFlagWithParams(params *SetHelpFlagParams, opts ...ClientOption) (*SetHelpFlagOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StarDashboard

func (a *Client) StarDashboard(dashboardID string, opts ...ClientOption) (*StarDashboardOK, error)

StarDashboard stars a dashboard

Stars the given Dashboard for the actual user.

func (*Client) StarDashboardByUID

func (a *Client) StarDashboardByUID(dashboardUID string, opts ...ClientOption) (*StarDashboardByUIDOK, error)

StarDashboardByUID stars a dashboard

Stars the given Dashboard for the actual user.

func (*Client) StarDashboardByUIDWithParams

func (a *Client) StarDashboardByUIDWithParams(params *StarDashboardByUIDParams, opts ...ClientOption) (*StarDashboardByUIDOK, error)

func (*Client) StarDashboardWithParams

func (a *Client) StarDashboardWithParams(params *StarDashboardParams, opts ...ClientOption) (*StarDashboardOK, error)

func (*Client) UnstarDashboard

func (a *Client) UnstarDashboard(dashboardID string, opts ...ClientOption) (*UnstarDashboardOK, error)

UnstarDashboard unstars a dashboard

Deletes the starring of the given Dashboard for the actual user.

func (*Client) UnstarDashboardByUID

func (a *Client) UnstarDashboardByUID(dashboardUID string, opts ...ClientOption) (*UnstarDashboardByUIDOK, error)

UnstarDashboardByUID unstars a dashboard

Deletes the starring of the given Dashboard for the actual user.

func (*Client) UnstarDashboardByUIDWithParams

func (a *Client) UnstarDashboardByUIDWithParams(params *UnstarDashboardByUIDParams, opts ...ClientOption) (*UnstarDashboardByUIDOK, error)

func (*Client) UnstarDashboardWithParams

func (a *Client) UnstarDashboardWithParams(params *UnstarDashboardParams, opts ...ClientOption) (*UnstarDashboardOK, error)

func (*Client) UpdateSignedInUser

func (a *Client) UpdateSignedInUser(body *models.UpdateUserCommand, opts ...ClientOption) (*UpdateSignedInUserOK, error)

UpdateSignedInUser updates signed in user

func (*Client) UpdateSignedInUserWithParams

func (a *Client) UpdateSignedInUserWithParams(params *UpdateSignedInUserParams, opts ...ClientOption) (*UpdateSignedInUserOK, error)

func (*Client) UserSetUsingOrg

func (a *Client) UserSetUsingOrg(orgID int64, opts ...ClientOption) (*UserSetUsingOrgOK, error)

UserSetUsingOrg switches user context for signed in user

Switch user context to the given organization.

func (*Client) UserSetUsingOrgWithParams

func (a *Client) UserSetUsingOrgWithParams(params *UserSetUsingOrgParams, opts ...ClientOption) (*UserSetUsingOrgOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	ChangeUserPassword(body *models.ChangeUserPasswordCommand, opts ...ClientOption) (*ChangeUserPasswordOK, error)
	ChangeUserPasswordWithParams(params *ChangeUserPasswordParams, opts ...ClientOption) (*ChangeUserPasswordOK, error)

	ClearHelpFlags(opts ...ClientOption) (*ClearHelpFlagsOK, error)
	ClearHelpFlagsWithParams(params *ClearHelpFlagsParams, opts ...ClientOption) (*ClearHelpFlagsOK, error)

	GetSignedInUser(opts ...ClientOption) (*GetSignedInUserOK, error)
	GetSignedInUserWithParams(params *GetSignedInUserParams, opts ...ClientOption) (*GetSignedInUserOK, error)

	GetSignedInUserOrgList(opts ...ClientOption) (*GetSignedInUserOrgListOK, error)
	GetSignedInUserOrgListWithParams(params *GetSignedInUserOrgListParams, opts ...ClientOption) (*GetSignedInUserOrgListOK, error)

	GetSignedInUserTeamList(opts ...ClientOption) (*GetSignedInUserTeamListOK, error)
	GetSignedInUserTeamListWithParams(params *GetSignedInUserTeamListParams, opts ...ClientOption) (*GetSignedInUserTeamListOK, error)

	GetUserAuthTokens(opts ...ClientOption) (*GetUserAuthTokensOK, error)
	GetUserAuthTokensWithParams(params *GetUserAuthTokensParams, opts ...ClientOption) (*GetUserAuthTokensOK, error)

	GetUserQuotas(opts ...ClientOption) (*GetUserQuotasOK, error)
	GetUserQuotasWithParams(params *GetUserQuotasParams, opts ...ClientOption) (*GetUserQuotasOK, error)

	RevokeUserAuthToken(body *models.RevokeAuthTokenCmd, opts ...ClientOption) (*RevokeUserAuthTokenOK, error)
	RevokeUserAuthTokenWithParams(params *RevokeUserAuthTokenParams, opts ...ClientOption) (*RevokeUserAuthTokenOK, error)

	SetHelpFlag(flagID string, opts ...ClientOption) (*SetHelpFlagOK, error)
	SetHelpFlagWithParams(params *SetHelpFlagParams, opts ...ClientOption) (*SetHelpFlagOK, error)

	StarDashboard(dashboardID string, opts ...ClientOption) (*StarDashboardOK, error)
	StarDashboardWithParams(params *StarDashboardParams, opts ...ClientOption) (*StarDashboardOK, error)

	StarDashboardByUID(dashboardUID string, opts ...ClientOption) (*StarDashboardByUIDOK, error)
	StarDashboardByUIDWithParams(params *StarDashboardByUIDParams, opts ...ClientOption) (*StarDashboardByUIDOK, error)

	UnstarDashboard(dashboardID string, opts ...ClientOption) (*UnstarDashboardOK, error)
	UnstarDashboardWithParams(params *UnstarDashboardParams, opts ...ClientOption) (*UnstarDashboardOK, error)

	UnstarDashboardByUID(dashboardUID string, opts ...ClientOption) (*UnstarDashboardByUIDOK, error)
	UnstarDashboardByUIDWithParams(params *UnstarDashboardByUIDParams, opts ...ClientOption) (*UnstarDashboardByUIDOK, error)

	UpdateSignedInUser(body *models.UpdateUserCommand, opts ...ClientOption) (*UpdateSignedInUserOK, error)
	UpdateSignedInUserWithParams(params *UpdateSignedInUserParams, opts ...ClientOption) (*UpdateSignedInUserOK, error)

	UserSetUsingOrg(orgID int64, opts ...ClientOption) (*UserSetUsingOrgOK, error)
	UserSetUsingOrgWithParams(params *UserSetUsingOrgParams, opts ...ClientOption) (*UserSetUsingOrgOK, 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 signed in user API client.

type GetSignedInUserForbidden

type GetSignedInUserForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetSignedInUserForbidden

func NewGetSignedInUserForbidden() *GetSignedInUserForbidden

NewGetSignedInUserForbidden creates a GetSignedInUserForbidden with default headers values

func (*GetSignedInUserForbidden) Code

func (o *GetSignedInUserForbidden) Code() int

Code gets the status code for the get signed in user forbidden response

func (*GetSignedInUserForbidden) Error

func (o *GetSignedInUserForbidden) Error() string

func (*GetSignedInUserForbidden) GetPayload

func (*GetSignedInUserForbidden) IsClientError

func (o *GetSignedInUserForbidden) IsClientError() bool

IsClientError returns true when this get signed in user forbidden response has a 4xx status code

func (*GetSignedInUserForbidden) IsCode

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

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

func (*GetSignedInUserForbidden) IsRedirect

func (o *GetSignedInUserForbidden) IsRedirect() bool

IsRedirect returns true when this get signed in user forbidden response has a 3xx status code

func (*GetSignedInUserForbidden) IsServerError

func (o *GetSignedInUserForbidden) IsServerError() bool

IsServerError returns true when this get signed in user forbidden response has a 5xx status code

func (*GetSignedInUserForbidden) IsSuccess

func (o *GetSignedInUserForbidden) IsSuccess() bool

IsSuccess returns true when this get signed in user forbidden response has a 2xx status code

func (*GetSignedInUserForbidden) String

func (o *GetSignedInUserForbidden) String() string

type GetSignedInUserInternalServerError

type GetSignedInUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetSignedInUserInternalServerError

func NewGetSignedInUserInternalServerError() *GetSignedInUserInternalServerError

NewGetSignedInUserInternalServerError creates a GetSignedInUserInternalServerError with default headers values

func (*GetSignedInUserInternalServerError) Code

Code gets the status code for the get signed in user internal server error response

func (*GetSignedInUserInternalServerError) Error

func (*GetSignedInUserInternalServerError) GetPayload

func (*GetSignedInUserInternalServerError) IsClientError

func (o *GetSignedInUserInternalServerError) IsClientError() bool

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

func (*GetSignedInUserInternalServerError) IsCode

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

func (*GetSignedInUserInternalServerError) IsRedirect

func (o *GetSignedInUserInternalServerError) IsRedirect() bool

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

func (*GetSignedInUserInternalServerError) IsServerError

func (o *GetSignedInUserInternalServerError) IsServerError() bool

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

func (*GetSignedInUserInternalServerError) IsSuccess

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

func (*GetSignedInUserInternalServerError) String

type GetSignedInUserNotFound

type GetSignedInUserNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetSignedInUserNotFound

func NewGetSignedInUserNotFound() *GetSignedInUserNotFound

NewGetSignedInUserNotFound creates a GetSignedInUserNotFound with default headers values

func (*GetSignedInUserNotFound) Code

func (o *GetSignedInUserNotFound) Code() int

Code gets the status code for the get signed in user not found response

func (*GetSignedInUserNotFound) Error

func (o *GetSignedInUserNotFound) Error() string

func (*GetSignedInUserNotFound) GetPayload

func (*GetSignedInUserNotFound) IsClientError

func (o *GetSignedInUserNotFound) IsClientError() bool

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

func (*GetSignedInUserNotFound) IsCode

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

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

func (*GetSignedInUserNotFound) IsRedirect

func (o *GetSignedInUserNotFound) IsRedirect() bool

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

func (*GetSignedInUserNotFound) IsServerError

func (o *GetSignedInUserNotFound) IsServerError() bool

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

func (*GetSignedInUserNotFound) IsSuccess

func (o *GetSignedInUserNotFound) IsSuccess() bool

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

func (*GetSignedInUserNotFound) String

func (o *GetSignedInUserNotFound) String() string

type GetSignedInUserOK

type GetSignedInUserOK struct {
	Payload *models.UserProfileDTO
}

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

(empty)

func NewGetSignedInUserOK

func NewGetSignedInUserOK() *GetSignedInUserOK

NewGetSignedInUserOK creates a GetSignedInUserOK with default headers values

func (*GetSignedInUserOK) Code

func (o *GetSignedInUserOK) Code() int

Code gets the status code for the get signed in user Ok response

func (*GetSignedInUserOK) Error

func (o *GetSignedInUserOK) Error() string

func (*GetSignedInUserOK) GetPayload

func (o *GetSignedInUserOK) GetPayload() *models.UserProfileDTO

func (*GetSignedInUserOK) IsClientError

func (o *GetSignedInUserOK) IsClientError() bool

IsClientError returns true when this get signed in user Ok response has a 4xx status code

func (*GetSignedInUserOK) IsCode

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

IsCode returns true when this get signed in user Ok response a status code equal to that given

func (*GetSignedInUserOK) IsRedirect

func (o *GetSignedInUserOK) IsRedirect() bool

IsRedirect returns true when this get signed in user Ok response has a 3xx status code

func (*GetSignedInUserOK) IsServerError

func (o *GetSignedInUserOK) IsServerError() bool

IsServerError returns true when this get signed in user Ok response has a 5xx status code

func (*GetSignedInUserOK) IsSuccess

func (o *GetSignedInUserOK) IsSuccess() bool

IsSuccess returns true when this get signed in user Ok response has a 2xx status code

func (*GetSignedInUserOK) String

func (o *GetSignedInUserOK) String() string

type GetSignedInUserOrgListForbidden

type GetSignedInUserOrgListForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetSignedInUserOrgListForbidden

func NewGetSignedInUserOrgListForbidden() *GetSignedInUserOrgListForbidden

NewGetSignedInUserOrgListForbidden creates a GetSignedInUserOrgListForbidden with default headers values

func (*GetSignedInUserOrgListForbidden) Code

Code gets the status code for the get signed in user org list forbidden response

func (*GetSignedInUserOrgListForbidden) Error

func (*GetSignedInUserOrgListForbidden) GetPayload

func (*GetSignedInUserOrgListForbidden) IsClientError

func (o *GetSignedInUserOrgListForbidden) IsClientError() bool

IsClientError returns true when this get signed in user org list forbidden response has a 4xx status code

func (*GetSignedInUserOrgListForbidden) IsCode

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

IsCode returns true when this get signed in user org list forbidden response a status code equal to that given

func (*GetSignedInUserOrgListForbidden) IsRedirect

func (o *GetSignedInUserOrgListForbidden) IsRedirect() bool

IsRedirect returns true when this get signed in user org list forbidden response has a 3xx status code

func (*GetSignedInUserOrgListForbidden) IsServerError

func (o *GetSignedInUserOrgListForbidden) IsServerError() bool

IsServerError returns true when this get signed in user org list forbidden response has a 5xx status code

func (*GetSignedInUserOrgListForbidden) IsSuccess

func (o *GetSignedInUserOrgListForbidden) IsSuccess() bool

IsSuccess returns true when this get signed in user org list forbidden response has a 2xx status code

func (*GetSignedInUserOrgListForbidden) String

type GetSignedInUserOrgListInternalServerError

type GetSignedInUserOrgListInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetSignedInUserOrgListInternalServerError

func NewGetSignedInUserOrgListInternalServerError() *GetSignedInUserOrgListInternalServerError

NewGetSignedInUserOrgListInternalServerError creates a GetSignedInUserOrgListInternalServerError with default headers values

func (*GetSignedInUserOrgListInternalServerError) Code

Code gets the status code for the get signed in user org list internal server error response

func (*GetSignedInUserOrgListInternalServerError) Error

func (*GetSignedInUserOrgListInternalServerError) GetPayload

func (*GetSignedInUserOrgListInternalServerError) IsClientError

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

func (*GetSignedInUserOrgListInternalServerError) IsCode

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

func (*GetSignedInUserOrgListInternalServerError) IsRedirect

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

func (*GetSignedInUserOrgListInternalServerError) IsServerError

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

func (*GetSignedInUserOrgListInternalServerError) IsSuccess

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

func (*GetSignedInUserOrgListInternalServerError) String

type GetSignedInUserOrgListOK

type GetSignedInUserOrgListOK struct {
	Payload []*models.UserOrgDTO
}

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

(empty)

func NewGetSignedInUserOrgListOK

func NewGetSignedInUserOrgListOK() *GetSignedInUserOrgListOK

NewGetSignedInUserOrgListOK creates a GetSignedInUserOrgListOK with default headers values

func (*GetSignedInUserOrgListOK) Code

func (o *GetSignedInUserOrgListOK) Code() int

Code gets the status code for the get signed in user org list Ok response

func (*GetSignedInUserOrgListOK) Error

func (o *GetSignedInUserOrgListOK) Error() string

func (*GetSignedInUserOrgListOK) GetPayload

func (o *GetSignedInUserOrgListOK) GetPayload() []*models.UserOrgDTO

func (*GetSignedInUserOrgListOK) IsClientError

func (o *GetSignedInUserOrgListOK) IsClientError() bool

IsClientError returns true when this get signed in user org list Ok response has a 4xx status code

func (*GetSignedInUserOrgListOK) IsCode

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

IsCode returns true when this get signed in user org list Ok response a status code equal to that given

func (*GetSignedInUserOrgListOK) IsRedirect

func (o *GetSignedInUserOrgListOK) IsRedirect() bool

IsRedirect returns true when this get signed in user org list Ok response has a 3xx status code

func (*GetSignedInUserOrgListOK) IsServerError

func (o *GetSignedInUserOrgListOK) IsServerError() bool

IsServerError returns true when this get signed in user org list Ok response has a 5xx status code

func (*GetSignedInUserOrgListOK) IsSuccess

func (o *GetSignedInUserOrgListOK) IsSuccess() bool

IsSuccess returns true when this get signed in user org list Ok response has a 2xx status code

func (*GetSignedInUserOrgListOK) String

func (o *GetSignedInUserOrgListOK) String() string

type GetSignedInUserOrgListParams

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

GetSignedInUserOrgListParams contains all the parameters to send to the API endpoint

for the get signed in user org list operation.

Typically these are written to a http.Request.

func NewGetSignedInUserOrgListParams

func NewGetSignedInUserOrgListParams() *GetSignedInUserOrgListParams

NewGetSignedInUserOrgListParams creates a new GetSignedInUserOrgListParams 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 NewGetSignedInUserOrgListParamsWithContext

func NewGetSignedInUserOrgListParamsWithContext(ctx context.Context) *GetSignedInUserOrgListParams

NewGetSignedInUserOrgListParamsWithContext creates a new GetSignedInUserOrgListParams object with the ability to set a context for a request.

func NewGetSignedInUserOrgListParamsWithHTTPClient

func NewGetSignedInUserOrgListParamsWithHTTPClient(client *http.Client) *GetSignedInUserOrgListParams

NewGetSignedInUserOrgListParamsWithHTTPClient creates a new GetSignedInUserOrgListParams object with the ability to set a custom HTTPClient for a request.

func NewGetSignedInUserOrgListParamsWithTimeout

func NewGetSignedInUserOrgListParamsWithTimeout(timeout time.Duration) *GetSignedInUserOrgListParams

NewGetSignedInUserOrgListParamsWithTimeout creates a new GetSignedInUserOrgListParams object with the ability to set a timeout on a request.

func (*GetSignedInUserOrgListParams) SetContext

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

SetContext adds the context to the get signed in user org list params

func (*GetSignedInUserOrgListParams) SetDefaults

func (o *GetSignedInUserOrgListParams) SetDefaults()

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

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

func (*GetSignedInUserOrgListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get signed in user org list params

func (*GetSignedInUserOrgListParams) SetTimeout

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

SetTimeout adds the timeout to the get signed in user org list params

func (*GetSignedInUserOrgListParams) WithContext

WithContext adds the context to the get signed in user org list params

func (*GetSignedInUserOrgListParams) WithDefaults

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

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

func (*GetSignedInUserOrgListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get signed in user org list params

func (*GetSignedInUserOrgListParams) WithTimeout

WithTimeout adds the timeout to the get signed in user org list params

func (*GetSignedInUserOrgListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSignedInUserOrgListReader

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

GetSignedInUserOrgListReader is a Reader for the GetSignedInUserOrgList structure.

func (*GetSignedInUserOrgListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSignedInUserOrgListUnauthorized

type GetSignedInUserOrgListUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetSignedInUserOrgListUnauthorized

func NewGetSignedInUserOrgListUnauthorized() *GetSignedInUserOrgListUnauthorized

NewGetSignedInUserOrgListUnauthorized creates a GetSignedInUserOrgListUnauthorized with default headers values

func (*GetSignedInUserOrgListUnauthorized) Code

Code gets the status code for the get signed in user org list unauthorized response

func (*GetSignedInUserOrgListUnauthorized) Error

func (*GetSignedInUserOrgListUnauthorized) GetPayload

func (*GetSignedInUserOrgListUnauthorized) IsClientError

func (o *GetSignedInUserOrgListUnauthorized) IsClientError() bool

IsClientError returns true when this get signed in user org list unauthorized response has a 4xx status code

func (*GetSignedInUserOrgListUnauthorized) IsCode

IsCode returns true when this get signed in user org list unauthorized response a status code equal to that given

func (*GetSignedInUserOrgListUnauthorized) IsRedirect

func (o *GetSignedInUserOrgListUnauthorized) IsRedirect() bool

IsRedirect returns true when this get signed in user org list unauthorized response has a 3xx status code

func (*GetSignedInUserOrgListUnauthorized) IsServerError

func (o *GetSignedInUserOrgListUnauthorized) IsServerError() bool

IsServerError returns true when this get signed in user org list unauthorized response has a 5xx status code

func (*GetSignedInUserOrgListUnauthorized) IsSuccess

IsSuccess returns true when this get signed in user org list unauthorized response has a 2xx status code

func (*GetSignedInUserOrgListUnauthorized) String

type GetSignedInUserParams

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

GetSignedInUserParams contains all the parameters to send to the API endpoint

for the get signed in user operation.

Typically these are written to a http.Request.

func NewGetSignedInUserParams

func NewGetSignedInUserParams() *GetSignedInUserParams

NewGetSignedInUserParams creates a new GetSignedInUserParams 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 NewGetSignedInUserParamsWithContext

func NewGetSignedInUserParamsWithContext(ctx context.Context) *GetSignedInUserParams

NewGetSignedInUserParamsWithContext creates a new GetSignedInUserParams object with the ability to set a context for a request.

func NewGetSignedInUserParamsWithHTTPClient

func NewGetSignedInUserParamsWithHTTPClient(client *http.Client) *GetSignedInUserParams

NewGetSignedInUserParamsWithHTTPClient creates a new GetSignedInUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetSignedInUserParamsWithTimeout

func NewGetSignedInUserParamsWithTimeout(timeout time.Duration) *GetSignedInUserParams

NewGetSignedInUserParamsWithTimeout creates a new GetSignedInUserParams object with the ability to set a timeout on a request.

func (*GetSignedInUserParams) SetContext

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

SetContext adds the context to the get signed in user params

func (*GetSignedInUserParams) SetDefaults

func (o *GetSignedInUserParams) SetDefaults()

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

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

func (*GetSignedInUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get signed in user params

func (*GetSignedInUserParams) SetTimeout

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

SetTimeout adds the timeout to the get signed in user params

func (*GetSignedInUserParams) WithContext

WithContext adds the context to the get signed in user params

func (*GetSignedInUserParams) WithDefaults

func (o *GetSignedInUserParams) WithDefaults() *GetSignedInUserParams

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

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

func (*GetSignedInUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get signed in user params

func (*GetSignedInUserParams) WithTimeout

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

WithTimeout adds the timeout to the get signed in user params

func (*GetSignedInUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSignedInUserReader

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

GetSignedInUserReader is a Reader for the GetSignedInUser structure.

func (*GetSignedInUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSignedInUserTeamListForbidden

type GetSignedInUserTeamListForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetSignedInUserTeamListForbidden

func NewGetSignedInUserTeamListForbidden() *GetSignedInUserTeamListForbidden

NewGetSignedInUserTeamListForbidden creates a GetSignedInUserTeamListForbidden with default headers values

func (*GetSignedInUserTeamListForbidden) Code

Code gets the status code for the get signed in user team list forbidden response

func (*GetSignedInUserTeamListForbidden) Error

func (*GetSignedInUserTeamListForbidden) GetPayload

func (*GetSignedInUserTeamListForbidden) IsClientError

func (o *GetSignedInUserTeamListForbidden) IsClientError() bool

IsClientError returns true when this get signed in user team list forbidden response has a 4xx status code

func (*GetSignedInUserTeamListForbidden) IsCode

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

IsCode returns true when this get signed in user team list forbidden response a status code equal to that given

func (*GetSignedInUserTeamListForbidden) IsRedirect

func (o *GetSignedInUserTeamListForbidden) IsRedirect() bool

IsRedirect returns true when this get signed in user team list forbidden response has a 3xx status code

func (*GetSignedInUserTeamListForbidden) IsServerError

func (o *GetSignedInUserTeamListForbidden) IsServerError() bool

IsServerError returns true when this get signed in user team list forbidden response has a 5xx status code

func (*GetSignedInUserTeamListForbidden) IsSuccess

func (o *GetSignedInUserTeamListForbidden) IsSuccess() bool

IsSuccess returns true when this get signed in user team list forbidden response has a 2xx status code

func (*GetSignedInUserTeamListForbidden) String

type GetSignedInUserTeamListInternalServerError

type GetSignedInUserTeamListInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetSignedInUserTeamListInternalServerError

func NewGetSignedInUserTeamListInternalServerError() *GetSignedInUserTeamListInternalServerError

NewGetSignedInUserTeamListInternalServerError creates a GetSignedInUserTeamListInternalServerError with default headers values

func (*GetSignedInUserTeamListInternalServerError) Code

Code gets the status code for the get signed in user team list internal server error response

func (*GetSignedInUserTeamListInternalServerError) Error

func (*GetSignedInUserTeamListInternalServerError) GetPayload

func (*GetSignedInUserTeamListInternalServerError) IsClientError

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

func (*GetSignedInUserTeamListInternalServerError) IsCode

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

func (*GetSignedInUserTeamListInternalServerError) IsRedirect

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

func (*GetSignedInUserTeamListInternalServerError) IsServerError

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

func (*GetSignedInUserTeamListInternalServerError) IsSuccess

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

func (*GetSignedInUserTeamListInternalServerError) String

type GetSignedInUserTeamListOK

type GetSignedInUserTeamListOK struct {
	Payload []*models.TeamDTO
}

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

(empty)

func NewGetSignedInUserTeamListOK

func NewGetSignedInUserTeamListOK() *GetSignedInUserTeamListOK

NewGetSignedInUserTeamListOK creates a GetSignedInUserTeamListOK with default headers values

func (*GetSignedInUserTeamListOK) Code

func (o *GetSignedInUserTeamListOK) Code() int

Code gets the status code for the get signed in user team list Ok response

func (*GetSignedInUserTeamListOK) Error

func (o *GetSignedInUserTeamListOK) Error() string

func (*GetSignedInUserTeamListOK) GetPayload

func (o *GetSignedInUserTeamListOK) GetPayload() []*models.TeamDTO

func (*GetSignedInUserTeamListOK) IsClientError

func (o *GetSignedInUserTeamListOK) IsClientError() bool

IsClientError returns true when this get signed in user team list Ok response has a 4xx status code

func (*GetSignedInUserTeamListOK) IsCode

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

IsCode returns true when this get signed in user team list Ok response a status code equal to that given

func (*GetSignedInUserTeamListOK) IsRedirect

func (o *GetSignedInUserTeamListOK) IsRedirect() bool

IsRedirect returns true when this get signed in user team list Ok response has a 3xx status code

func (*GetSignedInUserTeamListOK) IsServerError

func (o *GetSignedInUserTeamListOK) IsServerError() bool

IsServerError returns true when this get signed in user team list Ok response has a 5xx status code

func (*GetSignedInUserTeamListOK) IsSuccess

func (o *GetSignedInUserTeamListOK) IsSuccess() bool

IsSuccess returns true when this get signed in user team list Ok response has a 2xx status code

func (*GetSignedInUserTeamListOK) String

func (o *GetSignedInUserTeamListOK) String() string

type GetSignedInUserTeamListParams

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

GetSignedInUserTeamListParams contains all the parameters to send to the API endpoint

for the get signed in user team list operation.

Typically these are written to a http.Request.

func NewGetSignedInUserTeamListParams

func NewGetSignedInUserTeamListParams() *GetSignedInUserTeamListParams

NewGetSignedInUserTeamListParams creates a new GetSignedInUserTeamListParams 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 NewGetSignedInUserTeamListParamsWithContext

func NewGetSignedInUserTeamListParamsWithContext(ctx context.Context) *GetSignedInUserTeamListParams

NewGetSignedInUserTeamListParamsWithContext creates a new GetSignedInUserTeamListParams object with the ability to set a context for a request.

func NewGetSignedInUserTeamListParamsWithHTTPClient

func NewGetSignedInUserTeamListParamsWithHTTPClient(client *http.Client) *GetSignedInUserTeamListParams

NewGetSignedInUserTeamListParamsWithHTTPClient creates a new GetSignedInUserTeamListParams object with the ability to set a custom HTTPClient for a request.

func NewGetSignedInUserTeamListParamsWithTimeout

func NewGetSignedInUserTeamListParamsWithTimeout(timeout time.Duration) *GetSignedInUserTeamListParams

NewGetSignedInUserTeamListParamsWithTimeout creates a new GetSignedInUserTeamListParams object with the ability to set a timeout on a request.

func (*GetSignedInUserTeamListParams) SetContext

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

SetContext adds the context to the get signed in user team list params

func (*GetSignedInUserTeamListParams) SetDefaults

func (o *GetSignedInUserTeamListParams) SetDefaults()

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

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

func (*GetSignedInUserTeamListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get signed in user team list params

func (*GetSignedInUserTeamListParams) SetTimeout

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

SetTimeout adds the timeout to the get signed in user team list params

func (*GetSignedInUserTeamListParams) WithContext

WithContext adds the context to the get signed in user team list params

func (*GetSignedInUserTeamListParams) WithDefaults

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

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

func (*GetSignedInUserTeamListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get signed in user team list params

func (*GetSignedInUserTeamListParams) WithTimeout

WithTimeout adds the timeout to the get signed in user team list params

func (*GetSignedInUserTeamListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSignedInUserTeamListReader

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

GetSignedInUserTeamListReader is a Reader for the GetSignedInUserTeamList structure.

func (*GetSignedInUserTeamListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSignedInUserTeamListUnauthorized

type GetSignedInUserTeamListUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetSignedInUserTeamListUnauthorized

func NewGetSignedInUserTeamListUnauthorized() *GetSignedInUserTeamListUnauthorized

NewGetSignedInUserTeamListUnauthorized creates a GetSignedInUserTeamListUnauthorized with default headers values

func (*GetSignedInUserTeamListUnauthorized) Code

Code gets the status code for the get signed in user team list unauthorized response

func (*GetSignedInUserTeamListUnauthorized) Error

func (*GetSignedInUserTeamListUnauthorized) GetPayload

func (*GetSignedInUserTeamListUnauthorized) IsClientError

func (o *GetSignedInUserTeamListUnauthorized) IsClientError() bool

IsClientError returns true when this get signed in user team list unauthorized response has a 4xx status code

func (*GetSignedInUserTeamListUnauthorized) IsCode

IsCode returns true when this get signed in user team list unauthorized response a status code equal to that given

func (*GetSignedInUserTeamListUnauthorized) IsRedirect

func (o *GetSignedInUserTeamListUnauthorized) IsRedirect() bool

IsRedirect returns true when this get signed in user team list unauthorized response has a 3xx status code

func (*GetSignedInUserTeamListUnauthorized) IsServerError

func (o *GetSignedInUserTeamListUnauthorized) IsServerError() bool

IsServerError returns true when this get signed in user team list unauthorized response has a 5xx status code

func (*GetSignedInUserTeamListUnauthorized) IsSuccess

IsSuccess returns true when this get signed in user team list unauthorized response has a 2xx status code

func (*GetSignedInUserTeamListUnauthorized) String

type GetSignedInUserUnauthorized

type GetSignedInUserUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetSignedInUserUnauthorized

func NewGetSignedInUserUnauthorized() *GetSignedInUserUnauthorized

NewGetSignedInUserUnauthorized creates a GetSignedInUserUnauthorized with default headers values

func (*GetSignedInUserUnauthorized) Code

func (o *GetSignedInUserUnauthorized) Code() int

Code gets the status code for the get signed in user unauthorized response

func (*GetSignedInUserUnauthorized) Error

func (*GetSignedInUserUnauthorized) GetPayload

func (*GetSignedInUserUnauthorized) IsClientError

func (o *GetSignedInUserUnauthorized) IsClientError() bool

IsClientError returns true when this get signed in user unauthorized response has a 4xx status code

func (*GetSignedInUserUnauthorized) IsCode

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

IsCode returns true when this get signed in user unauthorized response a status code equal to that given

func (*GetSignedInUserUnauthorized) IsRedirect

func (o *GetSignedInUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get signed in user unauthorized response has a 3xx status code

func (*GetSignedInUserUnauthorized) IsServerError

func (o *GetSignedInUserUnauthorized) IsServerError() bool

IsServerError returns true when this get signed in user unauthorized response has a 5xx status code

func (*GetSignedInUserUnauthorized) IsSuccess

func (o *GetSignedInUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this get signed in user unauthorized response has a 2xx status code

func (*GetSignedInUserUnauthorized) String

func (o *GetSignedInUserUnauthorized) String() string

type GetUserAuthTokensForbidden

type GetUserAuthTokensForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetUserAuthTokensForbidden

func NewGetUserAuthTokensForbidden() *GetUserAuthTokensForbidden

NewGetUserAuthTokensForbidden creates a GetUserAuthTokensForbidden with default headers values

func (*GetUserAuthTokensForbidden) Code

func (o *GetUserAuthTokensForbidden) Code() int

Code gets the status code for the get user auth tokens forbidden response

func (*GetUserAuthTokensForbidden) Error

func (*GetUserAuthTokensForbidden) GetPayload

func (*GetUserAuthTokensForbidden) IsClientError

func (o *GetUserAuthTokensForbidden) IsClientError() bool

IsClientError returns true when this get user auth tokens forbidden response has a 4xx status code

func (*GetUserAuthTokensForbidden) IsCode

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

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

func (*GetUserAuthTokensForbidden) IsRedirect

func (o *GetUserAuthTokensForbidden) IsRedirect() bool

IsRedirect returns true when this get user auth tokens forbidden response has a 3xx status code

func (*GetUserAuthTokensForbidden) IsServerError

func (o *GetUserAuthTokensForbidden) IsServerError() bool

IsServerError returns true when this get user auth tokens forbidden response has a 5xx status code

func (*GetUserAuthTokensForbidden) IsSuccess

func (o *GetUserAuthTokensForbidden) IsSuccess() bool

IsSuccess returns true when this get user auth tokens forbidden response has a 2xx status code

func (*GetUserAuthTokensForbidden) String

func (o *GetUserAuthTokensForbidden) String() string

type GetUserAuthTokensInternalServerError

type GetUserAuthTokensInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetUserAuthTokensInternalServerError

func NewGetUserAuthTokensInternalServerError() *GetUserAuthTokensInternalServerError

NewGetUserAuthTokensInternalServerError creates a GetUserAuthTokensInternalServerError with default headers values

func (*GetUserAuthTokensInternalServerError) Code

Code gets the status code for the get user auth tokens internal server error response

func (*GetUserAuthTokensInternalServerError) Error

func (*GetUserAuthTokensInternalServerError) GetPayload

func (*GetUserAuthTokensInternalServerError) IsClientError

func (o *GetUserAuthTokensInternalServerError) IsClientError() bool

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

func (*GetUserAuthTokensInternalServerError) IsCode

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

func (*GetUserAuthTokensInternalServerError) IsRedirect

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

func (*GetUserAuthTokensInternalServerError) IsServerError

func (o *GetUserAuthTokensInternalServerError) IsServerError() bool

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

func (*GetUserAuthTokensInternalServerError) IsSuccess

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

func (*GetUserAuthTokensInternalServerError) String

type GetUserAuthTokensOK

type GetUserAuthTokensOK struct {
	Payload []*models.UserToken
}

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

(empty)

func NewGetUserAuthTokensOK

func NewGetUserAuthTokensOK() *GetUserAuthTokensOK

NewGetUserAuthTokensOK creates a GetUserAuthTokensOK with default headers values

func (*GetUserAuthTokensOK) Code

func (o *GetUserAuthTokensOK) Code() int

Code gets the status code for the get user auth tokens Ok response

func (*GetUserAuthTokensOK) Error

func (o *GetUserAuthTokensOK) Error() string

func (*GetUserAuthTokensOK) GetPayload

func (o *GetUserAuthTokensOK) GetPayload() []*models.UserToken

func (*GetUserAuthTokensOK) IsClientError

func (o *GetUserAuthTokensOK) IsClientError() bool

IsClientError returns true when this get user auth tokens Ok response has a 4xx status code

func (*GetUserAuthTokensOK) IsCode

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

IsCode returns true when this get user auth tokens Ok response a status code equal to that given

func (*GetUserAuthTokensOK) IsRedirect

func (o *GetUserAuthTokensOK) IsRedirect() bool

IsRedirect returns true when this get user auth tokens Ok response has a 3xx status code

func (*GetUserAuthTokensOK) IsServerError

func (o *GetUserAuthTokensOK) IsServerError() bool

IsServerError returns true when this get user auth tokens Ok response has a 5xx status code

func (*GetUserAuthTokensOK) IsSuccess

func (o *GetUserAuthTokensOK) IsSuccess() bool

IsSuccess returns true when this get user auth tokens Ok response has a 2xx status code

func (*GetUserAuthTokensOK) String

func (o *GetUserAuthTokensOK) String() string

type GetUserAuthTokensParams

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

GetUserAuthTokensParams contains all the parameters to send to the API endpoint

for the get user auth tokens operation.

Typically these are written to a http.Request.

func NewGetUserAuthTokensParams

func NewGetUserAuthTokensParams() *GetUserAuthTokensParams

NewGetUserAuthTokensParams creates a new GetUserAuthTokensParams 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 NewGetUserAuthTokensParamsWithContext

func NewGetUserAuthTokensParamsWithContext(ctx context.Context) *GetUserAuthTokensParams

NewGetUserAuthTokensParamsWithContext creates a new GetUserAuthTokensParams object with the ability to set a context for a request.

func NewGetUserAuthTokensParamsWithHTTPClient

func NewGetUserAuthTokensParamsWithHTTPClient(client *http.Client) *GetUserAuthTokensParams

NewGetUserAuthTokensParamsWithHTTPClient creates a new GetUserAuthTokensParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserAuthTokensParamsWithTimeout

func NewGetUserAuthTokensParamsWithTimeout(timeout time.Duration) *GetUserAuthTokensParams

NewGetUserAuthTokensParamsWithTimeout creates a new GetUserAuthTokensParams object with the ability to set a timeout on a request.

func (*GetUserAuthTokensParams) SetContext

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

SetContext adds the context to the get user auth tokens params

func (*GetUserAuthTokensParams) SetDefaults

func (o *GetUserAuthTokensParams) SetDefaults()

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

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

func (*GetUserAuthTokensParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user auth tokens params

func (*GetUserAuthTokensParams) SetTimeout

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

SetTimeout adds the timeout to the get user auth tokens params

func (*GetUserAuthTokensParams) WithContext

WithContext adds the context to the get user auth tokens params

func (*GetUserAuthTokensParams) WithDefaults

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

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

func (*GetUserAuthTokensParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user auth tokens params

func (*GetUserAuthTokensParams) WithTimeout

WithTimeout adds the timeout to the get user auth tokens params

func (*GetUserAuthTokensParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserAuthTokensReader

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

GetUserAuthTokensReader is a Reader for the GetUserAuthTokens structure.

func (*GetUserAuthTokensReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserAuthTokensUnauthorized

type GetUserAuthTokensUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetUserAuthTokensUnauthorized

func NewGetUserAuthTokensUnauthorized() *GetUserAuthTokensUnauthorized

NewGetUserAuthTokensUnauthorized creates a GetUserAuthTokensUnauthorized with default headers values

func (*GetUserAuthTokensUnauthorized) Code

Code gets the status code for the get user auth tokens unauthorized response

func (*GetUserAuthTokensUnauthorized) Error

func (*GetUserAuthTokensUnauthorized) GetPayload

func (*GetUserAuthTokensUnauthorized) IsClientError

func (o *GetUserAuthTokensUnauthorized) IsClientError() bool

IsClientError returns true when this get user auth tokens unauthorized response has a 4xx status code

func (*GetUserAuthTokensUnauthorized) IsCode

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

IsCode returns true when this get user auth tokens unauthorized response a status code equal to that given

func (*GetUserAuthTokensUnauthorized) IsRedirect

func (o *GetUserAuthTokensUnauthorized) IsRedirect() bool

IsRedirect returns true when this get user auth tokens unauthorized response has a 3xx status code

func (*GetUserAuthTokensUnauthorized) IsServerError

func (o *GetUserAuthTokensUnauthorized) IsServerError() bool

IsServerError returns true when this get user auth tokens unauthorized response has a 5xx status code

func (*GetUserAuthTokensUnauthorized) IsSuccess

func (o *GetUserAuthTokensUnauthorized) IsSuccess() bool

IsSuccess returns true when this get user auth tokens unauthorized response has a 2xx status code

func (*GetUserAuthTokensUnauthorized) String

type GetUserQuotasForbidden

type GetUserQuotasForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetUserQuotasForbidden

func NewGetUserQuotasForbidden() *GetUserQuotasForbidden

NewGetUserQuotasForbidden creates a GetUserQuotasForbidden with default headers values

func (*GetUserQuotasForbidden) Code

func (o *GetUserQuotasForbidden) Code() int

Code gets the status code for the get user quotas forbidden response

func (*GetUserQuotasForbidden) Error

func (o *GetUserQuotasForbidden) Error() string

func (*GetUserQuotasForbidden) GetPayload

func (*GetUserQuotasForbidden) IsClientError

func (o *GetUserQuotasForbidden) IsClientError() bool

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

func (*GetUserQuotasForbidden) IsCode

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

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

func (*GetUserQuotasForbidden) IsRedirect

func (o *GetUserQuotasForbidden) IsRedirect() bool

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

func (*GetUserQuotasForbidden) IsServerError

func (o *GetUserQuotasForbidden) IsServerError() bool

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

func (*GetUserQuotasForbidden) IsSuccess

func (o *GetUserQuotasForbidden) IsSuccess() bool

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

func (*GetUserQuotasForbidden) String

func (o *GetUserQuotasForbidden) String() string

type GetUserQuotasInternalServerError

type GetUserQuotasInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetUserQuotasInternalServerError

func NewGetUserQuotasInternalServerError() *GetUserQuotasInternalServerError

NewGetUserQuotasInternalServerError creates a GetUserQuotasInternalServerError with default headers values

func (*GetUserQuotasInternalServerError) Code

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

func (*GetUserQuotasInternalServerError) Error

func (*GetUserQuotasInternalServerError) GetPayload

func (*GetUserQuotasInternalServerError) IsClientError

func (o *GetUserQuotasInternalServerError) IsClientError() bool

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

func (*GetUserQuotasInternalServerError) IsCode

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

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

func (*GetUserQuotasInternalServerError) IsRedirect

func (o *GetUserQuotasInternalServerError) IsRedirect() bool

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

func (*GetUserQuotasInternalServerError) IsServerError

func (o *GetUserQuotasInternalServerError) IsServerError() bool

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

func (*GetUserQuotasInternalServerError) IsSuccess

func (o *GetUserQuotasInternalServerError) IsSuccess() bool

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

func (*GetUserQuotasInternalServerError) String

type GetUserQuotasNotFound

type GetUserQuotasNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetUserQuotasNotFound

func NewGetUserQuotasNotFound() *GetUserQuotasNotFound

NewGetUserQuotasNotFound creates a GetUserQuotasNotFound with default headers values

func (*GetUserQuotasNotFound) Code

func (o *GetUserQuotasNotFound) Code() int

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

func (*GetUserQuotasNotFound) Error

func (o *GetUserQuotasNotFound) Error() string

func (*GetUserQuotasNotFound) GetPayload

func (*GetUserQuotasNotFound) IsClientError

func (o *GetUserQuotasNotFound) IsClientError() bool

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

func (*GetUserQuotasNotFound) IsCode

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

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

func (*GetUserQuotasNotFound) IsRedirect

func (o *GetUserQuotasNotFound) IsRedirect() bool

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

func (*GetUserQuotasNotFound) IsServerError

func (o *GetUserQuotasNotFound) IsServerError() bool

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

func (*GetUserQuotasNotFound) IsSuccess

func (o *GetUserQuotasNotFound) IsSuccess() bool

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

func (*GetUserQuotasNotFound) String

func (o *GetUserQuotasNotFound) String() string

type GetUserQuotasOK

type GetUserQuotasOK struct {
	Payload []*models.QuotaDTO
}

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

(empty)

func NewGetUserQuotasOK

func NewGetUserQuotasOK() *GetUserQuotasOK

NewGetUserQuotasOK creates a GetUserQuotasOK with default headers values

func (*GetUserQuotasOK) Code

func (o *GetUserQuotasOK) Code() int

Code gets the status code for the get user quotas Ok response

func (*GetUserQuotasOK) Error

func (o *GetUserQuotasOK) Error() string

func (*GetUserQuotasOK) GetPayload

func (o *GetUserQuotasOK) GetPayload() []*models.QuotaDTO

func (*GetUserQuotasOK) IsClientError

func (o *GetUserQuotasOK) IsClientError() bool

IsClientError returns true when this get user quotas Ok response has a 4xx status code

func (*GetUserQuotasOK) IsCode

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

IsCode returns true when this get user quotas Ok response a status code equal to that given

func (*GetUserQuotasOK) IsRedirect

func (o *GetUserQuotasOK) IsRedirect() bool

IsRedirect returns true when this get user quotas Ok response has a 3xx status code

func (*GetUserQuotasOK) IsServerError

func (o *GetUserQuotasOK) IsServerError() bool

IsServerError returns true when this get user quotas Ok response has a 5xx status code

func (*GetUserQuotasOK) IsSuccess

func (o *GetUserQuotasOK) IsSuccess() bool

IsSuccess returns true when this get user quotas Ok response has a 2xx status code

func (*GetUserQuotasOK) String

func (o *GetUserQuotasOK) String() string

type GetUserQuotasParams

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

GetUserQuotasParams contains all the parameters to send to the API endpoint

for the get user quotas operation.

Typically these are written to a http.Request.

func NewGetUserQuotasParams

func NewGetUserQuotasParams() *GetUserQuotasParams

NewGetUserQuotasParams creates a new GetUserQuotasParams 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 NewGetUserQuotasParamsWithContext

func NewGetUserQuotasParamsWithContext(ctx context.Context) *GetUserQuotasParams

NewGetUserQuotasParamsWithContext creates a new GetUserQuotasParams object with the ability to set a context for a request.

func NewGetUserQuotasParamsWithHTTPClient

func NewGetUserQuotasParamsWithHTTPClient(client *http.Client) *GetUserQuotasParams

NewGetUserQuotasParamsWithHTTPClient creates a new GetUserQuotasParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserQuotasParamsWithTimeout

func NewGetUserQuotasParamsWithTimeout(timeout time.Duration) *GetUserQuotasParams

NewGetUserQuotasParamsWithTimeout creates a new GetUserQuotasParams object with the ability to set a timeout on a request.

func (*GetUserQuotasParams) SetContext

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

SetContext adds the context to the get user quotas params

func (*GetUserQuotasParams) SetDefaults

func (o *GetUserQuotasParams) SetDefaults()

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

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

func (*GetUserQuotasParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user quotas params

func (*GetUserQuotasParams) SetTimeout

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

SetTimeout adds the timeout to the get user quotas params

func (*GetUserQuotasParams) WithContext

WithContext adds the context to the get user quotas params

func (*GetUserQuotasParams) WithDefaults

func (o *GetUserQuotasParams) WithDefaults() *GetUserQuotasParams

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

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

func (*GetUserQuotasParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user quotas params

func (*GetUserQuotasParams) WithTimeout

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

WithTimeout adds the timeout to the get user quotas params

func (*GetUserQuotasParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserQuotasReader

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

GetUserQuotasReader is a Reader for the GetUserQuotas structure.

func (*GetUserQuotasReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserQuotasUnauthorized

type GetUserQuotasUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetUserQuotasUnauthorized

func NewGetUserQuotasUnauthorized() *GetUserQuotasUnauthorized

NewGetUserQuotasUnauthorized creates a GetUserQuotasUnauthorized with default headers values

func (*GetUserQuotasUnauthorized) Code

func (o *GetUserQuotasUnauthorized) Code() int

Code gets the status code for the get user quotas unauthorized response

func (*GetUserQuotasUnauthorized) Error

func (o *GetUserQuotasUnauthorized) Error() string

func (*GetUserQuotasUnauthorized) GetPayload

func (*GetUserQuotasUnauthorized) IsClientError

func (o *GetUserQuotasUnauthorized) IsClientError() bool

IsClientError returns true when this get user quotas unauthorized response has a 4xx status code

func (*GetUserQuotasUnauthorized) IsCode

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

IsCode returns true when this get user quotas unauthorized response a status code equal to that given

func (*GetUserQuotasUnauthorized) IsRedirect

func (o *GetUserQuotasUnauthorized) IsRedirect() bool

IsRedirect returns true when this get user quotas unauthorized response has a 3xx status code

func (*GetUserQuotasUnauthorized) IsServerError

func (o *GetUserQuotasUnauthorized) IsServerError() bool

IsServerError returns true when this get user quotas unauthorized response has a 5xx status code

func (*GetUserQuotasUnauthorized) IsSuccess

func (o *GetUserQuotasUnauthorized) IsSuccess() bool

IsSuccess returns true when this get user quotas unauthorized response has a 2xx status code

func (*GetUserQuotasUnauthorized) String

func (o *GetUserQuotasUnauthorized) String() string

type RevokeUserAuthTokenBadRequest

type RevokeUserAuthTokenBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewRevokeUserAuthTokenBadRequest

func NewRevokeUserAuthTokenBadRequest() *RevokeUserAuthTokenBadRequest

NewRevokeUserAuthTokenBadRequest creates a RevokeUserAuthTokenBadRequest with default headers values

func (*RevokeUserAuthTokenBadRequest) Code

Code gets the status code for the revoke user auth token bad request response

func (*RevokeUserAuthTokenBadRequest) Error

func (*RevokeUserAuthTokenBadRequest) GetPayload

func (*RevokeUserAuthTokenBadRequest) IsClientError

func (o *RevokeUserAuthTokenBadRequest) IsClientError() bool

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

func (*RevokeUserAuthTokenBadRequest) IsCode

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

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

func (*RevokeUserAuthTokenBadRequest) IsRedirect

func (o *RevokeUserAuthTokenBadRequest) IsRedirect() bool

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

func (*RevokeUserAuthTokenBadRequest) IsServerError

func (o *RevokeUserAuthTokenBadRequest) IsServerError() bool

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

func (*RevokeUserAuthTokenBadRequest) IsSuccess

func (o *RevokeUserAuthTokenBadRequest) IsSuccess() bool

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

func (*RevokeUserAuthTokenBadRequest) String

type RevokeUserAuthTokenForbidden

type RevokeUserAuthTokenForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewRevokeUserAuthTokenForbidden

func NewRevokeUserAuthTokenForbidden() *RevokeUserAuthTokenForbidden

NewRevokeUserAuthTokenForbidden creates a RevokeUserAuthTokenForbidden with default headers values

func (*RevokeUserAuthTokenForbidden) Code

Code gets the status code for the revoke user auth token forbidden response

func (*RevokeUserAuthTokenForbidden) Error

func (*RevokeUserAuthTokenForbidden) GetPayload

func (*RevokeUserAuthTokenForbidden) IsClientError

func (o *RevokeUserAuthTokenForbidden) IsClientError() bool

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

func (*RevokeUserAuthTokenForbidden) IsCode

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

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

func (*RevokeUserAuthTokenForbidden) IsRedirect

func (o *RevokeUserAuthTokenForbidden) IsRedirect() bool

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

func (*RevokeUserAuthTokenForbidden) IsServerError

func (o *RevokeUserAuthTokenForbidden) IsServerError() bool

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

func (*RevokeUserAuthTokenForbidden) IsSuccess

func (o *RevokeUserAuthTokenForbidden) IsSuccess() bool

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

func (*RevokeUserAuthTokenForbidden) String

type RevokeUserAuthTokenInternalServerError

type RevokeUserAuthTokenInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewRevokeUserAuthTokenInternalServerError

func NewRevokeUserAuthTokenInternalServerError() *RevokeUserAuthTokenInternalServerError

NewRevokeUserAuthTokenInternalServerError creates a RevokeUserAuthTokenInternalServerError with default headers values

func (*RevokeUserAuthTokenInternalServerError) Code

Code gets the status code for the revoke user auth token internal server error response

func (*RevokeUserAuthTokenInternalServerError) Error

func (*RevokeUserAuthTokenInternalServerError) GetPayload

func (*RevokeUserAuthTokenInternalServerError) IsClientError

func (o *RevokeUserAuthTokenInternalServerError) IsClientError() bool

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

func (*RevokeUserAuthTokenInternalServerError) IsCode

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

func (*RevokeUserAuthTokenInternalServerError) IsRedirect

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

func (*RevokeUserAuthTokenInternalServerError) IsServerError

func (o *RevokeUserAuthTokenInternalServerError) IsServerError() bool

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

func (*RevokeUserAuthTokenInternalServerError) IsSuccess

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

func (*RevokeUserAuthTokenInternalServerError) String

type RevokeUserAuthTokenOK

type RevokeUserAuthTokenOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewRevokeUserAuthTokenOK

func NewRevokeUserAuthTokenOK() *RevokeUserAuthTokenOK

NewRevokeUserAuthTokenOK creates a RevokeUserAuthTokenOK with default headers values

func (*RevokeUserAuthTokenOK) Code

func (o *RevokeUserAuthTokenOK) Code() int

Code gets the status code for the revoke user auth token Ok response

func (*RevokeUserAuthTokenOK) Error

func (o *RevokeUserAuthTokenOK) Error() string

func (*RevokeUserAuthTokenOK) GetPayload

func (*RevokeUserAuthTokenOK) IsClientError

func (o *RevokeUserAuthTokenOK) IsClientError() bool

IsClientError returns true when this revoke user auth token Ok response has a 4xx status code

func (*RevokeUserAuthTokenOK) IsCode

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

IsCode returns true when this revoke user auth token Ok response a status code equal to that given

func (*RevokeUserAuthTokenOK) IsRedirect

func (o *RevokeUserAuthTokenOK) IsRedirect() bool

IsRedirect returns true when this revoke user auth token Ok response has a 3xx status code

func (*RevokeUserAuthTokenOK) IsServerError

func (o *RevokeUserAuthTokenOK) IsServerError() bool

IsServerError returns true when this revoke user auth token Ok response has a 5xx status code

func (*RevokeUserAuthTokenOK) IsSuccess

func (o *RevokeUserAuthTokenOK) IsSuccess() bool

IsSuccess returns true when this revoke user auth token Ok response has a 2xx status code

func (*RevokeUserAuthTokenOK) String

func (o *RevokeUserAuthTokenOK) String() string

type RevokeUserAuthTokenParams

type RevokeUserAuthTokenParams struct {

	// Body.
	Body *models.RevokeAuthTokenCmd

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

RevokeUserAuthTokenParams contains all the parameters to send to the API endpoint

for the revoke user auth token operation.

Typically these are written to a http.Request.

func NewRevokeUserAuthTokenParams

func NewRevokeUserAuthTokenParams() *RevokeUserAuthTokenParams

NewRevokeUserAuthTokenParams creates a new RevokeUserAuthTokenParams 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 NewRevokeUserAuthTokenParamsWithContext

func NewRevokeUserAuthTokenParamsWithContext(ctx context.Context) *RevokeUserAuthTokenParams

NewRevokeUserAuthTokenParamsWithContext creates a new RevokeUserAuthTokenParams object with the ability to set a context for a request.

func NewRevokeUserAuthTokenParamsWithHTTPClient

func NewRevokeUserAuthTokenParamsWithHTTPClient(client *http.Client) *RevokeUserAuthTokenParams

NewRevokeUserAuthTokenParamsWithHTTPClient creates a new RevokeUserAuthTokenParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeUserAuthTokenParamsWithTimeout

func NewRevokeUserAuthTokenParamsWithTimeout(timeout time.Duration) *RevokeUserAuthTokenParams

NewRevokeUserAuthTokenParamsWithTimeout creates a new RevokeUserAuthTokenParams object with the ability to set a timeout on a request.

func (*RevokeUserAuthTokenParams) SetBody

SetBody adds the body to the revoke user auth token params

func (*RevokeUserAuthTokenParams) SetContext

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

SetContext adds the context to the revoke user auth token params

func (*RevokeUserAuthTokenParams) SetDefaults

func (o *RevokeUserAuthTokenParams) SetDefaults()

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

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

func (*RevokeUserAuthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke user auth token params

func (*RevokeUserAuthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the revoke user auth token params

func (*RevokeUserAuthTokenParams) WithBody

WithBody adds the body to the revoke user auth token params

func (*RevokeUserAuthTokenParams) WithContext

WithContext adds the context to the revoke user auth token params

func (*RevokeUserAuthTokenParams) WithDefaults

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

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

func (*RevokeUserAuthTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke user auth token params

func (*RevokeUserAuthTokenParams) WithTimeout

WithTimeout adds the timeout to the revoke user auth token params

func (*RevokeUserAuthTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeUserAuthTokenReader

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

RevokeUserAuthTokenReader is a Reader for the RevokeUserAuthToken structure.

func (*RevokeUserAuthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeUserAuthTokenUnauthorized

type RevokeUserAuthTokenUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewRevokeUserAuthTokenUnauthorized

func NewRevokeUserAuthTokenUnauthorized() *RevokeUserAuthTokenUnauthorized

NewRevokeUserAuthTokenUnauthorized creates a RevokeUserAuthTokenUnauthorized with default headers values

func (*RevokeUserAuthTokenUnauthorized) Code

Code gets the status code for the revoke user auth token unauthorized response

func (*RevokeUserAuthTokenUnauthorized) Error

func (*RevokeUserAuthTokenUnauthorized) GetPayload

func (*RevokeUserAuthTokenUnauthorized) IsClientError

func (o *RevokeUserAuthTokenUnauthorized) IsClientError() bool

IsClientError returns true when this revoke user auth token unauthorized response has a 4xx status code

func (*RevokeUserAuthTokenUnauthorized) IsCode

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

IsCode returns true when this revoke user auth token unauthorized response a status code equal to that given

func (*RevokeUserAuthTokenUnauthorized) IsRedirect

func (o *RevokeUserAuthTokenUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke user auth token unauthorized response has a 3xx status code

func (*RevokeUserAuthTokenUnauthorized) IsServerError

func (o *RevokeUserAuthTokenUnauthorized) IsServerError() bool

IsServerError returns true when this revoke user auth token unauthorized response has a 5xx status code

func (*RevokeUserAuthTokenUnauthorized) IsSuccess

func (o *RevokeUserAuthTokenUnauthorized) IsSuccess() bool

IsSuccess returns true when this revoke user auth token unauthorized response has a 2xx status code

func (*RevokeUserAuthTokenUnauthorized) String

type SetHelpFlagForbidden

type SetHelpFlagForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewSetHelpFlagForbidden

func NewSetHelpFlagForbidden() *SetHelpFlagForbidden

NewSetHelpFlagForbidden creates a SetHelpFlagForbidden with default headers values

func (*SetHelpFlagForbidden) Code

func (o *SetHelpFlagForbidden) Code() int

Code gets the status code for the set help flag forbidden response

func (*SetHelpFlagForbidden) Error

func (o *SetHelpFlagForbidden) Error() string

func (*SetHelpFlagForbidden) GetPayload

func (*SetHelpFlagForbidden) IsClientError

func (o *SetHelpFlagForbidden) IsClientError() bool

IsClientError returns true when this set help flag forbidden response has a 4xx status code

func (*SetHelpFlagForbidden) IsCode

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

IsCode returns true when this set help flag forbidden response a status code equal to that given

func (*SetHelpFlagForbidden) IsRedirect

func (o *SetHelpFlagForbidden) IsRedirect() bool

IsRedirect returns true when this set help flag forbidden response has a 3xx status code

func (*SetHelpFlagForbidden) IsServerError

func (o *SetHelpFlagForbidden) IsServerError() bool

IsServerError returns true when this set help flag forbidden response has a 5xx status code

func (*SetHelpFlagForbidden) IsSuccess

func (o *SetHelpFlagForbidden) IsSuccess() bool

IsSuccess returns true when this set help flag forbidden response has a 2xx status code

func (*SetHelpFlagForbidden) String

func (o *SetHelpFlagForbidden) String() string

type SetHelpFlagInternalServerError

type SetHelpFlagInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewSetHelpFlagInternalServerError

func NewSetHelpFlagInternalServerError() *SetHelpFlagInternalServerError

NewSetHelpFlagInternalServerError creates a SetHelpFlagInternalServerError with default headers values

func (*SetHelpFlagInternalServerError) Code

Code gets the status code for the set help flag internal server error response

func (*SetHelpFlagInternalServerError) Error

func (*SetHelpFlagInternalServerError) GetPayload

func (*SetHelpFlagInternalServerError) IsClientError

func (o *SetHelpFlagInternalServerError) IsClientError() bool

IsClientError returns true when this set help flag internal server error response has a 4xx status code

func (*SetHelpFlagInternalServerError) IsCode

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

IsCode returns true when this set help flag internal server error response a status code equal to that given

func (*SetHelpFlagInternalServerError) IsRedirect

func (o *SetHelpFlagInternalServerError) IsRedirect() bool

IsRedirect returns true when this set help flag internal server error response has a 3xx status code

func (*SetHelpFlagInternalServerError) IsServerError

func (o *SetHelpFlagInternalServerError) IsServerError() bool

IsServerError returns true when this set help flag internal server error response has a 5xx status code

func (*SetHelpFlagInternalServerError) IsSuccess

func (o *SetHelpFlagInternalServerError) IsSuccess() bool

IsSuccess returns true when this set help flag internal server error response has a 2xx status code

func (*SetHelpFlagInternalServerError) String

type SetHelpFlagOK

type SetHelpFlagOK struct {
	Payload *models.SetHelpFlagOKBody
}

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

(empty)

func NewSetHelpFlagOK

func NewSetHelpFlagOK() *SetHelpFlagOK

NewSetHelpFlagOK creates a SetHelpFlagOK with default headers values

func (*SetHelpFlagOK) Code

func (o *SetHelpFlagOK) Code() int

Code gets the status code for the set help flag Ok response

func (*SetHelpFlagOK) Error

func (o *SetHelpFlagOK) Error() string

func (*SetHelpFlagOK) GetPayload

func (o *SetHelpFlagOK) GetPayload() *models.SetHelpFlagOKBody

func (*SetHelpFlagOK) IsClientError

func (o *SetHelpFlagOK) IsClientError() bool

IsClientError returns true when this set help flag Ok response has a 4xx status code

func (*SetHelpFlagOK) IsCode

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

IsCode returns true when this set help flag Ok response a status code equal to that given

func (*SetHelpFlagOK) IsRedirect

func (o *SetHelpFlagOK) IsRedirect() bool

IsRedirect returns true when this set help flag Ok response has a 3xx status code

func (*SetHelpFlagOK) IsServerError

func (o *SetHelpFlagOK) IsServerError() bool

IsServerError returns true when this set help flag Ok response has a 5xx status code

func (*SetHelpFlagOK) IsSuccess

func (o *SetHelpFlagOK) IsSuccess() bool

IsSuccess returns true when this set help flag Ok response has a 2xx status code

func (*SetHelpFlagOK) String

func (o *SetHelpFlagOK) String() string

type SetHelpFlagParams

type SetHelpFlagParams struct {

	// FlagID.
	FlagID string

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

SetHelpFlagParams contains all the parameters to send to the API endpoint

for the set help flag operation.

Typically these are written to a http.Request.

func NewSetHelpFlagParams

func NewSetHelpFlagParams() *SetHelpFlagParams

NewSetHelpFlagParams creates a new SetHelpFlagParams 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 NewSetHelpFlagParamsWithContext

func NewSetHelpFlagParamsWithContext(ctx context.Context) *SetHelpFlagParams

NewSetHelpFlagParamsWithContext creates a new SetHelpFlagParams object with the ability to set a context for a request.

func NewSetHelpFlagParamsWithHTTPClient

func NewSetHelpFlagParamsWithHTTPClient(client *http.Client) *SetHelpFlagParams

NewSetHelpFlagParamsWithHTTPClient creates a new SetHelpFlagParams object with the ability to set a custom HTTPClient for a request.

func NewSetHelpFlagParamsWithTimeout

func NewSetHelpFlagParamsWithTimeout(timeout time.Duration) *SetHelpFlagParams

NewSetHelpFlagParamsWithTimeout creates a new SetHelpFlagParams object with the ability to set a timeout on a request.

func (*SetHelpFlagParams) SetContext

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

SetContext adds the context to the set help flag params

func (*SetHelpFlagParams) SetDefaults

func (o *SetHelpFlagParams) SetDefaults()

SetDefaults hydrates default values in the set help flag params (not the query body).

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

func (*SetHelpFlagParams) SetFlagID

func (o *SetHelpFlagParams) SetFlagID(flagID string)

SetFlagID adds the flagId to the set help flag params

func (*SetHelpFlagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set help flag params

func (*SetHelpFlagParams) SetTimeout

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

SetTimeout adds the timeout to the set help flag params

func (*SetHelpFlagParams) WithContext

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

WithContext adds the context to the set help flag params

func (*SetHelpFlagParams) WithDefaults

func (o *SetHelpFlagParams) WithDefaults() *SetHelpFlagParams

WithDefaults hydrates default values in the set help flag params (not the query body).

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

func (*SetHelpFlagParams) WithFlagID

func (o *SetHelpFlagParams) WithFlagID(flagID string) *SetHelpFlagParams

WithFlagID adds the flagID to the set help flag params

func (*SetHelpFlagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set help flag params

func (*SetHelpFlagParams) WithTimeout

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

WithTimeout adds the timeout to the set help flag params

func (*SetHelpFlagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SetHelpFlagReader

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

SetHelpFlagReader is a Reader for the SetHelpFlag structure.

func (*SetHelpFlagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetHelpFlagUnauthorized

type SetHelpFlagUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewSetHelpFlagUnauthorized

func NewSetHelpFlagUnauthorized() *SetHelpFlagUnauthorized

NewSetHelpFlagUnauthorized creates a SetHelpFlagUnauthorized with default headers values

func (*SetHelpFlagUnauthorized) Code

func (o *SetHelpFlagUnauthorized) Code() int

Code gets the status code for the set help flag unauthorized response

func (*SetHelpFlagUnauthorized) Error

func (o *SetHelpFlagUnauthorized) Error() string

func (*SetHelpFlagUnauthorized) GetPayload

func (*SetHelpFlagUnauthorized) IsClientError

func (o *SetHelpFlagUnauthorized) IsClientError() bool

IsClientError returns true when this set help flag unauthorized response has a 4xx status code

func (*SetHelpFlagUnauthorized) IsCode

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

IsCode returns true when this set help flag unauthorized response a status code equal to that given

func (*SetHelpFlagUnauthorized) IsRedirect

func (o *SetHelpFlagUnauthorized) IsRedirect() bool

IsRedirect returns true when this set help flag unauthorized response has a 3xx status code

func (*SetHelpFlagUnauthorized) IsServerError

func (o *SetHelpFlagUnauthorized) IsServerError() bool

IsServerError returns true when this set help flag unauthorized response has a 5xx status code

func (*SetHelpFlagUnauthorized) IsSuccess

func (o *SetHelpFlagUnauthorized) IsSuccess() bool

IsSuccess returns true when this set help flag unauthorized response has a 2xx status code

func (*SetHelpFlagUnauthorized) String

func (o *SetHelpFlagUnauthorized) String() string

type StarDashboardBadRequest

type StarDashboardBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewStarDashboardBadRequest

func NewStarDashboardBadRequest() *StarDashboardBadRequest

NewStarDashboardBadRequest creates a StarDashboardBadRequest with default headers values

func (*StarDashboardBadRequest) Code

func (o *StarDashboardBadRequest) Code() int

Code gets the status code for the star dashboard bad request response

func (*StarDashboardBadRequest) Error

func (o *StarDashboardBadRequest) Error() string

func (*StarDashboardBadRequest) GetPayload

func (*StarDashboardBadRequest) IsClientError

func (o *StarDashboardBadRequest) IsClientError() bool

IsClientError returns true when this star dashboard bad request response has a 4xx status code

func (*StarDashboardBadRequest) IsCode

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

IsCode returns true when this star dashboard bad request response a status code equal to that given

func (*StarDashboardBadRequest) IsRedirect

func (o *StarDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this star dashboard bad request response has a 3xx status code

func (*StarDashboardBadRequest) IsServerError

func (o *StarDashboardBadRequest) IsServerError() bool

IsServerError returns true when this star dashboard bad request response has a 5xx status code

func (*StarDashboardBadRequest) IsSuccess

func (o *StarDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this star dashboard bad request response has a 2xx status code

func (*StarDashboardBadRequest) String

func (o *StarDashboardBadRequest) String() string

type StarDashboardByUIDBadRequest

type StarDashboardByUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewStarDashboardByUIDBadRequest

func NewStarDashboardByUIDBadRequest() *StarDashboardByUIDBadRequest

NewStarDashboardByUIDBadRequest creates a StarDashboardByUIDBadRequest with default headers values

func (*StarDashboardByUIDBadRequest) Code

Code gets the status code for the star dashboard by Uid bad request response

func (*StarDashboardByUIDBadRequest) Error

func (*StarDashboardByUIDBadRequest) GetPayload

func (*StarDashboardByUIDBadRequest) IsClientError

func (o *StarDashboardByUIDBadRequest) IsClientError() bool

IsClientError returns true when this star dashboard by Uid bad request response has a 4xx status code

func (*StarDashboardByUIDBadRequest) IsCode

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

IsCode returns true when this star dashboard by Uid bad request response a status code equal to that given

func (*StarDashboardByUIDBadRequest) IsRedirect

func (o *StarDashboardByUIDBadRequest) IsRedirect() bool

IsRedirect returns true when this star dashboard by Uid bad request response has a 3xx status code

func (*StarDashboardByUIDBadRequest) IsServerError

func (o *StarDashboardByUIDBadRequest) IsServerError() bool

IsServerError returns true when this star dashboard by Uid bad request response has a 5xx status code

func (*StarDashboardByUIDBadRequest) IsSuccess

func (o *StarDashboardByUIDBadRequest) IsSuccess() bool

IsSuccess returns true when this star dashboard by Uid bad request response has a 2xx status code

func (*StarDashboardByUIDBadRequest) String

type StarDashboardByUIDForbidden

type StarDashboardByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewStarDashboardByUIDForbidden

func NewStarDashboardByUIDForbidden() *StarDashboardByUIDForbidden

NewStarDashboardByUIDForbidden creates a StarDashboardByUIDForbidden with default headers values

func (*StarDashboardByUIDForbidden) Code

func (o *StarDashboardByUIDForbidden) Code() int

Code gets the status code for the star dashboard by Uid forbidden response

func (*StarDashboardByUIDForbidden) Error

func (*StarDashboardByUIDForbidden) GetPayload

func (*StarDashboardByUIDForbidden) IsClientError

func (o *StarDashboardByUIDForbidden) IsClientError() bool

IsClientError returns true when this star dashboard by Uid forbidden response has a 4xx status code

func (*StarDashboardByUIDForbidden) IsCode

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

IsCode returns true when this star dashboard by Uid forbidden response a status code equal to that given

func (*StarDashboardByUIDForbidden) IsRedirect

func (o *StarDashboardByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this star dashboard by Uid forbidden response has a 3xx status code

func (*StarDashboardByUIDForbidden) IsServerError

func (o *StarDashboardByUIDForbidden) IsServerError() bool

IsServerError returns true when this star dashboard by Uid forbidden response has a 5xx status code

func (*StarDashboardByUIDForbidden) IsSuccess

func (o *StarDashboardByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this star dashboard by Uid forbidden response has a 2xx status code

func (*StarDashboardByUIDForbidden) String

func (o *StarDashboardByUIDForbidden) String() string

type StarDashboardByUIDInternalServerError

type StarDashboardByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewStarDashboardByUIDInternalServerError

func NewStarDashboardByUIDInternalServerError() *StarDashboardByUIDInternalServerError

NewStarDashboardByUIDInternalServerError creates a StarDashboardByUIDInternalServerError with default headers values

func (*StarDashboardByUIDInternalServerError) Code

Code gets the status code for the star dashboard by Uid internal server error response

func (*StarDashboardByUIDInternalServerError) Error

func (*StarDashboardByUIDInternalServerError) GetPayload

func (*StarDashboardByUIDInternalServerError) IsClientError

func (o *StarDashboardByUIDInternalServerError) IsClientError() bool

IsClientError returns true when this star dashboard by Uid internal server error response has a 4xx status code

func (*StarDashboardByUIDInternalServerError) IsCode

IsCode returns true when this star dashboard by Uid internal server error response a status code equal to that given

func (*StarDashboardByUIDInternalServerError) IsRedirect

IsRedirect returns true when this star dashboard by Uid internal server error response has a 3xx status code

func (*StarDashboardByUIDInternalServerError) IsServerError

func (o *StarDashboardByUIDInternalServerError) IsServerError() bool

IsServerError returns true when this star dashboard by Uid internal server error response has a 5xx status code

func (*StarDashboardByUIDInternalServerError) IsSuccess

IsSuccess returns true when this star dashboard by Uid internal server error response has a 2xx status code

func (*StarDashboardByUIDInternalServerError) String

type StarDashboardByUIDOK

type StarDashboardByUIDOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewStarDashboardByUIDOK

func NewStarDashboardByUIDOK() *StarDashboardByUIDOK

NewStarDashboardByUIDOK creates a StarDashboardByUIDOK with default headers values

func (*StarDashboardByUIDOK) Code

func (o *StarDashboardByUIDOK) Code() int

Code gets the status code for the star dashboard by Uid Ok response

func (*StarDashboardByUIDOK) Error

func (o *StarDashboardByUIDOK) Error() string

func (*StarDashboardByUIDOK) GetPayload

func (*StarDashboardByUIDOK) IsClientError

func (o *StarDashboardByUIDOK) IsClientError() bool

IsClientError returns true when this star dashboard by Uid Ok response has a 4xx status code

func (*StarDashboardByUIDOK) IsCode

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

IsCode returns true when this star dashboard by Uid Ok response a status code equal to that given

func (*StarDashboardByUIDOK) IsRedirect

func (o *StarDashboardByUIDOK) IsRedirect() bool

IsRedirect returns true when this star dashboard by Uid Ok response has a 3xx status code

func (*StarDashboardByUIDOK) IsServerError

func (o *StarDashboardByUIDOK) IsServerError() bool

IsServerError returns true when this star dashboard by Uid Ok response has a 5xx status code

func (*StarDashboardByUIDOK) IsSuccess

func (o *StarDashboardByUIDOK) IsSuccess() bool

IsSuccess returns true when this star dashboard by Uid Ok response has a 2xx status code

func (*StarDashboardByUIDOK) String

func (o *StarDashboardByUIDOK) String() string

type StarDashboardByUIDParams

type StarDashboardByUIDParams struct {

	// DashboardUID.
	DashboardUID string

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

StarDashboardByUIDParams contains all the parameters to send to the API endpoint

for the star dashboard by UID operation.

Typically these are written to a http.Request.

func NewStarDashboardByUIDParams

func NewStarDashboardByUIDParams() *StarDashboardByUIDParams

NewStarDashboardByUIDParams creates a new StarDashboardByUIDParams 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 NewStarDashboardByUIDParamsWithContext

func NewStarDashboardByUIDParamsWithContext(ctx context.Context) *StarDashboardByUIDParams

NewStarDashboardByUIDParamsWithContext creates a new StarDashboardByUIDParams object with the ability to set a context for a request.

func NewStarDashboardByUIDParamsWithHTTPClient

func NewStarDashboardByUIDParamsWithHTTPClient(client *http.Client) *StarDashboardByUIDParams

NewStarDashboardByUIDParamsWithHTTPClient creates a new StarDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewStarDashboardByUIDParamsWithTimeout

func NewStarDashboardByUIDParamsWithTimeout(timeout time.Duration) *StarDashboardByUIDParams

NewStarDashboardByUIDParamsWithTimeout creates a new StarDashboardByUIDParams object with the ability to set a timeout on a request.

func (*StarDashboardByUIDParams) SetContext

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

SetContext adds the context to the star dashboard by UID params

func (*StarDashboardByUIDParams) SetDashboardUID

func (o *StarDashboardByUIDParams) SetDashboardUID(dashboardUID string)

SetDashboardUID adds the dashboardUid to the star dashboard by UID params

func (*StarDashboardByUIDParams) SetDefaults

func (o *StarDashboardByUIDParams) SetDefaults()

SetDefaults hydrates default values in the star dashboard by UID params (not the query body).

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

func (*StarDashboardByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the star dashboard by UID params

func (*StarDashboardByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the star dashboard by UID params

func (*StarDashboardByUIDParams) WithContext

WithContext adds the context to the star dashboard by UID params

func (*StarDashboardByUIDParams) WithDashboardUID

func (o *StarDashboardByUIDParams) WithDashboardUID(dashboardUID string) *StarDashboardByUIDParams

WithDashboardUID adds the dashboardUID to the star dashboard by UID params

func (*StarDashboardByUIDParams) WithDefaults

WithDefaults hydrates default values in the star dashboard by UID params (not the query body).

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

func (*StarDashboardByUIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the star dashboard by UID params

func (*StarDashboardByUIDParams) WithTimeout

WithTimeout adds the timeout to the star dashboard by UID params

func (*StarDashboardByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StarDashboardByUIDReader

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

StarDashboardByUIDReader is a Reader for the StarDashboardByUID structure.

func (*StarDashboardByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StarDashboardByUIDUnauthorized

type StarDashboardByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewStarDashboardByUIDUnauthorized

func NewStarDashboardByUIDUnauthorized() *StarDashboardByUIDUnauthorized

NewStarDashboardByUIDUnauthorized creates a StarDashboardByUIDUnauthorized with default headers values

func (*StarDashboardByUIDUnauthorized) Code

Code gets the status code for the star dashboard by Uid unauthorized response

func (*StarDashboardByUIDUnauthorized) Error

func (*StarDashboardByUIDUnauthorized) GetPayload

func (*StarDashboardByUIDUnauthorized) IsClientError

func (o *StarDashboardByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this star dashboard by Uid unauthorized response has a 4xx status code

func (*StarDashboardByUIDUnauthorized) IsCode

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

IsCode returns true when this star dashboard by Uid unauthorized response a status code equal to that given

func (*StarDashboardByUIDUnauthorized) IsRedirect

func (o *StarDashboardByUIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this star dashboard by Uid unauthorized response has a 3xx status code

func (*StarDashboardByUIDUnauthorized) IsServerError

func (o *StarDashboardByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this star dashboard by Uid unauthorized response has a 5xx status code

func (*StarDashboardByUIDUnauthorized) IsSuccess

func (o *StarDashboardByUIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this star dashboard by Uid unauthorized response has a 2xx status code

func (*StarDashboardByUIDUnauthorized) String

type StarDashboardForbidden

type StarDashboardForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewStarDashboardForbidden

func NewStarDashboardForbidden() *StarDashboardForbidden

NewStarDashboardForbidden creates a StarDashboardForbidden with default headers values

func (*StarDashboardForbidden) Code

func (o *StarDashboardForbidden) Code() int

Code gets the status code for the star dashboard forbidden response

func (*StarDashboardForbidden) Error

func (o *StarDashboardForbidden) Error() string

func (*StarDashboardForbidden) GetPayload

func (*StarDashboardForbidden) IsClientError

func (o *StarDashboardForbidden) IsClientError() bool

IsClientError returns true when this star dashboard forbidden response has a 4xx status code

func (*StarDashboardForbidden) IsCode

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

IsCode returns true when this star dashboard forbidden response a status code equal to that given

func (*StarDashboardForbidden) IsRedirect

func (o *StarDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this star dashboard forbidden response has a 3xx status code

func (*StarDashboardForbidden) IsServerError

func (o *StarDashboardForbidden) IsServerError() bool

IsServerError returns true when this star dashboard forbidden response has a 5xx status code

func (*StarDashboardForbidden) IsSuccess

func (o *StarDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this star dashboard forbidden response has a 2xx status code

func (*StarDashboardForbidden) String

func (o *StarDashboardForbidden) String() string

type StarDashboardInternalServerError

type StarDashboardInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewStarDashboardInternalServerError

func NewStarDashboardInternalServerError() *StarDashboardInternalServerError

NewStarDashboardInternalServerError creates a StarDashboardInternalServerError with default headers values

func (*StarDashboardInternalServerError) Code

Code gets the status code for the star dashboard internal server error response

func (*StarDashboardInternalServerError) Error

func (*StarDashboardInternalServerError) GetPayload

func (*StarDashboardInternalServerError) IsClientError

func (o *StarDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this star dashboard internal server error response has a 4xx status code

func (*StarDashboardInternalServerError) IsCode

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

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

func (*StarDashboardInternalServerError) IsRedirect

func (o *StarDashboardInternalServerError) IsRedirect() bool

IsRedirect returns true when this star dashboard internal server error response has a 3xx status code

func (*StarDashboardInternalServerError) IsServerError

func (o *StarDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this star dashboard internal server error response has a 5xx status code

func (*StarDashboardInternalServerError) IsSuccess

func (o *StarDashboardInternalServerError) IsSuccess() bool

IsSuccess returns true when this star dashboard internal server error response has a 2xx status code

func (*StarDashboardInternalServerError) String

type StarDashboardOK

type StarDashboardOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewStarDashboardOK

func NewStarDashboardOK() *StarDashboardOK

NewStarDashboardOK creates a StarDashboardOK with default headers values

func (*StarDashboardOK) Code

func (o *StarDashboardOK) Code() int

Code gets the status code for the star dashboard Ok response

func (*StarDashboardOK) Error

func (o *StarDashboardOK) Error() string

func (*StarDashboardOK) GetPayload

func (o *StarDashboardOK) GetPayload() *models.SuccessResponseBody

func (*StarDashboardOK) IsClientError

func (o *StarDashboardOK) IsClientError() bool

IsClientError returns true when this star dashboard Ok response has a 4xx status code

func (*StarDashboardOK) IsCode

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

IsCode returns true when this star dashboard Ok response a status code equal to that given

func (*StarDashboardOK) IsRedirect

func (o *StarDashboardOK) IsRedirect() bool

IsRedirect returns true when this star dashboard Ok response has a 3xx status code

func (*StarDashboardOK) IsServerError

func (o *StarDashboardOK) IsServerError() bool

IsServerError returns true when this star dashboard Ok response has a 5xx status code

func (*StarDashboardOK) IsSuccess

func (o *StarDashboardOK) IsSuccess() bool

IsSuccess returns true when this star dashboard Ok response has a 2xx status code

func (*StarDashboardOK) String

func (o *StarDashboardOK) String() string

type StarDashboardParams

type StarDashboardParams struct {

	// DashboardID.
	DashboardID string

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

StarDashboardParams contains all the parameters to send to the API endpoint

for the star dashboard operation.

Typically these are written to a http.Request.

func NewStarDashboardParams

func NewStarDashboardParams() *StarDashboardParams

NewStarDashboardParams creates a new StarDashboardParams 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 NewStarDashboardParamsWithContext

func NewStarDashboardParamsWithContext(ctx context.Context) *StarDashboardParams

NewStarDashboardParamsWithContext creates a new StarDashboardParams object with the ability to set a context for a request.

func NewStarDashboardParamsWithHTTPClient

func NewStarDashboardParamsWithHTTPClient(client *http.Client) *StarDashboardParams

NewStarDashboardParamsWithHTTPClient creates a new StarDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewStarDashboardParamsWithTimeout

func NewStarDashboardParamsWithTimeout(timeout time.Duration) *StarDashboardParams

NewStarDashboardParamsWithTimeout creates a new StarDashboardParams object with the ability to set a timeout on a request.

func (*StarDashboardParams) SetContext

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

SetContext adds the context to the star dashboard params

func (*StarDashboardParams) SetDashboardID

func (o *StarDashboardParams) SetDashboardID(dashboardID string)

SetDashboardID adds the dashboardId to the star dashboard params

func (*StarDashboardParams) SetDefaults

func (o *StarDashboardParams) SetDefaults()

SetDefaults hydrates default values in the star dashboard params (not the query body).

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

func (*StarDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the star dashboard params

func (*StarDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the star dashboard params

func (*StarDashboardParams) WithContext

WithContext adds the context to the star dashboard params

func (*StarDashboardParams) WithDashboardID

func (o *StarDashboardParams) WithDashboardID(dashboardID string) *StarDashboardParams

WithDashboardID adds the dashboardID to the star dashboard params

func (*StarDashboardParams) WithDefaults

func (o *StarDashboardParams) WithDefaults() *StarDashboardParams

WithDefaults hydrates default values in the star dashboard params (not the query body).

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

func (*StarDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the star dashboard params

func (*StarDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the star dashboard params

func (*StarDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StarDashboardReader

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

StarDashboardReader is a Reader for the StarDashboard structure.

func (*StarDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StarDashboardUnauthorized

type StarDashboardUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewStarDashboardUnauthorized

func NewStarDashboardUnauthorized() *StarDashboardUnauthorized

NewStarDashboardUnauthorized creates a StarDashboardUnauthorized with default headers values

func (*StarDashboardUnauthorized) Code

func (o *StarDashboardUnauthorized) Code() int

Code gets the status code for the star dashboard unauthorized response

func (*StarDashboardUnauthorized) Error

func (o *StarDashboardUnauthorized) Error() string

func (*StarDashboardUnauthorized) GetPayload

func (*StarDashboardUnauthorized) IsClientError

func (o *StarDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this star dashboard unauthorized response has a 4xx status code

func (*StarDashboardUnauthorized) IsCode

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

IsCode returns true when this star dashboard unauthorized response a status code equal to that given

func (*StarDashboardUnauthorized) IsRedirect

func (o *StarDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this star dashboard unauthorized response has a 3xx status code

func (*StarDashboardUnauthorized) IsServerError

func (o *StarDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this star dashboard unauthorized response has a 5xx status code

func (*StarDashboardUnauthorized) IsSuccess

func (o *StarDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this star dashboard unauthorized response has a 2xx status code

func (*StarDashboardUnauthorized) String

func (o *StarDashboardUnauthorized) String() string

type UnstarDashboardBadRequest

type UnstarDashboardBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewUnstarDashboardBadRequest

func NewUnstarDashboardBadRequest() *UnstarDashboardBadRequest

NewUnstarDashboardBadRequest creates a UnstarDashboardBadRequest with default headers values

func (*UnstarDashboardBadRequest) Code

func (o *UnstarDashboardBadRequest) Code() int

Code gets the status code for the unstar dashboard bad request response

func (*UnstarDashboardBadRequest) Error

func (o *UnstarDashboardBadRequest) Error() string

func (*UnstarDashboardBadRequest) GetPayload

func (*UnstarDashboardBadRequest) IsClientError

func (o *UnstarDashboardBadRequest) IsClientError() bool

IsClientError returns true when this unstar dashboard bad request response has a 4xx status code

func (*UnstarDashboardBadRequest) IsCode

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

IsCode returns true when this unstar dashboard bad request response a status code equal to that given

func (*UnstarDashboardBadRequest) IsRedirect

func (o *UnstarDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this unstar dashboard bad request response has a 3xx status code

func (*UnstarDashboardBadRequest) IsServerError

func (o *UnstarDashboardBadRequest) IsServerError() bool

IsServerError returns true when this unstar dashboard bad request response has a 5xx status code

func (*UnstarDashboardBadRequest) IsSuccess

func (o *UnstarDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this unstar dashboard bad request response has a 2xx status code

func (*UnstarDashboardBadRequest) String

func (o *UnstarDashboardBadRequest) String() string

type UnstarDashboardByUIDBadRequest

type UnstarDashboardByUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewUnstarDashboardByUIDBadRequest

func NewUnstarDashboardByUIDBadRequest() *UnstarDashboardByUIDBadRequest

NewUnstarDashboardByUIDBadRequest creates a UnstarDashboardByUIDBadRequest with default headers values

func (*UnstarDashboardByUIDBadRequest) Code

Code gets the status code for the unstar dashboard by Uid bad request response

func (*UnstarDashboardByUIDBadRequest) Error

func (*UnstarDashboardByUIDBadRequest) GetPayload

func (*UnstarDashboardByUIDBadRequest) IsClientError

func (o *UnstarDashboardByUIDBadRequest) IsClientError() bool

IsClientError returns true when this unstar dashboard by Uid bad request response has a 4xx status code

func (*UnstarDashboardByUIDBadRequest) IsCode

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

IsCode returns true when this unstar dashboard by Uid bad request response a status code equal to that given

func (*UnstarDashboardByUIDBadRequest) IsRedirect

func (o *UnstarDashboardByUIDBadRequest) IsRedirect() bool

IsRedirect returns true when this unstar dashboard by Uid bad request response has a 3xx status code

func (*UnstarDashboardByUIDBadRequest) IsServerError

func (o *UnstarDashboardByUIDBadRequest) IsServerError() bool

IsServerError returns true when this unstar dashboard by Uid bad request response has a 5xx status code

func (*UnstarDashboardByUIDBadRequest) IsSuccess

func (o *UnstarDashboardByUIDBadRequest) IsSuccess() bool

IsSuccess returns true when this unstar dashboard by Uid bad request response has a 2xx status code

func (*UnstarDashboardByUIDBadRequest) String

type UnstarDashboardByUIDForbidden

type UnstarDashboardByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUnstarDashboardByUIDForbidden

func NewUnstarDashboardByUIDForbidden() *UnstarDashboardByUIDForbidden

NewUnstarDashboardByUIDForbidden creates a UnstarDashboardByUIDForbidden with default headers values

func (*UnstarDashboardByUIDForbidden) Code

Code gets the status code for the unstar dashboard by Uid forbidden response

func (*UnstarDashboardByUIDForbidden) Error

func (*UnstarDashboardByUIDForbidden) GetPayload

func (*UnstarDashboardByUIDForbidden) IsClientError

func (o *UnstarDashboardByUIDForbidden) IsClientError() bool

IsClientError returns true when this unstar dashboard by Uid forbidden response has a 4xx status code

func (*UnstarDashboardByUIDForbidden) IsCode

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

IsCode returns true when this unstar dashboard by Uid forbidden response a status code equal to that given

func (*UnstarDashboardByUIDForbidden) IsRedirect

func (o *UnstarDashboardByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this unstar dashboard by Uid forbidden response has a 3xx status code

func (*UnstarDashboardByUIDForbidden) IsServerError

func (o *UnstarDashboardByUIDForbidden) IsServerError() bool

IsServerError returns true when this unstar dashboard by Uid forbidden response has a 5xx status code

func (*UnstarDashboardByUIDForbidden) IsSuccess

func (o *UnstarDashboardByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this unstar dashboard by Uid forbidden response has a 2xx status code

func (*UnstarDashboardByUIDForbidden) String

type UnstarDashboardByUIDInternalServerError

type UnstarDashboardByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUnstarDashboardByUIDInternalServerError

func NewUnstarDashboardByUIDInternalServerError() *UnstarDashboardByUIDInternalServerError

NewUnstarDashboardByUIDInternalServerError creates a UnstarDashboardByUIDInternalServerError with default headers values

func (*UnstarDashboardByUIDInternalServerError) Code

Code gets the status code for the unstar dashboard by Uid internal server error response

func (*UnstarDashboardByUIDInternalServerError) Error

func (*UnstarDashboardByUIDInternalServerError) GetPayload

func (*UnstarDashboardByUIDInternalServerError) IsClientError

func (o *UnstarDashboardByUIDInternalServerError) IsClientError() bool

IsClientError returns true when this unstar dashboard by Uid internal server error response has a 4xx status code

func (*UnstarDashboardByUIDInternalServerError) IsCode

IsCode returns true when this unstar dashboard by Uid internal server error response a status code equal to that given

func (*UnstarDashboardByUIDInternalServerError) IsRedirect

IsRedirect returns true when this unstar dashboard by Uid internal server error response has a 3xx status code

func (*UnstarDashboardByUIDInternalServerError) IsServerError

func (o *UnstarDashboardByUIDInternalServerError) IsServerError() bool

IsServerError returns true when this unstar dashboard by Uid internal server error response has a 5xx status code

func (*UnstarDashboardByUIDInternalServerError) IsSuccess

IsSuccess returns true when this unstar dashboard by Uid internal server error response has a 2xx status code

func (*UnstarDashboardByUIDInternalServerError) String

type UnstarDashboardByUIDOK

type UnstarDashboardByUIDOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUnstarDashboardByUIDOK

func NewUnstarDashboardByUIDOK() *UnstarDashboardByUIDOK

NewUnstarDashboardByUIDOK creates a UnstarDashboardByUIDOK with default headers values

func (*UnstarDashboardByUIDOK) Code

func (o *UnstarDashboardByUIDOK) Code() int

Code gets the status code for the unstar dashboard by Uid Ok response

func (*UnstarDashboardByUIDOK) Error

func (o *UnstarDashboardByUIDOK) Error() string

func (*UnstarDashboardByUIDOK) GetPayload

func (*UnstarDashboardByUIDOK) IsClientError

func (o *UnstarDashboardByUIDOK) IsClientError() bool

IsClientError returns true when this unstar dashboard by Uid Ok response has a 4xx status code

func (*UnstarDashboardByUIDOK) IsCode

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

IsCode returns true when this unstar dashboard by Uid Ok response a status code equal to that given

func (*UnstarDashboardByUIDOK) IsRedirect

func (o *UnstarDashboardByUIDOK) IsRedirect() bool

IsRedirect returns true when this unstar dashboard by Uid Ok response has a 3xx status code

func (*UnstarDashboardByUIDOK) IsServerError

func (o *UnstarDashboardByUIDOK) IsServerError() bool

IsServerError returns true when this unstar dashboard by Uid Ok response has a 5xx status code

func (*UnstarDashboardByUIDOK) IsSuccess

func (o *UnstarDashboardByUIDOK) IsSuccess() bool

IsSuccess returns true when this unstar dashboard by Uid Ok response has a 2xx status code

func (*UnstarDashboardByUIDOK) String

func (o *UnstarDashboardByUIDOK) String() string

type UnstarDashboardByUIDParams

type UnstarDashboardByUIDParams struct {

	// DashboardUID.
	DashboardUID string

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

UnstarDashboardByUIDParams contains all the parameters to send to the API endpoint

for the unstar dashboard by UID operation.

Typically these are written to a http.Request.

func NewUnstarDashboardByUIDParams

func NewUnstarDashboardByUIDParams() *UnstarDashboardByUIDParams

NewUnstarDashboardByUIDParams creates a new UnstarDashboardByUIDParams 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 NewUnstarDashboardByUIDParamsWithContext

func NewUnstarDashboardByUIDParamsWithContext(ctx context.Context) *UnstarDashboardByUIDParams

NewUnstarDashboardByUIDParamsWithContext creates a new UnstarDashboardByUIDParams object with the ability to set a context for a request.

func NewUnstarDashboardByUIDParamsWithHTTPClient

func NewUnstarDashboardByUIDParamsWithHTTPClient(client *http.Client) *UnstarDashboardByUIDParams

NewUnstarDashboardByUIDParamsWithHTTPClient creates a new UnstarDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewUnstarDashboardByUIDParamsWithTimeout

func NewUnstarDashboardByUIDParamsWithTimeout(timeout time.Duration) *UnstarDashboardByUIDParams

NewUnstarDashboardByUIDParamsWithTimeout creates a new UnstarDashboardByUIDParams object with the ability to set a timeout on a request.

func (*UnstarDashboardByUIDParams) SetContext

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

SetContext adds the context to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) SetDashboardUID

func (o *UnstarDashboardByUIDParams) SetDashboardUID(dashboardUID string)

SetDashboardUID adds the dashboardUid to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) SetDefaults

func (o *UnstarDashboardByUIDParams) SetDefaults()

SetDefaults hydrates default values in the unstar dashboard by UID params (not the query body).

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

func (*UnstarDashboardByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) WithContext

WithContext adds the context to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) WithDashboardUID

func (o *UnstarDashboardByUIDParams) WithDashboardUID(dashboardUID string) *UnstarDashboardByUIDParams

WithDashboardUID adds the dashboardUID to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) WithDefaults

WithDefaults hydrates default values in the unstar dashboard by UID params (not the query body).

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

func (*UnstarDashboardByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) WithTimeout

WithTimeout adds the timeout to the unstar dashboard by UID params

func (*UnstarDashboardByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnstarDashboardByUIDReader

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

UnstarDashboardByUIDReader is a Reader for the UnstarDashboardByUID structure.

func (*UnstarDashboardByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnstarDashboardByUIDUnauthorized

type UnstarDashboardByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUnstarDashboardByUIDUnauthorized

func NewUnstarDashboardByUIDUnauthorized() *UnstarDashboardByUIDUnauthorized

NewUnstarDashboardByUIDUnauthorized creates a UnstarDashboardByUIDUnauthorized with default headers values

func (*UnstarDashboardByUIDUnauthorized) Code

Code gets the status code for the unstar dashboard by Uid unauthorized response

func (*UnstarDashboardByUIDUnauthorized) Error

func (*UnstarDashboardByUIDUnauthorized) GetPayload

func (*UnstarDashboardByUIDUnauthorized) IsClientError

func (o *UnstarDashboardByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this unstar dashboard by Uid unauthorized response has a 4xx status code

func (*UnstarDashboardByUIDUnauthorized) IsCode

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

IsCode returns true when this unstar dashboard by Uid unauthorized response a status code equal to that given

func (*UnstarDashboardByUIDUnauthorized) IsRedirect

func (o *UnstarDashboardByUIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this unstar dashboard by Uid unauthorized response has a 3xx status code

func (*UnstarDashboardByUIDUnauthorized) IsServerError

func (o *UnstarDashboardByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this unstar dashboard by Uid unauthorized response has a 5xx status code

func (*UnstarDashboardByUIDUnauthorized) IsSuccess

func (o *UnstarDashboardByUIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this unstar dashboard by Uid unauthorized response has a 2xx status code

func (*UnstarDashboardByUIDUnauthorized) String

type UnstarDashboardForbidden

type UnstarDashboardForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUnstarDashboardForbidden

func NewUnstarDashboardForbidden() *UnstarDashboardForbidden

NewUnstarDashboardForbidden creates a UnstarDashboardForbidden with default headers values

func (*UnstarDashboardForbidden) Code

func (o *UnstarDashboardForbidden) Code() int

Code gets the status code for the unstar dashboard forbidden response

func (*UnstarDashboardForbidden) Error

func (o *UnstarDashboardForbidden) Error() string

func (*UnstarDashboardForbidden) GetPayload

func (*UnstarDashboardForbidden) IsClientError

func (o *UnstarDashboardForbidden) IsClientError() bool

IsClientError returns true when this unstar dashboard forbidden response has a 4xx status code

func (*UnstarDashboardForbidden) IsCode

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

IsCode returns true when this unstar dashboard forbidden response a status code equal to that given

func (*UnstarDashboardForbidden) IsRedirect

func (o *UnstarDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this unstar dashboard forbidden response has a 3xx status code

func (*UnstarDashboardForbidden) IsServerError

func (o *UnstarDashboardForbidden) IsServerError() bool

IsServerError returns true when this unstar dashboard forbidden response has a 5xx status code

func (*UnstarDashboardForbidden) IsSuccess

func (o *UnstarDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this unstar dashboard forbidden response has a 2xx status code

func (*UnstarDashboardForbidden) String

func (o *UnstarDashboardForbidden) String() string

type UnstarDashboardInternalServerError

type UnstarDashboardInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUnstarDashboardInternalServerError

func NewUnstarDashboardInternalServerError() *UnstarDashboardInternalServerError

NewUnstarDashboardInternalServerError creates a UnstarDashboardInternalServerError with default headers values

func (*UnstarDashboardInternalServerError) Code

Code gets the status code for the unstar dashboard internal server error response

func (*UnstarDashboardInternalServerError) Error

func (*UnstarDashboardInternalServerError) GetPayload

func (*UnstarDashboardInternalServerError) IsClientError

func (o *UnstarDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this unstar dashboard internal server error response has a 4xx status code

func (*UnstarDashboardInternalServerError) IsCode

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

func (*UnstarDashboardInternalServerError) IsRedirect

func (o *UnstarDashboardInternalServerError) IsRedirect() bool

IsRedirect returns true when this unstar dashboard internal server error response has a 3xx status code

func (*UnstarDashboardInternalServerError) IsServerError

func (o *UnstarDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this unstar dashboard internal server error response has a 5xx status code

func (*UnstarDashboardInternalServerError) IsSuccess

IsSuccess returns true when this unstar dashboard internal server error response has a 2xx status code

func (*UnstarDashboardInternalServerError) String

type UnstarDashboardOK

type UnstarDashboardOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUnstarDashboardOK

func NewUnstarDashboardOK() *UnstarDashboardOK

NewUnstarDashboardOK creates a UnstarDashboardOK with default headers values

func (*UnstarDashboardOK) Code

func (o *UnstarDashboardOK) Code() int

Code gets the status code for the unstar dashboard Ok response

func (*UnstarDashboardOK) Error

func (o *UnstarDashboardOK) Error() string

func (*UnstarDashboardOK) GetPayload

func (o *UnstarDashboardOK) GetPayload() *models.SuccessResponseBody

func (*UnstarDashboardOK) IsClientError

func (o *UnstarDashboardOK) IsClientError() bool

IsClientError returns true when this unstar dashboard Ok response has a 4xx status code

func (*UnstarDashboardOK) IsCode

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

IsCode returns true when this unstar dashboard Ok response a status code equal to that given

func (*UnstarDashboardOK) IsRedirect

func (o *UnstarDashboardOK) IsRedirect() bool

IsRedirect returns true when this unstar dashboard Ok response has a 3xx status code

func (*UnstarDashboardOK) IsServerError

func (o *UnstarDashboardOK) IsServerError() bool

IsServerError returns true when this unstar dashboard Ok response has a 5xx status code

func (*UnstarDashboardOK) IsSuccess

func (o *UnstarDashboardOK) IsSuccess() bool

IsSuccess returns true when this unstar dashboard Ok response has a 2xx status code

func (*UnstarDashboardOK) String

func (o *UnstarDashboardOK) String() string

type UnstarDashboardParams

type UnstarDashboardParams struct {

	// DashboardID.
	DashboardID string

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

UnstarDashboardParams contains all the parameters to send to the API endpoint

for the unstar dashboard operation.

Typically these are written to a http.Request.

func NewUnstarDashboardParams

func NewUnstarDashboardParams() *UnstarDashboardParams

NewUnstarDashboardParams creates a new UnstarDashboardParams 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 NewUnstarDashboardParamsWithContext

func NewUnstarDashboardParamsWithContext(ctx context.Context) *UnstarDashboardParams

NewUnstarDashboardParamsWithContext creates a new UnstarDashboardParams object with the ability to set a context for a request.

func NewUnstarDashboardParamsWithHTTPClient

func NewUnstarDashboardParamsWithHTTPClient(client *http.Client) *UnstarDashboardParams

NewUnstarDashboardParamsWithHTTPClient creates a new UnstarDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewUnstarDashboardParamsWithTimeout

func NewUnstarDashboardParamsWithTimeout(timeout time.Duration) *UnstarDashboardParams

NewUnstarDashboardParamsWithTimeout creates a new UnstarDashboardParams object with the ability to set a timeout on a request.

func (*UnstarDashboardParams) SetContext

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

SetContext adds the context to the unstar dashboard params

func (*UnstarDashboardParams) SetDashboardID

func (o *UnstarDashboardParams) SetDashboardID(dashboardID string)

SetDashboardID adds the dashboardId to the unstar dashboard params

func (*UnstarDashboardParams) SetDefaults

func (o *UnstarDashboardParams) SetDefaults()

SetDefaults hydrates default values in the unstar dashboard params (not the query body).

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

func (*UnstarDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unstar dashboard params

func (*UnstarDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the unstar dashboard params

func (*UnstarDashboardParams) WithContext

WithContext adds the context to the unstar dashboard params

func (*UnstarDashboardParams) WithDashboardID

func (o *UnstarDashboardParams) WithDashboardID(dashboardID string) *UnstarDashboardParams

WithDashboardID adds the dashboardID to the unstar dashboard params

func (*UnstarDashboardParams) WithDefaults

func (o *UnstarDashboardParams) WithDefaults() *UnstarDashboardParams

WithDefaults hydrates default values in the unstar dashboard params (not the query body).

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

func (*UnstarDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the unstar dashboard params

func (*UnstarDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the unstar dashboard params

func (*UnstarDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UnstarDashboardReader

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

UnstarDashboardReader is a Reader for the UnstarDashboard structure.

func (*UnstarDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnstarDashboardUnauthorized

type UnstarDashboardUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUnstarDashboardUnauthorized

func NewUnstarDashboardUnauthorized() *UnstarDashboardUnauthorized

NewUnstarDashboardUnauthorized creates a UnstarDashboardUnauthorized with default headers values

func (*UnstarDashboardUnauthorized) Code

func (o *UnstarDashboardUnauthorized) Code() int

Code gets the status code for the unstar dashboard unauthorized response

func (*UnstarDashboardUnauthorized) Error

func (*UnstarDashboardUnauthorized) GetPayload

func (*UnstarDashboardUnauthorized) IsClientError

func (o *UnstarDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this unstar dashboard unauthorized response has a 4xx status code

func (*UnstarDashboardUnauthorized) IsCode

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

IsCode returns true when this unstar dashboard unauthorized response a status code equal to that given

func (*UnstarDashboardUnauthorized) IsRedirect

func (o *UnstarDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this unstar dashboard unauthorized response has a 3xx status code

func (*UnstarDashboardUnauthorized) IsServerError

func (o *UnstarDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this unstar dashboard unauthorized response has a 5xx status code

func (*UnstarDashboardUnauthorized) IsSuccess

func (o *UnstarDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this unstar dashboard unauthorized response has a 2xx status code

func (*UnstarDashboardUnauthorized) String

func (o *UnstarDashboardUnauthorized) String() string

type UpdateSignedInUserConflict

type UpdateSignedInUserConflict struct {
	Payload *models.ErrorResponseBody
}

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

ConflictError

func NewUpdateSignedInUserConflict

func NewUpdateSignedInUserConflict() *UpdateSignedInUserConflict

NewUpdateSignedInUserConflict creates a UpdateSignedInUserConflict with default headers values

func (*UpdateSignedInUserConflict) Code

func (o *UpdateSignedInUserConflict) Code() int

Code gets the status code for the update signed in user conflict response

func (*UpdateSignedInUserConflict) Error

func (*UpdateSignedInUserConflict) GetPayload

func (*UpdateSignedInUserConflict) IsClientError

func (o *UpdateSignedInUserConflict) IsClientError() bool

IsClientError returns true when this update signed in user conflict response has a 4xx status code

func (*UpdateSignedInUserConflict) IsCode

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

IsCode returns true when this update signed in user conflict response a status code equal to that given

func (*UpdateSignedInUserConflict) IsRedirect

func (o *UpdateSignedInUserConflict) IsRedirect() bool

IsRedirect returns true when this update signed in user conflict response has a 3xx status code

func (*UpdateSignedInUserConflict) IsServerError

func (o *UpdateSignedInUserConflict) IsServerError() bool

IsServerError returns true when this update signed in user conflict response has a 5xx status code

func (*UpdateSignedInUserConflict) IsSuccess

func (o *UpdateSignedInUserConflict) IsSuccess() bool

IsSuccess returns true when this update signed in user conflict response has a 2xx status code

func (*UpdateSignedInUserConflict) String

func (o *UpdateSignedInUserConflict) String() string

type UpdateSignedInUserForbidden

type UpdateSignedInUserForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateSignedInUserForbidden

func NewUpdateSignedInUserForbidden() *UpdateSignedInUserForbidden

NewUpdateSignedInUserForbidden creates a UpdateSignedInUserForbidden with default headers values

func (*UpdateSignedInUserForbidden) Code

func (o *UpdateSignedInUserForbidden) Code() int

Code gets the status code for the update signed in user forbidden response

func (*UpdateSignedInUserForbidden) Error

func (*UpdateSignedInUserForbidden) GetPayload

func (*UpdateSignedInUserForbidden) IsClientError

func (o *UpdateSignedInUserForbidden) IsClientError() bool

IsClientError returns true when this update signed in user forbidden response has a 4xx status code

func (*UpdateSignedInUserForbidden) IsCode

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

IsCode returns true when this update signed in user forbidden response a status code equal to that given

func (*UpdateSignedInUserForbidden) IsRedirect

func (o *UpdateSignedInUserForbidden) IsRedirect() bool

IsRedirect returns true when this update signed in user forbidden response has a 3xx status code

func (*UpdateSignedInUserForbidden) IsServerError

func (o *UpdateSignedInUserForbidden) IsServerError() bool

IsServerError returns true when this update signed in user forbidden response has a 5xx status code

func (*UpdateSignedInUserForbidden) IsSuccess

func (o *UpdateSignedInUserForbidden) IsSuccess() bool

IsSuccess returns true when this update signed in user forbidden response has a 2xx status code

func (*UpdateSignedInUserForbidden) String

func (o *UpdateSignedInUserForbidden) String() string

type UpdateSignedInUserInternalServerError

type UpdateSignedInUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateSignedInUserInternalServerError

func NewUpdateSignedInUserInternalServerError() *UpdateSignedInUserInternalServerError

NewUpdateSignedInUserInternalServerError creates a UpdateSignedInUserInternalServerError with default headers values

func (*UpdateSignedInUserInternalServerError) Code

Code gets the status code for the update signed in user internal server error response

func (*UpdateSignedInUserInternalServerError) Error

func (*UpdateSignedInUserInternalServerError) GetPayload

func (*UpdateSignedInUserInternalServerError) IsClientError

func (o *UpdateSignedInUserInternalServerError) IsClientError() bool

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

func (*UpdateSignedInUserInternalServerError) IsCode

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

func (*UpdateSignedInUserInternalServerError) IsRedirect

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

func (*UpdateSignedInUserInternalServerError) IsServerError

func (o *UpdateSignedInUserInternalServerError) IsServerError() bool

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

func (*UpdateSignedInUserInternalServerError) IsSuccess

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

func (*UpdateSignedInUserInternalServerError) String

type UpdateSignedInUserOK

type UpdateSignedInUserOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateSignedInUserOK

func NewUpdateSignedInUserOK() *UpdateSignedInUserOK

NewUpdateSignedInUserOK creates a UpdateSignedInUserOK with default headers values

func (*UpdateSignedInUserOK) Code

func (o *UpdateSignedInUserOK) Code() int

Code gets the status code for the update signed in user Ok response

func (*UpdateSignedInUserOK) Error

func (o *UpdateSignedInUserOK) Error() string

func (*UpdateSignedInUserOK) GetPayload

func (*UpdateSignedInUserOK) IsClientError

func (o *UpdateSignedInUserOK) IsClientError() bool

IsClientError returns true when this update signed in user Ok response has a 4xx status code

func (*UpdateSignedInUserOK) IsCode

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

IsCode returns true when this update signed in user Ok response a status code equal to that given

func (*UpdateSignedInUserOK) IsRedirect

func (o *UpdateSignedInUserOK) IsRedirect() bool

IsRedirect returns true when this update signed in user Ok response has a 3xx status code

func (*UpdateSignedInUserOK) IsServerError

func (o *UpdateSignedInUserOK) IsServerError() bool

IsServerError returns true when this update signed in user Ok response has a 5xx status code

func (*UpdateSignedInUserOK) IsSuccess

func (o *UpdateSignedInUserOK) IsSuccess() bool

IsSuccess returns true when this update signed in user Ok response has a 2xx status code

func (*UpdateSignedInUserOK) String

func (o *UpdateSignedInUserOK) String() string

type UpdateSignedInUserParams

type UpdateSignedInUserParams struct {

	/* Body.

	   To change the email, name, login, theme, provide another one.
	*/
	Body *models.UpdateUserCommand

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

UpdateSignedInUserParams contains all the parameters to send to the API endpoint

for the update signed in user operation.

Typically these are written to a http.Request.

func NewUpdateSignedInUserParams

func NewUpdateSignedInUserParams() *UpdateSignedInUserParams

NewUpdateSignedInUserParams creates a new UpdateSignedInUserParams 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 NewUpdateSignedInUserParamsWithContext

func NewUpdateSignedInUserParamsWithContext(ctx context.Context) *UpdateSignedInUserParams

NewUpdateSignedInUserParamsWithContext creates a new UpdateSignedInUserParams object with the ability to set a context for a request.

func NewUpdateSignedInUserParamsWithHTTPClient

func NewUpdateSignedInUserParamsWithHTTPClient(client *http.Client) *UpdateSignedInUserParams

NewUpdateSignedInUserParamsWithHTTPClient creates a new UpdateSignedInUserParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSignedInUserParamsWithTimeout

func NewUpdateSignedInUserParamsWithTimeout(timeout time.Duration) *UpdateSignedInUserParams

NewUpdateSignedInUserParamsWithTimeout creates a new UpdateSignedInUserParams object with the ability to set a timeout on a request.

func (*UpdateSignedInUserParams) SetBody

SetBody adds the body to the update signed in user params

func (*UpdateSignedInUserParams) SetContext

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

SetContext adds the context to the update signed in user params

func (*UpdateSignedInUserParams) SetDefaults

func (o *UpdateSignedInUserParams) SetDefaults()

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

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

func (*UpdateSignedInUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update signed in user params

func (*UpdateSignedInUserParams) SetTimeout

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

SetTimeout adds the timeout to the update signed in user params

func (*UpdateSignedInUserParams) WithBody

WithBody adds the body to the update signed in user params

func (*UpdateSignedInUserParams) WithContext

WithContext adds the context to the update signed in user params

func (*UpdateSignedInUserParams) WithDefaults

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

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

func (*UpdateSignedInUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update signed in user params

func (*UpdateSignedInUserParams) WithTimeout

WithTimeout adds the timeout to the update signed in user params

func (*UpdateSignedInUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSignedInUserReader

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

UpdateSignedInUserReader is a Reader for the UpdateSignedInUser structure.

func (*UpdateSignedInUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSignedInUserUnauthorized

type UpdateSignedInUserUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateSignedInUserUnauthorized

func NewUpdateSignedInUserUnauthorized() *UpdateSignedInUserUnauthorized

NewUpdateSignedInUserUnauthorized creates a UpdateSignedInUserUnauthorized with default headers values

func (*UpdateSignedInUserUnauthorized) Code

Code gets the status code for the update signed in user unauthorized response

func (*UpdateSignedInUserUnauthorized) Error

func (*UpdateSignedInUserUnauthorized) GetPayload

func (*UpdateSignedInUserUnauthorized) IsClientError

func (o *UpdateSignedInUserUnauthorized) IsClientError() bool

IsClientError returns true when this update signed in user unauthorized response has a 4xx status code

func (*UpdateSignedInUserUnauthorized) IsCode

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

IsCode returns true when this update signed in user unauthorized response a status code equal to that given

func (*UpdateSignedInUserUnauthorized) IsRedirect

func (o *UpdateSignedInUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this update signed in user unauthorized response has a 3xx status code

func (*UpdateSignedInUserUnauthorized) IsServerError

func (o *UpdateSignedInUserUnauthorized) IsServerError() bool

IsServerError returns true when this update signed in user unauthorized response has a 5xx status code

func (*UpdateSignedInUserUnauthorized) IsSuccess

func (o *UpdateSignedInUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this update signed in user unauthorized response has a 2xx status code

func (*UpdateSignedInUserUnauthorized) String

type UserSetUsingOrgBadRequest

type UserSetUsingOrgBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewUserSetUsingOrgBadRequest

func NewUserSetUsingOrgBadRequest() *UserSetUsingOrgBadRequest

NewUserSetUsingOrgBadRequest creates a UserSetUsingOrgBadRequest with default headers values

func (*UserSetUsingOrgBadRequest) Code

func (o *UserSetUsingOrgBadRequest) Code() int

Code gets the status code for the user set using org bad request response

func (*UserSetUsingOrgBadRequest) Error

func (o *UserSetUsingOrgBadRequest) Error() string

func (*UserSetUsingOrgBadRequest) GetPayload

func (*UserSetUsingOrgBadRequest) IsClientError

func (o *UserSetUsingOrgBadRequest) IsClientError() bool

IsClientError returns true when this user set using org bad request response has a 4xx status code

func (*UserSetUsingOrgBadRequest) IsCode

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

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

func (*UserSetUsingOrgBadRequest) IsRedirect

func (o *UserSetUsingOrgBadRequest) IsRedirect() bool

IsRedirect returns true when this user set using org bad request response has a 3xx status code

func (*UserSetUsingOrgBadRequest) IsServerError

func (o *UserSetUsingOrgBadRequest) IsServerError() bool

IsServerError returns true when this user set using org bad request response has a 5xx status code

func (*UserSetUsingOrgBadRequest) IsSuccess

func (o *UserSetUsingOrgBadRequest) IsSuccess() bool

IsSuccess returns true when this user set using org bad request response has a 2xx status code

func (*UserSetUsingOrgBadRequest) String

func (o *UserSetUsingOrgBadRequest) String() string

type UserSetUsingOrgForbidden

type UserSetUsingOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUserSetUsingOrgForbidden

func NewUserSetUsingOrgForbidden() *UserSetUsingOrgForbidden

NewUserSetUsingOrgForbidden creates a UserSetUsingOrgForbidden with default headers values

func (*UserSetUsingOrgForbidden) Code

func (o *UserSetUsingOrgForbidden) Code() int

Code gets the status code for the user set using org forbidden response

func (*UserSetUsingOrgForbidden) Error

func (o *UserSetUsingOrgForbidden) Error() string

func (*UserSetUsingOrgForbidden) GetPayload

func (*UserSetUsingOrgForbidden) IsClientError

func (o *UserSetUsingOrgForbidden) IsClientError() bool

IsClientError returns true when this user set using org forbidden response has a 4xx status code

func (*UserSetUsingOrgForbidden) IsCode

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

IsCode returns true when this user set using org forbidden response a status code equal to that given

func (*UserSetUsingOrgForbidden) IsRedirect

func (o *UserSetUsingOrgForbidden) IsRedirect() bool

IsRedirect returns true when this user set using org forbidden response has a 3xx status code

func (*UserSetUsingOrgForbidden) IsServerError

func (o *UserSetUsingOrgForbidden) IsServerError() bool

IsServerError returns true when this user set using org forbidden response has a 5xx status code

func (*UserSetUsingOrgForbidden) IsSuccess

func (o *UserSetUsingOrgForbidden) IsSuccess() bool

IsSuccess returns true when this user set using org forbidden response has a 2xx status code

func (*UserSetUsingOrgForbidden) String

func (o *UserSetUsingOrgForbidden) String() string

type UserSetUsingOrgInternalServerError

type UserSetUsingOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUserSetUsingOrgInternalServerError

func NewUserSetUsingOrgInternalServerError() *UserSetUsingOrgInternalServerError

NewUserSetUsingOrgInternalServerError creates a UserSetUsingOrgInternalServerError with default headers values

func (*UserSetUsingOrgInternalServerError) Code

Code gets the status code for the user set using org internal server error response

func (*UserSetUsingOrgInternalServerError) Error

func (*UserSetUsingOrgInternalServerError) GetPayload

func (*UserSetUsingOrgInternalServerError) IsClientError

func (o *UserSetUsingOrgInternalServerError) IsClientError() bool

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

func (*UserSetUsingOrgInternalServerError) IsCode

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

func (*UserSetUsingOrgInternalServerError) IsRedirect

func (o *UserSetUsingOrgInternalServerError) IsRedirect() bool

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

func (*UserSetUsingOrgInternalServerError) IsServerError

func (o *UserSetUsingOrgInternalServerError) IsServerError() bool

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

func (*UserSetUsingOrgInternalServerError) IsSuccess

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

func (*UserSetUsingOrgInternalServerError) String

type UserSetUsingOrgOK

type UserSetUsingOrgOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUserSetUsingOrgOK

func NewUserSetUsingOrgOK() *UserSetUsingOrgOK

NewUserSetUsingOrgOK creates a UserSetUsingOrgOK with default headers values

func (*UserSetUsingOrgOK) Code

func (o *UserSetUsingOrgOK) Code() int

Code gets the status code for the user set using org Ok response

func (*UserSetUsingOrgOK) Error

func (o *UserSetUsingOrgOK) Error() string

func (*UserSetUsingOrgOK) GetPayload

func (o *UserSetUsingOrgOK) GetPayload() *models.SuccessResponseBody

func (*UserSetUsingOrgOK) IsClientError

func (o *UserSetUsingOrgOK) IsClientError() bool

IsClientError returns true when this user set using org Ok response has a 4xx status code

func (*UserSetUsingOrgOK) IsCode

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

IsCode returns true when this user set using org Ok response a status code equal to that given

func (*UserSetUsingOrgOK) IsRedirect

func (o *UserSetUsingOrgOK) IsRedirect() bool

IsRedirect returns true when this user set using org Ok response has a 3xx status code

func (*UserSetUsingOrgOK) IsServerError

func (o *UserSetUsingOrgOK) IsServerError() bool

IsServerError returns true when this user set using org Ok response has a 5xx status code

func (*UserSetUsingOrgOK) IsSuccess

func (o *UserSetUsingOrgOK) IsSuccess() bool

IsSuccess returns true when this user set using org Ok response has a 2xx status code

func (*UserSetUsingOrgOK) String

func (o *UserSetUsingOrgOK) String() string

type UserSetUsingOrgParams

type UserSetUsingOrgParams struct {

	// OrgID.
	//
	// Format: int64
	OrgID int64

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

UserSetUsingOrgParams contains all the parameters to send to the API endpoint

for the user set using org operation.

Typically these are written to a http.Request.

func NewUserSetUsingOrgParams

func NewUserSetUsingOrgParams() *UserSetUsingOrgParams

NewUserSetUsingOrgParams creates a new UserSetUsingOrgParams 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 NewUserSetUsingOrgParamsWithContext

func NewUserSetUsingOrgParamsWithContext(ctx context.Context) *UserSetUsingOrgParams

NewUserSetUsingOrgParamsWithContext creates a new UserSetUsingOrgParams object with the ability to set a context for a request.

func NewUserSetUsingOrgParamsWithHTTPClient

func NewUserSetUsingOrgParamsWithHTTPClient(client *http.Client) *UserSetUsingOrgParams

NewUserSetUsingOrgParamsWithHTTPClient creates a new UserSetUsingOrgParams object with the ability to set a custom HTTPClient for a request.

func NewUserSetUsingOrgParamsWithTimeout

func NewUserSetUsingOrgParamsWithTimeout(timeout time.Duration) *UserSetUsingOrgParams

NewUserSetUsingOrgParamsWithTimeout creates a new UserSetUsingOrgParams object with the ability to set a timeout on a request.

func (*UserSetUsingOrgParams) SetContext

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

SetContext adds the context to the user set using org params

func (*UserSetUsingOrgParams) SetDefaults

func (o *UserSetUsingOrgParams) SetDefaults()

SetDefaults hydrates default values in the user set using org params (not the query body).

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

func (*UserSetUsingOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user set using org params

func (*UserSetUsingOrgParams) SetOrgID

func (o *UserSetUsingOrgParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the user set using org params

func (*UserSetUsingOrgParams) SetTimeout

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

SetTimeout adds the timeout to the user set using org params

func (*UserSetUsingOrgParams) WithContext

WithContext adds the context to the user set using org params

func (*UserSetUsingOrgParams) WithDefaults

func (o *UserSetUsingOrgParams) WithDefaults() *UserSetUsingOrgParams

WithDefaults hydrates default values in the user set using org params (not the query body).

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

func (*UserSetUsingOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user set using org params

func (*UserSetUsingOrgParams) WithOrgID

func (o *UserSetUsingOrgParams) WithOrgID(orgID int64) *UserSetUsingOrgParams

WithOrgID adds the orgID to the user set using org params

func (*UserSetUsingOrgParams) WithTimeout

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

WithTimeout adds the timeout to the user set using org params

func (*UserSetUsingOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserSetUsingOrgReader

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

UserSetUsingOrgReader is a Reader for the UserSetUsingOrg structure.

func (*UserSetUsingOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserSetUsingOrgUnauthorized

type UserSetUsingOrgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUserSetUsingOrgUnauthorized

func NewUserSetUsingOrgUnauthorized() *UserSetUsingOrgUnauthorized

NewUserSetUsingOrgUnauthorized creates a UserSetUsingOrgUnauthorized with default headers values

func (*UserSetUsingOrgUnauthorized) Code

func (o *UserSetUsingOrgUnauthorized) Code() int

Code gets the status code for the user set using org unauthorized response

func (*UserSetUsingOrgUnauthorized) Error

func (*UserSetUsingOrgUnauthorized) GetPayload

func (*UserSetUsingOrgUnauthorized) IsClientError

func (o *UserSetUsingOrgUnauthorized) IsClientError() bool

IsClientError returns true when this user set using org unauthorized response has a 4xx status code

func (*UserSetUsingOrgUnauthorized) IsCode

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

IsCode returns true when this user set using org unauthorized response a status code equal to that given

func (*UserSetUsingOrgUnauthorized) IsRedirect

func (o *UserSetUsingOrgUnauthorized) IsRedirect() bool

IsRedirect returns true when this user set using org unauthorized response has a 3xx status code

func (*UserSetUsingOrgUnauthorized) IsServerError

func (o *UserSetUsingOrgUnauthorized) IsServerError() bool

IsServerError returns true when this user set using org unauthorized response has a 5xx status code

func (*UserSetUsingOrgUnauthorized) IsSuccess

func (o *UserSetUsingOrgUnauthorized) IsSuccess() bool

IsSuccess returns true when this user set using org unauthorized response has a 2xx status code

func (*UserSetUsingOrgUnauthorized) String

func (o *UserSetUsingOrgUnauthorized) String() string

Jump to

Keyboard shortcuts

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