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