org

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 AddOrgUserToCurrentOrgForbidden

type AddOrgUserToCurrentOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewAddOrgUserToCurrentOrgForbidden

func NewAddOrgUserToCurrentOrgForbidden() *AddOrgUserToCurrentOrgForbidden

NewAddOrgUserToCurrentOrgForbidden creates a AddOrgUserToCurrentOrgForbidden with default headers values

func (*AddOrgUserToCurrentOrgForbidden) Code

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

func (*AddOrgUserToCurrentOrgForbidden) Error

func (*AddOrgUserToCurrentOrgForbidden) GetPayload

func (*AddOrgUserToCurrentOrgForbidden) IsClientError

func (o *AddOrgUserToCurrentOrgForbidden) IsClientError() bool

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

func (*AddOrgUserToCurrentOrgForbidden) IsCode

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

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

func (*AddOrgUserToCurrentOrgForbidden) IsRedirect

func (o *AddOrgUserToCurrentOrgForbidden) IsRedirect() bool

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

func (*AddOrgUserToCurrentOrgForbidden) IsServerError

func (o *AddOrgUserToCurrentOrgForbidden) IsServerError() bool

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

func (*AddOrgUserToCurrentOrgForbidden) IsSuccess

func (o *AddOrgUserToCurrentOrgForbidden) IsSuccess() bool

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

func (*AddOrgUserToCurrentOrgForbidden) String

type AddOrgUserToCurrentOrgInternalServerError

type AddOrgUserToCurrentOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewAddOrgUserToCurrentOrgInternalServerError

func NewAddOrgUserToCurrentOrgInternalServerError() *AddOrgUserToCurrentOrgInternalServerError

NewAddOrgUserToCurrentOrgInternalServerError creates a AddOrgUserToCurrentOrgInternalServerError with default headers values

func (*AddOrgUserToCurrentOrgInternalServerError) Code

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

func (*AddOrgUserToCurrentOrgInternalServerError) Error

func (*AddOrgUserToCurrentOrgInternalServerError) GetPayload

func (*AddOrgUserToCurrentOrgInternalServerError) IsClientError

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

func (*AddOrgUserToCurrentOrgInternalServerError) IsCode

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

func (*AddOrgUserToCurrentOrgInternalServerError) IsRedirect

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

func (*AddOrgUserToCurrentOrgInternalServerError) IsServerError

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

func (*AddOrgUserToCurrentOrgInternalServerError) IsSuccess

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

func (*AddOrgUserToCurrentOrgInternalServerError) String

type AddOrgUserToCurrentOrgOK

type AddOrgUserToCurrentOrgOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewAddOrgUserToCurrentOrgOK

func NewAddOrgUserToCurrentOrgOK() *AddOrgUserToCurrentOrgOK

NewAddOrgUserToCurrentOrgOK creates a AddOrgUserToCurrentOrgOK with default headers values

func (*AddOrgUserToCurrentOrgOK) Code

func (o *AddOrgUserToCurrentOrgOK) Code() int

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

func (*AddOrgUserToCurrentOrgOK) Error

func (o *AddOrgUserToCurrentOrgOK) Error() string

func (*AddOrgUserToCurrentOrgOK) GetPayload

func (*AddOrgUserToCurrentOrgOK) IsClientError

func (o *AddOrgUserToCurrentOrgOK) IsClientError() bool

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

func (*AddOrgUserToCurrentOrgOK) IsCode

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

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

func (*AddOrgUserToCurrentOrgOK) IsRedirect

func (o *AddOrgUserToCurrentOrgOK) IsRedirect() bool

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

func (*AddOrgUserToCurrentOrgOK) IsServerError

func (o *AddOrgUserToCurrentOrgOK) IsServerError() bool

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

func (*AddOrgUserToCurrentOrgOK) IsSuccess

func (o *AddOrgUserToCurrentOrgOK) IsSuccess() bool

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

func (*AddOrgUserToCurrentOrgOK) String

func (o *AddOrgUserToCurrentOrgOK) String() string

type AddOrgUserToCurrentOrgParams

type AddOrgUserToCurrentOrgParams struct {

	// Body.
	Body *models.AddOrgUserCommand

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

AddOrgUserToCurrentOrgParams contains all the parameters to send to the API endpoint

for the add org user to current org operation.

Typically these are written to a http.Request.

func NewAddOrgUserToCurrentOrgParams

func NewAddOrgUserToCurrentOrgParams() *AddOrgUserToCurrentOrgParams

NewAddOrgUserToCurrentOrgParams creates a new AddOrgUserToCurrentOrgParams object, with the default timeout for this client.

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

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

func NewAddOrgUserToCurrentOrgParamsWithContext

func NewAddOrgUserToCurrentOrgParamsWithContext(ctx context.Context) *AddOrgUserToCurrentOrgParams

NewAddOrgUserToCurrentOrgParamsWithContext creates a new AddOrgUserToCurrentOrgParams object with the ability to set a context for a request.

func NewAddOrgUserToCurrentOrgParamsWithHTTPClient

func NewAddOrgUserToCurrentOrgParamsWithHTTPClient(client *http.Client) *AddOrgUserToCurrentOrgParams

NewAddOrgUserToCurrentOrgParamsWithHTTPClient creates a new AddOrgUserToCurrentOrgParams object with the ability to set a custom HTTPClient for a request.

func NewAddOrgUserToCurrentOrgParamsWithTimeout

func NewAddOrgUserToCurrentOrgParamsWithTimeout(timeout time.Duration) *AddOrgUserToCurrentOrgParams

NewAddOrgUserToCurrentOrgParamsWithTimeout creates a new AddOrgUserToCurrentOrgParams object with the ability to set a timeout on a request.

func (*AddOrgUserToCurrentOrgParams) SetBody

SetBody adds the body to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) SetContext

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

SetContext adds the context to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) SetDefaults

func (o *AddOrgUserToCurrentOrgParams) SetDefaults()

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

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

func (*AddOrgUserToCurrentOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) SetTimeout

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

SetTimeout adds the timeout to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) WithBody

WithBody adds the body to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) WithContext

WithContext adds the context to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) WithDefaults

WithDefaults hydrates default values in the add org user to current org params (not the query body).

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

func (*AddOrgUserToCurrentOrgParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) WithTimeout

WithTimeout adds the timeout to the add org user to current org params

func (*AddOrgUserToCurrentOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddOrgUserToCurrentOrgReader

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

AddOrgUserToCurrentOrgReader is a Reader for the AddOrgUserToCurrentOrg structure.

func (*AddOrgUserToCurrentOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddOrgUserToCurrentOrgUnauthorized

type AddOrgUserToCurrentOrgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewAddOrgUserToCurrentOrgUnauthorized

func NewAddOrgUserToCurrentOrgUnauthorized() *AddOrgUserToCurrentOrgUnauthorized

NewAddOrgUserToCurrentOrgUnauthorized creates a AddOrgUserToCurrentOrgUnauthorized with default headers values

func (*AddOrgUserToCurrentOrgUnauthorized) Code

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

func (*AddOrgUserToCurrentOrgUnauthorized) Error

func (*AddOrgUserToCurrentOrgUnauthorized) GetPayload

func (*AddOrgUserToCurrentOrgUnauthorized) IsClientError

func (o *AddOrgUserToCurrentOrgUnauthorized) IsClientError() bool

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

func (*AddOrgUserToCurrentOrgUnauthorized) IsCode

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

func (*AddOrgUserToCurrentOrgUnauthorized) IsRedirect

func (o *AddOrgUserToCurrentOrgUnauthorized) IsRedirect() bool

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

func (*AddOrgUserToCurrentOrgUnauthorized) IsServerError

func (o *AddOrgUserToCurrentOrgUnauthorized) IsServerError() bool

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

func (*AddOrgUserToCurrentOrgUnauthorized) IsSuccess

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

func (*AddOrgUserToCurrentOrgUnauthorized) String

type Client

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

Client for org API

func (*Client) AddOrgUserToCurrentOrg

func (a *Client) AddOrgUserToCurrentOrg(body *models.AddOrgUserCommand, opts ...ClientOption) (*AddOrgUserToCurrentOrgOK, error)

AddOrgUserToCurrentOrg adds a new user to the current organization

Adds a global user to the current organization.

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

func (*Client) AddOrgUserToCurrentOrgWithParams

func (a *Client) AddOrgUserToCurrentOrgWithParams(params *AddOrgUserToCurrentOrgParams, opts ...ClientOption) (*AddOrgUserToCurrentOrgOK, error)

func (*Client) GetCurrentOrg

func (a *Client) GetCurrentOrg(opts ...ClientOption) (*GetCurrentOrgOK, error)

GetCurrentOrg gets current organization

func (*Client) GetCurrentOrgWithParams

func (a *Client) GetCurrentOrgWithParams(params *GetCurrentOrgParams, opts ...ClientOption) (*GetCurrentOrgOK, error)

func (*Client) GetOrgUsersForCurrentOrg

func (a *Client) GetOrgUsersForCurrentOrg(opts ...ClientOption) (*GetOrgUsersForCurrentOrgOK, error)

GetOrgUsersForCurrentOrg gets all users within the current organization

Returns all org users within the current organization. Accessible to users with org admin role. If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `org.users:read` with scope `users:*`.

func (*Client) GetOrgUsersForCurrentOrgLookup

func (a *Client) GetOrgUsersForCurrentOrgLookup(params *GetOrgUsersForCurrentOrgLookupParams, opts ...ClientOption) (*GetOrgUsersForCurrentOrgLookupOK, error)

func (*Client) GetOrgUsersForCurrentOrgWithParams

func (a *Client) GetOrgUsersForCurrentOrgWithParams(params *GetOrgUsersForCurrentOrgParams, opts ...ClientOption) (*GetOrgUsersForCurrentOrgOK, error)

func (*Client) RemoveOrgUserForCurrentOrg

func (a *Client) RemoveOrgUserForCurrentOrg(userID int64, opts ...ClientOption) (*RemoveOrgUserForCurrentOrgOK, error)

RemoveOrgUserForCurrentOrg deletes user in current organization

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

func (*Client) RemoveOrgUserForCurrentOrgWithParams

func (a *Client) RemoveOrgUserForCurrentOrgWithParams(params *RemoveOrgUserForCurrentOrgParams, opts ...ClientOption) (*RemoveOrgUserForCurrentOrgOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCurrentOrg

func (a *Client) UpdateCurrentOrg(body *models.UpdateOrgForm, opts ...ClientOption) (*UpdateCurrentOrgOK, error)

UpdateCurrentOrg updates current organization

func (*Client) UpdateCurrentOrgAddress

func (a *Client) UpdateCurrentOrgAddress(body *models.UpdateOrgAddressForm, opts ...ClientOption) (*UpdateCurrentOrgAddressOK, error)

UpdateCurrentOrgAddress updates current organization s address

func (*Client) UpdateCurrentOrgAddressWithParams

func (a *Client) UpdateCurrentOrgAddressWithParams(params *UpdateCurrentOrgAddressParams, opts ...ClientOption) (*UpdateCurrentOrgAddressOK, error)

func (*Client) UpdateCurrentOrgWithParams

func (a *Client) UpdateCurrentOrgWithParams(params *UpdateCurrentOrgParams, opts ...ClientOption) (*UpdateCurrentOrgOK, error)

func (*Client) UpdateOrgUserForCurrentOrg

func (a *Client) UpdateOrgUserForCurrentOrg(userID int64, body *models.UpdateOrgUserCommand, opts ...ClientOption) (*UpdateOrgUserForCurrentOrgOK, error)

UpdateOrgUserForCurrentOrg updates the given user

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

func (*Client) UpdateOrgUserForCurrentOrgWithParams

func (a *Client) UpdateOrgUserForCurrentOrgWithParams(params *UpdateOrgUserForCurrentOrgParams, opts ...ClientOption) (*UpdateOrgUserForCurrentOrgOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	AddOrgUserToCurrentOrg(body *models.AddOrgUserCommand, opts ...ClientOption) (*AddOrgUserToCurrentOrgOK, error)
	AddOrgUserToCurrentOrgWithParams(params *AddOrgUserToCurrentOrgParams, opts ...ClientOption) (*AddOrgUserToCurrentOrgOK, error)

	GetCurrentOrg(opts ...ClientOption) (*GetCurrentOrgOK, error)
	GetCurrentOrgWithParams(params *GetCurrentOrgParams, opts ...ClientOption) (*GetCurrentOrgOK, error)

	GetOrgUsersForCurrentOrg(opts ...ClientOption) (*GetOrgUsersForCurrentOrgOK, error)
	GetOrgUsersForCurrentOrgWithParams(params *GetOrgUsersForCurrentOrgParams, opts ...ClientOption) (*GetOrgUsersForCurrentOrgOK, error)

	GetOrgUsersForCurrentOrgLookup(params *GetOrgUsersForCurrentOrgLookupParams, opts ...ClientOption) (*GetOrgUsersForCurrentOrgLookupOK, error)

	RemoveOrgUserForCurrentOrg(userID int64, opts ...ClientOption) (*RemoveOrgUserForCurrentOrgOK, error)
	RemoveOrgUserForCurrentOrgWithParams(params *RemoveOrgUserForCurrentOrgParams, opts ...ClientOption) (*RemoveOrgUserForCurrentOrgOK, error)

	UpdateCurrentOrg(body *models.UpdateOrgForm, opts ...ClientOption) (*UpdateCurrentOrgOK, error)
	UpdateCurrentOrgWithParams(params *UpdateCurrentOrgParams, opts ...ClientOption) (*UpdateCurrentOrgOK, error)

	UpdateCurrentOrgAddress(body *models.UpdateOrgAddressForm, opts ...ClientOption) (*UpdateCurrentOrgAddressOK, error)
	UpdateCurrentOrgAddressWithParams(params *UpdateCurrentOrgAddressParams, opts ...ClientOption) (*UpdateCurrentOrgAddressOK, error)

	UpdateOrgUserForCurrentOrg(userID int64, body *models.UpdateOrgUserCommand, opts ...ClientOption) (*UpdateOrgUserForCurrentOrgOK, error)
	UpdateOrgUserForCurrentOrgWithParams(params *UpdateOrgUserForCurrentOrgParams, opts ...ClientOption) (*UpdateOrgUserForCurrentOrgOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new org API client.

type GetCurrentOrgForbidden

type GetCurrentOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetCurrentOrgForbidden

func NewGetCurrentOrgForbidden() *GetCurrentOrgForbidden

NewGetCurrentOrgForbidden creates a GetCurrentOrgForbidden with default headers values

func (*GetCurrentOrgForbidden) Code

func (o *GetCurrentOrgForbidden) Code() int

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

func (*GetCurrentOrgForbidden) Error

func (o *GetCurrentOrgForbidden) Error() string

func (*GetCurrentOrgForbidden) GetPayload

func (*GetCurrentOrgForbidden) IsClientError

func (o *GetCurrentOrgForbidden) IsClientError() bool

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

func (*GetCurrentOrgForbidden) IsCode

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

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

func (*GetCurrentOrgForbidden) IsRedirect

func (o *GetCurrentOrgForbidden) IsRedirect() bool

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

func (*GetCurrentOrgForbidden) IsServerError

func (o *GetCurrentOrgForbidden) IsServerError() bool

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

func (*GetCurrentOrgForbidden) IsSuccess

func (o *GetCurrentOrgForbidden) IsSuccess() bool

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

func (*GetCurrentOrgForbidden) String

func (o *GetCurrentOrgForbidden) String() string

type GetCurrentOrgInternalServerError

type GetCurrentOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetCurrentOrgInternalServerError

func NewGetCurrentOrgInternalServerError() *GetCurrentOrgInternalServerError

NewGetCurrentOrgInternalServerError creates a GetCurrentOrgInternalServerError with default headers values

func (*GetCurrentOrgInternalServerError) Code

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

func (*GetCurrentOrgInternalServerError) Error

func (*GetCurrentOrgInternalServerError) GetPayload

func (*GetCurrentOrgInternalServerError) IsClientError

func (o *GetCurrentOrgInternalServerError) IsClientError() bool

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

func (*GetCurrentOrgInternalServerError) IsCode

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

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

func (*GetCurrentOrgInternalServerError) IsRedirect

func (o *GetCurrentOrgInternalServerError) IsRedirect() bool

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

func (*GetCurrentOrgInternalServerError) IsServerError

func (o *GetCurrentOrgInternalServerError) IsServerError() bool

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

func (*GetCurrentOrgInternalServerError) IsSuccess

func (o *GetCurrentOrgInternalServerError) IsSuccess() bool

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

func (*GetCurrentOrgInternalServerError) String

type GetCurrentOrgOK

type GetCurrentOrgOK struct {
	Payload *models.OrgDetailsDTO
}

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

(empty)

func NewGetCurrentOrgOK

func NewGetCurrentOrgOK() *GetCurrentOrgOK

NewGetCurrentOrgOK creates a GetCurrentOrgOK with default headers values

func (*GetCurrentOrgOK) Code

func (o *GetCurrentOrgOK) Code() int

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

func (*GetCurrentOrgOK) Error

func (o *GetCurrentOrgOK) Error() string

func (*GetCurrentOrgOK) GetPayload

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

func (*GetCurrentOrgOK) IsClientError

func (o *GetCurrentOrgOK) IsClientError() bool

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

func (*GetCurrentOrgOK) IsCode

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

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

func (*GetCurrentOrgOK) IsRedirect

func (o *GetCurrentOrgOK) IsRedirect() bool

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

func (*GetCurrentOrgOK) IsServerError

func (o *GetCurrentOrgOK) IsServerError() bool

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

func (*GetCurrentOrgOK) IsSuccess

func (o *GetCurrentOrgOK) IsSuccess() bool

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

func (*GetCurrentOrgOK) String

func (o *GetCurrentOrgOK) String() string

type GetCurrentOrgParams

type GetCurrentOrgParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentOrgParams contains all the parameters to send to the API endpoint

for the get current org operation.

Typically these are written to a http.Request.

func NewGetCurrentOrgParams

func NewGetCurrentOrgParams() *GetCurrentOrgParams

NewGetCurrentOrgParams creates a new GetCurrentOrgParams object, with the default timeout for this client.

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

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

func NewGetCurrentOrgParamsWithContext

func NewGetCurrentOrgParamsWithContext(ctx context.Context) *GetCurrentOrgParams

NewGetCurrentOrgParamsWithContext creates a new GetCurrentOrgParams object with the ability to set a context for a request.

func NewGetCurrentOrgParamsWithHTTPClient

func NewGetCurrentOrgParamsWithHTTPClient(client *http.Client) *GetCurrentOrgParams

NewGetCurrentOrgParamsWithHTTPClient creates a new GetCurrentOrgParams object with the ability to set a custom HTTPClient for a request.

func NewGetCurrentOrgParamsWithTimeout

func NewGetCurrentOrgParamsWithTimeout(timeout time.Duration) *GetCurrentOrgParams

NewGetCurrentOrgParamsWithTimeout creates a new GetCurrentOrgParams object with the ability to set a timeout on a request.

func (*GetCurrentOrgParams) SetContext

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

SetContext adds the context to the get current org params

func (*GetCurrentOrgParams) SetDefaults

func (o *GetCurrentOrgParams) SetDefaults()

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

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

func (*GetCurrentOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get current org params

func (*GetCurrentOrgParams) SetTimeout

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

SetTimeout adds the timeout to the get current org params

func (*GetCurrentOrgParams) WithContext

WithContext adds the context to the get current org params

func (*GetCurrentOrgParams) WithDefaults

func (o *GetCurrentOrgParams) WithDefaults() *GetCurrentOrgParams

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

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

func (*GetCurrentOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get current org params

func (*GetCurrentOrgParams) WithTimeout

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

WithTimeout adds the timeout to the get current org params

func (*GetCurrentOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCurrentOrgReader

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

GetCurrentOrgReader is a Reader for the GetCurrentOrg structure.

func (*GetCurrentOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentOrgUnauthorized

type GetCurrentOrgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetCurrentOrgUnauthorized

func NewGetCurrentOrgUnauthorized() *GetCurrentOrgUnauthorized

NewGetCurrentOrgUnauthorized creates a GetCurrentOrgUnauthorized with default headers values

func (*GetCurrentOrgUnauthorized) Code

func (o *GetCurrentOrgUnauthorized) Code() int

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

func (*GetCurrentOrgUnauthorized) Error

func (o *GetCurrentOrgUnauthorized) Error() string

func (*GetCurrentOrgUnauthorized) GetPayload

func (*GetCurrentOrgUnauthorized) IsClientError

func (o *GetCurrentOrgUnauthorized) IsClientError() bool

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

func (*GetCurrentOrgUnauthorized) IsCode

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

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

func (*GetCurrentOrgUnauthorized) IsRedirect

func (o *GetCurrentOrgUnauthorized) IsRedirect() bool

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

func (*GetCurrentOrgUnauthorized) IsServerError

func (o *GetCurrentOrgUnauthorized) IsServerError() bool

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

func (*GetCurrentOrgUnauthorized) IsSuccess

func (o *GetCurrentOrgUnauthorized) IsSuccess() bool

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

func (*GetCurrentOrgUnauthorized) String

func (o *GetCurrentOrgUnauthorized) String() string

type GetOrgUsersForCurrentOrgForbidden

type GetOrgUsersForCurrentOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgUsersForCurrentOrgForbidden

func NewGetOrgUsersForCurrentOrgForbidden() *GetOrgUsersForCurrentOrgForbidden

NewGetOrgUsersForCurrentOrgForbidden creates a GetOrgUsersForCurrentOrgForbidden with default headers values

func (*GetOrgUsersForCurrentOrgForbidden) Code

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

func (*GetOrgUsersForCurrentOrgForbidden) Error

func (*GetOrgUsersForCurrentOrgForbidden) GetPayload

func (*GetOrgUsersForCurrentOrgForbidden) IsClientError

func (o *GetOrgUsersForCurrentOrgForbidden) IsClientError() bool

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

func (*GetOrgUsersForCurrentOrgForbidden) IsCode

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

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

func (*GetOrgUsersForCurrentOrgForbidden) IsRedirect

func (o *GetOrgUsersForCurrentOrgForbidden) IsRedirect() bool

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

func (*GetOrgUsersForCurrentOrgForbidden) IsServerError

func (o *GetOrgUsersForCurrentOrgForbidden) IsServerError() bool

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

func (*GetOrgUsersForCurrentOrgForbidden) IsSuccess

func (o *GetOrgUsersForCurrentOrgForbidden) IsSuccess() bool

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

func (*GetOrgUsersForCurrentOrgForbidden) String

type GetOrgUsersForCurrentOrgInternalServerError

type GetOrgUsersForCurrentOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgUsersForCurrentOrgInternalServerError

func NewGetOrgUsersForCurrentOrgInternalServerError() *GetOrgUsersForCurrentOrgInternalServerError

NewGetOrgUsersForCurrentOrgInternalServerError creates a GetOrgUsersForCurrentOrgInternalServerError with default headers values

func (*GetOrgUsersForCurrentOrgInternalServerError) Code

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

func (*GetOrgUsersForCurrentOrgInternalServerError) Error

func (*GetOrgUsersForCurrentOrgInternalServerError) GetPayload

func (*GetOrgUsersForCurrentOrgInternalServerError) IsClientError

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

func (*GetOrgUsersForCurrentOrgInternalServerError) IsCode

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

func (*GetOrgUsersForCurrentOrgInternalServerError) IsRedirect

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

func (*GetOrgUsersForCurrentOrgInternalServerError) IsServerError

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

func (*GetOrgUsersForCurrentOrgInternalServerError) IsSuccess

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

func (*GetOrgUsersForCurrentOrgInternalServerError) String

type GetOrgUsersForCurrentOrgLookupForbidden

type GetOrgUsersForCurrentOrgLookupForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetOrgUsersForCurrentOrgLookupForbidden

func NewGetOrgUsersForCurrentOrgLookupForbidden() *GetOrgUsersForCurrentOrgLookupForbidden

NewGetOrgUsersForCurrentOrgLookupForbidden creates a GetOrgUsersForCurrentOrgLookupForbidden with default headers values

func (*GetOrgUsersForCurrentOrgLookupForbidden) Code

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

func (*GetOrgUsersForCurrentOrgLookupForbidden) Error

func (*GetOrgUsersForCurrentOrgLookupForbidden) GetPayload

func (*GetOrgUsersForCurrentOrgLookupForbidden) IsClientError

func (o *GetOrgUsersForCurrentOrgLookupForbidden) IsClientError() bool

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

func (*GetOrgUsersForCurrentOrgLookupForbidden) IsCode

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

func (*GetOrgUsersForCurrentOrgLookupForbidden) IsRedirect

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

func (*GetOrgUsersForCurrentOrgLookupForbidden) IsServerError

func (o *GetOrgUsersForCurrentOrgLookupForbidden) IsServerError() bool

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

func (*GetOrgUsersForCurrentOrgLookupForbidden) IsSuccess

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

func (*GetOrgUsersForCurrentOrgLookupForbidden) String

type GetOrgUsersForCurrentOrgLookupInternalServerError

type GetOrgUsersForCurrentOrgLookupInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetOrgUsersForCurrentOrgLookupInternalServerError

func NewGetOrgUsersForCurrentOrgLookupInternalServerError() *GetOrgUsersForCurrentOrgLookupInternalServerError

NewGetOrgUsersForCurrentOrgLookupInternalServerError creates a GetOrgUsersForCurrentOrgLookupInternalServerError with default headers values

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) Code

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

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) Error

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) GetPayload

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) IsClientError

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

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) IsCode

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

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) IsRedirect

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

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) IsServerError

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

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) IsSuccess

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

func (*GetOrgUsersForCurrentOrgLookupInternalServerError) String

type GetOrgUsersForCurrentOrgLookupOK

type GetOrgUsersForCurrentOrgLookupOK struct {
	Payload []*models.UserLookupDTO
}

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

(empty)

func NewGetOrgUsersForCurrentOrgLookupOK

func NewGetOrgUsersForCurrentOrgLookupOK() *GetOrgUsersForCurrentOrgLookupOK

NewGetOrgUsersForCurrentOrgLookupOK creates a GetOrgUsersForCurrentOrgLookupOK with default headers values

func (*GetOrgUsersForCurrentOrgLookupOK) Code

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

func (*GetOrgUsersForCurrentOrgLookupOK) Error

func (*GetOrgUsersForCurrentOrgLookupOK) GetPayload

func (*GetOrgUsersForCurrentOrgLookupOK) IsClientError

func (o *GetOrgUsersForCurrentOrgLookupOK) IsClientError() bool

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

func (*GetOrgUsersForCurrentOrgLookupOK) IsCode

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

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

func (*GetOrgUsersForCurrentOrgLookupOK) IsRedirect

func (o *GetOrgUsersForCurrentOrgLookupOK) IsRedirect() bool

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

func (*GetOrgUsersForCurrentOrgLookupOK) IsServerError

func (o *GetOrgUsersForCurrentOrgLookupOK) IsServerError() bool

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

func (*GetOrgUsersForCurrentOrgLookupOK) IsSuccess

func (o *GetOrgUsersForCurrentOrgLookupOK) IsSuccess() bool

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

func (*GetOrgUsersForCurrentOrgLookupOK) String

type GetOrgUsersForCurrentOrgLookupParams

type GetOrgUsersForCurrentOrgLookupParams struct {

	// Limit.
	//
	// Format: int64
	Limit *int64

	// Query.
	Query *string

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

GetOrgUsersForCurrentOrgLookupParams contains all the parameters to send to the API endpoint

for the get org users for current org lookup operation.

Typically these are written to a http.Request.

func NewGetOrgUsersForCurrentOrgLookupParams

func NewGetOrgUsersForCurrentOrgLookupParams() *GetOrgUsersForCurrentOrgLookupParams

NewGetOrgUsersForCurrentOrgLookupParams creates a new GetOrgUsersForCurrentOrgLookupParams object, with the default timeout for this client.

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

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

func NewGetOrgUsersForCurrentOrgLookupParamsWithContext

func NewGetOrgUsersForCurrentOrgLookupParamsWithContext(ctx context.Context) *GetOrgUsersForCurrentOrgLookupParams

NewGetOrgUsersForCurrentOrgLookupParamsWithContext creates a new GetOrgUsersForCurrentOrgLookupParams object with the ability to set a context for a request.

func NewGetOrgUsersForCurrentOrgLookupParamsWithHTTPClient

func NewGetOrgUsersForCurrentOrgLookupParamsWithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgLookupParams

NewGetOrgUsersForCurrentOrgLookupParamsWithHTTPClient creates a new GetOrgUsersForCurrentOrgLookupParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgUsersForCurrentOrgLookupParamsWithTimeout

func NewGetOrgUsersForCurrentOrgLookupParamsWithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgLookupParams

NewGetOrgUsersForCurrentOrgLookupParamsWithTimeout creates a new GetOrgUsersForCurrentOrgLookupParams object with the ability to set a timeout on a request.

func (*GetOrgUsersForCurrentOrgLookupParams) SetContext

SetContext adds the context to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) SetDefaults

func (o *GetOrgUsersForCurrentOrgLookupParams) SetDefaults()

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

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

func (*GetOrgUsersForCurrentOrgLookupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) SetLimit

func (o *GetOrgUsersForCurrentOrgLookupParams) SetLimit(limit *int64)

SetLimit adds the limit to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) SetQuery

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

