tenants

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for tenants API

func (*Client) CreateUser

func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error)
CreateUser creates user

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) CreateUserGroup

func (a *Client) CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserGroupOK, error)
CreateUserGroup creates user group

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
GetUser gets user

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) GetUserGroup

func (a *Client) GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupOK, error)
GetUserGroup gets user group

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) GetUserGroups

func (a *Client) GetUserGroups(params *GetUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupsOK, error)
GetUserGroups gets user groups

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) GetUsers

func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error)
GetUsers gets all users

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) RemoveUser

func (a *Client) RemoveUser(params *RemoveUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserOK, error)
RemoveUser deletes user

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) RemoveUserGroup

func (a *Client) RemoveUserGroup(params *RemoveUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserGroupOK, error)
RemoveUserGroup deletes user group

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateUser

func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUser updates user

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

func (*Client) UpdateUserGroup

func (a *Client) UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserGroupOK, error)
UpdateUserGroup updates user group

NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error)

	CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserGroupOK, error)

	GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)

	GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupOK, error)

	GetUserGroups(params *GetUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupsOK, error)

	GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error)

	RemoveUser(params *RemoveUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserOK, error)

	RemoveUserGroup(params *RemoveUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserGroupOK, error)

	UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)

	UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserGroupOK, 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 tenants API client.

type CreateUserBadRequest

type CreateUserBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewCreateUserBadRequest

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) Error

func (o *CreateUserBadRequest) Error() string

func (*CreateUserBadRequest) IsClientError added in v1.19.1

func (o *CreateUserBadRequest) IsClientError() bool

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

func (*CreateUserBadRequest) IsCode added in v1.19.1

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

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

func (*CreateUserBadRequest) IsRedirect added in v1.19.1

func (o *CreateUserBadRequest) IsRedirect() bool

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

func (*CreateUserBadRequest) IsServerError added in v1.19.1

func (o *CreateUserBadRequest) IsServerError() bool

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

func (*CreateUserBadRequest) IsSuccess added in v1.19.1

func (o *CreateUserBadRequest) IsSuccess() bool

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

func (*CreateUserBadRequest) String added in v1.19.1

func (o *CreateUserBadRequest) String() string

type CreateUserConflict

type CreateUserConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewCreateUserConflict

func NewCreateUserConflict() *CreateUserConflict

NewCreateUserConflict creates a CreateUserConflict with default headers values

func (*CreateUserConflict) Error

func (o *CreateUserConflict) Error() string

func (*CreateUserConflict) IsClientError added in v1.19.1

func (o *CreateUserConflict) IsClientError() bool

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

func (*CreateUserConflict) IsCode added in v1.19.1

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

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

func (*CreateUserConflict) IsRedirect added in v1.19.1

func (o *CreateUserConflict) IsRedirect() bool

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

func (*CreateUserConflict) IsServerError added in v1.19.1

func (o *CreateUserConflict) IsServerError() bool

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

func (*CreateUserConflict) IsSuccess added in v1.19.1

func (o *CreateUserConflict) IsSuccess() bool

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

func (*CreateUserConflict) String added in v1.19.1

func (o *CreateUserConflict) String() string

type CreateUserForbidden

type CreateUserForbidden struct {
}

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

Client is not authorized to make this request.

func NewCreateUserForbidden

func NewCreateUserForbidden() *CreateUserForbidden

NewCreateUserForbidden creates a CreateUserForbidden with default headers values

func (*CreateUserForbidden) Error

func (o *CreateUserForbidden) Error() string

func (*CreateUserForbidden) IsClientError added in v1.19.1

func (o *CreateUserForbidden) IsClientError() bool

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

func (*CreateUserForbidden) IsCode added in v1.19.1

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

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

func (*CreateUserForbidden) IsRedirect added in v1.19.1

func (o *CreateUserForbidden) IsRedirect() bool

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

func (*CreateUserForbidden) IsServerError added in v1.19.1

func (o *CreateUserForbidden) IsServerError() bool

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

func (*CreateUserForbidden) IsSuccess added in v1.19.1

func (o *CreateUserForbidden) IsSuccess() bool

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

func (*CreateUserForbidden) String added in v1.19.1

func (o *CreateUserForbidden) String() string

type CreateUserGroupBadRequest

type CreateUserGroupBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewCreateUserGroupBadRequest

func NewCreateUserGroupBadRequest() *CreateUserGroupBadRequest

NewCreateUserGroupBadRequest creates a CreateUserGroupBadRequest with default headers values

func (*CreateUserGroupBadRequest) Error

func (o *CreateUserGroupBadRequest) Error() string

func (*CreateUserGroupBadRequest) IsClientError added in v1.19.1

func (o *CreateUserGroupBadRequest) IsClientError() bool

IsClientError returns true when this create user group bad request response has a 4xx status code

func (*CreateUserGroupBadRequest) IsCode added in v1.19.1

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

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

func (*CreateUserGroupBadRequest) IsRedirect added in v1.19.1

