orgs

package
v0.0.0-...-59d2d35 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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) Code

func (o *AddOrgUserForbidden) Code() int

Code gets the status code for the add org user forbidden response

func (*AddOrgUserForbidden) Error

func (o *AddOrgUserForbidden) Error() string

func (*AddOrgUserForbidden) GetPayload

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

func (*AddOrgUserForbidden) IsClientError

func (o *AddOrgUserForbidden) IsClientError() bool

IsClientError returns true when this add org user forbidden response has a 4xx status code

func (*AddOrgUserForbidden) IsCode

func (o *AddOrgUserForbidden) IsCode(code int) bool

IsCode returns true when this add org user forbidden response a status code equal to that given

func (*AddOrgUserForbidden) IsRedirect

func (o *AddOrgUserForbidden) IsRedirect() bool

IsRedirect returns true when this add org user forbidden response has a 3xx status code

func (*AddOrgUserForbidden) IsServerError

func (o *AddOrgUserForbidden) IsServerError() bool

IsServerError returns true when this add org user forbidden response has a 5xx status code

func (*AddOrgUserForbidden) IsSuccess

func (o *AddOrgUserForbidden) IsSuccess() bool

IsSuccess returns true when this add org user forbidden response has a 2xx status code

func (*AddOrgUserForbidden) String

func (o *AddOrgUserForbidden) String() string

type AddOrgUserInternalServerError

type AddOrgUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewAddOrgUserInternalServerError

func NewAddOrgUserInternalServerError() *AddOrgUserInternalServerError

NewAddOrgUserInternalServerError creates a AddOrgUserInternalServerError with default headers values

func (*AddOrgUserInternalServerError) Code

Code gets the status code for the add org user internal server error response

func (*AddOrgUserInternalServerError) Error

func (*AddOrgUserInternalServerError) GetPayload

func (*AddOrgUserInternalServerError) IsClientError

func (o *AddOrgUserInternalServerError) IsClientError() bool

IsClientError returns true when this add org user internal server error response has a 4xx status code

func (*AddOrgUserInternalServerError) IsCode

func (o *AddOrgUserInternalServerError) IsCode(code int) bool

IsCode returns true when this add org user internal server error response a status code equal to that given

func (*AddOrgUserInternalServerError) IsRedirect