SetQuery adds the query to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) SetTimeout

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

SetTimeout adds the timeout to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) WithContext

WithContext adds the context to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) WithDefaults

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

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

func (*GetOrgUsersForCurrentOrgLookupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) WithLimit

WithLimit adds the limit to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) WithQuery

WithQuery adds the query to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) WithTimeout

WithTimeout adds the timeout to the get org users for current org lookup params

func (*GetOrgUsersForCurrentOrgLookupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrgUsersForCurrentOrgLookupReader

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

GetOrgUsersForCurrentOrgLookupReader is a Reader for the GetOrgUsersForCurrentOrgLookup structure.

func (*GetOrgUsersForCurrentOrgLookupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgUsersForCurrentOrgLookupUnauthorized

type GetOrgUsersForCurrentOrgLookupUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetOrgUsersForCurrentOrgLookupUnauthorized

func NewGetOrgUsersForCurrentOrgLookupUnauthorized() *GetOrgUsersForCurrentOrgLookupUnauthorized

NewGetOrgUsersForCurrentOrgLookupUnauthorized creates a GetOrgUsersForCurrentOrgLookupUnauthorized with default headers values

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) Code

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

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) Error

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) GetPayload

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) IsClientError

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

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) IsCode

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

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) IsRedirect

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

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) IsServerError

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

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) IsSuccess

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