func (o *CreateUserGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this create user group bad request response has a 3xx status code

func (*CreateUserGroupBadRequest) IsServerError added in v1.19.1

func (o *CreateUserGroupBadRequest) IsServerError() bool

IsServerError returns true when this create user group bad request response has a 5xx status code

func (*CreateUserGroupBadRequest) IsSuccess added in v1.19.1

func (o *CreateUserGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this create user group bad request response has a 2xx status code

func (*CreateUserGroupBadRequest) String added in v1.19.1

func (o *CreateUserGroupBadRequest) String() string

type CreateUserGroupConflict

type CreateUserGroupConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewCreateUserGroupConflict

func NewCreateUserGroupConflict() *CreateUserGroupConflict

NewCreateUserGroupConflict creates a CreateUserGroupConflict with default headers values

func (*CreateUserGroupConflict) Error

func (o *CreateUserGroupConflict) Error() string

func (*CreateUserGroupConflict) IsClientError added in v1.19.1

func (o *CreateUserGroupConflict) IsClientError() bool

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

func (*CreateUserGroupConflict) IsCode added in v1.19.1

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

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

func (*CreateUserGroupConflict) IsRedirect added in v1.19.1

func (o *CreateUserGroupConflict) IsRedirect() bool

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

func (*CreateUserGroupConflict) IsServerError added in v1.19.1

func (o *CreateUserGroupConflict) IsServerError() bool

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

func (*CreateUserGroupConflict) IsSuccess added in v1.19.1

func (o *CreateUserGroupConflict) IsSuccess() bool

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

func (*CreateUserGroupConflict) String added in v1.19.1

func (o *CreateUserGroupConflict) String() string

type CreateUserGroupForbidden

type CreateUserGroupForbidden struct {
}

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

Client is not authorized to make this request.

func NewCreateUserGroupForbidden

func NewCreateUserGroupForbidden() *CreateUserGroupForbidden

NewCreateUserGroupForbidden creates a CreateUserGroupForbidden with default headers values

func (*CreateUserGroupForbidden) Error

func (o *CreateUserGroupForbidden) Error() string

func (*CreateUserGroupForbidden) IsClientError added in v1.19.1

func (o *CreateUserGroupForbidden) IsClientError() bool

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

func (*CreateUserGroupForbidden) IsCode added in v1.19.1

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

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

func (*CreateUserGroupForbidden) IsRedirect added in v1.19.1

func (o *CreateUserGroupForbidden) IsRedirect() bool

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

func (*CreateUserGroupForbidden) IsServerError added in v1.19.1

func (o *CreateUserGroupForbidden) IsServerError() bool

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

func (*CreateUserGroupForbidden) IsSuccess added in v1.19.1

func (o *CreateUserGroupForbidden) IsSuccess() bool

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

func (*CreateUserGroupForbidden) String added in v1.19.1

func (o *CreateUserGroupForbidden) String() string

type CreateUserGroupNotFound

type CreateUserGroupNotFound struct {
}

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

The specified resource could not be found.

func NewCreateUserGroupNotFound

func NewCreateUserGroupNotFound() *CreateUserGroupNotFound

NewCreateUserGroupNotFound creates a CreateUserGroupNotFound with default headers values

func (*CreateUserGroupNotFound) Error

func (o *CreateUserGroupNotFound) Error() string

func (*CreateUserGroupNotFound) IsClientError added in v1.19.1

func (o *CreateUserGroupNotFound) IsClientError() bool

IsClientError returns true when this create user group not found response has a 4xx status code

func (*CreateUserGroupNotFound) IsCode added in v1.19.1

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

IsCode returns true when this create user group not found response a status code equal to that given

func (*CreateUserGroupNotFound) IsRedirect added in v1.19.1

func (o *CreateUserGroupNotFound) IsRedirect() bool

IsRedirect returns true when this create user group not found response has a 3xx status code

func (*CreateUserGroupNotFound) IsServerError added in v1.19.1

func (o *CreateUserGroupNotFound) IsServerError() bool

IsServerError returns true when this create user group not found response has a 5xx status code

func (*CreateUserGroupNotFound) IsSuccess added in v1.19.1

func (o *CreateUserGroupNotFound) IsSuccess() bool

IsSuccess returns true when this create user group not found response has a 2xx status code

func (*CreateUserGroupNotFound) String added in v1.19.1

func (o *CreateUserGroupNotFound) String() string

type CreateUserGroupOK

type CreateUserGroupOK struct {
	Payload *models.UserGroup
}

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

successful operation

func NewCreateUserGroupOK

func NewCreateUserGroupOK() *CreateUserGroupOK

NewCreateUserGroupOK creates a CreateUserGroupOK with default headers values

func (*CreateUserGroupOK) Error

func (o *CreateUserGroupOK) Error() string

func (*CreateUserGroupOK) GetPayload

func (o *CreateUserGroupOK) GetPayload() *models.UserGroup

func (*CreateUserGroupOK) IsClientError added in v1.19.1

func (o *CreateUserGroupOK) IsClientError() bool

IsClientError returns true when this create user group o k response has a 4xx status code

func (*CreateUserGroupOK) IsCode added in v1.19.1

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

IsCode returns true when this create user group o k response a status code equal to that given

func (*CreateUserGroupOK) IsRedirect added in v1.19.1

func (o *CreateUserGroupOK) IsRedirect() bool

IsRedirect returns true when this create user group o k response has a 3xx status code

func (*CreateUserGroupOK) IsServerError added in v1.19.1

func (o *CreateUserGroupOK) IsServerError() bool

IsServerError returns true when this create user group o k response has a 5xx status code

func (*CreateUserGroupOK) IsSuccess added in v1.19.1

func (o *CreateUserGroupOK) IsSuccess() bool

IsSuccess returns true when this create user group o k response has a 2xx status code

func (*CreateUserGroupOK) String added in v1.19.1

func (o *CreateUserGroupOK) String() string

type CreateUserGroupParams

type CreateUserGroupParams struct {

	/* Body.

	   The user group configuration details.
	*/
	Body *models.UserGroup

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

CreateUserGroupParams contains all the parameters to send to the API endpoint

for the create user group operation.

Typically these are written to a http.Request.

func NewCreateUserGroupParams

func NewCreateUserGroupParams() *CreateUserGroupParams

NewCreateUserGroupParams creates a new CreateUserGroupParams 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 NewCreateUserGroupParamsWithContext

func NewCreateUserGroupParamsWithContext(ctx context.Context) *CreateUserGroupParams

NewCreateUserGroupParamsWithContext creates a new CreateUserGroupParams object with the ability to set a context for a request.

func NewCreateUserGroupParamsWithHTTPClient

func NewCreateUserGroupParamsWithHTTPClient(client *http.Client) *CreateUserGroupParams

NewCreateUserGroupParamsWithHTTPClient creates a new CreateUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserGroupParamsWithTimeout

func NewCreateUserGroupParamsWithTimeout(timeout time.Duration) *CreateUserGroupParams

NewCreateUserGroupParamsWithTimeout creates a new CreateUserGroupParams object with the ability to set a timeout on a request.

func (*CreateUserGroupParams) SetBody

func (o *CreateUserGroupParams) SetBody(body *models.UserGroup)

SetBody adds the body to the create user group params

func (*CreateUserGroupParams) SetContext

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

SetContext adds the context to the create user group params

func (*CreateUserGroupParams) SetDefaults

func (o *CreateUserGroupParams) SetDefaults()

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

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

func (*CreateUserGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user group params

func (*CreateUserGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create user group params

func (*CreateUserGroupParams) WithBody

WithBody adds the body to the create user group params

func (*CreateUserGroupParams) WithContext

WithContext adds the context to the create user group params

func (*CreateUserGroupParams) WithDefaults

func (o *CreateUserGroupParams) WithDefaults() *CreateUserGroupParams

WithDefaults hydrates default values in the create user group params (not the query body).

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

func (*CreateUserGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user group params

func (*CreateUserGroupParams) WithTimeout

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

WithTimeout adds the timeout to the create user group params

func (*CreateUserGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateUserGroupReader

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

CreateUserGroupReader is a Reader for the CreateUserGroup structure.

func (*CreateUserGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserGroupUnauthorized

type CreateUserGroupUnauthorized struct {
}

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

Client could not be authenticated.

func NewCreateUserGroupUnauthorized

func NewCreateUserGroupUnauthorized() *CreateUserGroupUnauthorized

NewCreateUserGroupUnauthorized creates a CreateUserGroupUnauthorized with default headers values

func (*CreateUserGroupUnauthorized) Error

func (*CreateUserGroupUnauthorized) IsClientError added in v1.19.1

func (o *CreateUserGroupUnauthorized) IsClientError() bool

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

func (*CreateUserGroupUnauthorized) IsCode added in v1.19.1

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

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

func (*CreateUserGroupUnauthorized) IsRedirect added in v1.19.1

func (o *CreateUserGroupUnauthorized) IsRedirect() bool

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

func (*CreateUserGroupUnauthorized) IsServerError added in v1.19.1

func (o *CreateUserGroupUnauthorized) IsServerError() bool

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

func (*CreateUserGroupUnauthorized) IsSuccess added in v1.19.1

func (o *CreateUserGroupUnauthorized) IsSuccess() bool

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

func (*CreateUserGroupUnauthorized) String added in v1.19.1

func (o *CreateUserGroupUnauthorized) String() string

type CreateUserNotFound

type CreateUserNotFound struct {
}

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

The specified resource could not be found.

func NewCreateUserNotFound

func NewCreateUserNotFound() *CreateUserNotFound

NewCreateUserNotFound creates a CreateUserNotFound with default headers values

func (*CreateUserNotFound) Error

func (o *CreateUserNotFound) Error() string

func (*CreateUserNotFound) IsClientError added in v1.19.1

func (o *CreateUserNotFound) IsClientError() bool

IsClientError returns true when this create user not found response has a 4xx status code

func (*CreateUserNotFound) IsCode added in v1.19.1

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

IsCode returns true when this create user not found response a status code equal to that given

func (*CreateUserNotFound) IsRedirect added in v1.19.1

func (o *CreateUserNotFound) IsRedirect() bool

IsRedirect returns true when this create user not found response has a 3xx status code

func (*CreateUserNotFound) IsServerError added in v1.19.1

func (o *CreateUserNotFound) IsServerError() bool

IsServerError returns true when this create user not found response has a 5xx status code

func (*CreateUserNotFound) IsSuccess added in v1.19.1

func (o *CreateUserNotFound) IsSuccess() bool

IsSuccess returns true when this create user not found response has a 2xx status code

func (*CreateUserNotFound) String added in v1.19.1

func (o *CreateUserNotFound) String() string

type CreateUserOK

type CreateUserOK struct {
	Payload *models.User
}

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

successful operation

func NewCreateUserOK

func NewCreateUserOK() *CreateUserOK

NewCreateUserOK creates a CreateUserOK with default headers values

func (*CreateUserOK) Error

func (o *CreateUserOK) Error() string

func (*CreateUserOK) GetPayload

func (o *CreateUserOK) GetPayload() *models.User

func (*CreateUserOK) IsClientError added in v1.19.1

func (o *CreateUserOK) IsClientError() bool

IsClientError returns true when this create user o k response has a 4xx status code

func (*CreateUserOK) IsCode added in v1.19.1

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

IsCode returns true when this create user o k response a status code equal to that given

func (*CreateUserOK) IsRedirect added in v1.19.1

func (o *CreateUserOK) IsRedirect() bool

IsRedirect returns true when this create user o k response has a 3xx status code

func (*CreateUserOK) IsServerError added in v1.19.1

func (o *CreateUserOK) IsServerError() bool

IsServerError returns true when this create user o k response has a 5xx status code

func (*CreateUserOK) IsSuccess added in v1.19.1

func (o *CreateUserOK) IsSuccess() bool

IsSuccess returns true when this create user o k response has a 2xx status code

func (*CreateUserOK) String added in v1.19.1

func (o *CreateUserOK) String() string

type CreateUserParams

type CreateUserParams struct {

	/* Body.

	   The user configuration details.
	*/
	Body *models.User

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

CreateUserParams contains all the parameters to send to the API endpoint

for the create user operation.

Typically these are written to a http.Request.

func NewCreateUserParams

func NewCreateUserParams() *CreateUserParams

NewCreateUserParams creates a new CreateUserParams 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 NewCreateUserParamsWithContext

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.

func NewCreateUserParamsWithHTTPClient

func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams

NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserParamsWithTimeout

func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams

NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.

func (*CreateUserParams) SetBody

func (o *CreateUserParams) SetBody(body *models.User)

SetBody adds the body to the create user params

func (*CreateUserParams) SetContext

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

SetContext adds the context to the create user params

func (*CreateUserParams) SetDefaults

func (o *CreateUserParams) SetDefaults()

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

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

func (*CreateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) SetTimeout

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

SetTimeout adds the timeout to the create user params

func (*CreateUserParams) WithBody

func (o *CreateUserParams) WithBody(body *models.User) *CreateUserParams

WithBody adds the body to the create user params

func (*CreateUserParams) WithContext

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

WithContext adds the context to the create user params

func (*CreateUserParams) WithDefaults

func (o *CreateUserParams) WithDefaults() *CreateUserParams

WithDefaults hydrates default values in the create user params (not the query body).

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

func (*CreateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) WithTimeout

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

WithTimeout adds the timeout to the create user params

func (*CreateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateUserReader

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

CreateUserReader is a Reader for the CreateUser structure.

func (*CreateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserUnauthorized

type CreateUserUnauthorized struct {
}

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

Client could not be authenticated.

func NewCreateUserUnauthorized

func NewCreateUserUnauthorized() *CreateUserUnauthorized

NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values

func (*CreateUserUnauthorized) Error

func (o *CreateUserUnauthorized) Error() string

func (*CreateUserUnauthorized) IsClientError added in v1.19.1

func (o *CreateUserUnauthorized) IsClientError() bool

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

func (*CreateUserUnauthorized) IsCode added in v1.19.1

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

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

func (*CreateUserUnauthorized) IsRedirect added in v1.19.1

func (o *CreateUserUnauthorized) IsRedirect() bool

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

func (*CreateUserUnauthorized) IsServerError added in v1.19.1

func (o *CreateUserUnauthorized) IsServerError() bool

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

func (*CreateUserUnauthorized) IsSuccess added in v1.19.1

func (o *CreateUserUnauthorized) IsSuccess() bool

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

func (*CreateUserUnauthorized) String added in v1.19.1

func (o *CreateUserUnauthorized) String() string

type GetUserBadRequest

type GetUserBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewGetUserBadRequest

func NewGetUserBadRequest() *GetUserBadRequest

NewGetUserBadRequest creates a GetUserBadRequest with default headers values

func (*GetUserBadRequest) Error

func (o *GetUserBadRequest) Error() string

func (*GetUserBadRequest) IsClientError added in v1.19.1

func (o *GetUserBadRequest) IsClientError() bool

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

func (*GetUserBadRequest) IsCode added in v1.19.1

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

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

func (*GetUserBadRequest) IsRedirect added in v1.19.1

func (o *GetUserBadRequest) IsRedirect() bool

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

func (*GetUserBadRequest) IsServerError added in v1.19.1

func (o *GetUserBadRequest) IsServerError() bool

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

func (*GetUserBadRequest) IsSuccess added in v1.19.1

func (o *GetUserBadRequest) IsSuccess() bool

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

func (*GetUserBadRequest) String added in v1.19.1

func (o *GetUserBadRequest) String() string

type GetUserConflict

type GetUserConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewGetUserConflict

func NewGetUserConflict() *GetUserConflict

NewGetUserConflict creates a GetUserConflict with default headers values

func (*GetUserConflict) Error

func (o *GetUserConflict) Error() string

func (*GetUserConflict) IsClientError added in v1.19.1

func (o *GetUserConflict) IsClientError() bool

IsClientError returns true when this get user conflict response has a 4xx status code

func (*GetUserConflict) IsCode added in v1.19.1

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

IsCode returns true when this get user conflict response a status code equal to that given

func (*GetUserConflict) IsRedirect added in v1.19.1

func (o *GetUserConflict) IsRedirect() bool

IsRedirect returns true when this get user conflict response has a 3xx status code

func (*GetUserConflict) IsServerError added in v1.19.1

func (o *GetUserConflict) IsServerError() bool

IsServerError returns true when this get user conflict response has a 5xx status code

func (*GetUserConflict) IsSuccess added in v1.19.1

func (o *GetUserConflict) IsSuccess() bool

IsSuccess returns true when this get user conflict response has a 2xx status code

func (*GetUserConflict) String added in v1.19.1

func (o *GetUserConflict) String() string

type GetUserForbidden

type GetUserForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetUserForbidden

func NewGetUserForbidden() *GetUserForbidden

NewGetUserForbidden creates a GetUserForbidden with default headers values

func (*GetUserForbidden) Error

func (o *GetUserForbidden) Error() string

func (*GetUserForbidden) IsClientError added in v1.19.1

func (o *GetUserForbidden) IsClientError() bool

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

func (*GetUserForbidden) IsCode added in v1.19.1

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

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

func (*GetUserForbidden) IsRedirect added in v1.19.1

func (o *GetUserForbidden) IsRedirect() bool

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

func (*GetUserForbidden) IsServerError added in v1.19.1

func (o *GetUserForbidden) IsServerError() bool

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

func (*GetUserForbidden) IsSuccess added in v1.19.1

func (o *GetUserForbidden) IsSuccess() bool

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

func (*GetUserForbidden) String added in v1.19.1

func (o *GetUserForbidden) String() string

type GetUserGroupBadRequest

type GetUserGroupBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewGetUserGroupBadRequest

func NewGetUserGroupBadRequest() *GetUserGroupBadRequest

NewGetUserGroupBadRequest creates a GetUserGroupBadRequest with default headers values

func (*GetUserGroupBadRequest) Error

func (o *GetUserGroupBadRequest) Error() string

func (*GetUserGroupBadRequest) IsClientError added in v1.19.1

func (o *GetUserGroupBadRequest) IsClientError() bool

IsClientError returns true when this get user group bad request response has a 4xx status code

func (*GetUserGroupBadRequest) IsCode added in v1.19.1

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

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

func (*GetUserGroupBadRequest) IsRedirect added in v1.19.1

func (o *GetUserGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this get user group bad request response has a 3xx status code

func (*GetUserGroupBadRequest) IsServerError added in v1.19.1

func (o *GetUserGroupBadRequest) IsServerError() bool

IsServerError returns true when this get user group bad request response has a 5xx status code

func (*GetUserGroupBadRequest) IsSuccess added in v1.19.1

func (o *GetUserGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this get user group bad request response has a 2xx status code

func (*GetUserGroupBadRequest) String added in v1.19.1

func (o *GetUserGroupBadRequest) String() string

type GetUserGroupConflict

type GetUserGroupConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewGetUserGroupConflict

func NewGetUserGroupConflict() *GetUserGroupConflict

NewGetUserGroupConflict creates a GetUserGroupConflict with default headers values

func (*GetUserGroupConflict) Error

func (o *GetUserGroupConflict) Error() string

func (*GetUserGroupConflict) IsClientError added in v1.19.1

func (o *GetUserGroupConflict) IsClientError() bool

IsClientError returns true when this get user group conflict response has a 4xx status code

func (*GetUserGroupConflict) IsCode added in v1.19.1

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

IsCode returns true when this get user group conflict response a status code equal to that given

func (*GetUserGroupConflict) IsRedirect added in v1.19.1

func (o *GetUserGroupConflict) IsRedirect() bool

IsRedirect returns true when this get user group conflict response has a 3xx status code

func (*GetUserGroupConflict) IsServerError added in v1.19.1

func (o *GetUserGroupConflict) IsServerError() bool

IsServerError returns true when this get user group conflict response has a 5xx status code

func (*GetUserGroupConflict) IsSuccess added in v1.19.1

func (o *GetUserGroupConflict) IsSuccess() bool

IsSuccess returns true when this get user group conflict response has a 2xx status code

func (*GetUserGroupConflict) String added in v1.19.1

func (o *GetUserGroupConflict) String() string

type GetUserGroupForbidden

type GetUserGroupForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetUserGroupForbidden

func NewGetUserGroupForbidden() *GetUserGroupForbidden

NewGetUserGroupForbidden creates a GetUserGroupForbidden with default headers values

func (*GetUserGroupForbidden) Error

func (o *GetUserGroupForbidden) Error() string

func (*GetUserGroupForbidden) IsClientError added in v1.19.1

func (o *GetUserGroupForbidden) IsClientError() bool

IsClientError returns true when this get user group forbidden response has a 4xx status code

func (*GetUserGroupForbidden) IsCode added in v1.19.1

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

IsCode returns true when this get user group forbidden response a status code equal to that given

func (*GetUserGroupForbidden) IsRedirect added in v1.19.1

func (o *GetUserGroupForbidden) IsRedirect() bool

IsRedirect returns true when this get user group forbidden response has a 3xx status code

func (*GetUserGroupForbidden) IsServerError added in v1.19.1

func (o *GetUserGroupForbidden) IsServerError() bool

IsServerError returns true when this get user group forbidden response has a 5xx status code

func (*GetUserGroupForbidden) IsSuccess added in v1.19.1

func (o *GetUserGroupForbidden) IsSuccess() bool

IsSuccess returns true when this get user group forbidden response has a 2xx status code

func (*GetUserGroupForbidden) String added in v1.19.1

func (o *GetUserGroupForbidden) String() string

type GetUserGroupNotFound

type GetUserGroupNotFound struct {
}

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

The specified resource could not be found.

func NewGetUserGroupNotFound

func NewGetUserGroupNotFound() *GetUserGroupNotFound

NewGetUserGroupNotFound creates a GetUserGroupNotFound with default headers values

func (*GetUserGroupNotFound) Error

func (o *GetUserGroupNotFound) Error() string

func (*GetUserGroupNotFound) IsClientError added in v1.19.1

func (o *GetUserGroupNotFound) IsClientError() bool

IsClientError returns true when this get user group not found response has a 4xx status code

func (*GetUserGroupNotFound) IsCode added in v1.19.1

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

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

func (*GetUserGroupNotFound) IsRedirect added in v1.19.1

func (o *GetUserGroupNotFound) IsRedirect() bool

IsRedirect returns true when this get user group not found response has a 3xx status code

func (*GetUserGroupNotFound) IsServerError added in v1.19.1

func (o *GetUserGroupNotFound) IsServerError() bool

IsServerError returns true when this get user group not found response has a 5xx status code

func (*GetUserGroupNotFound) IsSuccess added in v1.19.1

func (o *GetUserGroupNotFound) IsSuccess() bool

IsSuccess returns true when this get user group not found response has a 2xx status code

func (*GetUserGroupNotFound) String added in v1.19.1

func (o *GetUserGroupNotFound) String() string

type GetUserGroupOK

type GetUserGroupOK struct {
	Payload *models.UserGroup
}

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

successful operation

func NewGetUserGroupOK

func NewGetUserGroupOK() *GetUserGroupOK

NewGetUserGroupOK creates a GetUserGroupOK with default headers values

func (*GetUserGroupOK) Error

func (o *GetUserGroupOK) Error() string

func (*GetUserGroupOK) GetPayload

func (o *GetUserGroupOK) GetPayload() *models.UserGroup

func (*GetUserGroupOK) IsClientError added in v1.19.1

func (o *GetUserGroupOK) IsClientError() bool

IsClientError returns true when this get user group o k response has a 4xx status code

func (*GetUserGroupOK) IsCode added in v1.19.1

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

IsCode returns true when this get user group o k response a status code equal to that given

func (*GetUserGroupOK) IsRedirect added in v1.19.1

func (o *GetUserGroupOK) IsRedirect() bool

IsRedirect returns true when this get user group o k response has a 3xx status code

func (*GetUserGroupOK) IsServerError added in v1.19.1

func (o *GetUserGroupOK) IsServerError() bool

IsServerError returns true when this get user group o k response has a 5xx status code

func (*GetUserGroupOK) IsSuccess added in v1.19.1

func (o *GetUserGroupOK) IsSuccess() bool

IsSuccess returns true when this get user group o k response has a 2xx status code

func (*GetUserGroupOK) String added in v1.19.1

func (o *GetUserGroupOK) String() string

type GetUserGroupParams

type GetUserGroupParams struct {

	/* ID.

	   The user group id.
	*/
	ID string

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

GetUserGroupParams contains all the parameters to send to the API endpoint

for the get user group operation.

Typically these are written to a http.Request.

func NewGetUserGroupParams

func NewGetUserGroupParams() *GetUserGroupParams

NewGetUserGroupParams creates a new GetUserGroupParams 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 NewGetUserGroupParamsWithContext

func NewGetUserGroupParamsWithContext(ctx context.Context) *GetUserGroupParams

NewGetUserGroupParamsWithContext creates a new GetUserGroupParams object with the ability to set a context for a request.

func NewGetUserGroupParamsWithHTTPClient

func NewGetUserGroupParamsWithHTTPClient(client *http.Client) *GetUserGroupParams

NewGetUserGroupParamsWithHTTPClient creates a new GetUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserGroupParamsWithTimeout

func NewGetUserGroupParamsWithTimeout(timeout time.Duration) *GetUserGroupParams

NewGetUserGroupParamsWithTimeout creates a new GetUserGroupParams object with the ability to set a timeout on a request.

func (*GetUserGroupParams) SetContext

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

SetContext adds the context to the get user group params

func (*GetUserGroupParams) SetDefaults

func (o *GetUserGroupParams) SetDefaults()

SetDefaults hydrates default values in the get user group params (not the query body).

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

func (*GetUserGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user group params

func (*GetUserGroupParams) SetID

func (o *GetUserGroupParams) SetID(id string)

SetID adds the id to the get user group params

func (*GetUserGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get user group params

func (*GetUserGroupParams) WithContext

WithContext adds the context to the get user group params

func (*GetUserGroupParams) WithDefaults

func (o *GetUserGroupParams) WithDefaults() *GetUserGroupParams

WithDefaults hydrates default values in the get user group params (not the query body).

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

func (*GetUserGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user group params

func (*GetUserGroupParams) WithID

WithID adds the id to the get user group params

func (*GetUserGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get user group params

func (*GetUserGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserGroupReader

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

GetUserGroupReader is a Reader for the GetUserGroup structure.

func (*GetUserGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserGroupUnauthorized

type GetUserGroupUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetUserGroupUnauthorized

func NewGetUserGroupUnauthorized() *GetUserGroupUnauthorized

NewGetUserGroupUnauthorized creates a GetUserGroupUnauthorized with default headers values

func (*GetUserGroupUnauthorized) Error

func (o *GetUserGroupUnauthorized) Error() string

func (*GetUserGroupUnauthorized) IsClientError added in v1.19.1

func (o *GetUserGroupUnauthorized) IsClientError() bool

IsClientError returns true when this get user group unauthorized response has a 4xx status code

func (*GetUserGroupUnauthorized) IsCode added in v1.19.1

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

IsCode returns true when this get user group unauthorized response a status code equal to that given

func (*GetUserGroupUnauthorized) IsRedirect added in v1.19.1

func (o *GetUserGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this get user group unauthorized response has a 3xx status code

func (*GetUserGroupUnauthorized) IsServerError added in v1.19.1

func (o *GetUserGroupUnauthorized) IsServerError() bool

IsServerError returns true when this get user group unauthorized response has a 5xx status code

func (*GetUserGroupUnauthorized) IsSuccess added in v1.19.1

func (o *GetUserGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this get user group unauthorized response has a 2xx status code

func (*GetUserGroupUnauthorized) String added in v1.19.1

func (o *GetUserGroupUnauthorized) String() string

type GetUserGroupsBadRequest

type GetUserGroupsBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewGetUserGroupsBadRequest

func NewGetUserGroupsBadRequest() *GetUserGroupsBadRequest

NewGetUserGroupsBadRequest creates a GetUserGroupsBadRequest with default headers values

func (*GetUserGroupsBadRequest) Error

func (o *GetUserGroupsBadRequest) Error() string

func (*GetUserGroupsBadRequest) IsClientError added in v1.19.1

func (o *GetUserGroupsBadRequest) IsClientError() bool

IsClientError returns true when this get user groups bad request response has a 4xx status code

func (*GetUserGroupsBadRequest) IsCode added in v1.19.1

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

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

func (*GetUserGroupsBadRequest) IsRedirect added in v1.19.1

func (o *GetUserGroupsBadRequest) IsRedirect() bool

IsRedirect returns true when this get user groups bad request response has a 3xx status code

func (*GetUserGroupsBadRequest) IsServerError added in v1.19.1

func (o *GetUserGroupsBadRequest) IsServerError() bool

IsServerError returns true when this get user groups bad request response has a 5xx status code

func (*GetUserGroupsBadRequest) IsSuccess added in v1.19.1

func (o *GetUserGroupsBadRequest) IsSuccess() bool

IsSuccess returns true when this get user groups bad request response has a 2xx status code

func (*GetUserGroupsBadRequest) String added in v1.19.1

func (o *GetUserGroupsBadRequest) String() string

type GetUserGroupsConflict

type GetUserGroupsConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewGetUserGroupsConflict

func NewGetUserGroupsConflict() *GetUserGroupsConflict

NewGetUserGroupsConflict creates a GetUserGroupsConflict with default headers values

func (*GetUserGroupsConflict) Error

func (o *GetUserGroupsConflict) Error() string

func (*GetUserGroupsConflict) IsClientError added in v1.19.1

func (o *GetUserGroupsConflict) IsClientError() bool

IsClientError returns true when this get user groups conflict response has a 4xx status code

func (*GetUserGroupsConflict) IsCode added in v1.19.1

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

IsCode returns true when this get user groups conflict response a status code equal to that given

func (*GetUserGroupsConflict) IsRedirect added in v1.19.1

func (o *GetUserGroupsConflict) IsRedirect() bool

IsRedirect returns true when this get user groups conflict response has a 3xx status code

func (*GetUserGroupsConflict) IsServerError added in v1.19.1

func (o *GetUserGroupsConflict) IsServerError() bool

IsServerError returns true when this get user groups conflict response has a 5xx status code

func (*GetUserGroupsConflict) IsSuccess added in v1.19.1

func (o *GetUserGroupsConflict) IsSuccess() bool

IsSuccess returns true when this get user groups conflict response has a 2xx status code

func (*GetUserGroupsConflict) String added in v1.19.1

func (o *GetUserGroupsConflict) String() string

type GetUserGroupsForbidden

type GetUserGroupsForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetUserGroupsForbidden

func NewGetUserGroupsForbidden() *GetUserGroupsForbidden

NewGetUserGroupsForbidden creates a GetUserGroupsForbidden with default headers values

func (*GetUserGroupsForbidden) Error

func (o *GetUserGroupsForbidden) Error() string

func (*GetUserGroupsForbidden) IsClientError added in v1.19.1

func (o *GetUserGroupsForbidden) IsClientError() bool

IsClientError returns true when this get user groups forbidden response has a 4xx status code

func (*GetUserGroupsForbidden) IsCode added in v1.19.1

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

IsCode returns true when this get user groups forbidden response a status code equal to that given

func (*GetUserGroupsForbidden) IsRedirect added in v1.19.1

func (o *GetUserGroupsForbidden) IsRedirect() bool

IsRedirect returns true when this get user groups forbidden response has a 3xx status code

func (*GetUserGroupsForbidden) IsServerError added in v1.19.1

func (o *GetUserGroupsForbidden) IsServerError() bool

IsServerError returns true when this get user groups forbidden response has a 5xx status code

func (*GetUserGroupsForbidden) IsSuccess added in v1.19.1

func (o *GetUserGroupsForbidden) IsSuccess() bool

IsSuccess returns true when this get user groups forbidden response has a 2xx status code

func (*GetUserGroupsForbidden) String added in v1.19.1

func (o *GetUserGroupsForbidden) String() string

type GetUserGroupsNotFound

type GetUserGroupsNotFound struct {
}

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

The specified resource could not be found.

func NewGetUserGroupsNotFound

func NewGetUserGroupsNotFound() *GetUserGroupsNotFound

NewGetUserGroupsNotFound creates a GetUserGroupsNotFound with default headers values

func (*GetUserGroupsNotFound) Error

func (o *GetUserGroupsNotFound) Error() string

func (*GetUserGroupsNotFound) IsClientError added in v1.19.1

func (o *GetUserGroupsNotFound) IsClientError() bool

IsClientError returns true when this get user groups not found response has a 4xx status code

func (*GetUserGroupsNotFound) IsCode added in v1.19.1

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

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

func (*GetUserGroupsNotFound) IsRedirect added in v1.19.1

func (o *GetUserGroupsNotFound) IsRedirect() bool

IsRedirect returns true when this get user groups not found response has a 3xx status code

func (*GetUserGroupsNotFound) IsServerError added in v1.19.1

func (o *GetUserGroupsNotFound) IsServerError() bool

IsServerError returns true when this get user groups not found response has a 5xx status code

func (*GetUserGroupsNotFound) IsSuccess added in v1.19.1

func (o *GetUserGroupsNotFound) IsSuccess() bool

IsSuccess returns true when this get user groups not found response has a 2xx status code

func (*GetUserGroupsNotFound) String added in v1.19.1

func (o *GetUserGroupsNotFound) String() string

type GetUserGroupsOK

type GetUserGroupsOK struct {
	Payload []*models.UserGroup
}

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

successful operation

func NewGetUserGroupsOK

func NewGetUserGroupsOK() *GetUserGroupsOK

NewGetUserGroupsOK creates a GetUserGroupsOK with default headers values

func (*GetUserGroupsOK) Error

func (o *GetUserGroupsOK) Error() string

func (*GetUserGroupsOK) GetPayload

func (o *GetUserGroupsOK) GetPayload() []*models.UserGroup

func (*GetUserGroupsOK) IsClientError added in v1.19.1

func (o *GetUserGroupsOK) IsClientError() bool

IsClientError returns true when this get user groups o k response has a 4xx status code

func (*GetUserGroupsOK) IsCode added in v1.19.1

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

IsCode returns true when this get user groups o k response a status code equal to that given

func (*GetUserGroupsOK) IsRedirect added in v1.19.1

func (o *GetUserGroupsOK) IsRedirect() bool

IsRedirect returns true when this get user groups o k response has a 3xx status code

func (*GetUserGroupsOK) IsServerError added in v1.19.1

func (o *GetUserGroupsOK) IsServerError() bool

IsServerError returns true when this get user groups o k response has a 5xx status code

func (*GetUserGroupsOK) IsSuccess added in v1.19.1

func (o *GetUserGroupsOK) IsSuccess() bool

IsSuccess returns true when this get user groups o k response has a 2xx status code

func (*GetUserGroupsOK) String added in v1.19.1

func (o *GetUserGroupsOK) String() string

type GetUserGroupsParams

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

GetUserGroupsParams contains all the parameters to send to the API endpoint

for the get user groups operation.

Typically these are written to a http.Request.

func NewGetUserGroupsParams

func NewGetUserGroupsParams() *GetUserGroupsParams

NewGetUserGroupsParams creates a new GetUserGroupsParams 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 NewGetUserGroupsParamsWithContext

func NewGetUserGroupsParamsWithContext(ctx context.Context) *GetUserGroupsParams

NewGetUserGroupsParamsWithContext creates a new GetUserGroupsParams object with the ability to set a context for a request.

func NewGetUserGroupsParamsWithHTTPClient

func NewGetUserGroupsParamsWithHTTPClient(client *http.Client) *GetUserGroupsParams

NewGetUserGroupsParamsWithHTTPClient creates a new GetUserGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserGroupsParamsWithTimeout

func NewGetUserGroupsParamsWithTimeout(timeout time.Duration) *GetUserGroupsParams

NewGetUserGroupsParamsWithTimeout creates a new GetUserGroupsParams object with the ability to set a timeout on a request.

func (*GetUserGroupsParams) SetContext

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

SetContext adds the context to the get user groups params

func (*GetUserGroupsParams) SetDefaults

func (o *GetUserGroupsParams) SetDefaults()

SetDefaults hydrates default values in the get user groups params (not the query body).

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

func (*GetUserGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user groups params

func (*GetUserGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get user groups params

func (*GetUserGroupsParams) WithContext

WithContext adds the context to the get user groups params

func (*GetUserGroupsParams) WithDefaults

func (o *GetUserGroupsParams) WithDefaults() *GetUserGroupsParams

WithDefaults hydrates default values in the get user groups params (not the query body).

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

func (*GetUserGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user groups params

func (*GetUserGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the get user groups params

func (*GetUserGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserGroupsReader

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

GetUserGroupsReader is a Reader for the GetUserGroups structure.

func (*GetUserGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserGroupsUnauthorized

type GetUserGroupsUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetUserGroupsUnauthorized

func NewGetUserGroupsUnauthorized() *GetUserGroupsUnauthorized

NewGetUserGroupsUnauthorized creates a GetUserGroupsUnauthorized with default headers values

func (*GetUserGroupsUnauthorized) Error

func (o *GetUserGroupsUnauthorized) Error() string

func (*GetUserGroupsUnauthorized) IsClientError added in v1.19.1

func (o *GetUserGroupsUnauthorized) IsClientError() bool

IsClientError returns true when this get user groups unauthorized response has a 4xx status code

func (*GetUserGroupsUnauthorized) IsCode added in v1.19.1

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

IsCode returns true when this get user groups unauthorized response a status code equal to that given

func (*GetUserGroupsUnauthorized) IsRedirect added in v1.19.1

func (o *GetUserGroupsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get user groups unauthorized response has a 3xx status code

func (*GetUserGroupsUnauthorized) IsServerError added in v1.19.1

func (o *GetUserGroupsUnauthorized) IsServerError() bool

IsServerError returns true when this get user groups unauthorized response has a 5xx status code

func (*GetUserGroupsUnauthorized) IsSuccess added in v1.19.1

func (o *GetUserGroupsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get user groups unauthorized response has a 2xx status code

func (*GetUserGroupsUnauthorized) String added in v1.19.1

func (o *GetUserGroupsUnauthorized) String() string

type GetUserNotFound

type GetUserNotFound struct {
}

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

The specified resource could not be found.

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

func (*GetUserNotFound) IsClientError added in v1.19.1

func (o *GetUserNotFound) IsClientError() bool

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

func (*GetUserNotFound) IsCode added in v1.19.1

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

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

func (*GetUserNotFound) IsRedirect added in v1.19.1

func (o *GetUserNotFound) IsRedirect() bool

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

func (*GetUserNotFound) IsServerError added in v1.19.1

func (o *GetUserNotFound) IsServerError() bool

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

func (*GetUserNotFound) IsSuccess added in v1.19.1

func (o *GetUserNotFound) IsSuccess() bool

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

func (*GetUserNotFound) String added in v1.19.1

func (o *GetUserNotFound) String() string

type GetUserOK

type GetUserOK struct {
	Payload *models.User
}

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

successful operation

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.User

func (*GetUserOK) IsClientError added in v1.19.1

func (o *GetUserOK) IsClientError() bool

IsClientError returns true when this get user o k response has a 4xx status code

func (*GetUserOK) IsCode added in v1.19.1

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

IsCode returns true when this get user o k response a status code equal to that given

func (*GetUserOK) IsRedirect added in v1.19.1

func (o *GetUserOK) IsRedirect() bool

IsRedirect returns true when this get user o k response has a 3xx status code

func (*GetUserOK) IsServerError added in v1.19.1

func (o *GetUserOK) IsServerError() bool

IsServerError returns true when this get user o k response has a 5xx status code

func (*GetUserOK) IsSuccess added in v1.19.1

func (o *GetUserOK) IsSuccess() bool

IsSuccess returns true when this get user o k response has a 2xx status code

func (*GetUserOK) String added in v1.19.1

func (o *GetUserOK) String() string

type GetUserParams

type GetUserParams struct {

	/* ID.

	   The user id.
	*/
	ID string

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

GetUserParams contains all the parameters to send to the API endpoint

for the get user operation.

Typically these are written to a http.Request.

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.

func (*GetUserParams) SetContext

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

SetContext adds the context to the get user params

func (*GetUserParams) SetDefaults

func (o *GetUserParams) SetDefaults()

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

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

func (*GetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetID

func (o *GetUserParams) SetID(id string)

SetID adds the id to the get user params

func (*GetUserParams) SetTimeout

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

SetTimeout adds the timeout to the get user params

func (*GetUserParams) WithContext

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

WithContext adds the context to the get user params

func (*GetUserParams) WithDefaults

func (o *GetUserParams) WithDefaults() *GetUserParams

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

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

func (*GetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithID

func (o *GetUserParams) WithID(id string) *GetUserParams

WithID adds the id to the get user params

func (*GetUserParams) WithTimeout

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

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserUnauthorized

type GetUserUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetUserUnauthorized

func NewGetUserUnauthorized() *GetUserUnauthorized

NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values

func (*GetUserUnauthorized) Error

func (o *GetUserUnauthorized) Error() string

func (*GetUserUnauthorized) IsClientError added in v1.19.1

func (o *GetUserUnauthorized) IsClientError() bool

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

func (*GetUserUnauthorized) IsCode added in v1.19.1

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

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

func (*GetUserUnauthorized) IsRedirect added in v1.19.1

func (o *GetUserUnauthorized) IsRedirect() bool

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

func (*GetUserUnauthorized) IsServerError added in v1.19.1

func (o *GetUserUnauthorized) IsServerError() bool

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

func (*GetUserUnauthorized) IsSuccess added in v1.19.1

func (o *GetUserUnauthorized) IsSuccess() bool

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

func (*GetUserUnauthorized) String added in v1.19.1

func (o *GetUserUnauthorized) String() string

type GetUsersBadRequest

type GetUsersBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewGetUsersBadRequest

func NewGetUsersBadRequest() *GetUsersBadRequest

NewGetUsersBadRequest creates a GetUsersBadRequest with default headers values

func (*GetUsersBadRequest) Error

func (o *GetUsersBadRequest) Error() string

func (*GetUsersBadRequest) IsClientError added in v1.19.1

func (o *GetUsersBadRequest) IsClientError() bool

IsClientError returns true when this get users bad request response has a 4xx status code

func (*GetUsersBadRequest) IsCode added in v1.19.1

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

IsCode returns true when this get users bad request response a status code equal to that given

func (*GetUsersBadRequest) IsRedirect added in v1.19.1

func (o *GetUsersBadRequest) IsRedirect() bool

IsRedirect returns true when this get users bad request response has a 3xx status code

func (*GetUsersBadRequest) IsServerError added in v1.19.1

func (o *GetUsersBadRequest) IsServerError() bool

IsServerError returns true when this get users bad request response has a 5xx status code

func (*GetUsersBadRequest) IsSuccess added in v1.19.1

func (o *GetUsersBadRequest) IsSuccess() bool

IsSuccess returns true when this get users bad request response has a 2xx status code

func (*GetUsersBadRequest) String added in v1.19.1

func (o *GetUsersBadRequest) String() string

type GetUsersConflict

type GetUsersConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewGetUsersConflict

func NewGetUsersConflict() *GetUsersConflict

NewGetUsersConflict creates a GetUsersConflict with default headers values

func (*GetUsersConflict) Error

func (o *GetUsersConflict) Error() string

func (*GetUsersConflict) IsClientError added in v1.19.1

func (o *GetUsersConflict) IsClientError() bool

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

func (*GetUsersConflict) IsCode added in v1.19.1

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

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

func (*GetUsersConflict) IsRedirect added in v1.19.1

func (o *GetUsersConflict) IsRedirect() bool

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

func (*GetUsersConflict) IsServerError added in v1.19.1

func (o *GetUsersConflict) IsServerError() bool

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

func (*GetUsersConflict) IsSuccess added in v1.19.1

func (o *GetUsersConflict) IsSuccess() bool

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

func (*GetUsersConflict) String added in v1.19.1

func (o *GetUsersConflict) String() string

type GetUsersForbidden

type GetUsersForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetUsersForbidden

func NewGetUsersForbidden() *GetUsersForbidden

NewGetUsersForbidden creates a GetUsersForbidden with default headers values

func (*GetUsersForbidden) Error

func (o *GetUsersForbidden) Error() string

func (*GetUsersForbidden) IsClientError added in v1.19.1

func (o *GetUsersForbidden) IsClientError() bool

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

func (*GetUsersForbidden) IsCode added in v1.19.1

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

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

func (*GetUsersForbidden) IsRedirect added in v1.19.1

func (o *GetUsersForbidden) IsRedirect() bool

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

func (*GetUsersForbidden) IsServerError added in v1.19.1

func (o *GetUsersForbidden) IsServerError() bool

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

func (*GetUsersForbidden) IsSuccess added in v1.19.1

func (o *GetUsersForbidden) IsSuccess() bool

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

func (*GetUsersForbidden) String added in v1.19.1

func (o *GetUsersForbidden) String() string

type GetUsersOK

type GetUsersOK struct {
	Payload []*models.User
}

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

successful operation

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates a GetUsersOK with default headers values

func (*GetUsersOK) Error

func (o *GetUsersOK) Error() string

func (*GetUsersOK) GetPayload

func (o *GetUsersOK) GetPayload() []*models.User

func (*GetUsersOK) IsClientError added in v1.19.1

func (o *GetUsersOK) IsClientError() bool

IsClientError returns true when this get users o k response has a 4xx status code

func (*GetUsersOK) IsCode added in v1.19.1

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

IsCode returns true when this get users o k response a status code equal to that given

func (*GetUsersOK) IsRedirect added in v1.19.1

func (o *GetUsersOK) IsRedirect() bool

IsRedirect returns true when this get users o k response has a 3xx status code

func (*GetUsersOK) IsServerError added in v1.19.1

func (o *GetUsersOK) IsServerError() bool

IsServerError returns true when this get users o k response has a 5xx status code

func (*GetUsersOK) IsSuccess added in v1.19.1

func (o *GetUsersOK) IsSuccess() bool

IsSuccess returns true when this get users o k response has a 2xx status code

func (*GetUsersOK) String added in v1.19.1

func (o *GetUsersOK) String() string

type GetUsersParams

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

GetUsersParams contains all the parameters to send to the API endpoint

for the get users operation.

Typically these are written to a http.Request.

func NewGetUsersParams

func NewGetUsersParams() *GetUsersParams

NewGetUsersParams creates a new GetUsersParams 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 NewGetUsersParamsWithContext

func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams

NewGetUsersParamsWithContext creates a new GetUsersParams object with the ability to set a context for a request.

func NewGetUsersParamsWithHTTPClient

func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams

NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersParamsWithTimeout

func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams

NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the ability to set a timeout on a request.

func (*GetUsersParams) SetContext

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

SetContext adds the context to the get users params

func (*GetUsersParams) SetDefaults

func (o *GetUsersParams) SetDefaults()

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

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

func (*GetUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get users params

func (*GetUsersParams) WithContext

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

WithContext adds the context to the get users params

func (*GetUsersParams) WithDefaults

func (o *GetUsersParams) WithDefaults() *GetUsersParams

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

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

func (*GetUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get users params

func (*GetUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersReader

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

GetUsersReader is a Reader for the GetUsers structure.

func (*GetUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersUnauthorized

type GetUsersUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetUsersUnauthorized

func NewGetUsersUnauthorized() *GetUsersUnauthorized

NewGetUsersUnauthorized creates a GetUsersUnauthorized with default headers values

func (*GetUsersUnauthorized) Error

func (o *GetUsersUnauthorized) Error() string

func (*GetUsersUnauthorized) IsClientError added in v1.19.1

func (o *GetUsersUnauthorized) IsClientError() bool

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

func (*GetUsersUnauthorized) IsCode added in v1.19.1

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

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

func (*GetUsersUnauthorized) IsRedirect added in v1.19.1

func (o *GetUsersUnauthorized) IsRedirect() bool

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

func (*GetUsersUnauthorized) IsServerError added in v1.19.1

func (o *GetUsersUnauthorized) IsServerError() bool

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

func (*GetUsersUnauthorized) IsSuccess added in v1.19.1

func (o *GetUsersUnauthorized) IsSuccess() bool

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

func (*GetUsersUnauthorized) String added in v1.19.1

func (o *GetUsersUnauthorized) String() string

type RemoveUserBadRequest

type RemoveUserBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewRemoveUserBadRequest

func NewRemoveUserBadRequest() *RemoveUserBadRequest

NewRemoveUserBadRequest creates a RemoveUserBadRequest with default headers values

func (*RemoveUserBadRequest) Error

func (o *RemoveUserBadRequest) Error() string

func (*RemoveUserBadRequest) IsClientError added in v1.19.1

func (o *RemoveUserBadRequest) IsClientError() bool

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

func (*RemoveUserBadRequest) IsCode added in v1.19.1

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

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

func (*RemoveUserBadRequest) IsRedirect added in v1.19.1

func (o *RemoveUserBadRequest) IsRedirect() bool

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

func (*RemoveUserBadRequest) IsServerError added in v1.19.1

func (o *RemoveUserBadRequest) IsServerError() bool

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

func (*RemoveUserBadRequest) IsSuccess added in v1.19.1

func (o *RemoveUserBadRequest) IsSuccess() bool

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

func (*RemoveUserBadRequest) String added in v1.19.1

func (o *RemoveUserBadRequest) String() string

type RemoveUserConflict

type RemoveUserConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewRemoveUserConflict

func NewRemoveUserConflict() *RemoveUserConflict

NewRemoveUserConflict creates a RemoveUserConflict with default headers values

func (*RemoveUserConflict) Error

func (o *RemoveUserConflict) Error() string

func (*RemoveUserConflict) IsClientError added in v1.19.1

func (o *RemoveUserConflict) IsClientError() bool

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

func (*RemoveUserConflict) IsCode added in v1.19.1

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

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

func (*RemoveUserConflict) IsRedirect added in v1.19.1

func (o *RemoveUserConflict) IsRedirect() bool

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

func (*RemoveUserConflict) IsServerError added in v1.19.1

func (o *RemoveUserConflict) IsServerError() bool

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

func (*RemoveUserConflict) IsSuccess added in v1.19.1

func (o *RemoveUserConflict) IsSuccess() bool

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

func (*RemoveUserConflict) String added in v1.19.1

func (o *RemoveUserConflict) String() string

type RemoveUserForbidden

type RemoveUserForbidden struct {
}

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

Client is not authorized to make this request.

func NewRemoveUserForbidden

func NewRemoveUserForbidden() *RemoveUserForbidden

NewRemoveUserForbidden creates a RemoveUserForbidden with default headers values

func (*RemoveUserForbidden) Error

func (o *RemoveUserForbidden) Error() string

func (*RemoveUserForbidden) IsClientError added in v1.19.1

func (o *RemoveUserForbidden) IsClientError() bool

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

func (*RemoveUserForbidden) IsCode added in v1.19.1

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

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

func (*RemoveUserForbidden) IsRedirect added in v1.19.1

func (o *RemoveUserForbidden) IsRedirect() bool

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

func (*RemoveUserForbidden) IsServerError added in v1.19.1

func (o *RemoveUserForbidden) IsServerError() bool

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

func (*RemoveUserForbidden) IsSuccess added in v1.19.1

func (o *RemoveUserForbidden) IsSuccess() bool

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

func (*RemoveUserForbidden) String added in v1.19.1

func (o *RemoveUserForbidden) String() string

type RemoveUserGroupBadRequest

type RemoveUserGroupBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewRemoveUserGroupBadRequest

func NewRemoveUserGroupBadRequest() *RemoveUserGroupBadRequest

NewRemoveUserGroupBadRequest creates a RemoveUserGroupBadRequest with default headers values

func (*RemoveUserGroupBadRequest) Error

func (o *RemoveUserGroupBadRequest) Error() string

func (*RemoveUserGroupBadRequest) IsClientError added in v1.19.1

func (o *RemoveUserGroupBadRequest) IsClientError() bool

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

func (*RemoveUserGroupBadRequest) IsCode added in v1.19.1

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

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

func (*RemoveUserGroupBadRequest) IsRedirect added in v1.19.1

func (o *RemoveUserGroupBadRequest) IsRedirect() bool

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

func (*RemoveUserGroupBadRequest) IsServerError added in v1.19.1

func (o *RemoveUserGroupBadRequest) IsServerError() bool

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

func (*RemoveUserGroupBadRequest) IsSuccess added in v1.19.1

func (o *RemoveUserGroupBadRequest) IsSuccess() bool

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

func (*RemoveUserGroupBadRequest) String added in v1.19.1

func (o *RemoveUserGroupBadRequest) String() string

type RemoveUserGroupConflict

type RemoveUserGroupConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewRemoveUserGroupConflict

func NewRemoveUserGroupConflict() *RemoveUserGroupConflict

NewRemoveUserGroupConflict creates a RemoveUserGroupConflict with default headers values

func (*RemoveUserGroupConflict) Error

func (o *RemoveUserGroupConflict) Error() string

func (*RemoveUserGroupConflict) IsClientError added in v1.19.1

func (o *RemoveUserGroupConflict) IsClientError() bool

IsClientError returns true when this remove user group conflict response has a 4xx status code

func (*RemoveUserGroupConflict) IsCode added in v1.19.1

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

IsCode returns true when this remove user group conflict response a status code equal to that given

func (*RemoveUserGroupConflict) IsRedirect added in v1.19.1

func (o *RemoveUserGroupConflict) IsRedirect() bool

IsRedirect returns true when this remove user group conflict response has a 3xx status code

func (*RemoveUserGroupConflict) IsServerError added in v1.19.1

func (o *RemoveUserGroupConflict) IsServerError() bool

IsServerError returns true when this remove user group conflict response has a 5xx status code

func (*RemoveUserGroupConflict) IsSuccess added in v1.19.1

func (o *RemoveUserGroupConflict) IsSuccess() bool

IsSuccess returns true when this remove user group conflict response has a 2xx status code

func (*RemoveUserGroupConflict) String added in v1.19.1

func (o *RemoveUserGroupConflict) String() string

type RemoveUserGroupForbidden

type RemoveUserGroupForbidden struct {
}

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

Client is not authorized to make this request.

func NewRemoveUserGroupForbidden

func NewRemoveUserGroupForbidden() *RemoveUserGroupForbidden

NewRemoveUserGroupForbidden creates a RemoveUserGroupForbidden with default headers values

func (*RemoveUserGroupForbidden) Error

func (o *RemoveUserGroupForbidden) Error() string

func (*RemoveUserGroupForbidden) IsClientError added in v1.19.1

func (o *RemoveUserGroupForbidden) IsClientError() bool

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

func (*RemoveUserGroupForbidden) IsCode added in v1.19.1

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

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

func (*RemoveUserGroupForbidden) IsRedirect added in v1.19.1

func (o *RemoveUserGroupForbidden) IsRedirect() bool

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

func (*RemoveUserGroupForbidden) IsServerError added in v1.19.1

func (o *RemoveUserGroupForbidden) IsServerError() bool

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

func (*RemoveUserGroupForbidden) IsSuccess added in v1.19.1

func (o *RemoveUserGroupForbidden) IsSuccess() bool

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

func (*RemoveUserGroupForbidden) String added in v1.19.1

func (o *RemoveUserGroupForbidden) String() string

type RemoveUserGroupNotFound

type RemoveUserGroupNotFound struct {
}

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

The specified resource could not be found.

func NewRemoveUserGroupNotFound

func NewRemoveUserGroupNotFound() *RemoveUserGroupNotFound

NewRemoveUserGroupNotFound creates a RemoveUserGroupNotFound with default headers values

func (*RemoveUserGroupNotFound) Error

func (o *RemoveUserGroupNotFound) Error() string

func (*RemoveUserGroupNotFound) IsClientError added in v1.19.1

func (o *RemoveUserGroupNotFound) IsClientError() bool

IsClientError returns true when this remove user group not found response has a 4xx status code

func (*RemoveUserGroupNotFound) IsCode added in v1.19.1

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

IsCode returns true when this remove user group not found response a status code equal to that given

func (*RemoveUserGroupNotFound) IsRedirect added in v1.19.1

func (o *RemoveUserGroupNotFound) IsRedirect() bool

IsRedirect returns true when this remove user group not found response has a 3xx status code

func (*RemoveUserGroupNotFound) IsServerError added in v1.19.1

func (o *RemoveUserGroupNotFound) IsServerError() bool

IsServerError returns true when this remove user group not found response has a 5xx status code

func (*RemoveUserGroupNotFound) IsSuccess added in v1.19.1

func (o *RemoveUserGroupNotFound) IsSuccess() bool

IsSuccess returns true when this remove user group not found response has a 2xx status code

func (*RemoveUserGroupNotFound) String added in v1.19.1

func (o *RemoveUserGroupNotFound) String() string

type RemoveUserGroupOK

type RemoveUserGroupOK struct {
	Payload *models.UserGroup
}

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

successful operation

func NewRemoveUserGroupOK

func NewRemoveUserGroupOK() *RemoveUserGroupOK

NewRemoveUserGroupOK creates a RemoveUserGroupOK with default headers values

func (*RemoveUserGroupOK) Error

func (o *RemoveUserGroupOK) Error() string

func (*RemoveUserGroupOK) GetPayload

func (o *RemoveUserGroupOK) GetPayload() *models.UserGroup

func (*RemoveUserGroupOK) IsClientError added in v1.19.1

func (o *RemoveUserGroupOK) IsClientError() bool

IsClientError returns true when this remove user group o k response has a 4xx status code

func (*RemoveUserGroupOK) IsCode added in v1.19.1

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

IsCode returns true when this remove user group o k response a status code equal to that given

func (*RemoveUserGroupOK) IsRedirect added in v1.19.1

func (o *RemoveUserGroupOK) IsRedirect() bool

IsRedirect returns true when this remove user group o k response has a 3xx status code

func (*RemoveUserGroupOK) IsServerError added in v1.19.1

func (o *RemoveUserGroupOK) IsServerError() bool

IsServerError returns true when this remove user group o k response has a 5xx status code

func (*RemoveUserGroupOK) IsSuccess added in v1.19.1

func (o *RemoveUserGroupOK) IsSuccess() bool

IsSuccess returns true when this remove user group o k response has a 2xx status code

func (*RemoveUserGroupOK) String added in v1.19.1

func (o *RemoveUserGroupOK) String() string

type RemoveUserGroupParams

type RemoveUserGroupParams struct {

	/* ClientID.

	   If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
	*/
	ClientID *string

	/* ID.

	   The user group id.
	*/
	ID string

	/* Version.

	   The version is used to verify the client is working with the latest version of the entity.
	*/
	Version string

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

RemoveUserGroupParams contains all the parameters to send to the API endpoint

for the remove user group operation.

Typically these are written to a http.Request.

func NewRemoveUserGroupParams

func NewRemoveUserGroupParams() *RemoveUserGroupParams

NewRemoveUserGroupParams creates a new RemoveUserGroupParams 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 NewRemoveUserGroupParamsWithContext

func NewRemoveUserGroupParamsWithContext(ctx context.Context) *RemoveUserGroupParams

NewRemoveUserGroupParamsWithContext creates a new RemoveUserGroupParams object with the ability to set a context for a request.

func NewRemoveUserGroupParamsWithHTTPClient

func NewRemoveUserGroupParamsWithHTTPClient(client *http.Client) *RemoveUserGroupParams

NewRemoveUserGroupParamsWithHTTPClient creates a new RemoveUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveUserGroupParamsWithTimeout

func NewRemoveUserGroupParamsWithTimeout(timeout time.Duration) *RemoveUserGroupParams

NewRemoveUserGroupParamsWithTimeout creates a new RemoveUserGroupParams object with the ability to set a timeout on a request.

func (*RemoveUserGroupParams) SetClientID

func (o *RemoveUserGroupParams) SetClientID(clientID *string)

SetClientID adds the clientId to the remove user group params

func (*RemoveUserGroupParams) SetContext

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

SetContext adds the context to the remove user group params

func (*RemoveUserGroupParams) SetDefaults

func (o *RemoveUserGroupParams) SetDefaults()

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

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

func (*RemoveUserGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove user group params

func (*RemoveUserGroupParams) SetID

func (o *RemoveUserGroupParams) SetID(id string)

SetID adds the id to the remove user group params

func (*RemoveUserGroupParams) SetTimeout

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

SetTimeout adds the timeout to the remove user group params

func (*RemoveUserGroupParams) SetVersion

func (o *RemoveUserGroupParams) SetVersion(version string)

SetVersion adds the version to the remove user group params

func (*RemoveUserGroupParams) WithClientID

func (o *RemoveUserGroupParams) WithClientID(clientID *string) *RemoveUserGroupParams

WithClientID adds the clientID to the remove user group params

func (*RemoveUserGroupParams) WithContext

WithContext adds the context to the remove user group params

func (*RemoveUserGroupParams) WithDefaults

func (o *RemoveUserGroupParams) WithDefaults() *RemoveUserGroupParams

WithDefaults hydrates default values in the remove user group params (not the query body).

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

func (*RemoveUserGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove user group params

func (*RemoveUserGroupParams) WithID

WithID adds the id to the remove user group params

func (*RemoveUserGroupParams) WithTimeout

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

WithTimeout adds the timeout to the remove user group params

func (*RemoveUserGroupParams) WithVersion

func (o *RemoveUserGroupParams) WithVersion(version string) *RemoveUserGroupParams

WithVersion adds the version to the remove user group params

func (*RemoveUserGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveUserGroupReader

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

RemoveUserGroupReader is a Reader for the RemoveUserGroup structure.

func (*RemoveUserGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveUserGroupUnauthorized

type RemoveUserGroupUnauthorized struct {
}

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

Client could not be authenticated.

func NewRemoveUserGroupUnauthorized

func NewRemoveUserGroupUnauthorized() *RemoveUserGroupUnauthorized

NewRemoveUserGroupUnauthorized creates a RemoveUserGroupUnauthorized with default headers values

func (*RemoveUserGroupUnauthorized) Error

func (*RemoveUserGroupUnauthorized) IsClientError added in v1.19.1

func (o *RemoveUserGroupUnauthorized) IsClientError() bool

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

func (*RemoveUserGroupUnauthorized) IsCode added in v1.19.1

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

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

func (*RemoveUserGroupUnauthorized) IsRedirect added in v1.19.1

func (o *RemoveUserGroupUnauthorized) IsRedirect() bool

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

func (*RemoveUserGroupUnauthorized) IsServerError added in v1.19.1

func (o *RemoveUserGroupUnauthorized) IsServerError() bool

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

func (*RemoveUserGroupUnauthorized) IsSuccess added in v1.19.1

func (o *RemoveUserGroupUnauthorized) IsSuccess() bool

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

func (*RemoveUserGroupUnauthorized) String added in v1.19.1

func (o *RemoveUserGroupUnauthorized) String() string

type RemoveUserNotFound

type RemoveUserNotFound struct {
}

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

The specified resource could not be found.

func NewRemoveUserNotFound

func NewRemoveUserNotFound() *RemoveUserNotFound

NewRemoveUserNotFound creates a RemoveUserNotFound with default headers values

func (*RemoveUserNotFound) Error

func (o *RemoveUserNotFound) Error() string

func (*RemoveUserNotFound) IsClientError added in v1.19.1

func (o *RemoveUserNotFound) IsClientError() bool

IsClientError returns true when this remove user not found response has a 4xx status code

func (*RemoveUserNotFound) IsCode added in v1.19.1

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

IsCode returns true when this remove user not found response a status code equal to that given

func (*RemoveUserNotFound) IsRedirect added in v1.19.1

func (o *RemoveUserNotFound) IsRedirect() bool

IsRedirect returns true when this remove user not found response has a 3xx status code

func (*RemoveUserNotFound) IsServerError added in v1.19.1

func (o *RemoveUserNotFound) IsServerError() bool

IsServerError returns true when this remove user not found response has a 5xx status code

func (*RemoveUserNotFound) IsSuccess added in v1.19.1

func (o *RemoveUserNotFound) IsSuccess() bool

IsSuccess returns true when this remove user not found response has a 2xx status code

func (*RemoveUserNotFound) String added in v1.19.1

func (o *RemoveUserNotFound) String() string

type RemoveUserOK

type RemoveUserOK struct {
	Payload *models.User
}

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

successful operation

func NewRemoveUserOK

func NewRemoveUserOK() *RemoveUserOK

NewRemoveUserOK creates a RemoveUserOK with default headers values

func (*RemoveUserOK) Error

func (o *RemoveUserOK) Error() string

func (*RemoveUserOK) GetPayload

func (o *RemoveUserOK) GetPayload() *models.User

func (*RemoveUserOK) IsClientError added in v1.19.1

func (o *RemoveUserOK) IsClientError() bool

IsClientError returns true when this remove user o k response has a 4xx status code

func (*RemoveUserOK) IsCode added in v1.19.1

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

IsCode returns true when this remove user o k response a status code equal to that given

func (*RemoveUserOK) IsRedirect added in v1.19.1

func (o *RemoveUserOK) IsRedirect() bool

IsRedirect returns true when this remove user o k response has a 3xx status code

func (*RemoveUserOK) IsServerError added in v1.19.1

func (o *RemoveUserOK) IsServerError() bool

IsServerError returns true when this remove user o k response has a 5xx status code

func (*RemoveUserOK) IsSuccess added in v1.19.1

func (o *RemoveUserOK) IsSuccess() bool

IsSuccess returns true when this remove user o k response has a 2xx status code

func (*RemoveUserOK) String added in v1.19.1

func (o *RemoveUserOK) String() string

type RemoveUserParams

type RemoveUserParams struct {

	/* ClientID.

	   If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
	*/
	ClientID *string

	/* ID.

	   The user id.
	*/
	ID string

	/* Version.

	   The version is used to verify the client is working with the latest version of the entity.
	*/
	Version string

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

RemoveUserParams contains all the parameters to send to the API endpoint

for the remove user operation.

Typically these are written to a http.Request.

func NewRemoveUserParams

func NewRemoveUserParams() *RemoveUserParams

NewRemoveUserParams creates a new RemoveUserParams 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 NewRemoveUserParamsWithContext

func NewRemoveUserParamsWithContext(ctx context.Context) *RemoveUserParams

NewRemoveUserParamsWithContext creates a new RemoveUserParams object with the ability to set a context for a request.

func NewRemoveUserParamsWithHTTPClient

func NewRemoveUserParamsWithHTTPClient(client *http.Client) *RemoveUserParams

NewRemoveUserParamsWithHTTPClient creates a new RemoveUserParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveUserParamsWithTimeout

func NewRemoveUserParamsWithTimeout(timeout time.Duration) *RemoveUserParams

NewRemoveUserParamsWithTimeout creates a new RemoveUserParams object with the ability to set a timeout on a request.

func (*RemoveUserParams) SetClientID

func (o *RemoveUserParams) SetClientID(clientID *string)

SetClientID adds the clientId to the remove user params

func (*RemoveUserParams) SetContext

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

SetContext adds the context to the remove user params

func (*RemoveUserParams) SetDefaults

func (o *RemoveUserParams) SetDefaults()

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

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

func (*RemoveUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove user params

func (*RemoveUserParams) SetID

func (o *RemoveUserParams) SetID(id string)

SetID adds the id to the remove user params

func (*RemoveUserParams) SetTimeout

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

SetTimeout adds the timeout to the remove user params

func (*RemoveUserParams) SetVersion

func (o *RemoveUserParams) SetVersion(version string)

SetVersion adds the version to the remove user params

func (*RemoveUserParams) WithClientID

func (o *RemoveUserParams) WithClientID(clientID *string) *RemoveUserParams

WithClientID adds the clientID to the remove user params

func (*RemoveUserParams) WithContext

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

WithContext adds the context to the remove user params

func (*RemoveUserParams) WithDefaults

func (o *RemoveUserParams) WithDefaults() *RemoveUserParams

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

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

func (*RemoveUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove user params

func (*RemoveUserParams) WithID

func (o *RemoveUserParams) WithID(id string) *RemoveUserParams

WithID adds the id to the remove user params

func (*RemoveUserParams) WithTimeout

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

WithTimeout adds the timeout to the remove user params

func (*RemoveUserParams) WithVersion

func (o *RemoveUserParams) WithVersion(version string) *RemoveUserParams

WithVersion adds the version to the remove user params

func (*RemoveUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveUserReader

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

RemoveUserReader is a Reader for the RemoveUser structure.

func (*RemoveUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveUserUnauthorized

type RemoveUserUnauthorized struct {
}

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

Client could not be authenticated.

func NewRemoveUserUnauthorized

func NewRemoveUserUnauthorized() *RemoveUserUnauthorized

NewRemoveUserUnauthorized creates a RemoveUserUnauthorized with default headers values

func (*RemoveUserUnauthorized) Error

func (o *RemoveUserUnauthorized) Error() string

func (*RemoveUserUnauthorized) IsClientError added in v1.19.1

func (o *RemoveUserUnauthorized) IsClientError() bool

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

func (*RemoveUserUnauthorized) IsCode added in v1.19.1

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

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

func (*RemoveUserUnauthorized) IsRedirect added in v1.19.1

func (o *RemoveUserUnauthorized) IsRedirect() bool

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

func (*RemoveUserUnauthorized) IsServerError added in v1.19.1

func (o *RemoveUserUnauthorized) IsServerError() bool

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

func (*RemoveUserUnauthorized) IsSuccess added in v1.19.1

func (o *RemoveUserUnauthorized) IsSuccess() bool

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

func (*RemoveUserUnauthorized) String added in v1.19.1

func (o *RemoveUserUnauthorized) String() string

type UpdateUserBadRequest

type UpdateUserBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewUpdateUserBadRequest

func NewUpdateUserBadRequest() *UpdateUserBadRequest

NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values

func (*UpdateUserBadRequest) Error

func (o *UpdateUserBadRequest) Error() string

func (*UpdateUserBadRequest) IsClientError added in v1.19.1

func (o *UpdateUserBadRequest) IsClientError() bool

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

func (*UpdateUserBadRequest) IsCode added in v1.19.1

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

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

func (*UpdateUserBadRequest) IsRedirect added in v1.19.1

func (o *UpdateUserBadRequest) IsRedirect() bool

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

func (*UpdateUserBadRequest) IsServerError added in v1.19.1

func (o *UpdateUserBadRequest) IsServerError() bool

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

func (*UpdateUserBadRequest) IsSuccess added in v1.19.1

func (o *UpdateUserBadRequest) IsSuccess() bool

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

func (*UpdateUserBadRequest) String added in v1.19.1

func (o *UpdateUserBadRequest) String() string

type UpdateUserConflict

type UpdateUserConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewUpdateUserConflict

func NewUpdateUserConflict() *UpdateUserConflict

NewUpdateUserConflict creates a UpdateUserConflict with default headers values

func (*UpdateUserConflict) Error

func (o *UpdateUserConflict) Error() string

func (*UpdateUserConflict) IsClientError added in v1.19.1

func (o *UpdateUserConflict) IsClientError() bool

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

func (*UpdateUserConflict) IsCode added in v1.19.1

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

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

func (*UpdateUserConflict) IsRedirect added in v1.19.1

func (o *UpdateUserConflict) IsRedirect() bool

IsRedirect returns true when this update user conflict response has a 3xx status code

func (*UpdateUserConflict) IsServerError added in v1.19.1

func (o *UpdateUserConflict) IsServerError() bool

IsServerError returns true when this update user conflict response has a 5xx status code

func (*UpdateUserConflict) IsSuccess added in v1.19.1

func (o *UpdateUserConflict) IsSuccess() bool

IsSuccess returns true when this update user conflict response has a 2xx status code

func (*UpdateUserConflict) String added in v1.19.1

func (o *UpdateUserConflict) String() string

type UpdateUserForbidden

type UpdateUserForbidden struct {
}

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

Client is not authorized to make this request.

func NewUpdateUserForbidden

func NewUpdateUserForbidden() *UpdateUserForbidden

NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values

func (*UpdateUserForbidden) Error

func (o *UpdateUserForbidden) Error() string

func (*UpdateUserForbidden) IsClientError added in v1.19.1

func (o *UpdateUserForbidden) IsClientError() bool

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

func (*UpdateUserForbidden) IsCode added in v1.19.1

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

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

func (*UpdateUserForbidden) IsRedirect added in v1.19.1

func (o *UpdateUserForbidden) IsRedirect() bool

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

func (*UpdateUserForbidden) IsServerError added in v1.19.1

func (o *UpdateUserForbidden) IsServerError() bool

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

func (*UpdateUserForbidden) IsSuccess added in v1.19.1

func (o *UpdateUserForbidden) IsSuccess() bool

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

func (*UpdateUserForbidden) String added in v1.19.1

func (o *UpdateUserForbidden) String() string

type UpdateUserGroupBadRequest

type UpdateUserGroupBadRequest struct {
}

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

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

func NewUpdateUserGroupBadRequest

func NewUpdateUserGroupBadRequest() *UpdateUserGroupBadRequest

NewUpdateUserGroupBadRequest creates a UpdateUserGroupBadRequest with default headers values

func (*UpdateUserGroupBadRequest) Error

func (o *UpdateUserGroupBadRequest) Error() string

func (*UpdateUserGroupBadRequest) IsClientError added in v1.19.1

func (o *UpdateUserGroupBadRequest) IsClientError() bool

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

func (*UpdateUserGroupBadRequest) IsCode added in v1.19.1

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

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

func (*UpdateUserGroupBadRequest) IsRedirect added in v1.19.1

func (o *UpdateUserGroupBadRequest) IsRedirect() bool

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

func (*UpdateUserGroupBadRequest) IsServerError added in v1.19.1

func (o *UpdateUserGroupBadRequest) IsServerError() bool

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

func (*UpdateUserGroupBadRequest) IsSuccess added in v1.19.1

func (o *UpdateUserGroupBadRequest) IsSuccess() bool

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

func (*UpdateUserGroupBadRequest) String added in v1.19.1

func (o *UpdateUserGroupBadRequest) String() string

type UpdateUserGroupConflict

type UpdateUserGroupConflict struct {
}

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

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

func NewUpdateUserGroupConflict

func NewUpdateUserGroupConflict() *UpdateUserGroupConflict

NewUpdateUserGroupConflict creates a UpdateUserGroupConflict with default headers values

func (*UpdateUserGroupConflict) Error

func (o *UpdateUserGroupConflict) Error() string

func (*UpdateUserGroupConflict) IsClientError added in v1.19.1

func (o *UpdateUserGroupConflict) IsClientError() bool

IsClientError returns true when this update user group conflict response has a 4xx status code

func (*UpdateUserGroupConflict) IsCode added in v1.19.1

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

IsCode returns true when this update user group conflict response a status code equal to that given

func (*UpdateUserGroupConflict) IsRedirect added in v1.19.1

func (o *UpdateUserGroupConflict) IsRedirect() bool

IsRedirect returns true when this update user group conflict response has a 3xx status code

func (*UpdateUserGroupConflict) IsServerError added in v1.19.1

func (o *UpdateUserGroupConflict) IsServerError() bool

IsServerError returns true when this update user group conflict response has a 5xx status code

func (*UpdateUserGroupConflict) IsSuccess added in v1.19.1

func (o *UpdateUserGroupConflict) IsSuccess() bool

IsSuccess returns true when this update user group conflict response has a 2xx status code

func (*UpdateUserGroupConflict) String added in v1.19.1

func (o *UpdateUserGroupConflict) String() string

type UpdateUserGroupForbidden

type UpdateUserGroupForbidden struct {
}

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

Client is not authorized to make this request.

func NewUpdateUserGroupForbidden

func NewUpdateUserGroupForbidden() *UpdateUserGroupForbidden

NewUpdateUserGroupForbidden creates a UpdateUserGroupForbidden with default headers values

func (*UpdateUserGroupForbidden) Error

func (o *UpdateUserGroupForbidden) Error() string

func (*UpdateUserGroupForbidden) IsClientError added in v1.19.1

func (o *UpdateUserGroupForbidden) IsClientError() bool

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

func (*UpdateUserGroupForbidden) IsCode added in v1.19.1

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

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

func (*UpdateUserGroupForbidden) IsRedirect added in v1.19.1

func (o *UpdateUserGroupForbidden) IsRedirect() bool

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

func (*UpdateUserGroupForbidden) IsServerError added in v1.19.1

func (o *UpdateUserGroupForbidden) IsServerError() bool

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

func (*UpdateUserGroupForbidden) IsSuccess added in v1.19.1

func (o *UpdateUserGroupForbidden) IsSuccess() bool

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

func (*UpdateUserGroupForbidden) String added in v1.19.1

func (o *UpdateUserGroupForbidden) String() string

type UpdateUserGroupNotFound

type UpdateUserGroupNotFound struct {
}

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

The specified resource could not be found.

func NewUpdateUserGroupNotFound

func NewUpdateUserGroupNotFound() *UpdateUserGroupNotFound

NewUpdateUserGroupNotFound creates a UpdateUserGroupNotFound with default headers values

func (*UpdateUserGroupNotFound) Error

func (o *UpdateUserGroupNotFound) Error() string

func (*UpdateUserGroupNotFound) IsClientError added in v1.19.1

func (o *UpdateUserGroupNotFound) IsClientError() bool

IsClientError returns true when this update user group not found response has a 4xx status code

func (*UpdateUserGroupNotFound) IsCode added in v1.19.1

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

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

func (*UpdateUserGroupNotFound) IsRedirect added in v1.19.1

func (o *UpdateUserGroupNotFound) IsRedirect() bool

IsRedirect returns true when this update user group not found response has a 3xx status code

func (*UpdateUserGroupNotFound) IsServerError added in v1.19.1

func (o *UpdateUserGroupNotFound) IsServerError() bool

IsServerError returns true when this update user group not found response has a 5xx status code

func (*UpdateUserGroupNotFound) IsSuccess added in v1.19.1

func (o *UpdateUserGroupNotFound) IsSuccess() bool

IsSuccess returns true when this update user group not found response has a 2xx status code

func (*UpdateUserGroupNotFound) String added in v1.19.1

func (o *UpdateUserGroupNotFound) String() string

type UpdateUserGroupOK

type UpdateUserGroupOK struct {
	Payload *models.UserGroup
}

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

successful operation

func NewUpdateUserGroupOK

func NewUpdateUserGroupOK() *UpdateUserGroupOK

NewUpdateUserGroupOK creates a UpdateUserGroupOK with default headers values

func (*UpdateUserGroupOK) Error

func (o *UpdateUserGroupOK) Error() string

func (*UpdateUserGroupOK) GetPayload

func (o *UpdateUserGroupOK) GetPayload() *models.UserGroup

func (*UpdateUserGroupOK) IsClientError added in v1.19.1

func (o *UpdateUserGroupOK) IsClientError() bool

IsClientError returns true when this update user group o k response has a 4xx status code

func (*UpdateUserGroupOK) IsCode added in v1.19.1

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

IsCode returns true when this update user group o k response a status code equal to that given

func (*UpdateUserGroupOK) IsRedirect added in v1.19.1

func (o *UpdateUserGroupOK) IsRedirect() bool

IsRedirect returns true when this update user group o k response has a 3xx status code

func (*UpdateUserGroupOK) IsServerError added in v1.19.1

func (o *UpdateUserGroupOK) IsServerError() bool

IsServerError returns true when this update user group o k response has a 5xx status code

func (*UpdateUserGroupOK) IsSuccess added in v1.19.1

func (o *UpdateUserGroupOK) IsSuccess() bool

IsSuccess returns true when this update user group o k response has a 2xx status code

func (*UpdateUserGroupOK) String added in v1.19.1

func (o *UpdateUserGroupOK) String() string

type UpdateUserGroupParams

type UpdateUserGroupParams struct {

	/* Body.

	   The user group configuration details.
	*/
	Body *models.UserGroup

	/* ID.

	   The user group id.
	*/
	ID string

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

UpdateUserGroupParams contains all the parameters to send to the API endpoint

for the update user group operation.

Typically these are written to a http.Request.

func NewUpdateUserGroupParams

func NewUpdateUserGroupParams() *UpdateUserGroupParams

NewUpdateUserGroupParams creates a new UpdateUserGroupParams 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 NewUpdateUserGroupParamsWithContext

func NewUpdateUserGroupParamsWithContext(ctx context.Context) *UpdateUserGroupParams

NewUpdateUserGroupParamsWithContext creates a new UpdateUserGroupParams object with the ability to set a context for a request.

func NewUpdateUserGroupParamsWithHTTPClient

func NewUpdateUserGroupParamsWithHTTPClient(client *http.Client) *UpdateUserGroupParams

NewUpdateUserGroupParamsWithHTTPClient creates a new UpdateUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserGroupParamsWithTimeout

func NewUpdateUserGroupParamsWithTimeout(timeout time.Duration) *UpdateUserGroupParams

NewUpdateUserGroupParamsWithTimeout creates a new UpdateUserGroupParams object with the ability to set a timeout on a request.

func (*UpdateUserGroupParams) SetBody

func (o *UpdateUserGroupParams) SetBody(body *models.UserGroup)

SetBody adds the body to the update user group params

func (*UpdateUserGroupParams) SetContext

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

SetContext adds the context to the update user group params

func (*UpdateUserGroupParams) SetDefaults

func (o *UpdateUserGroupParams) SetDefaults()

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

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

func (*UpdateUserGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user group params

func (*UpdateUserGroupParams) SetID

func (o *UpdateUserGroupParams) SetID(id string)

SetID adds the id to the update user group params

func (*UpdateUserGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update user group params

func (*UpdateUserGroupParams) WithBody

WithBody adds the body to the update user group params

func (*UpdateUserGroupParams) WithContext

WithContext adds the context to the update user group params

func (*UpdateUserGroupParams) WithDefaults

func (o *UpdateUserGroupParams) WithDefaults() *UpdateUserGroupParams

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

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

func (*UpdateUserGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user group params

func (*UpdateUserGroupParams) WithID

WithID adds the id to the update user group params

func (*UpdateUserGroupParams) WithTimeout

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

WithTimeout adds the timeout to the update user group params

func (*UpdateUserGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateUserGroupReader

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

UpdateUserGroupReader is a Reader for the UpdateUserGroup structure.

func (*UpdateUserGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserGroupUnauthorized

type UpdateUserGroupUnauthorized struct {
}

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

Client could not be authenticated.

func NewUpdateUserGroupUnauthorized

func NewUpdateUserGroupUnauthorized() *UpdateUserGroupUnauthorized

NewUpdateUserGroupUnauthorized creates a UpdateUserGroupUnauthorized with default headers values

func (*UpdateUserGroupUnauthorized) Error

func (*UpdateUserGroupUnauthorized) IsClientError added in v1.19.1

func (o *UpdateUserGroupUnauthorized) IsClientError() bool

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

func (*UpdateUserGroupUnauthorized) IsCode added in v1.19.1

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

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

func (*UpdateUserGroupUnauthorized) IsRedirect added in v1.19.1

func (o *UpdateUserGroupUnauthorized) IsRedirect() bool

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

func (*UpdateUserGroupUnauthorized) IsServerError added in v1.19.1

func (o *UpdateUserGroupUnauthorized) IsServerError() bool

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

func (*UpdateUserGroupUnauthorized) IsSuccess added in v1.19.1

func (o *UpdateUserGroupUnauthorized) IsSuccess() bool

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

func (*UpdateUserGroupUnauthorized) String added in v1.19.1

func (o *UpdateUserGroupUnauthorized) String() string

type UpdateUserNotFound

type UpdateUserNotFound struct {
}

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

The specified resource could not be found.

func NewUpdateUserNotFound

func NewUpdateUserNotFound() *UpdateUserNotFound

NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values

func (*UpdateUserNotFound) Error

func (o *UpdateUserNotFound) Error() string

func (*UpdateUserNotFound) IsClientError added in v1.19.1

func (o *UpdateUserNotFound) IsClientError() bool

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

func (*UpdateUserNotFound) IsCode added in v1.19.1

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

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

func (*UpdateUserNotFound) IsRedirect added in v1.19.1

func (o *UpdateUserNotFound) IsRedirect() bool

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

func (*UpdateUserNotFound) IsServerError added in v1.19.1

func (o *UpdateUserNotFound) IsServerError() bool

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

func (*UpdateUserNotFound) IsSuccess added in v1.19.1

func (o *UpdateUserNotFound) IsSuccess() bool

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

func (*UpdateUserNotFound) String added in v1.19.1

func (o *UpdateUserNotFound) String() string

type UpdateUserOK

type UpdateUserOK struct {
	Payload *models.User
}

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

successful operation

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

func (*UpdateUserOK) GetPayload

func (o *UpdateUserOK) GetPayload() *models.User

func (*UpdateUserOK) IsClientError added in v1.19.1

func (o *UpdateUserOK) IsClientError() bool

IsClientError returns true when this update user o k response has a 4xx status code

func (*UpdateUserOK) IsCode added in v1.19.1

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

IsCode returns true when this update user o k response a status code equal to that given

func (*UpdateUserOK) IsRedirect added in v1.19.1

func (o *UpdateUserOK) IsRedirect() bool

IsRedirect returns true when this update user o k response has a 3xx status code

func (*UpdateUserOK) IsServerError added in v1.19.1

func (o *UpdateUserOK) IsServerError() bool

IsServerError returns true when this update user o k response has a 5xx status code

func (*UpdateUserOK) IsSuccess added in v1.19.1

func (o *UpdateUserOK) IsSuccess() bool

IsSuccess returns true when this update user o k response has a 2xx status code

func (*UpdateUserOK) String added in v1.19.1

func (o *UpdateUserOK) String() string

type UpdateUserParams

type UpdateUserParams struct {

	/* Body.

	   The user configuration details.
	*/
	Body *models.User

	/* ID.

	   The user id.
	*/
	ID string

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

UpdateUserParams contains all the parameters to send to the API endpoint

for the update user operation.

Typically these are written to a http.Request.

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams 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 NewUpdateUserParamsWithContext

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.

func NewUpdateUserParamsWithHTTPClient

func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams

NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserParamsWithTimeout

func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams

NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.

func (*UpdateUserParams) SetBody

func (o *UpdateUserParams) SetBody(body *models.User)

SetBody adds the body to the update user params

func (*UpdateUserParams) SetContext

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

SetContext adds the context to the update user params

func (*UpdateUserParams) SetDefaults

func (o *UpdateUserParams) SetDefaults()

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

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

func (*UpdateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) SetID

func (o *UpdateUserParams) SetID(id string)

SetID adds the id to the update user params

func (*UpdateUserParams) SetTimeout

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

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithBody

func (o *UpdateUserParams) WithBody(body *models.User) *UpdateUserParams

WithBody adds the body to the update user params

func (*UpdateUserParams) WithContext

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

WithContext adds the context to the update user params

func (*UpdateUserParams) WithDefaults

func (o *UpdateUserParams) WithDefaults() *UpdateUserParams

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

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

func (*UpdateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) WithID

func (o *UpdateUserParams) WithID(id string) *UpdateUserParams

WithID adds the id to the update user params

func (*UpdateUserParams) WithTimeout

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

WithTimeout adds the timeout to the update user params

func (*UpdateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateUserReader

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

UpdateUserReader is a Reader for the UpdateUser structure.

func (*UpdateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserUnauthorized

type UpdateUserUnauthorized struct {
}

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

Client could not be authenticated.

func NewUpdateUserUnauthorized

func NewUpdateUserUnauthorized() *UpdateUserUnauthorized

NewUpdateUserUnauthorized creates a UpdateUserUnauthorized with default headers values

func (*UpdateUserUnauthorized) Error

func (o *UpdateUserUnauthorized) Error() string

func (*UpdateUserUnauthorized) IsClientError added in v1.19.1

func (o *UpdateUserUnauthorized) IsClientError() bool

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

func (*UpdateUserUnauthorized) IsCode added in v1.19.1

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

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

func (*UpdateUserUnauthorized) IsRedirect added in v1.19.1

func (o *UpdateUserUnauthorized) IsRedirect() bool

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

func (*UpdateUserUnauthorized) IsServerError added in v1.19.1

func (o *UpdateUserUnauthorized) IsServerError() bool

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

func (*UpdateUserUnauthorized) IsSuccess added in v1.19.1

func (o *UpdateUserUnauthorized) IsSuccess() bool

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

func (*UpdateUserUnauthorized) String added in v1.19.1

func (o *UpdateUserUnauthorized) String() string

Jump to

Keyboard shortcuts

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