collections

package
v0.0.0-...-cbe41fb Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 collections API

func (*Client) RestColServiceCreateCollection

func (a *Client) RestColServiceCreateCollection(params *RestColServiceCreateCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateCollectionOK, error)

RestColServiceCreateCollection adds collection endpoint a collection is a set of documents with scheme free

func (*Client) RestColServiceCreateCollection2

func (a *Client) RestColServiceCreateCollection2(params *RestColServiceCreateCollection2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateCollection2OK, error)

RestColServiceCreateCollection2 adds collection endpoint a collection is a set of documents with scheme free

func (*Client) RestColServiceDeleteCollection

func (a *Client) RestColServiceDeleteCollection(params *RestColServiceDeleteCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteCollectionOK, error)

RestColServiceDeleteCollection remove an individual collection and its associated doc

func (*Client) RestColServiceDeleteCollection2

func (a *Client) RestColServiceDeleteCollection2(params *RestColServiceDeleteCollection2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteCollection2OK, error)

RestColServiceDeleteCollection2 remove an individual collection and its associated doc

func (*Client) RestColServiceGetCollection

func (a *Client) RestColServiceGetCollection(params *RestColServiceGetCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetCollectionOK, error)

RestColServiceGetCollection retrieve an individual collection information and document keys assocaited with it

func (*Client) RestColServiceGetCollection2

func (a *Client) RestColServiceGetCollection2(params *RestColServiceGetCollection2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetCollection2OK, error)

RestColServiceGetCollection2 retrieve an individual collection information and document keys assocaited with it

func (*Client) RestColServiceListCollections

func (a *Client) RestColServiceListCollections(params *RestColServiceListCollectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceListCollectionsOK, error)

RestColServiceListCollections lists collections endpoint

func (*Client) RestColServiceListCollections2

func (a *Client) RestColServiceListCollections2(params *RestColServiceListCollections2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceListCollections2OK, error)

RestColServiceListCollections2 lists collections endpoint

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 {
	RestColServiceCreateCollection(params *RestColServiceCreateCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateCollectionOK, error)

	RestColServiceCreateCollection2(params *RestColServiceCreateCollection2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateCollection2OK, error)

	RestColServiceDeleteCollection(params *RestColServiceDeleteCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteCollectionOK, error)

	RestColServiceDeleteCollection2(params *RestColServiceDeleteCollection2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteCollection2OK, error)

	RestColServiceGetCollection(params *RestColServiceGetCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetCollectionOK, error)

	RestColServiceGetCollection2(params *RestColServiceGetCollection2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetCollection2OK, error)

	RestColServiceListCollections(params *RestColServiceListCollectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceListCollectionsOK, error)

	RestColServiceListCollections2(params *RestColServiceListCollections2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceListCollections2OK, 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 collections API client.

type RestColServiceCreateCollection2Default

type RestColServiceCreateCollection2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceCreateCollection2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceCreateCollection2Default

func NewRestColServiceCreateCollection2Default(code int) *RestColServiceCreateCollection2Default

NewRestColServiceCreateCollection2Default creates a RestColServiceCreateCollection2Default with default headers values

func (*RestColServiceCreateCollection2Default) Code

Code gets the status code for the rest col service create collection2 default response

func (*RestColServiceCreateCollection2Default) Error

func (*RestColServiceCreateCollection2Default) GetPayload

func (*RestColServiceCreateCollection2Default) IsClientError

func (o *RestColServiceCreateCollection2Default) IsClientError() bool

IsClientError returns true when this rest col service create collection2 default response has a 4xx status code

func (*RestColServiceCreateCollection2Default) IsCode

IsCode returns true when this rest col service create collection2 default response a status code equal to that given

func (*RestColServiceCreateCollection2Default) IsRedirect

IsRedirect returns true when this rest col service create collection2 default response has a 3xx status code

func (*RestColServiceCreateCollection2Default) IsServerError

func (o *RestColServiceCreateCollection2Default) IsServerError() bool

IsServerError returns true when this rest col service create collection2 default response has a 5xx status code

func (*RestColServiceCreateCollection2Default) IsSuccess

IsSuccess returns true when this rest col service create collection2 default response has a 2xx status code

func (*RestColServiceCreateCollection2Default) String

type RestColServiceCreateCollection2OK

type RestColServiceCreateCollection2OK struct {
	Payload *models.APICreateCollectionResponse
}

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

A successful response.

func NewRestColServiceCreateCollection2OK

func NewRestColServiceCreateCollection2OK() *RestColServiceCreateCollection2OK

NewRestColServiceCreateCollection2OK creates a RestColServiceCreateCollection2OK with default headers values

func (*RestColServiceCreateCollection2OK) Code

Code gets the status code for the rest col service create collection2 o k response

func (*RestColServiceCreateCollection2OK) Error

func (*RestColServiceCreateCollection2OK) GetPayload

func (*RestColServiceCreateCollection2OK) IsClientError

func (o *RestColServiceCreateCollection2OK) IsClientError() bool

IsClientError returns true when this rest col service create collection2 o k response has a 4xx status code

func (*RestColServiceCreateCollection2OK) IsCode

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

IsCode returns true when this rest col service create collection2 o k response a status code equal to that given

func (*RestColServiceCreateCollection2OK) IsRedirect

func (o *RestColServiceCreateCollection2OK) IsRedirect() bool

IsRedirect returns true when this rest col service create collection2 o k response has a 3xx status code

func (*RestColServiceCreateCollection2OK) IsServerError

func (o *RestColServiceCreateCollection2OK) IsServerError() bool

IsServerError returns true when this rest col service create collection2 o k response has a 5xx status code

func (*RestColServiceCreateCollection2OK) IsSuccess

func (o *RestColServiceCreateCollection2OK) IsSuccess() bool

IsSuccess returns true when this rest col service create collection2 o k response has a 2xx status code

func (*RestColServiceCreateCollection2OK) String

type RestColServiceCreateCollection2Params

type RestColServiceCreateCollection2Params struct {

	// CollectionID.
	CollectionID *string

	// CollectionType.
	//
	// Default: "COLLECTION_TYPE_NONE"
	CollectionType *string

	// Description.
	Description *string

	// ProjectID.
	ProjectID string

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

RestColServiceCreateCollection2Params contains all the parameters to send to the API endpoint

for the rest col service create collection2 operation.

Typically these are written to a http.Request.

func NewRestColServiceCreateCollection2Params

func NewRestColServiceCreateCollection2Params() *RestColServiceCreateCollection2Params

NewRestColServiceCreateCollection2Params creates a new RestColServiceCreateCollection2Params 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 NewRestColServiceCreateCollection2ParamsWithContext

func NewRestColServiceCreateCollection2ParamsWithContext(ctx context.Context) *RestColServiceCreateCollection2Params

NewRestColServiceCreateCollection2ParamsWithContext creates a new RestColServiceCreateCollection2Params object with the ability to set a context for a request.

func NewRestColServiceCreateCollection2ParamsWithHTTPClient

func NewRestColServiceCreateCollection2ParamsWithHTTPClient(client *http.Client) *RestColServiceCreateCollection2Params

NewRestColServiceCreateCollection2ParamsWithHTTPClient creates a new RestColServiceCreateCollection2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceCreateCollection2ParamsWithTimeout

func NewRestColServiceCreateCollection2ParamsWithTimeout(timeout time.Duration) *RestColServiceCreateCollection2Params

NewRestColServiceCreateCollection2ParamsWithTimeout creates a new RestColServiceCreateCollection2Params object with the ability to set a timeout on a request.

func (*RestColServiceCreateCollection2Params) SetCollectionID

func (o *RestColServiceCreateCollection2Params) SetCollectionID(collectionID *string)

SetCollectionID adds the collectionId to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) SetCollectionType

func (o *RestColServiceCreateCollection2Params) SetCollectionType(collectionType *string)

SetCollectionType adds the collectionType to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) SetContext

SetContext adds the context to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) SetDefaults

func (o *RestColServiceCreateCollection2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service create collection2 params (not the query body).

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

func (*RestColServiceCreateCollection2Params) SetDescription

func (o *RestColServiceCreateCollection2Params) SetDescription(description *string)

SetDescription adds the description to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) SetProjectID

func (o *RestColServiceCreateCollection2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) SetTimeout

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

SetTimeout adds the timeout to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WithCollectionType

WithCollectionType adds the collectionType to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WithContext

WithContext adds the context to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WithDefaults

WithDefaults hydrates default values in the rest col service create collection2 params (not the query body).

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

func (*RestColServiceCreateCollection2Params) WithDescription

WithDescription adds the description to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WithProjectID

WithProjectID adds the projectID to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WithTimeout

WithTimeout adds the timeout to the rest col service create collection2 params

func (*RestColServiceCreateCollection2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceCreateCollection2Reader

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

RestColServiceCreateCollection2Reader is a Reader for the RestColServiceCreateCollection2 structure.

func (*RestColServiceCreateCollection2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestColServiceCreateCollectionDefault

type RestColServiceCreateCollectionDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceCreateCollectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceCreateCollectionDefault

func NewRestColServiceCreateCollectionDefault(code int) *RestColServiceCreateCollectionDefault

NewRestColServiceCreateCollectionDefault creates a RestColServiceCreateCollectionDefault with default headers values

func (*RestColServiceCreateCollectionDefault) Code

Code gets the status code for the rest col service create collection default response

func (*RestColServiceCreateCollectionDefault) Error

func (*RestColServiceCreateCollectionDefault) GetPayload

func (*RestColServiceCreateCollectionDefault) IsClientError

func (o *RestColServiceCreateCollectionDefault) IsClientError() bool

IsClientError returns true when this rest col service create collection default response has a 4xx status code

func (*RestColServiceCreateCollectionDefault) IsCode

IsCode returns true when this rest col service create collection default response a status code equal to that given

func (*RestColServiceCreateCollectionDefault) IsRedirect

IsRedirect returns true when this rest col service create collection default response has a 3xx status code

func (*RestColServiceCreateCollectionDefault) IsServerError

func (o *RestColServiceCreateCollectionDefault) IsServerError() bool

IsServerError returns true when this rest col service create collection default response has a 5xx status code

func (*RestColServiceCreateCollectionDefault) IsSuccess

IsSuccess returns true when this rest col service create collection default response has a 2xx status code

func (*RestColServiceCreateCollectionDefault) String

type RestColServiceCreateCollectionOK

type RestColServiceCreateCollectionOK struct {
	Payload *models.APICreateCollectionResponse
}

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

A successful response.

func NewRestColServiceCreateCollectionOK

func NewRestColServiceCreateCollectionOK() *RestColServiceCreateCollectionOK

NewRestColServiceCreateCollectionOK creates a RestColServiceCreateCollectionOK with default headers values

func (*RestColServiceCreateCollectionOK) Code

Code gets the status code for the rest col service create collection o k response

func (*RestColServiceCreateCollectionOK) Error

func (*RestColServiceCreateCollectionOK) GetPayload

func (*RestColServiceCreateCollectionOK) IsClientError

func (o *RestColServiceCreateCollectionOK) IsClientError() bool

IsClientError returns true when this rest col service create collection o k response has a 4xx status code

func (*RestColServiceCreateCollectionOK) IsCode

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

IsCode returns true when this rest col service create collection o k response a status code equal to that given

func (*RestColServiceCreateCollectionOK) IsRedirect

func (o *RestColServiceCreateCollectionOK) IsRedirect() bool

IsRedirect returns true when this rest col service create collection o k response has a 3xx status code

func (*RestColServiceCreateCollectionOK) IsServerError

func (o *RestColServiceCreateCollectionOK) IsServerError() bool

IsServerError returns true when this rest col service create collection o k response has a 5xx status code

func (*RestColServiceCreateCollectionOK) IsSuccess

func (o *RestColServiceCreateCollectionOK) IsSuccess() bool

IsSuccess returns true when this rest col service create collection o k response has a 2xx status code

func (*RestColServiceCreateCollectionOK) String

type RestColServiceCreateCollectionParams

type RestColServiceCreateCollectionParams struct {

	// Body.
	Body *models.APICreateCollectionRequest

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

RestColServiceCreateCollectionParams contains all the parameters to send to the API endpoint

for the rest col service create collection operation.

Typically these are written to a http.Request.

func NewRestColServiceCreateCollectionParams

func NewRestColServiceCreateCollectionParams() *RestColServiceCreateCollectionParams

NewRestColServiceCreateCollectionParams creates a new RestColServiceCreateCollectionParams 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 NewRestColServiceCreateCollectionParamsWithContext

func NewRestColServiceCreateCollectionParamsWithContext(ctx context.Context) *RestColServiceCreateCollectionParams

NewRestColServiceCreateCollectionParamsWithContext creates a new RestColServiceCreateCollectionParams object with the ability to set a context for a request.

func NewRestColServiceCreateCollectionParamsWithHTTPClient

func NewRestColServiceCreateCollectionParamsWithHTTPClient(client *http.Client) *RestColServiceCreateCollectionParams

NewRestColServiceCreateCollectionParamsWithHTTPClient creates a new RestColServiceCreateCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceCreateCollectionParamsWithTimeout

func NewRestColServiceCreateCollectionParamsWithTimeout(timeout time.Duration) *RestColServiceCreateCollectionParams

NewRestColServiceCreateCollectionParamsWithTimeout creates a new RestColServiceCreateCollectionParams object with the ability to set a timeout on a request.

func (*RestColServiceCreateCollectionParams) SetBody

SetBody adds the body to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) SetContext

SetContext adds the context to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) SetDefaults

func (o *RestColServiceCreateCollectionParams) SetDefaults()

SetDefaults hydrates default values in the rest col service create collection params (not the query body).

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

func (*RestColServiceCreateCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) WithBody

WithBody adds the body to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) WithContext

WithContext adds the context to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) WithDefaults

WithDefaults hydrates default values in the rest col service create collection params (not the query body).

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

func (*RestColServiceCreateCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) WithTimeout

WithTimeout adds the timeout to the rest col service create collection params

func (*RestColServiceCreateCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceCreateCollectionReader

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

RestColServiceCreateCollectionReader is a Reader for the RestColServiceCreateCollection structure.

func (*RestColServiceCreateCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestColServiceDeleteCollection2Default

type RestColServiceDeleteCollection2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceDeleteCollection2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceDeleteCollection2Default

func NewRestColServiceDeleteCollection2Default(code int) *RestColServiceDeleteCollection2Default

NewRestColServiceDeleteCollection2Default creates a RestColServiceDeleteCollection2Default with default headers values

func (*RestColServiceDeleteCollection2Default) Code

Code gets the status code for the rest col service delete collection2 default response

func (*RestColServiceDeleteCollection2Default) Error

func (*RestColServiceDeleteCollection2Default) GetPayload

func (*RestColServiceDeleteCollection2Default) IsClientError

func (o *RestColServiceDeleteCollection2Default) IsClientError() bool

IsClientError returns true when this rest col service delete collection2 default response has a 4xx status code

func (*RestColServiceDeleteCollection2Default) IsCode

IsCode returns true when this rest col service delete collection2 default response a status code equal to that given

func (*RestColServiceDeleteCollection2Default) IsRedirect

IsRedirect returns true when this rest col service delete collection2 default response has a 3xx status code

func (*RestColServiceDeleteCollection2Default) IsServerError

func (o *RestColServiceDeleteCollection2Default) IsServerError() bool

IsServerError returns true when this rest col service delete collection2 default response has a 5xx status code

func (*RestColServiceDeleteCollection2Default) IsSuccess

IsSuccess returns true when this rest col service delete collection2 default response has a 2xx status code

func (*RestColServiceDeleteCollection2Default) String

type RestColServiceDeleteCollection2OK

type RestColServiceDeleteCollection2OK struct {
	Payload models.APIDeleteCollectionResponse
}

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

A successful response.

func NewRestColServiceDeleteCollection2OK

func NewRestColServiceDeleteCollection2OK() *RestColServiceDeleteCollection2OK

NewRestColServiceDeleteCollection2OK creates a RestColServiceDeleteCollection2OK with default headers values

func (*RestColServiceDeleteCollection2OK) Code

Code gets the status code for the rest col service delete collection2 o k response

func (*RestColServiceDeleteCollection2OK) Error

func (*RestColServiceDeleteCollection2OK) GetPayload

func (*RestColServiceDeleteCollection2OK) IsClientError

func (o *RestColServiceDeleteCollection2OK) IsClientError() bool

IsClientError returns true when this rest col service delete collection2 o k response has a 4xx status code

func (*RestColServiceDeleteCollection2OK) IsCode

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

IsCode returns true when this rest col service delete collection2 o k response a status code equal to that given

func (*RestColServiceDeleteCollection2OK) IsRedirect

func (o *RestColServiceDeleteCollection2OK) IsRedirect() bool

IsRedirect returns true when this rest col service delete collection2 o k response has a 3xx status code

func (*RestColServiceDeleteCollection2OK) IsServerError

func (o *RestColServiceDeleteCollection2OK) IsServerError() bool

IsServerError returns true when this rest col service delete collection2 o k response has a 5xx status code

func (*RestColServiceDeleteCollection2OK) IsSuccess

func (o *RestColServiceDeleteCollection2OK) IsSuccess() bool

IsSuccess returns true when this rest col service delete collection2 o k response has a 2xx status code

func (*RestColServiceDeleteCollection2OK) String

type RestColServiceDeleteCollection2Params

type RestColServiceDeleteCollection2Params struct {

	// CollectionID.
	CollectionID string

	// ProjectID.
	ProjectID string

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

RestColServiceDeleteCollection2Params contains all the parameters to send to the API endpoint

for the rest col service delete collection2 operation.

Typically these are written to a http.Request.

func NewRestColServiceDeleteCollection2Params

func NewRestColServiceDeleteCollection2Params() *RestColServiceDeleteCollection2Params

NewRestColServiceDeleteCollection2Params creates a new RestColServiceDeleteCollection2Params 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 NewRestColServiceDeleteCollection2ParamsWithContext

func NewRestColServiceDeleteCollection2ParamsWithContext(ctx context.Context) *RestColServiceDeleteCollection2Params

NewRestColServiceDeleteCollection2ParamsWithContext creates a new RestColServiceDeleteCollection2Params object with the ability to set a context for a request.

func NewRestColServiceDeleteCollection2ParamsWithHTTPClient

func NewRestColServiceDeleteCollection2ParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteCollection2Params

NewRestColServiceDeleteCollection2ParamsWithHTTPClient creates a new RestColServiceDeleteCollection2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceDeleteCollection2ParamsWithTimeout

func NewRestColServiceDeleteCollection2ParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteCollection2Params

NewRestColServiceDeleteCollection2ParamsWithTimeout creates a new RestColServiceDeleteCollection2Params object with the ability to set a timeout on a request.

func (*RestColServiceDeleteCollection2Params) SetCollectionID

func (o *RestColServiceDeleteCollection2Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) SetContext

SetContext adds the context to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) SetDefaults

func (o *RestColServiceDeleteCollection2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service delete collection2 params (not the query body).

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

func (*RestColServiceDeleteCollection2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) SetProjectID

func (o *RestColServiceDeleteCollection2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) SetTimeout

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

SetTimeout adds the timeout to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) WithContext

WithContext adds the context to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) WithDefaults

WithDefaults hydrates default values in the rest col service delete collection2 params (not the query body).

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

func (*RestColServiceDeleteCollection2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) WithProjectID

WithProjectID adds the projectID to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) WithTimeout

WithTimeout adds the timeout to the rest col service delete collection2 params

func (*RestColServiceDeleteCollection2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceDeleteCollection2Reader

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

RestColServiceDeleteCollection2Reader is a Reader for the RestColServiceDeleteCollection2 structure.

func (*RestColServiceDeleteCollection2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestColServiceDeleteCollectionDefault

type RestColServiceDeleteCollectionDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceDeleteCollectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceDeleteCollectionDefault

func NewRestColServiceDeleteCollectionDefault(code int) *RestColServiceDeleteCollectionDefault

NewRestColServiceDeleteCollectionDefault creates a RestColServiceDeleteCollectionDefault with default headers values

func (*RestColServiceDeleteCollectionDefault) Code

Code gets the status code for the rest col service delete collection default response

func (*RestColServiceDeleteCollectionDefault) Error

func (*RestColServiceDeleteCollectionDefault) GetPayload

func (*RestColServiceDeleteCollectionDefault) IsClientError

func (o *RestColServiceDeleteCollectionDefault) IsClientError() bool

IsClientError returns true when this rest col service delete collection default response has a 4xx status code

func (*RestColServiceDeleteCollectionDefault) IsCode

IsCode returns true when this rest col service delete collection default response a status code equal to that given

func (*RestColServiceDeleteCollectionDefault) IsRedirect

IsRedirect returns true when this rest col service delete collection default response has a 3xx status code

func (*RestColServiceDeleteCollectionDefault) IsServerError

func (o *RestColServiceDeleteCollectionDefault) IsServerError() bool

IsServerError returns true when this rest col service delete collection default response has a 5xx status code

func (*RestColServiceDeleteCollectionDefault) IsSuccess

IsSuccess returns true when this rest col service delete collection default response has a 2xx status code

func (*RestColServiceDeleteCollectionDefault) String

type RestColServiceDeleteCollectionOK

type RestColServiceDeleteCollectionOK struct {
	Payload models.APIDeleteCollectionResponse
}

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

A successful response.

func NewRestColServiceDeleteCollectionOK

func NewRestColServiceDeleteCollectionOK() *RestColServiceDeleteCollectionOK

NewRestColServiceDeleteCollectionOK creates a RestColServiceDeleteCollectionOK with default headers values

func (*RestColServiceDeleteCollectionOK) Code

Code gets the status code for the rest col service delete collection o k response

func (*RestColServiceDeleteCollectionOK) Error

func (*RestColServiceDeleteCollectionOK) GetPayload

func (*RestColServiceDeleteCollectionOK) IsClientError

func (o *RestColServiceDeleteCollectionOK) IsClientError() bool

IsClientError returns true when this rest col service delete collection o k response has a 4xx status code

func (*RestColServiceDeleteCollectionOK) IsCode

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

IsCode returns true when this rest col service delete collection o k response a status code equal to that given

func (*RestColServiceDeleteCollectionOK) IsRedirect

func (o *RestColServiceDeleteCollectionOK) IsRedirect() bool

IsRedirect returns true when this rest col service delete collection o k response has a 3xx status code

func (*RestColServiceDeleteCollectionOK) IsServerError

func (o *RestColServiceDeleteCollectionOK) IsServerError() bool

IsServerError returns true when this rest col service delete collection o k response has a 5xx status code

func (*RestColServiceDeleteCollectionOK) IsSuccess

func (o *RestColServiceDeleteCollectionOK) IsSuccess() bool

IsSuccess returns true when this rest col service delete collection o k response has a 2xx status code

func (*RestColServiceDeleteCollectionOK) String

type RestColServiceDeleteCollectionParams

type RestColServiceDeleteCollectionParams struct {

	// CollectionID.
	CollectionID string

	// ProjectID.
	ProjectID *string

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

RestColServiceDeleteCollectionParams contains all the parameters to send to the API endpoint

for the rest col service delete collection operation.

Typically these are written to a http.Request.

func NewRestColServiceDeleteCollectionParams

func NewRestColServiceDeleteCollectionParams() *RestColServiceDeleteCollectionParams

NewRestColServiceDeleteCollectionParams creates a new RestColServiceDeleteCollectionParams 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 NewRestColServiceDeleteCollectionParamsWithContext

func NewRestColServiceDeleteCollectionParamsWithContext(ctx context.Context) *RestColServiceDeleteCollectionParams

NewRestColServiceDeleteCollectionParamsWithContext creates a new RestColServiceDeleteCollectionParams object with the ability to set a context for a request.

func NewRestColServiceDeleteCollectionParamsWithHTTPClient

func NewRestColServiceDeleteCollectionParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteCollectionParams

NewRestColServiceDeleteCollectionParamsWithHTTPClient creates a new RestColServiceDeleteCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceDeleteCollectionParamsWithTimeout

func NewRestColServiceDeleteCollectionParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteCollectionParams

NewRestColServiceDeleteCollectionParamsWithTimeout creates a new RestColServiceDeleteCollectionParams object with the ability to set a timeout on a request.

func (*RestColServiceDeleteCollectionParams) SetCollectionID

func (o *RestColServiceDeleteCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) SetContext

SetContext adds the context to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) SetDefaults

func (o *RestColServiceDeleteCollectionParams) SetDefaults()

SetDefaults hydrates default values in the rest col service delete collection params (not the query body).

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

func (*RestColServiceDeleteCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) SetProjectID

func (o *RestColServiceDeleteCollectionParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) WithCollectionID

WithCollectionID adds the collectionID to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) WithContext

WithContext adds the context to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) WithDefaults