func (o *AddOrgUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this add org user internal server error response has a 3xx status code

func (*AddOrgUserInternalServerError) IsServerError

func (o *AddOrgUserInternalServerError) IsServerError() bool

IsServerError returns true when this add org user internal server error response has a 5xx status code

func (*AddOrgUserInternalServerError) IsSuccess

func (o *AddOrgUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this add org user internal server error response has a 2xx status code

func (*AddOrgUserInternalServerError) String

type AddOrgUserOK

type AddOrgUserOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewAddOrgUserOK

func NewAddOrgUserOK() *AddOrgUserOK

NewAddOrgUserOK creates a AddOrgUserOK with default headers values

func (*AddOrgUserOK) Code

func (o *AddOrgUserOK) Code() int

Code gets the status code for the add org user Ok response

func (*AddOrgUserOK) Error

func (o *AddOrgUserOK) Error() string

func (*AddOrgUserOK) GetPayload

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

func (*AddOrgUserOK) IsClientError

func (o *AddOrgUserOK) IsClientError() bool

IsClientError returns true when this add org user Ok response has a 4xx status code

func (*AddOrgUserOK) IsCode

func (o *AddOrgUserOK) IsCode(code int) bool

IsCode returns true when this add org user Ok response a status code equal to that given

func (*AddOrgUserOK) IsRedirect

func (o *AddOrgUserOK) IsRedirect() bool

IsRedirect returns true when this add org user Ok response has a 3xx status code

func (*AddOrgUserOK) IsServerError

func (o *AddOrgUserOK) IsServerError() bool

IsServerError returns true when this add org user Ok response has a 5xx status code

func (*AddOrgUserOK) IsSuccess

func (o *AddOrgUserOK) IsSuccess() bool

IsSuccess returns true when this add org user Ok response has a 2xx status code

func (*AddOrgUserOK) String

func (o *AddOrgUserOK) String() string

type AddOrgUserParams

type AddOrgUserParams struct {

	// Body.
	Body *models.AddOrgUserCommand

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

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

AddOrgUserParams contains all the parameters to send to the API endpoint

for the add org user operation.

Typically these are written to a http.Request.

func NewAddOrgUserParams

func NewAddOrgUserParams() *AddOrgUserParams

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

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

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

func NewAddOrgUserParamsWithContext

func NewAddOrgUserParamsWithContext(ctx context.Context) *AddOrgUserParams

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

func NewAddOrgUserParamsWithHTTPClient

func NewAddOrgUserParamsWithHTTPClient(client *http.Client) *AddOrgUserParams

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

func NewAddOrgUserParamsWithTimeout

func NewAddOrgUserParamsWithTimeout(timeout time.Duration) *AddOrgUserParams

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

func (*AddOrgUserParams) SetBody

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

SetBody adds the body to the add org user params

func (*AddOrgUserParams) SetContext

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

SetContext adds the context to the add org user params

func (*AddOrgUserParams) SetDefaults

func (o *AddOrgUserParams) SetDefaults()

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

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

func (*AddOrgUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add org user params

func (*AddOrgUserParams) SetOrgID

func (o *AddOrgUserParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the add org user params

func (*AddOrgUserParams) SetTimeout

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

SetTimeout adds the timeout to the add org user params

func (*AddOrgUserParams) WithBody

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) Code

func (o *AddOrgUserUnauthorized) Code() int

Code gets the status code for the add org user unauthorized response

func (*AddOrgUserUnauthorized) Error

func (o *AddOrgUserUnauthorized) Error() string

func (*AddOrgUserUnauthorized) GetPayload

func (*AddOrgUserUnauthorized) IsClientError

func (o *AddOrgUserUnauthorized) IsClientError() bool

IsClientError returns true when this add org user unauthorized response has a 4xx status code

func (*AddOrgUserUnauthorized) IsCode

func (o *AddOrgUserUnauthorized) IsCode(code int) bool

IsCode returns true when this add org user unauthorized response a status code equal to that given

func (*AddOrgUserUnauthorized) IsRedirect

func (o *AddOrgUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this add org user unauthorized response has a 3xx status code

func (*AddOrgUserUnauthorized) IsServerError

func (o *AddOrgUserUnauthorized) IsServerError() bool

IsServerError returns true when this add org user unauthorized response has a 5xx status code

func (*AddOrgUserUnauthorized) IsSuccess

func (o *AddOrgUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this add org user unauthorized response has a 2xx status code

func (*AddOrgUserUnauthorized) String

func (o *AddOrgUserUnauthorized) String() string

type Client

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

Client for orgs API

func (*Client) AddOrgUser

func (a *Client) AddOrgUser(orgID int64, body *models.AddOrgUserCommand, opts ...ClientOption) (*AddOrgUserOK, error)

AddOrgUser adds a new user to the current organization

Adds a global user to the current organization.

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

func (*Client) AddOrgUserWithParams

func (a *Client) AddOrgUserWithParams(params *AddOrgUserParams, opts ...ClientOption) (*AddOrgUserOK, error)

func (*Client) CreateOrg

func (a *Client) CreateOrg(body *models.CreateOrgCommand, opts ...ClientOption) (*CreateOrgOK, error)

CreateOrg creates organization

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

func (*Client) CreateOrgWithParams

func (a *Client) CreateOrgWithParams(params *CreateOrgParams, opts ...ClientOption) (*CreateOrgOK, error)

func (*Client) DeleteOrgByID

func (a *Client) DeleteOrgByID(orgID int64, opts ...ClientOption) (*DeleteOrgByIDOK, error)

DeleteOrgByID deletes organization

func (*Client) DeleteOrgByIDWithParams

func (a *Client) DeleteOrgByIDWithParams(params *DeleteOrgByIDParams, opts ...ClientOption) (*DeleteOrgByIDOK, error)

func (*Client) GetOrgByID

func (a *Client) GetOrgByID(orgID int64, opts ...ClientOption) (*GetOrgByIDOK, error)

GetOrgByID gets organization by ID

func (*Client) GetOrgByIDWithParams

func (a *Client) GetOrgByIDWithParams(params *GetOrgByIDParams, opts ...ClientOption) (*GetOrgByIDOK, error)

func (*Client) GetOrgByName

func (a *Client) GetOrgByName(orgName string, opts ...ClientOption) (*GetOrgByNameOK, error)

GetOrgByName gets organization by ID

func (*Client) GetOrgByNameWithParams

func (a *Client) GetOrgByNameWithParams(params *GetOrgByNameParams, opts ...ClientOption) (*GetOrgByNameOK, error)

func (*Client) GetOrgQuota

func (a *Client) GetOrgQuota(orgID int64, opts ...ClientOption) (*GetOrgQuotaOK, error)

GetOrgQuota fetches organization quota

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

func (*Client) GetOrgQuotaWithParams

func (a *Client) GetOrgQuotaWithParams(params *GetOrgQuotaParams, opts ...ClientOption) (*GetOrgQuotaOK, error)

func (*Client) GetOrgUsers

func (a *Client) GetOrgUsers(orgID int64, opts ...ClientOption) (*GetOrgUsersOK, error)

GetOrgUsers gets users in organization

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

func (*Client) GetOrgUsersWithParams

func (a *Client) GetOrgUsersWithParams(params *GetOrgUsersParams, opts ...ClientOption) (*GetOrgUsersOK, error)

func (*Client) RemoveOrgUser

func (a *Client) RemoveOrgUser(userID int64, orgID int64, opts ...ClientOption) (*RemoveOrgUserOK, error)

RemoveOrgUser deletes user in current organization

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

func (*Client) RemoveOrgUserWithParams

func (a *Client) RemoveOrgUserWithParams(params *RemoveOrgUserParams, opts ...ClientOption) (*RemoveOrgUserOK, error)

func (*Client) SearchOrgUsers

func (a *Client) SearchOrgUsers(orgID int64, opts ...ClientOption) (*SearchOrgUsersOK, error)

SearchOrgUsers searches users in organization

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

func (*Client) SearchOrgUsersWithParams

func (a *Client) SearchOrgUsersWithParams(params *SearchOrgUsersParams, opts ...ClientOption) (*SearchOrgUsersOK, error)

func (*Client) SearchOrgs

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrg

func (a *Client) UpdateOrg(orgID int64, body *models.UpdateOrgForm, opts ...ClientOption) (*UpdateOrgOK, error)

UpdateOrg updates organization

func (*Client) UpdateOrgAddress

func (a *Client) UpdateOrgAddress(orgID int64, body *models.UpdateOrgAddressForm, opts ...ClientOption) (*UpdateOrgAddressOK, error)

UpdateOrgAddress updates organization s address

func (*Client) UpdateOrgAddressWithParams

func (a *Client) UpdateOrgAddressWithParams(params *UpdateOrgAddressParams, opts ...ClientOption) (*UpdateOrgAddressOK, error)

func (*Client) UpdateOrgQuota

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

func (*Client) UpdateOrgUser

func (a *Client) UpdateOrgUser(params *UpdateOrgUserParams, opts ...ClientOption) (*UpdateOrgUserOK, error)

func (*Client) UpdateOrgWithParams

func (a *Client) UpdateOrgWithParams(params *UpdateOrgParams, opts ...ClientOption) (*UpdateOrgOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	AddOrgUser(orgID int64, body *models.AddOrgUserCommand, opts ...ClientOption) (*AddOrgUserOK, error)
	AddOrgUserWithParams(params *AddOrgUserParams, opts ...ClientOption) (*AddOrgUserOK, error)

	CreateOrg(body *models.CreateOrgCommand, opts ...ClientOption) (*CreateOrgOK, error)
	CreateOrgWithParams(params *CreateOrgParams, opts ...ClientOption) (*CreateOrgOK, error)

	DeleteOrgByID(orgID int64, opts ...ClientOption) (*DeleteOrgByIDOK, error)
	DeleteOrgByIDWithParams(params *DeleteOrgByIDParams, opts ...ClientOption) (*DeleteOrgByIDOK, error)

	GetOrgByID(orgID int64, opts ...ClientOption) (*GetOrgByIDOK, error)
	GetOrgByIDWithParams(params *GetOrgByIDParams, opts ...ClientOption) (*GetOrgByIDOK, error)

	GetOrgByName(orgName string, opts ...ClientOption) (*GetOrgByNameOK, error)
	GetOrgByNameWithParams(params *GetOrgByNameParams, opts ...ClientOption) (*GetOrgByNameOK, error)

	GetOrgQuota(orgID int64, opts ...ClientOption) (*GetOrgQuotaOK, error)
	GetOrgQuotaWithParams(params *GetOrgQuotaParams, opts ...ClientOption) (*GetOrgQuotaOK, error)

	GetOrgUsers(orgID int64, opts ...ClientOption) (*GetOrgUsersOK, error)
	GetOrgUsersWithParams(params *GetOrgUsersParams, opts ...ClientOption) (*GetOrgUsersOK, error)

	RemoveOrgUser(userID int64, orgID int64, opts ...ClientOption) (*RemoveOrgUserOK, error)
	RemoveOrgUserWithParams(params *RemoveOrgUserParams, opts ...ClientOption) (*RemoveOrgUserOK, error)

	SearchOrgUsers(orgID int64, opts ...ClientOption) (*SearchOrgUsersOK, error)
	SearchOrgUsersWithParams(params *SearchOrgUsersParams, opts ...ClientOption) (*SearchOrgUsersOK, error)

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

	UpdateOrg(orgID int64, body *models.UpdateOrgForm, opts ...ClientOption) (*UpdateOrgOK, error)
	UpdateOrgWithParams(params *UpdateOrgParams, opts ...ClientOption) (*UpdateOrgOK, error)

	UpdateOrgAddress(orgID int64, body *models.UpdateOrgAddressForm, opts ...ClientOption) (*UpdateOrgAddressOK, error)
	UpdateOrgAddressWithParams(params *UpdateOrgAddressParams, opts ...ClientOption) (*UpdateOrgAddressOK, error)

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

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new orgs API client.

type CreateOrgConflict

type CreateOrgConflict struct {
	Payload *models.ErrorResponseBody
}

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

ConflictError

func NewCreateOrgConflict

func NewCreateOrgConflict() *CreateOrgConflict

NewCreateOrgConflict creates a CreateOrgConflict with default headers values

func (*CreateOrgConflict) Code

func (o *CreateOrgConflict) Code() int

Code gets the status code for the create org conflict response

func (*CreateOrgConflict) Error

func (o *CreateOrgConflict) Error() string

func (*CreateOrgConflict) GetPayload

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

func (*CreateOrgConflict) IsClientError

func (o *CreateOrgConflict) IsClientError() bool

IsClientError returns true when this create org conflict response has a 4xx status code

func (*CreateOrgConflict) IsCode

func (o *CreateOrgConflict) IsCode(code int) bool

IsCode returns true when this create org conflict response a status code equal to that given

func (*CreateOrgConflict) IsRedirect

func (o *CreateOrgConflict) IsRedirect() bool

IsRedirect returns true when this create org conflict response has a 3xx status code

func (*CreateOrgConflict) IsServerError

func (o *CreateOrgConflict) IsServerError() bool

IsServerError returns true when this create org conflict response has a 5xx status code

func (*CreateOrgConflict) IsSuccess

func (o *CreateOrgConflict) IsSuccess() bool

IsSuccess returns true when this create org conflict response has a 2xx status code

func (*CreateOrgConflict) String

func (o *CreateOrgConflict) String() string

type CreateOrgForbidden

type CreateOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewCreateOrgForbidden

func NewCreateOrgForbidden() *CreateOrgForbidden

NewCreateOrgForbidden creates a CreateOrgForbidden with default headers values

func (*CreateOrgForbidden) Code

func (o *CreateOrgForbidden) Code() int

Code gets the status code for the create org forbidden response

func (*CreateOrgForbidden) Error

func (o *CreateOrgForbidden) Error() string

func (*CreateOrgForbidden) GetPayload

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

func (*CreateOrgForbidden) IsClientError

func (o *CreateOrgForbidden) IsClientError() bool

IsClientError returns true when this create org forbidden response has a 4xx status code

func (*CreateOrgForbidden) IsCode

func (o *CreateOrgForbidden) IsCode(code int) bool

IsCode returns true when this create org forbidden response a status code equal to that given

func (*CreateOrgForbidden) IsRedirect

func (o *CreateOrgForbidden) IsRedirect() bool

IsRedirect returns true when this create org forbidden response has a 3xx status code

func (*CreateOrgForbidden) IsServerError

func (o *CreateOrgForbidden) IsServerError() bool

IsServerError returns true when this create org forbidden response has a 5xx status code

func (*CreateOrgForbidden) IsSuccess

func (o *CreateOrgForbidden) IsSuccess() bool

IsSuccess returns true when this create org forbidden response has a 2xx status code

func (*CreateOrgForbidden) String

func (o *CreateOrgForbidden) String() string

type CreateOrgInternalServerError

type CreateOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewCreateOrgInternalServerError

func NewCreateOrgInternalServerError() *CreateOrgInternalServerError

NewCreateOrgInternalServerError creates a CreateOrgInternalServerError with default headers values

func (*CreateOrgInternalServerError) Code

Code gets the status code for the create org internal server error response

func (*CreateOrgInternalServerError) Error

func (*CreateOrgInternalServerError) GetPayload

func (*CreateOrgInternalServerError) IsClientError

func (o *CreateOrgInternalServerError) IsClientError() bool

IsClientError returns true when this create org internal server error response has a 4xx status code

func (*CreateOrgInternalServerError) IsCode

func (o *CreateOrgInternalServerError) IsCode(code int) bool

IsCode returns true when this create org internal server error response a status code equal to that given

func (*CreateOrgInternalServerError) IsRedirect

func (o *CreateOrgInternalServerError) IsRedirect() bool

IsRedirect returns true when this create org internal server error response has a 3xx status code

func (*CreateOrgInternalServerError) IsServerError

func (o *CreateOrgInternalServerError) IsServerError() bool

IsServerError returns true when this create org internal server error response has a 5xx status code

func (*CreateOrgInternalServerError) IsSuccess

func (o *CreateOrgInternalServerError) IsSuccess() bool

IsSuccess returns true when this create org internal server error response has a 2xx status code

func (*CreateOrgInternalServerError) String

type CreateOrgOK

type CreateOrgOK struct {
	Payload *models.CreateOrgOKBody
}

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

(empty)

func NewCreateOrgOK

func NewCreateOrgOK() *CreateOrgOK

NewCreateOrgOK creates a CreateOrgOK with default headers values

func (*CreateOrgOK) Code

func (o *CreateOrgOK) Code() int

Code gets the status code for the create org Ok response

func (*CreateOrgOK) Error

func (o *CreateOrgOK) Error() string

func (*CreateOrgOK) GetPayload

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

func (*CreateOrgOK) IsClientError

func (o *CreateOrgOK) IsClientError() bool

IsClientError returns true when this create org Ok response has a 4xx status code

func (*CreateOrgOK) IsCode

func (o *CreateOrgOK) IsCode(code int) bool

IsCode returns true when this create org Ok response a status code equal to that given

func (*CreateOrgOK) IsRedirect

func (o *CreateOrgOK) IsRedirect() bool

IsRedirect returns true when this create org Ok response has a 3xx status code

func (*CreateOrgOK) IsServerError

func (o *CreateOrgOK) IsServerError() bool

IsServerError returns true when this create org Ok response has a 5xx status code

func (*CreateOrgOK) IsSuccess

func (o *CreateOrgOK) IsSuccess() bool

IsSuccess returns true when this create org Ok response has a 2xx status code

func (*CreateOrgOK) String

func (o *CreateOrgOK) String() string

type CreateOrgParams

type CreateOrgParams struct {

	// Body.
	Body *models.CreateOrgCommand

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

CreateOrgParams contains all the parameters to send to the API endpoint

for the create org operation.

Typically these are written to a http.Request.

func NewCreateOrgParams

func NewCreateOrgParams() *CreateOrgParams

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

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

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

func NewCreateOrgParamsWithContext

func NewCreateOrgParamsWithContext(ctx context.Context) *CreateOrgParams

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

func NewCreateOrgParamsWithHTTPClient

func NewCreateOrgParamsWithHTTPClient(client *http.Client) *CreateOrgParams

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

func NewCreateOrgParamsWithTimeout

func NewCreateOrgParamsWithTimeout(timeout time.Duration) *CreateOrgParams

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

func (*CreateOrgParams) SetBody

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

SetBody adds the body to the create org params

func (*CreateOrgParams) SetContext

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

SetContext adds the context to the create org params

func (*CreateOrgParams) SetDefaults

func (o *CreateOrgParams) SetDefaults()

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

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

func (*CreateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create org params

func (*CreateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the create org params

func (*CreateOrgParams) WithBody

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) Code

func (o *CreateOrgUnauthorized) Code() int

Code gets the status code for the create org unauthorized response

func (*CreateOrgUnauthorized) Error

func (o *CreateOrgUnauthorized) Error() string

func (*CreateOrgUnauthorized) GetPayload

func (*CreateOrgUnauthorized) IsClientError

func (o *CreateOrgUnauthorized) IsClientError() bool

IsClientError returns true when this create org unauthorized response has a 4xx status code

func (*CreateOrgUnauthorized) IsCode

func (o *CreateOrgUnauthorized) IsCode(code int) bool

IsCode returns true when this create org unauthorized response a status code equal to that given

func (*CreateOrgUnauthorized) IsRedirect

func (o *CreateOrgUnauthorized) IsRedirect() bool

IsRedirect returns true when this create org unauthorized response has a 3xx status code

func (*CreateOrgUnauthorized) IsServerError

func (o *CreateOrgUnauthorized) IsServerError() bool

IsServerError returns true when this create org unauthorized response has a 5xx status code

func (*CreateOrgUnauthorized) IsSuccess

func (o *CreateOrgUnauthorized) IsSuccess() bool

IsSuccess returns true when this create org unauthorized response has a 2xx status code

func (*CreateOrgUnauthorized) String

func (o *CreateOrgUnauthorized) String() string

type DeleteOrgByIDBadRequest

type DeleteOrgByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewDeleteOrgByIDBadRequest

func NewDeleteOrgByIDBadRequest() *DeleteOrgByIDBadRequest

NewDeleteOrgByIDBadRequest creates a DeleteOrgByIDBadRequest with default headers values

func (*DeleteOrgByIDBadRequest) Code

func (o *DeleteOrgByIDBadRequest) Code() int

Code gets the status code for the delete org by Id bad request response

func (*DeleteOrgByIDBadRequest) Error

func (o *DeleteOrgByIDBadRequest) Error() string

func (*DeleteOrgByIDBadRequest) GetPayload

func (*DeleteOrgByIDBadRequest) IsClientError

func (o *DeleteOrgByIDBadRequest) IsClientError() bool

IsClientError returns true when this delete org by Id bad request response has a 4xx status code

func (*DeleteOrgByIDBadRequest) IsCode

func (o *DeleteOrgByIDBadRequest) IsCode(code int) bool

IsCode returns true when this delete org by Id bad request response a status code equal to that given

func (*DeleteOrgByIDBadRequest) IsRedirect

func (o *DeleteOrgByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this delete org by Id bad request response has a 3xx status code

func (*DeleteOrgByIDBadRequest) IsServerError

func (o *DeleteOrgByIDBadRequest) IsServerError() bool

IsServerError returns true when this delete org by Id bad request response has a 5xx status code

func (*DeleteOrgByIDBadRequest) IsSuccess

func (o *DeleteOrgByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this delete org by Id bad request response has a 2xx status code

func (*DeleteOrgByIDBadRequest) String

func (o *DeleteOrgByIDBadRequest) String() string

type DeleteOrgByIDForbidden

type DeleteOrgByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewDeleteOrgByIDForbidden

func NewDeleteOrgByIDForbidden() *DeleteOrgByIDForbidden

NewDeleteOrgByIDForbidden creates a DeleteOrgByIDForbidden with default headers values

func (*DeleteOrgByIDForbidden) Code

func (o *DeleteOrgByIDForbidden) Code() int

Code gets the status code for the delete org by Id forbidden response

func (*DeleteOrgByIDForbidden) Error

func (o *DeleteOrgByIDForbidden) Error() string

func (*DeleteOrgByIDForbidden) GetPayload

func (*DeleteOrgByIDForbidden) IsClientError

func (o *DeleteOrgByIDForbidden) IsClientError() bool

IsClientError returns true when this delete org by Id forbidden response has a 4xx status code

func (*DeleteOrgByIDForbidden) IsCode

func (o *DeleteOrgByIDForbidden) IsCode(code int) bool

IsCode returns true when this delete org by Id forbidden response a status code equal to that given

func (*DeleteOrgByIDForbidden) IsRedirect

func (o *DeleteOrgByIDForbidden) IsRedirect() bool

IsRedirect returns true when this delete org by Id forbidden response has a 3xx status code

func (*DeleteOrgByIDForbidden) IsServerError

func (o *DeleteOrgByIDForbidden) IsServerError() bool

IsServerError returns true when this delete org by Id forbidden response has a 5xx status code

func (*DeleteOrgByIDForbidden) IsSuccess

func (o *DeleteOrgByIDForbidden) IsSuccess() bool

IsSuccess returns true when this delete org by Id forbidden response has a 2xx status code

func (*DeleteOrgByIDForbidden) String

func (o *DeleteOrgByIDForbidden) String() string

type DeleteOrgByIDInternalServerError

type DeleteOrgByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteOrgByIDInternalServerError

func NewDeleteOrgByIDInternalServerError() *DeleteOrgByIDInternalServerError

NewDeleteOrgByIDInternalServerError creates a DeleteOrgByIDInternalServerError with default headers values

func (*DeleteOrgByIDInternalServerError) Code

Code gets the status code for the delete org by Id internal server error response

func (*DeleteOrgByIDInternalServerError) Error

func (*DeleteOrgByIDInternalServerError) GetPayload

func (*DeleteOrgByIDInternalServerError) IsClientError

func (o *DeleteOrgByIDInternalServerError) IsClientError() bool

IsClientError returns true when this delete org by Id internal server error response has a 4xx status code

func (*DeleteOrgByIDInternalServerError) IsCode

func (o *DeleteOrgByIDInternalServerError) IsCode(code int) bool

IsCode returns true when this delete org by Id internal server error response a status code equal to that given

func (*DeleteOrgByIDInternalServerError) IsRedirect

func (o *DeleteOrgByIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete org by Id internal server error response has a 3xx status code

func (*DeleteOrgByIDInternalServerError) IsServerError

func (o *DeleteOrgByIDInternalServerError) IsServerError() bool

IsServerError returns true when this delete org by Id internal server error response has a 5xx status code

func (*DeleteOrgByIDInternalServerError) IsSuccess

func (o *DeleteOrgByIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete org by Id internal server error response has a 2xx status code

func (*DeleteOrgByIDInternalServerError) String

type DeleteOrgByIDNotFound

type DeleteOrgByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewDeleteOrgByIDNotFound

func NewDeleteOrgByIDNotFound() *DeleteOrgByIDNotFound

NewDeleteOrgByIDNotFound creates a DeleteOrgByIDNotFound with default headers values

func (*DeleteOrgByIDNotFound) Code

func (o *DeleteOrgByIDNotFound) Code() int

Code gets the status code for the delete org by Id not found response

func (*DeleteOrgByIDNotFound) Error

func (o *DeleteOrgByIDNotFound) Error() string

func (*DeleteOrgByIDNotFound) GetPayload

func (*DeleteOrgByIDNotFound) IsClientError

func (o *DeleteOrgByIDNotFound) IsClientError() bool

IsClientError returns true when this delete org by Id not found response has a 4xx status code

func (*DeleteOrgByIDNotFound) IsCode

func (o *DeleteOrgByIDNotFound) IsCode(code int) bool

IsCode returns true when this delete org by Id not found response a status code equal to that given

func (*DeleteOrgByIDNotFound) IsRedirect

func (o *DeleteOrgByIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete org by Id not found response has a 3xx status code

func (*DeleteOrgByIDNotFound) IsServerError

func (o *DeleteOrgByIDNotFound) IsServerError() bool

IsServerError returns true when this delete org by Id not found response has a 5xx status code

func (*DeleteOrgByIDNotFound) IsSuccess

func (o *DeleteOrgByIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete org by Id not found response has a 2xx status code

func (*DeleteOrgByIDNotFound) String

func (o *DeleteOrgByIDNotFound) String() string

type DeleteOrgByIDOK

type DeleteOrgByIDOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewDeleteOrgByIDOK

func NewDeleteOrgByIDOK() *DeleteOrgByIDOK

NewDeleteOrgByIDOK creates a DeleteOrgByIDOK with default headers values

func (*DeleteOrgByIDOK) Code

func (o *DeleteOrgByIDOK) Code() int

Code gets the status code for the delete org by Id Ok response

func (*DeleteOrgByIDOK) Error

func (o *DeleteOrgByIDOK) Error() string

func (*DeleteOrgByIDOK) GetPayload

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

func (*DeleteOrgByIDOK) IsClientError

func (o *DeleteOrgByIDOK) IsClientError() bool

IsClientError returns true when this delete org by Id Ok response has a 4xx status code

func (*DeleteOrgByIDOK) IsCode

func (o *DeleteOrgByIDOK) IsCode(code int) bool

IsCode returns true when this delete org by Id Ok response a status code equal to that given

func (*DeleteOrgByIDOK) IsRedirect

func (o *DeleteOrgByIDOK) IsRedirect() bool

IsRedirect returns true when this delete org by Id Ok response has a 3xx status code

func (*DeleteOrgByIDOK) IsServerError

func (o *DeleteOrgByIDOK) IsServerError() bool

IsServerError returns true when this delete org by Id Ok response has a 5xx status code

func (*DeleteOrgByIDOK) IsSuccess

func (o *DeleteOrgByIDOK) IsSuccess() bool

IsSuccess returns true when this delete org by Id Ok response has a 2xx status code

func (*DeleteOrgByIDOK) String

func (o *DeleteOrgByIDOK) String() string

type DeleteOrgByIDParams

type DeleteOrgByIDParams struct {

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

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

DeleteOrgByIDParams contains all the parameters to send to the API endpoint

for the delete org by ID operation.

Typically these are written to a http.Request.

func NewDeleteOrgByIDParams

func NewDeleteOrgByIDParams() *DeleteOrgByIDParams

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

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

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

func NewDeleteOrgByIDParamsWithContext

func NewDeleteOrgByIDParamsWithContext(ctx context.Context) *DeleteOrgByIDParams

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

func NewDeleteOrgByIDParamsWithHTTPClient

func NewDeleteOrgByIDParamsWithHTTPClient(client *http.Client) *DeleteOrgByIDParams

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

func NewDeleteOrgByIDParamsWithTimeout

func NewDeleteOrgByIDParamsWithTimeout(timeout time.Duration) *DeleteOrgByIDParams

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

func (*DeleteOrgByIDParams) SetContext

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

SetContext adds the context to the delete org by ID params

func (*DeleteOrgByIDParams) SetDefaults

func (o *DeleteOrgByIDParams) SetDefaults()

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

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

func (*DeleteOrgByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete org by ID params

func (*DeleteOrgByIDParams) SetOrgID

func (o *DeleteOrgByIDParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the delete org by ID params

func (*DeleteOrgByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete org by ID params

func (*DeleteOrgByIDParams) WithContext

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) Code

func (o *DeleteOrgByIDUnauthorized) Code() int

Code gets the status code for the delete org by Id unauthorized response

func (*DeleteOrgByIDUnauthorized) Error

func (o *DeleteOrgByIDUnauthorized) Error() string

func (*DeleteOrgByIDUnauthorized) GetPayload

func (*DeleteOrgByIDUnauthorized) IsClientError

func (o *DeleteOrgByIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete org by Id unauthorized response has a 4xx status code

func (*DeleteOrgByIDUnauthorized) IsCode

func (o *DeleteOrgByIDUnauthorized) IsCode(code int) bool

IsCode returns true when this delete org by Id unauthorized response a status code equal to that given

func (*DeleteOrgByIDUnauthorized) IsRedirect

func (o *DeleteOrgByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete org by Id unauthorized response has a 3xx status code

func (*DeleteOrgByIDUnauthorized) IsServerError

func (o *DeleteOrgByIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete org by Id unauthorized response has a 5xx status code

func (*DeleteOrgByIDUnauthorized) IsSuccess

func (o *DeleteOrgByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete org by Id unauthorized response has a 2xx status code

func (*DeleteOrgByIDUnauthorized) String

func (o *DeleteOrgByIDUnauthorized) String() string

type GetOrgByIDForbidden

type GetOrgByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgByIDForbidden

func NewGetOrgByIDForbidden() *GetOrgByIDForbidden

NewGetOrgByIDForbidden creates a GetOrgByIDForbidden with default headers values

func (*GetOrgByIDForbidden) Code

func (o *GetOrgByIDForbidden) Code() int

Code gets the status code for the get org by Id forbidden response

func (*GetOrgByIDForbidden) Error

func (o *GetOrgByIDForbidden) Error() string

func (*GetOrgByIDForbidden) GetPayload

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

func (*GetOrgByIDForbidden) IsClientError

func (o *GetOrgByIDForbidden) IsClientError() bool

IsClientError returns true when this get org by Id forbidden response has a 4xx status code

func (*GetOrgByIDForbidden) IsCode

func (o *GetOrgByIDForbidden) IsCode(code int) bool

IsCode returns true when this get org by Id forbidden response a status code equal to that given

func (*GetOrgByIDForbidden) IsRedirect

func (o *GetOrgByIDForbidden) IsRedirect() bool

IsRedirect returns true when this get org by Id forbidden response has a 3xx status code

func (*GetOrgByIDForbidden) IsServerError

func (o *GetOrgByIDForbidden) IsServerError() bool

IsServerError returns true when this get org by Id forbidden response has a 5xx status code

func (*GetOrgByIDForbidden) IsSuccess

func (o *GetOrgByIDForbidden) IsSuccess() bool

IsSuccess returns true when this get org by Id forbidden response has a 2xx status code

func (*GetOrgByIDForbidden) String

func (o *GetOrgByIDForbidden) String() string

type GetOrgByIDInternalServerError

type GetOrgByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgByIDInternalServerError

func NewGetOrgByIDInternalServerError() *GetOrgByIDInternalServerError

NewGetOrgByIDInternalServerError creates a GetOrgByIDInternalServerError with default headers values

func (*GetOrgByIDInternalServerError) Code

Code gets the status code for the get org by Id internal server error response

func (*GetOrgByIDInternalServerError) Error

func (*GetOrgByIDInternalServerError) GetPayload

func (*GetOrgByIDInternalServerError) IsClientError

func (o *GetOrgByIDInternalServerError) IsClientError() bool

IsClientError returns true when this get org by Id internal server error response has a 4xx status code

func (*GetOrgByIDInternalServerError) IsCode

func (o *GetOrgByIDInternalServerError) IsCode(code int) bool

IsCode returns true when this get org by Id internal server error response a status code equal to that given

func (*GetOrgByIDInternalServerError) IsRedirect

func (o *GetOrgByIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this get org by Id internal server error response has a 3xx status code

func (*GetOrgByIDInternalServerError) IsServerError

func (o *GetOrgByIDInternalServerError) IsServerError() bool

IsServerError returns true when this get org by Id internal server error response has a 5xx status code

func (*GetOrgByIDInternalServerError) IsSuccess

func (o *GetOrgByIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this get org by Id internal server error response has a 2xx status code

func (*GetOrgByIDInternalServerError) String

type GetOrgByIDOK

type GetOrgByIDOK struct {
	Payload *models.OrgDetailsDTO
}

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

(empty)

func NewGetOrgByIDOK

func NewGetOrgByIDOK() *GetOrgByIDOK

NewGetOrgByIDOK creates a GetOrgByIDOK with default headers values

func (*GetOrgByIDOK) Code

func (o *GetOrgByIDOK) Code() int

Code gets the status code for the get org by Id Ok response

func (*GetOrgByIDOK) Error

func (o *GetOrgByIDOK) Error() string

func (*GetOrgByIDOK) GetPayload

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

func (*GetOrgByIDOK) IsClientError

func (o *GetOrgByIDOK) IsClientError() bool

IsClientError returns true when this get org by Id Ok response has a 4xx status code

func (*GetOrgByIDOK) IsCode

func (o *GetOrgByIDOK) IsCode(code int) bool

IsCode returns true when this get org by Id Ok response a status code equal to that given

func (*GetOrgByIDOK) IsRedirect

func (o *GetOrgByIDOK) IsRedirect() bool

IsRedirect returns true when this get org by Id Ok response has a 3xx status code

func (*GetOrgByIDOK) IsServerError

func (o *GetOrgByIDOK) IsServerError() bool

IsServerError returns true when this get org by Id Ok response has a 5xx status code

func (*GetOrgByIDOK) IsSuccess

func (o *GetOrgByIDOK) IsSuccess() bool

IsSuccess returns true when this get org by Id Ok response has a 2xx status code

func (*GetOrgByIDOK) String

func (o *GetOrgByIDOK) String() string

type GetOrgByIDParams

type GetOrgByIDParams struct {

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

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

GetOrgByIDParams contains all the parameters to send to the API endpoint

for the get org by ID operation.

Typically these are written to a http.Request.

func NewGetOrgByIDParams

func NewGetOrgByIDParams() *GetOrgByIDParams

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

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

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

func NewGetOrgByIDParamsWithContext

func NewGetOrgByIDParamsWithContext(ctx context.Context) *GetOrgByIDParams

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

func NewGetOrgByIDParamsWithHTTPClient

func NewGetOrgByIDParamsWithHTTPClient(client *http.Client) *GetOrgByIDParams

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

func NewGetOrgByIDParamsWithTimeout

func NewGetOrgByIDParamsWithTimeout(timeout time.Duration) *GetOrgByIDParams

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

func (*GetOrgByIDParams) SetContext

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

SetContext adds the context to the get org by ID params

func (*GetOrgByIDParams) SetDefaults

func (o *GetOrgByIDParams) SetDefaults()

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

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

func (*GetOrgByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org by ID params

func (*GetOrgByIDParams) SetOrgID

func (o *GetOrgByIDParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the get org by ID params

func (*GetOrgByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get org by ID params

func (*GetOrgByIDParams) WithContext

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

WithContext adds the context to the get org by ID params

func (*GetOrgByIDParams) WithDefaults

func (o *GetOrgByIDParams) WithDefaults() *GetOrgByIDParams

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

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

func (*GetOrgByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org by ID params

func (*GetOrgByIDParams) WithOrgID

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

WithOrgID adds the orgID to the get org by ID params

func (*GetOrgByIDParams) WithTimeout

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

WithTimeout adds the timeout to the get org by ID params

func (*GetOrgByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgByIDReader

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

GetOrgByIDReader is a Reader for the GetOrgByID structure.

func (*GetOrgByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgByIDUnauthorized

type GetOrgByIDUnauthorized struct {
	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) Code

func (o *GetOrgByIDUnauthorized) Code() int

Code gets the status code for the get org by Id unauthorized response

func (*GetOrgByIDUnauthorized) Error

func (o *GetOrgByIDUnauthorized) Error() string

func (*GetOrgByIDUnauthorized) GetPayload

func (*GetOrgByIDUnauthorized) IsClientError

func (o *GetOrgByIDUnauthorized) IsClientError() bool

IsClientError returns true when this get org by Id unauthorized response has a 4xx status code

func (*GetOrgByIDUnauthorized) IsCode

func (o *GetOrgByIDUnauthorized) IsCode(code int) bool

IsCode returns true when this get org by Id unauthorized response a status code equal to that given

func (*GetOrgByIDUnauthorized) IsRedirect

func (o *GetOrgByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this get org by Id unauthorized response has a 3xx status code

func (*GetOrgByIDUnauthorized) IsServerError

func (o *GetOrgByIDUnauthorized) IsServerError() bool

IsServerError returns true when this get org by Id unauthorized response has a 5xx status code

func (*GetOrgByIDUnauthorized) IsSuccess

func (o *GetOrgByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this get org by Id unauthorized response has a 2xx status code

func (*GetOrgByIDUnauthorized) String

func (o *GetOrgByIDUnauthorized) String() string

type GetOrgByNameForbidden

type GetOrgByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgByNameForbidden

func NewGetOrgByNameForbidden() *GetOrgByNameForbidden

NewGetOrgByNameForbidden creates a GetOrgByNameForbidden with default headers values

func (*GetOrgByNameForbidden) Code

func (o *GetOrgByNameForbidden) Code() int

Code gets the status code for the get org by name forbidden response

func (*GetOrgByNameForbidden) Error

func (o *GetOrgByNameForbidden) Error() string

func (*GetOrgByNameForbidden) GetPayload

func (*GetOrgByNameForbidden) IsClientError

func (o *GetOrgByNameForbidden) IsClientError() bool

IsClientError returns true when this get org by name forbidden response has a 4xx status code

func (*GetOrgByNameForbidden) IsCode

func (o *GetOrgByNameForbidden) IsCode(code int) bool

IsCode returns true when this get org by name forbidden response a status code equal to that given

func (*GetOrgByNameForbidden) IsRedirect

func (o *GetOrgByNameForbidden) IsRedirect() bool

IsRedirect returns true when this get org by name forbidden response has a 3xx status code

func (*GetOrgByNameForbidden) IsServerError

func (o *GetOrgByNameForbidden) IsServerError() bool

IsServerError returns true when this get org by name forbidden response has a 5xx status code

func (*GetOrgByNameForbidden) IsSuccess

func (o *GetOrgByNameForbidden) IsSuccess() bool

IsSuccess returns true when this get org by name forbidden response has a 2xx status code

func (*GetOrgByNameForbidden) String

func (o *GetOrgByNameForbidden) String() string

type GetOrgByNameInternalServerError

type GetOrgByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgByNameInternalServerError

func NewGetOrgByNameInternalServerError() *GetOrgByNameInternalServerError

NewGetOrgByNameInternalServerError creates a GetOrgByNameInternalServerError with default headers values

func (*GetOrgByNameInternalServerError) Code

Code gets the status code for the get org by name internal server error response

func (*GetOrgByNameInternalServerError) Error

func (*GetOrgByNameInternalServerError) GetPayload

func (*GetOrgByNameInternalServerError) IsClientError

func (o *GetOrgByNameInternalServerError) IsClientError() bool

IsClientError returns true when this get org by name internal server error response has a 4xx status code

func (*GetOrgByNameInternalServerError) IsCode

func (o *GetOrgByNameInternalServerError) IsCode(code int) bool

IsCode returns true when this get org by name internal server error response a status code equal to that given

func (*GetOrgByNameInternalServerError) IsRedirect

func (o *GetOrgByNameInternalServerError) IsRedirect() bool

IsRedirect returns true when this get org by name internal server error response has a 3xx status code

func (*GetOrgByNameInternalServerError) IsServerError

func (o *GetOrgByNameInternalServerError) IsServerError() bool

IsServerError returns true when this get org by name internal server error response has a 5xx status code

func (*GetOrgByNameInternalServerError) IsSuccess

func (o *GetOrgByNameInternalServerError) IsSuccess() bool

IsSuccess returns true when this get org by name internal server error response has a 2xx status code

func (*GetOrgByNameInternalServerError) String

type GetOrgByNameOK

type GetOrgByNameOK struct {
	Payload *models.OrgDetailsDTO
}

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

(empty)

func NewGetOrgByNameOK

func NewGetOrgByNameOK() *GetOrgByNameOK

NewGetOrgByNameOK creates a GetOrgByNameOK with default headers values

func (*GetOrgByNameOK) Code

func (o *GetOrgByNameOK) Code() int

Code gets the status code for the get org by name Ok response

func (*GetOrgByNameOK) Error

func (o *GetOrgByNameOK) Error() string

func (*GetOrgByNameOK) GetPayload

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

func (*GetOrgByNameOK) IsClientError

func (o *GetOrgByNameOK) IsClientError() bool

IsClientError returns true when this get org by name Ok response has a 4xx status code

func (*GetOrgByNameOK) IsCode

func (o *GetOrgByNameOK) IsCode(code int) bool

IsCode returns true when this get org by name Ok response a status code equal to that given

func (*GetOrgByNameOK) IsRedirect

func (o *GetOrgByNameOK) IsRedirect() bool

IsRedirect returns true when this get org by name Ok response has a 3xx status code

func (*GetOrgByNameOK) IsServerError

func (o *GetOrgByNameOK) IsServerError() bool

IsServerError returns true when this get org by name Ok response has a 5xx status code

func (*GetOrgByNameOK) IsSuccess

func (o *GetOrgByNameOK) IsSuccess() bool

IsSuccess returns true when this get org by name Ok response has a 2xx status code

func (*GetOrgByNameOK) String

func (o *GetOrgByNameOK) String() string

type GetOrgByNameParams

type GetOrgByNameParams struct {

	// OrgName.
	OrgName string

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

GetOrgByNameParams contains all the parameters to send to the API endpoint

for the get org by name operation.

Typically these are written to a http.Request.

func NewGetOrgByNameParams

func NewGetOrgByNameParams() *GetOrgByNameParams

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

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

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

func NewGetOrgByNameParamsWithContext

func NewGetOrgByNameParamsWithContext(ctx context.Context) *GetOrgByNameParams

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

func NewGetOrgByNameParamsWithHTTPClient

func NewGetOrgByNameParamsWithHTTPClient(client *http.Client) *GetOrgByNameParams

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

func NewGetOrgByNameParamsWithTimeout

func NewGetOrgByNameParamsWithTimeout(timeout time.Duration) *GetOrgByNameParams

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

func (*GetOrgByNameParams) SetContext

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

SetContext adds the context to the get org by name params

func (*GetOrgByNameParams) SetDefaults

func (o *GetOrgByNameParams) SetDefaults()

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

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

func (*GetOrgByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org by name params

func (*GetOrgByNameParams) SetOrgName

func (o *GetOrgByNameParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get org by name params

func (*GetOrgByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get org by name params

func (*GetOrgByNameParams) WithContext

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) Code

func (o *GetOrgByNameUnauthorized) Code() int

Code gets the status code for the get org by name unauthorized response

func (*GetOrgByNameUnauthorized) Error

func (o *GetOrgByNameUnauthorized) Error() string

func (*GetOrgByNameUnauthorized) GetPayload

func (*GetOrgByNameUnauthorized) IsClientError

func (o *GetOrgByNameUnauthorized) IsClientError() bool

IsClientError returns true when this get org by name unauthorized response has a 4xx status code

func (*GetOrgByNameUnauthorized) IsCode

func (o *GetOrgByNameUnauthorized) IsCode(code int) bool

IsCode returns true when this get org by name unauthorized response a status code equal to that given

func (*GetOrgByNameUnauthorized) IsRedirect

func (o *GetOrgByNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this get org by name unauthorized response has a 3xx status code

func (*GetOrgByNameUnauthorized) IsServerError

func (o *GetOrgByNameUnauthorized) IsServerError() bool

IsServerError returns true when this get org by name unauthorized response has a 5xx status code

func (*GetOrgByNameUnauthorized) IsSuccess

func (o *GetOrgByNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this get org by name unauthorized response has a 2xx status code

func (*GetOrgByNameUnauthorized) String

func (o *GetOrgByNameUnauthorized) String() string

type GetOrgQuotaForbidden

type GetOrgQuotaForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgQuotaForbidden

func NewGetOrgQuotaForbidden() *GetOrgQuotaForbidden

NewGetOrgQuotaForbidden creates a GetOrgQuotaForbidden with default headers values

func (*GetOrgQuotaForbidden) Code

func (o *GetOrgQuotaForbidden) Code() int

Code gets the status code for the get org quota forbidden response

func (*GetOrgQuotaForbidden) Error

func (o *GetOrgQuotaForbidden) Error() string

func (*GetOrgQuotaForbidden) GetPayload

func (*GetOrgQuotaForbidden) IsClientError

func (o *GetOrgQuotaForbidden) IsClientError() bool

IsClientError returns true when this get org quota forbidden response has a 4xx status code

func (*GetOrgQuotaForbidden) IsCode

func (o *GetOrgQuotaForbidden) IsCode(code int) bool

IsCode returns true when this get org quota forbidden response a status code equal to that given

func (*GetOrgQuotaForbidden) IsRedirect

func (o *GetOrgQuotaForbidden) IsRedirect() bool

IsRedirect returns true when this get org quota forbidden response has a 3xx status code

func (*GetOrgQuotaForbidden) IsServerError

func (o *GetOrgQuotaForbidden) IsServerError() bool

IsServerError returns true when this get org quota forbidden response has a 5xx status code

func (*GetOrgQuotaForbidden) IsSuccess

func (o *GetOrgQuotaForbidden) IsSuccess() bool

IsSuccess returns true when this get org quota forbidden response has a 2xx status code

func (*GetOrgQuotaForbidden) String

func (o *GetOrgQuotaForbidden) String() string

type GetOrgQuotaInternalServerError

type GetOrgQuotaInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgQuotaInternalServerError

func NewGetOrgQuotaInternalServerError() *GetOrgQuotaInternalServerError

NewGetOrgQuotaInternalServerError creates a GetOrgQuotaInternalServerError with default headers values

func (*GetOrgQuotaInternalServerError) Code

Code gets the status code for the get org quota internal server error response

func (*GetOrgQuotaInternalServerError) Error

func (*GetOrgQuotaInternalServerError) GetPayload

func (*GetOrgQuotaInternalServerError) IsClientError

func (o *GetOrgQuotaInternalServerError) IsClientError() bool

IsClientError returns true when this get org quota internal server error response has a 4xx status code

func (*GetOrgQuotaInternalServerError) IsCode

func (o *GetOrgQuotaInternalServerError) IsCode(code int) bool

IsCode returns true when this get org quota internal server error response a status code equal to that given

func (*GetOrgQuotaInternalServerError) IsRedirect

func (o *GetOrgQuotaInternalServerError) IsRedirect() bool

IsRedirect returns true when this get org quota internal server error response has a 3xx status code

func (*GetOrgQuotaInternalServerError) IsServerError

func (o *GetOrgQuotaInternalServerError) IsServerError() bool

IsServerError returns true when this get org quota internal server error response has a 5xx status code

func (*GetOrgQuotaInternalServerError) IsSuccess

func (o *GetOrgQuotaInternalServerError) IsSuccess() bool

IsSuccess returns true when this get org quota internal server error response has a 2xx status code

func (*GetOrgQuotaInternalServerError) String

type GetOrgQuotaNotFound

type GetOrgQuotaNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetOrgQuotaNotFound

func NewGetOrgQuotaNotFound() *GetOrgQuotaNotFound

NewGetOrgQuotaNotFound creates a GetOrgQuotaNotFound with default headers values

func (*GetOrgQuotaNotFound) Code

func (o *GetOrgQuotaNotFound) Code() int

Code gets the status code for the get org quota not found response

func (*GetOrgQuotaNotFound) Error

func (o *GetOrgQuotaNotFound) Error() string

func (*GetOrgQuotaNotFound) GetPayload

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

func (*GetOrgQuotaNotFound) IsClientError

func (o *GetOrgQuotaNotFound) IsClientError() bool

IsClientError returns true when this get org quota not found response has a 4xx status code

func (*GetOrgQuotaNotFound) IsCode

func (o *GetOrgQuotaNotFound) IsCode(code int) bool

IsCode returns true when this get org quota not found response a status code equal to that given

func (*GetOrgQuotaNotFound) IsRedirect

func (o *GetOrgQuotaNotFound) IsRedirect() bool

IsRedirect returns true when this get org quota not found response has a 3xx status code

func (*GetOrgQuotaNotFound) IsServerError

func (o *GetOrgQuotaNotFound) IsServerError() bool

IsServerError returns true when this get org quota not found response has a 5xx status code

func (*GetOrgQuotaNotFound) IsSuccess

func (o *GetOrgQuotaNotFound) IsSuccess() bool

IsSuccess returns true when this get org quota not found response has a 2xx status code

func (*GetOrgQuotaNotFound) String

func (o *GetOrgQuotaNotFound) String() string

type GetOrgQuotaOK

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) Code

func (o *GetOrgQuotaOK) Code() int

Code gets the status code for the get org quota Ok response

func (*GetOrgQuotaOK) Error

func (o *GetOrgQuotaOK) Error() string

func (*GetOrgQuotaOK) GetPayload

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

func (*GetOrgQuotaOK) IsClientError

func (o *GetOrgQuotaOK) IsClientError() bool

IsClientError returns true when this get org quota Ok response has a 4xx status code

func (*GetOrgQuotaOK) IsCode

func (o *GetOrgQuotaOK) IsCode(code int) bool

IsCode returns true when this get org quota Ok response a status code equal to that given

func (*GetOrgQuotaOK) IsRedirect

func (o *GetOrgQuotaOK) IsRedirect() bool

IsRedirect returns true when this get org quota Ok response has a 3xx status code

func (*GetOrgQuotaOK) IsServerError

func (o *GetOrgQuotaOK) IsServerError() bool

IsServerError returns true when this get org quota Ok response has a 5xx status code

func (*GetOrgQuotaOK) IsSuccess

func (o *GetOrgQuotaOK) IsSuccess() bool

IsSuccess returns true when this get org quota Ok response has a 2xx status code

func (*GetOrgQuotaOK) String

func (o *GetOrgQuotaOK) String() string

type GetOrgQuotaParams

type GetOrgQuotaParams struct {

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

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

GetOrgQuotaParams contains all the parameters to send to the API endpoint

for the get org quota operation.

Typically these are written to a http.Request.

func NewGetOrgQuotaParams

func NewGetOrgQuotaParams() *GetOrgQuotaParams

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

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

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

func NewGetOrgQuotaParamsWithContext

func NewGetOrgQuotaParamsWithContext(ctx context.Context) *GetOrgQuotaParams

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

func NewGetOrgQuotaParamsWithHTTPClient

func NewGetOrgQuotaParamsWithHTTPClient(client *http.Client) *GetOrgQuotaParams

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

func NewGetOrgQuotaParamsWithTimeout

func NewGetOrgQuotaParamsWithTimeout(timeout time.Duration) *GetOrgQuotaParams

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

func (*GetOrgQuotaParams) SetContext

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

SetContext adds the context to the get org quota params

func (*GetOrgQuotaParams) SetDefaults

func (o *GetOrgQuotaParams) SetDefaults()

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

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

func (*GetOrgQuotaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org quota params

func (*GetOrgQuotaParams) SetOrgID

func (o *GetOrgQuotaParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the get org quota params

func (*GetOrgQuotaParams) SetTimeout

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

SetTimeout adds the timeout to the get org quota params

func (*GetOrgQuotaParams) WithContext

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

WithContext adds the context to the get org quota params

func (*GetOrgQuotaParams) WithDefaults

func (o *GetOrgQuotaParams) WithDefaults() *GetOrgQuotaParams

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

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

func (*GetOrgQuotaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org quota params

func (*GetOrgQuotaParams) WithOrgID

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

WithOrgID adds the orgID to the get org quota params

func (*GetOrgQuotaParams) WithTimeout

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

WithTimeout adds the timeout to the get org quota params

func (*GetOrgQuotaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgQuotaReader

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

GetOrgQuotaReader is a Reader for the GetOrgQuota structure.

func (*GetOrgQuotaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgQuotaUnauthorized

type GetOrgQuotaUnauthorized struct {
	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) Code

func (o *GetOrgQuotaUnauthorized) Code() int

Code gets the status code for the get org quota unauthorized response

func (*GetOrgQuotaUnauthorized) Error

func (o *GetOrgQuotaUnauthorized) Error() string

func (*GetOrgQuotaUnauthorized) GetPayload

func (*GetOrgQuotaUnauthorized) IsClientError

func (o *GetOrgQuotaUnauthorized) IsClientError() bool

IsClientError returns true when this get org quota unauthorized response has a 4xx status code

func (*GetOrgQuotaUnauthorized) IsCode

func (o *GetOrgQuotaUnauthorized) IsCode(code int) bool

IsCode returns true when this get org quota unauthorized response a status code equal to that given

func (*GetOrgQuotaUnauthorized) IsRedirect

func (o *GetOrgQuotaUnauthorized) IsRedirect() bool

IsRedirect returns true when this get org quota unauthorized response has a 3xx status code

func (*GetOrgQuotaUnauthorized) IsServerError

func (o *GetOrgQuotaUnauthorized) IsServerError() bool

IsServerError returns true when this get org quota unauthorized response has a 5xx status code

func (*GetOrgQuotaUnauthorized) IsSuccess

func (o *GetOrgQuotaUnauthorized) IsSuccess() bool

IsSuccess returns true when this get org quota unauthorized response has a 2xx status code

func (*GetOrgQuotaUnauthorized) String

func (o *GetOrgQuotaUnauthorized) String() string

type GetOrgUsersForbidden

type GetOrgUsersForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgUsersForbidden

func NewGetOrgUsersForbidden() *GetOrgUsersForbidden

NewGetOrgUsersForbidden creates a GetOrgUsersForbidden with default headers values

func (*GetOrgUsersForbidden) Code

func (o *GetOrgUsersForbidden) Code() int

Code gets the status code for the get org users forbidden response

func (*GetOrgUsersForbidden) Error

func (o *GetOrgUsersForbidden) Error() string

func (*GetOrgUsersForbidden) GetPayload

func (*GetOrgUsersForbidden) IsClientError

func (o *GetOrgUsersForbidden) IsClientError() bool

IsClientError returns true when this get org users forbidden response has a 4xx status code

func (*GetOrgUsersForbidden) IsCode

func (o *GetOrgUsersForbidden) IsCode(code int) bool

IsCode returns true when this get org users forbidden response a status code equal to that given

func (*GetOrgUsersForbidden) IsRedirect

func (o *GetOrgUsersForbidden) IsRedirect() bool

IsRedirect returns true when this get org users forbidden response has a 3xx status code

func (*GetOrgUsersForbidden) IsServerError

func (o *GetOrgUsersForbidden) IsServerError() bool

IsServerError returns true when this get org users forbidden response has a 5xx status code

func (*GetOrgUsersForbidden) IsSuccess

func (o *GetOrgUsersForbidden) IsSuccess() bool

IsSuccess returns true when this get org users forbidden response has a 2xx status code

func (*GetOrgUsersForbidden) String

func (o *GetOrgUsersForbidden) String() string

type GetOrgUsersInternalServerError

type GetOrgUsersInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgUsersInternalServerError

func NewGetOrgUsersInternalServerError() *GetOrgUsersInternalServerError

NewGetOrgUsersInternalServerError creates a GetOrgUsersInternalServerError with default headers values

func (*GetOrgUsersInternalServerError) Code

Code gets the status code for the get org users internal server error response

func (*GetOrgUsersInternalServerError) Error

func (*GetOrgUsersInternalServerError) GetPayload

func (*GetOrgUsersInternalServerError) IsClientError

func (o *GetOrgUsersInternalServerError) IsClientError() bool

IsClientError returns true when this get org users internal server error response has a 4xx status code

func (*GetOrgUsersInternalServerError) IsCode

func (o *GetOrgUsersInternalServerError) IsCode(code int) bool

IsCode returns true when this get org users internal server error response a status code equal to that given

func (*GetOrgUsersInternalServerError) IsRedirect

func (o *GetOrgUsersInternalServerError) IsRedirect() bool

IsRedirect returns true when this get org users internal server error response has a 3xx status code

func (*GetOrgUsersInternalServerError) IsServerError

func (o *GetOrgUsersInternalServerError) IsServerError() bool

IsServerError returns true when this get org users internal server error response has a 5xx status code

func (*GetOrgUsersInternalServerError) IsSuccess

func (o *GetOrgUsersInternalServerError) IsSuccess() bool

IsSuccess returns true when this get org users internal server error response has a 2xx status code

func (*GetOrgUsersInternalServerError) String

type GetOrgUsersOK

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

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

(empty)

func NewGetOrgUsersOK

func NewGetOrgUsersOK() *GetOrgUsersOK

NewGetOrgUsersOK creates a GetOrgUsersOK with default headers values

func (*GetOrgUsersOK) Code

func (o *GetOrgUsersOK) Code() int

Code gets the status code for the get org users Ok response

func (*GetOrgUsersOK) Error

func (o *GetOrgUsersOK) Error() string

func (*GetOrgUsersOK) GetPayload

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

func (*GetOrgUsersOK) IsClientError

func (o *GetOrgUsersOK) IsClientError() bool

IsClientError returns true when this get org users Ok response has a 4xx status code

func (*GetOrgUsersOK) IsCode

func (o *GetOrgUsersOK) IsCode(code int) bool

IsCode returns true when this get org users Ok response a status code equal to that given

func (*GetOrgUsersOK) IsRedirect

func (o *GetOrgUsersOK) IsRedirect() bool

IsRedirect returns true when this get org users Ok response has a 3xx status code

func (*GetOrgUsersOK) IsServerError

func (o *GetOrgUsersOK) IsServerError() bool

IsServerError returns true when this get org users Ok response has a 5xx status code

func (*GetOrgUsersOK) IsSuccess

func (o *GetOrgUsersOK) IsSuccess() bool

IsSuccess returns true when this get org users Ok response has a 2xx status code

func (*GetOrgUsersOK) String

func (o *GetOrgUsersOK) String() string

type GetOrgUsersParams

type GetOrgUsersParams struct {

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

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

GetOrgUsersParams contains all the parameters to send to the API endpoint

for the get org users operation.

Typically these are written to a http.Request.

func NewGetOrgUsersParams

func NewGetOrgUsersParams() *GetOrgUsersParams

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

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

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

func NewGetOrgUsersParamsWithContext

func NewGetOrgUsersParamsWithContext(ctx context.Context) *GetOrgUsersParams

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

func NewGetOrgUsersParamsWithHTTPClient

func NewGetOrgUsersParamsWithHTTPClient(client *http.Client) *GetOrgUsersParams

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

func NewGetOrgUsersParamsWithTimeout

func NewGetOrgUsersParamsWithTimeout(timeout time.Duration) *GetOrgUsersParams

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

func (*GetOrgUsersParams) SetContext

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

SetContext adds the context to the get org users params

func (*GetOrgUsersParams) SetDefaults

func (o *GetOrgUsersParams) SetDefaults()

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

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

func (*GetOrgUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org users params

func (*GetOrgUsersParams) SetOrgID

func (o *GetOrgUsersParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the get org users params

func (*GetOrgUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get org users params

func (*GetOrgUsersParams) WithContext

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

WithContext adds the context to the get org users params

func (*GetOrgUsersParams) WithDefaults

func (o *GetOrgUsersParams) WithDefaults() *GetOrgUsersParams

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

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

func (*GetOrgUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org users params

func (*GetOrgUsersParams) WithOrgID

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

WithOrgID adds the orgID to the get org users params

func (*GetOrgUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get org users params

func (*GetOrgUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgUsersReader

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

GetOrgUsersReader is a Reader for the GetOrgUsers structure.

func (*GetOrgUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgUsersUnauthorized

type GetOrgUsersUnauthorized struct {
	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) Code

func (o *GetOrgUsersUnauthorized) Code() int

Code gets the status code for the get org users unauthorized response

func (*GetOrgUsersUnauthorized) Error

func (o *GetOrgUsersUnauthorized) Error() string

func (*GetOrgUsersUnauthorized) GetPayload

func (*GetOrgUsersUnauthorized) IsClientError

func (o *GetOrgUsersUnauthorized) IsClientError() bool

IsClientError returns true when this get org users unauthorized response has a 4xx status code

func (*GetOrgUsersUnauthorized) IsCode

func (o *GetOrgUsersUnauthorized) IsCode(code int) bool

IsCode returns true when this get org users unauthorized response a status code equal to that given

func (*GetOrgUsersUnauthorized) IsRedirect

func (o *GetOrgUsersUnauthorized) IsRedirect() bool

IsRedirect returns true when this get org users unauthorized response has a 3xx status code

func (*GetOrgUsersUnauthorized) IsServerError

func (o *GetOrgUsersUnauthorized) IsServerError() bool

IsServerError returns true when this get org users unauthorized response has a 5xx status code

func (*GetOrgUsersUnauthorized) IsSuccess

func (o *GetOrgUsersUnauthorized) IsSuccess() bool

IsSuccess returns true when this get org users unauthorized response has a 2xx status code

func (*GetOrgUsersUnauthorized) String

func (o *GetOrgUsersUnauthorized) String() string

type RemoveOrgUserBadRequest

type RemoveOrgUserBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRemoveOrgUserBadRequest

func NewRemoveOrgUserBadRequest() *RemoveOrgUserBadRequest

NewRemoveOrgUserBadRequest creates a RemoveOrgUserBadRequest with default headers values

func (*RemoveOrgUserBadRequest) Code

func (o *RemoveOrgUserBadRequest) Code() int

Code gets the status code for the remove org user bad request response

func (*RemoveOrgUserBadRequest) Error

func (o *RemoveOrgUserBadRequest) Error() string

func (*RemoveOrgUserBadRequest) GetPayload

func (*RemoveOrgUserBadRequest) IsClientError

func (o *RemoveOrgUserBadRequest) IsClientError() bool

IsClientError returns true when this remove org user bad request response has a 4xx status code

func (*RemoveOrgUserBadRequest) IsCode

func (o *RemoveOrgUserBadRequest) IsCode(code int) bool

IsCode returns true when this remove org user bad request response a status code equal to that given

func (*RemoveOrgUserBadRequest) IsRedirect

func (o *RemoveOrgUserBadRequest) IsRedirect() bool

IsRedirect returns true when this remove org user bad request response has a 3xx status code

func (*RemoveOrgUserBadRequest) IsServerError

func (o *RemoveOrgUserBadRequest) IsServerError() bool

IsServerError returns true when this remove org user bad request response has a 5xx status code

func (*RemoveOrgUserBadRequest) IsSuccess

func (o *RemoveOrgUserBadRequest) IsSuccess() bool

IsSuccess returns true when this remove org user bad request response has a 2xx status code

func (*RemoveOrgUserBadRequest) String

func (o *RemoveOrgUserBadRequest) String() string

type RemoveOrgUserForbidden

type RemoveOrgUserForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRemoveOrgUserForbidden

func NewRemoveOrgUserForbidden() *RemoveOrgUserForbidden

NewRemoveOrgUserForbidden creates a RemoveOrgUserForbidden with default headers values

func (*RemoveOrgUserForbidden) Code

func (o *RemoveOrgUserForbidden) Code() int

Code gets the status code for the remove org user forbidden response

func (*RemoveOrgUserForbidden) Error

func (o *RemoveOrgUserForbidden) Error() string

func (*RemoveOrgUserForbidden) GetPayload

func (*RemoveOrgUserForbidden) IsClientError

func (o *RemoveOrgUserForbidden) IsClientError() bool

IsClientError returns true when this remove org user forbidden response has a 4xx status code

func (*RemoveOrgUserForbidden) IsCode

func (o *RemoveOrgUserForbidden) IsCode(code int) bool

IsCode returns true when this remove org user forbidden response a status code equal to that given

func (*RemoveOrgUserForbidden) IsRedirect

func (o *RemoveOrgUserForbidden) IsRedirect() bool

IsRedirect returns true when this remove org user forbidden response has a 3xx status code

func (*RemoveOrgUserForbidden) IsServerError

func (o *RemoveOrgUserForbidden) IsServerError() bool

IsServerError returns true when this remove org user forbidden response has a 5xx status code

func (*RemoveOrgUserForbidden) IsSuccess

func (o *RemoveOrgUserForbidden) IsSuccess() bool

IsSuccess returns true when this remove org user forbidden response has a 2xx status code

func (*RemoveOrgUserForbidden) String

func (o *RemoveOrgUserForbidden) String() string

type RemoveOrgUserInternalServerError

type RemoveOrgUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewRemoveOrgUserInternalServerError

func NewRemoveOrgUserInternalServerError() *RemoveOrgUserInternalServerError

NewRemoveOrgUserInternalServerError creates a RemoveOrgUserInternalServerError with default headers values

func (*RemoveOrgUserInternalServerError) Code

Code gets the status code for the remove org user internal server error response

func (*RemoveOrgUserInternalServerError) Error

func (*RemoveOrgUserInternalServerError) GetPayload

func (*RemoveOrgUserInternalServerError) IsClientError

func (o *RemoveOrgUserInternalServerError) IsClientError() bool

IsClientError returns true when this remove org user internal server error response has a 4xx status code

func (*RemoveOrgUserInternalServerError) IsCode

func (o *RemoveOrgUserInternalServerError) IsCode(code int) bool

IsCode returns true when this remove org user internal server error response a status code equal to that given

func (*RemoveOrgUserInternalServerError) IsRedirect

func (o *RemoveOrgUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this remove org user internal server error response has a 3xx status code

func (*RemoveOrgUserInternalServerError) IsServerError

func (o *RemoveOrgUserInternalServerError) IsServerError() bool

IsServerError returns true when this remove org user internal server error response has a 5xx status code

func (*RemoveOrgUserInternalServerError) IsSuccess

func (o *RemoveOrgUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this remove org user internal server error response has a 2xx status code

func (*RemoveOrgUserInternalServerError) String

type RemoveOrgUserOK

type RemoveOrgUserOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewRemoveOrgUserOK

func NewRemoveOrgUserOK() *RemoveOrgUserOK

NewRemoveOrgUserOK creates a RemoveOrgUserOK with default headers values

func (*RemoveOrgUserOK) Code

func (o *RemoveOrgUserOK) Code() int

Code gets the status code for the remove org user Ok response

func (*RemoveOrgUserOK) Error

func (o *RemoveOrgUserOK) Error() string

func (*RemoveOrgUserOK) GetPayload

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

func (*RemoveOrgUserOK) IsClientError

func (o *RemoveOrgUserOK) IsClientError() bool

IsClientError returns true when this remove org user Ok response has a 4xx status code

func (*RemoveOrgUserOK) IsCode

func (o *RemoveOrgUserOK) IsCode(code int) bool

IsCode returns true when this remove org user Ok response a status code equal to that given

func (*RemoveOrgUserOK) IsRedirect

func (o *RemoveOrgUserOK) IsRedirect() bool

IsRedirect returns true when this remove org user Ok response has a 3xx status code

func (*RemoveOrgUserOK) IsServerError

func (o *RemoveOrgUserOK) IsServerError() bool

IsServerError returns true when this remove org user Ok response has a 5xx status code

func (*RemoveOrgUserOK) IsSuccess

func (o *RemoveOrgUserOK) IsSuccess() bool

IsSuccess returns true when this remove org user Ok response has a 2xx status code

func (*RemoveOrgUserOK) String

func (o *RemoveOrgUserOK) String() string

type RemoveOrgUserParams

type RemoveOrgUserParams struct {

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

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

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

RemoveOrgUserParams contains all the parameters to send to the API endpoint

for the remove org user operation.

Typically these are written to a http.Request.

func NewRemoveOrgUserParams

func NewRemoveOrgUserParams() *RemoveOrgUserParams

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

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

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

func NewRemoveOrgUserParamsWithContext

func NewRemoveOrgUserParamsWithContext(ctx context.Context) *RemoveOrgUserParams

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

func NewRemoveOrgUserParamsWithHTTPClient

func NewRemoveOrgUserParamsWithHTTPClient(client *http.Client) *RemoveOrgUserParams

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

func NewRemoveOrgUserParamsWithTimeout

func NewRemoveOrgUserParamsWithTimeout(timeout time.Duration) *RemoveOrgUserParams

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

func (*RemoveOrgUserParams) SetContext

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

SetContext adds the context to the remove org user params

func (*RemoveOrgUserParams) SetDefaults

func (o *RemoveOrgUserParams) SetDefaults()

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

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

func (*RemoveOrgUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove org user params

func (*RemoveOrgUserParams) SetOrgID

func (o *RemoveOrgUserParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the remove org user params

func (*RemoveOrgUserParams) SetTimeout

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

SetTimeout adds the timeout to the remove org user params

func (*RemoveOrgUserParams) SetUserID

func (o *RemoveOrgUserParams) SetUserID(userID int64)

SetUserID adds the userId to the remove org user params

func (*RemoveOrgUserParams) WithContext

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) Code

func (o *RemoveOrgUserUnauthorized) Code() int

Code gets the status code for the remove org user unauthorized response

func (*RemoveOrgUserUnauthorized) Error

func (o *RemoveOrgUserUnauthorized) Error() string

func (*RemoveOrgUserUnauthorized) GetPayload

func (*RemoveOrgUserUnauthorized) IsClientError

func (o *RemoveOrgUserUnauthorized) IsClientError() bool

IsClientError returns true when this remove org user unauthorized response has a 4xx status code

func (*RemoveOrgUserUnauthorized) IsCode

func (o *RemoveOrgUserUnauthorized) IsCode(code int) bool

IsCode returns true when this remove org user unauthorized response a status code equal to that given

func (*RemoveOrgUserUnauthorized) IsRedirect

func (o *RemoveOrgUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove org user unauthorized response has a 3xx status code

func (*RemoveOrgUserUnauthorized) IsServerError

func (o *RemoveOrgUserUnauthorized) IsServerError() bool

IsServerError returns true when this remove org user unauthorized response has a 5xx status code

func (*RemoveOrgUserUnauthorized) IsSuccess

func (o *RemoveOrgUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove org user unauthorized response has a 2xx status code

func (*RemoveOrgUserUnauthorized) String

func (o *RemoveOrgUserUnauthorized) String() string

type SearchOrgUsersForbidden

type SearchOrgUsersForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewSearchOrgUsersForbidden

func NewSearchOrgUsersForbidden() *SearchOrgUsersForbidden

NewSearchOrgUsersForbidden creates a SearchOrgUsersForbidden with default headers values

func (*SearchOrgUsersForbidden) Code

func (o *SearchOrgUsersForbidden) Code() int

Code gets the status code for the search org users forbidden response

func (*SearchOrgUsersForbidden) Error

func (o *SearchOrgUsersForbidden) Error() string

func (*SearchOrgUsersForbidden) GetPayload

func (*SearchOrgUsersForbidden) IsClientError

func (o *SearchOrgUsersForbidden) IsClientError() bool

IsClientError returns true when this search org users forbidden response has a 4xx status code

func (*SearchOrgUsersForbidden) IsCode

func (o *SearchOrgUsersForbidden) IsCode(code int) bool

IsCode returns true when this search org users forbidden response a status code equal to that given

func (*SearchOrgUsersForbidden) IsRedirect

func (o *SearchOrgUsersForbidden) IsRedirect() bool

IsRedirect returns true when this search org users forbidden response has a 3xx status code

func (*SearchOrgUsersForbidden) IsServerError

func (o *SearchOrgUsersForbidden) IsServerError() bool

IsServerError returns true when this search org users forbidden response has a 5xx status code

func (*SearchOrgUsersForbidden) IsSuccess

func (o *SearchOrgUsersForbidden) IsSuccess() bool

IsSuccess returns true when this search org users forbidden response has a 2xx status code

func (*SearchOrgUsersForbidden) String

func (o *SearchOrgUsersForbidden) String() string

type SearchOrgUsersInternalServerError

type SearchOrgUsersInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewSearchOrgUsersInternalServerError

func NewSearchOrgUsersInternalServerError() *SearchOrgUsersInternalServerError

NewSearchOrgUsersInternalServerError creates a SearchOrgUsersInternalServerError with default headers values

func (*SearchOrgUsersInternalServerError) Code

Code gets the status code for the search org users internal server error response

func (*SearchOrgUsersInternalServerError) Error

func (*SearchOrgUsersInternalServerError) GetPayload

func (*SearchOrgUsersInternalServerError) IsClientError

func (o *SearchOrgUsersInternalServerError) IsClientError() bool

IsClientError returns true when this search org users internal server error response has a 4xx status code

func (*SearchOrgUsersInternalServerError) IsCode

func (o *SearchOrgUsersInternalServerError) IsCode(code int) bool

IsCode returns true when this search org users internal server error response a status code equal to that given

func (*SearchOrgUsersInternalServerError) IsRedirect

func (o *SearchOrgUsersInternalServerError) IsRedirect() bool

IsRedirect returns true when this search org users internal server error response has a 3xx status code

func (*SearchOrgUsersInternalServerError) IsServerError

func (o *SearchOrgUsersInternalServerError) IsServerError() bool

IsServerError returns true when this search org users internal server error response has a 5xx status code

func (*SearchOrgUsersInternalServerError) IsSuccess

func (o *SearchOrgUsersInternalServerError) IsSuccess() bool

IsSuccess returns true when this search org users internal server error response has a 2xx status code

func (*SearchOrgUsersInternalServerError) String

type SearchOrgUsersOK

type SearchOrgUsersOK struct {
	Payload *models.SearchOrgUsersQueryResult
}

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

(empty)

func NewSearchOrgUsersOK

func NewSearchOrgUsersOK() *SearchOrgUsersOK

NewSearchOrgUsersOK creates a SearchOrgUsersOK with default headers values

func (*SearchOrgUsersOK) Code

func (o *SearchOrgUsersOK) Code() int

Code gets the status code for the search org users Ok response

func (*SearchOrgUsersOK) Error

func (o *SearchOrgUsersOK) Error() string

func (*SearchOrgUsersOK) GetPayload

func (*SearchOrgUsersOK) IsClientError

func (o *SearchOrgUsersOK) IsClientError() bool

IsClientError returns true when this search org users Ok response has a 4xx status code

func (*SearchOrgUsersOK) IsCode

func (o *SearchOrgUsersOK) IsCode(code int) bool

IsCode returns true when this search org users Ok response a status code equal to that given

func (*SearchOrgUsersOK) IsRedirect

func (o *SearchOrgUsersOK) IsRedirect() bool

IsRedirect returns true when this search org users Ok response has a 3xx status code

func (*SearchOrgUsersOK) IsServerError

func (o *SearchOrgUsersOK) IsServerError() bool

IsServerError returns true when this search org users Ok response has a 5xx status code

func (*SearchOrgUsersOK) IsSuccess

func (o *SearchOrgUsersOK) IsSuccess() bool

IsSuccess returns true when this search org users Ok response has a 2xx status code

func (*SearchOrgUsersOK) String

func (o *SearchOrgUsersOK) String() string

type SearchOrgUsersParams

type SearchOrgUsersParams struct {

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

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

SearchOrgUsersParams contains all the parameters to send to the API endpoint

for the search org users operation.

Typically these are written to a http.Request.

func NewSearchOrgUsersParams

func NewSearchOrgUsersParams() *SearchOrgUsersParams

NewSearchOrgUsersParams creates a new SearchOrgUsersParams object, with the default timeout for this client.

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

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

func NewSearchOrgUsersParamsWithContext

func NewSearchOrgUsersParamsWithContext(ctx context.Context) *SearchOrgUsersParams

NewSearchOrgUsersParamsWithContext creates a new SearchOrgUsersParams object with the ability to set a context for a request.

func NewSearchOrgUsersParamsWithHTTPClient

func NewSearchOrgUsersParamsWithHTTPClient(client *http.Client) *SearchOrgUsersParams

NewSearchOrgUsersParamsWithHTTPClient creates a new SearchOrgUsersParams object with the ability to set a custom HTTPClient for a request.

func NewSearchOrgUsersParamsWithTimeout

func NewSearchOrgUsersParamsWithTimeout(timeout time.Duration) *SearchOrgUsersParams

NewSearchOrgUsersParamsWithTimeout creates a new SearchOrgUsersParams object with the ability to set a timeout on a request.

func (*SearchOrgUsersParams) SetContext

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

SetContext adds the context to the search org users params

func (*SearchOrgUsersParams) SetDefaults

func (o *SearchOrgUsersParams) SetDefaults()

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

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

func (*SearchOrgUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search org users params

func (*SearchOrgUsersParams) SetOrgID

func (o *SearchOrgUsersParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the search org users params

func (*SearchOrgUsersParams) SetTimeout

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

SetTimeout adds the timeout to the search org users params

func (*SearchOrgUsersParams) WithContext

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) Code

func (o *SearchOrgUsersUnauthorized) Code() int

Code gets the status code for the search org users unauthorized response

func (*SearchOrgUsersUnauthorized) Error

func (*SearchOrgUsersUnauthorized) GetPayload

func (*SearchOrgUsersUnauthorized) IsClientError

func (o *SearchOrgUsersUnauthorized) IsClientError() bool

IsClientError returns true when this search org users unauthorized response has a 4xx status code

func (*SearchOrgUsersUnauthorized) IsCode

func (o *SearchOrgUsersUnauthorized) IsCode(code int) bool

IsCode returns true when this search org users unauthorized response a status code equal to that given

func (*SearchOrgUsersUnauthorized) IsRedirect

func (o *SearchOrgUsersUnauthorized) IsRedirect() bool

IsRedirect returns true when this search org users unauthorized response has a 3xx status code

func (*SearchOrgUsersUnauthorized) IsServerError

func (o *SearchOrgUsersUnauthorized) IsServerError() bool

IsServerError returns true when this search org users unauthorized response has a 5xx status code

func (*SearchOrgUsersUnauthorized) IsSuccess

func (o *SearchOrgUsersUnauthorized) IsSuccess() bool

IsSuccess returns true when this search org users unauthorized response has a 2xx status code

func (*SearchOrgUsersUnauthorized) String

func (o *SearchOrgUsersUnauthorized) String() string

type SearchOrgsConflict

type SearchOrgsConflict struct {
	Payload *models.ErrorResponseBody
}

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

ConflictError

func NewSearchOrgsConflict

func NewSearchOrgsConflict() *SearchOrgsConflict

NewSearchOrgsConflict creates a SearchOrgsConflict with default headers values

func (*SearchOrgsConflict) Code

func (o *SearchOrgsConflict) Code() int

Code gets the status code for the search orgs conflict response

func (*SearchOrgsConflict) Error

func (o *SearchOrgsConflict) Error() string

func (*SearchOrgsConflict) GetPayload

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

func (*SearchOrgsConflict) IsClientError

func (o *SearchOrgsConflict) IsClientError() bool

IsClientError returns true when this search orgs conflict response has a 4xx status code

func (*SearchOrgsConflict) IsCode

func (o *SearchOrgsConflict) IsCode(code int) bool

IsCode returns true when this search orgs conflict response a status code equal to that given

func (*SearchOrgsConflict) IsRedirect

func (o *SearchOrgsConflict) IsRedirect() bool

IsRedirect returns true when this search orgs conflict response has a 3xx status code

func (*SearchOrgsConflict) IsServerError

func (o *SearchOrgsConflict) IsServerError() bool

IsServerError returns true when this search orgs conflict response has a 5xx status code

func (*SearchOrgsConflict) IsSuccess

func (o *SearchOrgsConflict) IsSuccess() bool

IsSuccess returns true when this search orgs conflict response has a 2xx status code

func (*SearchOrgsConflict) String

func (o *SearchOrgsConflict) String() string

type SearchOrgsForbidden

type SearchOrgsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewSearchOrgsForbidden

func NewSearchOrgsForbidden() *SearchOrgsForbidden

NewSearchOrgsForbidden creates a SearchOrgsForbidden with default headers values

func (*SearchOrgsForbidden) Code

func (o *SearchOrgsForbidden) Code() int

Code gets the status code for the search orgs forbidden response

func (*SearchOrgsForbidden) Error

func (o *SearchOrgsForbidden) Error() string

func (*SearchOrgsForbidden) GetPayload

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

func (*SearchOrgsForbidden) IsClientError

func (o *SearchOrgsForbidden) IsClientError() bool

IsClientError returns true when this search orgs forbidden response has a 4xx status code

func (*SearchOrgsForbidden) IsCode

func (o *SearchOrgsForbidden) IsCode(code int) bool

IsCode returns true when this search orgs forbidden response a status code equal to that given

func (*SearchOrgsForbidden) IsRedirect

func (o *SearchOrgsForbidden) IsRedirect() bool

IsRedirect returns true when this search orgs forbidden response has a 3xx status code

func (*SearchOrgsForbidden) IsServerError

func (o *SearchOrgsForbidden) IsServerError() bool

IsServerError returns true when this search orgs forbidden response has a 5xx status code

func (*SearchOrgsForbidden) IsSuccess

func (o *SearchOrgsForbidden) IsSuccess() bool

IsSuccess returns true when this search orgs forbidden response has a 2xx status code

func (*SearchOrgsForbidden) String

func (o *SearchOrgsForbidden) String() string

type SearchOrgsInternalServerError

type SearchOrgsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewSearchOrgsInternalServerError

func NewSearchOrgsInternalServerError() *SearchOrgsInternalServerError

NewSearchOrgsInternalServerError creates a SearchOrgsInternalServerError with default headers values

func (*SearchOrgsInternalServerError) Code

Code gets the status code for the search orgs internal server error response

func (*SearchOrgsInternalServerError) Error

func (*SearchOrgsInternalServerError) GetPayload

func (*SearchOrgsInternalServerError) IsClientError

func (o *SearchOrgsInternalServerError) IsClientError() bool

IsClientError returns true when this search orgs internal server error response has a 4xx status code

func (*SearchOrgsInternalServerError) IsCode

func (o *SearchOrgsInternalServerError) IsCode(code int) bool

IsCode returns true when this search orgs internal server error response a status code equal to that given

func (*SearchOrgsInternalServerError) IsRedirect

func (o *SearchOrgsInternalServerError) IsRedirect() bool

IsRedirect returns true when this search orgs internal server error response has a 3xx status code

func (*SearchOrgsInternalServerError) IsServerError

func (o *SearchOrgsInternalServerError) IsServerError() bool

IsServerError returns true when this search orgs internal server error response has a 5xx status code

func (*SearchOrgsInternalServerError) IsSuccess

func (o *SearchOrgsInternalServerError) IsSuccess() bool

IsSuccess returns true when this search orgs internal server error response has a 2xx status code

func (*SearchOrgsInternalServerError) String

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) Code

func (o *SearchOrgsOK) Code() int

Code gets the status code for the search orgs Ok response

func (*SearchOrgsOK) Error

func (o *SearchOrgsOK) Error() string

func (*SearchOrgsOK) GetPayload

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

func (*SearchOrgsOK) IsClientError

func (o *SearchOrgsOK) IsClientError() bool

IsClientError returns true when this search orgs Ok response has a 4xx status code

func (*SearchOrgsOK) IsCode

func (o *SearchOrgsOK) IsCode(code int) bool

IsCode returns true when this search orgs Ok response a status code equal to that given

func (*SearchOrgsOK) IsRedirect

func (o *SearchOrgsOK) IsRedirect() bool

IsRedirect returns true when this search orgs Ok response has a 3xx status code

func (*SearchOrgsOK) IsServerError

func (o *SearchOrgsOK) IsServerError() bool

IsServerError returns true when this search orgs Ok response has a 5xx status code

func (*SearchOrgsOK) IsSuccess

func (o *SearchOrgsOK) IsSuccess() bool

IsSuccess returns true when this search orgs Ok response has a 2xx status code

func (*SearchOrgsOK) String

func (o *SearchOrgsOK) String() string

type SearchOrgsParams

type SearchOrgsParams struct {

	// Name.
	Name *string

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

	/* Perpage.

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

	     Format: int64
	     Default: 1000
	*/
	Perpage *int64

	/* Query.

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

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

SearchOrgsParams contains all the parameters to send to the API endpoint

for the search orgs operation.

Typically these are written to a http.Request.

func NewSearchOrgsParams

func NewSearchOrgsParams() *SearchOrgsParams

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

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

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

func NewSearchOrgsParamsWithContext

func NewSearchOrgsParamsWithContext(ctx context.Context) *SearchOrgsParams

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

func NewSearchOrgsParamsWithHTTPClient

func NewSearchOrgsParamsWithHTTPClient(client *http.Client) *SearchOrgsParams

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

func NewSearchOrgsParamsWithTimeout

func NewSearchOrgsParamsWithTimeout(timeout time.Duration) *SearchOrgsParams

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

func (*SearchOrgsParams) SetContext

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

SetContext adds the context to the search orgs params

func (*SearchOrgsParams) SetDefaults

func (o *SearchOrgsParams) SetDefaults()

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

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

func (*SearchOrgsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search orgs params

func (*SearchOrgsParams) SetName

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

SetName adds the name to the search orgs params

func (*SearchOrgsParams) SetPage

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

SetPage adds the page to the search orgs params

func (*SearchOrgsParams) SetPerpage

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

SetPerpage adds the perpage to the search orgs params

func (*SearchOrgsParams) SetQuery

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

SetQuery adds the query to the search orgs params

func (*SearchOrgsParams) SetTimeout

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

SetTimeout adds the timeout to the search orgs params

func (*SearchOrgsParams) WithContext

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

WithContext adds the context to the search orgs params

func (*SearchOrgsParams) WithDefaults

func (o *SearchOrgsParams) WithDefaults() *SearchOrgsParams

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

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

func (*SearchOrgsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search orgs params

func (*SearchOrgsParams) WithName

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

WithName adds the name to the search orgs params

func (*SearchOrgsParams) WithPage

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

WithPage adds the page to the search orgs params

func (*SearchOrgsParams) WithPerpage

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

WithPerpage adds the perpage to the search orgs params

func (*SearchOrgsParams) WithQuery

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

WithQuery adds the query to the search orgs params

func (*SearchOrgsParams) WithTimeout

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

WithTimeout adds the timeout to the search orgs params

func (*SearchOrgsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchOrgsReader

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

SearchOrgsReader is a Reader for the SearchOrgs structure.

func (*SearchOrgsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchOrgsUnauthorized

type SearchOrgsUnauthorized struct {
	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) Code

func (o *SearchOrgsUnauthorized) Code() int

Code gets the status code for the search orgs unauthorized response

func (*SearchOrgsUnauthorized) Error

func (o *SearchOrgsUnauthorized) Error() string

func (*SearchOrgsUnauthorized) GetPayload

func (*SearchOrgsUnauthorized) IsClientError

func (o *SearchOrgsUnauthorized) IsClientError() bool

IsClientError returns true when this search orgs unauthorized response has a 4xx status code

func (*SearchOrgsUnauthorized) IsCode

func (o *SearchOrgsUnauthorized) IsCode(code int) bool

IsCode returns true when this search orgs unauthorized response a status code equal to that given

func (*SearchOrgsUnauthorized) IsRedirect

func (o *SearchOrgsUnauthorized) IsRedirect() bool

IsRedirect returns true when this search orgs unauthorized response has a 3xx status code

func (*SearchOrgsUnauthorized) IsServerError

func (o *SearchOrgsUnauthorized) IsServerError() bool

IsServerError returns true when this search orgs unauthorized response has a 5xx status code

func (*SearchOrgsUnauthorized) IsSuccess

func (o *SearchOrgsUnauthorized) IsSuccess() bool

IsSuccess returns true when this search orgs unauthorized response has a 2xx status code

func (*SearchOrgsUnauthorized) String

func (o *SearchOrgsUnauthorized) String() string

type UpdateOrgAddressBadRequest

type UpdateOrgAddressBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgAddressBadRequest

func NewUpdateOrgAddressBadRequest() *UpdateOrgAddressBadRequest

NewUpdateOrgAddressBadRequest creates a UpdateOrgAddressBadRequest with default headers values

func (*UpdateOrgAddressBadRequest) Code

func (o *UpdateOrgAddressBadRequest) Code() int

Code gets the status code for the update org address bad request response

func (*UpdateOrgAddressBadRequest) Error

func (*UpdateOrgAddressBadRequest) GetPayload

func (*UpdateOrgAddressBadRequest) IsClientError

func (o *UpdateOrgAddressBadRequest) IsClientError() bool

IsClientError returns true when this update org address bad request response has a 4xx status code

func (*UpdateOrgAddressBadRequest) IsCode

func (o *UpdateOrgAddressBadRequest) IsCode(code int) bool

IsCode returns true when this update org address bad request response a status code equal to that given

func (*UpdateOrgAddressBadRequest) IsRedirect

func (o *UpdateOrgAddressBadRequest) IsRedirect() bool

IsRedirect returns true when this update org address bad request response has a 3xx status code

func (*UpdateOrgAddressBadRequest) IsServerError

func (o *UpdateOrgAddressBadRequest) IsServerError() bool

IsServerError returns true when this update org address bad request response has a 5xx status code

func (*UpdateOrgAddressBadRequest) IsSuccess

func (o *UpdateOrgAddressBadRequest) IsSuccess() bool

IsSuccess returns true when this update org address bad request response has a 2xx status code

func (*UpdateOrgAddressBadRequest) String

func (o *UpdateOrgAddressBadRequest) String() string

type UpdateOrgAddressForbidden

type UpdateOrgAddressForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgAddressForbidden

func NewUpdateOrgAddressForbidden() *UpdateOrgAddressForbidden

NewUpdateOrgAddressForbidden creates a UpdateOrgAddressForbidden with default headers values

func (*UpdateOrgAddressForbidden) Code

func (o *UpdateOrgAddressForbidden) Code() int

Code gets the status code for the update org address forbidden response

func (*UpdateOrgAddressForbidden) Error

func (o *UpdateOrgAddressForbidden) Error() string

func (*UpdateOrgAddressForbidden) GetPayload

func (*UpdateOrgAddressForbidden) IsClientError

func (o *UpdateOrgAddressForbidden) IsClientError() bool

IsClientError returns true when this update org address forbidden response has a 4xx status code

func (*UpdateOrgAddressForbidden) IsCode

func (o *UpdateOrgAddressForbidden) IsCode(code int) bool

IsCode returns true when this update org address forbidden response a status code equal to that given

func (*UpdateOrgAddressForbidden) IsRedirect

func (o *UpdateOrgAddressForbidden) IsRedirect() bool

IsRedirect returns true when this update org address forbidden response has a 3xx status code

func (*UpdateOrgAddressForbidden) IsServerError

func (o *UpdateOrgAddressForbidden) IsServerError() bool

IsServerError returns true when this update org address forbidden response has a 5xx status code

func (*UpdateOrgAddressForbidden) IsSuccess

func (o *UpdateOrgAddressForbidden) IsSuccess() bool

IsSuccess returns true when this update org address forbidden response has a 2xx status code

func (*UpdateOrgAddressForbidden) String

func (o *UpdateOrgAddressForbidden) String() string

type UpdateOrgAddressInternalServerError

type UpdateOrgAddressInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgAddressInternalServerError

func NewUpdateOrgAddressInternalServerError() *UpdateOrgAddressInternalServerError

NewUpdateOrgAddressInternalServerError creates a UpdateOrgAddressInternalServerError with default headers values

func (*UpdateOrgAddressInternalServerError) Code

Code gets the status code for the update org address internal server error response

func (*UpdateOrgAddressInternalServerError) Error

func (*UpdateOrgAddressInternalServerError) GetPayload

func (*UpdateOrgAddressInternalServerError) IsClientError

func (o *UpdateOrgAddressInternalServerError) IsClientError() bool

IsClientError returns true when this update org address internal server error response has a 4xx status code

func (*UpdateOrgAddressInternalServerError) IsCode

IsCode returns true when this update org address internal server error response a status code equal to that given

func (*UpdateOrgAddressInternalServerError) IsRedirect

func (o *UpdateOrgAddressInternalServerError) IsRedirect() bool

IsRedirect returns true when this update org address internal server error response has a 3xx status code

func (*UpdateOrgAddressInternalServerError) IsServerError

func (o *UpdateOrgAddressInternalServerError) IsServerError() bool

IsServerError returns true when this update org address internal server error response has a 5xx status code

func (*UpdateOrgAddressInternalServerError) IsSuccess

IsSuccess returns true when this update org address internal server error response has a 2xx status code

func (*UpdateOrgAddressInternalServerError) String

type UpdateOrgAddressOK

type UpdateOrgAddressOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgAddressOK

func NewUpdateOrgAddressOK() *UpdateOrgAddressOK

NewUpdateOrgAddressOK creates a UpdateOrgAddressOK with default headers values

func (*UpdateOrgAddressOK) Code

func (o *UpdateOrgAddressOK) Code() int

Code gets the status code for the update org address Ok response

func (*UpdateOrgAddressOK) Error

func (o *UpdateOrgAddressOK) Error() string

func (*UpdateOrgAddressOK) GetPayload

func (*UpdateOrgAddressOK) IsClientError

func (o *UpdateOrgAddressOK) IsClientError() bool

IsClientError returns true when this update org address Ok response has a 4xx status code

func (*UpdateOrgAddressOK) IsCode

func (o *UpdateOrgAddressOK) IsCode(code int) bool

IsCode returns true when this update org address Ok response a status code equal to that given

func (*UpdateOrgAddressOK) IsRedirect

func (o *UpdateOrgAddressOK) IsRedirect() bool

IsRedirect returns true when this update org address Ok response has a 3xx status code

func (*UpdateOrgAddressOK) IsServerError

func (o *UpdateOrgAddressOK) IsServerError() bool

IsServerError returns true when this update org address Ok response has a 5xx status code

func (*UpdateOrgAddressOK) IsSuccess

func (o *UpdateOrgAddressOK) IsSuccess() bool

IsSuccess returns true when this update org address Ok response has a 2xx status code

func (*UpdateOrgAddressOK) String

func (o *UpdateOrgAddressOK) String() string

type UpdateOrgAddressParams

type UpdateOrgAddressParams struct {

	// Body.
	Body *models.UpdateOrgAddressForm

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

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

UpdateOrgAddressParams contains all the parameters to send to the API endpoint

for the update org address operation.

Typically these are written to a http.Request.

func NewUpdateOrgAddressParams

func NewUpdateOrgAddressParams() *UpdateOrgAddressParams

NewUpdateOrgAddressParams creates a new UpdateOrgAddressParams object, with the default timeout for this client.

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

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

func NewUpdateOrgAddressParamsWithContext

func NewUpdateOrgAddressParamsWithContext(ctx context.Context) *UpdateOrgAddressParams

NewUpdateOrgAddressParamsWithContext creates a new UpdateOrgAddressParams object with the ability to set a context for a request.

func NewUpdateOrgAddressParamsWithHTTPClient

func NewUpdateOrgAddressParamsWithHTTPClient(client *http.Client) *UpdateOrgAddressParams

NewUpdateOrgAddressParamsWithHTTPClient creates a new UpdateOrgAddressParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgAddressParamsWithTimeout

func NewUpdateOrgAddressParamsWithTimeout(timeout time.Duration) *UpdateOrgAddressParams

NewUpdateOrgAddressParamsWithTimeout creates a new UpdateOrgAddressParams object with the ability to set a timeout on a request.

func (*UpdateOrgAddressParams) SetBody

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) Code

Code gets the status code for the update org address unauthorized response

func (*UpdateOrgAddressUnauthorized) Error

func (*UpdateOrgAddressUnauthorized) GetPayload

func (*UpdateOrgAddressUnauthorized) IsClientError

func (o *UpdateOrgAddressUnauthorized) IsClientError() bool

IsClientError returns true when this update org address unauthorized response has a 4xx status code

func (*UpdateOrgAddressUnauthorized) IsCode

func (o *UpdateOrgAddressUnauthorized) IsCode(code int) bool

IsCode returns true when this update org address unauthorized response a status code equal to that given

func (*UpdateOrgAddressUnauthorized) IsRedirect

func (o *UpdateOrgAddressUnauthorized) IsRedirect() bool

IsRedirect returns true when this update org address unauthorized response has a 3xx status code

func (*UpdateOrgAddressUnauthorized) IsServerError

func (o *UpdateOrgAddressUnauthorized) IsServerError() bool

IsServerError returns true when this update org address unauthorized response has a 5xx status code

func (*UpdateOrgAddressUnauthorized) IsSuccess

func (o *UpdateOrgAddressUnauthorized) IsSuccess() bool

IsSuccess returns true when this update org address unauthorized response has a 2xx status code

func (*UpdateOrgAddressUnauthorized) String

type UpdateOrgBadRequest

type UpdateOrgBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgBadRequest

func NewUpdateOrgBadRequest() *UpdateOrgBadRequest

NewUpdateOrgBadRequest creates a UpdateOrgBadRequest with default headers values

func (*UpdateOrgBadRequest) Code

func (o *UpdateOrgBadRequest) Code() int

Code gets the status code for the update org bad request response

func (*UpdateOrgBadRequest) Error

func (o *UpdateOrgBadRequest) Error() string

func (*UpdateOrgBadRequest) GetPayload

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

func (*UpdateOrgBadRequest) IsClientError

func (o *UpdateOrgBadRequest) IsClientError() bool

IsClientError returns true when this update org bad request response has a 4xx status code

func (*UpdateOrgBadRequest) IsCode

func (o *UpdateOrgBadRequest) IsCode(code int) bool

IsCode returns true when this update org bad request response a status code equal to that given

func (*UpdateOrgBadRequest) IsRedirect

func (o *UpdateOrgBadRequest) IsRedirect() bool

IsRedirect returns true when this update org bad request response has a 3xx status code

func (*UpdateOrgBadRequest) IsServerError

func (o *UpdateOrgBadRequest) IsServerError() bool

IsServerError returns true when this update org bad request response has a 5xx status code

func (*UpdateOrgBadRequest) IsSuccess

func (o *UpdateOrgBadRequest) IsSuccess() bool

IsSuccess returns true when this update org bad request response has a 2xx status code

func (*UpdateOrgBadRequest) String

func (o *UpdateOrgBadRequest) String() string

type UpdateOrgForbidden

type UpdateOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgForbidden

func NewUpdateOrgForbidden() *UpdateOrgForbidden

NewUpdateOrgForbidden creates a UpdateOrgForbidden with default headers values

func (*UpdateOrgForbidden) Code

func (o *UpdateOrgForbidden) Code() int

Code gets the status code for the update org forbidden response

func (*UpdateOrgForbidden) Error

func (o *UpdateOrgForbidden) Error() string

func (*UpdateOrgForbidden) GetPayload

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

func (*UpdateOrgForbidden) IsClientError

func (o *UpdateOrgForbidden) IsClientError() bool

IsClientError returns true when this update org forbidden response has a 4xx status code

func (*UpdateOrgForbidden) IsCode

func (o *UpdateOrgForbidden) IsCode(code int) bool

IsCode returns true when this update org forbidden response a status code equal to that given

func (*UpdateOrgForbidden) IsRedirect

func (o *UpdateOrgForbidden) IsRedirect() bool

IsRedirect returns true when this update org forbidden response has a 3xx status code

func (*UpdateOrgForbidden) IsServerError

func (o *UpdateOrgForbidden) IsServerError() bool

IsServerError returns true when this update org forbidden response has a 5xx status code

func (*UpdateOrgForbidden) IsSuccess

func (o *UpdateOrgForbidden) IsSuccess() bool

IsSuccess returns true when this update org forbidden response has a 2xx status code

func (*UpdateOrgForbidden) String

func (o *UpdateOrgForbidden) String() string

type UpdateOrgInternalServerError

type UpdateOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgInternalServerError

func NewUpdateOrgInternalServerError() *UpdateOrgInternalServerError

NewUpdateOrgInternalServerError creates a UpdateOrgInternalServerError with default headers values

func (*UpdateOrgInternalServerError) Code

Code gets the status code for the update org internal server error response

func (*UpdateOrgInternalServerError) Error

func (*UpdateOrgInternalServerError) GetPayload

func (*UpdateOrgInternalServerError) IsClientError

func (o *UpdateOrgInternalServerError) IsClientError() bool

IsClientError returns true when this update org internal server error response has a 4xx status code

func (*UpdateOrgInternalServerError) IsCode

func (o *UpdateOrgInternalServerError) IsCode(code int) bool

IsCode returns true when this update org internal server error response a status code equal to that given

func (*UpdateOrgInternalServerError) IsRedirect

func (o *UpdateOrgInternalServerError) IsRedirect() bool

IsRedirect returns true when this update org internal server error response has a 3xx status code

func (*UpdateOrgInternalServerError) IsServerError

func (o *UpdateOrgInternalServerError) IsServerError() bool

IsServerError returns true when this update org internal server error response has a 5xx status code

func (*UpdateOrgInternalServerError) IsSuccess

func (o *UpdateOrgInternalServerError) IsSuccess() bool

IsSuccess returns true when this update org internal server error response has a 2xx status code

func (*UpdateOrgInternalServerError) String

type UpdateOrgOK

type UpdateOrgOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgOK

func NewUpdateOrgOK() *UpdateOrgOK

NewUpdateOrgOK creates a UpdateOrgOK with default headers values

func (*UpdateOrgOK) Code

func (o *UpdateOrgOK) Code() int

Code gets the status code for the update org Ok response

func (*UpdateOrgOK) Error

func (o *UpdateOrgOK) Error() string

func (*UpdateOrgOK) GetPayload

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

func (*UpdateOrgOK) IsClientError

func (o *UpdateOrgOK) IsClientError() bool

IsClientError returns true when this update org Ok response has a 4xx status code

func (*UpdateOrgOK) IsCode

func (o *UpdateOrgOK) IsCode(code int) bool

IsCode returns true when this update org Ok response a status code equal to that given

func (*UpdateOrgOK) IsRedirect

func (o *UpdateOrgOK) IsRedirect() bool

IsRedirect returns true when this update org Ok response has a 3xx status code

func (*UpdateOrgOK) IsServerError

func (o *UpdateOrgOK) IsServerError() bool

IsServerError returns true when this update org Ok response has a 5xx status code

func (*UpdateOrgOK) IsSuccess

func (o *UpdateOrgOK) IsSuccess() bool

IsSuccess returns true when this update org Ok response has a 2xx status code

func (*UpdateOrgOK) String

func (o *UpdateOrgOK) String() string

type UpdateOrgParams

type UpdateOrgParams struct {

	// Body.
	Body *models.UpdateOrgForm

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

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

UpdateOrgParams contains all the parameters to send to the API endpoint

for the update org operation.

Typically these are written to a http.Request.

func NewUpdateOrgParams

func NewUpdateOrgParams() *UpdateOrgParams

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

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

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

func NewUpdateOrgParamsWithContext

func NewUpdateOrgParamsWithContext(ctx context.Context) *UpdateOrgParams

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

func NewUpdateOrgParamsWithHTTPClient

func NewUpdateOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgParams

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

func NewUpdateOrgParamsWithTimeout

func NewUpdateOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgParams

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

func (*UpdateOrgParams) SetBody

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

SetBody adds the body to the update org params

func (*UpdateOrgParams) SetContext

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

SetContext adds the context to the update org params

func (*UpdateOrgParams) SetDefaults

func (o *UpdateOrgParams) SetDefaults()

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

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

func (*UpdateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) SetOrgID

func (o *UpdateOrgParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the update org params

func (*UpdateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the update org params

func (*UpdateOrgParams) WithBody

WithBody adds the body to the update org params

func (*UpdateOrgParams) WithContext

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

WithContext adds the context to the update org params

func (*UpdateOrgParams) WithDefaults

func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams

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

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

func (*UpdateOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) WithOrgID

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

WithOrgID adds the orgID to the update org params

func (*UpdateOrgParams) WithTimeout

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

WithTimeout adds the timeout to the update org params

func (*UpdateOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateOrgQuotaForbidden

type UpdateOrgQuotaForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgQuotaForbidden

func NewUpdateOrgQuotaForbidden() *UpdateOrgQuotaForbidden

NewUpdateOrgQuotaForbidden creates a UpdateOrgQuotaForbidden with default headers values

func (*UpdateOrgQuotaForbidden) Code

func (o *UpdateOrgQuotaForbidden) Code() int

Code gets the status code for the update org quota forbidden response

func (*UpdateOrgQuotaForbidden) Error

func (o *UpdateOrgQuotaForbidden) Error() string

func (*UpdateOrgQuotaForbidden) GetPayload

func (*UpdateOrgQuotaForbidden) IsClientError

func (o *UpdateOrgQuotaForbidden) IsClientError() bool

IsClientError returns true when this update org quota forbidden response has a 4xx status code

func (*UpdateOrgQuotaForbidden) IsCode

func (o *UpdateOrgQuotaForbidden) IsCode(code int) bool

IsCode returns true when this update org quota forbidden response a status code equal to that given

func (*UpdateOrgQuotaForbidden) IsRedirect

func (o *UpdateOrgQuotaForbidden) IsRedirect() bool

IsRedirect returns true when this update org quota forbidden response has a 3xx status code

func (*UpdateOrgQuotaForbidden) IsServerError

func (o *UpdateOrgQuotaForbidden) IsServerError() bool

IsServerError returns true when this update org quota forbidden response has a 5xx status code

func (*UpdateOrgQuotaForbidden) IsSuccess

func (o *UpdateOrgQuotaForbidden) IsSuccess() bool

IsSuccess returns true when this update org quota forbidden response has a 2xx status code

func (*UpdateOrgQuotaForbidden) String

func (o *UpdateOrgQuotaForbidden) String() string

type UpdateOrgQuotaInternalServerError

type UpdateOrgQuotaInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgQuotaInternalServerError

func NewUpdateOrgQuotaInternalServerError() *UpdateOrgQuotaInternalServerError

NewUpdateOrgQuotaInternalServerError creates a UpdateOrgQuotaInternalServerError with default headers values

func (*UpdateOrgQuotaInternalServerError) Code

Code gets the status code for the update org quota internal server error response

func (*UpdateOrgQuotaInternalServerError) Error

func (*UpdateOrgQuotaInternalServerError) GetPayload

func (*UpdateOrgQuotaInternalServerError) IsClientError

func (o *UpdateOrgQuotaInternalServerError) IsClientError() bool

IsClientError returns true when this update org quota internal server error response has a 4xx status code

func (*UpdateOrgQuotaInternalServerError) IsCode

func (o *UpdateOrgQuotaInternalServerError) IsCode(code int) bool

IsCode returns true when this update org quota internal server error response a status code equal to that given

func (*UpdateOrgQuotaInternalServerError) IsRedirect

func (o *UpdateOrgQuotaInternalServerError) IsRedirect() bool

IsRedirect returns true when this update org quota internal server error response has a 3xx status code

func (*UpdateOrgQuotaInternalServerError) IsServerError

func (o *UpdateOrgQuotaInternalServerError) IsServerError() bool

IsServerError returns true when this update org quota internal server error response has a 5xx status code

func (*UpdateOrgQuotaInternalServerError) IsSuccess

func (o *UpdateOrgQuotaInternalServerError) IsSuccess() bool

IsSuccess returns true when this update org quota internal server error response has a 2xx status code

func (*UpdateOrgQuotaInternalServerError) String

type UpdateOrgQuotaNotFound

type UpdateOrgQuotaNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewUpdateOrgQuotaNotFound

func NewUpdateOrgQuotaNotFound() *UpdateOrgQuotaNotFound

NewUpdateOrgQuotaNotFound creates a UpdateOrgQuotaNotFound with default headers values

func (*UpdateOrgQuotaNotFound) Code

func (o *UpdateOrgQuotaNotFound) Code() int

Code gets the status code for the update org quota not found response

func (*UpdateOrgQuotaNotFound) Error

func (o *UpdateOrgQuotaNotFound) Error() string

func (*UpdateOrgQuotaNotFound) GetPayload

func (*UpdateOrgQuotaNotFound) IsClientError

func (o *UpdateOrgQuotaNotFound) IsClientError() bool

IsClientError returns true when this update org quota not found response has a 4xx status code

func (*UpdateOrgQuotaNotFound) IsCode

func (o *UpdateOrgQuotaNotFound) IsCode(code int) bool

IsCode returns true when this update org quota not found response a status code equal to that given

func (*UpdateOrgQuotaNotFound) IsRedirect

func (o *UpdateOrgQuotaNotFound) IsRedirect() bool

IsRedirect returns true when this update org quota not found response has a 3xx status code

func (*UpdateOrgQuotaNotFound) IsServerError

func (o *UpdateOrgQuotaNotFound) IsServerError() bool

IsServerError returns true when this update org quota not found response has a 5xx status code

func (*UpdateOrgQuotaNotFound) IsSuccess

func (o *UpdateOrgQuotaNotFound) IsSuccess() bool

IsSuccess returns true when this update org quota not found response has a 2xx status code

func (*UpdateOrgQuotaNotFound) String

func (o *UpdateOrgQuotaNotFound) String() string

type UpdateOrgQuotaOK

type UpdateOrgQuotaOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgQuotaOK

func NewUpdateOrgQuotaOK() *UpdateOrgQuotaOK

NewUpdateOrgQuotaOK creates a UpdateOrgQuotaOK with default headers values

func (*UpdateOrgQuotaOK) Code

func (o *UpdateOrgQuotaOK) Code() int

Code gets the status code for the update org quota Ok response

func (*UpdateOrgQuotaOK) Error

func (o *UpdateOrgQuotaOK) Error() string

func (*UpdateOrgQuotaOK) GetPayload

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

func (*UpdateOrgQuotaOK) IsClientError

func (o *UpdateOrgQuotaOK) IsClientError() bool

IsClientError returns true when this update org quota Ok response has a 4xx status code

func (*UpdateOrgQuotaOK) IsCode

func (o *UpdateOrgQuotaOK) IsCode(code int) bool

IsCode returns true when this update org quota Ok response a status code equal to that given

func (*UpdateOrgQuotaOK) IsRedirect

func (o *UpdateOrgQuotaOK) IsRedirect() bool

IsRedirect returns true when this update org quota Ok response has a 3xx status code

func (*UpdateOrgQuotaOK) IsServerError

func (o *UpdateOrgQuotaOK) IsServerError() bool

IsServerError returns true when this update org quota Ok response has a 5xx status code

func (*UpdateOrgQuotaOK) IsSuccess

func (o *UpdateOrgQuotaOK) IsSuccess() bool

IsSuccess returns true when this update org quota Ok response has a 2xx status code

func (*UpdateOrgQuotaOK) String

func (o *UpdateOrgQuotaOK) String() string

type UpdateOrgQuotaParams

type UpdateOrgQuotaParams struct {

	// Body.
	Body *models.UpdateQuotaCmd

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

	// QuotaTarget.
	QuotaTarget string

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

UpdateOrgQuotaParams contains all the parameters to send to the API endpoint

for the update org quota operation.

Typically these are written to a http.Request.

func NewUpdateOrgQuotaParams

func NewUpdateOrgQuotaParams() *UpdateOrgQuotaParams

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

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

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

func NewUpdateOrgQuotaParamsWithContext

func NewUpdateOrgQuotaParamsWithContext(ctx context.Context) *UpdateOrgQuotaParams

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

func NewUpdateOrgQuotaParamsWithHTTPClient

func NewUpdateOrgQuotaParamsWithHTTPClient(client *http.Client) *UpdateOrgQuotaParams

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

func NewUpdateOrgQuotaParamsWithTimeout

func NewUpdateOrgQuotaParamsWithTimeout(timeout time.Duration) *UpdateOrgQuotaParams

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

func (*UpdateOrgQuotaParams) SetBody

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

SetBody adds the body to the update org quota params

func (*UpdateOrgQuotaParams) SetContext

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

SetContext adds the context to the update org quota params

func (*UpdateOrgQuotaParams) SetDefaults

func (o *UpdateOrgQuotaParams) SetDefaults()

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

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

func (*UpdateOrgQuotaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org quota params

func (*UpdateOrgQuotaParams) SetOrgID

func (o *UpdateOrgQuotaParams) SetOrgID(orgID int64)

SetOrgID adds the orgId to the update org quota params

func (*UpdateOrgQuotaParams) SetQuotaTarget

func (o *UpdateOrgQuotaParams) SetQuotaTarget(quotaTarget string)

SetQuotaTarget adds the quotaTarget to the update org quota params

func (*UpdateOrgQuotaParams) SetTimeout

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

SetTimeout adds the timeout to the update org quota params

func (*UpdateOrgQuotaParams) WithBody

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) Code

func (o *UpdateOrgQuotaUnauthorized) Code() int

Code gets the status code for the update org quota unauthorized response

func (*UpdateOrgQuotaUnauthorized) Error

func (*UpdateOrgQuotaUnauthorized) GetPayload

func (*UpdateOrgQuotaUnauthorized) IsClientError

func (o *UpdateOrgQuotaUnauthorized) IsClientError() bool

IsClientError returns true when this update org quota unauthorized response has a 4xx status code

func (*UpdateOrgQuotaUnauthorized) IsCode

func (o *UpdateOrgQuotaUnauthorized) IsCode(code int) bool

IsCode returns true when this update org quota unauthorized response a status code equal to that given

func (*UpdateOrgQuotaUnauthorized) IsRedirect

func (o *UpdateOrgQuotaUnauthorized) IsRedirect() bool

IsRedirect returns true when this update org quota unauthorized response has a 3xx status code

func (*UpdateOrgQuotaUnauthorized) IsServerError

func (o *UpdateOrgQuotaUnauthorized) IsServerError() bool

IsServerError returns true when this update org quota unauthorized response has a 5xx status code

func (*UpdateOrgQuotaUnauthorized) IsSuccess

func (o *UpdateOrgQuotaUnauthorized) IsSuccess() bool

IsSuccess returns true when this update org quota unauthorized response has a 2xx status code

func (*UpdateOrgQuotaUnauthorized) String

func (o *UpdateOrgQuotaUnauthorized) String() string

type UpdateOrgReader

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

UpdateOrgReader is a Reader for the UpdateOrg structure.

func (*UpdateOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrgUnauthorized

type UpdateOrgUnauthorized struct {
	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) Code

func (o *UpdateOrgUnauthorized) Code() int

Code gets the status code for the update org unauthorized response

func (*UpdateOrgUnauthorized) Error

func (o *UpdateOrgUnauthorized) Error() string

func (*UpdateOrgUnauthorized) GetPayload

func (*UpdateOrgUnauthorized) IsClientError

func (o *UpdateOrgUnauthorized) IsClientError() bool

IsClientError returns true when this update org unauthorized response has a 4xx status code

func (*UpdateOrgUnauthorized) IsCode

func (o *UpdateOrgUnauthorized) IsCode(code int) bool

IsCode returns true when this update org unauthorized response a status code equal to that given

func (*UpdateOrgUnauthorized) IsRedirect

func (o *UpdateOrgUnauthorized) IsRedirect() bool

IsRedirect returns true when this update org unauthorized response has a 3xx status code

func (*UpdateOrgUnauthorized) IsServerError

func (o *UpdateOrgUnauthorized) IsServerError() bool

IsServerError returns true when this update org unauthorized response has a 5xx status code

func (*UpdateOrgUnauthorized) IsSuccess

func (o *UpdateOrgUnauthorized) IsSuccess() bool

IsSuccess returns true when this update org unauthorized response has a 2xx status code

func (*UpdateOrgUnauthorized) String

func (o *UpdateOrgUnauthorized) String() string

type UpdateOrgUserBadRequest

type UpdateOrgUserBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgUserBadRequest

func NewUpdateOrgUserBadRequest() *UpdateOrgUserBadRequest

NewUpdateOrgUserBadRequest creates a UpdateOrgUserBadRequest with default headers values

func (*UpdateOrgUserBadRequest) Code

func (o *UpdateOrgUserBadRequest) Code() int

Code gets the status code for the update org user bad request response

func (*UpdateOrgUserBadRequest) Error

func (o *UpdateOrgUserBadRequest) Error() string

func (*UpdateOrgUserBadRequest) GetPayload

func (*UpdateOrgUserBadRequest) IsClientError

func (o *UpdateOrgUserBadRequest) IsClientError() bool

IsClientError returns true when this update org user bad request response has a 4xx status code

func (*UpdateOrgUserBadRequest) IsCode

func (o *UpdateOrgUserBadRequest) IsCode(code int) bool

IsCode returns true when this update org user bad request response a status code equal to that given

func (*UpdateOrgUserBadRequest) IsRedirect

func (o *UpdateOrgUserBadRequest) IsRedirect() bool

IsRedirect returns true when this update org user bad request response has a 3xx status code

func (*UpdateOrgUserBadRequest) IsServerError

func (o *UpdateOrgUserBadRequest) IsServerError() bool

IsServerError returns true when this update org user bad request response has a 5xx status code

func (*UpdateOrgUserBadRequest) IsSuccess

func (o *UpdateOrgUserBadRequest) IsSuccess() bool

IsSuccess returns true when this update org user bad request response has a 2xx status code

func (*UpdateOrgUserBadRequest) String

func (o *UpdateOrgUserBadRequest) String() string

type UpdateOrgUserForbidden

type UpdateOrgUserForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgUserForbidden

func NewUpdateOrgUserForbidden() *UpdateOrgUserForbidden

NewUpdateOrgUserForbidden creates a UpdateOrgUserForbidden with default headers values

func (*UpdateOrgUserForbidden) Code

func (o *UpdateOrgUserForbidden) Code() int

Code gets the status code for the update org user forbidden response

func (*UpdateOrgUserForbidden) Error

func (o *UpdateOrgUserForbidden) Error() string

func (*UpdateOrgUserForbidden) GetPayload

func (*UpdateOrgUserForbidden) IsClientError

func (o *UpdateOrgUserForbidden) IsClientError() bool

IsClientError returns true when this update org user forbidden response has a 4xx status code

func (*UpdateOrgUserForbidden) IsCode

func (o *UpdateOrgUserForbidden) IsCode(code int) bool

IsCode returns true when this update org user forbidden response a status code equal to that given

func (*UpdateOrgUserForbidden) IsRedirect

func (o *UpdateOrgUserForbidden) IsRedirect() bool

IsRedirect returns true when this update org user forbidden response has a 3xx status code

func (*UpdateOrgUserForbidden) IsServerError

func (o *UpdateOrgUserForbidden) IsServerError() bool

IsServerError returns true when this update org user forbidden response has a 5xx status code

func (*UpdateOrgUserForbidden) IsSuccess

func (o *UpdateOrgUserForbidden) IsSuccess() bool

IsSuccess returns true when this update org user forbidden response has a 2xx status code

func (*UpdateOrgUserForbidden) String

func (o *UpdateOrgUserForbidden) String() string

type UpdateOrgUserInternalServerError

type UpdateOrgUserInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgUserInternalServerError

func NewUpdateOrgUserInternalServerError() *UpdateOrgUserInternalServerError

NewUpdateOrgUserInternalServerError creates a UpdateOrgUserInternalServerError with default headers values

func (*UpdateOrgUserInternalServerError) Code

Code gets the status code for the update org user internal server error response

func (*UpdateOrgUserInternalServerError) Error

func (*UpdateOrgUserInternalServerError) GetPayload

func (*UpdateOrgUserInternalServerError) IsClientError

func (o *UpdateOrgUserInternalServerError) IsClientError() bool

IsClientError returns true when this update org user internal server error response has a 4xx status code

func (*UpdateOrgUserInternalServerError) IsCode

func (o *UpdateOrgUserInternalServerError) IsCode(code int) bool

IsCode returns true when this update org user internal server error response a status code equal to that given

func (*UpdateOrgUserInternalServerError) IsRedirect

func (o *UpdateOrgUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this update org user internal server error response has a 3xx status code

func (*UpdateOrgUserInternalServerError) IsServerError

func (o *UpdateOrgUserInternalServerError) IsServerError() bool

IsServerError returns true when this update org user internal server error response has a 5xx status code

func (*UpdateOrgUserInternalServerError) IsSuccess

func (o *UpdateOrgUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this update org user internal server error response has a 2xx status code

func (*UpdateOrgUserInternalServerError) String

type UpdateOrgUserOK

type UpdateOrgUserOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgUserOK

func NewUpdateOrgUserOK() *UpdateOrgUserOK

NewUpdateOrgUserOK creates a UpdateOrgUserOK with default headers values

func (*UpdateOrgUserOK) Code

func (o *UpdateOrgUserOK) Code() int

Code gets the status code for the update org user Ok response

func (*UpdateOrgUserOK) Error

func (o *UpdateOrgUserOK) Error() string

func (*UpdateOrgUserOK) GetPayload

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

func (*UpdateOrgUserOK) IsClientError

func (o *UpdateOrgUserOK) IsClientError() bool

IsClientError returns true when this update org user Ok response has a 4xx status code

func (*UpdateOrgUserOK) IsCode

func (o *UpdateOrgUserOK) IsCode(code int) bool

IsCode returns true when this update org user Ok response a status code equal to that given

func (*UpdateOrgUserOK) IsRedirect

func (o *UpdateOrgUserOK) IsRedirect() bool

IsRedirect returns true when this update org user Ok response has a 3xx status code

func (*UpdateOrgUserOK) IsServerError

func (o *UpdateOrgUserOK) IsServerError() bool

IsServerError returns true when this update org user Ok response has a 5xx status code

func (*UpdateOrgUserOK) IsSuccess

func (o *UpdateOrgUserOK) IsSuccess() bool

IsSuccess returns true when this update org user Ok response has a 2xx status code

func (*UpdateOrgUserOK) String

func (o *UpdateOrgUserOK) String() string

type UpdateOrgUserParams

type UpdateOrgUserParams struct {

	// Body.
	Body *models.UpdateOrgUserCommand

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

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

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

UpdateOrgUserParams contains all the parameters to send to the API endpoint

for the update org user operation.

Typically these are written to a http.Request.

func NewUpdateOrgUserParams

func NewUpdateOrgUserParams() *UpdateOrgUserParams

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

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

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

func NewUpdateOrgUserParamsWithContext

func NewUpdateOrgUserParamsWithContext(ctx context.Context) *UpdateOrgUserParams

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

func NewUpdateOrgUserParamsWithHTTPClient

func NewUpdateOrgUserParamsWithHTTPClient(client *http.Client) *UpdateOrgUserParams

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

func NewUpdateOrgUserParamsWithTimeout

func NewUpdateOrgUserParamsWithTimeout(timeout time.Duration) *UpdateOrgUserParams

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

func (*UpdateOrgUserParams) SetBody

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) Code

func (o *UpdateOrgUserUnauthorized) Code() int

Code gets the status code for the update org user unauthorized response

func (*UpdateOrgUserUnauthorized) Error

func (o *UpdateOrgUserUnauthorized) Error() string

func (*UpdateOrgUserUnauthorized) GetPayload

func (*UpdateOrgUserUnauthorized) IsClientError

func (o *UpdateOrgUserUnauthorized) IsClientError() bool

IsClientError returns true when this update org user unauthorized response has a 4xx status code

func (*UpdateOrgUserUnauthorized) IsCode

func (o *UpdateOrgUserUnauthorized) IsCode(code int) bool

IsCode returns true when this update org user unauthorized response a status code equal to that given

func (*UpdateOrgUserUnauthorized) IsRedirect

func (o *UpdateOrgUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this update org user unauthorized response has a 3xx status code

func (*UpdateOrgUserUnauthorized) IsServerError

func (o *UpdateOrgUserUnauthorized) IsServerError() bool

IsServerError returns true when this update org user unauthorized response has a 5xx status code

func (*UpdateOrgUserUnauthorized) IsSuccess

func (o *UpdateOrgUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this update org user unauthorized response has a 2xx status code

func (*UpdateOrgUserUnauthorized) String

func (o *UpdateOrgUserUnauthorized) String() string

Jump to

Keyboard shortcuts

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