Documentation ¶
Index ¶
- type AddOrgUserToCurrentOrgForbidden
- type AddOrgUserToCurrentOrgInternalServerError
- type AddOrgUserToCurrentOrgOK
- type AddOrgUserToCurrentOrgParams
- func NewAddOrgUserToCurrentOrgParams() *AddOrgUserToCurrentOrgParams
- func NewAddOrgUserToCurrentOrgParamsWithContext(ctx context.Context) *AddOrgUserToCurrentOrgParams
- func NewAddOrgUserToCurrentOrgParamsWithHTTPClient(client *http.Client) *AddOrgUserToCurrentOrgParams
- func NewAddOrgUserToCurrentOrgParamsWithTimeout(timeout time.Duration) *AddOrgUserToCurrentOrgParams
- func (o *AddOrgUserToCurrentOrgParams) SetBody(body *models.AddOrgUserCommand)
- func (o *AddOrgUserToCurrentOrgParams) SetContext(ctx context.Context)
- func (o *AddOrgUserToCurrentOrgParams) SetDefaults()
- func (o *AddOrgUserToCurrentOrgParams) SetHTTPClient(client *http.Client)
- func (o *AddOrgUserToCurrentOrgParams) SetTimeout(timeout time.Duration)
- func (o *AddOrgUserToCurrentOrgParams) WithBody(body *models.AddOrgUserCommand) *AddOrgUserToCurrentOrgParams
- func (o *AddOrgUserToCurrentOrgParams) WithContext(ctx context.Context) *AddOrgUserToCurrentOrgParams
- func (o *AddOrgUserToCurrentOrgParams) WithDefaults() *AddOrgUserToCurrentOrgParams
- func (o *AddOrgUserToCurrentOrgParams) WithHTTPClient(client *http.Client) *AddOrgUserToCurrentOrgParams
- func (o *AddOrgUserToCurrentOrgParams) WithTimeout(timeout time.Duration) *AddOrgUserToCurrentOrgParams
- func (o *AddOrgUserToCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddOrgUserToCurrentOrgReader
- type AddOrgUserToCurrentOrgUnauthorized
- type Client
- func (a *Client) AddOrgUserToCurrentOrg(params *AddOrgUserToCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddOrgUserToCurrentOrgOK, error)
- func (a *Client) GetCurrentOrg(params *GetCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCurrentOrgOK, error)
- func (a *Client) GetOrgUsersForCurrentOrg(params *GetOrgUsersForCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrgUsersForCurrentOrgOK, error)
- func (a *Client) GetOrgUsersForCurrentOrgLookup(params *GetOrgUsersForCurrentOrgLookupParams, ...) (*GetOrgUsersForCurrentOrgLookupOK, error)
- func (a *Client) RemoveOrgUserForCurrentOrg(params *RemoveOrgUserForCurrentOrgParams, ...) (*RemoveOrgUserForCurrentOrgOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCurrentOrg(params *UpdateCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCurrentOrgOK, error)
- func (a *Client) UpdateCurrentOrgAddress(params *UpdateCurrentOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCurrentOrgAddressOK, error)
- func (a *Client) UpdateOrgUserForCurrentOrg(params *UpdateOrgUserForCurrentOrgParams, ...) (*UpdateOrgUserForCurrentOrgOK, error)
- type ClientOption
- type ClientService
- type GetCurrentOrgForbidden
- type GetCurrentOrgInternalServerError
- type GetCurrentOrgOK
- type GetCurrentOrgParams
- func (o *GetCurrentOrgParams) SetContext(ctx context.Context)
- func (o *GetCurrentOrgParams) SetDefaults()
- func (o *GetCurrentOrgParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentOrgParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentOrgParams) WithContext(ctx context.Context) *GetCurrentOrgParams
- func (o *GetCurrentOrgParams) WithDefaults() *GetCurrentOrgParams
- func (o *GetCurrentOrgParams) WithHTTPClient(client *http.Client) *GetCurrentOrgParams
- func (o *GetCurrentOrgParams) WithTimeout(timeout time.Duration) *GetCurrentOrgParams
- func (o *GetCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentOrgReader
- type GetCurrentOrgUnauthorized
- type GetOrgUsersForCurrentOrgForbidden
- type GetOrgUsersForCurrentOrgInternalServerError
- type GetOrgUsersForCurrentOrgLookupForbidden
- type GetOrgUsersForCurrentOrgLookupInternalServerError
- type GetOrgUsersForCurrentOrgLookupOK
- type GetOrgUsersForCurrentOrgLookupParams
- func NewGetOrgUsersForCurrentOrgLookupParams() *GetOrgUsersForCurrentOrgLookupParams
- func NewGetOrgUsersForCurrentOrgLookupParamsWithContext(ctx context.Context) *GetOrgUsersForCurrentOrgLookupParams
- func NewGetOrgUsersForCurrentOrgLookupParamsWithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgLookupParams
- func NewGetOrgUsersForCurrentOrgLookupParamsWithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgLookupParams
- func (o *GetOrgUsersForCurrentOrgLookupParams) SetContext(ctx context.Context)
- func (o *GetOrgUsersForCurrentOrgLookupParams) SetDefaults()
- func (o *GetOrgUsersForCurrentOrgLookupParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgUsersForCurrentOrgLookupParams) SetLimit(limit *int64)
- func (o *GetOrgUsersForCurrentOrgLookupParams) SetQuery(query *string)
- func (o *GetOrgUsersForCurrentOrgLookupParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgUsersForCurrentOrgLookupParams) WithContext(ctx context.Context) *GetOrgUsersForCurrentOrgLookupParams
- func (o *GetOrgUsersForCurrentOrgLookupParams) WithDefaults() *GetOrgUsersForCurrentOrgLookupParams
- func (o *GetOrgUsersForCurrentOrgLookupParams) WithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgLookupParams
- func (o *GetOrgUsersForCurrentOrgLookupParams) WithLimit(limit *int64) *GetOrgUsersForCurrentOrgLookupParams
- func (o *GetOrgUsersForCurrentOrgLookupParams) WithQuery(query *string) *GetOrgUsersForCurrentOrgLookupParams
- func (o *GetOrgUsersForCurrentOrgLookupParams) WithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgLookupParams
- func (o *GetOrgUsersForCurrentOrgLookupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgUsersForCurrentOrgLookupReader
- type GetOrgUsersForCurrentOrgLookupUnauthorized
- type GetOrgUsersForCurrentOrgOK
- type GetOrgUsersForCurrentOrgParams
- func NewGetOrgUsersForCurrentOrgParams() *GetOrgUsersForCurrentOrgParams
- func NewGetOrgUsersForCurrentOrgParamsWithContext(ctx context.Context) *GetOrgUsersForCurrentOrgParams
- func NewGetOrgUsersForCurrentOrgParamsWithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgParams
- func NewGetOrgUsersForCurrentOrgParamsWithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgParams
- func (o *GetOrgUsersForCurrentOrgParams) SetContext(ctx context.Context)
- func (o *GetOrgUsersForCurrentOrgParams) SetDefaults()
- func (o *GetOrgUsersForCurrentOrgParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgUsersForCurrentOrgParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgUsersForCurrentOrgParams) WithContext(ctx context.Context) *GetOrgUsersForCurrentOrgParams
- func (o *GetOrgUsersForCurrentOrgParams) WithDefaults() *GetOrgUsersForCurrentOrgParams
- func (o *GetOrgUsersForCurrentOrgParams) WithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgParams
- func (o *GetOrgUsersForCurrentOrgParams) WithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgParams
- func (o *GetOrgUsersForCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgUsersForCurrentOrgReader
- type GetOrgUsersForCurrentOrgUnauthorized
- type RemoveOrgUserForCurrentOrgBadRequest
- type RemoveOrgUserForCurrentOrgForbidden
- type RemoveOrgUserForCurrentOrgInternalServerError
- type RemoveOrgUserForCurrentOrgOK
- type RemoveOrgUserForCurrentOrgParams
- func NewRemoveOrgUserForCurrentOrgParams() *RemoveOrgUserForCurrentOrgParams
- func NewRemoveOrgUserForCurrentOrgParamsWithContext(ctx context.Context) *RemoveOrgUserForCurrentOrgParams
- func NewRemoveOrgUserForCurrentOrgParamsWithHTTPClient(client *http.Client) *RemoveOrgUserForCurrentOrgParams
- func NewRemoveOrgUserForCurrentOrgParamsWithTimeout(timeout time.Duration) *RemoveOrgUserForCurrentOrgParams
- func (o *RemoveOrgUserForCurrentOrgParams) SetContext(ctx context.Context)
- func (o *RemoveOrgUserForCurrentOrgParams) SetDefaults()
- func (o *RemoveOrgUserForCurrentOrgParams) SetHTTPClient(client *http.Client)
- func (o *RemoveOrgUserForCurrentOrgParams) SetTimeout(timeout time.Duration)
- func (o *RemoveOrgUserForCurrentOrgParams) SetUserID(userID int64)
- func (o *RemoveOrgUserForCurrentOrgParams) WithContext(ctx context.Context) *RemoveOrgUserForCurrentOrgParams
- func (o *RemoveOrgUserForCurrentOrgParams) WithDefaults() *RemoveOrgUserForCurrentOrgParams
- func (o *RemoveOrgUserForCurrentOrgParams) WithHTTPClient(client *http.Client) *RemoveOrgUserForCurrentOrgParams
- func (o *RemoveOrgUserForCurrentOrgParams) WithTimeout(timeout time.Duration) *RemoveOrgUserForCurrentOrgParams
- func (o *RemoveOrgUserForCurrentOrgParams) WithUserID(userID int64) *RemoveOrgUserForCurrentOrgParams
- func (o *RemoveOrgUserForCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveOrgUserForCurrentOrgReader
- type RemoveOrgUserForCurrentOrgUnauthorized
- type UpdateCurrentOrgAddressBadRequest
- type UpdateCurrentOrgAddressForbidden
- type UpdateCurrentOrgAddressInternalServerError
- type UpdateCurrentOrgAddressOK
- type UpdateCurrentOrgAddressParams
- func NewUpdateCurrentOrgAddressParams() *UpdateCurrentOrgAddressParams
- func NewUpdateCurrentOrgAddressParamsWithContext(ctx context.Context) *UpdateCurrentOrgAddressParams
- func NewUpdateCurrentOrgAddressParamsWithHTTPClient(client *http.Client) *UpdateCurrentOrgAddressParams
- func NewUpdateCurrentOrgAddressParamsWithTimeout(timeout time.Duration) *UpdateCurrentOrgAddressParams
- func (o *UpdateCurrentOrgAddressParams) SetBody(body *models.UpdateOrgAddressForm)
- func (o *UpdateCurrentOrgAddressParams) SetContext(ctx context.Context)
- func (o *UpdateCurrentOrgAddressParams) SetDefaults()
- func (o *UpdateCurrentOrgAddressParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCurrentOrgAddressParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCurrentOrgAddressParams) WithBody(body *models.UpdateOrgAddressForm) *UpdateCurrentOrgAddressParams
- func (o *UpdateCurrentOrgAddressParams) WithContext(ctx context.Context) *UpdateCurrentOrgAddressParams
- func (o *UpdateCurrentOrgAddressParams) WithDefaults() *UpdateCurrentOrgAddressParams
- func (o *UpdateCurrentOrgAddressParams) WithHTTPClient(client *http.Client) *UpdateCurrentOrgAddressParams
- func (o *UpdateCurrentOrgAddressParams) WithTimeout(timeout time.Duration) *UpdateCurrentOrgAddressParams
- func (o *UpdateCurrentOrgAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCurrentOrgAddressReader
- type UpdateCurrentOrgAddressUnauthorized
- type UpdateCurrentOrgBadRequest
- type UpdateCurrentOrgForbidden
- type UpdateCurrentOrgInternalServerError
- type UpdateCurrentOrgOK
- type UpdateCurrentOrgParams
- func NewUpdateCurrentOrgParams() *UpdateCurrentOrgParams
- func NewUpdateCurrentOrgParamsWithContext(ctx context.Context) *UpdateCurrentOrgParams
- func NewUpdateCurrentOrgParamsWithHTTPClient(client *http.Client) *UpdateCurrentOrgParams
- func NewUpdateCurrentOrgParamsWithTimeout(timeout time.Duration) *UpdateCurrentOrgParams
- func (o *UpdateCurrentOrgParams) SetBody(body *models.UpdateOrgForm)
- func (o *UpdateCurrentOrgParams) SetContext(ctx context.Context)
- func (o *UpdateCurrentOrgParams) SetDefaults()
- func (o *UpdateCurrentOrgParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCurrentOrgParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCurrentOrgParams) WithBody(body *models.UpdateOrgForm) *UpdateCurrentOrgParams
- func (o *UpdateCurrentOrgParams) WithContext(ctx context.Context) *UpdateCurrentOrgParams
- func (o *UpdateCurrentOrgParams) WithDefaults() *UpdateCurrentOrgParams
- func (o *UpdateCurrentOrgParams) WithHTTPClient(client *http.Client) *UpdateCurrentOrgParams
- func (o *UpdateCurrentOrgParams) WithTimeout(timeout time.Duration) *UpdateCurrentOrgParams
- func (o *UpdateCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCurrentOrgReader
- type UpdateCurrentOrgUnauthorized
- type UpdateOrgUserForCurrentOrgBadRequest
- type UpdateOrgUserForCurrentOrgForbidden
- type UpdateOrgUserForCurrentOrgInternalServerError
- type UpdateOrgUserForCurrentOrgOK
- type UpdateOrgUserForCurrentOrgParams
- func NewUpdateOrgUserForCurrentOrgParams() *UpdateOrgUserForCurrentOrgParams
- func NewUpdateOrgUserForCurrentOrgParamsWithContext(ctx context.Context) *UpdateOrgUserForCurrentOrgParams
- func NewUpdateOrgUserForCurrentOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgUserForCurrentOrgParams
- func NewUpdateOrgUserForCurrentOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgUserForCurrentOrgParams
- func (o *UpdateOrgUserForCurrentOrgParams) SetBody(body *models.UpdateOrgUserCommand)
- func (o *UpdateOrgUserForCurrentOrgParams) SetContext(ctx context.Context)
- func (o *UpdateOrgUserForCurrentOrgParams) SetDefaults()
- func (o *UpdateOrgUserForCurrentOrgParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgUserForCurrentOrgParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgUserForCurrentOrgParams) SetUserID(userID int64)
- func (o *UpdateOrgUserForCurrentOrgParams) WithBody(body *models.UpdateOrgUserCommand) *UpdateOrgUserForCurrentOrgParams
- func (o *UpdateOrgUserForCurrentOrgParams) WithContext(ctx context.Context) *UpdateOrgUserForCurrentOrgParams
- func (o *UpdateOrgUserForCurrentOrgParams) WithDefaults() *UpdateOrgUserForCurrentOrgParams
- func (o *UpdateOrgUserForCurrentOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgUserForCurrentOrgParams
- func (o *UpdateOrgUserForCurrentOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgUserForCurrentOrgParams
- func (o *UpdateOrgUserForCurrentOrgParams) WithUserID(userID int64) *UpdateOrgUserForCurrentOrgParams
- func (o *UpdateOrgUserForCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgUserForCurrentOrgReader
- type UpdateOrgUserForCurrentOrgUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOrgUserToCurrentOrgForbidden ¶
type AddOrgUserToCurrentOrgForbidden struct {
Payload *models.ErrorResponseBody
}
AddOrgUserToCurrentOrgForbidden 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 NewAddOrgUserToCurrentOrgForbidden ¶
func NewAddOrgUserToCurrentOrgForbidden() *AddOrgUserToCurrentOrgForbidden
NewAddOrgUserToCurrentOrgForbidden creates a AddOrgUserToCurrentOrgForbidden with default headers values
func (*AddOrgUserToCurrentOrgForbidden) Error ¶
func (o *AddOrgUserToCurrentOrgForbidden) Error() string
func (*AddOrgUserToCurrentOrgForbidden) GetPayload ¶
func (o *AddOrgUserToCurrentOrgForbidden) GetPayload() *models.ErrorResponseBody
type AddOrgUserToCurrentOrgInternalServerError ¶
type AddOrgUserToCurrentOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
AddOrgUserToCurrentOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAddOrgUserToCurrentOrgInternalServerError ¶
func NewAddOrgUserToCurrentOrgInternalServerError() *AddOrgUserToCurrentOrgInternalServerError
NewAddOrgUserToCurrentOrgInternalServerError creates a AddOrgUserToCurrentOrgInternalServerError with default headers values
func (*AddOrgUserToCurrentOrgInternalServerError) Error ¶
func (o *AddOrgUserToCurrentOrgInternalServerError) Error() string
func (*AddOrgUserToCurrentOrgInternalServerError) GetPayload ¶
func (o *AddOrgUserToCurrentOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type AddOrgUserToCurrentOrgOK ¶
type AddOrgUserToCurrentOrgOK struct {
Payload *models.SuccessResponseBody
}
AddOrgUserToCurrentOrgOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAddOrgUserToCurrentOrgOK ¶
func NewAddOrgUserToCurrentOrgOK() *AddOrgUserToCurrentOrgOK
NewAddOrgUserToCurrentOrgOK creates a AddOrgUserToCurrentOrgOK with default headers values
func (*AddOrgUserToCurrentOrgOK) Error ¶
func (o *AddOrgUserToCurrentOrgOK) Error() string
func (*AddOrgUserToCurrentOrgOK) GetPayload ¶
func (o *AddOrgUserToCurrentOrgOK) GetPayload() *models.SuccessResponseBody
type AddOrgUserToCurrentOrgParams ¶
type AddOrgUserToCurrentOrgParams struct { // Body. Body *models.AddOrgUserCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddOrgUserToCurrentOrgParams contains all the parameters to send to the API endpoint
for the add org user to current org operation. Typically these are written to a http.Request.
func NewAddOrgUserToCurrentOrgParams ¶
func NewAddOrgUserToCurrentOrgParams() *AddOrgUserToCurrentOrgParams
NewAddOrgUserToCurrentOrgParams creates a new AddOrgUserToCurrentOrgParams 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 NewAddOrgUserToCurrentOrgParamsWithContext ¶
func NewAddOrgUserToCurrentOrgParamsWithContext(ctx context.Context) *AddOrgUserToCurrentOrgParams
NewAddOrgUserToCurrentOrgParamsWithContext creates a new AddOrgUserToCurrentOrgParams object with the ability to set a context for a request.
func NewAddOrgUserToCurrentOrgParamsWithHTTPClient ¶
func NewAddOrgUserToCurrentOrgParamsWithHTTPClient(client *http.Client) *AddOrgUserToCurrentOrgParams
NewAddOrgUserToCurrentOrgParamsWithHTTPClient creates a new AddOrgUserToCurrentOrgParams object with the ability to set a custom HTTPClient for a request.
func NewAddOrgUserToCurrentOrgParamsWithTimeout ¶
func NewAddOrgUserToCurrentOrgParamsWithTimeout(timeout time.Duration) *AddOrgUserToCurrentOrgParams
NewAddOrgUserToCurrentOrgParamsWithTimeout creates a new AddOrgUserToCurrentOrgParams object with the ability to set a timeout on a request.
func (*AddOrgUserToCurrentOrgParams) SetBody ¶
func (o *AddOrgUserToCurrentOrgParams) SetBody(body *models.AddOrgUserCommand)
SetBody adds the body to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) SetContext ¶
func (o *AddOrgUserToCurrentOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) SetDefaults ¶
func (o *AddOrgUserToCurrentOrgParams) SetDefaults()
SetDefaults hydrates default values in the add org user to current org params (not the query body).
All values with no default are reset to their zero value.
func (*AddOrgUserToCurrentOrgParams) SetHTTPClient ¶
func (o *AddOrgUserToCurrentOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) SetTimeout ¶
func (o *AddOrgUserToCurrentOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) WithBody ¶
func (o *AddOrgUserToCurrentOrgParams) WithBody(body *models.AddOrgUserCommand) *AddOrgUserToCurrentOrgParams
WithBody adds the body to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) WithContext ¶
func (o *AddOrgUserToCurrentOrgParams) WithContext(ctx context.Context) *AddOrgUserToCurrentOrgParams
WithContext adds the context to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) WithDefaults ¶
func (o *AddOrgUserToCurrentOrgParams) WithDefaults() *AddOrgUserToCurrentOrgParams
WithDefaults hydrates default values in the add org user to current org params (not the query body).
All values with no default are reset to their zero value.
func (*AddOrgUserToCurrentOrgParams) WithHTTPClient ¶
func (o *AddOrgUserToCurrentOrgParams) WithHTTPClient(client *http.Client) *AddOrgUserToCurrentOrgParams
WithHTTPClient adds the HTTPClient to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) WithTimeout ¶
func (o *AddOrgUserToCurrentOrgParams) WithTimeout(timeout time.Duration) *AddOrgUserToCurrentOrgParams
WithTimeout adds the timeout to the add org user to current org params
func (*AddOrgUserToCurrentOrgParams) WriteToRequest ¶
func (o *AddOrgUserToCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddOrgUserToCurrentOrgReader ¶
type AddOrgUserToCurrentOrgReader struct {
// contains filtered or unexported fields
}
AddOrgUserToCurrentOrgReader is a Reader for the AddOrgUserToCurrentOrg structure.
func (*AddOrgUserToCurrentOrgReader) ReadResponse ¶
func (o *AddOrgUserToCurrentOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddOrgUserToCurrentOrgUnauthorized ¶
type AddOrgUserToCurrentOrgUnauthorized struct {
}AddOrgUserToCurrentOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAddOrgUserToCurrentOrgUnauthorized ¶
func NewAddOrgUserToCurrentOrgUnauthorized() *AddOrgUserToCurrentOrgUnauthorized
NewAddOrgUserToCurrentOrgUnauthorized creates a AddOrgUserToCurrentOrgUnauthorized with default headers values
func (*AddOrgUserToCurrentOrgUnauthorized) Error ¶
func (o *AddOrgUserToCurrentOrgUnauthorized) Error() string
func (*AddOrgUserToCurrentOrgUnauthorized) GetPayload ¶
func (o *AddOrgUserToCurrentOrgUnauthorized) GetPayload() *models.ErrorResponseBody
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for org API
func (*Client) AddOrgUserToCurrentOrg ¶
func (a *Client) AddOrgUserToCurrentOrg(params *AddOrgUserToCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrgUserToCurrentOrgOK, error)
AddOrgUserToCurrentOrg adds a new user to the current organization Adds a global user to the current organization.
If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `org.users:add` with scope `users:*`.
func (*Client) GetCurrentOrg ¶
func (a *Client) GetCurrentOrg(params *GetCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentOrgOK, error)
GetCurrentOrg gets current organization
func (*Client) GetOrgUsersForCurrentOrg ¶
func (a *Client) GetOrgUsersForCurrentOrg(params *GetOrgUsersForCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersForCurrentOrgOK, error)
GetOrgUsersForCurrentOrg gets all users within the current organization Returns all org users within the current organization. Accessible to users with org admin role.
If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `org.users:read` with scope `users:*`.
func (*Client) GetOrgUsersForCurrentOrgLookup ¶
func (a *Client) GetOrgUsersForCurrentOrgLookup(params *GetOrgUsersForCurrentOrgLookupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersForCurrentOrgLookupOK, error)
GetOrgUsersForCurrentOrgLookup gets all users within the current organization lookup Returns all org users within the current organization, but with less detailed information.
Accessible to users with org admin role, admin in any folder or admin of any team. Mainly used by Grafana UI for providing list of users when adding team members and when editing folder/dashboard permissions.
func (*Client) RemoveOrgUserForCurrentOrg ¶
func (a *Client) RemoveOrgUserForCurrentOrg(params *RemoveOrgUserForCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrgUserForCurrentOrgOK, error)
RemoveOrgUserForCurrentOrg deletes user in current organization If you are running Grafana Enterprise and have Fine-grained access control enabled
you need to have a permission with action: `org.users:remove` with scope `users:*`.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCurrentOrg ¶
func (a *Client) UpdateCurrentOrg(params *UpdateCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentOrgOK, error)
UpdateCurrentOrg updates current organization
func (*Client) UpdateCurrentOrgAddress ¶
func (a *Client) UpdateCurrentOrgAddress(params *UpdateCurrentOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentOrgAddressOK, error)
UpdateCurrentOrgAddress updates current organization s address
func (*Client) UpdateOrgUserForCurrentOrg ¶
func (a *Client) UpdateOrgUserForCurrentOrg(params *UpdateOrgUserForCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgUserForCurrentOrgOK, error)
UpdateOrgUserForCurrentOrg updates the given user If you are running Grafana Enterprise and have Fine-grained access control enabled
you need to have a permission with action: `org.users.role:update` with scope `users:*`.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddOrgUserToCurrentOrg(params *AddOrgUserToCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrgUserToCurrentOrgOK, error) GetCurrentOrg(params *GetCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentOrgOK, error) GetOrgUsersForCurrentOrg(params *GetOrgUsersForCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersForCurrentOrgOK, error) GetOrgUsersForCurrentOrgLookup(params *GetOrgUsersForCurrentOrgLookupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersForCurrentOrgLookupOK, error) RemoveOrgUserForCurrentOrg(params *RemoveOrgUserForCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrgUserForCurrentOrgOK, error) UpdateCurrentOrg(params *UpdateCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentOrgOK, error) UpdateCurrentOrgAddress(params *UpdateCurrentOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentOrgAddressOK, error) UpdateOrgUserForCurrentOrg(params *UpdateOrgUserForCurrentOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgUserForCurrentOrgOK, 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 org API client.
type GetCurrentOrgForbidden ¶
type GetCurrentOrgForbidden struct {
Payload *models.ErrorResponseBody
}
GetCurrentOrgForbidden 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 NewGetCurrentOrgForbidden ¶
func NewGetCurrentOrgForbidden() *GetCurrentOrgForbidden
NewGetCurrentOrgForbidden creates a GetCurrentOrgForbidden with default headers values
func (*GetCurrentOrgForbidden) Error ¶
func (o *GetCurrentOrgForbidden) Error() string
func (*GetCurrentOrgForbidden) GetPayload ¶
func (o *GetCurrentOrgForbidden) GetPayload() *models.ErrorResponseBody
type GetCurrentOrgInternalServerError ¶
type GetCurrentOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetCurrentOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetCurrentOrgInternalServerError ¶
func NewGetCurrentOrgInternalServerError() *GetCurrentOrgInternalServerError
NewGetCurrentOrgInternalServerError creates a GetCurrentOrgInternalServerError with default headers values
func (*GetCurrentOrgInternalServerError) Error ¶
func (o *GetCurrentOrgInternalServerError) Error() string
func (*GetCurrentOrgInternalServerError) GetPayload ¶
func (o *GetCurrentOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type GetCurrentOrgOK ¶
type GetCurrentOrgOK struct {
Payload *models.OrgDetailsDTO
}
GetCurrentOrgOK describes a response with status code 200, with default header values.
(empty)
func NewGetCurrentOrgOK ¶
func NewGetCurrentOrgOK() *GetCurrentOrgOK
NewGetCurrentOrgOK creates a GetCurrentOrgOK with default headers values
func (*GetCurrentOrgOK) Error ¶
func (o *GetCurrentOrgOK) Error() string
func (*GetCurrentOrgOK) GetPayload ¶
func (o *GetCurrentOrgOK) GetPayload() *models.OrgDetailsDTO
type GetCurrentOrgParams ¶
type GetCurrentOrgParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCurrentOrgParams contains all the parameters to send to the API endpoint
for the get current org operation. Typically these are written to a http.Request.
func NewGetCurrentOrgParams ¶
func NewGetCurrentOrgParams() *GetCurrentOrgParams
NewGetCurrentOrgParams creates a new GetCurrentOrgParams 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 NewGetCurrentOrgParamsWithContext ¶
func NewGetCurrentOrgParamsWithContext(ctx context.Context) *GetCurrentOrgParams
NewGetCurrentOrgParamsWithContext creates a new GetCurrentOrgParams object with the ability to set a context for a request.
func NewGetCurrentOrgParamsWithHTTPClient ¶
func NewGetCurrentOrgParamsWithHTTPClient(client *http.Client) *GetCurrentOrgParams
NewGetCurrentOrgParamsWithHTTPClient creates a new GetCurrentOrgParams object with the ability to set a custom HTTPClient for a request.
func NewGetCurrentOrgParamsWithTimeout ¶
func NewGetCurrentOrgParamsWithTimeout(timeout time.Duration) *GetCurrentOrgParams
NewGetCurrentOrgParamsWithTimeout creates a new GetCurrentOrgParams object with the ability to set a timeout on a request.
func (*GetCurrentOrgParams) SetContext ¶
func (o *GetCurrentOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the get current org params
func (*GetCurrentOrgParams) SetDefaults ¶
func (o *GetCurrentOrgParams) SetDefaults()
SetDefaults hydrates default values in the get current org params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentOrgParams) SetHTTPClient ¶
func (o *GetCurrentOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current org params
func (*GetCurrentOrgParams) SetTimeout ¶
func (o *GetCurrentOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current org params
func (*GetCurrentOrgParams) WithContext ¶
func (o *GetCurrentOrgParams) WithContext(ctx context.Context) *GetCurrentOrgParams
WithContext adds the context to the get current org params
func (*GetCurrentOrgParams) WithDefaults ¶
func (o *GetCurrentOrgParams) WithDefaults() *GetCurrentOrgParams
WithDefaults hydrates default values in the get current org params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentOrgParams) WithHTTPClient ¶
func (o *GetCurrentOrgParams) WithHTTPClient(client *http.Client) *GetCurrentOrgParams
WithHTTPClient adds the HTTPClient to the get current org params
func (*GetCurrentOrgParams) WithTimeout ¶
func (o *GetCurrentOrgParams) WithTimeout(timeout time.Duration) *GetCurrentOrgParams
WithTimeout adds the timeout to the get current org params
func (*GetCurrentOrgParams) WriteToRequest ¶
func (o *GetCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentOrgReader ¶
type GetCurrentOrgReader struct {
// contains filtered or unexported fields
}
GetCurrentOrgReader is a Reader for the GetCurrentOrg structure.
func (*GetCurrentOrgReader) ReadResponse ¶
func (o *GetCurrentOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentOrgUnauthorized ¶
type GetCurrentOrgUnauthorized struct {
}GetCurrentOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetCurrentOrgUnauthorized ¶
func NewGetCurrentOrgUnauthorized() *GetCurrentOrgUnauthorized
NewGetCurrentOrgUnauthorized creates a GetCurrentOrgUnauthorized with default headers values
func (*GetCurrentOrgUnauthorized) Error ¶
func (o *GetCurrentOrgUnauthorized) Error() string
func (*GetCurrentOrgUnauthorized) GetPayload ¶
func (o *GetCurrentOrgUnauthorized) GetPayload() *models.ErrorResponseBody
type GetOrgUsersForCurrentOrgForbidden ¶
type GetOrgUsersForCurrentOrgForbidden struct {
Payload *models.ErrorResponseBody
}
GetOrgUsersForCurrentOrgForbidden 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 NewGetOrgUsersForCurrentOrgForbidden ¶
func NewGetOrgUsersForCurrentOrgForbidden() *GetOrgUsersForCurrentOrgForbidden
NewGetOrgUsersForCurrentOrgForbidden creates a GetOrgUsersForCurrentOrgForbidden with default headers values
func (*GetOrgUsersForCurrentOrgForbidden) Error ¶
func (o *GetOrgUsersForCurrentOrgForbidden) Error() string
func (*GetOrgUsersForCurrentOrgForbidden) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgForbidden) GetPayload() *models.ErrorResponseBody
type GetOrgUsersForCurrentOrgInternalServerError ¶
type GetOrgUsersForCurrentOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetOrgUsersForCurrentOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetOrgUsersForCurrentOrgInternalServerError ¶
func NewGetOrgUsersForCurrentOrgInternalServerError() *GetOrgUsersForCurrentOrgInternalServerError
NewGetOrgUsersForCurrentOrgInternalServerError creates a GetOrgUsersForCurrentOrgInternalServerError with default headers values
func (*GetOrgUsersForCurrentOrgInternalServerError) Error ¶
func (o *GetOrgUsersForCurrentOrgInternalServerError) Error() string
func (*GetOrgUsersForCurrentOrgInternalServerError) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type GetOrgUsersForCurrentOrgLookupForbidden ¶
type GetOrgUsersForCurrentOrgLookupForbidden struct {
Payload *models.ErrorResponseBody
}
GetOrgUsersForCurrentOrgLookupForbidden 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 NewGetOrgUsersForCurrentOrgLookupForbidden ¶
func NewGetOrgUsersForCurrentOrgLookupForbidden() *GetOrgUsersForCurrentOrgLookupForbidden
NewGetOrgUsersForCurrentOrgLookupForbidden creates a GetOrgUsersForCurrentOrgLookupForbidden with default headers values
func (*GetOrgUsersForCurrentOrgLookupForbidden) Error ¶
func (o *GetOrgUsersForCurrentOrgLookupForbidden) Error() string
func (*GetOrgUsersForCurrentOrgLookupForbidden) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgLookupForbidden) GetPayload() *models.ErrorResponseBody
type GetOrgUsersForCurrentOrgLookupInternalServerError ¶
type GetOrgUsersForCurrentOrgLookupInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetOrgUsersForCurrentOrgLookupInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetOrgUsersForCurrentOrgLookupInternalServerError ¶
func NewGetOrgUsersForCurrentOrgLookupInternalServerError() *GetOrgUsersForCurrentOrgLookupInternalServerError
NewGetOrgUsersForCurrentOrgLookupInternalServerError creates a GetOrgUsersForCurrentOrgLookupInternalServerError with default headers values
func (*GetOrgUsersForCurrentOrgLookupInternalServerError) Error ¶
func (o *GetOrgUsersForCurrentOrgLookupInternalServerError) Error() string
func (*GetOrgUsersForCurrentOrgLookupInternalServerError) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgLookupInternalServerError) GetPayload() *models.ErrorResponseBody
type GetOrgUsersForCurrentOrgLookupOK ¶
type GetOrgUsersForCurrentOrgLookupOK struct {
Payload []*models.UserLookupDTO
}
GetOrgUsersForCurrentOrgLookupOK describes a response with status code 200, with default header values.
(empty)
func NewGetOrgUsersForCurrentOrgLookupOK ¶
func NewGetOrgUsersForCurrentOrgLookupOK() *GetOrgUsersForCurrentOrgLookupOK
NewGetOrgUsersForCurrentOrgLookupOK creates a GetOrgUsersForCurrentOrgLookupOK with default headers values
func (*GetOrgUsersForCurrentOrgLookupOK) Error ¶
func (o *GetOrgUsersForCurrentOrgLookupOK) Error() string
func (*GetOrgUsersForCurrentOrgLookupOK) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgLookupOK) GetPayload() []*models.UserLookupDTO
type GetOrgUsersForCurrentOrgLookupParams ¶
type GetOrgUsersForCurrentOrgLookupParams struct { // Limit. // // Format: int64 Limit *int64 // Query. Query *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgUsersForCurrentOrgLookupParams contains all the parameters to send to the API endpoint
for the get org users for current org lookup operation. Typically these are written to a http.Request.
func NewGetOrgUsersForCurrentOrgLookupParams ¶
func NewGetOrgUsersForCurrentOrgLookupParams() *GetOrgUsersForCurrentOrgLookupParams
NewGetOrgUsersForCurrentOrgLookupParams creates a new GetOrgUsersForCurrentOrgLookupParams 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 NewGetOrgUsersForCurrentOrgLookupParamsWithContext ¶
func NewGetOrgUsersForCurrentOrgLookupParamsWithContext(ctx context.Context) *GetOrgUsersForCurrentOrgLookupParams
NewGetOrgUsersForCurrentOrgLookupParamsWithContext creates a new GetOrgUsersForCurrentOrgLookupParams object with the ability to set a context for a request.
func NewGetOrgUsersForCurrentOrgLookupParamsWithHTTPClient ¶
func NewGetOrgUsersForCurrentOrgLookupParamsWithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgLookupParams
NewGetOrgUsersForCurrentOrgLookupParamsWithHTTPClient creates a new GetOrgUsersForCurrentOrgLookupParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgUsersForCurrentOrgLookupParamsWithTimeout ¶
func NewGetOrgUsersForCurrentOrgLookupParamsWithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgLookupParams
NewGetOrgUsersForCurrentOrgLookupParamsWithTimeout creates a new GetOrgUsersForCurrentOrgLookupParams object with the ability to set a timeout on a request.
func (*GetOrgUsersForCurrentOrgLookupParams) SetContext ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) SetContext(ctx context.Context)
SetContext adds the context to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) SetDefaults ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) SetDefaults()
SetDefaults hydrates default values in the get org users for current org lookup params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgUsersForCurrentOrgLookupParams) SetHTTPClient ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) SetLimit ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) SetLimit(limit *int64)
SetLimit adds the limit to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) SetQuery ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) SetQuery(query *string)
SetQuery adds the query to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) SetTimeout ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) WithContext ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) WithContext(ctx context.Context) *GetOrgUsersForCurrentOrgLookupParams
WithContext adds the context to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) WithDefaults ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) WithDefaults() *GetOrgUsersForCurrentOrgLookupParams
WithDefaults hydrates default values in the get org users for current org lookup params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgUsersForCurrentOrgLookupParams) WithHTTPClient ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) WithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgLookupParams
WithHTTPClient adds the HTTPClient to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) WithLimit ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) WithLimit(limit *int64) *GetOrgUsersForCurrentOrgLookupParams
WithLimit adds the limit to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) WithQuery ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) WithQuery(query *string) *GetOrgUsersForCurrentOrgLookupParams
WithQuery adds the query to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) WithTimeout ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) WithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgLookupParams
WithTimeout adds the timeout to the get org users for current org lookup params
func (*GetOrgUsersForCurrentOrgLookupParams) WriteToRequest ¶
func (o *GetOrgUsersForCurrentOrgLookupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgUsersForCurrentOrgLookupReader ¶
type GetOrgUsersForCurrentOrgLookupReader struct {
// contains filtered or unexported fields
}
GetOrgUsersForCurrentOrgLookupReader is a Reader for the GetOrgUsersForCurrentOrgLookup structure.
func (*GetOrgUsersForCurrentOrgLookupReader) ReadResponse ¶
func (o *GetOrgUsersForCurrentOrgLookupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgUsersForCurrentOrgLookupUnauthorized ¶
type GetOrgUsersForCurrentOrgLookupUnauthorized struct {
}GetOrgUsersForCurrentOrgLookupUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetOrgUsersForCurrentOrgLookupUnauthorized ¶
func NewGetOrgUsersForCurrentOrgLookupUnauthorized() *GetOrgUsersForCurrentOrgLookupUnauthorized
NewGetOrgUsersForCurrentOrgLookupUnauthorized creates a GetOrgUsersForCurrentOrgLookupUnauthorized with default headers values
func (*GetOrgUsersForCurrentOrgLookupUnauthorized) Error ¶
func (o *GetOrgUsersForCurrentOrgLookupUnauthorized) Error() string
func (*GetOrgUsersForCurrentOrgLookupUnauthorized) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgLookupUnauthorized) GetPayload() *models.ErrorResponseBody
type GetOrgUsersForCurrentOrgOK ¶
type GetOrgUsersForCurrentOrgOK struct {
Payload []*models.OrgUserDTO
}
GetOrgUsersForCurrentOrgOK describes a response with status code 200, with default header values.
(empty)
func NewGetOrgUsersForCurrentOrgOK ¶
func NewGetOrgUsersForCurrentOrgOK() *GetOrgUsersForCurrentOrgOK
NewGetOrgUsersForCurrentOrgOK creates a GetOrgUsersForCurrentOrgOK with default headers values
func (*GetOrgUsersForCurrentOrgOK) Error ¶
func (o *GetOrgUsersForCurrentOrgOK) Error() string
func (*GetOrgUsersForCurrentOrgOK) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgOK) GetPayload() []*models.OrgUserDTO
type GetOrgUsersForCurrentOrgParams ¶
type GetOrgUsersForCurrentOrgParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgUsersForCurrentOrgParams contains all the parameters to send to the API endpoint
for the get org users for current org operation. Typically these are written to a http.Request.
func NewGetOrgUsersForCurrentOrgParams ¶
func NewGetOrgUsersForCurrentOrgParams() *GetOrgUsersForCurrentOrgParams
NewGetOrgUsersForCurrentOrgParams creates a new GetOrgUsersForCurrentOrgParams 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 NewGetOrgUsersForCurrentOrgParamsWithContext ¶
func NewGetOrgUsersForCurrentOrgParamsWithContext(ctx context.Context) *GetOrgUsersForCurrentOrgParams
NewGetOrgUsersForCurrentOrgParamsWithContext creates a new GetOrgUsersForCurrentOrgParams object with the ability to set a context for a request.
func NewGetOrgUsersForCurrentOrgParamsWithHTTPClient ¶
func NewGetOrgUsersForCurrentOrgParamsWithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgParams
NewGetOrgUsersForCurrentOrgParamsWithHTTPClient creates a new GetOrgUsersForCurrentOrgParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgUsersForCurrentOrgParamsWithTimeout ¶
func NewGetOrgUsersForCurrentOrgParamsWithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgParams
NewGetOrgUsersForCurrentOrgParamsWithTimeout creates a new GetOrgUsersForCurrentOrgParams object with the ability to set a timeout on a request.
func (*GetOrgUsersForCurrentOrgParams) SetContext ¶
func (o *GetOrgUsersForCurrentOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the get org users for current org params
func (*GetOrgUsersForCurrentOrgParams) SetDefaults ¶
func (o *GetOrgUsersForCurrentOrgParams) SetDefaults()
SetDefaults hydrates default values in the get org users for current org params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgUsersForCurrentOrgParams) SetHTTPClient ¶
func (o *GetOrgUsersForCurrentOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org users for current org params
func (*GetOrgUsersForCurrentOrgParams) SetTimeout ¶
func (o *GetOrgUsersForCurrentOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org users for current org params
func (*GetOrgUsersForCurrentOrgParams) WithContext ¶
func (o *GetOrgUsersForCurrentOrgParams) WithContext(ctx context.Context) *GetOrgUsersForCurrentOrgParams
WithContext adds the context to the get org users for current org params
func (*GetOrgUsersForCurrentOrgParams) WithDefaults ¶
func (o *GetOrgUsersForCurrentOrgParams) WithDefaults() *GetOrgUsersForCurrentOrgParams
WithDefaults hydrates default values in the get org users for current org params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgUsersForCurrentOrgParams) WithHTTPClient ¶
func (o *GetOrgUsersForCurrentOrgParams) WithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgParams
WithHTTPClient adds the HTTPClient to the get org users for current org params
func (*GetOrgUsersForCurrentOrgParams) WithTimeout ¶
func (o *GetOrgUsersForCurrentOrgParams) WithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgParams
WithTimeout adds the timeout to the get org users for current org params
func (*GetOrgUsersForCurrentOrgParams) WriteToRequest ¶
func (o *GetOrgUsersForCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgUsersForCurrentOrgReader ¶
type GetOrgUsersForCurrentOrgReader struct {
// contains filtered or unexported fields
}
GetOrgUsersForCurrentOrgReader is a Reader for the GetOrgUsersForCurrentOrg structure.
func (*GetOrgUsersForCurrentOrgReader) ReadResponse ¶
func (o *GetOrgUsersForCurrentOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgUsersForCurrentOrgUnauthorized ¶
type GetOrgUsersForCurrentOrgUnauthorized struct {
}GetOrgUsersForCurrentOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetOrgUsersForCurrentOrgUnauthorized ¶
func NewGetOrgUsersForCurrentOrgUnauthorized() *GetOrgUsersForCurrentOrgUnauthorized
NewGetOrgUsersForCurrentOrgUnauthorized creates a GetOrgUsersForCurrentOrgUnauthorized with default headers values
func (*GetOrgUsersForCurrentOrgUnauthorized) Error ¶
func (o *GetOrgUsersForCurrentOrgUnauthorized) Error() string
func (*GetOrgUsersForCurrentOrgUnauthorized) GetPayload ¶
func (o *GetOrgUsersForCurrentOrgUnauthorized) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserForCurrentOrgBadRequest ¶
type RemoveOrgUserForCurrentOrgBadRequest struct {
Payload *models.ErrorResponseBody
}
RemoveOrgUserForCurrentOrgBadRequest 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 NewRemoveOrgUserForCurrentOrgBadRequest ¶
func NewRemoveOrgUserForCurrentOrgBadRequest() *RemoveOrgUserForCurrentOrgBadRequest
NewRemoveOrgUserForCurrentOrgBadRequest creates a RemoveOrgUserForCurrentOrgBadRequest with default headers values
func (*RemoveOrgUserForCurrentOrgBadRequest) Error ¶
func (o *RemoveOrgUserForCurrentOrgBadRequest) Error() string
func (*RemoveOrgUserForCurrentOrgBadRequest) GetPayload ¶
func (o *RemoveOrgUserForCurrentOrgBadRequest) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserForCurrentOrgForbidden ¶
type RemoveOrgUserForCurrentOrgForbidden struct {
Payload *models.ErrorResponseBody
}
RemoveOrgUserForCurrentOrgForbidden 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 NewRemoveOrgUserForCurrentOrgForbidden ¶
func NewRemoveOrgUserForCurrentOrgForbidden() *RemoveOrgUserForCurrentOrgForbidden
NewRemoveOrgUserForCurrentOrgForbidden creates a RemoveOrgUserForCurrentOrgForbidden with default headers values
func (*RemoveOrgUserForCurrentOrgForbidden) Error ¶
func (o *RemoveOrgUserForCurrentOrgForbidden) Error() string
func (*RemoveOrgUserForCurrentOrgForbidden) GetPayload ¶
func (o *RemoveOrgUserForCurrentOrgForbidden) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserForCurrentOrgInternalServerError ¶
type RemoveOrgUserForCurrentOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
RemoveOrgUserForCurrentOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRemoveOrgUserForCurrentOrgInternalServerError ¶
func NewRemoveOrgUserForCurrentOrgInternalServerError() *RemoveOrgUserForCurrentOrgInternalServerError
NewRemoveOrgUserForCurrentOrgInternalServerError creates a RemoveOrgUserForCurrentOrgInternalServerError with default headers values
func (*RemoveOrgUserForCurrentOrgInternalServerError) Error ¶
func (o *RemoveOrgUserForCurrentOrgInternalServerError) Error() string
func (*RemoveOrgUserForCurrentOrgInternalServerError) GetPayload ¶
func (o *RemoveOrgUserForCurrentOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserForCurrentOrgOK ¶
type RemoveOrgUserForCurrentOrgOK struct {
Payload *models.SuccessResponseBody
}
RemoveOrgUserForCurrentOrgOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewRemoveOrgUserForCurrentOrgOK ¶
func NewRemoveOrgUserForCurrentOrgOK() *RemoveOrgUserForCurrentOrgOK
NewRemoveOrgUserForCurrentOrgOK creates a RemoveOrgUserForCurrentOrgOK with default headers values
func (*RemoveOrgUserForCurrentOrgOK) Error ¶
func (o *RemoveOrgUserForCurrentOrgOK) Error() string
func (*RemoveOrgUserForCurrentOrgOK) GetPayload ¶
func (o *RemoveOrgUserForCurrentOrgOK) GetPayload() *models.SuccessResponseBody
type RemoveOrgUserForCurrentOrgParams ¶
type RemoveOrgUserForCurrentOrgParams struct { // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveOrgUserForCurrentOrgParams contains all the parameters to send to the API endpoint
for the remove org user for current org operation. Typically these are written to a http.Request.
func NewRemoveOrgUserForCurrentOrgParams ¶
func NewRemoveOrgUserForCurrentOrgParams() *RemoveOrgUserForCurrentOrgParams
NewRemoveOrgUserForCurrentOrgParams creates a new RemoveOrgUserForCurrentOrgParams 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 NewRemoveOrgUserForCurrentOrgParamsWithContext ¶
func NewRemoveOrgUserForCurrentOrgParamsWithContext(ctx context.Context) *RemoveOrgUserForCurrentOrgParams
NewRemoveOrgUserForCurrentOrgParamsWithContext creates a new RemoveOrgUserForCurrentOrgParams object with the ability to set a context for a request.
func NewRemoveOrgUserForCurrentOrgParamsWithHTTPClient ¶
func NewRemoveOrgUserForCurrentOrgParamsWithHTTPClient(client *http.Client) *RemoveOrgUserForCurrentOrgParams
NewRemoveOrgUserForCurrentOrgParamsWithHTTPClient creates a new RemoveOrgUserForCurrentOrgParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveOrgUserForCurrentOrgParamsWithTimeout ¶
func NewRemoveOrgUserForCurrentOrgParamsWithTimeout(timeout time.Duration) *RemoveOrgUserForCurrentOrgParams
NewRemoveOrgUserForCurrentOrgParamsWithTimeout creates a new RemoveOrgUserForCurrentOrgParams object with the ability to set a timeout on a request.
func (*RemoveOrgUserForCurrentOrgParams) SetContext ¶
func (o *RemoveOrgUserForCurrentOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) SetDefaults ¶
func (o *RemoveOrgUserForCurrentOrgParams) SetDefaults()
SetDefaults hydrates default values in the remove org user for current org params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveOrgUserForCurrentOrgParams) SetHTTPClient ¶
func (o *RemoveOrgUserForCurrentOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) SetTimeout ¶
func (o *RemoveOrgUserForCurrentOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) SetUserID ¶
func (o *RemoveOrgUserForCurrentOrgParams) SetUserID(userID int64)
SetUserID adds the userId to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) WithContext ¶
func (o *RemoveOrgUserForCurrentOrgParams) WithContext(ctx context.Context) *RemoveOrgUserForCurrentOrgParams
WithContext adds the context to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) WithDefaults ¶
func (o *RemoveOrgUserForCurrentOrgParams) WithDefaults() *RemoveOrgUserForCurrentOrgParams
WithDefaults hydrates default values in the remove org user for current org params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveOrgUserForCurrentOrgParams) WithHTTPClient ¶
func (o *RemoveOrgUserForCurrentOrgParams) WithHTTPClient(client *http.Client) *RemoveOrgUserForCurrentOrgParams
WithHTTPClient adds the HTTPClient to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) WithTimeout ¶
func (o *RemoveOrgUserForCurrentOrgParams) WithTimeout(timeout time.Duration) *RemoveOrgUserForCurrentOrgParams
WithTimeout adds the timeout to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) WithUserID ¶
func (o *RemoveOrgUserForCurrentOrgParams) WithUserID(userID int64) *RemoveOrgUserForCurrentOrgParams
WithUserID adds the userID to the remove org user for current org params
func (*RemoveOrgUserForCurrentOrgParams) WriteToRequest ¶
func (o *RemoveOrgUserForCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveOrgUserForCurrentOrgReader ¶
type RemoveOrgUserForCurrentOrgReader struct {
// contains filtered or unexported fields
}
RemoveOrgUserForCurrentOrgReader is a Reader for the RemoveOrgUserForCurrentOrg structure.
func (*RemoveOrgUserForCurrentOrgReader) ReadResponse ¶
func (o *RemoveOrgUserForCurrentOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveOrgUserForCurrentOrgUnauthorized ¶
type RemoveOrgUserForCurrentOrgUnauthorized struct {
}RemoveOrgUserForCurrentOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRemoveOrgUserForCurrentOrgUnauthorized ¶
func NewRemoveOrgUserForCurrentOrgUnauthorized() *RemoveOrgUserForCurrentOrgUnauthorized
NewRemoveOrgUserForCurrentOrgUnauthorized creates a RemoveOrgUserForCurrentOrgUnauthorized with default headers values
func (*RemoveOrgUserForCurrentOrgUnauthorized) Error ¶
func (o *RemoveOrgUserForCurrentOrgUnauthorized) Error() string
func (*RemoveOrgUserForCurrentOrgUnauthorized) GetPayload ¶
func (o *RemoveOrgUserForCurrentOrgUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgAddressBadRequest ¶
type UpdateCurrentOrgAddressBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateCurrentOrgAddressBadRequest 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 NewUpdateCurrentOrgAddressBadRequest ¶
func NewUpdateCurrentOrgAddressBadRequest() *UpdateCurrentOrgAddressBadRequest
NewUpdateCurrentOrgAddressBadRequest creates a UpdateCurrentOrgAddressBadRequest with default headers values
func (*UpdateCurrentOrgAddressBadRequest) Error ¶
func (o *UpdateCurrentOrgAddressBadRequest) Error() string
func (*UpdateCurrentOrgAddressBadRequest) GetPayload ¶
func (o *UpdateCurrentOrgAddressBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgAddressForbidden ¶
type UpdateCurrentOrgAddressForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateCurrentOrgAddressForbidden 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 NewUpdateCurrentOrgAddressForbidden ¶
func NewUpdateCurrentOrgAddressForbidden() *UpdateCurrentOrgAddressForbidden
NewUpdateCurrentOrgAddressForbidden creates a UpdateCurrentOrgAddressForbidden with default headers values
func (*UpdateCurrentOrgAddressForbidden) Error ¶
func (o *UpdateCurrentOrgAddressForbidden) Error() string
func (*UpdateCurrentOrgAddressForbidden) GetPayload ¶
func (o *UpdateCurrentOrgAddressForbidden) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgAddressInternalServerError ¶
type UpdateCurrentOrgAddressInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateCurrentOrgAddressInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateCurrentOrgAddressInternalServerError ¶
func NewUpdateCurrentOrgAddressInternalServerError() *UpdateCurrentOrgAddressInternalServerError
NewUpdateCurrentOrgAddressInternalServerError creates a UpdateCurrentOrgAddressInternalServerError with default headers values
func (*UpdateCurrentOrgAddressInternalServerError) Error ¶
func (o *UpdateCurrentOrgAddressInternalServerError) Error() string
func (*UpdateCurrentOrgAddressInternalServerError) GetPayload ¶
func (o *UpdateCurrentOrgAddressInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgAddressOK ¶
type UpdateCurrentOrgAddressOK struct {
Payload *models.SuccessResponseBody
}
UpdateCurrentOrgAddressOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateCurrentOrgAddressOK ¶
func NewUpdateCurrentOrgAddressOK() *UpdateCurrentOrgAddressOK
NewUpdateCurrentOrgAddressOK creates a UpdateCurrentOrgAddressOK with default headers values
func (*UpdateCurrentOrgAddressOK) Error ¶
func (o *UpdateCurrentOrgAddressOK) Error() string
func (*UpdateCurrentOrgAddressOK) GetPayload ¶
func (o *UpdateCurrentOrgAddressOK) GetPayload() *models.SuccessResponseBody
type UpdateCurrentOrgAddressParams ¶
type UpdateCurrentOrgAddressParams struct { // Body. Body *models.UpdateOrgAddressForm Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCurrentOrgAddressParams contains all the parameters to send to the API endpoint
for the update current org address operation. Typically these are written to a http.Request.
func NewUpdateCurrentOrgAddressParams ¶
func NewUpdateCurrentOrgAddressParams() *UpdateCurrentOrgAddressParams
NewUpdateCurrentOrgAddressParams creates a new UpdateCurrentOrgAddressParams 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 NewUpdateCurrentOrgAddressParamsWithContext ¶
func NewUpdateCurrentOrgAddressParamsWithContext(ctx context.Context) *UpdateCurrentOrgAddressParams
NewUpdateCurrentOrgAddressParamsWithContext creates a new UpdateCurrentOrgAddressParams object with the ability to set a context for a request.
func NewUpdateCurrentOrgAddressParamsWithHTTPClient ¶
func NewUpdateCurrentOrgAddressParamsWithHTTPClient(client *http.Client) *UpdateCurrentOrgAddressParams
NewUpdateCurrentOrgAddressParamsWithHTTPClient creates a new UpdateCurrentOrgAddressParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCurrentOrgAddressParamsWithTimeout ¶
func NewUpdateCurrentOrgAddressParamsWithTimeout(timeout time.Duration) *UpdateCurrentOrgAddressParams
NewUpdateCurrentOrgAddressParamsWithTimeout creates a new UpdateCurrentOrgAddressParams object with the ability to set a timeout on a request.
func (*UpdateCurrentOrgAddressParams) SetBody ¶
func (o *UpdateCurrentOrgAddressParams) SetBody(body *models.UpdateOrgAddressForm)
SetBody adds the body to the update current org address params
func (*UpdateCurrentOrgAddressParams) SetContext ¶
func (o *UpdateCurrentOrgAddressParams) SetContext(ctx context.Context)
SetContext adds the context to the update current org address params
func (*UpdateCurrentOrgAddressParams) SetDefaults ¶
func (o *UpdateCurrentOrgAddressParams) SetDefaults()
SetDefaults hydrates default values in the update current org address params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCurrentOrgAddressParams) SetHTTPClient ¶
func (o *UpdateCurrentOrgAddressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update current org address params
func (*UpdateCurrentOrgAddressParams) SetTimeout ¶
func (o *UpdateCurrentOrgAddressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update current org address params
func (*UpdateCurrentOrgAddressParams) WithBody ¶
func (o *UpdateCurrentOrgAddressParams) WithBody(body *models.UpdateOrgAddressForm) *UpdateCurrentOrgAddressParams
WithBody adds the body to the update current org address params
func (*UpdateCurrentOrgAddressParams) WithContext ¶
func (o *UpdateCurrentOrgAddressParams) WithContext(ctx context.Context) *UpdateCurrentOrgAddressParams
WithContext adds the context to the update current org address params
func (*UpdateCurrentOrgAddressParams) WithDefaults ¶
func (o *UpdateCurrentOrgAddressParams) WithDefaults() *UpdateCurrentOrgAddressParams
WithDefaults hydrates default values in the update current org address params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCurrentOrgAddressParams) WithHTTPClient ¶
func (o *UpdateCurrentOrgAddressParams) WithHTTPClient(client *http.Client) *UpdateCurrentOrgAddressParams
WithHTTPClient adds the HTTPClient to the update current org address params
func (*UpdateCurrentOrgAddressParams) WithTimeout ¶
func (o *UpdateCurrentOrgAddressParams) WithTimeout(timeout time.Duration) *UpdateCurrentOrgAddressParams
WithTimeout adds the timeout to the update current org address params
func (*UpdateCurrentOrgAddressParams) WriteToRequest ¶
func (o *UpdateCurrentOrgAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCurrentOrgAddressReader ¶
type UpdateCurrentOrgAddressReader struct {
// contains filtered or unexported fields
}
UpdateCurrentOrgAddressReader is a Reader for the UpdateCurrentOrgAddress structure.
func (*UpdateCurrentOrgAddressReader) ReadResponse ¶
func (o *UpdateCurrentOrgAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCurrentOrgAddressUnauthorized ¶
type UpdateCurrentOrgAddressUnauthorized struct {
}UpdateCurrentOrgAddressUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateCurrentOrgAddressUnauthorized ¶
func NewUpdateCurrentOrgAddressUnauthorized() *UpdateCurrentOrgAddressUnauthorized
NewUpdateCurrentOrgAddressUnauthorized creates a UpdateCurrentOrgAddressUnauthorized with default headers values
func (*UpdateCurrentOrgAddressUnauthorized) Error ¶
func (o *UpdateCurrentOrgAddressUnauthorized) Error() string
func (*UpdateCurrentOrgAddressUnauthorized) GetPayload ¶
func (o *UpdateCurrentOrgAddressUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgBadRequest ¶
type UpdateCurrentOrgBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateCurrentOrgBadRequest 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 NewUpdateCurrentOrgBadRequest ¶
func NewUpdateCurrentOrgBadRequest() *UpdateCurrentOrgBadRequest
NewUpdateCurrentOrgBadRequest creates a UpdateCurrentOrgBadRequest with default headers values
func (*UpdateCurrentOrgBadRequest) Error ¶
func (o *UpdateCurrentOrgBadRequest) Error() string
func (*UpdateCurrentOrgBadRequest) GetPayload ¶
func (o *UpdateCurrentOrgBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgForbidden ¶
type UpdateCurrentOrgForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateCurrentOrgForbidden 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 NewUpdateCurrentOrgForbidden ¶
func NewUpdateCurrentOrgForbidden() *UpdateCurrentOrgForbidden
NewUpdateCurrentOrgForbidden creates a UpdateCurrentOrgForbidden with default headers values
func (*UpdateCurrentOrgForbidden) Error ¶
func (o *UpdateCurrentOrgForbidden) Error() string
func (*UpdateCurrentOrgForbidden) GetPayload ¶
func (o *UpdateCurrentOrgForbidden) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgInternalServerError ¶
type UpdateCurrentOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateCurrentOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateCurrentOrgInternalServerError ¶
func NewUpdateCurrentOrgInternalServerError() *UpdateCurrentOrgInternalServerError
NewUpdateCurrentOrgInternalServerError creates a UpdateCurrentOrgInternalServerError with default headers values
func (*UpdateCurrentOrgInternalServerError) Error ¶
func (o *UpdateCurrentOrgInternalServerError) Error() string
func (*UpdateCurrentOrgInternalServerError) GetPayload ¶
func (o *UpdateCurrentOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateCurrentOrgOK ¶
type UpdateCurrentOrgOK struct {
Payload *models.SuccessResponseBody
}
UpdateCurrentOrgOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateCurrentOrgOK ¶
func NewUpdateCurrentOrgOK() *UpdateCurrentOrgOK
NewUpdateCurrentOrgOK creates a UpdateCurrentOrgOK with default headers values
func (*UpdateCurrentOrgOK) Error ¶
func (o *UpdateCurrentOrgOK) Error() string
func (*UpdateCurrentOrgOK) GetPayload ¶
func (o *UpdateCurrentOrgOK) GetPayload() *models.SuccessResponseBody
type UpdateCurrentOrgParams ¶
type UpdateCurrentOrgParams struct { // Body. Body *models.UpdateOrgForm Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCurrentOrgParams contains all the parameters to send to the API endpoint
for the update current org operation. Typically these are written to a http.Request.
func NewUpdateCurrentOrgParams ¶
func NewUpdateCurrentOrgParams() *UpdateCurrentOrgParams
NewUpdateCurrentOrgParams creates a new UpdateCurrentOrgParams 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 NewUpdateCurrentOrgParamsWithContext ¶
func NewUpdateCurrentOrgParamsWithContext(ctx context.Context) *UpdateCurrentOrgParams
NewUpdateCurrentOrgParamsWithContext creates a new UpdateCurrentOrgParams object with the ability to set a context for a request.
func NewUpdateCurrentOrgParamsWithHTTPClient ¶
func NewUpdateCurrentOrgParamsWithHTTPClient(client *http.Client) *UpdateCurrentOrgParams
NewUpdateCurrentOrgParamsWithHTTPClient creates a new UpdateCurrentOrgParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCurrentOrgParamsWithTimeout ¶
func NewUpdateCurrentOrgParamsWithTimeout(timeout time.Duration) *UpdateCurrentOrgParams
NewUpdateCurrentOrgParamsWithTimeout creates a new UpdateCurrentOrgParams object with the ability to set a timeout on a request.
func (*UpdateCurrentOrgParams) SetBody ¶
func (o *UpdateCurrentOrgParams) SetBody(body *models.UpdateOrgForm)
SetBody adds the body to the update current org params
func (*UpdateCurrentOrgParams) SetContext ¶
func (o *UpdateCurrentOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the update current org params
func (*UpdateCurrentOrgParams) SetDefaults ¶
func (o *UpdateCurrentOrgParams) SetDefaults()
SetDefaults hydrates default values in the update current org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCurrentOrgParams) SetHTTPClient ¶
func (o *UpdateCurrentOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update current org params
func (*UpdateCurrentOrgParams) SetTimeout ¶
func (o *UpdateCurrentOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update current org params
func (*UpdateCurrentOrgParams) WithBody ¶
func (o *UpdateCurrentOrgParams) WithBody(body *models.UpdateOrgForm) *UpdateCurrentOrgParams
WithBody adds the body to the update current org params
func (*UpdateCurrentOrgParams) WithContext ¶
func (o *UpdateCurrentOrgParams) WithContext(ctx context.Context) *UpdateCurrentOrgParams
WithContext adds the context to the update current org params
func (*UpdateCurrentOrgParams) WithDefaults ¶
func (o *UpdateCurrentOrgParams) WithDefaults() *UpdateCurrentOrgParams
WithDefaults hydrates default values in the update current org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCurrentOrgParams) WithHTTPClient ¶
func (o *UpdateCurrentOrgParams) WithHTTPClient(client *http.Client) *UpdateCurrentOrgParams
WithHTTPClient adds the HTTPClient to the update current org params
func (*UpdateCurrentOrgParams) WithTimeout ¶
func (o *UpdateCurrentOrgParams) WithTimeout(timeout time.Duration) *UpdateCurrentOrgParams
WithTimeout adds the timeout to the update current org params
func (*UpdateCurrentOrgParams) WriteToRequest ¶
func (o *UpdateCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCurrentOrgReader ¶
type UpdateCurrentOrgReader struct {
// contains filtered or unexported fields
}
UpdateCurrentOrgReader is a Reader for the UpdateCurrentOrg structure.
func (*UpdateCurrentOrgReader) ReadResponse ¶
func (o *UpdateCurrentOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCurrentOrgUnauthorized ¶
type UpdateCurrentOrgUnauthorized struct {
}UpdateCurrentOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateCurrentOrgUnauthorized ¶
func NewUpdateCurrentOrgUnauthorized() *UpdateCurrentOrgUnauthorized
NewUpdateCurrentOrgUnauthorized creates a UpdateCurrentOrgUnauthorized with default headers values
func (*UpdateCurrentOrgUnauthorized) Error ¶
func (o *UpdateCurrentOrgUnauthorized) Error() string
func (*UpdateCurrentOrgUnauthorized) GetPayload ¶
func (o *UpdateCurrentOrgUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserForCurrentOrgBadRequest ¶
type UpdateOrgUserForCurrentOrgBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateOrgUserForCurrentOrgBadRequest 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 NewUpdateOrgUserForCurrentOrgBadRequest ¶
func NewUpdateOrgUserForCurrentOrgBadRequest() *UpdateOrgUserForCurrentOrgBadRequest
NewUpdateOrgUserForCurrentOrgBadRequest creates a UpdateOrgUserForCurrentOrgBadRequest with default headers values
func (*UpdateOrgUserForCurrentOrgBadRequest) Error ¶
func (o *UpdateOrgUserForCurrentOrgBadRequest) Error() string
func (*UpdateOrgUserForCurrentOrgBadRequest) GetPayload ¶
func (o *UpdateOrgUserForCurrentOrgBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserForCurrentOrgForbidden ¶
type UpdateOrgUserForCurrentOrgForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateOrgUserForCurrentOrgForbidden 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 NewUpdateOrgUserForCurrentOrgForbidden ¶
func NewUpdateOrgUserForCurrentOrgForbidden() *UpdateOrgUserForCurrentOrgForbidden
NewUpdateOrgUserForCurrentOrgForbidden creates a UpdateOrgUserForCurrentOrgForbidden with default headers values
func (*UpdateOrgUserForCurrentOrgForbidden) Error ¶
func (o *UpdateOrgUserForCurrentOrgForbidden) Error() string
func (*UpdateOrgUserForCurrentOrgForbidden) GetPayload ¶
func (o *UpdateOrgUserForCurrentOrgForbidden) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserForCurrentOrgInternalServerError ¶
type UpdateOrgUserForCurrentOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateOrgUserForCurrentOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateOrgUserForCurrentOrgInternalServerError ¶
func NewUpdateOrgUserForCurrentOrgInternalServerError() *UpdateOrgUserForCurrentOrgInternalServerError
NewUpdateOrgUserForCurrentOrgInternalServerError creates a UpdateOrgUserForCurrentOrgInternalServerError with default headers values
func (*UpdateOrgUserForCurrentOrgInternalServerError) Error ¶
func (o *UpdateOrgUserForCurrentOrgInternalServerError) Error() string
func (*UpdateOrgUserForCurrentOrgInternalServerError) GetPayload ¶
func (o *UpdateOrgUserForCurrentOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserForCurrentOrgOK ¶
type UpdateOrgUserForCurrentOrgOK struct {
Payload *models.SuccessResponseBody
}
UpdateOrgUserForCurrentOrgOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateOrgUserForCurrentOrgOK ¶
func NewUpdateOrgUserForCurrentOrgOK() *UpdateOrgUserForCurrentOrgOK
NewUpdateOrgUserForCurrentOrgOK creates a UpdateOrgUserForCurrentOrgOK with default headers values
func (*UpdateOrgUserForCurrentOrgOK) Error ¶
func (o *UpdateOrgUserForCurrentOrgOK) Error() string
func (*UpdateOrgUserForCurrentOrgOK) GetPayload ¶
func (o *UpdateOrgUserForCurrentOrgOK) GetPayload() *models.SuccessResponseBody
type UpdateOrgUserForCurrentOrgParams ¶
type UpdateOrgUserForCurrentOrgParams struct { // Body. Body *models.UpdateOrgUserCommand // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrgUserForCurrentOrgParams contains all the parameters to send to the API endpoint
for the update org user for current org operation. Typically these are written to a http.Request.
func NewUpdateOrgUserForCurrentOrgParams ¶
func NewUpdateOrgUserForCurrentOrgParams() *UpdateOrgUserForCurrentOrgParams
NewUpdateOrgUserForCurrentOrgParams creates a new UpdateOrgUserForCurrentOrgParams 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 NewUpdateOrgUserForCurrentOrgParamsWithContext ¶
func NewUpdateOrgUserForCurrentOrgParamsWithContext(ctx context.Context) *UpdateOrgUserForCurrentOrgParams
NewUpdateOrgUserForCurrentOrgParamsWithContext creates a new UpdateOrgUserForCurrentOrgParams object with the ability to set a context for a request.
func NewUpdateOrgUserForCurrentOrgParamsWithHTTPClient ¶
func NewUpdateOrgUserForCurrentOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgUserForCurrentOrgParams
NewUpdateOrgUserForCurrentOrgParamsWithHTTPClient creates a new UpdateOrgUserForCurrentOrgParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrgUserForCurrentOrgParamsWithTimeout ¶
func NewUpdateOrgUserForCurrentOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgUserForCurrentOrgParams
NewUpdateOrgUserForCurrentOrgParamsWithTimeout creates a new UpdateOrgUserForCurrentOrgParams object with the ability to set a timeout on a request.
func (*UpdateOrgUserForCurrentOrgParams) SetBody ¶
func (o *UpdateOrgUserForCurrentOrgParams) SetBody(body *models.UpdateOrgUserCommand)
SetBody adds the body to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) SetContext ¶
func (o *UpdateOrgUserForCurrentOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) SetDefaults ¶
func (o *UpdateOrgUserForCurrentOrgParams) SetDefaults()
SetDefaults hydrates default values in the update org user for current org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgUserForCurrentOrgParams) SetHTTPClient ¶
func (o *UpdateOrgUserForCurrentOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) SetTimeout ¶
func (o *UpdateOrgUserForCurrentOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) SetUserID ¶
func (o *UpdateOrgUserForCurrentOrgParams) SetUserID(userID int64)
SetUserID adds the userId to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) WithBody ¶
func (o *UpdateOrgUserForCurrentOrgParams) WithBody(body *models.UpdateOrgUserCommand) *UpdateOrgUserForCurrentOrgParams
WithBody adds the body to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) WithContext ¶
func (o *UpdateOrgUserForCurrentOrgParams) WithContext(ctx context.Context) *UpdateOrgUserForCurrentOrgParams
WithContext adds the context to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) WithDefaults ¶
func (o *UpdateOrgUserForCurrentOrgParams) WithDefaults() *UpdateOrgUserForCurrentOrgParams
WithDefaults hydrates default values in the update org user for current org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgUserForCurrentOrgParams) WithHTTPClient ¶
func (o *UpdateOrgUserForCurrentOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgUserForCurrentOrgParams
WithHTTPClient adds the HTTPClient to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) WithTimeout ¶
func (o *UpdateOrgUserForCurrentOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgUserForCurrentOrgParams
WithTimeout adds the timeout to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) WithUserID ¶
func (o *UpdateOrgUserForCurrentOrgParams) WithUserID(userID int64) *UpdateOrgUserForCurrentOrgParams
WithUserID adds the userID to the update org user for current org params
func (*UpdateOrgUserForCurrentOrgParams) WriteToRequest ¶
func (o *UpdateOrgUserForCurrentOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgUserForCurrentOrgReader ¶
type UpdateOrgUserForCurrentOrgReader struct {
// contains filtered or unexported fields
}
UpdateOrgUserForCurrentOrgReader is a Reader for the UpdateOrgUserForCurrentOrg structure.
func (*UpdateOrgUserForCurrentOrgReader) ReadResponse ¶
func (o *UpdateOrgUserForCurrentOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgUserForCurrentOrgUnauthorized ¶
type UpdateOrgUserForCurrentOrgUnauthorized struct {
}UpdateOrgUserForCurrentOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateOrgUserForCurrentOrgUnauthorized ¶
func NewUpdateOrgUserForCurrentOrgUnauthorized() *UpdateOrgUserForCurrentOrgUnauthorized
NewUpdateOrgUserForCurrentOrgUnauthorized creates a UpdateOrgUserForCurrentOrgUnauthorized with default headers values
func (*UpdateOrgUserForCurrentOrgUnauthorized) Error ¶
func (o *UpdateOrgUserForCurrentOrgUnauthorized) Error() string
func (*UpdateOrgUserForCurrentOrgUnauthorized) GetPayload ¶
func (o *UpdateOrgUserForCurrentOrgUnauthorized) GetPayload() *models.ErrorResponseBody
Source Files ¶
- add_org_user_to_current_org_parameters.go
- add_org_user_to_current_org_responses.go
- get_current_org_parameters.go
- get_current_org_responses.go
- get_org_users_for_current_org_lookup_parameters.go
- get_org_users_for_current_org_lookup_responses.go
- get_org_users_for_current_org_parameters.go
- get_org_users_for_current_org_responses.go
- org_client.go
- remove_org_user_for_current_org_parameters.go
- remove_org_user_for_current_org_responses.go
- update_current_org_address_parameters.go
- update_current_org_address_responses.go
- update_current_org_parameters.go
- update_current_org_responses.go
- update_org_user_for_current_org_parameters.go
- update_org_user_for_current_org_responses.go