func (*GetOrgUsersForCurrentOrgLookupUnauthorized) String

type GetOrgUsersForCurrentOrgOK

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

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

(empty)

func NewGetOrgUsersForCurrentOrgOK

func NewGetOrgUsersForCurrentOrgOK() *GetOrgUsersForCurrentOrgOK

NewGetOrgUsersForCurrentOrgOK creates a GetOrgUsersForCurrentOrgOK with default headers values

func (*GetOrgUsersForCurrentOrgOK) Code

func (o *GetOrgUsersForCurrentOrgOK) Code() int

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

func (*GetOrgUsersForCurrentOrgOK) Error

func (*GetOrgUsersForCurrentOrgOK) GetPayload

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

func (*GetOrgUsersForCurrentOrgOK) IsClientError

func (o *GetOrgUsersForCurrentOrgOK) IsClientError() bool

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

func (*GetOrgUsersForCurrentOrgOK) IsCode

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

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

func (*GetOrgUsersForCurrentOrgOK) IsRedirect

func (o *GetOrgUsersForCurrentOrgOK) IsRedirect() bool

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

func (*GetOrgUsersForCurrentOrgOK) IsServerError

func (o *GetOrgUsersForCurrentOrgOK) IsServerError() bool

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

func (*GetOrgUsersForCurrentOrgOK) IsSuccess

func (o *GetOrgUsersForCurrentOrgOK) IsSuccess() bool

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

func (*GetOrgUsersForCurrentOrgOK) String

func (o *GetOrgUsersForCurrentOrgOK) String() string

type GetOrgUsersForCurrentOrgParams

type GetOrgUsersForCurrentOrgParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrgUsersForCurrentOrgParams contains all the parameters to send to the API endpoint

for the get org users for current org operation.

Typically these are written to a http.Request.

func NewGetOrgUsersForCurrentOrgParams

func NewGetOrgUsersForCurrentOrgParams() *GetOrgUsersForCurrentOrgParams

NewGetOrgUsersForCurrentOrgParams creates a new GetOrgUsersForCurrentOrgParams object, with the default timeout for this client.

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

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

func NewGetOrgUsersForCurrentOrgParamsWithContext

func NewGetOrgUsersForCurrentOrgParamsWithContext(ctx context.Context) *GetOrgUsersForCurrentOrgParams

NewGetOrgUsersForCurrentOrgParamsWithContext creates a new GetOrgUsersForCurrentOrgParams object with the ability to set a context for a request.

func NewGetOrgUsersForCurrentOrgParamsWithHTTPClient

func NewGetOrgUsersForCurrentOrgParamsWithHTTPClient(client *http.Client) *GetOrgUsersForCurrentOrgParams

NewGetOrgUsersForCurrentOrgParamsWithHTTPClient creates a new GetOrgUsersForCurrentOrgParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgUsersForCurrentOrgParamsWithTimeout

func NewGetOrgUsersForCurrentOrgParamsWithTimeout(timeout time.Duration) *GetOrgUsersForCurrentOrgParams

NewGetOrgUsersForCurrentOrgParamsWithTimeout creates a new GetOrgUsersForCurrentOrgParams object with the ability to set a timeout on a request.

func (*GetOrgUsersForCurrentOrgParams) SetContext

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

SetContext adds the context to the get org users for current org params

func (*GetOrgUsersForCurrentOrgParams) SetDefaults

func (o *GetOrgUsersForCurrentOrgParams) SetDefaults()

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

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

func (*GetOrgUsersForCurrentOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org users for current org params

func (*GetOrgUsersForCurrentOrgParams) SetTimeout

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

SetTimeout adds the timeout to the get org users for current org params

func (*GetOrgUsersForCurrentOrgParams) WithContext

WithContext adds the context to the get org users for current org params

func (*GetOrgUsersForCurrentOrgParams) WithDefaults

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

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

func (*GetOrgUsersForCurrentOrgParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get org users for current org params

func (*GetOrgUsersForCurrentOrgParams) WithTimeout

WithTimeout adds the timeout to the get org users for current org params

func (*GetOrgUsersForCurrentOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrgUsersForCurrentOrgReader

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

GetOrgUsersForCurrentOrgReader is a Reader for the GetOrgUsersForCurrentOrg structure.

func (*GetOrgUsersForCurrentOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgUsersForCurrentOrgUnauthorized

type GetOrgUsersForCurrentOrgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetOrgUsersForCurrentOrgUnauthorized

func NewGetOrgUsersForCurrentOrgUnauthorized() *GetOrgUsersForCurrentOrgUnauthorized

NewGetOrgUsersForCurrentOrgUnauthorized creates a GetOrgUsersForCurrentOrgUnauthorized with default headers values

func (*GetOrgUsersForCurrentOrgUnauthorized) Code

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

func (*GetOrgUsersForCurrentOrgUnauthorized) Error

func (*GetOrgUsersForCurrentOrgUnauthorized) GetPayload

func (*GetOrgUsersForCurrentOrgUnauthorized) IsClientError

func (o *GetOrgUsersForCurrentOrgUnauthorized) IsClientError() bool

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

func (*GetOrgUsersForCurrentOrgUnauthorized) IsCode

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

func (*GetOrgUsersForCurrentOrgUnauthorized) IsRedirect

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

func (*GetOrgUsersForCurrentOrgUnauthorized) IsServerError

func (o *GetOrgUsersForCurrentOrgUnauthorized) IsServerError() bool

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

func (*GetOrgUsersForCurrentOrgUnauthorized) IsSuccess

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

func (*GetOrgUsersForCurrentOrgUnauthorized) String

type RemoveOrgUserForCurrentOrgBadRequest

type RemoveOrgUserForCurrentOrgBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRemoveOrgUserForCurrentOrgBadRequest

func NewRemoveOrgUserForCurrentOrgBadRequest() *RemoveOrgUserForCurrentOrgBadRequest

NewRemoveOrgUserForCurrentOrgBadRequest creates a RemoveOrgUserForCurrentOrgBadRequest with default headers values

func (*RemoveOrgUserForCurrentOrgBadRequest) Code

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

func (*RemoveOrgUserForCurrentOrgBadRequest) Error

func (*RemoveOrgUserForCurrentOrgBadRequest) GetPayload

func (*RemoveOrgUserForCurrentOrgBadRequest) IsClientError

func (o *RemoveOrgUserForCurrentOrgBadRequest) IsClientError() bool

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

func (*RemoveOrgUserForCurrentOrgBadRequest) IsCode

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

func (*RemoveOrgUserForCurrentOrgBadRequest) IsRedirect

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

func (*RemoveOrgUserForCurrentOrgBadRequest) IsServerError

func (o *RemoveOrgUserForCurrentOrgBadRequest) IsServerError() bool

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

func (*RemoveOrgUserForCurrentOrgBadRequest) IsSuccess

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

func (*RemoveOrgUserForCurrentOrgBadRequest) String

type RemoveOrgUserForCurrentOrgForbidden

type RemoveOrgUserForCurrentOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRemoveOrgUserForCurrentOrgForbidden

func NewRemoveOrgUserForCurrentOrgForbidden() *RemoveOrgUserForCurrentOrgForbidden

NewRemoveOrgUserForCurrentOrgForbidden creates a RemoveOrgUserForCurrentOrgForbidden with default headers values

func (*RemoveOrgUserForCurrentOrgForbidden) Code

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

func (*RemoveOrgUserForCurrentOrgForbidden) Error

func (*RemoveOrgUserForCurrentOrgForbidden) GetPayload

func (*RemoveOrgUserForCurrentOrgForbidden) IsClientError

func (o *RemoveOrgUserForCurrentOrgForbidden) IsClientError() bool

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

func (*RemoveOrgUserForCurrentOrgForbidden) IsCode

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

func (*RemoveOrgUserForCurrentOrgForbidden) IsRedirect

func (o *RemoveOrgUserForCurrentOrgForbidden) IsRedirect() bool

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

func (*RemoveOrgUserForCurrentOrgForbidden) IsServerError

func (o *RemoveOrgUserForCurrentOrgForbidden) IsServerError() bool

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

func (*RemoveOrgUserForCurrentOrgForbidden) IsSuccess

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

func (*RemoveOrgUserForCurrentOrgForbidden) String

type RemoveOrgUserForCurrentOrgInternalServerError

type RemoveOrgUserForCurrentOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewRemoveOrgUserForCurrentOrgInternalServerError

func NewRemoveOrgUserForCurrentOrgInternalServerError() *RemoveOrgUserForCurrentOrgInternalServerError

NewRemoveOrgUserForCurrentOrgInternalServerError creates a RemoveOrgUserForCurrentOrgInternalServerError with default headers values

func (*RemoveOrgUserForCurrentOrgInternalServerError) Code

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

func (*RemoveOrgUserForCurrentOrgInternalServerError) Error

func (*RemoveOrgUserForCurrentOrgInternalServerError) GetPayload

func (*RemoveOrgUserForCurrentOrgInternalServerError) IsClientError

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

func (*RemoveOrgUserForCurrentOrgInternalServerError) IsCode

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

func (*RemoveOrgUserForCurrentOrgInternalServerError) IsRedirect

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

func (*RemoveOrgUserForCurrentOrgInternalServerError) IsServerError

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

func (*RemoveOrgUserForCurrentOrgInternalServerError) IsSuccess

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

func (*RemoveOrgUserForCurrentOrgInternalServerError) String

type RemoveOrgUserForCurrentOrgOK

type RemoveOrgUserForCurrentOrgOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewRemoveOrgUserForCurrentOrgOK

func NewRemoveOrgUserForCurrentOrgOK() *RemoveOrgUserForCurrentOrgOK

NewRemoveOrgUserForCurrentOrgOK creates a RemoveOrgUserForCurrentOrgOK with default headers values

func (*RemoveOrgUserForCurrentOrgOK) Code

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

func (*RemoveOrgUserForCurrentOrgOK) Error

func (*RemoveOrgUserForCurrentOrgOK) GetPayload

func (*RemoveOrgUserForCurrentOrgOK) IsClientError

func (o *RemoveOrgUserForCurrentOrgOK) IsClientError() bool

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

func (*RemoveOrgUserForCurrentOrgOK) IsCode

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

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

func (*RemoveOrgUserForCurrentOrgOK) IsRedirect

func (o *RemoveOrgUserForCurrentOrgOK) IsRedirect() bool

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

func (*RemoveOrgUserForCurrentOrgOK) IsServerError

func (o *RemoveOrgUserForCurrentOrgOK) IsServerError() bool

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

func (*RemoveOrgUserForCurrentOrgOK) IsSuccess

func (o *RemoveOrgUserForCurrentOrgOK) IsSuccess() bool

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

func (*RemoveOrgUserForCurrentOrgOK) String

type RemoveOrgUserForCurrentOrgParams

type RemoveOrgUserForCurrentOrgParams struct {

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

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

RemoveOrgUserForCurrentOrgParams contains all the parameters to send to the API endpoint

for the remove org user for current org operation.

Typically these are written to a http.Request.

func NewRemoveOrgUserForCurrentOrgParams

func NewRemoveOrgUserForCurrentOrgParams() *RemoveOrgUserForCurrentOrgParams

NewRemoveOrgUserForCurrentOrgParams creates a new RemoveOrgUserForCurrentOrgParams object, with the default timeout for this client.

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

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

func NewRemoveOrgUserForCurrentOrgParamsWithContext

func NewRemoveOrgUserForCurrentOrgParamsWithContext(ctx context.Context) *RemoveOrgUserForCurrentOrgParams

NewRemoveOrgUserForCurrentOrgParamsWithContext creates a new RemoveOrgUserForCurrentOrgParams object with the ability to set a context for a request.

func NewRemoveOrgUserForCurrentOrgParamsWithHTTPClient

func NewRemoveOrgUserForCurrentOrgParamsWithHTTPClient(client *http.Client) *RemoveOrgUserForCurrentOrgParams

NewRemoveOrgUserForCurrentOrgParamsWithHTTPClient creates a new RemoveOrgUserForCurrentOrgParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveOrgUserForCurrentOrgParamsWithTimeout

func NewRemoveOrgUserForCurrentOrgParamsWithTimeout(timeout time.Duration) *RemoveOrgUserForCurrentOrgParams

NewRemoveOrgUserForCurrentOrgParamsWithTimeout creates a new RemoveOrgUserForCurrentOrgParams object with the ability to set a timeout on a request.

func (*RemoveOrgUserForCurrentOrgParams) SetContext

SetContext adds the context to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) SetDefaults

func (o *RemoveOrgUserForCurrentOrgParams) SetDefaults()

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

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

func (*RemoveOrgUserForCurrentOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) SetTimeout

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

SetTimeout adds the timeout to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) SetUserID

func (o *RemoveOrgUserForCurrentOrgParams) SetUserID(userID int64)

SetUserID adds the userId to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) WithContext

WithContext adds the context to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) WithDefaults

WithDefaults hydrates default values in the remove org user for current org params (not the query body).

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

func (*RemoveOrgUserForCurrentOrgParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) WithTimeout

WithTimeout adds the timeout to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) WithUserID

WithUserID adds the userID to the remove org user for current org params

func (*RemoveOrgUserForCurrentOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveOrgUserForCurrentOrgReader

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

RemoveOrgUserForCurrentOrgReader is a Reader for the RemoveOrgUserForCurrentOrg structure.

func (*RemoveOrgUserForCurrentOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveOrgUserForCurrentOrgUnauthorized

type RemoveOrgUserForCurrentOrgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewRemoveOrgUserForCurrentOrgUnauthorized

func NewRemoveOrgUserForCurrentOrgUnauthorized() *RemoveOrgUserForCurrentOrgUnauthorized

NewRemoveOrgUserForCurrentOrgUnauthorized creates a RemoveOrgUserForCurrentOrgUnauthorized with default headers values

func (*RemoveOrgUserForCurrentOrgUnauthorized) Code

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

func (*RemoveOrgUserForCurrentOrgUnauthorized) Error

func (*RemoveOrgUserForCurrentOrgUnauthorized) GetPayload

func (*RemoveOrgUserForCurrentOrgUnauthorized) IsClientError

func (o *RemoveOrgUserForCurrentOrgUnauthorized) IsClientError() bool

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

func (*RemoveOrgUserForCurrentOrgUnauthorized) IsCode

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

func (*RemoveOrgUserForCurrentOrgUnauthorized) IsRedirect

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

func (*RemoveOrgUserForCurrentOrgUnauthorized) IsServerError

func (o *RemoveOrgUserForCurrentOrgUnauthorized) IsServerError() bool

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

func (*RemoveOrgUserForCurrentOrgUnauthorized) IsSuccess

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

func (*RemoveOrgUserForCurrentOrgUnauthorized) String

type UpdateCurrentOrgAddressBadRequest

type UpdateCurrentOrgAddressBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateCurrentOrgAddressBadRequest

func NewUpdateCurrentOrgAddressBadRequest() *UpdateCurrentOrgAddressBadRequest

NewUpdateCurrentOrgAddressBadRequest creates a UpdateCurrentOrgAddressBadRequest with default headers values

func (*UpdateCurrentOrgAddressBadRequest) Code

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

func (*UpdateCurrentOrgAddressBadRequest) Error

func (*UpdateCurrentOrgAddressBadRequest) GetPayload

func (*UpdateCurrentOrgAddressBadRequest) IsClientError

func (o *UpdateCurrentOrgAddressBadRequest) IsClientError() bool

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

func (*UpdateCurrentOrgAddressBadRequest) IsCode

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

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

func (*UpdateCurrentOrgAddressBadRequest) IsRedirect

func (o *UpdateCurrentOrgAddressBadRequest) IsRedirect() bool

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

func (*UpdateCurrentOrgAddressBadRequest) IsServerError

func (o *UpdateCurrentOrgAddressBadRequest) IsServerError() bool

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

func (*UpdateCurrentOrgAddressBadRequest) IsSuccess

func (o *UpdateCurrentOrgAddressBadRequest) IsSuccess() bool

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

func (*UpdateCurrentOrgAddressBadRequest) String

type UpdateCurrentOrgAddressForbidden

type UpdateCurrentOrgAddressForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateCurrentOrgAddressForbidden

func NewUpdateCurrentOrgAddressForbidden() *UpdateCurrentOrgAddressForbidden

NewUpdateCurrentOrgAddressForbidden creates a UpdateCurrentOrgAddressForbidden with default headers values

func (*UpdateCurrentOrgAddressForbidden) Code

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

func (*UpdateCurrentOrgAddressForbidden) Error

func (*UpdateCurrentOrgAddressForbidden) GetPayload

func (*UpdateCurrentOrgAddressForbidden) IsClientError

func (o *UpdateCurrentOrgAddressForbidden) IsClientError() bool

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

func (*UpdateCurrentOrgAddressForbidden) IsCode

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

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

func (*UpdateCurrentOrgAddressForbidden) IsRedirect

func (o *UpdateCurrentOrgAddressForbidden) IsRedirect() bool

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

func (*UpdateCurrentOrgAddressForbidden) IsServerError

func (o *UpdateCurrentOrgAddressForbidden) IsServerError() bool

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

func (*UpdateCurrentOrgAddressForbidden) IsSuccess

func (o *UpdateCurrentOrgAddressForbidden) IsSuccess() bool

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

func (*UpdateCurrentOrgAddressForbidden) String

type UpdateCurrentOrgAddressInternalServerError

type UpdateCurrentOrgAddressInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateCurrentOrgAddressInternalServerError

func NewUpdateCurrentOrgAddressInternalServerError() *UpdateCurrentOrgAddressInternalServerError

NewUpdateCurrentOrgAddressInternalServerError creates a UpdateCurrentOrgAddressInternalServerError with default headers values

func (*UpdateCurrentOrgAddressInternalServerError) Code

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

func (*UpdateCurrentOrgAddressInternalServerError) Error

func (*UpdateCurrentOrgAddressInternalServerError) GetPayload

func (*UpdateCurrentOrgAddressInternalServerError) IsClientError

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

func (*UpdateCurrentOrgAddressInternalServerError) IsCode

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

func (*UpdateCurrentOrgAddressInternalServerError) IsRedirect

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

func (*UpdateCurrentOrgAddressInternalServerError) IsServerError

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

func (*UpdateCurrentOrgAddressInternalServerError) IsSuccess

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

func (*UpdateCurrentOrgAddressInternalServerError) String

type UpdateCurrentOrgAddressOK

type UpdateCurrentOrgAddressOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateCurrentOrgAddressOK

func NewUpdateCurrentOrgAddressOK() *UpdateCurrentOrgAddressOK

NewUpdateCurrentOrgAddressOK creates a UpdateCurrentOrgAddressOK with default headers values

func (*UpdateCurrentOrgAddressOK) Code

func (o *UpdateCurrentOrgAddressOK) Code() int

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

func (*UpdateCurrentOrgAddressOK) Error

func (o *UpdateCurrentOrgAddressOK) Error() string

func (*UpdateCurrentOrgAddressOK) GetPayload

func (*UpdateCurrentOrgAddressOK) IsClientError

func (o *UpdateCurrentOrgAddressOK) IsClientError() bool

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

func (*UpdateCurrentOrgAddressOK) IsCode

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

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

func (*UpdateCurrentOrgAddressOK) IsRedirect

func (o *UpdateCurrentOrgAddressOK) IsRedirect() bool

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

func (*UpdateCurrentOrgAddressOK) IsServerError

func (o *UpdateCurrentOrgAddressOK) IsServerError() bool

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

func (*UpdateCurrentOrgAddressOK) IsSuccess

func (o *UpdateCurrentOrgAddressOK) IsSuccess() bool

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

func (*UpdateCurrentOrgAddressOK) String

func (o *UpdateCurrentOrgAddressOK) String() string

type UpdateCurrentOrgAddressParams

type UpdateCurrentOrgAddressParams struct {

	// Body.
	Body *models.UpdateOrgAddressForm

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

UpdateCurrentOrgAddressParams contains all the parameters to send to the API endpoint

for the update current org address operation.

Typically these are written to a http.Request.

func NewUpdateCurrentOrgAddressParams

func NewUpdateCurrentOrgAddressParams() *UpdateCurrentOrgAddressParams

NewUpdateCurrentOrgAddressParams creates a new UpdateCurrentOrgAddressParams object, with the default timeout for this client.

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

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

func NewUpdateCurrentOrgAddressParamsWithContext

func NewUpdateCurrentOrgAddressParamsWithContext(ctx context.Context) *UpdateCurrentOrgAddressParams

NewUpdateCurrentOrgAddressParamsWithContext creates a new UpdateCurrentOrgAddressParams object with the ability to set a context for a request.

func NewUpdateCurrentOrgAddressParamsWithHTTPClient

func NewUpdateCurrentOrgAddressParamsWithHTTPClient(client *http.Client) *UpdateCurrentOrgAddressParams

NewUpdateCurrentOrgAddressParamsWithHTTPClient creates a new UpdateCurrentOrgAddressParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCurrentOrgAddressParamsWithTimeout

func NewUpdateCurrentOrgAddressParamsWithTimeout(timeout time.Duration) *UpdateCurrentOrgAddressParams

NewUpdateCurrentOrgAddressParamsWithTimeout creates a new UpdateCurrentOrgAddressParams object with the ability to set a timeout on a request.

func (*UpdateCurrentOrgAddressParams) SetBody

SetBody adds the body to the update current org address params

func (*UpdateCurrentOrgAddressParams) SetContext

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

SetContext adds the context to the update current org address params

func (*UpdateCurrentOrgAddressParams) SetDefaults

func (o *UpdateCurrentOrgAddressParams) SetDefaults()

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

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

func (*UpdateCurrentOrgAddressParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update current org address params

func (*UpdateCurrentOrgAddressParams) SetTimeout

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

SetTimeout adds the timeout to the update current org address params

func (*UpdateCurrentOrgAddressParams) WithBody

WithBody adds the body to the update current org address params

func (*UpdateCurrentOrgAddressParams) WithContext

WithContext adds the context to the update current org address params

func (*UpdateCurrentOrgAddressParams) WithDefaults

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

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

func (*UpdateCurrentOrgAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update current org address params

func (*UpdateCurrentOrgAddressParams) WithTimeout

WithTimeout adds the timeout to the update current org address params

func (*UpdateCurrentOrgAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCurrentOrgAddressReader

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

UpdateCurrentOrgAddressReader is a Reader for the UpdateCurrentOrgAddress structure.

func (*UpdateCurrentOrgAddressReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCurrentOrgAddressUnauthorized

type UpdateCurrentOrgAddressUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateCurrentOrgAddressUnauthorized

func NewUpdateCurrentOrgAddressUnauthorized() *UpdateCurrentOrgAddressUnauthorized

NewUpdateCurrentOrgAddressUnauthorized creates a UpdateCurrentOrgAddressUnauthorized with default headers values

func (*UpdateCurrentOrgAddressUnauthorized) Code

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

func (*UpdateCurrentOrgAddressUnauthorized) Error

func (*UpdateCurrentOrgAddressUnauthorized) GetPayload

func (*UpdateCurrentOrgAddressUnauthorized) IsClientError

func (o *UpdateCurrentOrgAddressUnauthorized) IsClientError() bool

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

func (*UpdateCurrentOrgAddressUnauthorized) IsCode

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

func (*UpdateCurrentOrgAddressUnauthorized) IsRedirect

func (o *UpdateCurrentOrgAddressUnauthorized) IsRedirect() bool

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

func (*UpdateCurrentOrgAddressUnauthorized) IsServerError

func (o *UpdateCurrentOrgAddressUnauthorized) IsServerError() bool

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

func (*UpdateCurrentOrgAddressUnauthorized) IsSuccess

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

func (*UpdateCurrentOrgAddressUnauthorized) String

type UpdateCurrentOrgBadRequest

type UpdateCurrentOrgBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateCurrentOrgBadRequest

func NewUpdateCurrentOrgBadRequest() *UpdateCurrentOrgBadRequest

NewUpdateCurrentOrgBadRequest creates a UpdateCurrentOrgBadRequest with default headers values

func (*UpdateCurrentOrgBadRequest) Code

func (o *UpdateCurrentOrgBadRequest) Code() int

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

func (*UpdateCurrentOrgBadRequest) Error

func (*UpdateCurrentOrgBadRequest) GetPayload

func (*UpdateCurrentOrgBadRequest) IsClientError

func (o *UpdateCurrentOrgBadRequest) IsClientError() bool

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

func (*UpdateCurrentOrgBadRequest) IsCode

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

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

func (*UpdateCurrentOrgBadRequest) IsRedirect

func (o *UpdateCurrentOrgBadRequest) IsRedirect() bool

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

func (*UpdateCurrentOrgBadRequest) IsServerError

func (o *UpdateCurrentOrgBadRequest) IsServerError() bool

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

func (*UpdateCurrentOrgBadRequest) IsSuccess

func (o *UpdateCurrentOrgBadRequest) IsSuccess() bool

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

func (*UpdateCurrentOrgBadRequest) String

func (o *UpdateCurrentOrgBadRequest) String() string

type UpdateCurrentOrgForbidden

type UpdateCurrentOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateCurrentOrgForbidden

func NewUpdateCurrentOrgForbidden() *UpdateCurrentOrgForbidden

NewUpdateCurrentOrgForbidden creates a UpdateCurrentOrgForbidden with default headers values

func (*UpdateCurrentOrgForbidden) Code

func (o *UpdateCurrentOrgForbidden) Code() int

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

func (*UpdateCurrentOrgForbidden) Error

func (o *UpdateCurrentOrgForbidden) Error() string

func (*UpdateCurrentOrgForbidden) GetPayload

func (*UpdateCurrentOrgForbidden) IsClientError

func (o *UpdateCurrentOrgForbidden) IsClientError() bool

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

func (*UpdateCurrentOrgForbidden) IsCode

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

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

func (*UpdateCurrentOrgForbidden) IsRedirect

func (o *UpdateCurrentOrgForbidden) IsRedirect() bool

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

func (*UpdateCurrentOrgForbidden) IsServerError

func (o *UpdateCurrentOrgForbidden) IsServerError() bool

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

func (*UpdateCurrentOrgForbidden) IsSuccess

func (o *UpdateCurrentOrgForbidden) IsSuccess() bool

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

func (*UpdateCurrentOrgForbidden) String

func (o *UpdateCurrentOrgForbidden) String() string

type UpdateCurrentOrgInternalServerError

type UpdateCurrentOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateCurrentOrgInternalServerError

func NewUpdateCurrentOrgInternalServerError() *UpdateCurrentOrgInternalServerError

NewUpdateCurrentOrgInternalServerError creates a UpdateCurrentOrgInternalServerError with default headers values

func (*UpdateCurrentOrgInternalServerError) Code

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

func (*UpdateCurrentOrgInternalServerError) Error

func (*UpdateCurrentOrgInternalServerError) GetPayload

func (*UpdateCurrentOrgInternalServerError) IsClientError

func (o *UpdateCurrentOrgInternalServerError) IsClientError() bool

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

func (*UpdateCurrentOrgInternalServerError) IsCode

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

func (*UpdateCurrentOrgInternalServerError) IsRedirect

func (o *UpdateCurrentOrgInternalServerError) IsRedirect() bool

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

func (*UpdateCurrentOrgInternalServerError) IsServerError

func (o *UpdateCurrentOrgInternalServerError) IsServerError() bool

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

func (*UpdateCurrentOrgInternalServerError) IsSuccess

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

func (*UpdateCurrentOrgInternalServerError) String

type UpdateCurrentOrgOK

type UpdateCurrentOrgOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateCurrentOrgOK

func NewUpdateCurrentOrgOK() *UpdateCurrentOrgOK

NewUpdateCurrentOrgOK creates a UpdateCurrentOrgOK with default headers values

func (*UpdateCurrentOrgOK) Code

func (o *UpdateCurrentOrgOK) Code() int

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

func (*UpdateCurrentOrgOK) Error

func (o *UpdateCurrentOrgOK) Error() string

func (*UpdateCurrentOrgOK) GetPayload

func (*UpdateCurrentOrgOK) IsClientError

func (o *UpdateCurrentOrgOK) IsClientError() bool

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

func (*UpdateCurrentOrgOK) IsCode

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

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

func (*UpdateCurrentOrgOK) IsRedirect

func (o *UpdateCurrentOrgOK) IsRedirect() bool

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

func (*UpdateCurrentOrgOK) IsServerError

func (o *UpdateCurrentOrgOK) IsServerError() bool

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

func (*UpdateCurrentOrgOK) IsSuccess

func (o *UpdateCurrentOrgOK) IsSuccess() bool

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

func (*UpdateCurrentOrgOK) String

func (o *UpdateCurrentOrgOK) String() string

type UpdateCurrentOrgParams

type UpdateCurrentOrgParams struct {

	// Body.
	Body *models.UpdateOrgForm

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

UpdateCurrentOrgParams contains all the parameters to send to the API endpoint

for the update current org operation.

Typically these are written to a http.Request.

func NewUpdateCurrentOrgParams

func NewUpdateCurrentOrgParams() *UpdateCurrentOrgParams

NewUpdateCurrentOrgParams creates a new UpdateCurrentOrgParams object, with the default timeout for this client.

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

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

func NewUpdateCurrentOrgParamsWithContext

func NewUpdateCurrentOrgParamsWithContext(ctx context.Context) *UpdateCurrentOrgParams

NewUpdateCurrentOrgParamsWithContext creates a new UpdateCurrentOrgParams object with the ability to set a context for a request.

func NewUpdateCurrentOrgParamsWithHTTPClient

func NewUpdateCurrentOrgParamsWithHTTPClient(client *http.Client) *UpdateCurrentOrgParams

NewUpdateCurrentOrgParamsWithHTTPClient creates a new UpdateCurrentOrgParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCurrentOrgParamsWithTimeout

func NewUpdateCurrentOrgParamsWithTimeout(timeout time.Duration) *UpdateCurrentOrgParams

NewUpdateCurrentOrgParamsWithTimeout creates a new UpdateCurrentOrgParams object with the ability to set a timeout on a request.

func (*UpdateCurrentOrgParams) SetBody

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

SetBody adds the body to the update current org params

func (*UpdateCurrentOrgParams) SetContext

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

SetContext adds the context to the update current org params

func (*UpdateCurrentOrgParams) SetDefaults

func (o *UpdateCurrentOrgParams) SetDefaults()

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

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

func (*UpdateCurrentOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update current org params

func (*UpdateCurrentOrgParams) SetTimeout

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

SetTimeout adds the timeout to the update current org params

func (*UpdateCurrentOrgParams) WithBody

WithBody adds the body to the update current org params

func (*UpdateCurrentOrgParams) WithContext

WithContext adds the context to the update current org params

func (*UpdateCurrentOrgParams) WithDefaults

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

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

func (*UpdateCurrentOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update current org params

func (*UpdateCurrentOrgParams) WithTimeout

WithTimeout adds the timeout to the update current org params

func (*UpdateCurrentOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCurrentOrgReader

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

UpdateCurrentOrgReader is a Reader for the UpdateCurrentOrg structure.

func (*UpdateCurrentOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCurrentOrgUnauthorized

type UpdateCurrentOrgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateCurrentOrgUnauthorized

func NewUpdateCurrentOrgUnauthorized() *UpdateCurrentOrgUnauthorized

NewUpdateCurrentOrgUnauthorized creates a UpdateCurrentOrgUnauthorized with default headers values

func (*UpdateCurrentOrgUnauthorized) Code

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

func (*UpdateCurrentOrgUnauthorized) Error

func (*UpdateCurrentOrgUnauthorized) GetPayload

func (*UpdateCurrentOrgUnauthorized) IsClientError

func (o *UpdateCurrentOrgUnauthorized) IsClientError() bool

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

func (*UpdateCurrentOrgUnauthorized) IsCode

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

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

func (*UpdateCurrentOrgUnauthorized) IsRedirect

func (o *UpdateCurrentOrgUnauthorized) IsRedirect() bool

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

func (*UpdateCurrentOrgUnauthorized) IsServerError

func (o *UpdateCurrentOrgUnauthorized) IsServerError() bool

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

func (*UpdateCurrentOrgUnauthorized) IsSuccess

func (o *UpdateCurrentOrgUnauthorized) IsSuccess() bool

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

func (*UpdateCurrentOrgUnauthorized) String

type UpdateOrgUserForCurrentOrgBadRequest

type UpdateOrgUserForCurrentOrgBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgUserForCurrentOrgBadRequest

func NewUpdateOrgUserForCurrentOrgBadRequest() *UpdateOrgUserForCurrentOrgBadRequest

NewUpdateOrgUserForCurrentOrgBadRequest creates a UpdateOrgUserForCurrentOrgBadRequest with default headers values

func (*UpdateOrgUserForCurrentOrgBadRequest) Code

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

func (*UpdateOrgUserForCurrentOrgBadRequest) Error

func (*UpdateOrgUserForCurrentOrgBadRequest) GetPayload

func (*UpdateOrgUserForCurrentOrgBadRequest) IsClientError

func (o *UpdateOrgUserForCurrentOrgBadRequest) IsClientError() bool

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

func (*UpdateOrgUserForCurrentOrgBadRequest) IsCode

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

func (*UpdateOrgUserForCurrentOrgBadRequest) IsRedirect

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

func (*UpdateOrgUserForCurrentOrgBadRequest) IsServerError

func (o *UpdateOrgUserForCurrentOrgBadRequest) IsServerError() bool

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

func (*UpdateOrgUserForCurrentOrgBadRequest) IsSuccess

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

func (*UpdateOrgUserForCurrentOrgBadRequest) String

type UpdateOrgUserForCurrentOrgForbidden

type UpdateOrgUserForCurrentOrgForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewUpdateOrgUserForCurrentOrgForbidden

func NewUpdateOrgUserForCurrentOrgForbidden() *UpdateOrgUserForCurrentOrgForbidden

NewUpdateOrgUserForCurrentOrgForbidden creates a UpdateOrgUserForCurrentOrgForbidden with default headers values

func (*UpdateOrgUserForCurrentOrgForbidden) Code

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

func (*UpdateOrgUserForCurrentOrgForbidden) Error

func (*UpdateOrgUserForCurrentOrgForbidden) GetPayload

func (*UpdateOrgUserForCurrentOrgForbidden) IsClientError

func (o *UpdateOrgUserForCurrentOrgForbidden) IsClientError() bool

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

func (*UpdateOrgUserForCurrentOrgForbidden) IsCode

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

func (*UpdateOrgUserForCurrentOrgForbidden) IsRedirect

func (o *UpdateOrgUserForCurrentOrgForbidden) IsRedirect() bool

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

func (*UpdateOrgUserForCurrentOrgForbidden) IsServerError

func (o *UpdateOrgUserForCurrentOrgForbidden) IsServerError() bool

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

func (*UpdateOrgUserForCurrentOrgForbidden) IsSuccess

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

func (*UpdateOrgUserForCurrentOrgForbidden) String

type UpdateOrgUserForCurrentOrgInternalServerError

type UpdateOrgUserForCurrentOrgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateOrgUserForCurrentOrgInternalServerError

func NewUpdateOrgUserForCurrentOrgInternalServerError() *UpdateOrgUserForCurrentOrgInternalServerError

NewUpdateOrgUserForCurrentOrgInternalServerError creates a UpdateOrgUserForCurrentOrgInternalServerError with default headers values

func (*UpdateOrgUserForCurrentOrgInternalServerError) Code

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

func (*UpdateOrgUserForCurrentOrgInternalServerError) Error

func (*UpdateOrgUserForCurrentOrgInternalServerError) GetPayload

func (*UpdateOrgUserForCurrentOrgInternalServerError) IsClientError

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

func (*UpdateOrgUserForCurrentOrgInternalServerError) IsCode

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

func (*UpdateOrgUserForCurrentOrgInternalServerError) IsRedirect

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

func (*UpdateOrgUserForCurrentOrgInternalServerError) IsServerError

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

func (*UpdateOrgUserForCurrentOrgInternalServerError) IsSuccess

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

func (*UpdateOrgUserForCurrentOrgInternalServerError) String

type UpdateOrgUserForCurrentOrgOK

type UpdateOrgUserForCurrentOrgOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewUpdateOrgUserForCurrentOrgOK

func NewUpdateOrgUserForCurrentOrgOK() *UpdateOrgUserForCurrentOrgOK

NewUpdateOrgUserForCurrentOrgOK creates a UpdateOrgUserForCurrentOrgOK with default headers values

func (*UpdateOrgUserForCurrentOrgOK) Code

Code gets the status code for the update org user for current org Ok response

func (*UpdateOrgUserForCurrentOrgOK) Error

func (*UpdateOrgUserForCurrentOrgOK) GetPayload

func (*UpdateOrgUserForCurrentOrgOK) IsClientError

func (o *UpdateOrgUserForCurrentOrgOK) IsClientError() bool

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

func (*UpdateOrgUserForCurrentOrgOK) IsCode

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

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

func (*UpdateOrgUserForCurrentOrgOK) IsRedirect

func (o *UpdateOrgUserForCurrentOrgOK) IsRedirect() bool

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

func (*UpdateOrgUserForCurrentOrgOK) IsServerError

func (o *UpdateOrgUserForCurrentOrgOK) IsServerError() bool

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

func (*UpdateOrgUserForCurrentOrgOK) IsSuccess

func (o *UpdateOrgUserForCurrentOrgOK) IsSuccess() bool

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

func (*UpdateOrgUserForCurrentOrgOK) String

type UpdateOrgUserForCurrentOrgParams

type UpdateOrgUserForCurrentOrgParams struct {

	// Body.
	Body *models.UpdateOrgUserCommand

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

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

UpdateOrgUserForCurrentOrgParams contains all the parameters to send to the API endpoint

for the update org user for current org operation.

Typically these are written to a http.Request.

func NewUpdateOrgUserForCurrentOrgParams

func NewUpdateOrgUserForCurrentOrgParams() *UpdateOrgUserForCurrentOrgParams

NewUpdateOrgUserForCurrentOrgParams creates a new UpdateOrgUserForCurrentOrgParams object, with the default timeout for this client.

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

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

func NewUpdateOrgUserForCurrentOrgParamsWithContext

func NewUpdateOrgUserForCurrentOrgParamsWithContext(ctx context.Context) *UpdateOrgUserForCurrentOrgParams

NewUpdateOrgUserForCurrentOrgParamsWithContext creates a new UpdateOrgUserForCurrentOrgParams object with the ability to set a context for a request.

func NewUpdateOrgUserForCurrentOrgParamsWithHTTPClient

func NewUpdateOrgUserForCurrentOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgUserForCurrentOrgParams

NewUpdateOrgUserForCurrentOrgParamsWithHTTPClient creates a new UpdateOrgUserForCurrentOrgParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgUserForCurrentOrgParamsWithTimeout

func NewUpdateOrgUserForCurrentOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgUserForCurrentOrgParams

NewUpdateOrgUserForCurrentOrgParamsWithTimeout creates a new UpdateOrgUserForCurrentOrgParams object with the ability to set a timeout on a request.

func (*UpdateOrgUserForCurrentOrgParams) SetBody

SetBody adds the body to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) SetContext

SetContext adds the context to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) SetDefaults

func (o *UpdateOrgUserForCurrentOrgParams) SetDefaults()

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

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

func (*UpdateOrgUserForCurrentOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) SetTimeout

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

SetTimeout adds the timeout to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) SetUserID

func (o *UpdateOrgUserForCurrentOrgParams) SetUserID(userID int64)

SetUserID adds the userId to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) WithBody

WithBody adds the body to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) WithContext

WithContext adds the context to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) WithDefaults

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

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

func (*UpdateOrgUserForCurrentOrgParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) WithTimeout

WithTimeout adds the timeout to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) WithUserID

WithUserID adds the userID to the update org user for current org params

func (*UpdateOrgUserForCurrentOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrgUserForCurrentOrgReader

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

UpdateOrgUserForCurrentOrgReader is a Reader for the UpdateOrgUserForCurrentOrg structure.

func (*UpdateOrgUserForCurrentOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrgUserForCurrentOrgUnauthorized

type UpdateOrgUserForCurrentOrgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateOrgUserForCurrentOrgUnauthorized

func NewUpdateOrgUserForCurrentOrgUnauthorized() *UpdateOrgUserForCurrentOrgUnauthorized

NewUpdateOrgUserForCurrentOrgUnauthorized creates a UpdateOrgUserForCurrentOrgUnauthorized with default headers values

func (*UpdateOrgUserForCurrentOrgUnauthorized) Code

Code gets the status code for the update org user for current org unauthorized response

func (*UpdateOrgUserForCurrentOrgUnauthorized) Error

func (*UpdateOrgUserForCurrentOrgUnauthorized) GetPayload

func (*UpdateOrgUserForCurrentOrgUnauthorized) IsClientError

func (o *UpdateOrgUserForCurrentOrgUnauthorized) IsClientError() bool

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

func (*UpdateOrgUserForCurrentOrgUnauthorized) IsCode

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

func (*UpdateOrgUserForCurrentOrgUnauthorized) IsRedirect

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

func (*UpdateOrgUserForCurrentOrgUnauthorized) IsServerError

func (o *UpdateOrgUserForCurrentOrgUnauthorized) IsServerError() bool

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

func (*UpdateOrgUserForCurrentOrgUnauthorized) IsSuccess

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

func (*UpdateOrgUserForCurrentOrgUnauthorized) String

Jump to

Keyboard shortcuts

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