orgs

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOrgUserForbidden

type AddOrgUserForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewAddOrgUserForbidden

func NewAddOrgUserForbidden() *AddOrgUserForbidden

NewAddOrgUserForbidden creates a AddOrgUserForbidden with default headers values

func (*AddOrgUserForbidden) Error

func (o *AddOrgUserForbidden) Error() string

func (*AddOrgUserForbidden) GetPayload

func (o *AddOrgUserForbidden) GetPayload() *models.ErrorResponseBody

type AddOrgUserInternalServerError

type AddOrgUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewAddOrgUserInternalServerError

func NewAddOrgUserInternalServerError() *AddOrgUserInternalServerError

NewAddOrgUserInternalServerError creates a AddOrgUserInternalServerError with default headers values

func (*AddOrgUserInternalServerError) Error

func (*AddOrgUserInternalServerError) GetPayload

type AddOrgUserOK

type AddOrgUserOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewAddOrgUserOK

func NewAddOrgUserOK() *AddOrgUserOK

NewAddOrgUserOK creates a AddOrgUserOK with default headers values

func (*AddOrgUserOK) Error

func (o *AddOrgUserOK) Error() string

func (*AddOrgUserOK) GetPayload

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

type AddOrgUserParams

type AddOrgUserParams struct {

	// Body.
	Body *models.AddOrgUserCommand

	// OrgID.
	//
	// Format: int64
	OrgID int64

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

AddOrgUserParams contains all the parameters to send to the API endpoint

for the add org user operation.

Typically these are written to a http.Request.

func NewAddOrgUserParams

func NewAddOrgUserParams() *AddOrgUserParams

NewAddOrgUserParams creates a new AddOrgUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddOrgUserParamsWithContext

func NewAddOrgUserParamsWithContext(ctx context.Context) *AddOrgUserParams

NewAddOrgUserParamsWithContext creates a new AddOrgUserParams object with the ability to set a context for a request.

func NewAddOrgUserParamsWithHTTPClient

func NewAddOrgUserParamsWithHTTPClient(client *http.Client) *AddOrgUserParams

NewAddOrgUserParamsWithHTTPClient creates a new AddOrgUserParams object with the ability to set a custom HTTPClient for a request.

func NewAddOrgUserParamsWithTimeout

func NewAddOrgUserParamsWithTimeout(timeout time.Duration) *AddOrgUserParams

NewAddOrgUserParamsWithTimeout creates a new AddOrgUserParams object with the ability to set a timeout on a request.

func (*AddOrgUserParams) SetBody

func (o *AddOrgUserParams) SetBody(body *models.AddOrgUserCommand)

SetBody adds the body to the add org user params

func (*AddOrgUserParams) SetContext

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

SetContext adds the context to the add org user params

func (*AddOrgUserParams) SetDefaults

func (o *AddOrgUserParams) SetDefaults()

SetDefaults hydrates default values in the add org user params (not the query body).

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

func (*AddOrgUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add org user params

func (*AddOrgUserParams) SetOrgID

func (o *AddOrgUserParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the add org user params

func (*AddOrgUserParams) SetTimeout

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

SetTimeout adds the timeout to the add org user params

func (*AddOrgUserParams) WithBody

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewAddOrgUserUnauthorized

func NewAddOrgUserUnauthorized() *AddOrgUserUnauthorized

NewAddOrgUserUnauthorized creates a AddOrgUserUnauthorized with default headers values

func (*AddOrgUserUnauthorized) Error

func (o *AddOrgUserUnauthorized) Error() string

func (*AddOrgUserUnauthorized) GetPayload

type Client

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

Client for orgs API

func (*Client) AddOrgUser

func (a *Client) AddOrgUser(params *AddOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrgUserOK, error)
AddOrgUser adds a new user to the current organization

Adds a global user to the current organization.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `org.users:add` with scope `users:*`.

func (*Client) CreateOrg

func (a *Client) CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgOK, error)

CreateOrg creates organization

Only works if [users.allow_org_create](https://grafana.com/docs/grafana/latest/administration/configuration/#allow_org_create) is set.

func (*Client) DeleteOrgByID

func (a *Client) DeleteOrgByID(params *DeleteOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgByIDOK, error)

DeleteOrgByID deletes organization

func (*Client) GetOrgByID

func (a *Client) GetOrgByID(params *GetOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByIDOK, error)

GetOrgByID gets organization by ID

func (*Client) GetOrgByName

func (a *Client) GetOrgByName(params *GetOrgByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByNameOK, error)

GetOrgByName gets organization by ID

func (*Client) GetOrgQuota

func (a *Client) GetOrgQuota(params *GetOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgQuotaOK, error)

GetOrgQuota fetches organization quota

If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `orgs.quotas:read` and scope `org:id:1` (orgIDScope).

func (*Client) GetOrgUsers

func (a *Client) GetOrgUsers(params *GetOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersOK, error)
GetOrgUsers gets users in organization

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `org.users:read` with scope `users:*`.

func (*Client) RemoveOrgUser

func (a *Client) RemoveOrgUser(params *RemoveOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrgUserOK, error)
RemoveOrgUser deletes user in current organization

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `org.users:remove` with scope `users:*`.

func (*Client) SearchOrgUsers

func (a *Client) SearchOrgUsers(params *SearchOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgUsersOK, error)
SearchOrgUsers searches users in organization

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `org.users:read` with scope `users:*`.

func (*Client) SearchOrgs

func (a *Client) SearchOrgs(params *SearchOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgsOK, error)

SearchOrgs searches all organizations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrg

func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, error)

UpdateOrg updates organization

func (*Client) UpdateOrgAddress

func (a *Client) UpdateOrgAddress(params *UpdateOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgAddressOK, error)

UpdateOrgAddress updates organization s address

func (*Client) UpdateOrgQuota

func (a *Client) UpdateOrgQuota(params *UpdateOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgQuotaOK, error)

UpdateOrgQuota updates user quota

If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `orgs.quotas:write` and scope `org:id:1` (orgIDScope).

func (*Client) UpdateOrgUser

func (a *Client) UpdateOrgUser(params *UpdateOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgUserOK, error)
UpdateOrgUser updates users in organization

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `org.users.role:update` with scope `users:*`.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddOrgUser(params *AddOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrgUserOK, error)

	CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgOK, error)

	DeleteOrgByID(params *DeleteOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgByIDOK, error)

	GetOrgByID(params *GetOrgByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByIDOK, error)

	GetOrgByName(params *GetOrgByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgByNameOK, error)

	GetOrgQuota(params *GetOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgQuotaOK, error)

	GetOrgUsers(params *GetOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgUsersOK, error)

	RemoveOrgUser(params *RemoveOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrgUserOK, error)

	SearchOrgUsers(params *SearchOrgUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgUsersOK, error)

	SearchOrgs(params *SearchOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchOrgsOK, error)

	UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, error)

	UpdateOrgAddress(params *UpdateOrgAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgAddressOK, error)

	UpdateOrgQuota(params *UpdateOrgQuotaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgQuotaOK, error)

	UpdateOrgUser(params *UpdateOrgUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgUserOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new orgs API client.

type CreateOrgConflict

type CreateOrgConflict struct {
	Payload *models.ErrorResponseBody
}

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

ConflictError

func NewCreateOrgConflict

func NewCreateOrgConflict() *CreateOrgConflict

NewCreateOrgConflict creates a CreateOrgConflict with default headers values

func (*CreateOrgConflict) Error

func (o *CreateOrgConflict) Error() string

func (*CreateOrgConflict) GetPayload

func (o *CreateOrgConflict) GetPayload() *models.ErrorResponseBody

type CreateOrgForbidden

type CreateOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewCreateOrgForbidden

func NewCreateOrgForbidden() *CreateOrgForbidden

NewCreateOrgForbidden creates a CreateOrgForbidden with default headers values

func (*CreateOrgForbidden) Error

func (o *CreateOrgForbidden) Error() string

func (*CreateOrgForbidden) GetPayload

func (o *CreateOrgForbidden) GetPayload() *models.ErrorResponseBody

type CreateOrgInternalServerError

type CreateOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewCreateOrgInternalServerError

func NewCreateOrgInternalServerError() *CreateOrgInternalServerError

NewCreateOrgInternalServerError creates a CreateOrgInternalServerError with default headers values

func (*CreateOrgInternalServerError) Error

func (*CreateOrgInternalServerError) GetPayload

type CreateOrgOK

type CreateOrgOK struct {
	Payload *models.CreateOrgOKBody
}

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

(empty)

func NewCreateOrgOK

func NewCreateOrgOK() *CreateOrgOK

NewCreateOrgOK creates a CreateOrgOK with default headers values

func (*CreateOrgOK) Error

func (o *CreateOrgOK) Error() string

func (*CreateOrgOK) GetPayload

func (o *CreateOrgOK) GetPayload() *models.CreateOrgOKBody

type CreateOrgParams

type CreateOrgParams struct {

	// Body.
	Body *models.CreateOrgCommand

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

CreateOrgParams contains all the parameters to send to the API endpoint

for the create org operation.

Typically these are written to a http.Request.

func NewCreateOrgParams

func NewCreateOrgParams() *CreateOrgParams

NewCreateOrgParams creates a new CreateOrgParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateOrgParamsWithContext

func NewCreateOrgParamsWithContext(ctx context.Context) *CreateOrgParams

NewCreateOrgParamsWithContext creates a new CreateOrgParams object with the ability to set a context for a request.

func NewCreateOrgParamsWithHTTPClient

func NewCreateOrgParamsWithHTTPClient(client *http.Client) *CreateOrgParams

NewCreateOrgParamsWithHTTPClient creates a new CreateOrgParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrgParamsWithTimeout

func NewCreateOrgParamsWithTimeout(timeout time.Duration) *CreateOrgParams

NewCreateOrgParamsWithTimeout creates a new CreateOrgParams object with the ability to set a timeout on a request.

func (*CreateOrgParams) SetBody

func (o *CreateOrgParams) SetBody(body *models.CreateOrgCommand)

SetBody adds the body to the create org params

func (*CreateOrgParams) SetContext

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

SetContext adds the context to the create org params

func (*CreateOrgParams) SetDefaults

func (o *CreateOrgParams) SetDefaults()

SetDefaults hydrates default values in the create org params (not the query body).

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

func (*CreateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create org params

func (*CreateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the create org params

func (*CreateOrgParams) WithBody

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewCreateOrgUnauthorized

func NewCreateOrgUnauthorized() *CreateOrgUnauthorized

NewCreateOrgUnauthorized creates a CreateOrgUnauthorized with default headers values

func (*CreateOrgUnauthorized) Error

func (o *CreateOrgUnauthorized) Error() string

func (*CreateOrgUnauthorized) GetPayload

type DeleteOrgByIDBadRequest

type DeleteOrgByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewDeleteOrgByIDBadRequest

func NewDeleteOrgByIDBadRequest() *DeleteOrgByIDBadRequest

NewDeleteOrgByIDBadRequest creates a DeleteOrgByIDBadRequest with default headers values

func (*DeleteOrgByIDBadRequest) Error

func (o *DeleteOrgByIDBadRequest) Error() string

func (*DeleteOrgByIDBadRequest) GetPayload

type DeleteOrgByIDForbidden

type DeleteOrgByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewDeleteOrgByIDForbidden

func NewDeleteOrgByIDForbidden() *DeleteOrgByIDForbidden

NewDeleteOrgByIDForbidden creates a DeleteOrgByIDForbidden with default headers values

func (*DeleteOrgByIDForbidden) Error

func (o *DeleteOrgByIDForbidden) Error() string

func (*DeleteOrgByIDForbidden) GetPayload

type DeleteOrgByIDInternalServerError

type DeleteOrgByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteOrgByIDInternalServerError

func NewDeleteOrgByIDInternalServerError() *DeleteOrgByIDInternalServerError

NewDeleteOrgByIDInternalServerError creates a DeleteOrgByIDInternalServerError with default headers values

func (*DeleteOrgByIDInternalServerError) Error

func (*DeleteOrgByIDInternalServerError) GetPayload

type DeleteOrgByIDNotFound

type DeleteOrgByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewDeleteOrgByIDNotFound

func NewDeleteOrgByIDNotFound() *DeleteOrgByIDNotFound

NewDeleteOrgByIDNotFound creates a DeleteOrgByIDNotFound with default headers values

func (*DeleteOrgByIDNotFound) Error

func (o *DeleteOrgByIDNotFound) Error() string

func (*DeleteOrgByIDNotFound) GetPayload

type DeleteOrgByIDOK

type DeleteOrgByIDOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewDeleteOrgByIDOK

func NewDeleteOrgByIDOK() *DeleteOrgByIDOK

NewDeleteOrgByIDOK creates a DeleteOrgByIDOK with default headers values

func (*DeleteOrgByIDOK) Error

func (o *DeleteOrgByIDOK) Error() string

func (*DeleteOrgByIDOK) GetPayload

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

type DeleteOrgByIDParams

type DeleteOrgByIDParams struct {

	// OrgID.
	//
	// Format: int64
	OrgID int64

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

DeleteOrgByIDParams contains all the parameters to send to the API endpoint

for the delete org by ID operation.

Typically these are written to a http.Request.

func NewDeleteOrgByIDParams

func NewDeleteOrgByIDParams() *DeleteOrgByIDParams

NewDeleteOrgByIDParams creates a new DeleteOrgByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteOrgByIDParamsWithContext

func NewDeleteOrgByIDParamsWithContext(ctx context.Context) *DeleteOrgByIDParams

NewDeleteOrgByIDParamsWithContext creates a new DeleteOrgByIDParams object with the ability to set a context for a request.

func NewDeleteOrgByIDParamsWithHTTPClient

func NewDeleteOrgByIDParamsWithHTTPClient(client *http.Client) *DeleteOrgByIDParams

NewDeleteOrgByIDParamsWithHTTPClient creates a new DeleteOrgByIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrgByIDParamsWithTimeout

func NewDeleteOrgByIDParamsWithTimeout(timeout time.Duration) *DeleteOrgByIDParams

NewDeleteOrgByIDParamsWithTimeout creates a new DeleteOrgByIDParams object with the ability to set a timeout on a request.

func (*DeleteOrgByIDParams) SetContext

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

SetContext adds the context to the delete org by ID params

func (*DeleteOrgByIDParams) SetDefaults

func (o *DeleteOrgByIDParams) SetDefaults()

SetDefaults hydrates default values in the delete org by ID params (not the query body).

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

func (*DeleteOrgByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete org by ID params

func (*DeleteOrgByIDParams) SetOrgID

func (o *DeleteOrgByIDParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the delete org by ID params

func (*DeleteOrgByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete org by ID params

func (*DeleteOrgByIDParams) WithContext

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteOrgByIDUnauthorized

func NewDeleteOrgByIDUnauthorized() *DeleteOrgByIDUnauthorized

NewDeleteOrgByIDUnauthorized creates a DeleteOrgByIDUnauthorized with default headers values

func (*DeleteOrgByIDUnauthorized) Error

func (o *DeleteOrgByIDUnauthorized) Error() string

func (*DeleteOrgByIDUnauthorized) GetPayload

type GetOrgByIDForbidden

type GetOrgByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgByIDForbidden

func NewGetOrgByIDForbidden() *GetOrgByIDForbidden

NewGetOrgByIDForbidden creates a GetOrgByIDForbidden with default headers values

func (*GetOrgByIDForbidden) Error

func (o *GetOrgByIDForbidden) Error() string

func (*GetOrgByIDForbidden) GetPayload

func (o *GetOrgByIDForbidden) GetPayload() *models.ErrorResponseBody

type GetOrgByIDInternalServerError

type GetOrgByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgByIDInternalServerError

func NewGetOrgByIDInternalServerError() *GetOrgByIDInternalServerError

NewGetOrgByIDInternalServerError creates a GetOrgByIDInternalServerError with default headers values

func (*GetOrgByIDInternalServerError) Error

func (*GetOrgByIDInternalServerError) GetPayload

type GetOrgByIDOK

type GetOrgByIDOK struct {
	Payload *models.OrgDetailsDTO
}

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

(empty)

func NewGetOrgByIDOK

func NewGetOrgByIDOK() *GetOrgByIDOK

NewGetOrgByIDOK creates a GetOrgByIDOK with default headers values

func (*GetOrgByIDOK) Error

func (o *GetOrgByIDOK) Error() string

func (*GetOrgByIDOK) GetPayload

func (o *GetOrgByIDOK) GetPayload() *models.OrgDetailsDTO

type GetOrgByIDParams

type GetOrgByIDParams struct {

	// OrgID.
	//
	// Format: int64
	OrgID int64

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

GetOrgByIDParams contains all the parameters to send to the API endpoint

for the get org by ID operation.

Typically these are written to a http.Request.

func NewGetOrgByIDParams

func NewGetOrgByIDParams() *GetOrgByIDParams

NewGetOrgByIDParams creates a new GetOrgByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrgByIDParamsWithContext

func NewGetOrgByIDParamsWithContext(ctx context.Context) *GetOrgByIDParams

NewGetOrgByIDParamsWithContext creates a new GetOrgByIDParams object with the ability to set a context for a request.

func NewGetOrgByIDParamsWithHTTPClient

func NewGetOrgByIDParamsWithHTTPClient(client *http.Client) *GetOrgByIDParams

NewGetOrgByIDParamsWithHTTPClient creates a new GetOrgByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgByIDParamsWithTimeout

func NewGetOrgByIDParamsWithTimeout(timeout time.Duration) *GetOrgByIDParams

NewGetOrgByIDParamsWithTimeout creates a new GetOrgByIDParams object with the ability to set a timeout on a request.

func (*GetOrgByIDParams) SetContext

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

SetContext adds the context to the get org by ID params

func (*GetOrgByIDParams) SetDefaults

func (o *GetOrgByIDParams) SetDefaults()

SetDefaults hydrates default values in the get org by ID params (not the query body).

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

func (*GetOrgByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org by ID params

func (*GetOrgByIDParams) SetOrgID

func (o *GetOrgByIDParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the get org by ID params

func (*GetOrgByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get org by ID params

func (*GetOrgByIDParams) WithContext

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

WithContext adds the context to the get org by ID params

func (*GetOrgByIDParams) WithDefaults

func (o *GetOrgByIDParams) WithDefaults() *GetOrgByIDParams

WithDefaults hydrates default values in the get org by ID params (not the query body).

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

func (*GetOrgByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org by ID params

func (*GetOrgByIDParams) WithOrgID

func (o *GetOrgByIDParams) WithOrgID(orgID int64) *GetOrgByIDParams

WithOrgID adds the orgID to the get org by ID params

func (*GetOrgByIDParams) WithTimeout

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

WithTimeout adds the timeout to the get org by ID params

func (*GetOrgByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgByIDReader

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

GetOrgByIDReader is a Reader for the GetOrgByID structure.

func (*GetOrgByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgByIDUnauthorized

type GetOrgByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetOrgByIDUnauthorized

func NewGetOrgByIDUnauthorized() *GetOrgByIDUnauthorized

NewGetOrgByIDUnauthorized creates a GetOrgByIDUnauthorized with default headers values

func (*GetOrgByIDUnauthorized) Error

func (o *GetOrgByIDUnauthorized) Error() string

func (*GetOrgByIDUnauthorized) GetPayload

type GetOrgByNameForbidden

type GetOrgByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgByNameForbidden

func NewGetOrgByNameForbidden() *GetOrgByNameForbidden

NewGetOrgByNameForbidden creates a GetOrgByNameForbidden with default headers values

func (*GetOrgByNameForbidden) Error

func (o *GetOrgByNameForbidden) Error() string

func (*GetOrgByNameForbidden) GetPayload

type GetOrgByNameInternalServerError

type GetOrgByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgByNameInternalServerError

func NewGetOrgByNameInternalServerError() *GetOrgByNameInternalServerError

NewGetOrgByNameInternalServerError creates a GetOrgByNameInternalServerError with default headers values

func (*GetOrgByNameInternalServerError) Error

func (*GetOrgByNameInternalServerError) GetPayload

type GetOrgByNameOK

type GetOrgByNameOK struct {
	Payload *models.OrgDetailsDTO
}

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

(empty)

func NewGetOrgByNameOK

func NewGetOrgByNameOK() *GetOrgByNameOK

NewGetOrgByNameOK creates a GetOrgByNameOK with default headers values

func (*GetOrgByNameOK) Error

func (o *GetOrgByNameOK) Error() string

func (*GetOrgByNameOK) GetPayload

func (o *GetOrgByNameOK) GetPayload() *models.OrgDetailsDTO

type GetOrgByNameParams

type GetOrgByNameParams struct {

	// OrgName.
	OrgName string

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

GetOrgByNameParams contains all the parameters to send to the API endpoint

for the get org by name operation.

Typically these are written to a http.Request.

func NewGetOrgByNameParams

func NewGetOrgByNameParams() *GetOrgByNameParams

NewGetOrgByNameParams creates a new GetOrgByNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrgByNameParamsWithContext

func NewGetOrgByNameParamsWithContext(ctx context.Context) *GetOrgByNameParams

NewGetOrgByNameParamsWithContext creates a new GetOrgByNameParams object with the ability to set a context for a request.

func NewGetOrgByNameParamsWithHTTPClient

func NewGetOrgByNameParamsWithHTTPClient(client *http.Client) *GetOrgByNameParams

NewGetOrgByNameParamsWithHTTPClient creates a new GetOrgByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgByNameParamsWithTimeout

func NewGetOrgByNameParamsWithTimeout(timeout time.Duration) *GetOrgByNameParams

NewGetOrgByNameParamsWithTimeout creates a new GetOrgByNameParams object with the ability to set a timeout on a request.

func (*GetOrgByNameParams) SetContext

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

SetContext adds the context to the get org by name params

func (*GetOrgByNameParams) SetDefaults

func (o *GetOrgByNameParams) SetDefaults()

SetDefaults hydrates default values in the get org by name params (not the query body).

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

func (*GetOrgByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org by name params

func (*GetOrgByNameParams) SetOrgName

func (o *GetOrgByNameParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get org by name params

func (*GetOrgByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get org by name params

func (*GetOrgByNameParams) WithContext

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetOrgByNameUnauthorized

func NewGetOrgByNameUnauthorized() *GetOrgByNameUnauthorized

NewGetOrgByNameUnauthorized creates a GetOrgByNameUnauthorized with default headers values

func (*GetOrgByNameUnauthorized) Error

func (o *GetOrgByNameUnauthorized) Error() string

func (*GetOrgByNameUnauthorized) GetPayload

type GetOrgQuotaForbidden

type GetOrgQuotaForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgQuotaForbidden

func NewGetOrgQuotaForbidden() *GetOrgQuotaForbidden

NewGetOrgQuotaForbidden creates a GetOrgQuotaForbidden with default headers values

func (*GetOrgQuotaForbidden) Error

func (o *GetOrgQuotaForbidden) Error() string

func (*GetOrgQuotaForbidden) GetPayload

type GetOrgQuotaInternalServerError

type GetOrgQuotaInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgQuotaInternalServerError

func NewGetOrgQuotaInternalServerError() *GetOrgQuotaInternalServerError

NewGetOrgQuotaInternalServerError creates a GetOrgQuotaInternalServerError with default headers values

func (*GetOrgQuotaInternalServerError) Error

func (*GetOrgQuotaInternalServerError) GetPayload

type GetOrgQuotaNotFound

type GetOrgQuotaNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetOrgQuotaNotFound

func NewGetOrgQuotaNotFound() *GetOrgQuotaNotFound

NewGetOrgQuotaNotFound creates a GetOrgQuotaNotFound with default headers values

func (*GetOrgQuotaNotFound) Error

func (o *GetOrgQuotaNotFound) Error() string

func (*GetOrgQuotaNotFound) GetPayload

func (o *GetOrgQuotaNotFound) GetPayload() *models.ErrorResponseBody

type GetOrgQuotaOK

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

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

(empty)

func NewGetOrgQuotaOK

func NewGetOrgQuotaOK() *GetOrgQuotaOK

NewGetOrgQuotaOK creates a GetOrgQuotaOK with default headers values

func (*GetOrgQuotaOK) Error

func (o *GetOrgQuotaOK) Error() string

func (*GetOrgQuotaOK) GetPayload

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

type GetOrgQuotaParams

type GetOrgQuotaParams struct {

	// OrgID.
	//
	// Format: int64
	OrgID int64

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

GetOrgQuotaParams contains all the parameters to send to the API endpoint

for the get org quota operation.

Typically these are written to a http.Request.

func NewGetOrgQuotaParams

func NewGetOrgQuotaParams() *GetOrgQuotaParams

NewGetOrgQuotaParams creates a new GetOrgQuotaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrgQuotaParamsWithContext

func NewGetOrgQuotaParamsWithContext(ctx context.Context) *GetOrgQuotaParams

NewGetOrgQuotaParamsWithContext creates a new GetOrgQuotaParams object with the ability to set a context for a request.

func NewGetOrgQuotaParamsWithHTTPClient

func NewGetOrgQuotaParamsWithHTTPClient(client *http.Client) *GetOrgQuotaParams

NewGetOrgQuotaParamsWithHTTPClient creates a new GetOrgQuotaParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgQuotaParamsWithTimeout

func NewGetOrgQuotaParamsWithTimeout(timeout time.Duration) *GetOrgQuotaParams

NewGetOrgQuotaParamsWithTimeout creates a new GetOrgQuotaParams object with the ability to set a timeout on a request.

func (*GetOrgQuotaParams) SetContext

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

SetContext adds the context to the get org quota params

func (*GetOrgQuotaParams) SetDefaults

func (o *GetOrgQuotaParams) SetDefaults()

SetDefaults hydrates default values in the get org quota params (not the query body).

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

func (*GetOrgQuotaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org quota params

func (*GetOrgQuotaParams) SetOrgID

func (o *GetOrgQuotaParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the get org quota params

func (*GetOrgQuotaParams) SetTimeout

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

SetTimeout adds the timeout to the get org quota params

func (*GetOrgQuotaParams) WithContext

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

WithContext adds the context to the get org quota params

func (*GetOrgQuotaParams) WithDefaults

func (o *GetOrgQuotaParams) WithDefaults() *GetOrgQuotaParams

WithDefaults hydrates default values in the get org quota params (not the query body).

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

func (*GetOrgQuotaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org quota params

func (*GetOrgQuotaParams) WithOrgID

func (o *GetOrgQuotaParams) WithOrgID(orgID int64) *GetOrgQuotaParams

WithOrgID adds the orgID to the get org quota params

func (*GetOrgQuotaParams) WithTimeout

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

WithTimeout adds the timeout to the get org quota params

func (*GetOrgQuotaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgQuotaReader

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

GetOrgQuotaReader is a Reader for the GetOrgQuota structure.

func (*GetOrgQuotaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgQuotaUnauthorized

type GetOrgQuotaUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetOrgQuotaUnauthorized

func NewGetOrgQuotaUnauthorized() *GetOrgQuotaUnauthorized

NewGetOrgQuotaUnauthorized creates a GetOrgQuotaUnauthorized with default headers values

func (*GetOrgQuotaUnauthorized) Error

func (o *GetOrgQuotaUnauthorized) Error() string

func (*GetOrgQuotaUnauthorized) GetPayload

type GetOrgUsersForbidden

type GetOrgUsersForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgUsersForbidden

func NewGetOrgUsersForbidden() *GetOrgUsersForbidden

NewGetOrgUsersForbidden creates a GetOrgUsersForbidden with default headers values

func (*GetOrgUsersForbidden) Error

func (o *GetOrgUsersForbidden) Error() string

func (*GetOrgUsersForbidden) GetPayload

type GetOrgUsersInternalServerError

type GetOrgUsersInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgUsersInternalServerError

func NewGetOrgUsersInternalServerError() *GetOrgUsersInternalServerError

NewGetOrgUsersInternalServerError creates a GetOrgUsersInternalServerError with default headers values

func (*GetOrgUsersInternalServerError) Error

func (*GetOrgUsersInternalServerError) GetPayload

type GetOrgUsersOK

type GetOrgUsersOK struct {
	Payload []*models.OrgUserDTO
}

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

(empty)

func NewGetOrgUsersOK

func NewGetOrgUsersOK() *GetOrgUsersOK

NewGetOrgUsersOK creates a GetOrgUsersOK with default headers values

func (*GetOrgUsersOK) Error

func (o *GetOrgUsersOK) Error() string

func (*GetOrgUsersOK) GetPayload

func (o *GetOrgUsersOK) GetPayload() []*models.OrgUserDTO

type GetOrgUsersParams

type GetOrgUsersParams struct {

	// OrgID.
	//
	// Format: int64
	OrgID int64

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

GetOrgUsersParams contains all the parameters to send to the API endpoint

for the get org users operation.

Typically these are written to a http.Request.

func NewGetOrgUsersParams

func NewGetOrgUsersParams() *GetOrgUsersParams

NewGetOrgUsersParams creates a new GetOrgUsersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrgUsersParamsWithContext

func NewGetOrgUsersParamsWithContext(ctx context.Context) *GetOrgUsersParams

NewGetOrgUsersParamsWithContext creates a new GetOrgUsersParams object with the ability to set a context for a request.

func NewGetOrgUsersParamsWithHTTPClient

func NewGetOrgUsersParamsWithHTTPClient(client *http.Client) *GetOrgUsersParams

NewGetOrgUsersParamsWithHTTPClient creates a new GetOrgUsersParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgUsersParamsWithTimeout

func NewGetOrgUsersParamsWithTimeout(timeout time.Duration) *GetOrgUsersParams

NewGetOrgUsersParamsWithTimeout creates a new GetOrgUsersParams object with the ability to set a timeout on a request.

func (*GetOrgUsersParams) SetContext

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

SetContext adds the context to the get org users params

func (*GetOrgUsersParams) SetDefaults

func (o *GetOrgUsersParams) SetDefaults()

SetDefaults hydrates default values in the get org users params (not the query body).

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

func (*GetOrgUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org users params

func (*GetOrgUsersParams) SetOrgID

func (o *GetOrgUsersParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the get org users params

func (*GetOrgUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get org users params

func (*GetOrgUsersParams) WithContext

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

WithContext adds the context to the get org users params

func (*GetOrgUsersParams) WithDefaults

func (o *GetOrgUsersParams) WithDefaults() *GetOrgUsersParams

WithDefaults hydrates default values in the get org users params (not the query body).

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

func (*GetOrgUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org users params

func (*GetOrgUsersParams) WithOrgID

func (o *GetOrgUsersParams) WithOrgID(orgID int64) *GetOrgUsersParams

WithOrgID adds the orgID to the get org users params

func (*GetOrgUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get org users params

func (*GetOrgUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgUsersReader

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

GetOrgUsersReader is a Reader for the GetOrgUsers structure.

func (*GetOrgUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgUsersUnauthorized

type GetOrgUsersUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetOrgUsersUnauthorized

func NewGetOrgUsersUnauthorized() *GetOrgUsersUnauthorized

NewGetOrgUsersUnauthorized creates a GetOrgUsersUnauthorized with default headers values

func (*GetOrgUsersUnauthorized) Error

func (o *GetOrgUsersUnauthorized) Error() string

func (*GetOrgUsersUnauthorized) GetPayload

type RemoveOrgUserBadRequest

type RemoveOrgUserBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRemoveOrgUserBadRequest

func NewRemoveOrgUserBadRequest() *RemoveOrgUserBadRequest

NewRemoveOrgUserBadRequest creates a RemoveOrgUserBadRequest with default headers values

func (*RemoveOrgUserBadRequest) Error

func (o *RemoveOrgUserBadRequest) Error() string

func (*RemoveOrgUserBadRequest) GetPayload

type RemoveOrgUserForbidden

type RemoveOrgUserForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRemoveOrgUserForbidden

func NewRemoveOrgUserForbidden() *RemoveOrgUserForbidden

NewRemoveOrgUserForbidden creates a RemoveOrgUserForbidden with default headers values

func (*RemoveOrgUserForbidden) Error

func (o *RemoveOrgUserForbidden) Error() string

func (*RemoveOrgUserForbidden) GetPayload

type RemoveOrgUserInternalServerError

type RemoveOrgUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewRemoveOrgUserInternalServerError

func NewRemoveOrgUserInternalServerError() *RemoveOrgUserInternalServerError

NewRemoveOrgUserInternalServerError creates a RemoveOrgUserInternalServerError with default headers values

func (*RemoveOrgUserInternalServerError) Error

func (*RemoveOrgUserInternalServerError) GetPayload

type RemoveOrgUserOK

type RemoveOrgUserOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewRemoveOrgUserOK

func NewRemoveOrgUserOK() *RemoveOrgUserOK

NewRemoveOrgUserOK creates a RemoveOrgUserOK with default headers values

func (*RemoveOrgUserOK) Error

func (o *RemoveOrgUserOK) Error() string

func (*RemoveOrgUserOK) GetPayload

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

type RemoveOrgUserParams

type RemoveOrgUserParams struct {

	// OrgID.
	//
	// Format: int64
	OrgID int64

	// UserID.
	//
	// Format: int64
	UserID int64

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

RemoveOrgUserParams contains all the parameters to send to the API endpoint

for the remove org user operation.

Typically these are written to a http.Request.

func NewRemoveOrgUserParams

func NewRemoveOrgUserParams() *RemoveOrgUserParams

NewRemoveOrgUserParams creates a new RemoveOrgUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveOrgUserParamsWithContext

func NewRemoveOrgUserParamsWithContext(ctx context.Context) *RemoveOrgUserParams

NewRemoveOrgUserParamsWithContext creates a new RemoveOrgUserParams object with the ability to set a context for a request.

func NewRemoveOrgUserParamsWithHTTPClient

func NewRemoveOrgUserParamsWithHTTPClient(client *http.Client) *RemoveOrgUserParams

NewRemoveOrgUserParamsWithHTTPClient creates a new RemoveOrgUserParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveOrgUserParamsWithTimeout

func NewRemoveOrgUserParamsWithTimeout(timeout time.Duration) *RemoveOrgUserParams

NewRemoveOrgUserParamsWithTimeout creates a new RemoveOrgUserParams object with the ability to set a timeout on a request.

func (*RemoveOrgUserParams) SetContext

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

SetContext adds the context to the remove org user params

func (*RemoveOrgUserParams) SetDefaults

func (o *RemoveOrgUserParams) SetDefaults()

SetDefaults hydrates default values in the remove org user params (not the query body).

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

func (*RemoveOrgUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove org user params

func (*RemoveOrgUserParams) SetOrgID

func (o *RemoveOrgUserParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the remove org user params

func (*RemoveOrgUserParams) SetTimeout

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

SetTimeout adds the timeout to the remove org user params

func (*RemoveOrgUserParams) SetUserID

func (o *RemoveOrgUserParams) SetUserID(userID int64)

SetUserID adds the userId to the remove org user params

func (*RemoveOrgUserParams) WithContext

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewRemoveOrgUserUnauthorized

func NewRemoveOrgUserUnauthorized() *RemoveOrgUserUnauthorized

NewRemoveOrgUserUnauthorized creates a RemoveOrgUserUnauthorized with default headers values

func (*RemoveOrgUserUnauthorized) Error

func (o *RemoveOrgUserUnauthorized) Error() string

func (*RemoveOrgUserUnauthorized) GetPayload

type SearchOrgUsersForbidden

type SearchOrgUsersForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewSearchOrgUsersForbidden

func NewSearchOrgUsersForbidden() *SearchOrgUsersForbidden

NewSearchOrgUsersForbidden creates a SearchOrgUsersForbidden with default headers values

func (*SearchOrgUsersForbidden) Error

func (o *SearchOrgUsersForbidden) Error() string

func (*SearchOrgUsersForbidden) GetPayload

type SearchOrgUsersInternalServerError

type SearchOrgUsersInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewSearchOrgUsersInternalServerError

func NewSearchOrgUsersInternalServerError() *SearchOrgUsersInternalServerError

NewSearchOrgUsersInternalServerError creates a SearchOrgUsersInternalServerError with default headers values

func (*SearchOrgUsersInternalServerError) Error

func (*SearchOrgUsersInternalServerError) GetPayload

type SearchOrgUsersOK

type SearchOrgUsersOK struct {
	Payload *models.SearchOrgUsersQueryResult
}

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

(empty)

func NewSearchOrgUsersOK

func NewSearchOrgUsersOK() *SearchOrgUsersOK

NewSearchOrgUsersOK creates a SearchOrgUsersOK with default headers values

func (*SearchOrgUsersOK) Error

func (o *SearchOrgUsersOK) Error() string

func (*SearchOrgUsersOK) GetPayload

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

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewSearchOrgUsersUnauthorized

func NewSearchOrgUsersUnauthorized() *SearchOrgUsersUnauthorized

NewSearchOrgUsersUnauthorized creates a SearchOrgUsersUnauthorized with default headers values

func (*SearchOrgUsersUnauthorized) Error

func (*SearchOrgUsersUnauthorized) GetPayload

type SearchOrgsConflict

type SearchOrgsConflict struct {
	Payload *models.ErrorResponseBody
}

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

ConflictError

func NewSearchOrgsConflict

func NewSearchOrgsConflict() *SearchOrgsConflict

NewSearchOrgsConflict creates a SearchOrgsConflict with default headers values

func (*SearchOrgsConflict) Error

func (o *SearchOrgsConflict) Error() string

func (*SearchOrgsConflict) GetPayload

func (o *SearchOrgsConflict) GetPayload() *models.ErrorResponseBody

type SearchOrgsForbidden

type SearchOrgsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewSearchOrgsForbidden

func NewSearchOrgsForbidden() *SearchOrgsForbidden

NewSearchOrgsForbidden creates a SearchOrgsForbidden with default headers values

func (*SearchOrgsForbidden) Error

func (o *SearchOrgsForbidden) Error() string

func (*SearchOrgsForbidden) GetPayload

func (o *SearchOrgsForbidden) GetPayload() *models.ErrorResponseBody

type SearchOrgsInternalServerError

type SearchOrgsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewSearchOrgsInternalServerError

func NewSearchOrgsInternalServerError() *SearchOrgsInternalServerError

NewSearchOrgsInternalServerError creates a SearchOrgsInternalServerError with default headers values

func (*SearchOrgsInternalServerError) Error

func (*SearchOrgsInternalServerError) GetPayload

type SearchOrgsOK

type SearchOrgsOK struct {
	Payload []*models.OrgDTO
}

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

(empty)

func NewSearchOrgsOK

func NewSearchOrgsOK() *SearchOrgsOK

NewSearchOrgsOK creates a SearchOrgsOK with default headers values

func (*SearchOrgsOK) Error

func (o *SearchOrgsOK) Error() string

func (*SearchOrgsOK) GetPayload

func (o *SearchOrgsOK) GetPayload() []*models.OrgDTO

type SearchOrgsParams

type SearchOrgsParams struct {

	// Name.
	Name *string

	// Page.
	//
	// Format: int64
	// Default: 1
	Page *int64

	/* Perpage.

	     Number of items per page
	The totalCount field in the response can be used for pagination list E.g. if totalCount is equal to 100 teams and the perpage parameter is set to 10 then there are 10 pages of teams.

	     Format: int64
	     Default: 1000
	*/
	Perpage *int64

	/* Query.

	   If set it will return results where the query value is contained in the name field. Query values with spaces need to be URL encoded.
	*/
	Query *string

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

SearchOrgsParams contains all the parameters to send to the API endpoint

for the search orgs operation.

Typically these are written to a http.Request.

func NewSearchOrgsParams

func NewSearchOrgsParams() *SearchOrgsParams

NewSearchOrgsParams creates a new SearchOrgsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchOrgsParamsWithContext

func NewSearchOrgsParamsWithContext(ctx context.Context) *SearchOrgsParams

NewSearchOrgsParamsWithContext creates a new SearchOrgsParams object with the ability to set a context for a request.

func NewSearchOrgsParamsWithHTTPClient

func NewSearchOrgsParamsWithHTTPClient(client *http.Client) *SearchOrgsParams

NewSearchOrgsParamsWithHTTPClient creates a new SearchOrgsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchOrgsParamsWithTimeout

func NewSearchOrgsParamsWithTimeout(timeout time.Duration) *SearchOrgsParams

NewSearchOrgsParamsWithTimeout creates a new SearchOrgsParams object with the ability to set a timeout on a request.

func (*SearchOrgsParams) SetContext

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

SetContext adds the context to the search orgs params

func (*SearchOrgsParams) SetDefaults

func (o *SearchOrgsParams) SetDefaults()

SetDefaults hydrates default values in the search orgs params (not the query body).

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

func (*SearchOrgsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search orgs params

func (*SearchOrgsParams) SetName

func (o *SearchOrgsParams) SetName(name *string)

SetName adds the name to the search orgs params

func (*SearchOrgsParams) SetPage

func (o *SearchOrgsParams) SetPage(page *int64)

SetPage adds the page to the search orgs params

func (*SearchOrgsParams) SetPerpage

func (o *SearchOrgsParams) SetPerpage(perpage *int64)

SetPerpage adds the perpage to the search orgs params

func (*SearchOrgsParams) SetQuery

func (o *SearchOrgsParams) SetQuery(query *string)

SetQuery adds the query to the search orgs params

func (*SearchOrgsParams) SetTimeout

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

SetTimeout adds the timeout to the search orgs params

func (*SearchOrgsParams) WithContext

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

WithContext adds the context to the search orgs params

func (*SearchOrgsParams) WithDefaults

func (o *SearchOrgsParams) WithDefaults() *SearchOrgsParams

WithDefaults hydrates default values in the search orgs params (not the query body).

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

func (*SearchOrgsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search orgs params

func (*SearchOrgsParams) WithName

func (o *SearchOrgsParams) WithName(name *string) *SearchOrgsParams

WithName adds the name to the search orgs params

func (*SearchOrgsParams) WithPage

func (o *SearchOrgsParams) WithPage(page *int64) *SearchOrgsParams

WithPage adds the page to the search orgs params

func (*SearchOrgsParams) WithPerpage

func (o *SearchOrgsParams) WithPerpage(perpage *int64) *SearchOrgsParams

WithPerpage adds the perpage to the search orgs params

func (*SearchOrgsParams) WithQuery

func (o *SearchOrgsParams) WithQuery(query *string) *SearchOrgsParams

WithQuery adds the query to the search orgs params

func (*SearchOrgsParams) WithTimeout

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

WithTimeout adds the timeout to the search orgs params

func (*SearchOrgsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchOrgsReader

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

SearchOrgsReader is a Reader for the SearchOrgs structure.

func (*SearchOrgsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchOrgsUnauthorized

type SearchOrgsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewSearchOrgsUnauthorized

func NewSearchOrgsUnauthorized() *SearchOrgsUnauthorized

NewSearchOrgsUnauthorized creates a SearchOrgsUnauthorized with default headers values

func (*SearchOrgsUnauthorized) Error

func (o *SearchOrgsUnauthorized) Error() string

func (*SearchOrgsUnauthorized) GetPayload

type UpdateOrgAddressBadRequest

type UpdateOrgAddressBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgAddressBadRequest

func NewUpdateOrgAddressBadRequest() *UpdateOrgAddressBadRequest

NewUpdateOrgAddressBadRequest creates a UpdateOrgAddressBadRequest with default headers values

func (*UpdateOrgAddressBadRequest) Error

func (*UpdateOrgAddressBadRequest) GetPayload

type UpdateOrgAddressForbidden

type UpdateOrgAddressForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgAddressForbidden

func NewUpdateOrgAddressForbidden() *UpdateOrgAddressForbidden

NewUpdateOrgAddressForbidden creates a UpdateOrgAddressForbidden with default headers values

func (*UpdateOrgAddressForbidden) Error

func (o *UpdateOrgAddressForbidden) Error() string

func (*UpdateOrgAddressForbidden) GetPayload

type UpdateOrgAddressInternalServerError

type UpdateOrgAddressInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgAddressInternalServerError

func NewUpdateOrgAddressInternalServerError() *UpdateOrgAddressInternalServerError

NewUpdateOrgAddressInternalServerError creates a UpdateOrgAddressInternalServerError with default headers values

func (*UpdateOrgAddressInternalServerError) Error

func (*UpdateOrgAddressInternalServerError) GetPayload

type UpdateOrgAddressOK

type UpdateOrgAddressOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgAddressOK

func NewUpdateOrgAddressOK() *UpdateOrgAddressOK

NewUpdateOrgAddressOK creates a UpdateOrgAddressOK with default headers values

func (*UpdateOrgAddressOK) Error

func (o *UpdateOrgAddressOK) Error() string

func (*UpdateOrgAddressOK) GetPayload

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

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

WithBody adds the body to the update org address params

func (*UpdateOrgAddressParams) WithContext

WithContext adds the context to the update org address params

func (*UpdateOrgAddressParams) WithDefaults

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

WithOrgID adds the orgID to the update org address params

func (*UpdateOrgAddressParams) WithTimeout

WithTimeout adds the timeout to the update org address params

func (*UpdateOrgAddressParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateOrgAddressUnauthorized

func NewUpdateOrgAddressUnauthorized() *UpdateOrgAddressUnauthorized

NewUpdateOrgAddressUnauthorized creates a UpdateOrgAddressUnauthorized with default headers values

func (*UpdateOrgAddressUnauthorized) Error

func (*UpdateOrgAddressUnauthorized) GetPayload

type UpdateOrgBadRequest

type UpdateOrgBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgBadRequest

func NewUpdateOrgBadRequest() *UpdateOrgBadRequest

NewUpdateOrgBadRequest creates a UpdateOrgBadRequest with default headers values

func (*UpdateOrgBadRequest) Error

func (o *UpdateOrgBadRequest) Error() string

func (*UpdateOrgBadRequest) GetPayload

func (o *UpdateOrgBadRequest) GetPayload() *models.ErrorResponseBody

type UpdateOrgForbidden

type UpdateOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgForbidden

func NewUpdateOrgForbidden() *UpdateOrgForbidden

NewUpdateOrgForbidden creates a UpdateOrgForbidden with default headers values

func (*UpdateOrgForbidden) Error

func (o *UpdateOrgForbidden) Error() string

func (*UpdateOrgForbidden) GetPayload

func (o *UpdateOrgForbidden) GetPayload() *models.ErrorResponseBody

type UpdateOrgInternalServerError

type UpdateOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgInternalServerError

func NewUpdateOrgInternalServerError() *UpdateOrgInternalServerError

NewUpdateOrgInternalServerError creates a UpdateOrgInternalServerError with default headers values

func (*UpdateOrgInternalServerError) Error

func (*UpdateOrgInternalServerError) GetPayload

type UpdateOrgOK

type UpdateOrgOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgOK

func NewUpdateOrgOK() *UpdateOrgOK

NewUpdateOrgOK creates a UpdateOrgOK with default headers values

func (*UpdateOrgOK) Error

func (o *UpdateOrgOK) Error() string

func (*UpdateOrgOK) GetPayload

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

type UpdateOrgParams

type UpdateOrgParams struct {

	// Body.
	Body *models.UpdateOrgForm

	// OrgID.
	//
	// Format: int64
	OrgID int64

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

UpdateOrgParams contains all the parameters to send to the API endpoint

for the update org operation.

Typically these are written to a http.Request.

func NewUpdateOrgParams

func NewUpdateOrgParams() *UpdateOrgParams

NewUpdateOrgParams creates a new UpdateOrgParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateOrgParamsWithContext

func NewUpdateOrgParamsWithContext(ctx context.Context) *UpdateOrgParams

NewUpdateOrgParamsWithContext creates a new UpdateOrgParams object with the ability to set a context for a request.

func NewUpdateOrgParamsWithHTTPClient

func NewUpdateOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgParams

NewUpdateOrgParamsWithHTTPClient creates a new UpdateOrgParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgParamsWithTimeout

func NewUpdateOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgParams

NewUpdateOrgParamsWithTimeout creates a new UpdateOrgParams object with the ability to set a timeout on a request.

func (*UpdateOrgParams) SetBody

func (o *UpdateOrgParams) SetBody(body *models.UpdateOrgForm)

SetBody adds the body to the update org params

func (*UpdateOrgParams) SetContext

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

SetContext adds the context to the update org params

func (*UpdateOrgParams) SetDefaults

func (o *UpdateOrgParams) SetDefaults()

SetDefaults hydrates default values in the update org params (not the query body).

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

func (*UpdateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) SetOrgID

func (o *UpdateOrgParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the update org params

func (*UpdateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the update org params

func (*UpdateOrgParams) WithBody

WithBody adds the body to the update org params

func (*UpdateOrgParams) WithContext

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

WithContext adds the context to the update org params

func (*UpdateOrgParams) WithDefaults

func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams

WithDefaults hydrates default values in the update org params (not the query body).

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

func (*UpdateOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) WithOrgID

func (o *UpdateOrgParams) WithOrgID(orgID int64) *UpdateOrgParams

WithOrgID adds the orgID to the update org params

func (*UpdateOrgParams) WithTimeout

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

WithTimeout adds the timeout to the update org params

func (*UpdateOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateOrgQuotaForbidden

type UpdateOrgQuotaForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgQuotaForbidden

func NewUpdateOrgQuotaForbidden() *UpdateOrgQuotaForbidden

NewUpdateOrgQuotaForbidden creates a UpdateOrgQuotaForbidden with default headers values

func (*UpdateOrgQuotaForbidden) Error

func (o *UpdateOrgQuotaForbidden) Error() string

func (*UpdateOrgQuotaForbidden) GetPayload

type UpdateOrgQuotaInternalServerError

type UpdateOrgQuotaInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgQuotaInternalServerError

func NewUpdateOrgQuotaInternalServerError() *UpdateOrgQuotaInternalServerError

NewUpdateOrgQuotaInternalServerError creates a UpdateOrgQuotaInternalServerError with default headers values

func (*UpdateOrgQuotaInternalServerError) Error

func (*UpdateOrgQuotaInternalServerError) GetPayload

type UpdateOrgQuotaNotFound

type UpdateOrgQuotaNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewUpdateOrgQuotaNotFound

func NewUpdateOrgQuotaNotFound() *UpdateOrgQuotaNotFound

NewUpdateOrgQuotaNotFound creates a UpdateOrgQuotaNotFound with default headers values

func (*UpdateOrgQuotaNotFound) Error

func (o *UpdateOrgQuotaNotFound) Error() string

func (*UpdateOrgQuotaNotFound) GetPayload

type UpdateOrgQuotaOK

type UpdateOrgQuotaOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgQuotaOK

func NewUpdateOrgQuotaOK() *UpdateOrgQuotaOK

NewUpdateOrgQuotaOK creates a UpdateOrgQuotaOK with default headers values

func (*UpdateOrgQuotaOK) Error

func (o *UpdateOrgQuotaOK) Error() string

func (*UpdateOrgQuotaOK) GetPayload

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

type UpdateOrgQuotaParams

type UpdateOrgQuotaParams struct {

	// Body.
	Body *models.UpdateQuotaCmd

	// OrgID.
	//
	// Format: int64
	OrgID int64

	// QuotaTarget.
	QuotaTarget string

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

UpdateOrgQuotaParams contains all the parameters to send to the API endpoint

for the update org quota operation.

Typically these are written to a http.Request.

func NewUpdateOrgQuotaParams

func NewUpdateOrgQuotaParams() *UpdateOrgQuotaParams

NewUpdateOrgQuotaParams creates a new UpdateOrgQuotaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateOrgQuotaParamsWithContext

func NewUpdateOrgQuotaParamsWithContext(ctx context.Context) *UpdateOrgQuotaParams

NewUpdateOrgQuotaParamsWithContext creates a new UpdateOrgQuotaParams object with the ability to set a context for a request.

func NewUpdateOrgQuotaParamsWithHTTPClient

func NewUpdateOrgQuotaParamsWithHTTPClient(client *http.Client) *UpdateOrgQuotaParams

NewUpdateOrgQuotaParamsWithHTTPClient creates a new UpdateOrgQuotaParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgQuotaParamsWithTimeout

func NewUpdateOrgQuotaParamsWithTimeout(timeout time.Duration) *UpdateOrgQuotaParams

NewUpdateOrgQuotaParamsWithTimeout creates a new UpdateOrgQuotaParams object with the ability to set a timeout on a request.

func (*UpdateOrgQuotaParams) SetBody

func (o *UpdateOrgQuotaParams) SetBody(body *models.UpdateQuotaCmd)

SetBody adds the body to the update org quota params

func (*UpdateOrgQuotaParams) SetContext

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

SetContext adds the context to the update org quota params

func (*UpdateOrgQuotaParams) SetDefaults

func (o *UpdateOrgQuotaParams) SetDefaults()

SetDefaults hydrates default values in the update org quota params (not the query body).

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

func (*UpdateOrgQuotaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org quota params

func (*UpdateOrgQuotaParams) SetOrgID

func (o *UpdateOrgQuotaParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the update org quota params

func (*UpdateOrgQuotaParams) SetQuotaTarget

func (o *UpdateOrgQuotaParams) SetQuotaTarget(quotaTarget string)

SetQuotaTarget adds the quotaTarget to the update org quota params

func (*UpdateOrgQuotaParams) SetTimeout

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

SetTimeout adds the timeout to the update org quota params

func (*UpdateOrgQuotaParams) WithBody

WithBody adds the body to the update org quota params

func (*UpdateOrgQuotaParams) WithContext

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateOrgQuotaUnauthorized

func NewUpdateOrgQuotaUnauthorized() *UpdateOrgQuotaUnauthorized

NewUpdateOrgQuotaUnauthorized creates a UpdateOrgQuotaUnauthorized with default headers values

func (*UpdateOrgQuotaUnauthorized) Error

func (*UpdateOrgQuotaUnauthorized) GetPayload

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateOrgUnauthorized

func NewUpdateOrgUnauthorized() *UpdateOrgUnauthorized

NewUpdateOrgUnauthorized creates a UpdateOrgUnauthorized with default headers values

func (*UpdateOrgUnauthorized) Error

func (o *UpdateOrgUnauthorized) Error() string

func (*UpdateOrgUnauthorized) GetPayload

type UpdateOrgUserBadRequest

type UpdateOrgUserBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgUserBadRequest

func NewUpdateOrgUserBadRequest() *UpdateOrgUserBadRequest

NewUpdateOrgUserBadRequest creates a UpdateOrgUserBadRequest with default headers values

func (*UpdateOrgUserBadRequest) Error

func (o *UpdateOrgUserBadRequest) Error() string

func (*UpdateOrgUserBadRequest) GetPayload

type UpdateOrgUserForbidden

type UpdateOrgUserForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgUserForbidden

func NewUpdateOrgUserForbidden() *UpdateOrgUserForbidden

NewUpdateOrgUserForbidden creates a UpdateOrgUserForbidden with default headers values

func (*UpdateOrgUserForbidden) Error

func (o *UpdateOrgUserForbidden) Error() string

func (*UpdateOrgUserForbidden) GetPayload

type UpdateOrgUserInternalServerError

type UpdateOrgUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgUserInternalServerError

func NewUpdateOrgUserInternalServerError() *UpdateOrgUserInternalServerError

NewUpdateOrgUserInternalServerError creates a UpdateOrgUserInternalServerError with default headers values

func (*UpdateOrgUserInternalServerError) Error

func (*UpdateOrgUserInternalServerError) GetPayload

type UpdateOrgUserOK

type UpdateOrgUserOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgUserOK

func NewUpdateOrgUserOK() *UpdateOrgUserOK

NewUpdateOrgUserOK creates a UpdateOrgUserOK with default headers values

func (*UpdateOrgUserOK) Error

func (o *UpdateOrgUserOK) Error() string

func (*UpdateOrgUserOK) GetPayload

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

type UpdateOrgUserParams

type UpdateOrgUserParams struct {

	// Body.
	Body *models.UpdateOrgUserCommand

	// OrgID.
	//
	// Format: int64
	OrgID int64

	// UserID.
	//
	// Format: int64
	UserID int64

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

UpdateOrgUserParams contains all the parameters to send to the API endpoint

for the update org user operation.

Typically these are written to a http.Request.

func NewUpdateOrgUserParams

func NewUpdateOrgUserParams() *UpdateOrgUserParams

NewUpdateOrgUserParams creates a new UpdateOrgUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateOrgUserParamsWithContext

func NewUpdateOrgUserParamsWithContext(ctx context.Context) *UpdateOrgUserParams

NewUpdateOrgUserParamsWithContext creates a new UpdateOrgUserParams object with the ability to set a context for a request.

func NewUpdateOrgUserParamsWithHTTPClient

func NewUpdateOrgUserParamsWithHTTPClient(client *http.Client) *UpdateOrgUserParams

NewUpdateOrgUserParamsWithHTTPClient creates a new UpdateOrgUserParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgUserParamsWithTimeout

func NewUpdateOrgUserParamsWithTimeout(timeout time.Duration) *UpdateOrgUserParams

NewUpdateOrgUserParamsWithTimeout creates a new UpdateOrgUserParams object with the ability to set a timeout on a request.

func (*UpdateOrgUserParams) SetBody

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

WithBody adds the body to the update org user params

func (*UpdateOrgUserParams) WithContext

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 {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateOrgUserUnauthorized

func NewUpdateOrgUserUnauthorized() *UpdateOrgUserUnauthorized

NewUpdateOrgUserUnauthorized creates a UpdateOrgUserUnauthorized with default headers values

func (*UpdateOrgUserUnauthorized) Error

func (o *UpdateOrgUserUnauthorized) Error() string

func (*UpdateOrgUserUnauthorized) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL