Documentation ¶
Index ¶
- type Client
- func (a *Client) RestColServiceGetSwaggerDoc(params *RestColServiceGetSwaggerDocParams, ...) (*RestColServiceGetSwaggerDocOK, error)
- func (a *Client) RestColServiceGetSwaggerDoc2(params *RestColServiceGetSwaggerDoc2Params, ...) (*RestColServiceGetSwaggerDoc2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RestColServiceGetSwaggerDoc2Default
- func (o *RestColServiceGetSwaggerDoc2Default) Code() int
- func (o *RestColServiceGetSwaggerDoc2Default) Error() string
- func (o *RestColServiceGetSwaggerDoc2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceGetSwaggerDoc2Default) IsClientError() bool
- func (o *RestColServiceGetSwaggerDoc2Default) IsCode(code int) bool
- func (o *RestColServiceGetSwaggerDoc2Default) IsRedirect() bool
- func (o *RestColServiceGetSwaggerDoc2Default) IsServerError() bool
- func (o *RestColServiceGetSwaggerDoc2Default) IsSuccess() bool
- func (o *RestColServiceGetSwaggerDoc2Default) String() string
- type RestColServiceGetSwaggerDoc2OK
- func (o *RestColServiceGetSwaggerDoc2OK) Code() int
- func (o *RestColServiceGetSwaggerDoc2OK) Error() string
- func (o *RestColServiceGetSwaggerDoc2OK) GetPayload() *models.APIHTTPBody
- func (o *RestColServiceGetSwaggerDoc2OK) IsClientError() bool
- func (o *RestColServiceGetSwaggerDoc2OK) IsCode(code int) bool
- func (o *RestColServiceGetSwaggerDoc2OK) IsRedirect() bool
- func (o *RestColServiceGetSwaggerDoc2OK) IsServerError() bool
- func (o *RestColServiceGetSwaggerDoc2OK) IsSuccess() bool
- func (o *RestColServiceGetSwaggerDoc2OK) String() string
- type RestColServiceGetSwaggerDoc2Params
- func NewRestColServiceGetSwaggerDoc2Params() *RestColServiceGetSwaggerDoc2Params
- func NewRestColServiceGetSwaggerDoc2ParamsWithContext(ctx context.Context) *RestColServiceGetSwaggerDoc2Params
- func NewRestColServiceGetSwaggerDoc2ParamsWithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDoc2Params
- func NewRestColServiceGetSwaggerDoc2ParamsWithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDoc2Params
- func (o *RestColServiceGetSwaggerDoc2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceGetSwaggerDoc2Params) SetContext(ctx context.Context)
- func (o *RestColServiceGetSwaggerDoc2Params) SetDefaults()
- func (o *RestColServiceGetSwaggerDoc2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceGetSwaggerDoc2Params) SetProjectID(projectID string)
- func (o *RestColServiceGetSwaggerDoc2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceGetSwaggerDoc2Params) WithCollectionID(collectionID string) *RestColServiceGetSwaggerDoc2Params
- func (o *RestColServiceGetSwaggerDoc2Params) WithContext(ctx context.Context) *RestColServiceGetSwaggerDoc2Params
- func (o *RestColServiceGetSwaggerDoc2Params) WithDefaults() *RestColServiceGetSwaggerDoc2Params
- func (o *RestColServiceGetSwaggerDoc2Params) WithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDoc2Params
- func (o *RestColServiceGetSwaggerDoc2Params) WithProjectID(projectID string) *RestColServiceGetSwaggerDoc2Params
- func (o *RestColServiceGetSwaggerDoc2Params) WithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDoc2Params
- func (o *RestColServiceGetSwaggerDoc2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceGetSwaggerDoc2Reader
- type RestColServiceGetSwaggerDocDefault
- func (o *RestColServiceGetSwaggerDocDefault) Code() int
- func (o *RestColServiceGetSwaggerDocDefault) Error() string
- func (o *RestColServiceGetSwaggerDocDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceGetSwaggerDocDefault) IsClientError() bool
- func (o *RestColServiceGetSwaggerDocDefault) IsCode(code int) bool
- func (o *RestColServiceGetSwaggerDocDefault) IsRedirect() bool
- func (o *RestColServiceGetSwaggerDocDefault) IsServerError() bool
- func (o *RestColServiceGetSwaggerDocDefault) IsSuccess() bool
- func (o *RestColServiceGetSwaggerDocDefault) String() string
- type RestColServiceGetSwaggerDocOK
- func (o *RestColServiceGetSwaggerDocOK) Code() int
- func (o *RestColServiceGetSwaggerDocOK) Error() string
- func (o *RestColServiceGetSwaggerDocOK) GetPayload() *models.APIHTTPBody
- func (o *RestColServiceGetSwaggerDocOK) IsClientError() bool
- func (o *RestColServiceGetSwaggerDocOK) IsCode(code int) bool
- func (o *RestColServiceGetSwaggerDocOK) IsRedirect() bool
- func (o *RestColServiceGetSwaggerDocOK) IsServerError() bool
- func (o *RestColServiceGetSwaggerDocOK) IsSuccess() bool
- func (o *RestColServiceGetSwaggerDocOK) String() string
- type RestColServiceGetSwaggerDocParams
- func NewRestColServiceGetSwaggerDocParams() *RestColServiceGetSwaggerDocParams
- func NewRestColServiceGetSwaggerDocParamsWithContext(ctx context.Context) *RestColServiceGetSwaggerDocParams
- func NewRestColServiceGetSwaggerDocParamsWithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDocParams
- func NewRestColServiceGetSwaggerDocParamsWithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDocParams
- func (o *RestColServiceGetSwaggerDocParams) SetCollectionID(collectionID *string)
- func (o *RestColServiceGetSwaggerDocParams) SetContext(ctx context.Context)
- func (o *RestColServiceGetSwaggerDocParams) SetDefaults()
- func (o *RestColServiceGetSwaggerDocParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceGetSwaggerDocParams) SetProjectID(projectID string)
- func (o *RestColServiceGetSwaggerDocParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceGetSwaggerDocParams) WithCollectionID(collectionID *string) *RestColServiceGetSwaggerDocParams
- func (o *RestColServiceGetSwaggerDocParams) WithContext(ctx context.Context) *RestColServiceGetSwaggerDocParams
- func (o *RestColServiceGetSwaggerDocParams) WithDefaults() *RestColServiceGetSwaggerDocParams
- func (o *RestColServiceGetSwaggerDocParams) WithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDocParams
- func (o *RestColServiceGetSwaggerDocParams) WithProjectID(projectID string) *RestColServiceGetSwaggerDocParams
- func (o *RestColServiceGetSwaggerDocParams) WithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDocParams
- func (o *RestColServiceGetSwaggerDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceGetSwaggerDocReader
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 swagger API
func (*Client) RestColServiceGetSwaggerDoc ¶
func (a *Client) RestColServiceGetSwaggerDoc(params *RestColServiceGetSwaggerDocParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetSwaggerDocOK, error)
RestColServiceGetSwaggerDoc returns API doc in swagger
func (*Client) RestColServiceGetSwaggerDoc2 ¶
func (a *Client) RestColServiceGetSwaggerDoc2(params *RestColServiceGetSwaggerDoc2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetSwaggerDoc2OK, error)
RestColServiceGetSwaggerDoc2 returns API doc in swagger
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 { RestColServiceGetSwaggerDoc(params *RestColServiceGetSwaggerDocParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetSwaggerDocOK, error) RestColServiceGetSwaggerDoc2(params *RestColServiceGetSwaggerDoc2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetSwaggerDoc2OK, 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 swagger API client.
type RestColServiceGetSwaggerDoc2Default ¶
type RestColServiceGetSwaggerDoc2Default struct { Payload *models.RPCStatus // contains filtered or unexported fields }
RestColServiceGetSwaggerDoc2Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewRestColServiceGetSwaggerDoc2Default ¶
func NewRestColServiceGetSwaggerDoc2Default(code int) *RestColServiceGetSwaggerDoc2Default
NewRestColServiceGetSwaggerDoc2Default creates a RestColServiceGetSwaggerDoc2Default with default headers values
func (*RestColServiceGetSwaggerDoc2Default) Code ¶
func (o *RestColServiceGetSwaggerDoc2Default) Code() int
Code gets the status code for the rest col service get swagger doc2 default response
func (*RestColServiceGetSwaggerDoc2Default) Error ¶
func (o *RestColServiceGetSwaggerDoc2Default) Error() string
func (*RestColServiceGetSwaggerDoc2Default) GetPayload ¶
func (o *RestColServiceGetSwaggerDoc2Default) GetPayload() *models.RPCStatus
func (*RestColServiceGetSwaggerDoc2Default) IsClientError ¶
func (o *RestColServiceGetSwaggerDoc2Default) IsClientError() bool
IsClientError returns true when this rest col service get swagger doc2 default response has a 4xx status code
func (*RestColServiceGetSwaggerDoc2Default) IsCode ¶
func (o *RestColServiceGetSwaggerDoc2Default) IsCode(code int) bool
IsCode returns true when this rest col service get swagger doc2 default response a status code equal to that given
func (*RestColServiceGetSwaggerDoc2Default) IsRedirect ¶
func (o *RestColServiceGetSwaggerDoc2Default) IsRedirect() bool
IsRedirect returns true when this rest col service get swagger doc2 default response has a 3xx status code
func (*RestColServiceGetSwaggerDoc2Default) IsServerError ¶
func (o *RestColServiceGetSwaggerDoc2Default) IsServerError() bool
IsServerError returns true when this rest col service get swagger doc2 default response has a 5xx status code
func (*RestColServiceGetSwaggerDoc2Default) IsSuccess ¶
func (o *RestColServiceGetSwaggerDoc2Default) IsSuccess() bool
IsSuccess returns true when this rest col service get swagger doc2 default response has a 2xx status code
func (*RestColServiceGetSwaggerDoc2Default) String ¶
func (o *RestColServiceGetSwaggerDoc2Default) String() string
type RestColServiceGetSwaggerDoc2OK ¶
type RestColServiceGetSwaggerDoc2OK struct {
Payload *models.APIHTTPBody
}
RestColServiceGetSwaggerDoc2OK describes a response with status code 200, with default header values.
A successful response.
func NewRestColServiceGetSwaggerDoc2OK ¶
func NewRestColServiceGetSwaggerDoc2OK() *RestColServiceGetSwaggerDoc2OK
NewRestColServiceGetSwaggerDoc2OK creates a RestColServiceGetSwaggerDoc2OK with default headers values
func (*RestColServiceGetSwaggerDoc2OK) Code ¶
func (o *RestColServiceGetSwaggerDoc2OK) Code() int
Code gets the status code for the rest col service get swagger doc2 o k response
func (*RestColServiceGetSwaggerDoc2OK) Error ¶
func (o *RestColServiceGetSwaggerDoc2OK) Error() string
func (*RestColServiceGetSwaggerDoc2OK) GetPayload ¶
func (o *RestColServiceGetSwaggerDoc2OK) GetPayload() *models.APIHTTPBody
func (*RestColServiceGetSwaggerDoc2OK) IsClientError ¶
func (o *RestColServiceGetSwaggerDoc2OK) IsClientError() bool
IsClientError returns true when this rest col service get swagger doc2 o k response has a 4xx status code
func (*RestColServiceGetSwaggerDoc2OK) IsCode ¶
func (o *RestColServiceGetSwaggerDoc2OK) IsCode(code int) bool
IsCode returns true when this rest col service get swagger doc2 o k response a status code equal to that given
func (*RestColServiceGetSwaggerDoc2OK) IsRedirect ¶
func (o *RestColServiceGetSwaggerDoc2OK) IsRedirect() bool
IsRedirect returns true when this rest col service get swagger doc2 o k response has a 3xx status code
func (*RestColServiceGetSwaggerDoc2OK) IsServerError ¶
func (o *RestColServiceGetSwaggerDoc2OK) IsServerError() bool
IsServerError returns true when this rest col service get swagger doc2 o k response has a 5xx status code
func (*RestColServiceGetSwaggerDoc2OK) IsSuccess ¶
func (o *RestColServiceGetSwaggerDoc2OK) IsSuccess() bool
IsSuccess returns true when this rest col service get swagger doc2 o k response has a 2xx status code
func (*RestColServiceGetSwaggerDoc2OK) String ¶
func (o *RestColServiceGetSwaggerDoc2OK) String() string
type RestColServiceGetSwaggerDoc2Params ¶
type RestColServiceGetSwaggerDoc2Params struct { // CollectionID. CollectionID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestColServiceGetSwaggerDoc2Params contains all the parameters to send to the API endpoint
for the rest col service get swagger doc2 operation. Typically these are written to a http.Request.
func NewRestColServiceGetSwaggerDoc2Params ¶
func NewRestColServiceGetSwaggerDoc2Params() *RestColServiceGetSwaggerDoc2Params
NewRestColServiceGetSwaggerDoc2Params creates a new RestColServiceGetSwaggerDoc2Params 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 NewRestColServiceGetSwaggerDoc2ParamsWithContext ¶
func NewRestColServiceGetSwaggerDoc2ParamsWithContext(ctx context.Context) *RestColServiceGetSwaggerDoc2Params
NewRestColServiceGetSwaggerDoc2ParamsWithContext creates a new RestColServiceGetSwaggerDoc2Params object with the ability to set a context for a request.
func NewRestColServiceGetSwaggerDoc2ParamsWithHTTPClient ¶
func NewRestColServiceGetSwaggerDoc2ParamsWithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDoc2Params
NewRestColServiceGetSwaggerDoc2ParamsWithHTTPClient creates a new RestColServiceGetSwaggerDoc2Params object with the ability to set a custom HTTPClient for a request.
func NewRestColServiceGetSwaggerDoc2ParamsWithTimeout ¶
func NewRestColServiceGetSwaggerDoc2ParamsWithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDoc2Params
NewRestColServiceGetSwaggerDoc2ParamsWithTimeout creates a new RestColServiceGetSwaggerDoc2Params object with the ability to set a timeout on a request.
func (*RestColServiceGetSwaggerDoc2Params) SetCollectionID ¶
func (o *RestColServiceGetSwaggerDoc2Params) SetCollectionID(collectionID string)
SetCollectionID adds the collectionId to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) SetContext ¶
func (o *RestColServiceGetSwaggerDoc2Params) SetContext(ctx context.Context)
SetContext adds the context to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) SetDefaults ¶
func (o *RestColServiceGetSwaggerDoc2Params) SetDefaults()
SetDefaults hydrates default values in the rest col service get swagger doc2 params (not the query body).
All values with no default are reset to their zero value.
func (*RestColServiceGetSwaggerDoc2Params) SetHTTPClient ¶
func (o *RestColServiceGetSwaggerDoc2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) SetProjectID ¶
func (o *RestColServiceGetSwaggerDoc2Params) SetProjectID(projectID string)
SetProjectID adds the projectId to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) SetTimeout ¶
func (o *RestColServiceGetSwaggerDoc2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) WithCollectionID ¶
func (o *RestColServiceGetSwaggerDoc2Params) WithCollectionID(collectionID string) *RestColServiceGetSwaggerDoc2Params
WithCollectionID adds the collectionID to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) WithContext ¶
func (o *RestColServiceGetSwaggerDoc2Params) WithContext(ctx context.Context) *RestColServiceGetSwaggerDoc2Params
WithContext adds the context to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) WithDefaults ¶
func (o *RestColServiceGetSwaggerDoc2Params) WithDefaults() *RestColServiceGetSwaggerDoc2Params
WithDefaults hydrates default values in the rest col service get swagger doc2 params (not the query body).
All values with no default are reset to their zero value.
func (*RestColServiceGetSwaggerDoc2Params) WithHTTPClient ¶
func (o *RestColServiceGetSwaggerDoc2Params) WithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDoc2Params
WithHTTPClient adds the HTTPClient to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) WithProjectID ¶
func (o *RestColServiceGetSwaggerDoc2Params) WithProjectID(projectID string) *RestColServiceGetSwaggerDoc2Params
WithProjectID adds the projectID to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) WithTimeout ¶
func (o *RestColServiceGetSwaggerDoc2Params) WithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDoc2Params
WithTimeout adds the timeout to the rest col service get swagger doc2 params
func (*RestColServiceGetSwaggerDoc2Params) WriteToRequest ¶
func (o *RestColServiceGetSwaggerDoc2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestColServiceGetSwaggerDoc2Reader ¶
type RestColServiceGetSwaggerDoc2Reader struct {
// contains filtered or unexported fields
}
RestColServiceGetSwaggerDoc2Reader is a Reader for the RestColServiceGetSwaggerDoc2 structure.
func (*RestColServiceGetSwaggerDoc2Reader) ReadResponse ¶
func (o *RestColServiceGetSwaggerDoc2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestColServiceGetSwaggerDocDefault ¶
type RestColServiceGetSwaggerDocDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
RestColServiceGetSwaggerDocDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewRestColServiceGetSwaggerDocDefault ¶
func NewRestColServiceGetSwaggerDocDefault(code int) *RestColServiceGetSwaggerDocDefault
NewRestColServiceGetSwaggerDocDefault creates a RestColServiceGetSwaggerDocDefault with default headers values
func (*RestColServiceGetSwaggerDocDefault) Code ¶
func (o *RestColServiceGetSwaggerDocDefault) Code() int
Code gets the status code for the rest col service get swagger doc default response
func (*RestColServiceGetSwaggerDocDefault) Error ¶
func (o *RestColServiceGetSwaggerDocDefault) Error() string
func (*RestColServiceGetSwaggerDocDefault) GetPayload ¶
func (o *RestColServiceGetSwaggerDocDefault) GetPayload() *models.RPCStatus
func (*RestColServiceGetSwaggerDocDefault) IsClientError ¶
func (o *RestColServiceGetSwaggerDocDefault) IsClientError() bool
IsClientError returns true when this rest col service get swagger doc default response has a 4xx status code
func (*RestColServiceGetSwaggerDocDefault) IsCode ¶
func (o *RestColServiceGetSwaggerDocDefault) IsCode(code int) bool
IsCode returns true when this rest col service get swagger doc default response a status code equal to that given
func (*RestColServiceGetSwaggerDocDefault) IsRedirect ¶
func (o *RestColServiceGetSwaggerDocDefault) IsRedirect() bool
IsRedirect returns true when this rest col service get swagger doc default response has a 3xx status code
func (*RestColServiceGetSwaggerDocDefault) IsServerError ¶
func (o *RestColServiceGetSwaggerDocDefault) IsServerError() bool
IsServerError returns true when this rest col service get swagger doc default response has a 5xx status code
func (*RestColServiceGetSwaggerDocDefault) IsSuccess ¶
func (o *RestColServiceGetSwaggerDocDefault) IsSuccess() bool
IsSuccess returns true when this rest col service get swagger doc default response has a 2xx status code
func (*RestColServiceGetSwaggerDocDefault) String ¶
func (o *RestColServiceGetSwaggerDocDefault) String() string
type RestColServiceGetSwaggerDocOK ¶
type RestColServiceGetSwaggerDocOK struct {
Payload *models.APIHTTPBody
}
RestColServiceGetSwaggerDocOK describes a response with status code 200, with default header values.
A successful response.
func NewRestColServiceGetSwaggerDocOK ¶
func NewRestColServiceGetSwaggerDocOK() *RestColServiceGetSwaggerDocOK
NewRestColServiceGetSwaggerDocOK creates a RestColServiceGetSwaggerDocOK with default headers values
func (*RestColServiceGetSwaggerDocOK) Code ¶
func (o *RestColServiceGetSwaggerDocOK) Code() int
Code gets the status code for the rest col service get swagger doc o k response
func (*RestColServiceGetSwaggerDocOK) Error ¶
func (o *RestColServiceGetSwaggerDocOK) Error() string
func (*RestColServiceGetSwaggerDocOK) GetPayload ¶
func (o *RestColServiceGetSwaggerDocOK) GetPayload() *models.APIHTTPBody
func (*RestColServiceGetSwaggerDocOK) IsClientError ¶
func (o *RestColServiceGetSwaggerDocOK) IsClientError() bool
IsClientError returns true when this rest col service get swagger doc o k response has a 4xx status code
func (*RestColServiceGetSwaggerDocOK) IsCode ¶
func (o *RestColServiceGetSwaggerDocOK) IsCode(code int) bool
IsCode returns true when this rest col service get swagger doc o k response a status code equal to that given
func (*RestColServiceGetSwaggerDocOK) IsRedirect ¶
func (o *RestColServiceGetSwaggerDocOK) IsRedirect() bool
IsRedirect returns true when this rest col service get swagger doc o k response has a 3xx status code
func (*RestColServiceGetSwaggerDocOK) IsServerError ¶
func (o *RestColServiceGetSwaggerDocOK) IsServerError() bool
IsServerError returns true when this rest col service get swagger doc o k response has a 5xx status code
func (*RestColServiceGetSwaggerDocOK) IsSuccess ¶
func (o *RestColServiceGetSwaggerDocOK) IsSuccess() bool
IsSuccess returns true when this rest col service get swagger doc o k response has a 2xx status code
func (*RestColServiceGetSwaggerDocOK) String ¶
func (o *RestColServiceGetSwaggerDocOK) String() string
type RestColServiceGetSwaggerDocParams ¶
type RestColServiceGetSwaggerDocParams struct { // CollectionID. CollectionID *string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestColServiceGetSwaggerDocParams contains all the parameters to send to the API endpoint
for the rest col service get swagger doc operation. Typically these are written to a http.Request.
func NewRestColServiceGetSwaggerDocParams ¶
func NewRestColServiceGetSwaggerDocParams() *RestColServiceGetSwaggerDocParams
NewRestColServiceGetSwaggerDocParams creates a new RestColServiceGetSwaggerDocParams 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 NewRestColServiceGetSwaggerDocParamsWithContext ¶
func NewRestColServiceGetSwaggerDocParamsWithContext(ctx context.Context) *RestColServiceGetSwaggerDocParams
NewRestColServiceGetSwaggerDocParamsWithContext creates a new RestColServiceGetSwaggerDocParams object with the ability to set a context for a request.
func NewRestColServiceGetSwaggerDocParamsWithHTTPClient ¶
func NewRestColServiceGetSwaggerDocParamsWithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDocParams
NewRestColServiceGetSwaggerDocParamsWithHTTPClient creates a new RestColServiceGetSwaggerDocParams object with the ability to set a custom HTTPClient for a request.
func NewRestColServiceGetSwaggerDocParamsWithTimeout ¶
func NewRestColServiceGetSwaggerDocParamsWithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDocParams
NewRestColServiceGetSwaggerDocParamsWithTimeout creates a new RestColServiceGetSwaggerDocParams object with the ability to set a timeout on a request.
func (*RestColServiceGetSwaggerDocParams) SetCollectionID ¶
func (o *RestColServiceGetSwaggerDocParams) SetCollectionID(collectionID *string)
SetCollectionID adds the collectionId to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) SetContext ¶
func (o *RestColServiceGetSwaggerDocParams) SetContext(ctx context.Context)
SetContext adds the context to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) SetDefaults ¶
func (o *RestColServiceGetSwaggerDocParams) SetDefaults()
SetDefaults hydrates default values in the rest col service get swagger doc params (not the query body).
All values with no default are reset to their zero value.
func (*RestColServiceGetSwaggerDocParams) SetHTTPClient ¶
func (o *RestColServiceGetSwaggerDocParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) SetProjectID ¶
func (o *RestColServiceGetSwaggerDocParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) SetTimeout ¶
func (o *RestColServiceGetSwaggerDocParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) WithCollectionID ¶
func (o *RestColServiceGetSwaggerDocParams) WithCollectionID(collectionID *string) *RestColServiceGetSwaggerDocParams
WithCollectionID adds the collectionID to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) WithContext ¶
func (o *RestColServiceGetSwaggerDocParams) WithContext(ctx context.Context) *RestColServiceGetSwaggerDocParams
WithContext adds the context to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) WithDefaults ¶
func (o *RestColServiceGetSwaggerDocParams) WithDefaults() *RestColServiceGetSwaggerDocParams
WithDefaults hydrates default values in the rest col service get swagger doc params (not the query body).
All values with no default are reset to their zero value.
func (*RestColServiceGetSwaggerDocParams) WithHTTPClient ¶
func (o *RestColServiceGetSwaggerDocParams) WithHTTPClient(client *http.Client) *RestColServiceGetSwaggerDocParams
WithHTTPClient adds the HTTPClient to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) WithProjectID ¶
func (o *RestColServiceGetSwaggerDocParams) WithProjectID(projectID string) *RestColServiceGetSwaggerDocParams
WithProjectID adds the projectID to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) WithTimeout ¶
func (o *RestColServiceGetSwaggerDocParams) WithTimeout(timeout time.Duration) *RestColServiceGetSwaggerDocParams
WithTimeout adds the timeout to the rest col service get swagger doc params
func (*RestColServiceGetSwaggerDocParams) WriteToRequest ¶
func (o *RestColServiceGetSwaggerDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestColServiceGetSwaggerDocReader ¶
type RestColServiceGetSwaggerDocReader struct {
// contains filtered or unexported fields
}
RestColServiceGetSwaggerDocReader is a Reader for the RestColServiceGetSwaggerDoc structure.
func (*RestColServiceGetSwaggerDocReader) ReadResponse ¶
func (o *RestColServiceGetSwaggerDocReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.