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