WithDefaults hydrates default values in the rest col service delete collection params (not the query body).

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

func (*RestColServiceDeleteCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) WithProjectID

WithProjectID adds the projectID to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) WithTimeout

WithTimeout adds the timeout to the rest col service delete collection params

func (*RestColServiceDeleteCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceDeleteCollectionReader

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

RestColServiceDeleteCollectionReader is a Reader for the RestColServiceDeleteCollection structure.

func (*RestColServiceDeleteCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestColServiceGetCollection2Default

type RestColServiceGetCollection2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceGetCollection2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceGetCollection2Default

func NewRestColServiceGetCollection2Default(code int) *RestColServiceGetCollection2Default

NewRestColServiceGetCollection2Default creates a RestColServiceGetCollection2Default with default headers values

func (*RestColServiceGetCollection2Default) Code

Code gets the status code for the rest col service get collection2 default response

func (*RestColServiceGetCollection2Default) Error

func (*RestColServiceGetCollection2Default) GetPayload

func (*RestColServiceGetCollection2Default) IsClientError

func (o *RestColServiceGetCollection2Default) IsClientError() bool

IsClientError returns true when this rest col service get collection2 default response has a 4xx status code

func (*RestColServiceGetCollection2Default) IsCode

IsCode returns true when this rest col service get collection2 default response a status code equal to that given

func (*RestColServiceGetCollection2Default) IsRedirect

func (o *RestColServiceGetCollection2Default) IsRedirect() bool

IsRedirect returns true when this rest col service get collection2 default response has a 3xx status code

func (*RestColServiceGetCollection2Default) IsServerError

func (o *RestColServiceGetCollection2Default) IsServerError() bool

IsServerError returns true when this rest col service get collection2 default response has a 5xx status code

func (*RestColServiceGetCollection2Default) IsSuccess

IsSuccess returns true when this rest col service get collection2 default response has a 2xx status code

func (*RestColServiceGetCollection2Default) String

type RestColServiceGetCollection2OK

type RestColServiceGetCollection2OK struct {
	Payload *models.APIGetCollectionResponse
}

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

A successful response.

func NewRestColServiceGetCollection2OK

func NewRestColServiceGetCollection2OK() *RestColServiceGetCollection2OK

NewRestColServiceGetCollection2OK creates a RestColServiceGetCollection2OK with default headers values

func (*RestColServiceGetCollection2OK) Code

Code gets the status code for the rest col service get collection2 o k response

func (*RestColServiceGetCollection2OK) Error

func (*RestColServiceGetCollection2OK) GetPayload

func (*RestColServiceGetCollection2OK) IsClientError

func (o *RestColServiceGetCollection2OK) IsClientError() bool

IsClientError returns true when this rest col service get collection2 o k response has a 4xx status code

func (*RestColServiceGetCollection2OK) IsCode

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

IsCode returns true when this rest col service get collection2 o k response a status code equal to that given

func (*RestColServiceGetCollection2OK) IsRedirect

func (o *RestColServiceGetCollection2OK) IsRedirect() bool

IsRedirect returns true when this rest col service get collection2 o k response has a 3xx status code

func (*RestColServiceGetCollection2OK) IsServerError

func (o *RestColServiceGetCollection2OK) IsServerError() bool

IsServerError returns true when this rest col service get collection2 o k response has a 5xx status code

func (*RestColServiceGetCollection2OK) IsSuccess

func (o *RestColServiceGetCollection2OK) IsSuccess() bool

IsSuccess returns true when this rest col service get collection2 o k response has a 2xx status code

func (*RestColServiceGetCollection2OK) String

type RestColServiceGetCollection2Params

type RestColServiceGetCollection2Params struct {

	// CollectionID.
	CollectionID string

	// ProjectID.
	ProjectID string

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

RestColServiceGetCollection2Params contains all the parameters to send to the API endpoint

for the rest col service get collection2 operation.

Typically these are written to a http.Request.

func NewRestColServiceGetCollection2Params

func NewRestColServiceGetCollection2Params() *RestColServiceGetCollection2Params

NewRestColServiceGetCollection2Params creates a new RestColServiceGetCollection2Params 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 NewRestColServiceGetCollection2ParamsWithContext

func NewRestColServiceGetCollection2ParamsWithContext(ctx context.Context) *RestColServiceGetCollection2Params

NewRestColServiceGetCollection2ParamsWithContext creates a new RestColServiceGetCollection2Params object with the ability to set a context for a request.

func NewRestColServiceGetCollection2ParamsWithHTTPClient

func NewRestColServiceGetCollection2ParamsWithHTTPClient(client *http.Client) *RestColServiceGetCollection2Params

NewRestColServiceGetCollection2ParamsWithHTTPClient creates a new RestColServiceGetCollection2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceGetCollection2ParamsWithTimeout

func NewRestColServiceGetCollection2ParamsWithTimeout(timeout time.Duration) *RestColServiceGetCollection2Params

NewRestColServiceGetCollection2ParamsWithTimeout creates a new RestColServiceGetCollection2Params object with the ability to set a timeout on a request.

func (*RestColServiceGetCollection2Params) SetCollectionID

func (o *RestColServiceGetCollection2Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) SetContext

SetContext adds the context to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) SetDefaults

func (o *RestColServiceGetCollection2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service get collection2 params (not the query body).

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

func (*RestColServiceGetCollection2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) SetProjectID

func (o *RestColServiceGetCollection2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) SetTimeout

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

SetTimeout adds the timeout to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) WithContext

WithContext adds the context to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) WithDefaults

WithDefaults hydrates default values in the rest col service get collection2 params (not the query body).

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

func (*RestColServiceGetCollection2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) WithProjectID

WithProjectID adds the projectID to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) WithTimeout

