items

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 items API

func (*Client) GetAvailableBucketItemFields

func (a *Client) GetAvailableBucketItemFields(params *GetAvailableBucketItemFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableBucketItemFieldsOK, error)

GetAvailableBucketItemFields gets item fields

Retrieves the item field names for searching or sorting on bucket items.

func (*Client) GetItems

func (a *Client) GetItems(params *GetItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemsOK, error)

GetItems gets all items

Get items across all buckets. The returned items will include only items from buckets for which the user is authorized. If the user is not authorized to any buckets, an empty list will be returned.

func (*Client) GetItemsInBucket

func (a *Client) GetItemsInBucket(params *GetItemsInBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemsInBucketOK, error)

GetItemsInBucket gets bucket items

Gets the items located in the given bucket.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAvailableBucketItemFields(params *GetAvailableBucketItemFieldsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableBucketItemFieldsOK, error)

	GetItems(params *GetItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemsOK, error)

	GetItemsInBucket(params *GetItemsInBucketParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemsInBucketOK, 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 items API client.

type GetAvailableBucketItemFieldsOK

type GetAvailableBucketItemFieldsOK struct {
	Payload *models.Fields
}

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

successful operation

func NewGetAvailableBucketItemFieldsOK

func NewGetAvailableBucketItemFieldsOK() *GetAvailableBucketItemFieldsOK

NewGetAvailableBucketItemFieldsOK creates a GetAvailableBucketItemFieldsOK with default headers values

func (*GetAvailableBucketItemFieldsOK) Error

func (*GetAvailableBucketItemFieldsOK) GetPayload

func (o *GetAvailableBucketItemFieldsOK) GetPayload() *models.Fields

func (*GetAvailableBucketItemFieldsOK) IsClientError added in v1.19.1

func (o *GetAvailableBucketItemFieldsOK) IsClientError() bool

IsClientError returns true when this get available bucket item fields o k response has a 4xx status code

func (*GetAvailableBucketItemFieldsOK) IsCode added in v1.19.1

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

IsCode returns true when this get available bucket item fields o k response a status code equal to that given

func (*GetAvailableBucketItemFieldsOK) IsRedirect added in v1.19.1

func (o *GetAvailableBucketItemFieldsOK) IsRedirect() bool

IsRedirect returns true when this get available bucket item fields o k response has a 3xx status code

func (*GetAvailableBucketItemFieldsOK) IsServerError added in v1.19.1

func (o *GetAvailableBucketItemFieldsOK) IsServerError() bool

IsServerError returns true when this get available bucket item fields o k response has a 5xx status code

func (*GetAvailableBucketItemFieldsOK) IsSuccess added in v1.19.1

func (o *GetAvailableBucketItemFieldsOK) IsSuccess() bool

IsSuccess returns true when this get available bucket item fields o k response has a 2xx status code

func (*GetAvailableBucketItemFieldsOK) String added in v1.19.1

type GetAvailableBucketItemFieldsParams

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

GetAvailableBucketItemFieldsParams contains all the parameters to send to the API endpoint

for the get available bucket item fields operation.

Typically these are written to a http.Request.

func NewGetAvailableBucketItemFieldsParams

func NewGetAvailableBucketItemFieldsParams() *GetAvailableBucketItemFieldsParams

NewGetAvailableBucketItemFieldsParams creates a new GetAvailableBucketItemFieldsParams 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 NewGetAvailableBucketItemFieldsParamsWithContext

func NewGetAvailableBucketItemFieldsParamsWithContext(ctx context.Context) *GetAvailableBucketItemFieldsParams

NewGetAvailableBucketItemFieldsParamsWithContext creates a new GetAvailableBucketItemFieldsParams object with the ability to set a context for a request.

func NewGetAvailableBucketItemFieldsParamsWithHTTPClient

func NewGetAvailableBucketItemFieldsParamsWithHTTPClient(client *http.Client) *GetAvailableBucketItemFieldsParams

NewGetAvailableBucketItemFieldsParamsWithHTTPClient creates a new GetAvailableBucketItemFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAvailableBucketItemFieldsParamsWithTimeout

func NewGetAvailableBucketItemFieldsParamsWithTimeout(timeout time.Duration) *GetAvailableBucketItemFieldsParams

NewGetAvailableBucketItemFieldsParamsWithTimeout creates a new GetAvailableBucketItemFieldsParams object with the ability to set a timeout on a request.

func (*GetAvailableBucketItemFieldsParams) SetContext

SetContext adds the context to the get available bucket item fields params

func (*GetAvailableBucketItemFieldsParams) SetDefaults

func (o *GetAvailableBucketItemFieldsParams) SetDefaults()

SetDefaults hydrates default values in the get available bucket item fields params (not the query body).

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

func (*GetAvailableBucketItemFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get available bucket item fields params

func (*GetAvailableBucketItemFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get available bucket item fields params

func (*GetAvailableBucketItemFieldsParams) WithContext

WithContext adds the context to the get available bucket item fields params

func (*GetAvailableBucketItemFieldsParams) WithDefaults

WithDefaults hydrates default values in the get available bucket item fields params (not the query body).

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

func (*GetAvailableBucketItemFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get available bucket item fields params

func (*GetAvailableBucketItemFieldsParams) WithTimeout

WithTimeout adds the timeout to the get available bucket item fields params

func (*GetAvailableBucketItemFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAvailableBucketItemFieldsReader

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

GetAvailableBucketItemFieldsReader is a Reader for the GetAvailableBucketItemFields structure.

func (*GetAvailableBucketItemFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemsInBucketBadRequest

type GetItemsInBucketBadRequest struct {
}

GetItemsInBucketBadRequest 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 NewGetItemsInBucketBadRequest

func NewGetItemsInBucketBadRequest() *GetItemsInBucketBadRequest

NewGetItemsInBucketBadRequest creates a GetItemsInBucketBadRequest with default headers values

func (*GetItemsInBucketBadRequest) Error

func (*GetItemsInBucketBadRequest) IsClientError added in v1.19.1

func (o *GetItemsInBucketBadRequest) IsClientError() bool

IsClientError returns true when this get items in bucket bad request response has a 4xx status code

func (*GetItemsInBucketBadRequest) IsCode added in v1.19.1

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

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

func (*GetItemsInBucketBadRequest) IsRedirect added in v1.19.1

func (o *GetItemsInBucketBadRequest) IsRedirect() bool

IsRedirect returns true when this get items in bucket bad request response has a 3xx status code

func (*GetItemsInBucketBadRequest) IsServerError added in v1.19.1

func (o *GetItemsInBucketBadRequest) IsServerError() bool

IsServerError returns true when this get items in bucket bad request response has a 5xx status code

func (*GetItemsInBucketBadRequest) IsSuccess added in v1.19.1

func (o *GetItemsInBucketBadRequest) IsSuccess() bool

IsSuccess returns true when this get items in bucket bad request response has a 2xx status code

func (*GetItemsInBucketBadRequest) String added in v1.19.1

func (o *GetItemsInBucketBadRequest) String() string

type GetItemsInBucketForbidden

type GetItemsInBucketForbidden struct {
}

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

Client is not authorized to make this request.

func NewGetItemsInBucketForbidden

func NewGetItemsInBucketForbidden() *GetItemsInBucketForbidden

NewGetItemsInBucketForbidden creates a GetItemsInBucketForbidden with default headers values

func (*GetItemsInBucketForbidden) Error

func (o *GetItemsInBucketForbidden) Error() string

func (*GetItemsInBucketForbidden) IsClientError added in v1.19.1

func (o *GetItemsInBucketForbidden) IsClientError() bool

IsClientError returns true when this get items in bucket forbidden response has a 4xx status code

func (*GetItemsInBucketForbidden) IsCode added in v1.19.1

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

IsCode returns true when this get items in bucket forbidden response a status code equal to that given

func (*GetItemsInBucketForbidden) IsRedirect added in v1.19.1

func (o *GetItemsInBucketForbidden) IsRedirect() bool

IsRedirect returns true when this get items in bucket forbidden response has a 3xx status code

func (*GetItemsInBucketForbidden) IsServerError added in v1.19.1

func (o *GetItemsInBucketForbidden) IsServerError() bool

IsServerError returns true when this get items in bucket forbidden response has a 5xx status code

func (*GetItemsInBucketForbidden) IsSuccess added in v1.19.1

func (o *GetItemsInBucketForbidden) IsSuccess() bool

IsSuccess returns true when this get items in bucket forbidden response has a 2xx status code

func (*GetItemsInBucketForbidden) String added in v1.19.1

func (o *GetItemsInBucketForbidden) String() string

type GetItemsInBucketNotFound

type GetItemsInBucketNotFound struct {
}

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

The specified resource could not be found.

func NewGetItemsInBucketNotFound

func NewGetItemsInBucketNotFound() *GetItemsInBucketNotFound

NewGetItemsInBucketNotFound creates a GetItemsInBucketNotFound with default headers values

func (*GetItemsInBucketNotFound) Error

func (o *GetItemsInBucketNotFound) Error() string

func (*GetItemsInBucketNotFound) IsClientError added in v1.19.1

func (o *GetItemsInBucketNotFound) IsClientError() bool

IsClientError returns true when this get items in bucket not found response has a 4xx status code

func (*GetItemsInBucketNotFound) IsCode added in v1.19.1

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

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

func (*GetItemsInBucketNotFound) IsRedirect added in v1.19.1

func (o *GetItemsInBucketNotFound) IsRedirect() bool

IsRedirect returns true when this get items in bucket not found response has a 3xx status code

func (*GetItemsInBucketNotFound) IsServerError added in v1.19.1

func (o *GetItemsInBucketNotFound) IsServerError() bool

IsServerError returns true when this get items in bucket not found response has a 5xx status code

func (*GetItemsInBucketNotFound) IsSuccess added in v1.19.1

func (o *GetItemsInBucketNotFound) IsSuccess() bool

IsSuccess returns true when this get items in bucket not found response has a 2xx status code

func (*GetItemsInBucketNotFound) String added in v1.19.1

func (o *GetItemsInBucketNotFound) String() string

type GetItemsInBucketOK

type GetItemsInBucketOK struct {
	Payload []*models.BucketItem
}

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

successful operation

func NewGetItemsInBucketOK

func NewGetItemsInBucketOK() *GetItemsInBucketOK

NewGetItemsInBucketOK creates a GetItemsInBucketOK with default headers values

func (*GetItemsInBucketOK) Error

func (o *GetItemsInBucketOK) Error() string

func (*GetItemsInBucketOK) GetPayload

func (o *GetItemsInBucketOK) GetPayload() []*models.BucketItem

func (*GetItemsInBucketOK) IsClientError added in v1.19.1

func (o *GetItemsInBucketOK) IsClientError() bool

IsClientError returns true when this get items in bucket o k response has a 4xx status code

func (*GetItemsInBucketOK) IsCode added in v1.19.1

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

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

func (*GetItemsInBucketOK) IsRedirect added in v1.19.1

func (o *GetItemsInBucketOK) IsRedirect() bool

IsRedirect returns true when this get items in bucket o k response has a 3xx status code

func (*GetItemsInBucketOK) IsServerError added in v1.19.1

func (o *GetItemsInBucketOK) IsServerError() bool

IsServerError returns true when this get items in bucket o k response has a 5xx status code

func (*GetItemsInBucketOK) IsSuccess added in v1.19.1

func (o *GetItemsInBucketOK) IsSuccess() bool

IsSuccess returns true when this get items in bucket o k response has a 2xx status code

func (*GetItemsInBucketOK) String added in v1.19.1

func (o *GetItemsInBucketOK) String() string

type GetItemsInBucketParams

type GetItemsInBucketParams struct {

	/* BucketID.

	   The bucket identifier
	*/
	BucketID string

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

GetItemsInBucketParams contains all the parameters to send to the API endpoint

for the get items in bucket operation.

Typically these are written to a http.Request.

func NewGetItemsInBucketParams

func NewGetItemsInBucketParams() *GetItemsInBucketParams

NewGetItemsInBucketParams creates a new GetItemsInBucketParams 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 NewGetItemsInBucketParamsWithContext

func NewGetItemsInBucketParamsWithContext(ctx context.Context) *GetItemsInBucketParams

NewGetItemsInBucketParamsWithContext creates a new GetItemsInBucketParams object with the ability to set a context for a request.

func NewGetItemsInBucketParamsWithHTTPClient

func NewGetItemsInBucketParamsWithHTTPClient(client *http.Client) *GetItemsInBucketParams

NewGetItemsInBucketParamsWithHTTPClient creates a new GetItemsInBucketParams object with the ability to set a custom HTTPClient for a request.

func NewGetItemsInBucketParamsWithTimeout

func NewGetItemsInBucketParamsWithTimeout(timeout time.Duration) *GetItemsInBucketParams

NewGetItemsInBucketParamsWithTimeout creates a new GetItemsInBucketParams object with the ability to set a timeout on a request.

func (*GetItemsInBucketParams) SetBucketID

func (o *GetItemsInBucketParams) SetBucketID(bucketID string)

SetBucketID adds the bucketId to the get items in bucket params

func (*GetItemsInBucketParams) SetContext

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

SetContext adds the context to the get items in bucket params

func (*GetItemsInBucketParams) SetDefaults

func (o *GetItemsInBucketParams) SetDefaults()

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

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

func (*GetItemsInBucketParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get items in bucket params

func (*GetItemsInBucketParams) SetTimeout

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

SetTimeout adds the timeout to the get items in bucket params

func (*GetItemsInBucketParams) WithBucketID

func (o *GetItemsInBucketParams) WithBucketID(bucketID string) *GetItemsInBucketParams

WithBucketID adds the bucketID to the get items in bucket params

func (*GetItemsInBucketParams) WithContext

WithContext adds the context to the get items in bucket params

func (*GetItemsInBucketParams) WithDefaults

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

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

func (*GetItemsInBucketParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get items in bucket params

func (*GetItemsInBucketParams) WithTimeout

WithTimeout adds the timeout to the get items in bucket params

func (*GetItemsInBucketParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetItemsInBucketReader

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

GetItemsInBucketReader is a Reader for the GetItemsInBucket structure.

func (*GetItemsInBucketReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemsInBucketUnauthorized

type GetItemsInBucketUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetItemsInBucketUnauthorized

func NewGetItemsInBucketUnauthorized() *GetItemsInBucketUnauthorized

NewGetItemsInBucketUnauthorized creates a GetItemsInBucketUnauthorized with default headers values

func (*GetItemsInBucketUnauthorized) Error

func (*GetItemsInBucketUnauthorized) IsClientError added in v1.19.1

func (o *GetItemsInBucketUnauthorized) IsClientError() bool

IsClientError returns true when this get items in bucket unauthorized response has a 4xx status code

func (*GetItemsInBucketUnauthorized) IsCode added in v1.19.1

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

IsCode returns true when this get items in bucket unauthorized response a status code equal to that given

func (*GetItemsInBucketUnauthorized) IsRedirect added in v1.19.1

func (o *GetItemsInBucketUnauthorized) IsRedirect() bool

IsRedirect returns true when this get items in bucket unauthorized response has a 3xx status code

func (*GetItemsInBucketUnauthorized) IsServerError added in v1.19.1

func (o *GetItemsInBucketUnauthorized) IsServerError() bool

IsServerError returns true when this get items in bucket unauthorized response has a 5xx status code

func (*GetItemsInBucketUnauthorized) IsSuccess added in v1.19.1

func (o *GetItemsInBucketUnauthorized) IsSuccess() bool

IsSuccess returns true when this get items in bucket unauthorized response has a 2xx status code

func (*GetItemsInBucketUnauthorized) String added in v1.19.1

type GetItemsOK

type GetItemsOK struct {
	Payload []*models.BucketItem
}

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

successful operation

func NewGetItemsOK

func NewGetItemsOK() *GetItemsOK

NewGetItemsOK creates a GetItemsOK with default headers values

func (*GetItemsOK) Error

func (o *GetItemsOK) Error() string

func (*GetItemsOK) GetPayload

func (o *GetItemsOK) GetPayload() []*models.BucketItem

func (*GetItemsOK) IsClientError added in v1.19.1

func (o *GetItemsOK) IsClientError() bool

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

func (*GetItemsOK) IsCode added in v1.19.1

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

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

func (*GetItemsOK) IsRedirect added in v1.19.1

func (o *GetItemsOK) IsRedirect() bool

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

func (*GetItemsOK) IsServerError added in v1.19.1

func (o *GetItemsOK) IsServerError() bool

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

func (*GetItemsOK) IsSuccess added in v1.19.1

func (o *GetItemsOK) IsSuccess() bool

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

func (*GetItemsOK) String added in v1.19.1

func (o *GetItemsOK) String() string

type GetItemsParams

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

GetItemsParams contains all the parameters to send to the API endpoint

for the get items operation.

Typically these are written to a http.Request.

func NewGetItemsParams

func NewGetItemsParams() *GetItemsParams

NewGetItemsParams creates a new GetItemsParams 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 NewGetItemsParamsWithContext

func NewGetItemsParamsWithContext(ctx context.Context) *GetItemsParams

NewGetItemsParamsWithContext creates a new GetItemsParams object with the ability to set a context for a request.

func NewGetItemsParamsWithHTTPClient

func NewGetItemsParamsWithHTTPClient(client *http.Client) *GetItemsParams

NewGetItemsParamsWithHTTPClient creates a new GetItemsParams object with the ability to set a custom HTTPClient for a request.

func NewGetItemsParamsWithTimeout

func NewGetItemsParamsWithTimeout(timeout time.Duration) *GetItemsParams

NewGetItemsParamsWithTimeout creates a new GetItemsParams object with the ability to set a timeout on a request.

func (*GetItemsParams) SetContext

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

SetContext adds the context to the get items params

func (*GetItemsParams) SetDefaults

func (o *GetItemsParams) SetDefaults()

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

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

func (*GetItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get items params

func (*GetItemsParams) SetTimeout

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

SetTimeout adds the timeout to the get items params

func (*GetItemsParams) WithContext

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

WithContext adds the context to the get items params

func (*GetItemsParams) WithDefaults

func (o *GetItemsParams) WithDefaults() *GetItemsParams

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

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

func (*GetItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get items params

func (*GetItemsParams) WithTimeout

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

WithTimeout adds the timeout to the get items params

func (*GetItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetItemsReader

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

GetItemsReader is a Reader for the GetItems structure.

func (*GetItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemsUnauthorized

type GetItemsUnauthorized struct {
}

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

Client could not be authenticated.

func NewGetItemsUnauthorized

func NewGetItemsUnauthorized() *GetItemsUnauthorized

NewGetItemsUnauthorized creates a GetItemsUnauthorized with default headers values

func (*GetItemsUnauthorized) Error

func (o *GetItemsUnauthorized) Error() string

func (*GetItemsUnauthorized) IsClientError added in v1.19.1

func (o *GetItemsUnauthorized) IsClientError() bool

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

func (*GetItemsUnauthorized) IsCode added in v1.19.1

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

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

func (*GetItemsUnauthorized) IsRedirect added in v1.19.1

func (o *GetItemsUnauthorized) IsRedirect() bool

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

func (*GetItemsUnauthorized) IsServerError added in v1.19.1

func (o *GetItemsUnauthorized) IsServerError() bool

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

func (*GetItemsUnauthorized) IsSuccess added in v1.19.1

func (o *GetItemsUnauthorized) IsSuccess() bool

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

func (*GetItemsUnauthorized) String added in v1.19.1

func (o *GetItemsUnauthorized) String() string

Jump to

Keyboard shortcuts

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