policies

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: 11 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 policies API

func (*Client) CreateAccessPolicy

func (a *Client) CreateAccessPolicy(params *CreateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccessPolicyCreated, error)

CreateAccessPolicy creates an access policy

func (*Client) GetAccessPolicy

func (a *Client) GetAccessPolicy(params *GetAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyOK, error)

GetAccessPolicy gets an access policy

func (*Client) GetAccessPolicyForResource

func (a *Client) GetAccessPolicyForResource(params *GetAccessPolicyForResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyForResourceOK, error)

GetAccessPolicyForResource gets an access policy for the specified action and resource

Will return the effective policy if no component specific policy exists for the specified action and resource. Must have Read permissions to the policy with the desired action and resource. Permissions for the policy that is returned will be indicated in the response. This means the client could be authorized to get the policy for a given component but the effective policy may be inherited from an ancestor Process Group. If the client does not have permissions to that policy, the response will not include the policy and the permissions in the response will be marked accordingly. If the client does not have permissions to the policy of the desired action and resource a 403 response will be returned.

func (*Client) RemoveAccessPolicy

func (a *Client) RemoveAccessPolicy(params *RemoveAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveAccessPolicyOK, error)

RemoveAccessPolicy deletes an access policy

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAccessPolicy

func (a *Client) UpdateAccessPolicy(params *UpdateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccessPolicyOK, error)

