Documentation ¶
Index ¶
- type Client
- func (a *Client) RestColServiceCreateCollection(params *RestColServiceCreateCollectionParams, ...) (*RestColServiceCreateCollectionOK, error)
- func (a *Client) RestColServiceCreateCollection2(params *RestColServiceCreateCollection2Params, ...) (*RestColServiceCreateCollection2OK, error)
- func (a *Client) RestColServiceDeleteCollection(params *RestColServiceDeleteCollectionParams, ...) (*RestColServiceDeleteCollectionOK, error)
- func (a *Client) RestColServiceDeleteCollection2(params *RestColServiceDeleteCollection2Params, ...) (*RestColServiceDeleteCollection2OK, error)
- func (a *Client) RestColServiceGetCollection(params *RestColServiceGetCollectionParams, ...) (*RestColServiceGetCollectionOK, error)
- func (a *Client) RestColServiceGetCollection2(params *RestColServiceGetCollection2Params, ...) (*RestColServiceGetCollection2OK, error)
- func (a *Client) RestColServiceListCollections(params *RestColServiceListCollectionsParams, ...) (*RestColServiceListCollectionsOK, error)
- func (a *Client) RestColServiceListCollections2(params *RestColServiceListCollections2Params, ...) (*RestColServiceListCollections2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RestColServiceCreateCollection2Default
- func (o *RestColServiceCreateCollection2Default) Code() int
- func (o *RestColServiceCreateCollection2Default) Error() string
- func (o *RestColServiceCreateCollection2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceCreateCollection2Default) IsClientError() bool
- func (o *RestColServiceCreateCollection2Default) IsCode(code int) bool
- func (o *RestColServiceCreateCollection2Default) IsRedirect() bool
- func (o *RestColServiceCreateCollection2Default) IsServerError() bool
- func (o *RestColServiceCreateCollection2Default) IsSuccess() bool
- func (o *RestColServiceCreateCollection2Default) String() string
- type RestColServiceCreateCollection2OK
- func (o *RestColServiceCreateCollection2OK) Code() int
- func (o *RestColServiceCreateCollection2OK) Error() string
- func (o *RestColServiceCreateCollection2OK) GetPayload() *models.APICreateCollectionResponse
- func (o *RestColServiceCreateCollection2OK) IsClientError() bool
- func (o *RestColServiceCreateCollection2OK) IsCode(code int) bool
- func (o *RestColServiceCreateCollection2OK) IsRedirect() bool
- func (o *RestColServiceCreateCollection2OK) IsServerError() bool
- func (o *RestColServiceCreateCollection2OK) IsSuccess() bool
- func (o *RestColServiceCreateCollection2OK) String() string
- type RestColServiceCreateCollection2Params
- func NewRestColServiceCreateCollection2Params() *RestColServiceCreateCollection2Params
- func NewRestColServiceCreateCollection2ParamsWithContext(ctx context.Context) *RestColServiceCreateCollection2Params
- func NewRestColServiceCreateCollection2ParamsWithHTTPClient(client *http.Client) *RestColServiceCreateCollection2Params
- func NewRestColServiceCreateCollection2ParamsWithTimeout(timeout time.Duration) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) SetCollectionID(collectionID *string)
- func (o *RestColServiceCreateCollection2Params) SetCollectionType(collectionType *string)
- func (o *RestColServiceCreateCollection2Params) SetContext(ctx context.Context)
- func (o *RestColServiceCreateCollection2Params) SetDefaults()
- func (o *RestColServiceCreateCollection2Params) SetDescription(description *string)
- func (o *RestColServiceCreateCollection2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceCreateCollection2Params) SetProjectID(projectID string)
- func (o *RestColServiceCreateCollection2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceCreateCollection2Params) WithCollectionID(collectionID *string) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WithCollectionType(collectionType *string) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WithContext(ctx context.Context) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WithDefaults() *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WithDescription(description *string) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WithHTTPClient(client *http.Client) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WithProjectID(projectID string) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WithTimeout(timeout time.Duration) *RestColServiceCreateCollection2Params
- func (o *RestColServiceCreateCollection2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceCreateCollection2Reader
- 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.APICreateCollectionRequest)
- func (o *RestColServiceCreateCollectionParams) SetContext(ctx context.Context)
- func (o *RestColServiceCreateCollectionParams) SetDefaults()
- func (o *RestColServiceCreateCollectionParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceCreateCollectionParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceCreateCollectionParams) WithBody(body *models.APICreateCollectionRequest) *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) WithTimeout(timeout time.Duration) *RestColServiceCreateCollectionParams
- func (o *RestColServiceCreateCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceCreateCollectionReader
- type RestColServiceDeleteCollection2Default
- func (o *RestColServiceDeleteCollection2Default) Code() int
- func (o *RestColServiceDeleteCollection2Default) Error() string
- func (o *RestColServiceDeleteCollection2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceDeleteCollection2Default) IsClientError() bool
- func (o *RestColServiceDeleteCollection2Default) IsCode(code int) bool
- func (o *RestColServiceDeleteCollection2Default) IsRedirect() bool
- func (o *RestColServiceDeleteCollection2Default) IsServerError() bool
- func (o *RestColServiceDeleteCollection2Default) IsSuccess() bool
- func (o *RestColServiceDeleteCollection2Default) String() string
- type RestColServiceDeleteCollection2OK
- func (o *RestColServiceDeleteCollection2OK) Code() int
- func (o *RestColServiceDeleteCollection2OK) Error() string
- func (o *RestColServiceDeleteCollection2OK) GetPayload() models.APIDeleteCollectionResponse
- func (o *RestColServiceDeleteCollection2OK) IsClientError() bool
- func (o *RestColServiceDeleteCollection2OK) IsCode(code int) bool
- func (o *RestColServiceDeleteCollection2OK) IsRedirect() bool
- func (o *RestColServiceDeleteCollection2OK) IsServerError() bool
- func (o *RestColServiceDeleteCollection2OK) IsSuccess() bool
- func (o *RestColServiceDeleteCollection2OK) String() string
- type RestColServiceDeleteCollection2Params
- func NewRestColServiceDeleteCollection2Params() *RestColServiceDeleteCollection2Params
- func NewRestColServiceDeleteCollection2ParamsWithContext(ctx context.Context) *RestColServiceDeleteCollection2Params
- func NewRestColServiceDeleteCollection2ParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteCollection2Params
- func NewRestColServiceDeleteCollection2ParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteCollection2Params
- func (o *RestColServiceDeleteCollection2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceDeleteCollection2Params) SetContext(ctx context.Context)
- func (o *RestColServiceDeleteCollection2Params) SetDefaults()
- func (o *RestColServiceDeleteCollection2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceDeleteCollection2Params) SetProjectID(projectID string)
- func (o *RestColServiceDeleteCollection2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceDeleteCollection2Params) WithCollectionID(collectionID string) *RestColServiceDeleteCollection2Params
- func (o *RestColServiceDeleteCollection2Params) WithContext(ctx context.Context) *RestColServiceDeleteCollection2Params
- func (o *RestColServiceDeleteCollection2Params) WithDefaults() *RestColServiceDeleteCollection2Params
- func (o *RestColServiceDeleteCollection2Params) WithHTTPClient(client *http.Client) *RestColServiceDeleteCollection2Params
- func (o *RestColServiceDeleteCollection2Params) WithProjectID(projectID string) *RestColServiceDeleteCollection2Params
- func (o *RestColServiceDeleteCollection2Params) WithTimeout(timeout time.Duration) *RestColServiceDeleteCollection2Params
- func (o *RestColServiceDeleteCollection2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceDeleteCollection2Reader
- 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 RestColServiceGetCollection2Default
- func (o *RestColServiceGetCollection2Default) Code() int
- func (o *RestColServiceGetCollection2Default) Error() string
- func (o *RestColServiceGetCollection2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceGetCollection2Default) IsClientError() bool
- func (o *RestColServiceGetCollection2Default) IsCode(code int) bool
- func (o *RestColServiceGetCollection2Default) IsRedirect() bool
- func (o *RestColServiceGetCollection2Default) IsServerError() bool
- func (o *RestColServiceGetCollection2Default) IsSuccess() bool
- func (o *RestColServiceGetCollection2Default) String() string
- type RestColServiceGetCollection2OK
- func (o *RestColServiceGetCollection2OK) Code() int
- func (o *RestColServiceGetCollection2OK) Error() string
- func (o *RestColServiceGetCollection2OK) GetPayload() *models.APIGetCollectionResponse
- func (o *RestColServiceGetCollection2OK) IsClientError() bool
- func (o *RestColServiceGetCollection2OK) IsCode(code int) bool
- func (o *RestColServiceGetCollection2OK) IsRedirect() bool
- func (o *RestColServiceGetCollection2OK) IsServerError() bool
- func (o *RestColServiceGetCollection2OK) IsSuccess() bool
- func (o *RestColServiceGetCollection2OK) String() string
- type RestColServiceGetCollection2Params
- func NewRestColServiceGetCollection2Params() *RestColServiceGetCollection2Params
- func NewRestColServiceGetCollection2ParamsWithContext(ctx context.Context) *RestColServiceGetCollection2Params
- func NewRestColServiceGetCollection2ParamsWithHTTPClient(client *http.Client) *RestColServiceGetCollection2Params
- func NewRestColServiceGetCollection2ParamsWithTimeout(timeout time.Duration) *RestColServiceGetCollection2Params
- func (o *RestColServiceGetCollection2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceGetCollection2Params) SetContext(ctx context.Context)
- func (o *RestColServiceGetCollection2Params) SetDefaults()
- func (o *RestColServiceGetCollection2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceGetCollection2Params) SetProjectID(projectID string)
- func (o *RestColServiceGetCollection2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceGetCollection2Params) WithCollectionID(collectionID string) *RestColServiceGetCollection2Params
- func (o *RestColServiceGetCollection2Params) WithContext(ctx context.Context) *RestColServiceGetCollection2Params
- func (o *RestColServiceGetCollection2Params) WithDefaults() *RestColServiceGetCollection2Params
- func (o *RestColServiceGetCollection2Params) WithHTTPClient(client *http.Client) *RestColServiceGetCollection2Params
- func (o *RestColServiceGetCollection2Params) WithProjectID(projectID string) *RestColServiceGetCollection2Params
- func (o *RestColServiceGetCollection2Params) WithTimeout(timeout time.Duration) *RestColServiceGetCollection2Params
- func (o *RestColServiceGetCollection2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceGetCollection2Reader
- 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 RestColServiceListCollections2Default
- func (o *RestColServiceListCollections2Default) Code() int
- func (o *RestColServiceListCollections2Default) Error() string
- func (o *RestColServiceListCollections2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceListCollections2Default) IsClientError() bool
- func (o *RestColServiceListCollections2Default) IsCode(code int) bool
- func (o *RestColServiceListCollections2Default) IsRedirect() bool
- func (o *RestColServiceListCollections2Default) IsServerError() bool
- func (o *RestColServiceListCollections2Default) IsSuccess() bool
- func (o *RestColServiceListCollections2Default) String() string
- type RestColServiceListCollections2OK
- func (o *RestColServiceListCollections2OK) Code() int
- func (o *RestColServiceListCollections2OK) Error() string
- func (o *RestColServiceListCollections2OK) GetPayload() models.APIListCollectionsResponse
- func (o *RestColServiceListCollections2OK) IsClientError() bool
- func (o *RestColServiceListCollections2OK) IsCode(code int) bool
- func (o *RestColServiceListCollections2OK) IsRedirect() bool
- func (o *RestColServiceListCollections2OK) IsServerError() bool
- func (o *RestColServiceListCollections2OK) IsSuccess() bool
- func (o *RestColServiceListCollections2OK) String() string
- type RestColServiceListCollections2Params
- func NewRestColServiceListCollections2Params() *RestColServiceListCollections2Params
- func NewRestColServiceListCollections2ParamsWithContext(ctx context.Context) *RestColServiceListCollections2Params
- func NewRestColServiceListCollections2ParamsWithHTTPClient(client *http.Client) *RestColServiceListCollections2Params
- func NewRestColServiceListCollections2ParamsWithTimeout(timeout time.Duration) *RestColServiceListCollections2Params
- func (o *RestColServiceListCollections2Params) SetContext(ctx context.Context)
- func (o *RestColServiceListCollections2Params) SetDefaults()
- func (o *RestColServiceListCollections2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceListCollections2Params) SetProjectID(projectID string)
- func (o *RestColServiceListCollections2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceListCollections2Params) WithContext(ctx context.Context) *RestColServiceListCollections2Params
- func (o *RestColServiceListCollections2Params) WithDefaults() *RestColServiceListCollections2Params
- func (o *RestColServiceListCollections2Params) WithHTTPClient(client *http.Client) *RestColServiceListCollections2Params
- func (o *RestColServiceListCollections2Params) WithProjectID(projectID string) *RestColServiceListCollections2Params
- func (o *RestColServiceListCollections2Params) WithTimeout(timeout time.Duration) *RestColServiceListCollections2Params
- func (o *RestColServiceListCollections2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceListCollections2Reader
- 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) 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 ¶
func (o *RestColServiceCreateCollection2Default) Code() int
Code gets the status code for the rest col service create collection2 default response
func (*RestColServiceCreateCollection2Default) Error ¶
func (o *RestColServiceCreateCollection2Default) Error() string
func (*RestColServiceCreateCollection2Default) GetPayload ¶
func (o *RestColServiceCreateCollection2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceCreateCollection2Default) IsCode(code int) bool
IsCode returns true when this rest col service create collection2 default response a status code equal to that given
func (*RestColServiceCreateCollection2Default) IsRedirect ¶
func (o *RestColServiceCreateCollection2Default) IsRedirect() bool
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 ¶
func (o *RestColServiceCreateCollection2Default) IsSuccess() bool
IsSuccess returns true when this rest col service create collection2 default response has a 2xx status code
func (*RestColServiceCreateCollection2Default) String ¶
func (o *RestColServiceCreateCollection2Default) String() 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 ¶
func (o *RestColServiceCreateCollection2OK) Code() int
Code gets the status code for the rest col service create collection2 o k response
func (*RestColServiceCreateCollection2OK) Error ¶
func (o *RestColServiceCreateCollection2OK) Error() string
func (*RestColServiceCreateCollection2OK) GetPayload ¶
func (o *RestColServiceCreateCollection2OK) GetPayload() *models.APICreateCollectionResponse
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 ¶
func (o *RestColServiceCreateCollection2OK) String() 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 ¶
func (o *RestColServiceCreateCollection2Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceCreateCollection2Params) WithCollectionID(collectionID *string) *RestColServiceCreateCollection2Params
WithCollectionID adds the collectionID to the rest col service create collection2 params
func (*RestColServiceCreateCollection2Params) WithCollectionType ¶
func (o *RestColServiceCreateCollection2Params) WithCollectionType(collectionType *string) *RestColServiceCreateCollection2Params
WithCollectionType adds the collectionType to the rest col service create collection2 params
func (*RestColServiceCreateCollection2Params) WithContext ¶
func (o *RestColServiceCreateCollection2Params) WithContext(ctx context.Context) *RestColServiceCreateCollection2Params
WithContext adds the context to the rest col service create collection2 params
func (*RestColServiceCreateCollection2Params) WithDefaults ¶
func (o *RestColServiceCreateCollection2Params) WithDefaults() *RestColServiceCreateCollection2Params
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 ¶
func (o *RestColServiceCreateCollection2Params) WithDescription(description *string) *RestColServiceCreateCollection2Params
WithDescription adds the description to the rest col service create collection2 params
func (*RestColServiceCreateCollection2Params) WithHTTPClient ¶
func (o *RestColServiceCreateCollection2Params) WithHTTPClient(client *http.Client) *RestColServiceCreateCollection2Params
WithHTTPClient adds the HTTPClient to the rest col service create collection2 params
func (*RestColServiceCreateCollection2Params) WithProjectID ¶
func (o *RestColServiceCreateCollection2Params) WithProjectID(projectID string) *RestColServiceCreateCollection2Params
WithProjectID adds the projectID to the rest col service create collection2 params
func (*RestColServiceCreateCollection2Params) WithTimeout ¶
func (o *RestColServiceCreateCollection2Params) WithTimeout(timeout time.Duration) *RestColServiceCreateCollection2Params
WithTimeout adds the timeout to the rest col service create collection2 params
func (*RestColServiceCreateCollection2Params) WriteToRequest ¶
func (o *RestColServiceCreateCollection2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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.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 ¶
func (o *RestColServiceCreateCollectionParams) SetBody(body *models.APICreateCollectionRequest)
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) 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.APICreateCollectionRequest) *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) 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 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 ¶
func (o *RestColServiceDeleteCollection2Default) Code() int
Code gets the status code for the rest col service delete collection2 default response
func (*RestColServiceDeleteCollection2Default) Error ¶
func (o *RestColServiceDeleteCollection2Default) Error() string
func (*RestColServiceDeleteCollection2Default) GetPayload ¶
func (o *RestColServiceDeleteCollection2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceDeleteCollection2Default) IsCode(code int) bool
IsCode returns true when this rest col service delete collection2 default response a status code equal to that given
func (*RestColServiceDeleteCollection2Default) IsRedirect ¶
func (o *RestColServiceDeleteCollection2Default) IsRedirect() bool
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 ¶
func (o *RestColServiceDeleteCollection2Default) IsSuccess() bool
IsSuccess returns true when this rest col service delete collection2 default response has a 2xx status code
func (*RestColServiceDeleteCollection2Default) String ¶
func (o *RestColServiceDeleteCollection2Default) String() 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 ¶
func (o *RestColServiceDeleteCollection2OK) Code() int
Code gets the status code for the rest col service delete collection2 o k response
func (*RestColServiceDeleteCollection2OK) Error ¶
func (o *RestColServiceDeleteCollection2OK) Error() string
func (*RestColServiceDeleteCollection2OK) GetPayload ¶
func (o *RestColServiceDeleteCollection2OK) GetPayload() models.APIDeleteCollectionResponse
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 ¶
func (o *RestColServiceDeleteCollection2OK) String() 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 ¶
func (o *RestColServiceDeleteCollection2Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceDeleteCollection2Params) WithCollectionID(collectionID string) *RestColServiceDeleteCollection2Params
WithCollectionID adds the collectionID to the rest col service delete collection2 params
func (*RestColServiceDeleteCollection2Params) WithContext ¶
func (o *RestColServiceDeleteCollection2Params) WithContext(ctx context.Context) *RestColServiceDeleteCollection2Params
WithContext adds the context to the rest col service delete collection2 params
func (*RestColServiceDeleteCollection2Params) WithDefaults ¶
func (o *RestColServiceDeleteCollection2Params) WithDefaults() *RestColServiceDeleteCollection2Params
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 ¶
func (o *RestColServiceDeleteCollection2Params) WithHTTPClient(client *http.Client) *RestColServiceDeleteCollection2Params
WithHTTPClient adds the HTTPClient to the rest col service delete collection2 params
func (*RestColServiceDeleteCollection2Params) WithProjectID ¶
func (o *RestColServiceDeleteCollection2Params) WithProjectID(projectID string) *RestColServiceDeleteCollection2Params
WithProjectID adds the projectID to the rest col service delete collection2 params
func (*RestColServiceDeleteCollection2Params) WithTimeout ¶
func (o *RestColServiceDeleteCollection2Params) WithTimeout(timeout time.Duration) *RestColServiceDeleteCollection2Params
WithTimeout adds the timeout to the rest col service delete collection2 params
func (*RestColServiceDeleteCollection2Params) WriteToRequest ¶
func (o *RestColServiceDeleteCollection2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 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 ¶
func (o *RestColServiceGetCollection2Default) Code() int
Code gets the status code for the rest col service get collection2 default response
func (*RestColServiceGetCollection2Default) Error ¶
func (o *RestColServiceGetCollection2Default) Error() string
func (*RestColServiceGetCollection2Default) GetPayload ¶
func (o *RestColServiceGetCollection2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceGetCollection2Default) IsCode(code int) bool
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 ¶
func (o *RestColServiceGetCollection2Default) IsSuccess() bool
IsSuccess returns true when this rest col service get collection2 default response has a 2xx status code
func (*RestColServiceGetCollection2Default) String ¶
func (o *RestColServiceGetCollection2Default) String() 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 ¶
func (o *RestColServiceGetCollection2OK) Code() int
Code gets the status code for the rest col service get collection2 o k response
func (*RestColServiceGetCollection2OK) Error ¶
func (o *RestColServiceGetCollection2OK) Error() string
func (*RestColServiceGetCollection2OK) GetPayload ¶
func (o *RestColServiceGetCollection2OK) GetPayload() *models.APIGetCollectionResponse
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 ¶
func (o *RestColServiceGetCollection2OK) String() 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 ¶
func (o *RestColServiceGetCollection2Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceGetCollection2Params) WithCollectionID(collectionID string) *RestColServiceGetCollection2Params
WithCollectionID adds the collectionID to the rest col service get collection2 params
func (*RestColServiceGetCollection2Params) WithContext ¶
func (o *RestColServiceGetCollection2Params) WithContext(ctx context.Context) *RestColServiceGetCollection2Params
WithContext adds the context to the rest col service get collection2 params
func (*RestColServiceGetCollection2Params) WithDefaults ¶
func (o *RestColServiceGetCollection2Params) WithDefaults() *RestColServiceGetCollection2Params
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 ¶
func (o *RestColServiceGetCollection2Params) WithHTTPClient(client *http.Client) *RestColServiceGetCollection2Params
WithHTTPClient adds the HTTPClient to the rest col service get collection2 params
func (*RestColServiceGetCollection2Params) WithProjectID ¶
func (o *RestColServiceGetCollection2Params) WithProjectID(projectID string) *RestColServiceGetCollection2Params
WithProjectID adds the projectID to the rest col service get collection2 params
func (*RestColServiceGetCollection2Params) WithTimeout ¶
func (o *RestColServiceGetCollection2Params) WithTimeout(timeout time.Duration) *RestColServiceGetCollection2Params
WithTimeout adds the timeout to the rest col service get collection2 params
func (*RestColServiceGetCollection2Params) WriteToRequest ¶
func (o *RestColServiceGetCollection2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 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 ¶
func (o *RestColServiceListCollections2Default) Code() int
Code gets the status code for the rest col service list collections2 default response
func (*RestColServiceListCollections2Default) Error ¶
func (o *RestColServiceListCollections2Default) Error() string
func (*RestColServiceListCollections2Default) GetPayload ¶
func (o *RestColServiceListCollections2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceListCollections2Default) IsCode(code int) bool
IsCode returns true when this rest col service list collections2 default response a status code equal to that given
func (*RestColServiceListCollections2Default) IsRedirect ¶
func (o *RestColServiceListCollections2Default) IsRedirect() bool
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 ¶
func (o *RestColServiceListCollections2Default) IsSuccess() bool
IsSuccess returns true when this rest col service list collections2 default response has a 2xx status code
func (*RestColServiceListCollections2Default) String ¶
func (o *RestColServiceListCollections2Default) String() 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 ¶
func (o *RestColServiceListCollections2OK) Code() int
Code gets the status code for the rest col service list collections2 o k response
func (*RestColServiceListCollections2OK) Error ¶
func (o *RestColServiceListCollections2OK) Error() string
func (*RestColServiceListCollections2OK) GetPayload ¶
func (o *RestColServiceListCollections2OK) GetPayload() models.APIListCollectionsResponse
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 ¶
func (o *RestColServiceListCollections2OK) String() 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 ¶
func (o *RestColServiceListCollections2Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceListCollections2Params) WithContext(ctx context.Context) *RestColServiceListCollections2Params
WithContext adds the context to the rest col service list collections2 params
func (*RestColServiceListCollections2Params) WithDefaults ¶
func (o *RestColServiceListCollections2Params) WithDefaults() *RestColServiceListCollections2Params
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 ¶
func (o *RestColServiceListCollections2Params) WithHTTPClient(client *http.Client) *RestColServiceListCollections2Params
WithHTTPClient adds the HTTPClient to the rest col service list collections2 params
func (*RestColServiceListCollections2Params) WithProjectID ¶
func (o *RestColServiceListCollections2Params) WithProjectID(projectID string) *RestColServiceListCollections2Params
WithProjectID adds the projectID to the rest col service list collections2 params
func (*RestColServiceListCollections2Params) WithTimeout ¶
func (o *RestColServiceListCollections2Params) WithTimeout(timeout time.Duration) *RestColServiceListCollections2Params
WithTimeout adds the timeout to the rest col service list collections2 params
func (*RestColServiceListCollections2Params) WriteToRequest ¶
func (o *RestColServiceListCollections2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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_collection2_parameters.go
- rest_col_service_create_collection2_responses.go
- rest_col_service_create_collection_parameters.go
- rest_col_service_create_collection_responses.go
- rest_col_service_delete_collection2_parameters.go
- rest_col_service_delete_collection2_responses.go
- rest_col_service_delete_collection_parameters.go
- rest_col_service_delete_collection_responses.go
- rest_col_service_get_collection2_parameters.go
- rest_col_service_get_collection2_responses.go
- rest_col_service_get_collection_parameters.go
- rest_col_service_get_collection_responses.go
- rest_col_service_list_collections2_parameters.go
- rest_col_service_list_collections2_responses.go
- rest_col_service_list_collections_parameters.go
- rest_col_service_list_collections_responses.go