Documentation
¶
Index ¶
- type Client
- func (a *Client) RestColServiceCreateCollection(params *RestColServiceCreateCollectionParams, ...) (*RestColServiceCreateCollectionOK, error)
- func (a *Client) RestColServiceDeleteCollection(params *RestColServiceDeleteCollectionParams, ...) (*RestColServiceDeleteCollectionOK, error)
- func (a *Client) RestColServiceGetCollection(params *RestColServiceGetCollectionParams, ...) (*RestColServiceGetCollectionOK, error)
- func (a *Client) RestColServiceListCollections(params *RestColServiceListCollectionsParams, ...) (*RestColServiceListCollectionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RestColServiceCreateCollectionDefault
- func (o *RestColServiceCreateCollectionDefault) Code() int
- func (o *RestColServiceCreateCollectionDefault) Error() string
- func (o *RestColServiceCreateCollectionDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceCreateCollectionDefault) IsClientError() bool
- func (o *RestColServiceCreateCollectionDefault) IsCode(code int) bool
- func (o *RestColServiceCreateCollectionDefault) IsRedirect() bool
- func (o *RestColServiceCreateCollectionDefault) IsServerError() bool
- func (o *RestColServiceCreateCollectionDefault) IsSuccess() bool
- func (o *RestColServiceCreateCollectionDefault) String() string
- type RestColServiceCreateCollectionOK
- func (o *RestColServiceCreateCollectionOK) Code() int
- func (o *RestColServiceCreateCollectionOK) Error() string
- func (o *RestColServiceCreateCollectionOK) GetPayload() *models.APICreateCollectionResponse
- func (o *RestColServiceCreateCollectionOK) IsClientError() bool
- func (o *RestColServiceCreateCollectionOK) IsCode(code int) bool
- func (o *RestColServiceCreateCollectionOK) IsRedirect() bool
- func (o *RestColServiceCreateCollectionOK) IsServerError() bool
- func (o *RestColServiceCreateCollectionOK) IsSuccess() bool
- func (o *RestColServiceCreateCollectionOK) String() string
- type RestColServiceCreateCollectionParams
- func NewRestColServiceCreateCollectionParams() *RestColServiceCreateCollectionParams
- func NewRestColServiceCreateCollectionParamsWithContext(ctx context.Context) *RestColServiceCreateCollectionParams
- func NewRestColServiceCreateCollectionParamsWithHTTPClient(client *http.Client) *RestColServiceCreateCollectionParams
- func NewRestColServiceCreateCollectionParamsWithTimeout(timeout time.Duration) *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) SetBody(body *models.RestColServiceCreateCollectionBody)
- func (o *RestColServiceCreateCollectionParams) SetContext(ctx context.Context)
- func (o *RestColServiceCreateCollectionParams) SetDefaults()
- func (o *RestColServiceCreateCollectionParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceCreateCollectionParams) SetProjectID(projectID string)
- func (o *RestColServiceCreateCollectionParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceCreateCollectionParams) WithBody(body *models.RestColServiceCreateCollectionBody) *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) WithContext(ctx context.Context) *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) WithDefaults() *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) WithHTTPClient(client *http.Client) *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) WithProjectID(projectID string) *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) WithTimeout(timeout time.Duration) *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceCreateCollectionReader
- type RestColServiceDeleteCollectionDefault
- func (o *RestColServiceDeleteCollectionDefault) Code() int
- func (o *RestColServiceDeleteCollectionDefault) Error() string
- func (o *RestColServiceDeleteCollectionDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceDeleteCollectionDefault) IsClientError() bool
- func (o *RestColServiceDeleteCollectionDefault) IsCode(code int) bool
- func (o *RestColServiceDeleteCollectionDefault) IsRedirect() bool
- func (o *RestColServiceDeleteCollectionDefault) IsServerError() bool
- func (o *RestColServiceDeleteCollectionDefault) IsSuccess() bool
- func (o *RestColServiceDeleteCollectionDefault) String() string
- type RestColServiceDeleteCollectionOK
- func (o *RestColServiceDeleteCollectionOK) Code() int
- func (o *RestColServiceDeleteCollectionOK) Error() string
- func (o *RestColServiceDeleteCollectionOK) GetPayload() models.APIDeleteCollectionResponse
- func (o *RestColServiceDeleteCollectionOK) IsClientError() bool
- func (o *RestColServiceDeleteCollectionOK) IsCode(code int) bool
- func (o *RestColServiceDeleteCollectionOK) IsRedirect() bool
- func (o *RestColServiceDeleteCollectionOK) IsServerError() bool
- func (o *RestColServiceDeleteCollectionOK) IsSuccess() bool
- func (o *RestColServiceDeleteCollectionOK) String() string
- type RestColServiceDeleteCollectionParams
- func NewRestColServiceDeleteCollectionParams() *RestColServiceDeleteCollectionParams
- func NewRestColServiceDeleteCollectionParamsWithContext(ctx context.Context) *RestColServiceDeleteCollectionParams
- func NewRestColServiceDeleteCollectionParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteCollectionParams
- func NewRestColServiceDeleteCollectionParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteCollectionParams
- func (o *RestColServiceDeleteCollectionParams) SetCollectionID(collectionID string)
- func (o *RestColServiceDeleteCollectionParams) SetContext(ctx context.Context)
- func (o *RestColServiceDeleteCollectionParams) SetDefaults()
- func (o *RestColServiceDeleteCollectionParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceDeleteCollectionParams) SetProjectID(projectID string)
- func (o *RestColServiceDeleteCollectionParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceDeleteCollectionParams) WithCollectionID(collectionID string) *RestColServiceDeleteCollectionParams
- func (o *RestColServiceDeleteCollectionParams) WithContext(ctx context.Context) *RestColServiceDeleteCollectionParams
- func (o *RestColServiceDeleteCollectionParams) WithDefaults() *RestColServiceDeleteCollectionParams
- func (o *RestColServiceDeleteCollectionParams) WithHTTPClient(client *http.Client) *RestColServiceDeleteCollectionParams
- func (o *RestColServiceDeleteCollectionParams) WithProjectID(projectID string) *RestColServiceDeleteCollectionParams
- func (o *RestColServiceDeleteCollectionParams) WithTimeout(timeout time.Duration) *RestColServiceDeleteCollectionParams
- func (o *RestColServiceDeleteCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceDeleteCollectionReader
- type RestColServiceGetCollectionDefault
- func (o *RestColServiceGetCollectionDefault) Code() int
- func (o *RestColServiceGetCollectionDefault) Error() string
- func (o *RestColServiceGetCollectionDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceGetCollectionDefault) IsClientError() bool
- func (o *RestColServiceGetCollectionDefault) IsCode(code int) bool
- func (o *RestColServiceGetCollectionDefault) IsRedirect() bool
- func (o *RestColServiceGetCollectionDefault) IsServerError() bool
- func (o *RestColServiceGetCollectionDefault) IsSuccess() bool
- func (o *RestColServiceGetCollectionDefault) String() string
- type RestColServiceGetCollectionOK
- func (o *RestColServiceGetCollectionOK) Code() int
- func (o *RestColServiceGetCollectionOK) Error() string
- func (o *RestColServiceGetCollectionOK) GetPayload() *models.APIGetCollectionResponse
- func (o *RestColServiceGetCollectionOK) IsClientError() bool
- func (o *RestColServiceGetCollectionOK) IsCode(code int) bool
- func (o *RestColServiceGetCollectionOK) IsRedirect() bool
- func (o *RestColServiceGetCollectionOK) IsServerError() bool
- func (o *RestColServiceGetCollectionOK) IsSuccess() bool
- func (o *RestColServiceGetCollectionOK) String() string
- type RestColServiceGetCollectionParams
- func NewRestColServiceGetCollectionParams() *RestColServiceGetCollectionParams
- func NewRestColServiceGetCollectionParamsWithContext(ctx context.Context) *RestColServiceGetCollectionParams
- func NewRestColServiceGetCollectionParamsWithHTTPClient(client *http.Client) *RestColServiceGetCollectionParams
- func NewRestColServiceGetCollectionParamsWithTimeout(timeout time.Duration) *RestColServiceGetCollectionParams
- func (o *RestColServiceGetCollectionParams) SetCollectionID(collectionID string)
- func (o *RestColServiceGetCollectionParams) SetContext(ctx context.Context)
- func (o *RestColServiceGetCollectionParams) SetDefaults()
- func (o *RestColServiceGetCollectionParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceGetCollectionParams) SetProjectID(projectID string)
- func (o *RestColServiceGetCollectionParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceGetCollectionParams) WithCollectionID(collectionID string) *RestColServiceGetCollectionParams
- func (o *RestColServiceGetCollectionParams) WithContext(ctx context.Context) *RestColServiceGetCollectionParams
- func (o *RestColServiceGetCollectionParams) WithDefaults() *RestColServiceGetCollectionParams
- func (o *RestColServiceGetCollectionParams) WithHTTPClient(client *http.Client) *RestColServiceGetCollectionParams
- func (o *RestColServiceGetCollectionParams) WithProjectID(projectID string) *RestColServiceGetCollectionParams
- func (o *RestColServiceGetCollectionParams) WithTimeout(timeout time.Duration) *RestColServiceGetCollectionParams
- func (o *RestColServiceGetCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceGetCollectionReader
- type RestColServiceListCollectionsDefault
- func (o *RestColServiceListCollectionsDefault) Code() int
- func (o *RestColServiceListCollectionsDefault) Error() string
- func (o *RestColServiceListCollectionsDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceListCollectionsDefault) IsClientError() bool
- func (o *RestColServiceListCollectionsDefault) IsCode(code int) bool
- func (o *RestColServiceListCollectionsDefault) IsRedirect() bool
- func (o *RestColServiceListCollectionsDefault) IsServerError() bool
- func (o *RestColServiceListCollectionsDefault) IsSuccess() bool
- func (o *RestColServiceListCollectionsDefault) String() string
- type RestColServiceListCollectionsOK
- func (o *RestColServiceListCollectionsOK) Code() int
- func (o *RestColServiceListCollectionsOK) Error() string
- func (o *RestColServiceListCollectionsOK) GetPayload() models.APIListCollectionsResponse
- func (o *RestColServiceListCollectionsOK) IsClientError() bool
- func (o *RestColServiceListCollectionsOK) IsCode(code int) bool
- func (o *RestColServiceListCollectionsOK) IsRedirect() bool
- func (o *RestColServiceListCollectionsOK) IsServerError() bool
- func (o *RestColServiceListCollectionsOK) IsSuccess() bool
- func (o *RestColServiceListCollectionsOK) String() string
- type RestColServiceListCollectionsParams
- func NewRestColServiceListCollectionsParams() *RestColServiceListCollectionsParams
- func NewRestColServiceListCollectionsParamsWithContext(ctx context.Context) *RestColServiceListCollectionsParams
- func NewRestColServiceListCollectionsParamsWithHTTPClient(client *http.Client) *RestColServiceListCollectionsParams
- func NewRestColServiceListCollectionsParamsWithTimeout(timeout time.Duration) *RestColServiceListCollectionsParams
- func (o *RestColServiceListCollectionsParams) SetContext(ctx context.Context)
- func (o *RestColServiceListCollectionsParams) SetDefaults()
- func (o *RestColServiceListCollectionsParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceListCollectionsParams) SetProjectID(projectID string)
- func (o *RestColServiceListCollectionsParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceListCollectionsParams) WithContext(ctx context.Context) *RestColServiceListCollectionsParams
- func (o *RestColServiceListCollectionsParams) WithDefaults() *RestColServiceListCollectionsParams
- func (o *RestColServiceListCollectionsParams) WithHTTPClient(client *http.Client) *RestColServiceListCollectionsParams
- func (o *RestColServiceListCollectionsParams) WithProjectID(projectID string) *RestColServiceListCollectionsParams
- func (o *RestColServiceListCollectionsParams) WithTimeout(timeout time.Duration) *RestColServiceListCollectionsParams
- func (o *RestColServiceListCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceListCollectionsReader
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) 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) 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) RestColServiceListCollections ¶
func (a *Client) RestColServiceListCollections(params *RestColServiceListCollectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceListCollectionsOK, error)
RestColServiceListCollections 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) RestColServiceDeleteCollection(params *RestColServiceDeleteCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteCollectionOK, error) RestColServiceGetCollection(params *RestColServiceGetCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetCollectionOK, error) RestColServiceListCollections(params *RestColServiceListCollectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceListCollectionsOK, 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 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 ¶
func (o *RestColServiceCreateCollectionDefault) Code() int
Code gets the status code for the rest col service create collection default response
func (*RestColServiceCreateCollectionDefault) Error ¶
func (o *RestColServiceCreateCollectionDefault) Error() string
func (*RestColServiceCreateCollectionDefault) GetPayload ¶
func (o *RestColServiceCreateCollectionDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceCreateCollectionDefault) IsCode(code int) bool
IsCode returns true when this rest col service create collection default response a status code equal to that given
func (*RestColServiceCreateCollectionDefault) IsRedirect ¶
func (o *RestColServiceCreateCollectionDefault) IsRedirect() bool
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 ¶
func (o *RestColServiceCreateCollectionDefault) IsSuccess() bool
IsSuccess returns true when this rest col service create collection default response has a 2xx status code
func (*RestColServiceCreateCollectionDefault) String ¶
func (o *RestColServiceCreateCollectionDefault) String() 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 ¶
func (o *RestColServiceCreateCollectionOK) Code() int
Code gets the status code for the rest col service create collection o k response
func (*RestColServiceCreateCollectionOK) Error ¶
func (o *RestColServiceCreateCollectionOK) Error() string
func (*RestColServiceCreateCollectionOK) GetPayload ¶
func (o *RestColServiceCreateCollectionOK) GetPayload() *models.APICreateCollectionResponse
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 ¶
func (o *RestColServiceCreateCollectionOK) String() string
type RestColServiceCreateCollectionParams ¶
type RestColServiceCreateCollectionParams struct { // Body. Body *models.RestColServiceCreateCollectionBody // ProjectID. ProjectID string 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 ¶
func (o *RestColServiceCreateCollectionParams) SetBody(body *models.RestColServiceCreateCollectionBody)
SetBody adds the body to the rest col service create collection params
func (*RestColServiceCreateCollectionParams) SetContext ¶
func (o *RestColServiceCreateCollectionParams) SetContext(ctx context.Context)
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) SetProjectID ¶
func (o *RestColServiceCreateCollectionParams) SetProjectID(projectID string)
SetProjectID adds the projectId 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 ¶
func (o *RestColServiceCreateCollectionParams) WithBody(body *models.RestColServiceCreateCollectionBody) *RestColServiceCreateCollectionParams
WithBody adds the body to the rest col service create collection params
func (*RestColServiceCreateCollectionParams) WithContext ¶
func (o *RestColServiceCreateCollectionParams) WithContext(ctx context.Context) *RestColServiceCreateCollectionParams
WithContext adds the context to the rest col service create collection params
func (*RestColServiceCreateCollectionParams) WithDefaults ¶
func (o *RestColServiceCreateCollectionParams) WithDefaults() *RestColServiceCreateCollectionParams
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 ¶
func (o *RestColServiceCreateCollectionParams) WithHTTPClient(client *http.Client) *RestColServiceCreateCollectionParams
WithHTTPClient adds the HTTPClient to the rest col service create collection params
func (*RestColServiceCreateCollectionParams) WithProjectID ¶
func (o *RestColServiceCreateCollectionParams) WithProjectID(projectID string) *RestColServiceCreateCollectionParams
WithProjectID adds the projectID to the rest col service create collection params
func (*RestColServiceCreateCollectionParams) WithTimeout ¶
func (o *RestColServiceCreateCollectionParams) WithTimeout(timeout time.Duration) *RestColServiceCreateCollectionParams
WithTimeout adds the timeout to the rest col service create collection params
func (*RestColServiceCreateCollectionParams) WriteToRequest ¶
func (o *RestColServiceCreateCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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 ¶
func (o *RestColServiceDeleteCollectionDefault) Code() int
Code gets the status code for the rest col service delete collection default response
func (*RestColServiceDeleteCollectionDefault) Error ¶
func (o *RestColServiceDeleteCollectionDefault) Error() string
func (*RestColServiceDeleteCollectionDefault) GetPayload ¶
func (o *RestColServiceDeleteCollectionDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceDeleteCollectionDefault) IsCode(code int) bool
IsCode returns true when this rest col service delete collection default response a status code equal to that given
func (*RestColServiceDeleteCollectionDefault) IsRedirect ¶
func (o *RestColServiceDeleteCollectionDefault) IsRedirect() bool
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 ¶
func (o *RestColServiceDeleteCollectionDefault) IsSuccess() bool
IsSuccess returns true when this rest col service delete collection default response has a 2xx status code
func (*RestColServiceDeleteCollectionDefault) String ¶
func (o *RestColServiceDeleteCollectionDefault) String() 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 ¶
func (o *RestColServiceDeleteCollectionOK) Code() int
Code gets the status code for the rest col service delete collection o k response
func (*RestColServiceDeleteCollectionOK) Error ¶
func (o *RestColServiceDeleteCollectionOK) Error() string
func (*RestColServiceDeleteCollectionOK) GetPayload ¶
func (o *RestColServiceDeleteCollectionOK) GetPayload() models.APIDeleteCollectionResponse
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 ¶
func (o *RestColServiceDeleteCollectionOK) String() 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 ¶
func (o *RestColServiceDeleteCollectionParams) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceDeleteCollectionParams) WithCollectionID(collectionID string) *RestColServiceDeleteCollectionParams
WithCollectionID adds the collectionID to the rest col service delete collection params
func (*RestColServiceDeleteCollectionParams) WithContext ¶
func (o *RestColServiceDeleteCollectionParams) WithContext(ctx context.Context) *RestColServiceDeleteCollectionParams
WithContext adds the context to the rest col service delete collection params
func (*RestColServiceDeleteCollectionParams) WithDefaults ¶
func (o *RestColServiceDeleteCollectionParams) WithDefaults() *RestColServiceDeleteCollectionParams
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 ¶
func (o *RestColServiceDeleteCollectionParams) WithHTTPClient(client *http.Client) *RestColServiceDeleteCollectionParams
WithHTTPClient adds the HTTPClient to the rest col service delete collection params
func (*RestColServiceDeleteCollectionParams) WithProjectID ¶
func (o *RestColServiceDeleteCollectionParams) WithProjectID(projectID string) *RestColServiceDeleteCollectionParams
WithProjectID adds the projectID to the rest col service delete collection params
func (*RestColServiceDeleteCollectionParams) WithTimeout ¶
func (o *RestColServiceDeleteCollectionParams) WithTimeout(timeout time.Duration) *RestColServiceDeleteCollectionParams
WithTimeout adds the timeout to the rest col service delete collection params
func (*RestColServiceDeleteCollectionParams) WriteToRequest ¶
func (o *RestColServiceDeleteCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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 ¶
func (o *RestColServiceGetCollectionDefault) Code() int
Code gets the status code for the rest col service get collection default response
func (*RestColServiceGetCollectionDefault) Error ¶
func (o *RestColServiceGetCollectionDefault) Error() string
func (*RestColServiceGetCollectionDefault) GetPayload ¶
func (o *RestColServiceGetCollectionDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceGetCollectionDefault) IsCode(code int) bool
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 ¶
func (o *RestColServiceGetCollectionDefault) IsSuccess() bool
IsSuccess returns true when this rest col service get collection default response has a 2xx status code
func (*RestColServiceGetCollectionDefault) String ¶
func (o *RestColServiceGetCollectionDefault) String() 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 ¶
func (o *RestColServiceGetCollectionOK) Code() int
Code gets the status code for the rest col service get collection o k response
func (*RestColServiceGetCollectionOK) Error ¶
func (o *RestColServiceGetCollectionOK) Error() string
func (*RestColServiceGetCollectionOK) GetPayload ¶
func (o *RestColServiceGetCollectionOK) GetPayload() *models.APIGetCollectionResponse
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 ¶
func (o *RestColServiceGetCollectionOK) String() 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 ¶
func (o *RestColServiceGetCollectionParams) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceGetCollectionParams) WithCollectionID(collectionID string) *RestColServiceGetCollectionParams
WithCollectionID adds the collectionID to the rest col service get collection params
func (*RestColServiceGetCollectionParams) WithContext ¶
func (o *RestColServiceGetCollectionParams) WithContext(ctx context.Context) *RestColServiceGetCollectionParams
WithContext adds the context to the rest col service get collection params
func (*RestColServiceGetCollectionParams) WithDefaults ¶
func (o *RestColServiceGetCollectionParams) WithDefaults() *RestColServiceGetCollectionParams
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 ¶
func (o *RestColServiceGetCollectionParams) WithHTTPClient(client *http.Client) *RestColServiceGetCollectionParams
WithHTTPClient adds the HTTPClient to the rest col service get collection params
func (*RestColServiceGetCollectionParams) WithProjectID ¶
func (o *RestColServiceGetCollectionParams) WithProjectID(projectID string) *RestColServiceGetCollectionParams
WithProjectID adds the projectID to the rest col service get collection params
func (*RestColServiceGetCollectionParams) WithTimeout ¶
func (o *RestColServiceGetCollectionParams) WithTimeout(timeout time.Duration) *RestColServiceGetCollectionParams
WithTimeout adds the timeout to the rest col service get collection params
func (*RestColServiceGetCollectionParams) WriteToRequest ¶
func (o *RestColServiceGetCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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 ¶
func (o *RestColServiceListCollectionsDefault) Code() int
Code gets the status code for the rest col service list collections default response
func (*RestColServiceListCollectionsDefault) Error ¶
func (o *RestColServiceListCollectionsDefault) Error() string
func (*RestColServiceListCollectionsDefault) GetPayload ¶
func (o *RestColServiceListCollectionsDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceListCollectionsDefault) IsCode(code int) bool
IsCode returns true when this rest col service list collections default response a status code equal to that given
func (*RestColServiceListCollectionsDefault) IsRedirect ¶
func (o *RestColServiceListCollectionsDefault) IsRedirect() bool
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 ¶
func (o *RestColServiceListCollectionsDefault) IsSuccess() bool
IsSuccess returns true when this rest col service list collections default response has a 2xx status code
func (*RestColServiceListCollectionsDefault) String ¶
func (o *RestColServiceListCollectionsDefault) String() 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 ¶
func (o *RestColServiceListCollectionsOK) Code() int
Code gets the status code for the rest col service list collections o k response
func (*RestColServiceListCollectionsOK) Error ¶
func (o *RestColServiceListCollectionsOK) Error() string
func (*RestColServiceListCollectionsOK) GetPayload ¶
func (o *RestColServiceListCollectionsOK) GetPayload() models.APIListCollectionsResponse
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 ¶
func (o *RestColServiceListCollectionsOK) String() 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 ¶
func (o *RestColServiceListCollectionsParams) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceListCollectionsParams) WithContext(ctx context.Context) *RestColServiceListCollectionsParams
WithContext adds the context to the rest col service list collections params
func (*RestColServiceListCollectionsParams) WithDefaults ¶
func (o *RestColServiceListCollectionsParams) WithDefaults() *RestColServiceListCollectionsParams
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 ¶
func (o *RestColServiceListCollectionsParams) WithHTTPClient(client *http.Client) *RestColServiceListCollectionsParams
WithHTTPClient adds the HTTPClient to the rest col service list collections params
func (*RestColServiceListCollectionsParams) WithProjectID ¶
func (o *RestColServiceListCollectionsParams) WithProjectID(projectID string) *RestColServiceListCollectionsParams
WithProjectID adds the projectID to the rest col service list collections params
func (*RestColServiceListCollectionsParams) WithTimeout ¶
func (o *RestColServiceListCollectionsParams) WithTimeout(timeout time.Duration) *RestColServiceListCollectionsParams
WithTimeout adds the timeout to the rest col service list collections params
func (*RestColServiceListCollectionsParams) WriteToRequest ¶
func (o *RestColServiceListCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- collections_client.go
- rest_col_service_create_collection_parameters.go
- rest_col_service_create_collection_responses.go
- rest_col_service_delete_collection_parameters.go
- rest_col_service_delete_collection_responses.go
- rest_col_service_get_collection_parameters.go
- rest_col_service_get_collection_responses.go
- rest_col_service_list_collections_parameters.go
- rest_col_service_list_collections_responses.go