WithTimeout adds the timeout to the rest col service get collection2 params

func (*RestColServiceGetCollection2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceGetCollection2Reader

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

RestColServiceGetCollection2Reader is a Reader for the RestColServiceGetCollection2 structure.

func (*RestColServiceGetCollection2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestColServiceGetCollectionDefault

type RestColServiceGetCollectionDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceGetCollectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceGetCollectionDefault

func NewRestColServiceGetCollectionDefault(code int) *RestColServiceGetCollectionDefault

NewRestColServiceGetCollectionDefault creates a RestColServiceGetCollectionDefault with default headers values

func (*RestColServiceGetCollectionDefault) Code

Code gets the status code for the rest col service get collection default response

func (*RestColServiceGetCollectionDefault) Error

func (*RestColServiceGetCollectionDefault) GetPayload

func (*RestColServiceGetCollectionDefault) IsClientError

func (o *RestColServiceGetCollectionDefault) IsClientError() bool

IsClientError returns true when this rest col service get collection default response has a 4xx status code

func (*RestColServiceGetCollectionDefault) IsCode

IsCode returns true when this rest col service get collection default response a status code equal to that given

func (*RestColServiceGetCollectionDefault) IsRedirect

func (o *RestColServiceGetCollectionDefault) IsRedirect() bool

IsRedirect returns true when this rest col service get collection default response has a 3xx status code

func (*RestColServiceGetCollectionDefault) IsServerError

func (o *RestColServiceGetCollectionDefault) IsServerError() bool

IsServerError returns true when this rest col service get collection default response has a 5xx status code

func (*RestColServiceGetCollectionDefault) IsSuccess

IsSuccess returns true when this rest col service get collection default response has a 2xx status code

func (*RestColServiceGetCollectionDefault) String

type RestColServiceGetCollectionOK

type RestColServiceGetCollectionOK struct {
	Payload *models.APIGetCollectionResponse
}

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

A successful response.

func NewRestColServiceGetCollectionOK

func NewRestColServiceGetCollectionOK() *RestColServiceGetCollectionOK

NewRestColServiceGetCollectionOK creates a RestColServiceGetCollectionOK with default headers values

func (*RestColServiceGetCollectionOK) Code

Code gets the status code for the rest col service get collection o k response

func (*RestColServiceGetCollectionOK) Error

func (*RestColServiceGetCollectionOK) GetPayload

func (*RestColServiceGetCollectionOK) IsClientError

func (o *RestColServiceGetCollectionOK) IsClientError() bool

IsClientError returns true when this rest col service get collection o k response has a 4xx status code

func (*RestColServiceGetCollectionOK) IsCode

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

IsCode returns true when this rest col service get collection o k response a status code equal to that given

func (*RestColServiceGetCollectionOK) IsRedirect

func (o *RestColServiceGetCollectionOK) IsRedirect() bool

IsRedirect returns true when this rest col service get collection o k response has a 3xx status code

func (*RestColServiceGetCollectionOK) IsServerError

func (o *RestColServiceGetCollectionOK) IsServerError() bool

IsServerError returns true when this rest col service get collection o k response has a 5xx status code

func (*RestColServiceGetCollectionOK) IsSuccess

func (o *RestColServiceGetCollectionOK) IsSuccess() bool

IsSuccess returns true when this rest col service get collection o k response has a 2xx status code

func (*RestColServiceGetCollectionOK) String

type RestColServiceGetCollectionParams

type RestColServiceGetCollectionParams struct {

	// CollectionID.
	CollectionID string

	// ProjectID.
	ProjectID *string

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

RestColServiceGetCollectionParams contains all the parameters to send to the API endpoint

for the rest col service get collection operation.

Typically these are written to a http.Request.

func NewRestColServiceGetCollectionParams

func NewRestColServiceGetCollectionParams() *RestColServiceGetCollectionParams

NewRestColServiceGetCollectionParams creates a new RestColServiceGetCollectionParams 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 NewRestColServiceGetCollectionParamsWithContext

func NewRestColServiceGetCollectionParamsWithContext(ctx context.Context) *RestColServiceGetCollectionParams

NewRestColServiceGetCollectionParamsWithContext creates a new RestColServiceGetCollectionParams object with the ability to set a context for a request.

func NewRestColServiceGetCollectionParamsWithHTTPClient

func NewRestColServiceGetCollectionParamsWithHTTPClient(client *http.Client) *RestColServiceGetCollectionParams

NewRestColServiceGetCollectionParamsWithHTTPClient creates a new RestColServiceGetCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceGetCollectionParamsWithTimeout

func NewRestColServiceGetCollectionParamsWithTimeout(timeout time.Duration) *RestColServiceGetCollectionParams

NewRestColServiceGetCollectionParamsWithTimeout creates a new RestColServiceGetCollectionParams object with the ability to set a timeout on a request.

func (*RestColServiceGetCollectionParams) SetCollectionID

func (o *RestColServiceGetCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service get collection params

func (*RestColServiceGetCollectionParams) SetContext

SetContext adds the context to the rest col service get collection params

func (*RestColServiceGetCollectionParams) SetDefaults

func (o *RestColServiceGetCollectionParams) SetDefaults()

SetDefaults hydrates default values in the rest col service get collection params (not the query body).

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

func (*RestColServiceGetCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service get collection params

func (*RestColServiceGetCollectionParams) SetProjectID

func (o *RestColServiceGetCollectionParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service get collection params

func (*RestColServiceGetCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the rest col service get collection params

func (*RestColServiceGetCollectionParams) WithCollectionID

WithCollectionID adds the collectionID to the rest col service get collection params

func (*RestColServiceGetCollectionParams) WithContext

WithContext adds the context to the rest col service get collection params

func (*RestColServiceGetCollectionParams) WithDefaults

WithDefaults hydrates default values in the rest col service get collection params (not the query body).

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

func (*RestColServiceGetCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service get collection params

func (*RestColServiceGetCollectionParams) WithProjectID

WithProjectID adds the projectID to the rest col service get collection params

func (*RestColServiceGetCollectionParams) WithTimeout

WithTimeout adds the timeout to the rest col service get collection params

func (*RestColServiceGetCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceGetCollectionReader

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

RestColServiceGetCollectionReader is a Reader for the RestColServiceGetCollection structure.

func (*RestColServiceGetCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestColServiceListCollections2Default

type RestColServiceListCollections2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceListCollections2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceListCollections2Default

func NewRestColServiceListCollections2Default(code int) *RestColServiceListCollections2Default

NewRestColServiceListCollections2Default creates a RestColServiceListCollections2Default with default headers values

func (*RestColServiceListCollections2Default) Code

Code gets the status code for the rest col service list collections2 default response

func (*RestColServiceListCollections2Default) Error

func (*RestColServiceListCollections2Default) GetPayload

func (*RestColServiceListCollections2Default) IsClientError

func (o *RestColServiceListCollections2Default) IsClientError() bool

IsClientError returns true when this rest col service list collections2 default response has a 4xx status code

func (*RestColServiceListCollections2Default) IsCode

IsCode returns true when this rest col service list collections2 default response a status code equal to that given

func (*RestColServiceListCollections2Default) IsRedirect

IsRedirect returns true when this rest col service list collections2 default response has a 3xx status code

func (*RestColServiceListCollections2Default) IsServerError

func (o *RestColServiceListCollections2Default) IsServerError() bool

IsServerError returns true when this rest col service list collections2 default response has a 5xx status code

func (*RestColServiceListCollections2Default) IsSuccess

IsSuccess returns true when this rest col service list collections2 default response has a 2xx status code

func (*RestColServiceListCollections2Default) String

type RestColServiceListCollections2OK

type RestColServiceListCollections2OK struct {
	Payload models.APIListCollectionsResponse
}

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

A successful response.

func NewRestColServiceListCollections2OK

func NewRestColServiceListCollections2OK() *RestColServiceListCollections2OK

NewRestColServiceListCollections2OK creates a RestColServiceListCollections2OK with default headers values

func (*RestColServiceListCollections2OK) Code

Code gets the status code for the rest col service list collections2 o k response

func (*RestColServiceListCollections2OK) Error

func (*RestColServiceListCollections2OK) GetPayload

func (*RestColServiceListCollections2OK) IsClientError

func (o *RestColServiceListCollections2OK) IsClientError() bool

IsClientError returns true when this rest col service list collections2 o k response has a 4xx status code

func (*RestColServiceListCollections2OK) IsCode

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

IsCode returns true when this rest col service list collections2 o k response a status code equal to that given

func (*RestColServiceListCollections2OK) IsRedirect

func (o *RestColServiceListCollections2OK) IsRedirect() bool

IsRedirect returns true when this rest col service list collections2 o k response has a 3xx status code

func (*RestColServiceListCollections2OK) IsServerError

func (o *RestColServiceListCollections2OK) IsServerError() bool

IsServerError returns true when this rest col service list collections2 o k response has a 5xx status code

func (*RestColServiceListCollections2OK) IsSuccess

func (o *RestColServiceListCollections2OK) IsSuccess() bool

IsSuccess returns true when this rest col service list collections2 o k response has a 2xx status code

func (*RestColServiceListCollections2OK) String

type RestColServiceListCollections2Params

type RestColServiceListCollections2Params struct {

	// ProjectID.
	ProjectID string

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

RestColServiceListCollections2Params contains all the parameters to send to the API endpoint

for the rest col service list collections2 operation.

Typically these are written to a http.Request.

func NewRestColServiceListCollections2Params

func NewRestColServiceListCollections2Params() *RestColServiceListCollections2Params

NewRestColServiceListCollections2Params creates a new RestColServiceListCollections2Params 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 NewRestColServiceListCollections2ParamsWithContext

func NewRestColServiceListCollections2ParamsWithContext(ctx context.Context) *RestColServiceListCollections2Params

NewRestColServiceListCollections2ParamsWithContext creates a new RestColServiceListCollections2Params object with the ability to set a context for a request.

func NewRestColServiceListCollections2ParamsWithHTTPClient

func NewRestColServiceListCollections2ParamsWithHTTPClient(client *http.Client) *RestColServiceListCollections2Params

NewRestColServiceListCollections2ParamsWithHTTPClient creates a new RestColServiceListCollections2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceListCollections2ParamsWithTimeout

func NewRestColServiceListCollections2ParamsWithTimeout(timeout time.Duration) *RestColServiceListCollections2Params

NewRestColServiceListCollections2ParamsWithTimeout creates a new RestColServiceListCollections2Params object with the ability to set a timeout on a request.

func (*RestColServiceListCollections2Params) SetContext

SetContext adds the context to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) SetDefaults

func (o *RestColServiceListCollections2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service list collections2 params (not the query body).

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

func (*RestColServiceListCollections2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) SetProjectID

func (o *RestColServiceListCollections2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) SetTimeout

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

SetTimeout adds the timeout to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) WithContext

WithContext adds the context to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) WithDefaults

WithDefaults hydrates default values in the rest col service list collections2 params (not the query body).

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

func (*RestColServiceListCollections2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) WithProjectID

WithProjectID adds the projectID to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) WithTimeout

WithTimeout adds the timeout to the rest col service list collections2 params

func (*RestColServiceListCollections2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceListCollections2Reader

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

RestColServiceListCollections2Reader is a Reader for the RestColServiceListCollections2 structure.

func (*RestColServiceListCollections2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestColServiceListCollectionsDefault

type RestColServiceListCollectionsDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceListCollectionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceListCollectionsDefault

func NewRestColServiceListCollectionsDefault(code int) *RestColServiceListCollectionsDefault

NewRestColServiceListCollectionsDefault creates a RestColServiceListCollectionsDefault with default headers values

func (*RestColServiceListCollectionsDefault) Code

Code gets the status code for the rest col service list collections default response

func (*RestColServiceListCollectionsDefault) Error

func (*RestColServiceListCollectionsDefault) GetPayload

func (*RestColServiceListCollectionsDefault) IsClientError

func (o *RestColServiceListCollectionsDefault) IsClientError() bool

IsClientError returns true when this rest col service list collections default response has a 4xx status code

func (*RestColServiceListCollectionsDefault) IsCode

IsCode returns true when this rest col service list collections default response a status code equal to that given

func (*RestColServiceListCollectionsDefault) IsRedirect

IsRedirect returns true when this rest col service list collections default response has a 3xx status code

func (*RestColServiceListCollectionsDefault) IsServerError

func (o *RestColServiceListCollectionsDefault) IsServerError() bool

IsServerError returns true when this rest col service list collections default response has a 5xx status code

func (*RestColServiceListCollectionsDefault) IsSuccess

IsSuccess returns true when this rest col service list collections default response has a 2xx status code

func (*RestColServiceListCollectionsDefault) String

type RestColServiceListCollectionsOK

type RestColServiceListCollectionsOK struct {
	Payload models.APIListCollectionsResponse
}

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

A successful response.

func NewRestColServiceListCollectionsOK

func NewRestColServiceListCollectionsOK() *RestColServiceListCollectionsOK

NewRestColServiceListCollectionsOK creates a RestColServiceListCollectionsOK with default headers values

func (*RestColServiceListCollectionsOK) Code

Code gets the status code for the rest col service list collections o k response

func (*RestColServiceListCollectionsOK) Error

func (*RestColServiceListCollectionsOK) GetPayload

func (*RestColServiceListCollectionsOK) IsClientError

func (o *RestColServiceListCollectionsOK) IsClientError() bool

IsClientError returns true when this rest col service list collections o k response has a 4xx status code

func (*RestColServiceListCollectionsOK) IsCode

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

IsCode returns true when this rest col service list collections o k response a status code equal to that given

func (*RestColServiceListCollectionsOK) IsRedirect

func (o *RestColServiceListCollectionsOK) IsRedirect() bool

IsRedirect returns true when this rest col service list collections o k response has a 3xx status code

func (*RestColServiceListCollectionsOK) IsServerError

func (o *RestColServiceListCollectionsOK) IsServerError() bool

IsServerError returns true when this rest col service list collections o k response has a 5xx status code

func (*RestColServiceListCollectionsOK) IsSuccess

func (o *RestColServiceListCollectionsOK) IsSuccess() bool

IsSuccess returns true when this rest col service list collections o k response has a 2xx status code

func (*RestColServiceListCollectionsOK) String

type RestColServiceListCollectionsParams

type RestColServiceListCollectionsParams struct {

	// ProjectID.
	ProjectID *string

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

RestColServiceListCollectionsParams contains all the parameters to send to the API endpoint

for the rest col service list collections operation.

Typically these are written to a http.Request.

func NewRestColServiceListCollectionsParams

func NewRestColServiceListCollectionsParams() *RestColServiceListCollectionsParams

NewRestColServiceListCollectionsParams creates a new RestColServiceListCollectionsParams 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 NewRestColServiceListCollectionsParamsWithContext

func NewRestColServiceListCollectionsParamsWithContext(ctx context.Context) *RestColServiceListCollectionsParams

NewRestColServiceListCollectionsParamsWithContext creates a new RestColServiceListCollectionsParams object with the ability to set a context for a request.

func NewRestColServiceListCollectionsParamsWithHTTPClient

func NewRestColServiceListCollectionsParamsWithHTTPClient(client *http.Client) *RestColServiceListCollectionsParams

NewRestColServiceListCollectionsParamsWithHTTPClient creates a new RestColServiceListCollectionsParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceListCollectionsParamsWithTimeout

func NewRestColServiceListCollectionsParamsWithTimeout(timeout time.Duration) *RestColServiceListCollectionsParams

NewRestColServiceListCollectionsParamsWithTimeout creates a new RestColServiceListCollectionsParams object with the ability to set a timeout on a request.

func (*RestColServiceListCollectionsParams) SetContext

SetContext adds the context to the rest col service list collections params

func (*RestColServiceListCollectionsParams) SetDefaults

func (o *RestColServiceListCollectionsParams) SetDefaults()

SetDefaults hydrates default values in the rest col service list collections params (not the query body).

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

func (*RestColServiceListCollectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rest col service list collections params

func (*RestColServiceListCollectionsParams) SetProjectID

func (o *RestColServiceListCollectionsParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service list collections params

func (*RestColServiceListCollectionsParams) SetTimeout

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

SetTimeout adds the timeout to the rest col service list collections params

func (*RestColServiceListCollectionsParams) WithContext

WithContext adds the context to the rest col service list collections params

func (*RestColServiceListCollectionsParams) WithDefaults

WithDefaults hydrates default values in the rest col service list collections params (not the query body).

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

func (*RestColServiceListCollectionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service list collections params

func (*RestColServiceListCollectionsParams) WithProjectID

WithProjectID adds the projectID to the rest col service list collections params

func (*RestColServiceListCollectionsParams) WithTimeout

WithTimeout adds the timeout to the rest col service list collections params

func (*RestColServiceListCollectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceListCollectionsReader

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

RestColServiceListCollectionsReader is a Reader for the RestColServiceListCollections structure.

func (*RestColServiceListCollectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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