Documentation
¶
Index ¶
- type AddOrgUserForbidden
- type AddOrgUserInternalServerError
- type AddOrgUserOK
- type AddOrgUserParams
- func (o *AddOrgUserParams) SetBody(body *models.AddOrgUserCommand)
- func (o *AddOrgUserParams) SetContext(ctx context.Context)
- func (o *AddOrgUserParams) SetDefaults()
- func (o *AddOrgUserParams) SetHTTPClient(client *http.Client)
- func (o *AddOrgUserParams) SetOrgID(orgID int64)
- func (o *AddOrgUserParams) SetTimeout(timeout time.Duration)
- func (o *AddOrgUserParams) WithBody(body *models.AddOrgUserCommand) *AddOrgUserParams
- func (o *AddOrgUserParams) WithContext(ctx context.Context) *AddOrgUserParams
- func (o *AddOrgUserParams) WithDefaults() *AddOrgUserParams
- func (o *AddOrgUserParams) WithHTTPClient(client *http.Client) *AddOrgUserParams
- func (o *AddOrgUserParams) WithOrgID(orgID int64) *AddOrgUserParams
- func (o *AddOrgUserParams) WithTimeout(timeout time.Duration) *AddOrgUserParams
- func (o *AddOrgUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddOrgUserReader
- type AddOrgUserUnauthorized
- type Client
- func (a *Client) AddOrgUser(params *AddOrgUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddOrgUserOK, error)
- func (a *Client) CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOrgOK, error)
- func (a *Client) DeleteOrgByID(params *DeleteOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOrgByIDOK, error)
- func (a *Client) GetOrgByID(params *GetOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrgByIDOK, error)
- func (a *Client) GetOrgByName(params *GetOrgByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrgByNameOK, error)
- func (a *Client) GetOrgQuota(params *GetOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrgQuotaOK, error)
- func (a *Client) GetOrgUsers(params *GetOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrgUsersOK, error)
- func (a *Client) RemoveOrgUser(params *RemoveOrgUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveOrgUserOK, error)
- func (a *Client) SearchOrgUsers(params *SearchOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchOrgUsersOK, error)
- func (a *Client) SearchOrgs(params *SearchOrgsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchOrgsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrgOK, error)
- func (a *Client) UpdateOrgAddress(params *UpdateOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrgAddressOK, error)
- func (a *Client) UpdateOrgQuota(params *UpdateOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrgQuotaOK, error)
- func (a *Client) UpdateOrgUser(params *UpdateOrgUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrgUserOK, error)
- type ClientOption
- type ClientService
- type CreateOrgConflict
- type CreateOrgForbidden
- type CreateOrgInternalServerError
- type CreateOrgOK
- type CreateOrgParams
- func (o *CreateOrgParams) SetBody(body *models.CreateOrgCommand)
- func (o *CreateOrgParams) SetContext(ctx context.Context)
- func (o *CreateOrgParams) SetDefaults()
- func (o *CreateOrgParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrgParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrgParams) WithBody(body *models.CreateOrgCommand) *CreateOrgParams
- func (o *CreateOrgParams) WithContext(ctx context.Context) *CreateOrgParams
- func (o *CreateOrgParams) WithDefaults() *CreateOrgParams
- func (o *CreateOrgParams) WithHTTPClient(client *http.Client) *CreateOrgParams
- func (o *CreateOrgParams) WithTimeout(timeout time.Duration) *CreateOrgParams
- func (o *CreateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrgReader
- type CreateOrgUnauthorized
- type DeleteOrgByIDBadRequest
- type DeleteOrgByIDForbidden
- type DeleteOrgByIDInternalServerError
- type DeleteOrgByIDNotFound
- type DeleteOrgByIDOK
- type DeleteOrgByIDParams
- func (o *DeleteOrgByIDParams) SetContext(ctx context.Context)
- func (o *DeleteOrgByIDParams) SetDefaults()
- func (o *DeleteOrgByIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrgByIDParams) SetOrgID(orgID int64)
- func (o *DeleteOrgByIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrgByIDParams) WithContext(ctx context.Context) *DeleteOrgByIDParams
- func (o *DeleteOrgByIDParams) WithDefaults() *DeleteOrgByIDParams
- func (o *DeleteOrgByIDParams) WithHTTPClient(client *http.Client) *DeleteOrgByIDParams
- func (o *DeleteOrgByIDParams) WithOrgID(orgID int64) *DeleteOrgByIDParams
- func (o *DeleteOrgByIDParams) WithTimeout(timeout time.Duration) *DeleteOrgByIDParams
- func (o *DeleteOrgByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrgByIDReader
- type DeleteOrgByIDUnauthorized
- type GetOrgByIDForbidden
- type GetOrgByIDInternalServerError
- type GetOrgByIDOK
- type GetOrgByIDParams
- func (o *GetOrgByIDParams) SetContext(ctx context.Context)
- func (o *GetOrgByIDParams) SetDefaults()
- func (o *GetOrgByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgByIDParams) SetOrgID(orgID int64)
- func (o *GetOrgByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgByIDParams) WithContext(ctx context.Context) *GetOrgByIDParams
- func (o *GetOrgByIDParams) WithDefaults() *GetOrgByIDParams
- func (o *GetOrgByIDParams) WithHTTPClient(client *http.Client) *GetOrgByIDParams
- func (o *GetOrgByIDParams) WithOrgID(orgID int64) *GetOrgByIDParams
- func (o *GetOrgByIDParams) WithTimeout(timeout time.Duration) *GetOrgByIDParams
- func (o *GetOrgByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgByIDReader
- type GetOrgByIDUnauthorized
- type GetOrgByNameForbidden
- type GetOrgByNameInternalServerError
- type GetOrgByNameOK
- type GetOrgByNameParams
- func (o *GetOrgByNameParams) SetContext(ctx context.Context)
- func (o *GetOrgByNameParams) SetDefaults()
- func (o *GetOrgByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgByNameParams) SetOrgName(orgName string)
- func (o *GetOrgByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgByNameParams) WithContext(ctx context.Context) *GetOrgByNameParams
- func (o *GetOrgByNameParams) WithDefaults() *GetOrgByNameParams
- func (o *GetOrgByNameParams) WithHTTPClient(client *http.Client) *GetOrgByNameParams
- func (o *GetOrgByNameParams) WithOrgName(orgName string) *GetOrgByNameParams
- func (o *GetOrgByNameParams) WithTimeout(timeout time.Duration) *GetOrgByNameParams
- func (o *GetOrgByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgByNameReader
- type GetOrgByNameUnauthorized
- type GetOrgQuotaForbidden
- type GetOrgQuotaInternalServerError
- type GetOrgQuotaNotFound
- type GetOrgQuotaOK
- type GetOrgQuotaParams
- func (o *GetOrgQuotaParams) SetContext(ctx context.Context)
- func (o *GetOrgQuotaParams) SetDefaults()
- func (o *GetOrgQuotaParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgQuotaParams) SetOrgID(orgID int64)
- func (o *GetOrgQuotaParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgQuotaParams) WithContext(ctx context.Context) *GetOrgQuotaParams
- func (o *GetOrgQuotaParams) WithDefaults() *GetOrgQuotaParams
- func (o *GetOrgQuotaParams) WithHTTPClient(client *http.Client) *GetOrgQuotaParams
- func (o *GetOrgQuotaParams) WithOrgID(orgID int64) *GetOrgQuotaParams
- func (o *GetOrgQuotaParams) WithTimeout(timeout time.Duration) *GetOrgQuotaParams
- func (o *GetOrgQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgQuotaReader
- type GetOrgQuotaUnauthorized
- type GetOrgUsersForbidden
- type GetOrgUsersInternalServerError
- type GetOrgUsersOK
- type GetOrgUsersParams
- func (o *GetOrgUsersParams) SetContext(ctx context.Context)
- func (o *GetOrgUsersParams) SetDefaults()
- func (o *GetOrgUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgUsersParams) SetOrgID(orgID int64)
- func (o *GetOrgUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgUsersParams) WithContext(ctx context.Context) *GetOrgUsersParams
- func (o *GetOrgUsersParams) WithDefaults() *GetOrgUsersParams
- func (o *GetOrgUsersParams) WithHTTPClient(client *http.Client) *GetOrgUsersParams
- func (o *GetOrgUsersParams) WithOrgID(orgID int64) *GetOrgUsersParams
- func (o *GetOrgUsersParams) WithTimeout(timeout time.Duration) *GetOrgUsersParams
- func (o *GetOrgUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgUsersReader
- type GetOrgUsersUnauthorized
- type RemoveOrgUserBadRequest
- type RemoveOrgUserForbidden
- type RemoveOrgUserInternalServerError
- type RemoveOrgUserOK
- type RemoveOrgUserParams
- func (o *RemoveOrgUserParams) SetContext(ctx context.Context)
- func (o *RemoveOrgUserParams) SetDefaults()
- func (o *RemoveOrgUserParams) SetHTTPClient(client *http.Client)
- func (o *RemoveOrgUserParams) SetOrgID(orgID int64)
- func (o *RemoveOrgUserParams) SetTimeout(timeout time.Duration)
- func (o *RemoveOrgUserParams) SetUserID(userID int64)
- func (o *RemoveOrgUserParams) WithContext(ctx context.Context) *RemoveOrgUserParams
- func (o *RemoveOrgUserParams) WithDefaults() *RemoveOrgUserParams
- func (o *RemoveOrgUserParams) WithHTTPClient(client *http.Client) *RemoveOrgUserParams
- func (o *RemoveOrgUserParams) WithOrgID(orgID int64) *RemoveOrgUserParams
- func (o *RemoveOrgUserParams) WithTimeout(timeout time.Duration) *RemoveOrgUserParams
- func (o *RemoveOrgUserParams) WithUserID(userID int64) *RemoveOrgUserParams
- func (o *RemoveOrgUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveOrgUserReader
- type RemoveOrgUserUnauthorized
- type SearchOrgUsersForbidden
- type SearchOrgUsersInternalServerError
- type SearchOrgUsersOK
- type SearchOrgUsersParams
- func NewSearchOrgUsersParams() *SearchOrgUsersParams
- func NewSearchOrgUsersParamsWithContext(ctx context.Context) *SearchOrgUsersParams
- func NewSearchOrgUsersParamsWithHTTPClient(client *http.Client) *SearchOrgUsersParams
- func NewSearchOrgUsersParamsWithTimeout(timeout time.Duration) *SearchOrgUsersParams
- func (o *SearchOrgUsersParams) SetContext(ctx context.Context)
- func (o *SearchOrgUsersParams) SetDefaults()
- func (o *SearchOrgUsersParams) SetHTTPClient(client *http.Client)
- func (o *SearchOrgUsersParams) SetOrgID(orgID int64)
- func (o *SearchOrgUsersParams) SetTimeout(timeout time.Duration)
- func (o *SearchOrgUsersParams) WithContext(ctx context.Context) *SearchOrgUsersParams
- func (o *SearchOrgUsersParams) WithDefaults() *SearchOrgUsersParams
- func (o *SearchOrgUsersParams) WithHTTPClient(client *http.Client) *SearchOrgUsersParams
- func (o *SearchOrgUsersParams) WithOrgID(orgID int64) *SearchOrgUsersParams
- func (o *SearchOrgUsersParams) WithTimeout(timeout time.Duration) *SearchOrgUsersParams
- func (o *SearchOrgUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchOrgUsersReader
- type SearchOrgUsersUnauthorized
- type SearchOrgsConflict
- type SearchOrgsForbidden
- type SearchOrgsInternalServerError
- type SearchOrgsOK
- type SearchOrgsParams
- func (o *SearchOrgsParams) SetContext(ctx context.Context)
- func (o *SearchOrgsParams) SetDefaults()
- func (o *SearchOrgsParams) SetHTTPClient(client *http.Client)
- func (o *SearchOrgsParams) SetName(name *string)
- func (o *SearchOrgsParams) SetPage(page *int64)
- func (o *SearchOrgsParams) SetPerpage(perpage *int64)
- func (o *SearchOrgsParams) SetQuery(query *string)
- func (o *SearchOrgsParams) SetTimeout(timeout time.Duration)
- func (o *SearchOrgsParams) WithContext(ctx context.Context) *SearchOrgsParams
- func (o *SearchOrgsParams) WithDefaults() *SearchOrgsParams
- func (o *SearchOrgsParams) WithHTTPClient(client *http.Client) *SearchOrgsParams
- func (o *SearchOrgsParams) WithName(name *string) *SearchOrgsParams
- func (o *SearchOrgsParams) WithPage(page *int64) *SearchOrgsParams
- func (o *SearchOrgsParams) WithPerpage(perpage *int64) *SearchOrgsParams
- func (o *SearchOrgsParams) WithQuery(query *string) *SearchOrgsParams
- func (o *SearchOrgsParams) WithTimeout(timeout time.Duration) *SearchOrgsParams
- func (o *SearchOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchOrgsReader
- type SearchOrgsUnauthorized
- type UpdateOrgAddressBadRequest
- type UpdateOrgAddressForbidden
- type UpdateOrgAddressInternalServerError
- type UpdateOrgAddressOK
- type UpdateOrgAddressParams
- func NewUpdateOrgAddressParams() *UpdateOrgAddressParams
- func NewUpdateOrgAddressParamsWithContext(ctx context.Context) *UpdateOrgAddressParams
- func NewUpdateOrgAddressParamsWithHTTPClient(client *http.Client) *UpdateOrgAddressParams
- func NewUpdateOrgAddressParamsWithTimeout(timeout time.Duration) *UpdateOrgAddressParams
- func (o *UpdateOrgAddressParams) SetBody(body *models.UpdateOrgAddressForm)
- func (o *UpdateOrgAddressParams) SetContext(ctx context.Context)
- func (o *UpdateOrgAddressParams) SetDefaults()
- func (o *UpdateOrgAddressParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgAddressParams) SetOrgID(orgID int64)
- func (o *UpdateOrgAddressParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgAddressParams) WithBody(body *models.UpdateOrgAddressForm) *UpdateOrgAddressParams
- func (o *UpdateOrgAddressParams) WithContext(ctx context.Context) *UpdateOrgAddressParams
- func (o *UpdateOrgAddressParams) WithDefaults() *UpdateOrgAddressParams
- func (o *UpdateOrgAddressParams) WithHTTPClient(client *http.Client) *UpdateOrgAddressParams
- func (o *UpdateOrgAddressParams) WithOrgID(orgID int64) *UpdateOrgAddressParams
- func (o *UpdateOrgAddressParams) WithTimeout(timeout time.Duration) *UpdateOrgAddressParams
- func (o *UpdateOrgAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgAddressReader
- type UpdateOrgAddressUnauthorized
- type UpdateOrgBadRequest
- type UpdateOrgForbidden
- type UpdateOrgInternalServerError
- type UpdateOrgOK
- type UpdateOrgParams
- func (o *UpdateOrgParams) SetBody(body *models.UpdateOrgForm)
- func (o *UpdateOrgParams) SetContext(ctx context.Context)
- func (o *UpdateOrgParams) SetDefaults()
- func (o *UpdateOrgParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgParams) SetOrgID(orgID int64)
- func (o *UpdateOrgParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgParams) WithBody(body *models.UpdateOrgForm) *UpdateOrgParams
- func (o *UpdateOrgParams) WithContext(ctx context.Context) *UpdateOrgParams
- func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams
- func (o *UpdateOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgParams
- func (o *UpdateOrgParams) WithOrgID(orgID int64) *UpdateOrgParams
- func (o *UpdateOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgParams
- func (o *UpdateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgQuotaForbidden
- type UpdateOrgQuotaInternalServerError
- type UpdateOrgQuotaNotFound
- type UpdateOrgQuotaOK
- type UpdateOrgQuotaParams
- func NewUpdateOrgQuotaParams() *UpdateOrgQuotaParams
- func NewUpdateOrgQuotaParamsWithContext(ctx context.Context) *UpdateOrgQuotaParams
- func NewUpdateOrgQuotaParamsWithHTTPClient(client *http.Client) *UpdateOrgQuotaParams
- func NewUpdateOrgQuotaParamsWithTimeout(timeout time.Duration) *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) SetBody(body *models.UpdateQuotaCmd)
- func (o *UpdateOrgQuotaParams) SetContext(ctx context.Context)
- func (o *UpdateOrgQuotaParams) SetDefaults()
- func (o *UpdateOrgQuotaParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgQuotaParams) SetOrgID(orgID int64)
- func (o *UpdateOrgQuotaParams) SetQuotaTarget(quotaTarget string)
- func (o *UpdateOrgQuotaParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgQuotaParams) WithBody(body *models.UpdateQuotaCmd) *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) WithContext(ctx context.Context) *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) WithDefaults() *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) WithHTTPClient(client *http.Client) *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) WithOrgID(orgID int64) *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) WithQuotaTarget(quotaTarget string) *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) WithTimeout(timeout time.Duration) *UpdateOrgQuotaParams
- func (o *UpdateOrgQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgQuotaReader
- type UpdateOrgQuotaUnauthorized
- type UpdateOrgReader
- type UpdateOrgUnauthorized
- type UpdateOrgUserBadRequest
- type UpdateOrgUserForbidden
- type UpdateOrgUserInternalServerError
- type UpdateOrgUserOK
- type UpdateOrgUserParams
- func (o *UpdateOrgUserParams) SetBody(body *models.UpdateOrgUserCommand)
- func (o *UpdateOrgUserParams) SetContext(ctx context.Context)
- func (o *UpdateOrgUserParams) SetDefaults()
- func (o *UpdateOrgUserParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgUserParams) SetOrgID(orgID int64)
- func (o *UpdateOrgUserParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgUserParams) SetUserID(userID int64)
- func (o *UpdateOrgUserParams) WithBody(body *models.UpdateOrgUserCommand) *UpdateOrgUserParams
- func (o *UpdateOrgUserParams) WithContext(ctx context.Context) *UpdateOrgUserParams
- func (o *UpdateOrgUserParams) WithDefaults() *UpdateOrgUserParams
- func (o *UpdateOrgUserParams) WithHTTPClient(client *http.Client) *UpdateOrgUserParams
- func (o *UpdateOrgUserParams) WithOrgID(orgID int64) *UpdateOrgUserParams
- func (o *UpdateOrgUserParams) WithTimeout(timeout time.Duration) *UpdateOrgUserParams
- func (o *UpdateOrgUserParams) WithUserID(userID int64) *UpdateOrgUserParams
- func (o *UpdateOrgUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgUserReader
- type UpdateOrgUserUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOrgUserForbidden ¶
type AddOrgUserForbidden struct {
Payload *models.ErrorResponseBody
}
AddOrgUserForbidden 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 NewAddOrgUserForbidden ¶
func NewAddOrgUserForbidden() *AddOrgUserForbidden
NewAddOrgUserForbidden creates a AddOrgUserForbidden with default headers values
func (*AddOrgUserForbidden) Error ¶
func (o *AddOrgUserForbidden) Error() string
func (*AddOrgUserForbidden) GetPayload ¶
func (o *AddOrgUserForbidden) GetPayload() *models.ErrorResponseBody
type AddOrgUserInternalServerError ¶
type AddOrgUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
AddOrgUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAddOrgUserInternalServerError ¶
func NewAddOrgUserInternalServerError() *AddOrgUserInternalServerError
NewAddOrgUserInternalServerError creates a AddOrgUserInternalServerError with default headers values
func (*AddOrgUserInternalServerError) Error ¶
func (o *AddOrgUserInternalServerError) Error() string
func (*AddOrgUserInternalServerError) GetPayload ¶
func (o *AddOrgUserInternalServerError) GetPayload() *models.ErrorResponseBody
type AddOrgUserOK ¶
type AddOrgUserOK struct {
Payload *models.SuccessResponseBody
}
AddOrgUserOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAddOrgUserOK ¶
func NewAddOrgUserOK() *AddOrgUserOK
NewAddOrgUserOK creates a AddOrgUserOK with default headers values
func (*AddOrgUserOK) Error ¶
func (o *AddOrgUserOK) Error() string
func (*AddOrgUserOK) GetPayload ¶
func (o *AddOrgUserOK) GetPayload() *models.SuccessResponseBody
type AddOrgUserParams ¶
type AddOrgUserParams struct { // Body. Body *models.AddOrgUserCommand // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddOrgUserParams contains all the parameters to send to the API endpoint
for the add org user operation. Typically these are written to a http.Request.
func NewAddOrgUserParams ¶
func NewAddOrgUserParams() *AddOrgUserParams
NewAddOrgUserParams creates a new AddOrgUserParams 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 NewAddOrgUserParamsWithContext ¶
func NewAddOrgUserParamsWithContext(ctx context.Context) *AddOrgUserParams
NewAddOrgUserParamsWithContext creates a new AddOrgUserParams object with the ability to set a context for a request.
func NewAddOrgUserParamsWithHTTPClient ¶
func NewAddOrgUserParamsWithHTTPClient(client *http.Client) *AddOrgUserParams
NewAddOrgUserParamsWithHTTPClient creates a new AddOrgUserParams object with the ability to set a custom HTTPClient for a request.
func NewAddOrgUserParamsWithTimeout ¶
func NewAddOrgUserParamsWithTimeout(timeout time.Duration) *AddOrgUserParams
NewAddOrgUserParamsWithTimeout creates a new AddOrgUserParams object with the ability to set a timeout on a request.
func (*AddOrgUserParams) SetBody ¶
func (o *AddOrgUserParams) SetBody(body *models.AddOrgUserCommand)
SetBody adds the body to the add org user params
func (*AddOrgUserParams) SetContext ¶
func (o *AddOrgUserParams) SetContext(ctx context.Context)
SetContext adds the context to the add org user params
func (*AddOrgUserParams) SetDefaults ¶
func (o *AddOrgUserParams) SetDefaults()
SetDefaults hydrates default values in the add org user params (not the query body).
All values with no default are reset to their zero value.
func (*AddOrgUserParams) SetHTTPClient ¶
func (o *AddOrgUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add org user params
func (*AddOrgUserParams) SetOrgID ¶
func (o *AddOrgUserParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the add org user params
func (*AddOrgUserParams) SetTimeout ¶
func (o *AddOrgUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add org user params
func (*AddOrgUserParams) WithBody ¶
func (o *AddOrgUserParams) WithBody(body *models.AddOrgUserCommand) *AddOrgUserParams
WithBody adds the body to the add org user params
func (*AddOrgUserParams) WithContext ¶
func (o *AddOrgUserParams) WithContext(ctx context.Context) *AddOrgUserParams
WithContext adds the context to the add org user params
func (*AddOrgUserParams) WithDefaults ¶
func (o *AddOrgUserParams) WithDefaults() *AddOrgUserParams
WithDefaults hydrates default values in the add org user params (not the query body).
All values with no default are reset to their zero value.
func (*AddOrgUserParams) WithHTTPClient ¶
func (o *AddOrgUserParams) WithHTTPClient(client *http.Client) *AddOrgUserParams
WithHTTPClient adds the HTTPClient to the add org user params
func (*AddOrgUserParams) WithOrgID ¶
func (o *AddOrgUserParams) WithOrgID(orgID int64) *AddOrgUserParams
WithOrgID adds the orgID to the add org user params
func (*AddOrgUserParams) WithTimeout ¶
func (o *AddOrgUserParams) WithTimeout(timeout time.Duration) *AddOrgUserParams
WithTimeout adds the timeout to the add org user params
func (*AddOrgUserParams) WriteToRequest ¶
func (o *AddOrgUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddOrgUserReader ¶
type AddOrgUserReader struct {
// contains filtered or unexported fields
}
AddOrgUserReader is a Reader for the AddOrgUser structure.
func (*AddOrgUserReader) ReadResponse ¶
func (o *AddOrgUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddOrgUserUnauthorized ¶
type AddOrgUserUnauthorized struct {
}AddOrgUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAddOrgUserUnauthorized ¶
func NewAddOrgUserUnauthorized() *AddOrgUserUnauthorized
NewAddOrgUserUnauthorized creates a AddOrgUserUnauthorized with default headers values
func (*AddOrgUserUnauthorized) Error ¶
func (o *AddOrgUserUnauthorized) Error() string
func (*AddOrgUserUnauthorized) GetPayload ¶
func (o *AddOrgUserUnauthorized) GetPayload() *models.ErrorResponseBody
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for orgs API
func (*Client) AddOrgUser ¶
func (a *Client) AddOrgUser(params *AddOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrgUserOK, error)
AddOrgUser 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) CreateOrg ¶
func (a *Client) CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgOK, error)
CreateOrg creates organization
Only works if [users.allow_org_create](https://grafana.com/docs/grafana/latest/administration/configuration/#allow_org_create) is set.
func (*Client) DeleteOrgByID ¶
func (a *Client) DeleteOrgByID(params *DeleteOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgByIDOK, error)
DeleteOrgByID deletes organization
func (*Client) GetOrgByID ¶
func (a *Client) GetOrgByID(params *GetOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByIDOK, error)
GetOrgByID gets organization by ID
func (*Client) GetOrgByName ¶
func (a *Client) GetOrgByName(params *GetOrgByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByNameOK, error)
GetOrgByName gets organization by ID
func (*Client) GetOrgQuota ¶
func (a *Client) GetOrgQuota(params *GetOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgQuotaOK, error)
GetOrgQuota fetches organization quota
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `orgs.quotas:read` and scope `org:id:1` (orgIDScope).
func (*Client) GetOrgUsers ¶
func (a *Client) GetOrgUsers(params *GetOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersOK, error)
GetOrgUsers gets users in organization 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) RemoveOrgUser ¶
func (a *Client) RemoveOrgUser(params *RemoveOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrgUserOK, error)
RemoveOrgUser 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) SearchOrgUsers ¶
func (a *Client) SearchOrgUsers(params *SearchOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgUsersOK, error)
SearchOrgUsers searches users in organization 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) SearchOrgs ¶
func (a *Client) SearchOrgs(params *SearchOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgsOK, error)
SearchOrgs searches all organizations
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrg ¶
func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, error)
UpdateOrg updates organization
func (*Client) UpdateOrgAddress ¶
func (a *Client) UpdateOrgAddress(params *UpdateOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgAddressOK, error)
UpdateOrgAddress updates organization s address
func (*Client) UpdateOrgQuota ¶
func (a *Client) UpdateOrgQuota(params *UpdateOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgQuotaOK, error)
UpdateOrgQuota updates user quota
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `orgs.quotas:write` and scope `org:id:1` (orgIDScope).
func (*Client) UpdateOrgUser ¶
func (a *Client) UpdateOrgUser(params *UpdateOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgUserOK, error)
UpdateOrgUser updates users in organization 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 { AddOrgUser(params *AddOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrgUserOK, error) CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgOK, error) DeleteOrgByID(params *DeleteOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgByIDOK, error) GetOrgByID(params *GetOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByIDOK, error) GetOrgByName(params *GetOrgByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByNameOK, error) GetOrgQuota(params *GetOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgQuotaOK, error) GetOrgUsers(params *GetOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersOK, error) RemoveOrgUser(params *RemoveOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrgUserOK, error) SearchOrgUsers(params *SearchOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgUsersOK, error) SearchOrgs(params *SearchOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgsOK, error) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, error) UpdateOrgAddress(params *UpdateOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgAddressOK, error) UpdateOrgQuota(params *UpdateOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgQuotaOK, error) UpdateOrgUser(params *UpdateOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgUserOK, 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 orgs API client.
type CreateOrgConflict ¶
type CreateOrgConflict struct {
Payload *models.ErrorResponseBody
}
CreateOrgConflict describes a response with status code 409, with default header values.
ConflictError
func NewCreateOrgConflict ¶
func NewCreateOrgConflict() *CreateOrgConflict
NewCreateOrgConflict creates a CreateOrgConflict with default headers values
func (*CreateOrgConflict) Error ¶
func (o *CreateOrgConflict) Error() string
func (*CreateOrgConflict) GetPayload ¶
func (o *CreateOrgConflict) GetPayload() *models.ErrorResponseBody
type CreateOrgForbidden ¶
type CreateOrgForbidden struct {
Payload *models.ErrorResponseBody
}
CreateOrgForbidden 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 NewCreateOrgForbidden ¶
func NewCreateOrgForbidden() *CreateOrgForbidden
NewCreateOrgForbidden creates a CreateOrgForbidden with default headers values
func (*CreateOrgForbidden) Error ¶
func (o *CreateOrgForbidden) Error() string
func (*CreateOrgForbidden) GetPayload ¶
func (o *CreateOrgForbidden) GetPayload() *models.ErrorResponseBody
type CreateOrgInternalServerError ¶
type CreateOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateOrgInternalServerError ¶
func NewCreateOrgInternalServerError() *CreateOrgInternalServerError
NewCreateOrgInternalServerError creates a CreateOrgInternalServerError with default headers values
func (*CreateOrgInternalServerError) Error ¶
func (o *CreateOrgInternalServerError) Error() string
func (*CreateOrgInternalServerError) GetPayload ¶
func (o *CreateOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type CreateOrgOK ¶
type CreateOrgOK struct {
Payload *models.CreateOrgOKBody
}
CreateOrgOK describes a response with status code 200, with default header values.
(empty)
func NewCreateOrgOK ¶
func NewCreateOrgOK() *CreateOrgOK
NewCreateOrgOK creates a CreateOrgOK with default headers values
func (*CreateOrgOK) Error ¶
func (o *CreateOrgOK) Error() string
func (*CreateOrgOK) GetPayload ¶
func (o *CreateOrgOK) GetPayload() *models.CreateOrgOKBody
type CreateOrgParams ¶
type CreateOrgParams struct { // Body. Body *models.CreateOrgCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOrgParams contains all the parameters to send to the API endpoint
for the create org operation. Typically these are written to a http.Request.
func NewCreateOrgParams ¶
func NewCreateOrgParams() *CreateOrgParams
NewCreateOrgParams creates a new CreateOrgParams 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 NewCreateOrgParamsWithContext ¶
func NewCreateOrgParamsWithContext(ctx context.Context) *CreateOrgParams
NewCreateOrgParamsWithContext creates a new CreateOrgParams object with the ability to set a context for a request.
func NewCreateOrgParamsWithHTTPClient ¶
func NewCreateOrgParamsWithHTTPClient(client *http.Client) *CreateOrgParams
NewCreateOrgParamsWithHTTPClient creates a new CreateOrgParams object with the ability to set a custom HTTPClient for a request.
func NewCreateOrgParamsWithTimeout ¶
func NewCreateOrgParamsWithTimeout(timeout time.Duration) *CreateOrgParams
NewCreateOrgParamsWithTimeout creates a new CreateOrgParams object with the ability to set a timeout on a request.
func (*CreateOrgParams) SetBody ¶
func (o *CreateOrgParams) SetBody(body *models.CreateOrgCommand)
SetBody adds the body to the create org params
func (*CreateOrgParams) SetContext ¶
func (o *CreateOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the create org params
func (*CreateOrgParams) SetDefaults ¶
func (o *CreateOrgParams) SetDefaults()
SetDefaults hydrates default values in the create org params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOrgParams) SetHTTPClient ¶
func (o *CreateOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create org params
func (*CreateOrgParams) SetTimeout ¶
func (o *CreateOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create org params
func (*CreateOrgParams) WithBody ¶
func (o *CreateOrgParams) WithBody(body *models.CreateOrgCommand) *CreateOrgParams
WithBody adds the body to the create org params
func (*CreateOrgParams) WithContext ¶
func (o *CreateOrgParams) WithContext(ctx context.Context) *CreateOrgParams
WithContext adds the context to the create org params
func (*CreateOrgParams) WithDefaults ¶
func (o *CreateOrgParams) WithDefaults() *CreateOrgParams
WithDefaults hydrates default values in the create org params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOrgParams) WithHTTPClient ¶
func (o *CreateOrgParams) WithHTTPClient(client *http.Client) *CreateOrgParams
WithHTTPClient adds the HTTPClient to the create org params
func (*CreateOrgParams) WithTimeout ¶
func (o *CreateOrgParams) WithTimeout(timeout time.Duration) *CreateOrgParams
WithTimeout adds the timeout to the create org params
func (*CreateOrgParams) WriteToRequest ¶
func (o *CreateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOrgReader ¶
type CreateOrgReader struct {
// contains filtered or unexported fields
}
CreateOrgReader is a Reader for the CreateOrg structure.
func (*CreateOrgReader) ReadResponse ¶
func (o *CreateOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOrgUnauthorized ¶
type CreateOrgUnauthorized struct {
}CreateOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateOrgUnauthorized ¶
func NewCreateOrgUnauthorized() *CreateOrgUnauthorized
NewCreateOrgUnauthorized creates a CreateOrgUnauthorized with default headers values
func (*CreateOrgUnauthorized) Error ¶
func (o *CreateOrgUnauthorized) Error() string
func (*CreateOrgUnauthorized) GetPayload ¶
func (o *CreateOrgUnauthorized) GetPayload() *models.ErrorResponseBody
type DeleteOrgByIDBadRequest ¶
type DeleteOrgByIDBadRequest struct {
Payload *models.ErrorResponseBody
}
DeleteOrgByIDBadRequest 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 NewDeleteOrgByIDBadRequest ¶
func NewDeleteOrgByIDBadRequest() *DeleteOrgByIDBadRequest
NewDeleteOrgByIDBadRequest creates a DeleteOrgByIDBadRequest with default headers values
func (*DeleteOrgByIDBadRequest) Error ¶
func (o *DeleteOrgByIDBadRequest) Error() string
func (*DeleteOrgByIDBadRequest) GetPayload ¶
func (o *DeleteOrgByIDBadRequest) GetPayload() *models.ErrorResponseBody
type DeleteOrgByIDForbidden ¶
type DeleteOrgByIDForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteOrgByIDForbidden 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 NewDeleteOrgByIDForbidden ¶
func NewDeleteOrgByIDForbidden() *DeleteOrgByIDForbidden
NewDeleteOrgByIDForbidden creates a DeleteOrgByIDForbidden with default headers values
func (*DeleteOrgByIDForbidden) Error ¶
func (o *DeleteOrgByIDForbidden) Error() string
func (*DeleteOrgByIDForbidden) GetPayload ¶
func (o *DeleteOrgByIDForbidden) GetPayload() *models.ErrorResponseBody
type DeleteOrgByIDInternalServerError ¶
type DeleteOrgByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteOrgByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteOrgByIDInternalServerError ¶
func NewDeleteOrgByIDInternalServerError() *DeleteOrgByIDInternalServerError
NewDeleteOrgByIDInternalServerError creates a DeleteOrgByIDInternalServerError with default headers values
func (*DeleteOrgByIDInternalServerError) Error ¶
func (o *DeleteOrgByIDInternalServerError) Error() string
func (*DeleteOrgByIDInternalServerError) GetPayload ¶
func (o *DeleteOrgByIDInternalServerError) GetPayload() *models.ErrorResponseBody
type DeleteOrgByIDNotFound ¶
type DeleteOrgByIDNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteOrgByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteOrgByIDNotFound ¶
func NewDeleteOrgByIDNotFound() *DeleteOrgByIDNotFound
NewDeleteOrgByIDNotFound creates a DeleteOrgByIDNotFound with default headers values
func (*DeleteOrgByIDNotFound) Error ¶
func (o *DeleteOrgByIDNotFound) Error() string
func (*DeleteOrgByIDNotFound) GetPayload ¶
func (o *DeleteOrgByIDNotFound) GetPayload() *models.ErrorResponseBody
type DeleteOrgByIDOK ¶
type DeleteOrgByIDOK struct {
Payload *models.SuccessResponseBody
}
DeleteOrgByIDOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteOrgByIDOK ¶
func NewDeleteOrgByIDOK() *DeleteOrgByIDOK
NewDeleteOrgByIDOK creates a DeleteOrgByIDOK with default headers values
func (*DeleteOrgByIDOK) Error ¶
func (o *DeleteOrgByIDOK) Error() string
func (*DeleteOrgByIDOK) GetPayload ¶
func (o *DeleteOrgByIDOK) GetPayload() *models.SuccessResponseBody
type DeleteOrgByIDParams ¶
type DeleteOrgByIDParams struct { // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOrgByIDParams contains all the parameters to send to the API endpoint
for the delete org by ID operation. Typically these are written to a http.Request.
func NewDeleteOrgByIDParams ¶
func NewDeleteOrgByIDParams() *DeleteOrgByIDParams
NewDeleteOrgByIDParams creates a new DeleteOrgByIDParams 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 NewDeleteOrgByIDParamsWithContext ¶
func NewDeleteOrgByIDParamsWithContext(ctx context.Context) *DeleteOrgByIDParams
NewDeleteOrgByIDParamsWithContext creates a new DeleteOrgByIDParams object with the ability to set a context for a request.
func NewDeleteOrgByIDParamsWithHTTPClient ¶
func NewDeleteOrgByIDParamsWithHTTPClient(client *http.Client) *DeleteOrgByIDParams
NewDeleteOrgByIDParamsWithHTTPClient creates a new DeleteOrgByIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOrgByIDParamsWithTimeout ¶
func NewDeleteOrgByIDParamsWithTimeout(timeout time.Duration) *DeleteOrgByIDParams
NewDeleteOrgByIDParamsWithTimeout creates a new DeleteOrgByIDParams object with the ability to set a timeout on a request.
func (*DeleteOrgByIDParams) SetContext ¶
func (o *DeleteOrgByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete org by ID params
func (*DeleteOrgByIDParams) SetDefaults ¶
func (o *DeleteOrgByIDParams) SetDefaults()
SetDefaults hydrates default values in the delete org by ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrgByIDParams) SetHTTPClient ¶
func (o *DeleteOrgByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete org by ID params
func (*DeleteOrgByIDParams) SetOrgID ¶
func (o *DeleteOrgByIDParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the delete org by ID params
func (*DeleteOrgByIDParams) SetTimeout ¶
func (o *DeleteOrgByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete org by ID params
func (*DeleteOrgByIDParams) WithContext ¶
func (o *DeleteOrgByIDParams) WithContext(ctx context.Context) *DeleteOrgByIDParams
WithContext adds the context to the delete org by ID params
func (*DeleteOrgByIDParams) WithDefaults ¶
func (o *DeleteOrgByIDParams) WithDefaults() *DeleteOrgByIDParams
WithDefaults hydrates default values in the delete org by ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrgByIDParams) WithHTTPClient ¶
func (o *DeleteOrgByIDParams) WithHTTPClient(client *http.Client) *DeleteOrgByIDParams
WithHTTPClient adds the HTTPClient to the delete org by ID params
func (*DeleteOrgByIDParams) WithOrgID ¶
func (o *DeleteOrgByIDParams) WithOrgID(orgID int64) *DeleteOrgByIDParams
WithOrgID adds the orgID to the delete org by ID params
func (*DeleteOrgByIDParams) WithTimeout ¶
func (o *DeleteOrgByIDParams) WithTimeout(timeout time.Duration) *DeleteOrgByIDParams
WithTimeout adds the timeout to the delete org by ID params
func (*DeleteOrgByIDParams) WriteToRequest ¶
func (o *DeleteOrgByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrgByIDReader ¶
type DeleteOrgByIDReader struct {
// contains filtered or unexported fields
}
DeleteOrgByIDReader is a Reader for the DeleteOrgByID structure.
func (*DeleteOrgByIDReader) ReadResponse ¶
func (o *DeleteOrgByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOrgByIDUnauthorized ¶
type DeleteOrgByIDUnauthorized struct {
}DeleteOrgByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteOrgByIDUnauthorized ¶
func NewDeleteOrgByIDUnauthorized() *DeleteOrgByIDUnauthorized
NewDeleteOrgByIDUnauthorized creates a DeleteOrgByIDUnauthorized with default headers values
func (*DeleteOrgByIDUnauthorized) Error ¶
func (o *DeleteOrgByIDUnauthorized) Error() string
func (*DeleteOrgByIDUnauthorized) GetPayload ¶
func (o *DeleteOrgByIDUnauthorized) GetPayload() *models.ErrorResponseBody
type GetOrgByIDForbidden ¶
type GetOrgByIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetOrgByIDForbidden 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 NewGetOrgByIDForbidden ¶
func NewGetOrgByIDForbidden() *GetOrgByIDForbidden
NewGetOrgByIDForbidden creates a GetOrgByIDForbidden with default headers values
func (*GetOrgByIDForbidden) Error ¶
func (o *GetOrgByIDForbidden) Error() string
func (*GetOrgByIDForbidden) GetPayload ¶
func (o *GetOrgByIDForbidden) GetPayload() *models.ErrorResponseBody
type GetOrgByIDInternalServerError ¶
type GetOrgByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetOrgByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetOrgByIDInternalServerError ¶
func NewGetOrgByIDInternalServerError() *GetOrgByIDInternalServerError
NewGetOrgByIDInternalServerError creates a GetOrgByIDInternalServerError with default headers values
func (*GetOrgByIDInternalServerError) Error ¶
func (o *GetOrgByIDInternalServerError) Error() string
func (*GetOrgByIDInternalServerError) GetPayload ¶
func (o *GetOrgByIDInternalServerError) GetPayload() *models.ErrorResponseBody
type GetOrgByIDOK ¶
type GetOrgByIDOK struct {
Payload *models.OrgDetailsDTO
}
GetOrgByIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetOrgByIDOK ¶
func NewGetOrgByIDOK() *GetOrgByIDOK
NewGetOrgByIDOK creates a GetOrgByIDOK with default headers values
func (*GetOrgByIDOK) Error ¶
func (o *GetOrgByIDOK) Error() string
func (*GetOrgByIDOK) GetPayload ¶
func (o *GetOrgByIDOK) GetPayload() *models.OrgDetailsDTO
type GetOrgByIDParams ¶
type GetOrgByIDParams struct { // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgByIDParams contains all the parameters to send to the API endpoint
for the get org by ID operation. Typically these are written to a http.Request.
func NewGetOrgByIDParams ¶
func NewGetOrgByIDParams() *GetOrgByIDParams
NewGetOrgByIDParams creates a new GetOrgByIDParams 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 NewGetOrgByIDParamsWithContext ¶
func NewGetOrgByIDParamsWithContext(ctx context.Context) *GetOrgByIDParams
NewGetOrgByIDParamsWithContext creates a new GetOrgByIDParams object with the ability to set a context for a request.
func NewGetOrgByIDParamsWithHTTPClient ¶
func NewGetOrgByIDParamsWithHTTPClient(client *http.Client) *GetOrgByIDParams
NewGetOrgByIDParamsWithHTTPClient creates a new GetOrgByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgByIDParamsWithTimeout ¶
func NewGetOrgByIDParamsWithTimeout(timeout time.Duration) *GetOrgByIDParams
NewGetOrgByIDParamsWithTimeout creates a new GetOrgByIDParams object with the ability to set a timeout on a request.
func (*GetOrgByIDParams) SetContext ¶
func (o *GetOrgByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get org by ID params
func (*GetOrgByIDParams) SetDefaults ¶
func (o *GetOrgByIDParams) SetDefaults()
SetDefaults hydrates default values in the get org by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgByIDParams) SetHTTPClient ¶
func (o *GetOrgByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org by ID params
func (*GetOrgByIDParams) SetOrgID ¶
func (o *GetOrgByIDParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the get org by ID params
func (*GetOrgByIDParams) SetTimeout ¶
func (o *GetOrgByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org by ID params
func (*GetOrgByIDParams) WithContext ¶
func (o *GetOrgByIDParams) WithContext(ctx context.Context) *GetOrgByIDParams
WithContext adds the context to the get org by ID params
func (*GetOrgByIDParams) WithDefaults ¶
func (o *GetOrgByIDParams) WithDefaults() *GetOrgByIDParams
WithDefaults hydrates default values in the get org by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgByIDParams) WithHTTPClient ¶
func (o *GetOrgByIDParams) WithHTTPClient(client *http.Client) *GetOrgByIDParams
WithHTTPClient adds the HTTPClient to the get org by ID params
func (*GetOrgByIDParams) WithOrgID ¶
func (o *GetOrgByIDParams) WithOrgID(orgID int64) *GetOrgByIDParams
WithOrgID adds the orgID to the get org by ID params
func (*GetOrgByIDParams) WithTimeout ¶
func (o *GetOrgByIDParams) WithTimeout(timeout time.Duration) *GetOrgByIDParams
WithTimeout adds the timeout to the get org by ID params
func (*GetOrgByIDParams) WriteToRequest ¶
func (o *GetOrgByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgByIDReader ¶
type GetOrgByIDReader struct {
// contains filtered or unexported fields
}
GetOrgByIDReader is a Reader for the GetOrgByID structure.
func (*GetOrgByIDReader) ReadResponse ¶
func (o *GetOrgByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgByIDUnauthorized ¶
type GetOrgByIDUnauthorized struct {
}GetOrgByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetOrgByIDUnauthorized ¶
func NewGetOrgByIDUnauthorized() *GetOrgByIDUnauthorized
NewGetOrgByIDUnauthorized creates a GetOrgByIDUnauthorized with default headers values
func (*GetOrgByIDUnauthorized) Error ¶
func (o *GetOrgByIDUnauthorized) Error() string
func (*GetOrgByIDUnauthorized) GetPayload ¶
func (o *GetOrgByIDUnauthorized) GetPayload() *models.ErrorResponseBody
type GetOrgByNameForbidden ¶
type GetOrgByNameForbidden struct {
Payload *models.ErrorResponseBody
}
GetOrgByNameForbidden 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 NewGetOrgByNameForbidden ¶
func NewGetOrgByNameForbidden() *GetOrgByNameForbidden
NewGetOrgByNameForbidden creates a GetOrgByNameForbidden with default headers values
func (*GetOrgByNameForbidden) Error ¶
func (o *GetOrgByNameForbidden) Error() string
func (*GetOrgByNameForbidden) GetPayload ¶
func (o *GetOrgByNameForbidden) GetPayload() *models.ErrorResponseBody
type GetOrgByNameInternalServerError ¶
type GetOrgByNameInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetOrgByNameInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetOrgByNameInternalServerError ¶
func NewGetOrgByNameInternalServerError() *GetOrgByNameInternalServerError
NewGetOrgByNameInternalServerError creates a GetOrgByNameInternalServerError with default headers values
func (*GetOrgByNameInternalServerError) Error ¶
func (o *GetOrgByNameInternalServerError) Error() string
func (*GetOrgByNameInternalServerError) GetPayload ¶
func (o *GetOrgByNameInternalServerError) GetPayload() *models.ErrorResponseBody
type GetOrgByNameOK ¶
type GetOrgByNameOK struct {
Payload *models.OrgDetailsDTO
}
GetOrgByNameOK describes a response with status code 200, with default header values.
(empty)
func NewGetOrgByNameOK ¶
func NewGetOrgByNameOK() *GetOrgByNameOK
NewGetOrgByNameOK creates a GetOrgByNameOK with default headers values
func (*GetOrgByNameOK) Error ¶
func (o *GetOrgByNameOK) Error() string
func (*GetOrgByNameOK) GetPayload ¶
func (o *GetOrgByNameOK) GetPayload() *models.OrgDetailsDTO
type GetOrgByNameParams ¶
type GetOrgByNameParams struct { // OrgName. OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgByNameParams contains all the parameters to send to the API endpoint
for the get org by name operation. Typically these are written to a http.Request.
func NewGetOrgByNameParams ¶
func NewGetOrgByNameParams() *GetOrgByNameParams
NewGetOrgByNameParams creates a new GetOrgByNameParams 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 NewGetOrgByNameParamsWithContext ¶
func NewGetOrgByNameParamsWithContext(ctx context.Context) *GetOrgByNameParams
NewGetOrgByNameParamsWithContext creates a new GetOrgByNameParams object with the ability to set a context for a request.
func NewGetOrgByNameParamsWithHTTPClient ¶
func NewGetOrgByNameParamsWithHTTPClient(client *http.Client) *GetOrgByNameParams
NewGetOrgByNameParamsWithHTTPClient creates a new GetOrgByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgByNameParamsWithTimeout ¶
func NewGetOrgByNameParamsWithTimeout(timeout time.Duration) *GetOrgByNameParams
NewGetOrgByNameParamsWithTimeout creates a new GetOrgByNameParams object with the ability to set a timeout on a request.
func (*GetOrgByNameParams) SetContext ¶
func (o *GetOrgByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get org by name params
func (*GetOrgByNameParams) SetDefaults ¶
func (o *GetOrgByNameParams) SetDefaults()
SetDefaults hydrates default values in the get org by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgByNameParams) SetHTTPClient ¶
func (o *GetOrgByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org by name params
func (*GetOrgByNameParams) SetOrgName ¶
func (o *GetOrgByNameParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the get org by name params
func (*GetOrgByNameParams) SetTimeout ¶
func (o *GetOrgByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org by name params
func (*GetOrgByNameParams) WithContext ¶
func (o *GetOrgByNameParams) WithContext(ctx context.Context) *GetOrgByNameParams
WithContext adds the context to the get org by name params
func (*GetOrgByNameParams) WithDefaults ¶
func (o *GetOrgByNameParams) WithDefaults() *GetOrgByNameParams
WithDefaults hydrates default values in the get org by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgByNameParams) WithHTTPClient ¶
func (o *GetOrgByNameParams) WithHTTPClient(client *http.Client) *GetOrgByNameParams
WithHTTPClient adds the HTTPClient to the get org by name params
func (*GetOrgByNameParams) WithOrgName ¶
func (o *GetOrgByNameParams) WithOrgName(orgName string) *GetOrgByNameParams
WithOrgName adds the orgName to the get org by name params
func (*GetOrgByNameParams) WithTimeout ¶
func (o *GetOrgByNameParams) WithTimeout(timeout time.Duration) *GetOrgByNameParams
WithTimeout adds the timeout to the get org by name params
func (*GetOrgByNameParams) WriteToRequest ¶
func (o *GetOrgByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgByNameReader ¶
type GetOrgByNameReader struct {
// contains filtered or unexported fields
}
GetOrgByNameReader is a Reader for the GetOrgByName structure.
func (*GetOrgByNameReader) ReadResponse ¶
func (o *GetOrgByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgByNameUnauthorized ¶
type GetOrgByNameUnauthorized struct {
}GetOrgByNameUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetOrgByNameUnauthorized ¶
func NewGetOrgByNameUnauthorized() *GetOrgByNameUnauthorized
NewGetOrgByNameUnauthorized creates a GetOrgByNameUnauthorized with default headers values
func (*GetOrgByNameUnauthorized) Error ¶
func (o *GetOrgByNameUnauthorized) Error() string
func (*GetOrgByNameUnauthorized) GetPayload ¶
func (o *GetOrgByNameUnauthorized) GetPayload() *models.ErrorResponseBody
type GetOrgQuotaForbidden ¶
type GetOrgQuotaForbidden struct {
Payload *models.ErrorResponseBody
}
GetOrgQuotaForbidden 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 NewGetOrgQuotaForbidden ¶
func NewGetOrgQuotaForbidden() *GetOrgQuotaForbidden
NewGetOrgQuotaForbidden creates a GetOrgQuotaForbidden with default headers values
func (*GetOrgQuotaForbidden) Error ¶
func (o *GetOrgQuotaForbidden) Error() string
func (*GetOrgQuotaForbidden) GetPayload ¶
func (o *GetOrgQuotaForbidden) GetPayload() *models.ErrorResponseBody
type GetOrgQuotaInternalServerError ¶
type GetOrgQuotaInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetOrgQuotaInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetOrgQuotaInternalServerError ¶
func NewGetOrgQuotaInternalServerError() *GetOrgQuotaInternalServerError
NewGetOrgQuotaInternalServerError creates a GetOrgQuotaInternalServerError with default headers values
func (*GetOrgQuotaInternalServerError) Error ¶
func (o *GetOrgQuotaInternalServerError) Error() string
func (*GetOrgQuotaInternalServerError) GetPayload ¶
func (o *GetOrgQuotaInternalServerError) GetPayload() *models.ErrorResponseBody
type GetOrgQuotaNotFound ¶
type GetOrgQuotaNotFound struct {
Payload *models.ErrorResponseBody
}
GetOrgQuotaNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetOrgQuotaNotFound ¶
func NewGetOrgQuotaNotFound() *GetOrgQuotaNotFound
NewGetOrgQuotaNotFound creates a GetOrgQuotaNotFound with default headers values
func (*GetOrgQuotaNotFound) Error ¶
func (o *GetOrgQuotaNotFound) Error() string
func (*GetOrgQuotaNotFound) GetPayload ¶
func (o *GetOrgQuotaNotFound) GetPayload() *models.ErrorResponseBody
type GetOrgQuotaOK ¶
GetOrgQuotaOK describes a response with status code 200, with default header values.
(empty)
func NewGetOrgQuotaOK ¶
func NewGetOrgQuotaOK() *GetOrgQuotaOK
NewGetOrgQuotaOK creates a GetOrgQuotaOK with default headers values
func (*GetOrgQuotaOK) Error ¶
func (o *GetOrgQuotaOK) Error() string
func (*GetOrgQuotaOK) GetPayload ¶
func (o *GetOrgQuotaOK) GetPayload() []*models.QuotaDTO
type GetOrgQuotaParams ¶
type GetOrgQuotaParams struct { // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgQuotaParams contains all the parameters to send to the API endpoint
for the get org quota operation. Typically these are written to a http.Request.
func NewGetOrgQuotaParams ¶
func NewGetOrgQuotaParams() *GetOrgQuotaParams
NewGetOrgQuotaParams creates a new GetOrgQuotaParams 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 NewGetOrgQuotaParamsWithContext ¶
func NewGetOrgQuotaParamsWithContext(ctx context.Context) *GetOrgQuotaParams
NewGetOrgQuotaParamsWithContext creates a new GetOrgQuotaParams object with the ability to set a context for a request.
func NewGetOrgQuotaParamsWithHTTPClient ¶
func NewGetOrgQuotaParamsWithHTTPClient(client *http.Client) *GetOrgQuotaParams
NewGetOrgQuotaParamsWithHTTPClient creates a new GetOrgQuotaParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgQuotaParamsWithTimeout ¶
func NewGetOrgQuotaParamsWithTimeout(timeout time.Duration) *GetOrgQuotaParams
NewGetOrgQuotaParamsWithTimeout creates a new GetOrgQuotaParams object with the ability to set a timeout on a request.
func (*GetOrgQuotaParams) SetContext ¶
func (o *GetOrgQuotaParams) SetContext(ctx context.Context)
SetContext adds the context to the get org quota params
func (*GetOrgQuotaParams) SetDefaults ¶
func (o *GetOrgQuotaParams) SetDefaults()
SetDefaults hydrates default values in the get org quota params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgQuotaParams) SetHTTPClient ¶
func (o *GetOrgQuotaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org quota params
func (*GetOrgQuotaParams) SetOrgID ¶
func (o *GetOrgQuotaParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the get org quota params
func (*GetOrgQuotaParams) SetTimeout ¶
func (o *GetOrgQuotaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org quota params
func (*GetOrgQuotaParams) WithContext ¶
func (o *GetOrgQuotaParams) WithContext(ctx context.Context) *GetOrgQuotaParams
WithContext adds the context to the get org quota params
func (*GetOrgQuotaParams) WithDefaults ¶
func (o *GetOrgQuotaParams) WithDefaults() *GetOrgQuotaParams
WithDefaults hydrates default values in the get org quota params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgQuotaParams) WithHTTPClient ¶
func (o *GetOrgQuotaParams) WithHTTPClient(client *http.Client) *GetOrgQuotaParams
WithHTTPClient adds the HTTPClient to the get org quota params
func (*GetOrgQuotaParams) WithOrgID ¶
func (o *GetOrgQuotaParams) WithOrgID(orgID int64) *GetOrgQuotaParams
WithOrgID adds the orgID to the get org quota params
func (*GetOrgQuotaParams) WithTimeout ¶
func (o *GetOrgQuotaParams) WithTimeout(timeout time.Duration) *GetOrgQuotaParams
WithTimeout adds the timeout to the get org quota params
func (*GetOrgQuotaParams) WriteToRequest ¶
func (o *GetOrgQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgQuotaReader ¶
type GetOrgQuotaReader struct {
// contains filtered or unexported fields
}
GetOrgQuotaReader is a Reader for the GetOrgQuota structure.
func (*GetOrgQuotaReader) ReadResponse ¶
func (o *GetOrgQuotaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgQuotaUnauthorized ¶
type GetOrgQuotaUnauthorized struct {
}GetOrgQuotaUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetOrgQuotaUnauthorized ¶
func NewGetOrgQuotaUnauthorized() *GetOrgQuotaUnauthorized
NewGetOrgQuotaUnauthorized creates a GetOrgQuotaUnauthorized with default headers values
func (*GetOrgQuotaUnauthorized) Error ¶
func (o *GetOrgQuotaUnauthorized) Error() string
func (*GetOrgQuotaUnauthorized) GetPayload ¶
func (o *GetOrgQuotaUnauthorized) GetPayload() *models.ErrorResponseBody
type GetOrgUsersForbidden ¶
type GetOrgUsersForbidden struct {
Payload *models.ErrorResponseBody
}
GetOrgUsersForbidden 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 NewGetOrgUsersForbidden ¶
func NewGetOrgUsersForbidden() *GetOrgUsersForbidden
NewGetOrgUsersForbidden creates a GetOrgUsersForbidden with default headers values
func (*GetOrgUsersForbidden) Error ¶
func (o *GetOrgUsersForbidden) Error() string
func (*GetOrgUsersForbidden) GetPayload ¶
func (o *GetOrgUsersForbidden) GetPayload() *models.ErrorResponseBody
type GetOrgUsersInternalServerError ¶
type GetOrgUsersInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetOrgUsersInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetOrgUsersInternalServerError ¶
func NewGetOrgUsersInternalServerError() *GetOrgUsersInternalServerError
NewGetOrgUsersInternalServerError creates a GetOrgUsersInternalServerError with default headers values
func (*GetOrgUsersInternalServerError) Error ¶
func (o *GetOrgUsersInternalServerError) Error() string
func (*GetOrgUsersInternalServerError) GetPayload ¶
func (o *GetOrgUsersInternalServerError) GetPayload() *models.ErrorResponseBody
type GetOrgUsersOK ¶
type GetOrgUsersOK struct {
Payload []*models.OrgUserDTO
}
GetOrgUsersOK describes a response with status code 200, with default header values.
(empty)
func NewGetOrgUsersOK ¶
func NewGetOrgUsersOK() *GetOrgUsersOK
NewGetOrgUsersOK creates a GetOrgUsersOK with default headers values
func (*GetOrgUsersOK) Error ¶
func (o *GetOrgUsersOK) Error() string
func (*GetOrgUsersOK) GetPayload ¶
func (o *GetOrgUsersOK) GetPayload() []*models.OrgUserDTO
type GetOrgUsersParams ¶
type GetOrgUsersParams struct { // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgUsersParams contains all the parameters to send to the API endpoint
for the get org users operation. Typically these are written to a http.Request.
func NewGetOrgUsersParams ¶
func NewGetOrgUsersParams() *GetOrgUsersParams
NewGetOrgUsersParams creates a new GetOrgUsersParams 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 NewGetOrgUsersParamsWithContext ¶
func NewGetOrgUsersParamsWithContext(ctx context.Context) *GetOrgUsersParams
NewGetOrgUsersParamsWithContext creates a new GetOrgUsersParams object with the ability to set a context for a request.
func NewGetOrgUsersParamsWithHTTPClient ¶
func NewGetOrgUsersParamsWithHTTPClient(client *http.Client) *GetOrgUsersParams
NewGetOrgUsersParamsWithHTTPClient creates a new GetOrgUsersParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgUsersParamsWithTimeout ¶
func NewGetOrgUsersParamsWithTimeout(timeout time.Duration) *GetOrgUsersParams
NewGetOrgUsersParamsWithTimeout creates a new GetOrgUsersParams object with the ability to set a timeout on a request.
func (*GetOrgUsersParams) SetContext ¶
func (o *GetOrgUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the get org users params
func (*GetOrgUsersParams) SetDefaults ¶
func (o *GetOrgUsersParams) SetDefaults()
SetDefaults hydrates default values in the get org users params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgUsersParams) SetHTTPClient ¶
func (o *GetOrgUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org users params
func (*GetOrgUsersParams) SetOrgID ¶
func (o *GetOrgUsersParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the get org users params
func (*GetOrgUsersParams) SetTimeout ¶
func (o *GetOrgUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org users params
func (*GetOrgUsersParams) WithContext ¶
func (o *GetOrgUsersParams) WithContext(ctx context.Context) *GetOrgUsersParams
WithContext adds the context to the get org users params
func (*GetOrgUsersParams) WithDefaults ¶
func (o *GetOrgUsersParams) WithDefaults() *GetOrgUsersParams
WithDefaults hydrates default values in the get org users params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgUsersParams) WithHTTPClient ¶
func (o *GetOrgUsersParams) WithHTTPClient(client *http.Client) *GetOrgUsersParams
WithHTTPClient adds the HTTPClient to the get org users params
func (*GetOrgUsersParams) WithOrgID ¶
func (o *GetOrgUsersParams) WithOrgID(orgID int64) *GetOrgUsersParams
WithOrgID adds the orgID to the get org users params
func (*GetOrgUsersParams) WithTimeout ¶
func (o *GetOrgUsersParams) WithTimeout(timeout time.Duration) *GetOrgUsersParams
WithTimeout adds the timeout to the get org users params
func (*GetOrgUsersParams) WriteToRequest ¶
func (o *GetOrgUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgUsersReader ¶
type GetOrgUsersReader struct {
// contains filtered or unexported fields
}
GetOrgUsersReader is a Reader for the GetOrgUsers structure.
func (*GetOrgUsersReader) ReadResponse ¶
func (o *GetOrgUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgUsersUnauthorized ¶
type GetOrgUsersUnauthorized struct {
}GetOrgUsersUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetOrgUsersUnauthorized ¶
func NewGetOrgUsersUnauthorized() *GetOrgUsersUnauthorized
NewGetOrgUsersUnauthorized creates a GetOrgUsersUnauthorized with default headers values
func (*GetOrgUsersUnauthorized) Error ¶
func (o *GetOrgUsersUnauthorized) Error() string
func (*GetOrgUsersUnauthorized) GetPayload ¶
func (o *GetOrgUsersUnauthorized) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserBadRequest ¶
type RemoveOrgUserBadRequest struct {
Payload *models.ErrorResponseBody
}
RemoveOrgUserBadRequest 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 NewRemoveOrgUserBadRequest ¶
func NewRemoveOrgUserBadRequest() *RemoveOrgUserBadRequest
NewRemoveOrgUserBadRequest creates a RemoveOrgUserBadRequest with default headers values
func (*RemoveOrgUserBadRequest) Error ¶
func (o *RemoveOrgUserBadRequest) Error() string
func (*RemoveOrgUserBadRequest) GetPayload ¶
func (o *RemoveOrgUserBadRequest) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserForbidden ¶
type RemoveOrgUserForbidden struct {
Payload *models.ErrorResponseBody
}
RemoveOrgUserForbidden 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 NewRemoveOrgUserForbidden ¶
func NewRemoveOrgUserForbidden() *RemoveOrgUserForbidden
NewRemoveOrgUserForbidden creates a RemoveOrgUserForbidden with default headers values
func (*RemoveOrgUserForbidden) Error ¶
func (o *RemoveOrgUserForbidden) Error() string
func (*RemoveOrgUserForbidden) GetPayload ¶
func (o *RemoveOrgUserForbidden) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserInternalServerError ¶
type RemoveOrgUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
RemoveOrgUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRemoveOrgUserInternalServerError ¶
func NewRemoveOrgUserInternalServerError() *RemoveOrgUserInternalServerError
NewRemoveOrgUserInternalServerError creates a RemoveOrgUserInternalServerError with default headers values
func (*RemoveOrgUserInternalServerError) Error ¶
func (o *RemoveOrgUserInternalServerError) Error() string
func (*RemoveOrgUserInternalServerError) GetPayload ¶
func (o *RemoveOrgUserInternalServerError) GetPayload() *models.ErrorResponseBody
type RemoveOrgUserOK ¶
type RemoveOrgUserOK struct {
Payload *models.SuccessResponseBody
}
RemoveOrgUserOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewRemoveOrgUserOK ¶
func NewRemoveOrgUserOK() *RemoveOrgUserOK
NewRemoveOrgUserOK creates a RemoveOrgUserOK with default headers values
func (*RemoveOrgUserOK) Error ¶
func (o *RemoveOrgUserOK) Error() string
func (*RemoveOrgUserOK) GetPayload ¶
func (o *RemoveOrgUserOK) GetPayload() *models.SuccessResponseBody
type RemoveOrgUserParams ¶
type RemoveOrgUserParams struct { // OrgID. // // Format: int64 OrgID int64 // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveOrgUserParams contains all the parameters to send to the API endpoint
for the remove org user operation. Typically these are written to a http.Request.
func NewRemoveOrgUserParams ¶
func NewRemoveOrgUserParams() *RemoveOrgUserParams
NewRemoveOrgUserParams creates a new RemoveOrgUserParams 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 NewRemoveOrgUserParamsWithContext ¶
func NewRemoveOrgUserParamsWithContext(ctx context.Context) *RemoveOrgUserParams
NewRemoveOrgUserParamsWithContext creates a new RemoveOrgUserParams object with the ability to set a context for a request.
func NewRemoveOrgUserParamsWithHTTPClient ¶
func NewRemoveOrgUserParamsWithHTTPClient(client *http.Client) *RemoveOrgUserParams
NewRemoveOrgUserParamsWithHTTPClient creates a new RemoveOrgUserParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveOrgUserParamsWithTimeout ¶
func NewRemoveOrgUserParamsWithTimeout(timeout time.Duration) *RemoveOrgUserParams
NewRemoveOrgUserParamsWithTimeout creates a new RemoveOrgUserParams object with the ability to set a timeout on a request.
func (*RemoveOrgUserParams) SetContext ¶
func (o *RemoveOrgUserParams) SetContext(ctx context.Context)
SetContext adds the context to the remove org user params
func (*RemoveOrgUserParams) SetDefaults ¶
func (o *RemoveOrgUserParams) SetDefaults()
SetDefaults hydrates default values in the remove org user params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveOrgUserParams) SetHTTPClient ¶
func (o *RemoveOrgUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove org user params
func (*RemoveOrgUserParams) SetOrgID ¶
func (o *RemoveOrgUserParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the remove org user params
func (*RemoveOrgUserParams) SetTimeout ¶
func (o *RemoveOrgUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove org user params
func (*RemoveOrgUserParams) SetUserID ¶
func (o *RemoveOrgUserParams) SetUserID(userID int64)
SetUserID adds the userId to the remove org user params
func (*RemoveOrgUserParams) WithContext ¶
func (o *RemoveOrgUserParams) WithContext(ctx context.Context) *RemoveOrgUserParams
WithContext adds the context to the remove org user params
func (*RemoveOrgUserParams) WithDefaults ¶
func (o *RemoveOrgUserParams) WithDefaults() *RemoveOrgUserParams
WithDefaults hydrates default values in the remove org user params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveOrgUserParams) WithHTTPClient ¶
func (o *RemoveOrgUserParams) WithHTTPClient(client *http.Client) *RemoveOrgUserParams
WithHTTPClient adds the HTTPClient to the remove org user params
func (*RemoveOrgUserParams) WithOrgID ¶
func (o *RemoveOrgUserParams) WithOrgID(orgID int64) *RemoveOrgUserParams
WithOrgID adds the orgID to the remove org user params
func (*RemoveOrgUserParams) WithTimeout ¶
func (o *RemoveOrgUserParams) WithTimeout(timeout time.Duration) *RemoveOrgUserParams
WithTimeout adds the timeout to the remove org user params
func (*RemoveOrgUserParams) WithUserID ¶
func (o *RemoveOrgUserParams) WithUserID(userID int64) *RemoveOrgUserParams
WithUserID adds the userID to the remove org user params
func (*RemoveOrgUserParams) WriteToRequest ¶
func (o *RemoveOrgUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveOrgUserReader ¶
type RemoveOrgUserReader struct {
// contains filtered or unexported fields
}
RemoveOrgUserReader is a Reader for the RemoveOrgUser structure.
func (*RemoveOrgUserReader) ReadResponse ¶
func (o *RemoveOrgUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveOrgUserUnauthorized ¶
type RemoveOrgUserUnauthorized struct {
}RemoveOrgUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRemoveOrgUserUnauthorized ¶
func NewRemoveOrgUserUnauthorized() *RemoveOrgUserUnauthorized
NewRemoveOrgUserUnauthorized creates a RemoveOrgUserUnauthorized with default headers values
func (*RemoveOrgUserUnauthorized) Error ¶
func (o *RemoveOrgUserUnauthorized) Error() string
func (*RemoveOrgUserUnauthorized) GetPayload ¶
func (o *RemoveOrgUserUnauthorized) GetPayload() *models.ErrorResponseBody
type SearchOrgUsersForbidden ¶
type SearchOrgUsersForbidden struct {
Payload *models.ErrorResponseBody
}
SearchOrgUsersForbidden 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 NewSearchOrgUsersForbidden ¶
func NewSearchOrgUsersForbidden() *SearchOrgUsersForbidden
NewSearchOrgUsersForbidden creates a SearchOrgUsersForbidden with default headers values
func (*SearchOrgUsersForbidden) Error ¶
func (o *SearchOrgUsersForbidden) Error() string
func (*SearchOrgUsersForbidden) GetPayload ¶
func (o *SearchOrgUsersForbidden) GetPayload() *models.ErrorResponseBody
type SearchOrgUsersInternalServerError ¶
type SearchOrgUsersInternalServerError struct {
Payload *models.ErrorResponseBody
}
SearchOrgUsersInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSearchOrgUsersInternalServerError ¶
func NewSearchOrgUsersInternalServerError() *SearchOrgUsersInternalServerError
NewSearchOrgUsersInternalServerError creates a SearchOrgUsersInternalServerError with default headers values
func (*SearchOrgUsersInternalServerError) Error ¶
func (o *SearchOrgUsersInternalServerError) Error() string
func (*SearchOrgUsersInternalServerError) GetPayload ¶
func (o *SearchOrgUsersInternalServerError) GetPayload() *models.ErrorResponseBody
type SearchOrgUsersOK ¶
type SearchOrgUsersOK struct {
Payload *models.SearchOrgUsersQueryResult
}
SearchOrgUsersOK describes a response with status code 200, with default header values.
(empty)
func NewSearchOrgUsersOK ¶
func NewSearchOrgUsersOK() *SearchOrgUsersOK
NewSearchOrgUsersOK creates a SearchOrgUsersOK with default headers values
func (*SearchOrgUsersOK) Error ¶
func (o *SearchOrgUsersOK) Error() string
func (*SearchOrgUsersOK) GetPayload ¶
func (o *SearchOrgUsersOK) GetPayload() *models.SearchOrgUsersQueryResult
type SearchOrgUsersParams ¶
type SearchOrgUsersParams struct { // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchOrgUsersParams contains all the parameters to send to the API endpoint
for the search org users operation. Typically these are written to a http.Request.
func NewSearchOrgUsersParams ¶
func NewSearchOrgUsersParams() *SearchOrgUsersParams
NewSearchOrgUsersParams creates a new SearchOrgUsersParams 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 NewSearchOrgUsersParamsWithContext ¶
func NewSearchOrgUsersParamsWithContext(ctx context.Context) *SearchOrgUsersParams
NewSearchOrgUsersParamsWithContext creates a new SearchOrgUsersParams object with the ability to set a context for a request.
func NewSearchOrgUsersParamsWithHTTPClient ¶
func NewSearchOrgUsersParamsWithHTTPClient(client *http.Client) *SearchOrgUsersParams
NewSearchOrgUsersParamsWithHTTPClient creates a new SearchOrgUsersParams object with the ability to set a custom HTTPClient for a request.
func NewSearchOrgUsersParamsWithTimeout ¶
func NewSearchOrgUsersParamsWithTimeout(timeout time.Duration) *SearchOrgUsersParams
NewSearchOrgUsersParamsWithTimeout creates a new SearchOrgUsersParams object with the ability to set a timeout on a request.
func (*SearchOrgUsersParams) SetContext ¶
func (o *SearchOrgUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the search org users params
func (*SearchOrgUsersParams) SetDefaults ¶
func (o *SearchOrgUsersParams) SetDefaults()
SetDefaults hydrates default values in the search org users params (not the query body).
All values with no default are reset to their zero value.
func (*SearchOrgUsersParams) SetHTTPClient ¶
func (o *SearchOrgUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search org users params
func (*SearchOrgUsersParams) SetOrgID ¶
func (o *SearchOrgUsersParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the search org users params
func (*SearchOrgUsersParams) SetTimeout ¶
func (o *SearchOrgUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search org users params
func (*SearchOrgUsersParams) WithContext ¶
func (o *SearchOrgUsersParams) WithContext(ctx context.Context) *SearchOrgUsersParams
WithContext adds the context to the search org users params
func (*SearchOrgUsersParams) WithDefaults ¶
func (o *SearchOrgUsersParams) WithDefaults() *SearchOrgUsersParams
WithDefaults hydrates default values in the search org users params (not the query body).
All values with no default are reset to their zero value.
func (*SearchOrgUsersParams) WithHTTPClient ¶
func (o *SearchOrgUsersParams) WithHTTPClient(client *http.Client) *SearchOrgUsersParams
WithHTTPClient adds the HTTPClient to the search org users params
func (*SearchOrgUsersParams) WithOrgID ¶
func (o *SearchOrgUsersParams) WithOrgID(orgID int64) *SearchOrgUsersParams
WithOrgID adds the orgID to the search org users params
func (*SearchOrgUsersParams) WithTimeout ¶
func (o *SearchOrgUsersParams) WithTimeout(timeout time.Duration) *SearchOrgUsersParams
WithTimeout adds the timeout to the search org users params
func (*SearchOrgUsersParams) WriteToRequest ¶
func (o *SearchOrgUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchOrgUsersReader ¶
type SearchOrgUsersReader struct {
// contains filtered or unexported fields
}
SearchOrgUsersReader is a Reader for the SearchOrgUsers structure.
func (*SearchOrgUsersReader) ReadResponse ¶
func (o *SearchOrgUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchOrgUsersUnauthorized ¶
type SearchOrgUsersUnauthorized struct {
}SearchOrgUsersUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewSearchOrgUsersUnauthorized ¶
func NewSearchOrgUsersUnauthorized() *SearchOrgUsersUnauthorized
NewSearchOrgUsersUnauthorized creates a SearchOrgUsersUnauthorized with default headers values
func (*SearchOrgUsersUnauthorized) Error ¶
func (o *SearchOrgUsersUnauthorized) Error() string
func (*SearchOrgUsersUnauthorized) GetPayload ¶
func (o *SearchOrgUsersUnauthorized) GetPayload() *models.ErrorResponseBody
type SearchOrgsConflict ¶
type SearchOrgsConflict struct {
Payload *models.ErrorResponseBody
}
SearchOrgsConflict describes a response with status code 409, with default header values.
ConflictError
func NewSearchOrgsConflict ¶
func NewSearchOrgsConflict() *SearchOrgsConflict
NewSearchOrgsConflict creates a SearchOrgsConflict with default headers values
func (*SearchOrgsConflict) Error ¶
func (o *SearchOrgsConflict) Error() string
func (*SearchOrgsConflict) GetPayload ¶
func (o *SearchOrgsConflict) GetPayload() *models.ErrorResponseBody
type SearchOrgsForbidden ¶
type SearchOrgsForbidden struct {
Payload *models.ErrorResponseBody
}
SearchOrgsForbidden 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 NewSearchOrgsForbidden ¶
func NewSearchOrgsForbidden() *SearchOrgsForbidden
NewSearchOrgsForbidden creates a SearchOrgsForbidden with default headers values
func (*SearchOrgsForbidden) Error ¶
func (o *SearchOrgsForbidden) Error() string
func (*SearchOrgsForbidden) GetPayload ¶
func (o *SearchOrgsForbidden) GetPayload() *models.ErrorResponseBody
type SearchOrgsInternalServerError ¶
type SearchOrgsInternalServerError struct {
Payload *models.ErrorResponseBody
}
SearchOrgsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSearchOrgsInternalServerError ¶
func NewSearchOrgsInternalServerError() *SearchOrgsInternalServerError
NewSearchOrgsInternalServerError creates a SearchOrgsInternalServerError with default headers values
func (*SearchOrgsInternalServerError) Error ¶
func (o *SearchOrgsInternalServerError) Error() string
func (*SearchOrgsInternalServerError) GetPayload ¶
func (o *SearchOrgsInternalServerError) GetPayload() *models.ErrorResponseBody
type SearchOrgsOK ¶
SearchOrgsOK describes a response with status code 200, with default header values.
(empty)
func NewSearchOrgsOK ¶
func NewSearchOrgsOK() *SearchOrgsOK
NewSearchOrgsOK creates a SearchOrgsOK with default headers values
func (*SearchOrgsOK) Error ¶
func (o *SearchOrgsOK) Error() string
func (*SearchOrgsOK) GetPayload ¶
func (o *SearchOrgsOK) GetPayload() []*models.OrgDTO
type SearchOrgsParams ¶
type SearchOrgsParams struct { // Name. Name *string // Page. // // Format: int64 // Default: 1 Page *int64 /* Perpage. Number of items per page The totalCount field in the response can be used for pagination list E.g. if totalCount is equal to 100 teams and the perpage parameter is set to 10 then there are 10 pages of teams. Format: int64 Default: 1000 */ Perpage *int64 /* Query. If set it will return results where the query value is contained in the name field. Query values with spaces need to be URL encoded. */ Query *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchOrgsParams contains all the parameters to send to the API endpoint
for the search orgs operation. Typically these are written to a http.Request.
func NewSearchOrgsParams ¶
func NewSearchOrgsParams() *SearchOrgsParams
NewSearchOrgsParams creates a new SearchOrgsParams 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 NewSearchOrgsParamsWithContext ¶
func NewSearchOrgsParamsWithContext(ctx context.Context) *SearchOrgsParams
NewSearchOrgsParamsWithContext creates a new SearchOrgsParams object with the ability to set a context for a request.
func NewSearchOrgsParamsWithHTTPClient ¶
func NewSearchOrgsParamsWithHTTPClient(client *http.Client) *SearchOrgsParams
NewSearchOrgsParamsWithHTTPClient creates a new SearchOrgsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchOrgsParamsWithTimeout ¶
func NewSearchOrgsParamsWithTimeout(timeout time.Duration) *SearchOrgsParams
NewSearchOrgsParamsWithTimeout creates a new SearchOrgsParams object with the ability to set a timeout on a request.
func (*SearchOrgsParams) SetContext ¶
func (o *SearchOrgsParams) SetContext(ctx context.Context)
SetContext adds the context to the search orgs params
func (*SearchOrgsParams) SetDefaults ¶
func (o *SearchOrgsParams) SetDefaults()
SetDefaults hydrates default values in the search orgs params (not the query body).
All values with no default are reset to their zero value.
func (*SearchOrgsParams) SetHTTPClient ¶
func (o *SearchOrgsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search orgs params
func (*SearchOrgsParams) SetName ¶
func (o *SearchOrgsParams) SetName(name *string)
SetName adds the name to the search orgs params
func (*SearchOrgsParams) SetPage ¶
func (o *SearchOrgsParams) SetPage(page *int64)
SetPage adds the page to the search orgs params
func (*SearchOrgsParams) SetPerpage ¶
func (o *SearchOrgsParams) SetPerpage(perpage *int64)
SetPerpage adds the perpage to the search orgs params
func (*SearchOrgsParams) SetQuery ¶
func (o *SearchOrgsParams) SetQuery(query *string)
SetQuery adds the query to the search orgs params
func (*SearchOrgsParams) SetTimeout ¶
func (o *SearchOrgsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search orgs params
func (*SearchOrgsParams) WithContext ¶
func (o *SearchOrgsParams) WithContext(ctx context.Context) *SearchOrgsParams
WithContext adds the context to the search orgs params
func (*SearchOrgsParams) WithDefaults ¶
func (o *SearchOrgsParams) WithDefaults() *SearchOrgsParams
WithDefaults hydrates default values in the search orgs params (not the query body).
All values with no default are reset to their zero value.
func (*SearchOrgsParams) WithHTTPClient ¶
func (o *SearchOrgsParams) WithHTTPClient(client *http.Client) *SearchOrgsParams
WithHTTPClient adds the HTTPClient to the search orgs params
func (*SearchOrgsParams) WithName ¶
func (o *SearchOrgsParams) WithName(name *string) *SearchOrgsParams
WithName adds the name to the search orgs params
func (*SearchOrgsParams) WithPage ¶
func (o *SearchOrgsParams) WithPage(page *int64) *SearchOrgsParams
WithPage adds the page to the search orgs params
func (*SearchOrgsParams) WithPerpage ¶
func (o *SearchOrgsParams) WithPerpage(perpage *int64) *SearchOrgsParams
WithPerpage adds the perpage to the search orgs params
func (*SearchOrgsParams) WithQuery ¶
func (o *SearchOrgsParams) WithQuery(query *string) *SearchOrgsParams
WithQuery adds the query to the search orgs params
func (*SearchOrgsParams) WithTimeout ¶
func (o *SearchOrgsParams) WithTimeout(timeout time.Duration) *SearchOrgsParams
WithTimeout adds the timeout to the search orgs params
func (*SearchOrgsParams) WriteToRequest ¶
func (o *SearchOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchOrgsReader ¶
type SearchOrgsReader struct {
// contains filtered or unexported fields
}
SearchOrgsReader is a Reader for the SearchOrgs structure.
func (*SearchOrgsReader) ReadResponse ¶
func (o *SearchOrgsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchOrgsUnauthorized ¶
type SearchOrgsUnauthorized struct {
}SearchOrgsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewSearchOrgsUnauthorized ¶
func NewSearchOrgsUnauthorized() *SearchOrgsUnauthorized
NewSearchOrgsUnauthorized creates a SearchOrgsUnauthorized with default headers values
func (*SearchOrgsUnauthorized) Error ¶
func (o *SearchOrgsUnauthorized) Error() string
func (*SearchOrgsUnauthorized) GetPayload ¶
func (o *SearchOrgsUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateOrgAddressBadRequest ¶
type UpdateOrgAddressBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateOrgAddressBadRequest 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 NewUpdateOrgAddressBadRequest ¶
func NewUpdateOrgAddressBadRequest() *UpdateOrgAddressBadRequest
NewUpdateOrgAddressBadRequest creates a UpdateOrgAddressBadRequest with default headers values
func (*UpdateOrgAddressBadRequest) Error ¶
func (o *UpdateOrgAddressBadRequest) Error() string
func (*UpdateOrgAddressBadRequest) GetPayload ¶
func (o *UpdateOrgAddressBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateOrgAddressForbidden ¶
type UpdateOrgAddressForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateOrgAddressForbidden 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 NewUpdateOrgAddressForbidden ¶
func NewUpdateOrgAddressForbidden() *UpdateOrgAddressForbidden
NewUpdateOrgAddressForbidden creates a UpdateOrgAddressForbidden with default headers values
func (*UpdateOrgAddressForbidden) Error ¶
func (o *UpdateOrgAddressForbidden) Error() string
func (*UpdateOrgAddressForbidden) GetPayload ¶
func (o *UpdateOrgAddressForbidden) GetPayload() *models.ErrorResponseBody
type UpdateOrgAddressInternalServerError ¶
type UpdateOrgAddressInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateOrgAddressInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateOrgAddressInternalServerError ¶
func NewUpdateOrgAddressInternalServerError() *UpdateOrgAddressInternalServerError
NewUpdateOrgAddressInternalServerError creates a UpdateOrgAddressInternalServerError with default headers values
func (*UpdateOrgAddressInternalServerError) Error ¶
func (o *UpdateOrgAddressInternalServerError) Error() string
func (*UpdateOrgAddressInternalServerError) GetPayload ¶
func (o *UpdateOrgAddressInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateOrgAddressOK ¶
type UpdateOrgAddressOK struct {
Payload *models.SuccessResponseBody
}
UpdateOrgAddressOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateOrgAddressOK ¶
func NewUpdateOrgAddressOK() *UpdateOrgAddressOK
NewUpdateOrgAddressOK creates a UpdateOrgAddressOK with default headers values
func (*UpdateOrgAddressOK) Error ¶
func (o *UpdateOrgAddressOK) Error() string
func (*UpdateOrgAddressOK) GetPayload ¶
func (o *UpdateOrgAddressOK) GetPayload() *models.SuccessResponseBody
type UpdateOrgAddressParams ¶
type UpdateOrgAddressParams struct { // Body. Body *models.UpdateOrgAddressForm // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrgAddressParams contains all the parameters to send to the API endpoint
for the update org address operation. Typically these are written to a http.Request.
func NewUpdateOrgAddressParams ¶
func NewUpdateOrgAddressParams() *UpdateOrgAddressParams
NewUpdateOrgAddressParams creates a new UpdateOrgAddressParams 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 NewUpdateOrgAddressParamsWithContext ¶
func NewUpdateOrgAddressParamsWithContext(ctx context.Context) *UpdateOrgAddressParams
NewUpdateOrgAddressParamsWithContext creates a new UpdateOrgAddressParams object with the ability to set a context for a request.
func NewUpdateOrgAddressParamsWithHTTPClient ¶
func NewUpdateOrgAddressParamsWithHTTPClient(client *http.Client) *UpdateOrgAddressParams
NewUpdateOrgAddressParamsWithHTTPClient creates a new UpdateOrgAddressParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrgAddressParamsWithTimeout ¶
func NewUpdateOrgAddressParamsWithTimeout(timeout time.Duration) *UpdateOrgAddressParams
NewUpdateOrgAddressParamsWithTimeout creates a new UpdateOrgAddressParams object with the ability to set a timeout on a request.
func (*UpdateOrgAddressParams) SetBody ¶
func (o *UpdateOrgAddressParams) SetBody(body *models.UpdateOrgAddressForm)
SetBody adds the body to the update org address params
func (*UpdateOrgAddressParams) SetContext ¶
func (o *UpdateOrgAddressParams) SetContext(ctx context.Context)
SetContext adds the context to the update org address params
func (*UpdateOrgAddressParams) SetDefaults ¶
func (o *UpdateOrgAddressParams) SetDefaults()
SetDefaults hydrates default values in the update org address params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgAddressParams) SetHTTPClient ¶
func (o *UpdateOrgAddressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org address params
func (*UpdateOrgAddressParams) SetOrgID ¶
func (o *UpdateOrgAddressParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the update org address params
func (*UpdateOrgAddressParams) SetTimeout ¶
func (o *UpdateOrgAddressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org address params
func (*UpdateOrgAddressParams) WithBody ¶
func (o *UpdateOrgAddressParams) WithBody(body *models.UpdateOrgAddressForm) *UpdateOrgAddressParams
WithBody adds the body to the update org address params
func (*UpdateOrgAddressParams) WithContext ¶
func (o *UpdateOrgAddressParams) WithContext(ctx context.Context) *UpdateOrgAddressParams
WithContext adds the context to the update org address params
func (*UpdateOrgAddressParams) WithDefaults ¶
func (o *UpdateOrgAddressParams) WithDefaults() *UpdateOrgAddressParams
WithDefaults hydrates default values in the update org address params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgAddressParams) WithHTTPClient ¶
func (o *UpdateOrgAddressParams) WithHTTPClient(client *http.Client) *UpdateOrgAddressParams
WithHTTPClient adds the HTTPClient to the update org address params
func (*UpdateOrgAddressParams) WithOrgID ¶
func (o *UpdateOrgAddressParams) WithOrgID(orgID int64) *UpdateOrgAddressParams
WithOrgID adds the orgID to the update org address params
func (*UpdateOrgAddressParams) WithTimeout ¶
func (o *UpdateOrgAddressParams) WithTimeout(timeout time.Duration) *UpdateOrgAddressParams
WithTimeout adds the timeout to the update org address params
func (*UpdateOrgAddressParams) WriteToRequest ¶
func (o *UpdateOrgAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgAddressReader ¶
type UpdateOrgAddressReader struct {
// contains filtered or unexported fields
}
UpdateOrgAddressReader is a Reader for the UpdateOrgAddress structure.
func (*UpdateOrgAddressReader) ReadResponse ¶
func (o *UpdateOrgAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgAddressUnauthorized ¶
type UpdateOrgAddressUnauthorized struct {
}UpdateOrgAddressUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateOrgAddressUnauthorized ¶
func NewUpdateOrgAddressUnauthorized() *UpdateOrgAddressUnauthorized
NewUpdateOrgAddressUnauthorized creates a UpdateOrgAddressUnauthorized with default headers values
func (*UpdateOrgAddressUnauthorized) Error ¶
func (o *UpdateOrgAddressUnauthorized) Error() string
func (*UpdateOrgAddressUnauthorized) GetPayload ¶
func (o *UpdateOrgAddressUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateOrgBadRequest ¶
type UpdateOrgBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateOrgBadRequest 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 NewUpdateOrgBadRequest ¶
func NewUpdateOrgBadRequest() *UpdateOrgBadRequest
NewUpdateOrgBadRequest creates a UpdateOrgBadRequest with default headers values
func (*UpdateOrgBadRequest) Error ¶
func (o *UpdateOrgBadRequest) Error() string
func (*UpdateOrgBadRequest) GetPayload ¶
func (o *UpdateOrgBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateOrgForbidden ¶
type UpdateOrgForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateOrgForbidden 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 NewUpdateOrgForbidden ¶
func NewUpdateOrgForbidden() *UpdateOrgForbidden
NewUpdateOrgForbidden creates a UpdateOrgForbidden with default headers values
func (*UpdateOrgForbidden) Error ¶
func (o *UpdateOrgForbidden) Error() string
func (*UpdateOrgForbidden) GetPayload ¶
func (o *UpdateOrgForbidden) GetPayload() *models.ErrorResponseBody
type UpdateOrgInternalServerError ¶
type UpdateOrgInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateOrgInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateOrgInternalServerError ¶
func NewUpdateOrgInternalServerError() *UpdateOrgInternalServerError
NewUpdateOrgInternalServerError creates a UpdateOrgInternalServerError with default headers values
func (*UpdateOrgInternalServerError) Error ¶
func (o *UpdateOrgInternalServerError) Error() string
func (*UpdateOrgInternalServerError) GetPayload ¶
func (o *UpdateOrgInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateOrgOK ¶
type UpdateOrgOK struct {
Payload *models.SuccessResponseBody
}
UpdateOrgOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateOrgOK ¶
func NewUpdateOrgOK() *UpdateOrgOK
NewUpdateOrgOK creates a UpdateOrgOK with default headers values
func (*UpdateOrgOK) Error ¶
func (o *UpdateOrgOK) Error() string
func (*UpdateOrgOK) GetPayload ¶
func (o *UpdateOrgOK) GetPayload() *models.SuccessResponseBody
type UpdateOrgParams ¶
type UpdateOrgParams struct { // Body. Body *models.UpdateOrgForm // OrgID. // // Format: int64 OrgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrgParams contains all the parameters to send to the API endpoint
for the update org operation. Typically these are written to a http.Request.
func NewUpdateOrgParams ¶
func NewUpdateOrgParams() *UpdateOrgParams
NewUpdateOrgParams creates a new UpdateOrgParams 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 NewUpdateOrgParamsWithContext ¶
func NewUpdateOrgParamsWithContext(ctx context.Context) *UpdateOrgParams
NewUpdateOrgParamsWithContext creates a new UpdateOrgParams object with the ability to set a context for a request.
func NewUpdateOrgParamsWithHTTPClient ¶
func NewUpdateOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgParams
NewUpdateOrgParamsWithHTTPClient creates a new UpdateOrgParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrgParamsWithTimeout ¶
func NewUpdateOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgParams
NewUpdateOrgParamsWithTimeout creates a new UpdateOrgParams object with the ability to set a timeout on a request.
func (*UpdateOrgParams) SetBody ¶
func (o *UpdateOrgParams) SetBody(body *models.UpdateOrgForm)
SetBody adds the body to the update org params
func (*UpdateOrgParams) SetContext ¶
func (o *UpdateOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the update org params
func (*UpdateOrgParams) SetDefaults ¶
func (o *UpdateOrgParams) SetDefaults()
SetDefaults hydrates default values in the update org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgParams) SetHTTPClient ¶
func (o *UpdateOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org params
func (*UpdateOrgParams) SetOrgID ¶
func (o *UpdateOrgParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the update org params
func (*UpdateOrgParams) SetTimeout ¶
func (o *UpdateOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org params
func (*UpdateOrgParams) WithBody ¶
func (o *UpdateOrgParams) WithBody(body *models.UpdateOrgForm) *UpdateOrgParams
WithBody adds the body to the update org params
func (*UpdateOrgParams) WithContext ¶
func (o *UpdateOrgParams) WithContext(ctx context.Context) *UpdateOrgParams
WithContext adds the context to the update org params
func (*UpdateOrgParams) WithDefaults ¶
func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams
WithDefaults hydrates default values in the update org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgParams) WithHTTPClient ¶
func (o *UpdateOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgParams
WithHTTPClient adds the HTTPClient to the update org params
func (*UpdateOrgParams) WithOrgID ¶
func (o *UpdateOrgParams) WithOrgID(orgID int64) *UpdateOrgParams
WithOrgID adds the orgID to the update org params
func (*UpdateOrgParams) WithTimeout ¶
func (o *UpdateOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgParams
WithTimeout adds the timeout to the update org params
func (*UpdateOrgParams) WriteToRequest ¶
func (o *UpdateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgQuotaForbidden ¶
type UpdateOrgQuotaForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateOrgQuotaForbidden 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 NewUpdateOrgQuotaForbidden ¶
func NewUpdateOrgQuotaForbidden() *UpdateOrgQuotaForbidden
NewUpdateOrgQuotaForbidden creates a UpdateOrgQuotaForbidden with default headers values
func (*UpdateOrgQuotaForbidden) Error ¶
func (o *UpdateOrgQuotaForbidden) Error() string
func (*UpdateOrgQuotaForbidden) GetPayload ¶
func (o *UpdateOrgQuotaForbidden) GetPayload() *models.ErrorResponseBody
type UpdateOrgQuotaInternalServerError ¶
type UpdateOrgQuotaInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateOrgQuotaInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateOrgQuotaInternalServerError ¶
func NewUpdateOrgQuotaInternalServerError() *UpdateOrgQuotaInternalServerError
NewUpdateOrgQuotaInternalServerError creates a UpdateOrgQuotaInternalServerError with default headers values
func (*UpdateOrgQuotaInternalServerError) Error ¶
func (o *UpdateOrgQuotaInternalServerError) Error() string
func (*UpdateOrgQuotaInternalServerError) GetPayload ¶
func (o *UpdateOrgQuotaInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateOrgQuotaNotFound ¶
type UpdateOrgQuotaNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateOrgQuotaNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateOrgQuotaNotFound ¶
func NewUpdateOrgQuotaNotFound() *UpdateOrgQuotaNotFound
NewUpdateOrgQuotaNotFound creates a UpdateOrgQuotaNotFound with default headers values
func (*UpdateOrgQuotaNotFound) Error ¶
func (o *UpdateOrgQuotaNotFound) Error() string
func (*UpdateOrgQuotaNotFound) GetPayload ¶
func (o *UpdateOrgQuotaNotFound) GetPayload() *models.ErrorResponseBody
type UpdateOrgQuotaOK ¶
type UpdateOrgQuotaOK struct {
Payload *models.SuccessResponseBody
}
UpdateOrgQuotaOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateOrgQuotaOK ¶
func NewUpdateOrgQuotaOK() *UpdateOrgQuotaOK
NewUpdateOrgQuotaOK creates a UpdateOrgQuotaOK with default headers values
func (*UpdateOrgQuotaOK) Error ¶
func (o *UpdateOrgQuotaOK) Error() string
func (*UpdateOrgQuotaOK) GetPayload ¶
func (o *UpdateOrgQuotaOK) GetPayload() *models.SuccessResponseBody
type UpdateOrgQuotaParams ¶
type UpdateOrgQuotaParams struct { // Body. Body *models.UpdateQuotaCmd // OrgID. // // Format: int64 OrgID int64 // QuotaTarget. QuotaTarget string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrgQuotaParams contains all the parameters to send to the API endpoint
for the update org quota operation. Typically these are written to a http.Request.
func NewUpdateOrgQuotaParams ¶
func NewUpdateOrgQuotaParams() *UpdateOrgQuotaParams
NewUpdateOrgQuotaParams creates a new UpdateOrgQuotaParams 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 NewUpdateOrgQuotaParamsWithContext ¶
func NewUpdateOrgQuotaParamsWithContext(ctx context.Context) *UpdateOrgQuotaParams
NewUpdateOrgQuotaParamsWithContext creates a new UpdateOrgQuotaParams object with the ability to set a context for a request.
func NewUpdateOrgQuotaParamsWithHTTPClient ¶
func NewUpdateOrgQuotaParamsWithHTTPClient(client *http.Client) *UpdateOrgQuotaParams
NewUpdateOrgQuotaParamsWithHTTPClient creates a new UpdateOrgQuotaParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrgQuotaParamsWithTimeout ¶
func NewUpdateOrgQuotaParamsWithTimeout(timeout time.Duration) *UpdateOrgQuotaParams
NewUpdateOrgQuotaParamsWithTimeout creates a new UpdateOrgQuotaParams object with the ability to set a timeout on a request.
func (*UpdateOrgQuotaParams) SetBody ¶
func (o *UpdateOrgQuotaParams) SetBody(body *models.UpdateQuotaCmd)
SetBody adds the body to the update org quota params
func (*UpdateOrgQuotaParams) SetContext ¶
func (o *UpdateOrgQuotaParams) SetContext(ctx context.Context)
SetContext adds the context to the update org quota params
func (*UpdateOrgQuotaParams) SetDefaults ¶
func (o *UpdateOrgQuotaParams) SetDefaults()
SetDefaults hydrates default values in the update org quota params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgQuotaParams) SetHTTPClient ¶
func (o *UpdateOrgQuotaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org quota params
func (*UpdateOrgQuotaParams) SetOrgID ¶
func (o *UpdateOrgQuotaParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the update org quota params
func (*UpdateOrgQuotaParams) SetQuotaTarget ¶
func (o *UpdateOrgQuotaParams) SetQuotaTarget(quotaTarget string)
SetQuotaTarget adds the quotaTarget to the update org quota params
func (*UpdateOrgQuotaParams) SetTimeout ¶
func (o *UpdateOrgQuotaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org quota params
func (*UpdateOrgQuotaParams) WithBody ¶
func (o *UpdateOrgQuotaParams) WithBody(body *models.UpdateQuotaCmd) *UpdateOrgQuotaParams
WithBody adds the body to the update org quota params
func (*UpdateOrgQuotaParams) WithContext ¶
func (o *UpdateOrgQuotaParams) WithContext(ctx context.Context) *UpdateOrgQuotaParams
WithContext adds the context to the update org quota params
func (*UpdateOrgQuotaParams) WithDefaults ¶
func (o *UpdateOrgQuotaParams) WithDefaults() *UpdateOrgQuotaParams
WithDefaults hydrates default values in the update org quota params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgQuotaParams) WithHTTPClient ¶
func (o *UpdateOrgQuotaParams) WithHTTPClient(client *http.Client) *UpdateOrgQuotaParams
WithHTTPClient adds the HTTPClient to the update org quota params
func (*UpdateOrgQuotaParams) WithOrgID ¶
func (o *UpdateOrgQuotaParams) WithOrgID(orgID int64) *UpdateOrgQuotaParams
WithOrgID adds the orgID to the update org quota params
func (*UpdateOrgQuotaParams) WithQuotaTarget ¶
func (o *UpdateOrgQuotaParams) WithQuotaTarget(quotaTarget string) *UpdateOrgQuotaParams
WithQuotaTarget adds the quotaTarget to the update org quota params
func (*UpdateOrgQuotaParams) WithTimeout ¶
func (o *UpdateOrgQuotaParams) WithTimeout(timeout time.Duration) *UpdateOrgQuotaParams
WithTimeout adds the timeout to the update org quota params
func (*UpdateOrgQuotaParams) WriteToRequest ¶
func (o *UpdateOrgQuotaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgQuotaReader ¶
type UpdateOrgQuotaReader struct {
// contains filtered or unexported fields
}
UpdateOrgQuotaReader is a Reader for the UpdateOrgQuota structure.
func (*UpdateOrgQuotaReader) ReadResponse ¶
func (o *UpdateOrgQuotaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgQuotaUnauthorized ¶
type UpdateOrgQuotaUnauthorized struct {
}UpdateOrgQuotaUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateOrgQuotaUnauthorized ¶
func NewUpdateOrgQuotaUnauthorized() *UpdateOrgQuotaUnauthorized
NewUpdateOrgQuotaUnauthorized creates a UpdateOrgQuotaUnauthorized with default headers values
func (*UpdateOrgQuotaUnauthorized) Error ¶
func (o *UpdateOrgQuotaUnauthorized) Error() string
func (*UpdateOrgQuotaUnauthorized) GetPayload ¶
func (o *UpdateOrgQuotaUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateOrgReader ¶
type UpdateOrgReader struct {
// contains filtered or unexported fields
}
UpdateOrgReader is a Reader for the UpdateOrg structure.
func (*UpdateOrgReader) ReadResponse ¶
func (o *UpdateOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgUnauthorized ¶
type UpdateOrgUnauthorized struct {
}UpdateOrgUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateOrgUnauthorized ¶
func NewUpdateOrgUnauthorized() *UpdateOrgUnauthorized
NewUpdateOrgUnauthorized creates a UpdateOrgUnauthorized with default headers values
func (*UpdateOrgUnauthorized) Error ¶
func (o *UpdateOrgUnauthorized) Error() string
func (*UpdateOrgUnauthorized) GetPayload ¶
func (o *UpdateOrgUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserBadRequest ¶
type UpdateOrgUserBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateOrgUserBadRequest 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 NewUpdateOrgUserBadRequest ¶
func NewUpdateOrgUserBadRequest() *UpdateOrgUserBadRequest
NewUpdateOrgUserBadRequest creates a UpdateOrgUserBadRequest with default headers values
func (*UpdateOrgUserBadRequest) Error ¶
func (o *UpdateOrgUserBadRequest) Error() string
func (*UpdateOrgUserBadRequest) GetPayload ¶
func (o *UpdateOrgUserBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserForbidden ¶
type UpdateOrgUserForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateOrgUserForbidden 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 NewUpdateOrgUserForbidden ¶
func NewUpdateOrgUserForbidden() *UpdateOrgUserForbidden
NewUpdateOrgUserForbidden creates a UpdateOrgUserForbidden with default headers values
func (*UpdateOrgUserForbidden) Error ¶
func (o *UpdateOrgUserForbidden) Error() string
func (*UpdateOrgUserForbidden) GetPayload ¶
func (o *UpdateOrgUserForbidden) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserInternalServerError ¶
type UpdateOrgUserInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateOrgUserInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateOrgUserInternalServerError ¶
func NewUpdateOrgUserInternalServerError() *UpdateOrgUserInternalServerError
NewUpdateOrgUserInternalServerError creates a UpdateOrgUserInternalServerError with default headers values
func (*UpdateOrgUserInternalServerError) Error ¶
func (o *UpdateOrgUserInternalServerError) Error() string
func (*UpdateOrgUserInternalServerError) GetPayload ¶
func (o *UpdateOrgUserInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateOrgUserOK ¶
type UpdateOrgUserOK struct {
Payload *models.SuccessResponseBody
}
UpdateOrgUserOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateOrgUserOK ¶
func NewUpdateOrgUserOK() *UpdateOrgUserOK
NewUpdateOrgUserOK creates a UpdateOrgUserOK with default headers values
func (*UpdateOrgUserOK) Error ¶
func (o *UpdateOrgUserOK) Error() string
func (*UpdateOrgUserOK) GetPayload ¶
func (o *UpdateOrgUserOK) GetPayload() *models.SuccessResponseBody
type UpdateOrgUserParams ¶
type UpdateOrgUserParams struct { // Body. Body *models.UpdateOrgUserCommand // OrgID. // // Format: int64 OrgID int64 // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrgUserParams contains all the parameters to send to the API endpoint
for the update org user operation. Typically these are written to a http.Request.
func NewUpdateOrgUserParams ¶
func NewUpdateOrgUserParams() *UpdateOrgUserParams
NewUpdateOrgUserParams creates a new UpdateOrgUserParams 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 NewUpdateOrgUserParamsWithContext ¶
func NewUpdateOrgUserParamsWithContext(ctx context.Context) *UpdateOrgUserParams
NewUpdateOrgUserParamsWithContext creates a new UpdateOrgUserParams object with the ability to set a context for a request.
func NewUpdateOrgUserParamsWithHTTPClient ¶
func NewUpdateOrgUserParamsWithHTTPClient(client *http.Client) *UpdateOrgUserParams
NewUpdateOrgUserParamsWithHTTPClient creates a new UpdateOrgUserParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrgUserParamsWithTimeout ¶
func NewUpdateOrgUserParamsWithTimeout(timeout time.Duration) *UpdateOrgUserParams
NewUpdateOrgUserParamsWithTimeout creates a new UpdateOrgUserParams object with the ability to set a timeout on a request.
func (*UpdateOrgUserParams) SetBody ¶
func (o *UpdateOrgUserParams) SetBody(body *models.UpdateOrgUserCommand)
SetBody adds the body to the update org user params
func (*UpdateOrgUserParams) SetContext ¶
func (o *UpdateOrgUserParams) SetContext(ctx context.Context)
SetContext adds the context to the update org user params
func (*UpdateOrgUserParams) SetDefaults ¶
func (o *UpdateOrgUserParams) SetDefaults()
SetDefaults hydrates default values in the update org user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgUserParams) SetHTTPClient ¶
func (o *UpdateOrgUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org user params
func (*UpdateOrgUserParams) SetOrgID ¶
func (o *UpdateOrgUserParams) SetOrgID(orgID int64)
SetOrgID adds the orgId to the update org user params
func (*UpdateOrgUserParams) SetTimeout ¶
func (o *UpdateOrgUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org user params
func (*UpdateOrgUserParams) SetUserID ¶
func (o *UpdateOrgUserParams) SetUserID(userID int64)
SetUserID adds the userId to the update org user params
func (*UpdateOrgUserParams) WithBody ¶
func (o *UpdateOrgUserParams) WithBody(body *models.UpdateOrgUserCommand) *UpdateOrgUserParams
WithBody adds the body to the update org user params
func (*UpdateOrgUserParams) WithContext ¶
func (o *UpdateOrgUserParams) WithContext(ctx context.Context) *UpdateOrgUserParams
WithContext adds the context to the update org user params
func (*UpdateOrgUserParams) WithDefaults ¶
func (o *UpdateOrgUserParams) WithDefaults() *UpdateOrgUserParams
WithDefaults hydrates default values in the update org user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgUserParams) WithHTTPClient ¶
func (o *UpdateOrgUserParams) WithHTTPClient(client *http.Client) *UpdateOrgUserParams
WithHTTPClient adds the HTTPClient to the update org user params
func (*UpdateOrgUserParams) WithOrgID ¶
func (o *UpdateOrgUserParams) WithOrgID(orgID int64) *UpdateOrgUserParams
WithOrgID adds the orgID to the update org user params
func (*UpdateOrgUserParams) WithTimeout ¶
func (o *UpdateOrgUserParams) WithTimeout(timeout time.Duration) *UpdateOrgUserParams
WithTimeout adds the timeout to the update org user params
func (*UpdateOrgUserParams) WithUserID ¶
func (o *UpdateOrgUserParams) WithUserID(userID int64) *UpdateOrgUserParams
WithUserID adds the userID to the update org user params
func (*UpdateOrgUserParams) WriteToRequest ¶
func (o *UpdateOrgUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgUserReader ¶
type UpdateOrgUserReader struct {
// contains filtered or unexported fields
}
UpdateOrgUserReader is a Reader for the UpdateOrgUser structure.
func (*UpdateOrgUserReader) ReadResponse ¶
func (o *UpdateOrgUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgUserUnauthorized ¶
type UpdateOrgUserUnauthorized struct {
}UpdateOrgUserUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateOrgUserUnauthorized ¶
func NewUpdateOrgUserUnauthorized() *UpdateOrgUserUnauthorized
NewUpdateOrgUserUnauthorized creates a UpdateOrgUserUnauthorized with default headers values
func (*UpdateOrgUserUnauthorized) Error ¶
func (o *UpdateOrgUserUnauthorized) Error() string
func (*UpdateOrgUserUnauthorized) GetPayload ¶
func (o *UpdateOrgUserUnauthorized) GetPayload() *models.ErrorResponseBody
Source Files
¶
- add_org_user_parameters.go
- add_org_user_responses.go
- create_org_parameters.go
- create_org_responses.go
- delete_org_by_id_parameters.go
- delete_org_by_id_responses.go
- get_org_by_id_parameters.go
- get_org_by_id_responses.go
- get_org_by_name_parameters.go
- get_org_by_name_responses.go
- get_org_quota_parameters.go
- get_org_quota_responses.go
- get_org_users_parameters.go
- get_org_users_responses.go
- orgs_client.go
- remove_org_user_parameters.go
- remove_org_user_responses.go
- search_org_users_parameters.go
- search_org_users_responses.go
- search_orgs_parameters.go
- search_orgs_responses.go
- update_org_address_parameters.go
- update_org_address_responses.go
- update_org_parameters.go
- update_org_quota_parameters.go
- update_org_quota_responses.go
- update_org_responses.go
- update_org_user_parameters.go
- update_org_user_responses.go