UpdateAccessPolicy updates a access policy

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAccessPolicy(params *CreateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccessPolicyCreated, error)

	GetAccessPolicy(params *GetAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyOK, error)

	GetAccessPolicyForResource(params *GetAccessPolicyForResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccessPolicyForResourceOK, error)

	RemoveAccessPolicy(params *RemoveAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveAccessPolicyOK, error)

	UpdateAccessPolicy(params *UpdateAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccessPolicyOK, 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 policies API client.

type CreateAccessPolicyBadRequest

type CreateAccessPolicyBadRequest struct {
}

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

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

func NewCreateAccessPolicyBadRequest

func NewCreateAccessPolicyBadRequest() *CreateAccessPolicyBadRequest

NewCreateAccessPolicyBadRequest creates a CreateAccessPolicyBadRequest with default headers values

func (*CreateAccessPolicyBadRequest) Error

func (*CreateAccessPolicyBadRequest) IsClientError added in v1.19.1

func (o *CreateAccessPolicyBadRequest) IsClientError() bool

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

func (*CreateAccessPolicyBadRequest) IsCode added in v1.19.1

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

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

func (*CreateAccessPolicyBadRequest) IsRedirect added in v1.19.1

func (o *CreateAccessPolicyBadRequest) IsRedirect() bool

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

func (*CreateAccessPolicyBadRequest) IsServerError added in v1.19.1

func (o *CreateAccessPolicyBadRequest) IsServerError() bool

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

func (*CreateAccessPolicyBadRequest) IsSuccess added in v1.19.1

func (o *CreateAccessPolicyBadRequest) IsSuccess() bool

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

func (*CreateAccessPolicyBadRequest) String added in v1.19.1

type CreateAccessPolicyConflict

type CreateAccessPolicyConflict struct {
}

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

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewCreateAccessPolicyConflict

func NewCreateAccessPolicyConflict() *CreateAccessPolicyConflict

NewCreateAccessPolicyConflict creates a CreateAccessPolicyConflict with default headers values

func (*CreateAccessPolicyConflict) Error

func (*CreateAccessPolicyConflict) IsClientError added in v1.19.1

func (o *CreateAccessPolicyConflict) IsClientError() bool

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

func (*CreateAccessPolicyConflict) IsCode added in v1.19.1

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

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

func (*CreateAccessPolicyConflict) IsRedirect added in v1.19.1

func (o *CreateAccessPolicyConflict) IsRedirect() bool

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

func (*CreateAccessPolicyConflict) IsServerError added in v1.19.1

func (o *CreateAccessPolicyConflict) IsServerError() bool

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

func (*CreateAccessPolicyConflict) IsSuccess added in v1.19.1

func (o *CreateAccessPolicyConflict) IsSuccess() bool

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

func (*CreateAccessPolicyConflict) String added in v1.19.1

func (o *CreateAccessPolicyConflict) String() string

type CreateAccessPolicyCreated added in v1.19.1

type CreateAccessPolicyCreated struct {
	Payload *models.AccessPolicyEntity
}

CreateAccessPolicyCreated describes a response with status code 201, with default header values.

successful operation

func NewCreateAccessPolicyCreated added in v1.19.1

func NewCreateAccessPolicyCreated() *CreateAccessPolicyCreated

NewCreateAccessPolicyCreated creates a CreateAccessPolicyCreated with default headers values

func (*CreateAccessPolicyCreated) Error added in v1.19.1

func (o *CreateAccessPolicyCreated) Error() string

func (*CreateAccessPolicyCreated) GetPayload added in v1.19.1

func (*CreateAccessPolicyCreated) IsClientError added in v1.19.1

func (o *CreateAccessPolicyCreated) IsClientError() bool

IsClientError returns true when this create access policy created response has a 4xx status code

func (*CreateAccessPolicyCreated) IsCode added in v1.19.1

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

IsCode returns true when this create access policy created response a status code equal to that given

func (*CreateAccessPolicyCreated) IsRedirect added in v1.19.1

func (o *CreateAccessPolicyCreated) IsRedirect() bool

IsRedirect returns true when this create access policy created response has a 3xx status code

func (*CreateAccessPolicyCreated) IsServerError added in v1.19.1

func (o *CreateAccessPolicyCreated) IsServerError() bool

IsServerError returns true when this create access policy created response has a 5xx status code

func (*CreateAccessPolicyCreated) IsSuccess added in v1.19.1

func (o *CreateAccessPolicyCreated) IsSuccess() bool

IsSuccess returns true when this create access policy created response has a 2xx status code

func (*CreateAccessPolicyCreated) String added in v1.19.1

func (o *CreateAccessPolicyCreated) String() string

type CreateAccessPolicyForbidden

type CreateAccessPolicyForbidden struct {
}

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

Client is not authorized to make this request.

func NewCreateAccessPolicyForbidden

func NewCreateAccessPolicyForbidden() *CreateAccessPolicyForbidden

NewCreateAccessPolicyForbidden creates a CreateAccessPolicyForbidden with default headers values

func (*CreateAccessPolicyForbidden) Error

func (*CreateAccessPolicyForbidden) IsClientError added in v1.19.1

func (o *CreateAccessPolicyForbidden) IsClientError() bool

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

func (*CreateAccessPolicyForbidden) IsCode added in v1.19.1

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

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

func (*CreateAccessPolicyForbidden) IsRedirect added in v1.19.1

func (o *CreateAccessPolicyForbidden) IsRedirect() bool

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

func (*CreateAccessPolicyForbidden) IsServerError added in v1.19.1

func (o *CreateAccessPolicyForbidden) IsServerError() bool

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

func (*CreateAccessPolicyForbidden) IsSuccess added in v1.19.1

func (o *CreateAccessPolicyForbidden) IsSuccess() bool

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

func (*CreateAccessPolicyForbidden) String added in v1.19.1

func (o *CreateAccessPolicyForbidden) String() string

type CreateAccessPolicyNotFound

type CreateAccessPolicyNotFound struct {
}

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

The specified resource could not be found.

func NewCreateAccessPolicyNotFound

func NewCreateAccessPolicyNotFound() *CreateAccessPolicyNotFound

NewCreateAccessPolicyNotFound creates a CreateAccessPolicyNotFound with default headers values

func (*CreateAccessPolicyNotFound) Error

func (*CreateAccessPolicyNotFound) IsClientError added in v1.19.1

func (o *CreateAccessPolicyNotFound) IsClientError() bool

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

func (*CreateAccessPolicyNotFound) IsCode added in v1.19.1

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

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

func (*CreateAccessPolicyNotFound) IsRedirect added in v1.19.1

func (o *CreateAccessPolicyNotFound) IsRedirect() bool

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

func (*CreateAccessPolicyNotFound) IsServerError added in v1.19.1

func (o *CreateAccessPolicyNotFound) IsServerError() bool

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

func (*CreateAccessPolicyNotFound) IsSuccess added in v1.19.1

func (o *CreateAccessPolicyNotFound) IsSuccess() bool

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

func (*CreateAccessPolicyNotFound) String added in v1.19.1

func (o *CreateAccessPolicyNotFound) String() string

type CreateAccessPolicyParams

type CreateAccessPolicyParams struct {

	/* Body.

	   The access policy configuration details.
	*/
	Body *models.AccessPolicyEntity

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

CreateAccessPolicyParams contains all the parameters to send to the API endpoint

for the create access policy operation.

Typically these are written to a http.Request.

func NewCreateAccessPolicyParams

func NewCreateAccessPolicyParams() *CreateAccessPolicyParams

NewCreateAccessPolicyParams creates a new CreateAccessPolicyParams 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 NewCreateAccessPolicyParamsWithContext

func NewCreateAccessPolicyParamsWithContext(ctx context.Context) *CreateAccessPolicyParams

NewCreateAccessPolicyParamsWithContext creates a new CreateAccessPolicyParams object with the ability to set a context for a request.

func NewCreateAccessPolicyParamsWithHTTPClient

func NewCreateAccessPolicyParamsWithHTTPClient(client *http.Client) *CreateAccessPolicyParams

NewCreateAccessPolicyParamsWithHTTPClient creates a new CreateAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAccessPolicyParamsWithTimeout

func NewCreateAccessPolicyParamsWithTimeout(timeout time.Duration) *CreateAccessPolicyParams

NewCreateAccessPolicyParamsWithTimeout creates a new CreateAccessPolicyParams object with the ability to set a timeout on a request.

func (*CreateAccessPolicyParams) SetBody

SetBody adds the body to the create access policy params

func (*CreateAccessPolicyParams) SetContext

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

SetContext adds the context to the create access policy params

func (*CreateAccessPolicyParams) SetDefaults

func (o *CreateAccessPolicyParams) SetDefaults()

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

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

func (*CreateAccessPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create access policy params

func (*CreateAccessPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create access policy params

func (*CreateAccessPolicyParams) WithBody

WithBody adds the body to the create access policy params

func (*CreateAccessPolicyParams) WithContext

WithContext adds the context to the create access policy params

func (*CreateAccessPolicyParams) WithDefaults

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

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

func (*CreateAccessPolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create access policy params

func (*CreateAccessPolicyParams) WithTimeout

WithTimeout adds the timeout to the create access policy params

func (*CreateAccessPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAccessPolicyReader

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

CreateAccessPolicyReader is a Reader for the CreateAccessPolicy structure.

func (*CreateAccessPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccessPolicyUnauthorized

type CreateAccessPolicyUnauthorized struct {
}

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

Client could not be authenticated.

func NewCreateAccessPolicyUnauthorized

func NewCreateAccessPolicyUnauthorized() *CreateAccessPolicyUnauthorized

NewCreateAccessPolicyUnauthorized creates a CreateAccessPolicyUnauthorized with default headers values

func (*CreateAccessPolicyUnauthorized) Error

func (*CreateAccessPolicyUnauthorized) IsClientError added in v1.19.1

func (o *CreateAccessPolicyUnauthorized) IsClientError() bool

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

func (*CreateAccessPolicyUnauthorized) IsCode added in v1.19.1

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

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

func (*CreateAccessPolicyUnauthorized) IsRedirect added in v1.19.1

func (o *CreateAccessPolicyUnauthorized) IsRedirect() bool

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

func (*CreateAccessPolicyUnauthorized) IsServerError added in v1.19.1

func (o *CreateAccessPolicyUnauthorized) IsServerError() bool

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

func (*CreateAccessPolicyUnauthorized) IsSuccess added in v1.19.1

func (o *CreateAccessPolicyUnauthorized) IsSuccess() bool

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

func (*CreateAccessPolicyUnauthorized) String added in v1.19.1

type GetAccessPolicyBadRequest

type GetAccessPolicyBadRequest struct {
}

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

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

func NewGetAccessPolicyBadRequest

func NewGetAccessPolicyBadRequest() *GetAccessPolicyBadRequest

NewGetAccessPolicyBadRequest creates a GetAccessPolicyBadRequest with default headers values

func (*GetAccessPolicyBadRequest) Error

func (o *GetAccessPolicyBadRequest) Error() string

func (*GetAccessPolicyBadRequest) IsClientError added in v1.19.1

func (o *GetAccessPolicyBadRequest) IsClientError() bool

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

func (*GetAccessPolicyBadRequest) IsCode added in v1.19.1

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

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

func (*GetAccessPolicyBadRequest) IsRedirect added in v1.19.1

func (o *GetAccessPolicyBadRequest) IsRedirect() bool

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

func (*GetAccessPolicyBadRequest) IsServerError added in v1.19.1

func (o *GetAccessPolicyBadRequest) IsServerError() bool

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

func (*GetAccessPolicyBadRequest) IsSuccess added in v1.19.1

func (o *GetAccessPolicyBadRequest) IsSuccess() bool

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

func (*GetAccessPolicyBadRequest) String added in v1.19.1

func (o *GetAccessPolicyBadRequest) String() string

type GetAccessPolicyConflict

type GetAccessPolicyConflict struct {
}

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

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewGetAccessPolicyConflict

func NewGetAccessPolicyConflict() *GetAccessPolicyConflict

NewGetAccessPolicyConflict creates a GetAccessPolicyConflict with default headers values

func (*GetAccessPolicyConflict) Error

func (o *GetAccessPolicyConflict) Error() string

func (*GetAccessPolicyConflict) IsClientError added in v1.19.1

func (o *GetAccessPolicyConflict) IsClientError() bool

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

func (*GetAccessPolicyConflict) IsCode added in v1.19.1

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

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

func (*GetAccessPolicyConflict) IsRedirect added in v1.19.1

func (o *GetAccessPolicyConflict) IsRedirect() bool

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

func (*GetAccessPolicyConflict) IsServerError added in v1.19.1

func (o *GetAccessPolicyConflict) IsServerError() bool

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

func (*GetAccessPolicyConflict) IsSuccess added in v1.19.1

func (o *GetAccessPolicyConflict) IsSuccess() bool

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

func (*GetAccessPolicyConflict) String added in v1.19.1

func (o *GetAccessPolicyConflict) String() string

type GetAccessPolicyForResourceBadRequest

type GetAccessPolicyForResourceBadRequest struct {
}

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

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

func NewGetAccessPolicyForResourceBadRequest

func NewGetAccessPolicyForResourceBadRequest() *GetAccessPolicyForResourceBadRequest

NewGetAccessPolicyForResourceBadRequest creates a GetAccessPolicyForResourceBadRequest with default headers values

func (*GetAccessPolicyForResourceBadRequest) Error

func (*GetAccessPolicyForResourceBadRequest) IsClientError added in v1.19.1

func (o *GetAccessPolicyForResourceBadRequest) IsClientError() bool

IsClientError returns true when this get access policy for resource bad request response has a 4xx status code

func (*GetAccessPolicyForResourceBadRequest) IsCode added in v1.19.1

IsCode returns true when this get access policy for resource bad request response a status code equal to that given

func (*GetAccessPolicyForResourceBadRequest) IsRedirect added in v1.19.1

IsRedirect returns true when this get access policy for resource bad request response has a 3xx status code

func (*GetAccessPolicyForResourceBadRequest) IsServerError added in v1.19.1

func (o *GetAccessPolicyForResourceBadRequest) IsServerError() bool

IsServerError returns true when this get access policy for resource bad request response has a 5xx status code

func (*GetAccessPolicyForResourceBadRequest) IsSuccess added in v1.19.1

IsSuccess returns true when this get access policy for resource bad request response has a 2xx status code

func (*GetAccessPolicyForResourceBadRequest) String added in v1.19.1

type GetAccessPolicyForResourceConflict

type GetAccessPolicyForResourceConflict struct {
}

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

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewGetAccessPolicyForResourceConflict

func NewGetAccessPolicyForResourceConflict() *GetAccessPolicyForResourceConflict

NewGetAccessPolicyForResourceConflict creates a GetAccessPolicyForResourceConflict with default headers values

func (*GetAccessPolicyForResourceConflict) Error

func (*GetAccessPolicyForResourceConflict) IsClientError added in v1.19.1

func (o *GetAccessPolicyForResourceConflict) IsClientError() bool

IsClientError returns true when this get access policy for resource conflict response has a 4xx status code

func (*GetAccessPolicyForResourceConflict) IsCode added in v1.19.1

IsCode returns true when this get access policy for resource conflict response a status code equal to that given

func (*GetAccessPolicyForResourceConflict) IsRedirect added in v1.19.1

func (o *GetAccessPolicyForResourceConflict) IsRedirect() bool

IsRedirect returns true when this get access policy for resource conflict response has a 3xx status code

func (*GetAccessPolicyForResourceConflict) IsServerError added in v1.19.1

func (o *GetAccessPolicyForResourceConflict) IsServerError() bool

IsServerError returns true when this get access policy for resource conflict response has a 5xx status code

func (*GetAccessPolicyForResourceConflict) IsSuccess added in v1.19.1

IsSuccess returns true when this get access policy for resource conflict response has a 2xx status code

func (*GetAccessPolicyForResourceConflict) String added in v1.19.1

type GetAccessPolicyForResourceForbidden

type GetAccessPolicyForResourceForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetAccessPolicyForResourceForbidden

func NewGetAccessPolicyForResourceForbidden() *GetAccessPolicyForResourceForbidden

NewGetAccessPolicyForResourceForbidden creates a GetAccessPolicyForResourceForbidden with default headers values

func (*GetAccessPolicyForResourceForbidden) Error

func (*GetAccessPolicyForResourceForbidden) IsClientError added in v1.19.1

func (o *GetAccessPolicyForResourceForbidden) IsClientError() bool

IsClientError returns true when this get access policy for resource forbidden response has a 4xx status code

func (*GetAccessPolicyForResourceForbidden) IsCode added in v1.19.1

IsCode returns true when this get access policy for resource forbidden response a status code equal to that given

func (*GetAccessPolicyForResourceForbidden) IsRedirect added in v1.19.1

func (o *GetAccessPolicyForResourceForbidden) IsRedirect() bool

IsRedirect returns true when this get access policy for resource forbidden response has a 3xx status code

func (*GetAccessPolicyForResourceForbidden) IsServerError added in v1.19.1

func (o *GetAccessPolicyForResourceForbidden) IsServerError() bool

IsServerError returns true when this get access policy for resource forbidden response has a 5xx status code

func (*GetAccessPolicyForResourceForbidden) IsSuccess added in v1.19.1

IsSuccess returns true when this get access policy for resource forbidden response has a 2xx status code

func (*GetAccessPolicyForResourceForbidden) String added in v1.19.1

type GetAccessPolicyForResourceNotFound

type GetAccessPolicyForResourceNotFound struct {
}

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

The specified resource could not be found.

func NewGetAccessPolicyForResourceNotFound

func NewGetAccessPolicyForResourceNotFound() *GetAccessPolicyForResourceNotFound

NewGetAccessPolicyForResourceNotFound creates a GetAccessPolicyForResourceNotFound with default headers values

func (*GetAccessPolicyForResourceNotFound) Error

func (*GetAccessPolicyForResourceNotFound) IsClientError added in v1.19.1

func (o *GetAccessPolicyForResourceNotFound) IsClientError() bool

IsClientError returns true when this get access policy for resource not found response has a 4xx status code

func (*GetAccessPolicyForResourceNotFound) IsCode added in v1.19.1

IsCode returns true when this get access policy for resource not found response a status code equal to that given

func (*GetAccessPolicyForResourceNotFound) IsRedirect added in v1.19.1

func (o *GetAccessPolicyForResourceNotFound) IsRedirect() bool

IsRedirect returns true when this get access policy for resource not found response has a 3xx status code

func (*GetAccessPolicyForResourceNotFound) IsServerError added in v1.19.1

func (o *GetAccessPolicyForResourceNotFound) IsServerError() bool

IsServerError returns true when this get access policy for resource not found response has a 5xx status code

func (*GetAccessPolicyForResourceNotFound) IsSuccess added in v1.19.1

IsSuccess returns true when this get access policy for resource not found response has a 2xx status code

func (*GetAccessPolicyForResourceNotFound) String added in v1.19.1

type GetAccessPolicyForResourceOK

type GetAccessPolicyForResourceOK struct {
	Payload *models.AccessPolicyEntity
}

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

successful operation

func NewGetAccessPolicyForResourceOK

func NewGetAccessPolicyForResourceOK() *GetAccessPolicyForResourceOK

NewGetAccessPolicyForResourceOK creates a GetAccessPolicyForResourceOK with default headers values

func (*GetAccessPolicyForResourceOK) Error

func (*GetAccessPolicyForResourceOK) GetPayload

func (*GetAccessPolicyForResourceOK) IsClientError added in v1.19.1

func (o *GetAccessPolicyForResourceOK) IsClientError() bool

IsClientError returns true when this get access policy for resource o k response has a 4xx status code

func (*GetAccessPolicyForResourceOK) IsCode added in v1.19.1

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

IsCode returns true when this get access policy for resource o k response a status code equal to that given

func (*GetAccessPolicyForResourceOK) IsRedirect added in v1.19.1

func (o *GetAccessPolicyForResourceOK) IsRedirect() bool

IsRedirect returns true when this get access policy for resource o k response has a 3xx status code

func (*GetAccessPolicyForResourceOK) IsServerError added in v1.19.1

func (o *GetAccessPolicyForResourceOK) IsServerError() bool

IsServerError returns true when this get access policy for resource o k response has a 5xx status code

func (*GetAccessPolicyForResourceOK) IsSuccess added in v1.19.1

func (o *GetAccessPolicyForResourceOK) IsSuccess() bool

IsSuccess returns true when this get access policy for resource o k response has a 2xx status code

func (*GetAccessPolicyForResourceOK) String added in v1.19.1

type GetAccessPolicyForResourceParams

type GetAccessPolicyForResourceParams struct {

	/* Action.

	   The request action.
	*/
	Action string

	/* Resource.

	   The resource of the policy.
	*/
	Resource string

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

GetAccessPolicyForResourceParams contains all the parameters to send to the API endpoint

for the get access policy for resource operation.

Typically these are written to a http.Request.

func NewGetAccessPolicyForResourceParams

func NewGetAccessPolicyForResourceParams() *GetAccessPolicyForResourceParams

NewGetAccessPolicyForResourceParams creates a new GetAccessPolicyForResourceParams 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 NewGetAccessPolicyForResourceParamsWithContext

func NewGetAccessPolicyForResourceParamsWithContext(ctx context.Context) *GetAccessPolicyForResourceParams

NewGetAccessPolicyForResourceParamsWithContext creates a new GetAccessPolicyForResourceParams object with the ability to set a context for a request.

func NewGetAccessPolicyForResourceParamsWithHTTPClient

func NewGetAccessPolicyForResourceParamsWithHTTPClient(client *http.Client) *GetAccessPolicyForResourceParams

NewGetAccessPolicyForResourceParamsWithHTTPClient creates a new GetAccessPolicyForResourceParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccessPolicyForResourceParamsWithTimeout

func NewGetAccessPolicyForResourceParamsWithTimeout(timeout time.Duration) *GetAccessPolicyForResourceParams

NewGetAccessPolicyForResourceParamsWithTimeout creates a new GetAccessPolicyForResourceParams object with the ability to set a timeout on a request.

func (*GetAccessPolicyForResourceParams) SetAction

func (o *GetAccessPolicyForResourceParams) SetAction(action string)

SetAction adds the action to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) SetContext

SetContext adds the context to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) SetDefaults

func (o *GetAccessPolicyForResourceParams) SetDefaults()

SetDefaults hydrates default values in the get access policy for resource params (not the query body).

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

func (*GetAccessPolicyForResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) SetResource

func (o *GetAccessPolicyForResourceParams) SetResource(resource string)

SetResource adds the resource to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) SetTimeout

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

SetTimeout adds the timeout to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) WithAction

WithAction adds the action to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) WithContext

WithContext adds the context to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) WithDefaults

WithDefaults hydrates default values in the get access policy for resource params (not the query body).

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

func (*GetAccessPolicyForResourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) WithResource

WithResource adds the resource to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) WithTimeout

WithTimeout adds the timeout to the get access policy for resource params

func (*GetAccessPolicyForResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccessPolicyForResourceReader

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

GetAccessPolicyForResourceReader is a Reader for the GetAccessPolicyForResource structure.

func (*GetAccessPolicyForResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccessPolicyForResourceUnauthorized

type GetAccessPolicyForResourceUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetAccessPolicyForResourceUnauthorized

func NewGetAccessPolicyForResourceUnauthorized() *GetAccessPolicyForResourceUnauthorized

NewGetAccessPolicyForResourceUnauthorized creates a GetAccessPolicyForResourceUnauthorized with default headers values

func (*GetAccessPolicyForResourceUnauthorized) Error

func (*GetAccessPolicyForResourceUnauthorized) IsClientError added in v1.19.1

func (o *GetAccessPolicyForResourceUnauthorized) IsClientError() bool

IsClientError returns true when this get access policy for resource unauthorized response has a 4xx status code

func (*GetAccessPolicyForResourceUnauthorized) IsCode added in v1.19.1

IsCode returns true when this get access policy for resource unauthorized response a status code equal to that given

func (*GetAccessPolicyForResourceUnauthorized) IsRedirect added in v1.19.1

IsRedirect returns true when this get access policy for resource unauthorized response has a 3xx status code

func (*GetAccessPolicyForResourceUnauthorized) IsServerError added in v1.19.1

func (o *GetAccessPolicyForResourceUnauthorized) IsServerError() bool

IsServerError returns true when this get access policy for resource unauthorized response has a 5xx status code

func (*GetAccessPolicyForResourceUnauthorized) IsSuccess added in v1.19.1

IsSuccess returns true when this get access policy for resource unauthorized response has a 2xx status code

func (*GetAccessPolicyForResourceUnauthorized) String added in v1.19.1

type GetAccessPolicyForbidden

type GetAccessPolicyForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetAccessPolicyForbidden

func NewGetAccessPolicyForbidden() *GetAccessPolicyForbidden

NewGetAccessPolicyForbidden creates a GetAccessPolicyForbidden with default headers values

func (*GetAccessPolicyForbidden) Error

func (o *GetAccessPolicyForbidden) Error() string

func (*GetAccessPolicyForbidden) IsClientError added in v1.19.1

func (o *GetAccessPolicyForbidden) IsClientError() bool

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

func (*GetAccessPolicyForbidden) IsCode added in v1.19.1

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

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

func (*GetAccessPolicyForbidden) IsRedirect added in v1.19.1

func (o *GetAccessPolicyForbidden) IsRedirect() bool

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

func (*GetAccessPolicyForbidden) IsServerError added in v1.19.1

func (o *GetAccessPolicyForbidden) IsServerError() bool

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

func (*GetAccessPolicyForbidden) IsSuccess added in v1.19.1

func (o *GetAccessPolicyForbidden) IsSuccess() bool

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

func (*GetAccessPolicyForbidden) String added in v1.19.1

func (o *GetAccessPolicyForbidden) String() string

type GetAccessPolicyNotFound

type GetAccessPolicyNotFound struct {
}

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

The specified resource could not be found.

func NewGetAccessPolicyNotFound

func NewGetAccessPolicyNotFound() *GetAccessPolicyNotFound

NewGetAccessPolicyNotFound creates a GetAccessPolicyNotFound with default headers values

func (*GetAccessPolicyNotFound) Error

func (o *GetAccessPolicyNotFound) Error() string

func (*GetAccessPolicyNotFound) IsClientError added in v1.19.1

func (o *GetAccessPolicyNotFound) IsClientError() bool

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

func (*GetAccessPolicyNotFound) IsCode added in v1.19.1

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

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

func (*GetAccessPolicyNotFound) IsRedirect added in v1.19.1

func (o *GetAccessPolicyNotFound) IsRedirect() bool

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

func (*GetAccessPolicyNotFound) IsServerError added in v1.19.1

func (o *GetAccessPolicyNotFound) IsServerError() bool

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

func (*GetAccessPolicyNotFound) IsSuccess added in v1.19.1

func (o *GetAccessPolicyNotFound) IsSuccess() bool

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

func (*GetAccessPolicyNotFound) String added in v1.19.1

func (o *GetAccessPolicyNotFound) String() string

type GetAccessPolicyOK

type GetAccessPolicyOK struct {
	Payload *models.AccessPolicyEntity
}

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

successful operation

func NewGetAccessPolicyOK

func NewGetAccessPolicyOK() *GetAccessPolicyOK

NewGetAccessPolicyOK creates a GetAccessPolicyOK with default headers values

func (*GetAccessPolicyOK) Error

func (o *GetAccessPolicyOK) Error() string

func (*GetAccessPolicyOK) GetPayload

func (o *GetAccessPolicyOK) GetPayload() *models.AccessPolicyEntity

func (*GetAccessPolicyOK) IsClientError added in v1.19.1

func (o *GetAccessPolicyOK) IsClientError() bool

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

func (*GetAccessPolicyOK) IsCode added in v1.19.1

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

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

func (*GetAccessPolicyOK) IsRedirect added in v1.19.1

func (o *GetAccessPolicyOK) IsRedirect() bool

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

func (*GetAccessPolicyOK) IsServerError added in v1.19.1

func (o *GetAccessPolicyOK) IsServerError() bool

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

func (*GetAccessPolicyOK) IsSuccess added in v1.19.1

func (o *GetAccessPolicyOK) IsSuccess() bool

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

func (*GetAccessPolicyOK) String added in v1.19.1

func (o *GetAccessPolicyOK) String() string

type GetAccessPolicyParams

type GetAccessPolicyParams struct {

	/* ID.

	   The access policy id.
	*/
	ID string

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

GetAccessPolicyParams contains all the parameters to send to the API endpoint

for the get access policy operation.

Typically these are written to a http.Request.

func NewGetAccessPolicyParams

func NewGetAccessPolicyParams() *GetAccessPolicyParams

NewGetAccessPolicyParams creates a new GetAccessPolicyParams 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 NewGetAccessPolicyParamsWithContext

func NewGetAccessPolicyParamsWithContext(ctx context.Context) *GetAccessPolicyParams

NewGetAccessPolicyParamsWithContext creates a new GetAccessPolicyParams object with the ability to set a context for a request.

func NewGetAccessPolicyParamsWithHTTPClient

func NewGetAccessPolicyParamsWithHTTPClient(client *http.Client) *GetAccessPolicyParams

NewGetAccessPolicyParamsWithHTTPClient creates a new GetAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccessPolicyParamsWithTimeout

func NewGetAccessPolicyParamsWithTimeout(timeout time.Duration) *GetAccessPolicyParams

NewGetAccessPolicyParamsWithTimeout creates a new GetAccessPolicyParams object with the ability to set a timeout on a request.

func (*GetAccessPolicyParams) SetContext

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

SetContext adds the context to the get access policy params

func (*GetAccessPolicyParams) SetDefaults

func (o *GetAccessPolicyParams) SetDefaults()

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

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

func (*GetAccessPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get access policy params

func (*GetAccessPolicyParams) SetID

func (o *GetAccessPolicyParams) SetID(id string)

SetID adds the id to the get access policy params

func (*GetAccessPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get access policy params

func (*GetAccessPolicyParams) WithContext

WithContext adds the context to the get access policy params

func (*GetAccessPolicyParams) WithDefaults

func (o *GetAccessPolicyParams) WithDefaults() *GetAccessPolicyParams

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

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

func (*GetAccessPolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get access policy params

func (*GetAccessPolicyParams) WithID

WithID adds the id to the get access policy params

func (*GetAccessPolicyParams) WithTimeout

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

WithTimeout adds the timeout to the get access policy params

func (*GetAccessPolicyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccessPolicyReader

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

GetAccessPolicyReader is a Reader for the GetAccessPolicy structure.

func (*GetAccessPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccessPolicyUnauthorized

type GetAccessPolicyUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetAccessPolicyUnauthorized

func NewGetAccessPolicyUnauthorized() *GetAccessPolicyUnauthorized

NewGetAccessPolicyUnauthorized creates a GetAccessPolicyUnauthorized with default headers values

func (*GetAccessPolicyUnauthorized) Error

func (*GetAccessPolicyUnauthorized) IsClientError added in v1.19.1

func (o *GetAccessPolicyUnauthorized) IsClientError() bool

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

func (*GetAccessPolicyUnauthorized) IsCode added in v1.19.1

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

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

func (*GetAccessPolicyUnauthorized) IsRedirect added in v1.19.1

func (o *GetAccessPolicyUnauthorized) IsRedirect() bool

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

func (*GetAccessPolicyUnauthorized) IsServerError added in v1.19.1

func (o *GetAccessPolicyUnauthorized) IsServerError() bool

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

func (*GetAccessPolicyUnauthorized) IsSuccess added in v1.19.1

func (o *GetAccessPolicyUnauthorized) IsSuccess() bool

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

func (*GetAccessPolicyUnauthorized) String added in v1.19.1

func (o *GetAccessPolicyUnauthorized) String() string

type RemoveAccessPolicyBadRequest

type RemoveAccessPolicyBadRequest struct {
}

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

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

func NewRemoveAccessPolicyBadRequest

func NewRemoveAccessPolicyBadRequest() *RemoveAccessPolicyBadRequest

NewRemoveAccessPolicyBadRequest creates a RemoveAccessPolicyBadRequest with default headers values

func (*RemoveAccessPolicyBadRequest) Error

func (*RemoveAccessPolicyBadRequest) IsClientError added in v1.19.1

func (o *RemoveAccessPolicyBadRequest) IsClientError() bool

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

func (*RemoveAccessPolicyBadRequest) IsCode added in v1.19.1

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

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

func (*RemoveAccessPolicyBadRequest) IsRedirect added in v1.19.1

func (o *RemoveAccessPolicyBadRequest) IsRedirect() bool

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

func (*RemoveAccessPolicyBadRequest) IsServerError added in v1.19.1

func (o *RemoveAccessPolicyBadRequest) IsServerError() bool

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

func (*RemoveAccessPolicyBadRequest) IsSuccess added in v1.19.1

func (o *RemoveAccessPolicyBadRequest) IsSuccess() bool

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

func (*RemoveAccessPolicyBadRequest) String added in v1.19.1

type RemoveAccessPolicyConflict

type RemoveAccessPolicyConflict struct {
}

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

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewRemoveAccessPolicyConflict

func NewRemoveAccessPolicyConflict() *RemoveAccessPolicyConflict

NewRemoveAccessPolicyConflict creates a RemoveAccessPolicyConflict with default headers values

func (*RemoveAccessPolicyConflict) Error

func (*RemoveAccessPolicyConflict) IsClientError added in v1.19.1

func (o *RemoveAccessPolicyConflict) IsClientError() bool

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

func (*RemoveAccessPolicyConflict) IsCode added in v1.19.1

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

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

func (*RemoveAccessPolicyConflict) IsRedirect added in v1.19.1

func (o *RemoveAccessPolicyConflict) IsRedirect() bool

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

func (*RemoveAccessPolicyConflict) IsServerError added in v1.19.1

func (o *RemoveAccessPolicyConflict) IsServerError() bool

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

func (*RemoveAccessPolicyConflict) IsSuccess added in v1.19.1

func (o *RemoveAccessPolicyConflict) IsSuccess() bool

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

func (*RemoveAccessPolicyConflict) String added in v1.19.1

func (o *RemoveAccessPolicyConflict) String() string

type RemoveAccessPolicyForbidden

type RemoveAccessPolicyForbidden struct {
}

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

Client is not authorized to make this request.

func NewRemoveAccessPolicyForbidden

func NewRemoveAccessPolicyForbidden() *RemoveAccessPolicyForbidden

NewRemoveAccessPolicyForbidden creates a RemoveAccessPolicyForbidden with default headers values

func (*RemoveAccessPolicyForbidden) Error

func (*RemoveAccessPolicyForbidden) IsClientError added in v1.19.1

func (o *RemoveAccessPolicyForbidden) IsClientError() bool

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

func (*RemoveAccessPolicyForbidden) IsCode added in v1.19.1

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

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

func (*RemoveAccessPolicyForbidden) IsRedirect added in v1.19.1

func (o *RemoveAccessPolicyForbidden) IsRedirect() bool

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

func (*RemoveAccessPolicyForbidden) IsServerError added in v1.19.1

func (o *RemoveAccessPolicyForbidden) IsServerError() bool

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

func (*RemoveAccessPolicyForbidden) IsSuccess added in v1.19.1

func (o *RemoveAccessPolicyForbidden) IsSuccess() bool

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

func (*RemoveAccessPolicyForbidden) String added in v1.19.1

func (o *RemoveAccessPolicyForbidden) String() string

type RemoveAccessPolicyNotFound

type RemoveAccessPolicyNotFound struct {
}

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

The specified resource could not be found.

func NewRemoveAccessPolicyNotFound

func NewRemoveAccessPolicyNotFound() *RemoveAccessPolicyNotFound

NewRemoveAccessPolicyNotFound creates a RemoveAccessPolicyNotFound with default headers values

func (*RemoveAccessPolicyNotFound) Error

func (*RemoveAccessPolicyNotFound) IsClientError added in v1.19.1

func (o *RemoveAccessPolicyNotFound) IsClientError() bool

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

func (*RemoveAccessPolicyNotFound) IsCode added in v1.19.1

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

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

func (*RemoveAccessPolicyNotFound) IsRedirect added in v1.19.1

func (o *RemoveAccessPolicyNotFound) IsRedirect() bool

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

func (*RemoveAccessPolicyNotFound) IsServerError added in v1.19.1

func (o *RemoveAccessPolicyNotFound) IsServerError() bool

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

func (*RemoveAccessPolicyNotFound) IsSuccess added in v1.19.1

func (o *RemoveAccessPolicyNotFound) IsSuccess() bool

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

func (*RemoveAccessPolicyNotFound) String added in v1.19.1

func (o *RemoveAccessPolicyNotFound) String() string

type RemoveAccessPolicyOK

type RemoveAccessPolicyOK struct {
	Payload *models.AccessPolicyEntity
}

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

successful operation

func NewRemoveAccessPolicyOK

func NewRemoveAccessPolicyOK() *RemoveAccessPolicyOK

NewRemoveAccessPolicyOK creates a RemoveAccessPolicyOK with default headers values

func (*RemoveAccessPolicyOK) Error

func (o *RemoveAccessPolicyOK) Error() string

func (*RemoveAccessPolicyOK) GetPayload

func (*RemoveAccessPolicyOK) IsClientError added in v1.19.1

func (o *RemoveAccessPolicyOK) IsClientError() bool

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

func (*RemoveAccessPolicyOK) IsCode added in v1.19.1

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

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

func (*RemoveAccessPolicyOK) IsRedirect added in v1.19.1

func (o *RemoveAccessPolicyOK) IsRedirect() bool

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

func (*RemoveAccessPolicyOK) IsServerError added in v1.19.1

func (o *RemoveAccessPolicyOK) IsServerError() bool

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

func (*RemoveAccessPolicyOK) IsSuccess added in v1.19.1

func (o *RemoveAccessPolicyOK) IsSuccess() bool

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

func (*RemoveAccessPolicyOK) String added in v1.19.1

func (o *RemoveAccessPolicyOK) String() string

type RemoveAccessPolicyParams

type RemoveAccessPolicyParams 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

	/* DisconnectedNodeAcknowledged.

	   Acknowledges that this node is disconnected to allow for mutable requests to proceed.
	*/
	DisconnectedNodeAcknowledged *bool

	/* ID.

	   The access policy id.
	*/
	ID string

	/* Version.

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

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

RemoveAccessPolicyParams contains all the parameters to send to the API endpoint

for the remove access policy operation.

Typically these are written to a http.Request.

func NewRemoveAccessPolicyParams

func NewRemoveAccessPolicyParams() *RemoveAccessPolicyParams

NewRemoveAccessPolicyParams creates a new RemoveAccessPolicyParams 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 NewRemoveAccessPolicyParamsWithContext

func NewRemoveAccessPolicyParamsWithContext(ctx context.Context) *RemoveAccessPolicyParams

NewRemoveAccessPolicyParamsWithContext creates a new RemoveAccessPolicyParams object with the ability to set a context for a request.

func NewRemoveAccessPolicyParamsWithHTTPClient

func NewRemoveAccessPolicyParamsWithHTTPClient(client *http.Client) *RemoveAccessPolicyParams

NewRemoveAccessPolicyParamsWithHTTPClient creates a new RemoveAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveAccessPolicyParamsWithTimeout

func NewRemoveAccessPolicyParamsWithTimeout(timeout time.Duration) *RemoveAccessPolicyParams

NewRemoveAccessPolicyParamsWithTimeout creates a new RemoveAccessPolicyParams object with the ability to set a timeout on a request.

func (*RemoveAccessPolicyParams) SetClientID

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

SetClientID adds the clientId to the remove access policy params

func (*RemoveAccessPolicyParams) SetContext

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

SetContext adds the context to the remove access policy params

func (*RemoveAccessPolicyParams) SetDefaults

func (o *RemoveAccessPolicyParams) SetDefaults()

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

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

func (*RemoveAccessPolicyParams) SetDisconnectedNodeAcknowledged

func (o *RemoveAccessPolicyParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)

SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove access policy params

func (*RemoveAccessPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove access policy params

func (*RemoveAccessPolicyParams) SetID

func (o *RemoveAccessPolicyParams) SetID(id string)

SetID adds the id to the remove access policy params

func (*RemoveAccessPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the remove access policy params

func (*RemoveAccessPolicyParams) SetVersion

func (o *RemoveAccessPolicyParams) SetVersion(version *string)

SetVersion adds the version to the remove access policy params

func (*RemoveAccessPolicyParams) WithClientID

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

WithClientID adds the clientID to the remove access policy params

func (*RemoveAccessPolicyParams) WithContext

WithContext adds the context to the remove access policy params

func (*RemoveAccessPolicyParams) WithDefaults

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

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

func (*RemoveAccessPolicyParams) WithDisconnectedNodeAcknowledged

func (o *RemoveAccessPolicyParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveAccessPolicyParams

WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove access policy params

func (*RemoveAccessPolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove access policy params

func (*RemoveAccessPolicyParams) WithID

WithID adds the id to the remove access policy params

func (*RemoveAccessPolicyParams) WithTimeout

WithTimeout adds the timeout to the remove access policy params

func (*RemoveAccessPolicyParams) WithVersion

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

WithVersion adds the version to the remove access policy params

func (*RemoveAccessPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveAccessPolicyReader

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

RemoveAccessPolicyReader is a Reader for the RemoveAccessPolicy structure.

func (*RemoveAccessPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveAccessPolicyUnauthorized

type RemoveAccessPolicyUnauthorized struct {
}

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

Client could not be authenticated.

func NewRemoveAccessPolicyUnauthorized

func NewRemoveAccessPolicyUnauthorized() *RemoveAccessPolicyUnauthorized

NewRemoveAccessPolicyUnauthorized creates a RemoveAccessPolicyUnauthorized with default headers values

func (*RemoveAccessPolicyUnauthorized) Error

func (*RemoveAccessPolicyUnauthorized) IsClientError added in v1.19.1

func (o *RemoveAccessPolicyUnauthorized) IsClientError() bool

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

func (*RemoveAccessPolicyUnauthorized) IsCode added in v1.19.1

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

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

func (*RemoveAccessPolicyUnauthorized) IsRedirect added in v1.19.1

func (o *RemoveAccessPolicyUnauthorized) IsRedirect() bool

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

func (*RemoveAccessPolicyUnauthorized) IsServerError added in v1.19.1

func (o *RemoveAccessPolicyUnauthorized) IsServerError() bool

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

func (*RemoveAccessPolicyUnauthorized) IsSuccess added in v1.19.1

func (o *RemoveAccessPolicyUnauthorized) IsSuccess() bool

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

func (*RemoveAccessPolicyUnauthorized) String added in v1.19.1

type UpdateAccessPolicyBadRequest

type UpdateAccessPolicyBadRequest struct {
}

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

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

func NewUpdateAccessPolicyBadRequest

func NewUpdateAccessPolicyBadRequest() *UpdateAccessPolicyBadRequest

NewUpdateAccessPolicyBadRequest creates a UpdateAccessPolicyBadRequest with default headers values

func (*UpdateAccessPolicyBadRequest) Error

func (*UpdateAccessPolicyBadRequest) IsClientError added in v1.19.1

func (o *UpdateAccessPolicyBadRequest) IsClientError() bool

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

func (*UpdateAccessPolicyBadRequest) IsCode added in v1.19.1

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

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

func (*UpdateAccessPolicyBadRequest) IsRedirect added in v1.19.1

func (o *UpdateAccessPolicyBadRequest) IsRedirect() bool

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

func (*UpdateAccessPolicyBadRequest) IsServerError added in v1.19.1

func (o *UpdateAccessPolicyBadRequest) IsServerError() bool

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

func (*UpdateAccessPolicyBadRequest) IsSuccess added in v1.19.1

func (o *UpdateAccessPolicyBadRequest) IsSuccess() bool

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

func (*UpdateAccessPolicyBadRequest) String added in v1.19.1

type UpdateAccessPolicyConflict

type UpdateAccessPolicyConflict struct {
}

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

The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.

func NewUpdateAccessPolicyConflict

func NewUpdateAccessPolicyConflict() *UpdateAccessPolicyConflict

NewUpdateAccessPolicyConflict creates a UpdateAccessPolicyConflict with default headers values

func (*UpdateAccessPolicyConflict) Error

func (*UpdateAccessPolicyConflict) IsClientError added in v1.19.1

func (o *UpdateAccessPolicyConflict) IsClientError() bool

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

func (*UpdateAccessPolicyConflict) IsCode added in v1.19.1

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

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

func (*UpdateAccessPolicyConflict) IsRedirect added in v1.19.1

func (o *UpdateAccessPolicyConflict) IsRedirect() bool

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

func (*UpdateAccessPolicyConflict) IsServerError added in v1.19.1

func (o *UpdateAccessPolicyConflict) IsServerError() bool

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

func (*UpdateAccessPolicyConflict) IsSuccess added in v1.19.1

func (o *UpdateAccessPolicyConflict) IsSuccess() bool

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

func (*UpdateAccessPolicyConflict) String added in v1.19.1

func (o *UpdateAccessPolicyConflict) String() string

type UpdateAccessPolicyForbidden

type UpdateAccessPolicyForbidden struct {
}

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

Client is not authorized to make this request.

func NewUpdateAccessPolicyForbidden

func NewUpdateAccessPolicyForbidden() *UpdateAccessPolicyForbidden

NewUpdateAccessPolicyForbidden creates a UpdateAccessPolicyForbidden with default headers values

func (*UpdateAccessPolicyForbidden) Error

func (*UpdateAccessPolicyForbidden) IsClientError added in v1.19.1

func (o *UpdateAccessPolicyForbidden) IsClientError() bool

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

func (*UpdateAccessPolicyForbidden) IsCode added in v1.19.1

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

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

func (*UpdateAccessPolicyForbidden) IsRedirect added in v1.19.1

func (o *UpdateAccessPolicyForbidden) IsRedirect() bool

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

func (*UpdateAccessPolicyForbidden) IsServerError added in v1.19.1

func (o *UpdateAccessPolicyForbidden) IsServerError() bool

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

func (*UpdateAccessPolicyForbidden) IsSuccess added in v1.19.1

func (o *UpdateAccessPolicyForbidden) IsSuccess() bool

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

func (*UpdateAccessPolicyForbidden) String added in v1.19.1

func (o *UpdateAccessPolicyForbidden) String() string

type UpdateAccessPolicyNotFound

type UpdateAccessPolicyNotFound struct {
}

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

The specified resource could not be found.

func NewUpdateAccessPolicyNotFound

func NewUpdateAccessPolicyNotFound() *UpdateAccessPolicyNotFound

NewUpdateAccessPolicyNotFound creates a UpdateAccessPolicyNotFound with default headers values

func (*UpdateAccessPolicyNotFound) Error

func (*UpdateAccessPolicyNotFound) IsClientError added in v1.19.1

func (o *UpdateAccessPolicyNotFound) IsClientError() bool

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

func (*UpdateAccessPolicyNotFound) IsCode added in v1.19.1

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

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

func (*UpdateAccessPolicyNotFound) IsRedirect added in v1.19.1

func (o *UpdateAccessPolicyNotFound) IsRedirect() bool

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

func (*UpdateAccessPolicyNotFound) IsServerError added in v1.19.1

func (o *UpdateAccessPolicyNotFound) IsServerError() bool

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

func (*UpdateAccessPolicyNotFound) IsSuccess added in v1.19.1

func (o *UpdateAccessPolicyNotFound) IsSuccess() bool

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

func (*UpdateAccessPolicyNotFound) String added in v1.19.1

func (o *UpdateAccessPolicyNotFound) String() string

type UpdateAccessPolicyOK

type UpdateAccessPolicyOK struct {
	Payload *models.AccessPolicyEntity
}

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

successful operation

func NewUpdateAccessPolicyOK

func NewUpdateAccessPolicyOK() *UpdateAccessPolicyOK

NewUpdateAccessPolicyOK creates a UpdateAccessPolicyOK with default headers values

func (*UpdateAccessPolicyOK) Error

func (o *UpdateAccessPolicyOK) Error() string

func (*UpdateAccessPolicyOK) GetPayload

func (*UpdateAccessPolicyOK) IsClientError added in v1.19.1

func (o *UpdateAccessPolicyOK) IsClientError() bool

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

func (*UpdateAccessPolicyOK) IsCode added in v1.19.1

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

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

func (*UpdateAccessPolicyOK) IsRedirect added in v1.19.1

func (o *UpdateAccessPolicyOK) IsRedirect() bool

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

func (*UpdateAccessPolicyOK) IsServerError added in v1.19.1

func (o *UpdateAccessPolicyOK) IsServerError() bool

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

func (*UpdateAccessPolicyOK) IsSuccess added in v1.19.1

func (o *UpdateAccessPolicyOK) IsSuccess() bool

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

func (*UpdateAccessPolicyOK) String added in v1.19.1

func (o *UpdateAccessPolicyOK) String() string

type UpdateAccessPolicyParams

type UpdateAccessPolicyParams struct {

	/* Body.

	   The access policy configuration details.
	*/
	Body *models.AccessPolicyEntity

	/* ID.

	   The access policy id.
	*/
	ID string

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

UpdateAccessPolicyParams contains all the parameters to send to the API endpoint

for the update access policy operation.

Typically these are written to a http.Request.

func NewUpdateAccessPolicyParams

func NewUpdateAccessPolicyParams() *UpdateAccessPolicyParams

NewUpdateAccessPolicyParams creates a new UpdateAccessPolicyParams 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 NewUpdateAccessPolicyParamsWithContext

func NewUpdateAccessPolicyParamsWithContext(ctx context.Context) *UpdateAccessPolicyParams

NewUpdateAccessPolicyParamsWithContext creates a new UpdateAccessPolicyParams object with the ability to set a context for a request.

func NewUpdateAccessPolicyParamsWithHTTPClient

func NewUpdateAccessPolicyParamsWithHTTPClient(client *http.Client) *UpdateAccessPolicyParams

NewUpdateAccessPolicyParamsWithHTTPClient creates a new UpdateAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAccessPolicyParamsWithTimeout

func NewUpdateAccessPolicyParamsWithTimeout(timeout time.Duration) *UpdateAccessPolicyParams

NewUpdateAccessPolicyParamsWithTimeout creates a new UpdateAccessPolicyParams object with the ability to set a timeout on a request.

func (*UpdateAccessPolicyParams) SetBody

SetBody adds the body to the update access policy params

func (*UpdateAccessPolicyParams) SetContext

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

SetContext adds the context to the update access policy params

func (*UpdateAccessPolicyParams) SetDefaults

func (o *UpdateAccessPolicyParams) SetDefaults()

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

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

func (*UpdateAccessPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update access policy params

func (*UpdateAccessPolicyParams) SetID

func (o *UpdateAccessPolicyParams) SetID(id string)

SetID adds the id to the update access policy params

func (*UpdateAccessPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the update access policy params

func (*UpdateAccessPolicyParams) WithBody

WithBody adds the body to the update access policy params

func (*UpdateAccessPolicyParams) WithContext

WithContext adds the context to the update access policy params

func (*UpdateAccessPolicyParams) WithDefaults

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

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

func (*UpdateAccessPolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update access policy params

func (*UpdateAccessPolicyParams) WithID

WithID adds the id to the update access policy params

func (*UpdateAccessPolicyParams) WithTimeout

WithTimeout adds the timeout to the update access policy params

func (*UpdateAccessPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAccessPolicyReader

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

UpdateAccessPolicyReader is a Reader for the UpdateAccessPolicy structure.

func (*UpdateAccessPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAccessPolicyUnauthorized

type UpdateAccessPolicyUnauthorized struct {
}

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

Client could not be authenticated.

func NewUpdateAccessPolicyUnauthorized

func NewUpdateAccessPolicyUnauthorized() *UpdateAccessPolicyUnauthorized

NewUpdateAccessPolicyUnauthorized creates a UpdateAccessPolicyUnauthorized with default headers values

func (*UpdateAccessPolicyUnauthorized) Error

func (*UpdateAccessPolicyUnauthorized) IsClientError added in v1.19.1

func (o *UpdateAccessPolicyUnauthorized) IsClientError() bool

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

func (*UpdateAccessPolicyUnauthorized) IsCode added in v1.19.1

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

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

func (*UpdateAccessPolicyUnauthorized) IsRedirect added in v1.19.1

func (o *UpdateAccessPolicyUnauthorized) IsRedirect() bool

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

func (*UpdateAccessPolicyUnauthorized) IsServerError added in v1.19.1

func (o *UpdateAccessPolicyUnauthorized) IsServerError() bool

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

func (*UpdateAccessPolicyUnauthorized) IsSuccess added in v1.19.1

func (o *UpdateAccessPolicyUnauthorized) IsSuccess() bool

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

func (*UpdateAccessPolicyUnauthorized) String added in v1.19.1

Jump to

Keyboard shortcuts

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