Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDataCollector(params *CreateDataCollectorParams, opts ...ClientOption) (*CreateDataCollectorCreated, error)
- func (a *Client) DeleteDataCollector(params *DeleteDataCollectorParams, opts ...ClientOption) (*DeleteDataCollectorNoContent, error)
- func (a *Client) GetDataCollector(params *GetDataCollectorParams, opts ...ClientOption) (*GetDataCollectorOK, error)
- func (a *Client) GetDataCollectors(params *GetDataCollectorsParams, opts ...ClientOption) (*GetDataCollectorsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDataCollectorBadRequest
- func (o *CreateDataCollectorBadRequest) Error() string
- func (o *CreateDataCollectorBadRequest) GetPayload() *models.Error
- func (o *CreateDataCollectorBadRequest) IsClientError() bool
- func (o *CreateDataCollectorBadRequest) IsCode(code int) bool
- func (o *CreateDataCollectorBadRequest) IsRedirect() bool
- func (o *CreateDataCollectorBadRequest) IsServerError() bool
- func (o *CreateDataCollectorBadRequest) IsSuccess() bool
- func (o *CreateDataCollectorBadRequest) String() string
- type CreateDataCollectorCreated
- func (o *CreateDataCollectorCreated) Error() string
- func (o *CreateDataCollectorCreated) GetPayload() *models.DataCollectorRegistration
- func (o *CreateDataCollectorCreated) IsClientError() bool
- func (o *CreateDataCollectorCreated) IsCode(code int) bool
- func (o *CreateDataCollectorCreated) IsRedirect() bool
- func (o *CreateDataCollectorCreated) IsServerError() bool
- func (o *CreateDataCollectorCreated) IsSuccess() bool
- func (o *CreateDataCollectorCreated) String() string
- type CreateDataCollectorForbidden
- func (o *CreateDataCollectorForbidden) Error() string
- func (o *CreateDataCollectorForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *CreateDataCollectorForbidden) IsClientError() bool
- func (o *CreateDataCollectorForbidden) IsCode(code int) bool
- func (o *CreateDataCollectorForbidden) IsRedirect() bool
- func (o *CreateDataCollectorForbidden) IsServerError() bool
- func (o *CreateDataCollectorForbidden) IsSuccess() bool
- func (o *CreateDataCollectorForbidden) String() string
- type CreateDataCollectorParams
- func NewCreateDataCollectorParams() *CreateDataCollectorParams
- func NewCreateDataCollectorParamsWithContext(ctx context.Context) *CreateDataCollectorParams
- func NewCreateDataCollectorParamsWithHTTPClient(client *http.Client) *CreateDataCollectorParams
- func NewCreateDataCollectorParamsWithTimeout(timeout time.Duration) *CreateDataCollectorParams
- func (o *CreateDataCollectorParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateDataCollectorParams) SetContext(ctx context.Context)
- func (o *CreateDataCollectorParams) SetDefaults()
- func (o *CreateDataCollectorParams) SetHTTPClient(client *http.Client)
- func (o *CreateDataCollectorParams) SetTimeout(timeout time.Duration)
- func (o *CreateDataCollectorParams) WithAPIVersion(aPIVersion *string) *CreateDataCollectorParams
- func (o *CreateDataCollectorParams) WithContext(ctx context.Context) *CreateDataCollectorParams
- func (o *CreateDataCollectorParams) WithDefaults() *CreateDataCollectorParams
- func (o *CreateDataCollectorParams) WithHTTPClient(client *http.Client) *CreateDataCollectorParams
- func (o *CreateDataCollectorParams) WithTimeout(timeout time.Duration) *CreateDataCollectorParams
- func (o *CreateDataCollectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDataCollectorReader
- type DeleteDataCollectorForbidden
- func (o *DeleteDataCollectorForbidden) Error() string
- func (o *DeleteDataCollectorForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *DeleteDataCollectorForbidden) IsClientError() bool
- func (o *DeleteDataCollectorForbidden) IsCode(code int) bool
- func (o *DeleteDataCollectorForbidden) IsRedirect() bool
- func (o *DeleteDataCollectorForbidden) IsServerError() bool
- func (o *DeleteDataCollectorForbidden) IsSuccess() bool
- func (o *DeleteDataCollectorForbidden) String() string
- type DeleteDataCollectorNoContent
- func (o *DeleteDataCollectorNoContent) Error() string
- func (o *DeleteDataCollectorNoContent) IsClientError() bool
- func (o *DeleteDataCollectorNoContent) IsCode(code int) bool
- func (o *DeleteDataCollectorNoContent) IsRedirect() bool
- func (o *DeleteDataCollectorNoContent) IsServerError() bool
- func (o *DeleteDataCollectorNoContent) IsSuccess() bool
- func (o *DeleteDataCollectorNoContent) String() string
- type DeleteDataCollectorParams
- func NewDeleteDataCollectorParams() *DeleteDataCollectorParams
- func NewDeleteDataCollectorParamsWithContext(ctx context.Context) *DeleteDataCollectorParams
- func NewDeleteDataCollectorParamsWithHTTPClient(client *http.Client) *DeleteDataCollectorParams
- func NewDeleteDataCollectorParamsWithTimeout(timeout time.Duration) *DeleteDataCollectorParams
- func (o *DeleteDataCollectorParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteDataCollectorParams) SetContext(ctx context.Context)
- func (o *DeleteDataCollectorParams) SetDefaults()
- func (o *DeleteDataCollectorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDataCollectorParams) SetID(id string)
- func (o *DeleteDataCollectorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDataCollectorParams) WithAPIVersion(aPIVersion *string) *DeleteDataCollectorParams
- func (o *DeleteDataCollectorParams) WithContext(ctx context.Context) *DeleteDataCollectorParams
- func (o *DeleteDataCollectorParams) WithDefaults() *DeleteDataCollectorParams
- func (o *DeleteDataCollectorParams) WithHTTPClient(client *http.Client) *DeleteDataCollectorParams
- func (o *DeleteDataCollectorParams) WithID(id string) *DeleteDataCollectorParams
- func (o *DeleteDataCollectorParams) WithTimeout(timeout time.Duration) *DeleteDataCollectorParams
- func (o *DeleteDataCollectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDataCollectorReader
- type GetDataCollectorForbidden
- func (o *GetDataCollectorForbidden) Error() string
- func (o *GetDataCollectorForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetDataCollectorForbidden) IsClientError() bool
- func (o *GetDataCollectorForbidden) IsCode(code int) bool
- func (o *GetDataCollectorForbidden) IsRedirect() bool
- func (o *GetDataCollectorForbidden) IsServerError() bool
- func (o *GetDataCollectorForbidden) IsSuccess() bool
- func (o *GetDataCollectorForbidden) String() string
- type GetDataCollectorNotFound
- func (o *GetDataCollectorNotFound) Error() string
- func (o *GetDataCollectorNotFound) GetPayload() *models.Error
- func (o *GetDataCollectorNotFound) IsClientError() bool
- func (o *GetDataCollectorNotFound) IsCode(code int) bool
- func (o *GetDataCollectorNotFound) IsRedirect() bool
- func (o *GetDataCollectorNotFound) IsServerError() bool
- func (o *GetDataCollectorNotFound) IsSuccess() bool
- func (o *GetDataCollectorNotFound) String() string
- type GetDataCollectorOK
- func (o *GetDataCollectorOK) Error() string
- func (o *GetDataCollectorOK) GetPayload() *models.DataCollector
- func (o *GetDataCollectorOK) IsClientError() bool
- func (o *GetDataCollectorOK) IsCode(code int) bool
- func (o *GetDataCollectorOK) IsRedirect() bool
- func (o *GetDataCollectorOK) IsServerError() bool
- func (o *GetDataCollectorOK) IsSuccess() bool
- func (o *GetDataCollectorOK) String() string
- type GetDataCollectorParams
- func NewGetDataCollectorParams() *GetDataCollectorParams
- func NewGetDataCollectorParamsWithContext(ctx context.Context) *GetDataCollectorParams
- func NewGetDataCollectorParamsWithHTTPClient(client *http.Client) *GetDataCollectorParams
- func NewGetDataCollectorParamsWithTimeout(timeout time.Duration) *GetDataCollectorParams
- func (o *GetDataCollectorParams) SetAPIVersion(aPIVersion *string)
- func (o *GetDataCollectorParams) SetContext(ctx context.Context)
- func (o *GetDataCollectorParams) SetDefaults()
- func (o *GetDataCollectorParams) SetHTTPClient(client *http.Client)
- func (o *GetDataCollectorParams) SetID(id string)
- func (o *GetDataCollectorParams) SetTimeout(timeout time.Duration)
- func (o *GetDataCollectorParams) WithAPIVersion(aPIVersion *string) *GetDataCollectorParams
- func (o *GetDataCollectorParams) WithContext(ctx context.Context) *GetDataCollectorParams
- func (o *GetDataCollectorParams) WithDefaults() *GetDataCollectorParams
- func (o *GetDataCollectorParams) WithHTTPClient(client *http.Client) *GetDataCollectorParams
- func (o *GetDataCollectorParams) WithID(id string) *GetDataCollectorParams
- func (o *GetDataCollectorParams) WithTimeout(timeout time.Duration) *GetDataCollectorParams
- func (o *GetDataCollectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDataCollectorReader
- type GetDataCollectorsForbidden
- func (o *GetDataCollectorsForbidden) Error() string
- func (o *GetDataCollectorsForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetDataCollectorsForbidden) IsClientError() bool
- func (o *GetDataCollectorsForbidden) IsCode(code int) bool
- func (o *GetDataCollectorsForbidden) IsRedirect() bool
- func (o *GetDataCollectorsForbidden) IsServerError() bool
- func (o *GetDataCollectorsForbidden) IsSuccess() bool
- func (o *GetDataCollectorsForbidden) String() string
- type GetDataCollectorsOK
- func (o *GetDataCollectorsOK) Error() string
- func (o *GetDataCollectorsOK) GetPayload() *models.DataCollectorResult
- func (o *GetDataCollectorsOK) IsClientError() bool
- func (o *GetDataCollectorsOK) IsCode(code int) bool
- func (o *GetDataCollectorsOK) IsRedirect() bool
- func (o *GetDataCollectorsOK) IsServerError() bool
- func (o *GetDataCollectorsOK) IsSuccess() bool
- func (o *GetDataCollectorsOK) String() string
- type GetDataCollectorsParams
- func NewGetDataCollectorsParams() *GetDataCollectorsParams
- func NewGetDataCollectorsParamsWithContext(ctx context.Context) *GetDataCollectorsParams
- func NewGetDataCollectorsParamsWithHTTPClient(client *http.Client) *GetDataCollectorsParams
- func NewGetDataCollectorsParamsWithTimeout(timeout time.Duration) *GetDataCollectorsParams
- func (o *GetDataCollectorsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetDataCollectorsParams) SetContext(ctx context.Context)
- func (o *GetDataCollectorsParams) SetDefaults()
- func (o *GetDataCollectorsParams) SetDisabled(disabled *bool)
- func (o *GetDataCollectorsParams) SetHTTPClient(client *http.Client)
- func (o *GetDataCollectorsParams) SetTimeout(timeout time.Duration)
- func (o *GetDataCollectorsParams) WithAPIVersion(aPIVersion *string) *GetDataCollectorsParams
- func (o *GetDataCollectorsParams) WithContext(ctx context.Context) *GetDataCollectorsParams
- func (o *GetDataCollectorsParams) WithDefaults() *GetDataCollectorsParams
- func (o *GetDataCollectorsParams) WithDisabled(disabled *bool) *GetDataCollectorsParams
- func (o *GetDataCollectorsParams) WithHTTPClient(client *http.Client) *GetDataCollectorsParams
- func (o *GetDataCollectorsParams) WithTimeout(timeout time.Duration) *GetDataCollectorsParams
- func (o *GetDataCollectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDataCollectorsReader
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 data collector API
func (*Client) CreateDataCollector ¶
func (a *Client) CreateDataCollector(params *CreateDataCollectorParams, opts ...ClientOption) (*CreateDataCollectorCreated, error)
CreateDataCollector creates data collector Create a new Data Collector.
Note: Data collector endpoints are not available in vRA on-prem release.
func (*Client) DeleteDataCollector ¶
func (a *Client) DeleteDataCollector(params *DeleteDataCollectorParams, opts ...ClientOption) (*DeleteDataCollectorNoContent, error)
DeleteDataCollector deletes data collector Delete Data Collector with a given id.
Note: Data collector endpoints are not available in vRA on-prem release.
func (*Client) GetDataCollector ¶
func (a *Client) GetDataCollector(params *GetDataCollectorParams, opts ...ClientOption) (*GetDataCollectorOK, error)
GetDataCollector gets data collector Get Data Collector with a given id.
Note: Data collector endpoints are not available in vRA on-prem release.
func (*Client) GetDataCollectors ¶
func (a *Client) GetDataCollectors(params *GetDataCollectorsParams, opts ...ClientOption) (*GetDataCollectorsOK, error)
GetDataCollectors gets data collectors Get all Data Collectors.
Note: Data collector endpoints are not available in vRA on-prem release.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { CreateDataCollector(params *CreateDataCollectorParams, opts ...ClientOption) (*CreateDataCollectorCreated, error) DeleteDataCollector(params *DeleteDataCollectorParams, opts ...ClientOption) (*DeleteDataCollectorNoContent, error) GetDataCollector(params *GetDataCollectorParams, opts ...ClientOption) (*GetDataCollectorOK, error) GetDataCollectors(params *GetDataCollectorsParams, opts ...ClientOption) (*GetDataCollectorsOK, 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 data collector API client.
type CreateDataCollectorBadRequest ¶
CreateDataCollectorBadRequest describes a response with status code 400, with default header values.
Invalid Request - bad data
func NewCreateDataCollectorBadRequest ¶
func NewCreateDataCollectorBadRequest() *CreateDataCollectorBadRequest
NewCreateDataCollectorBadRequest creates a CreateDataCollectorBadRequest with default headers values
func (*CreateDataCollectorBadRequest) Error ¶
func (o *CreateDataCollectorBadRequest) Error() string
func (*CreateDataCollectorBadRequest) GetPayload ¶ added in v0.2.9
func (o *CreateDataCollectorBadRequest) GetPayload() *models.Error
func (*CreateDataCollectorBadRequest) IsClientError ¶ added in v0.5.0
func (o *CreateDataCollectorBadRequest) IsClientError() bool
IsClientError returns true when this create data collector bad request response has a 4xx status code
func (*CreateDataCollectorBadRequest) IsCode ¶ added in v0.5.0
func (o *CreateDataCollectorBadRequest) IsCode(code int) bool
IsCode returns true when this create data collector bad request response a status code equal to that given
func (*CreateDataCollectorBadRequest) IsRedirect ¶ added in v0.5.0
func (o *CreateDataCollectorBadRequest) IsRedirect() bool
IsRedirect returns true when this create data collector bad request response has a 3xx status code
func (*CreateDataCollectorBadRequest) IsServerError ¶ added in v0.5.0
func (o *CreateDataCollectorBadRequest) IsServerError() bool
IsServerError returns true when this create data collector bad request response has a 5xx status code
func (*CreateDataCollectorBadRequest) IsSuccess ¶ added in v0.5.0
func (o *CreateDataCollectorBadRequest) IsSuccess() bool
IsSuccess returns true when this create data collector bad request response has a 2xx status code
func (*CreateDataCollectorBadRequest) String ¶ added in v0.5.0
func (o *CreateDataCollectorBadRequest) String() string
type CreateDataCollectorCreated ¶
type CreateDataCollectorCreated struct {
Payload *models.DataCollectorRegistration
}
CreateDataCollectorCreated describes a response with status code 201, with default header values.
successful operation
func NewCreateDataCollectorCreated ¶
func NewCreateDataCollectorCreated() *CreateDataCollectorCreated
NewCreateDataCollectorCreated creates a CreateDataCollectorCreated with default headers values
func (*CreateDataCollectorCreated) Error ¶
func (o *CreateDataCollectorCreated) Error() string
func (*CreateDataCollectorCreated) GetPayload ¶
func (o *CreateDataCollectorCreated) GetPayload() *models.DataCollectorRegistration
func (*CreateDataCollectorCreated) IsClientError ¶ added in v0.5.0
func (o *CreateDataCollectorCreated) IsClientError() bool
IsClientError returns true when this create data collector created response has a 4xx status code
func (*CreateDataCollectorCreated) IsCode ¶ added in v0.5.0
func (o *CreateDataCollectorCreated) IsCode(code int) bool
IsCode returns true when this create data collector created response a status code equal to that given
func (*CreateDataCollectorCreated) IsRedirect ¶ added in v0.5.0
func (o *CreateDataCollectorCreated) IsRedirect() bool
IsRedirect returns true when this create data collector created response has a 3xx status code
func (*CreateDataCollectorCreated) IsServerError ¶ added in v0.5.0
func (o *CreateDataCollectorCreated) IsServerError() bool
IsServerError returns true when this create data collector created response has a 5xx status code
func (*CreateDataCollectorCreated) IsSuccess ¶ added in v0.5.0
func (o *CreateDataCollectorCreated) IsSuccess() bool
IsSuccess returns true when this create data collector created response has a 2xx status code
func (*CreateDataCollectorCreated) String ¶ added in v0.5.0
func (o *CreateDataCollectorCreated) String() string
type CreateDataCollectorForbidden ¶
type CreateDataCollectorForbidden struct {
Payload *models.ServiceErrorResponse
}
CreateDataCollectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateDataCollectorForbidden ¶
func NewCreateDataCollectorForbidden() *CreateDataCollectorForbidden
NewCreateDataCollectorForbidden creates a CreateDataCollectorForbidden with default headers values
func (*CreateDataCollectorForbidden) Error ¶
func (o *CreateDataCollectorForbidden) Error() string
func (*CreateDataCollectorForbidden) GetPayload ¶ added in v0.2.20
func (o *CreateDataCollectorForbidden) GetPayload() *models.ServiceErrorResponse
func (*CreateDataCollectorForbidden) IsClientError ¶ added in v0.5.0
func (o *CreateDataCollectorForbidden) IsClientError() bool
IsClientError returns true when this create data collector forbidden response has a 4xx status code
func (*CreateDataCollectorForbidden) IsCode ¶ added in v0.5.0
func (o *CreateDataCollectorForbidden) IsCode(code int) bool
IsCode returns true when this create data collector forbidden response a status code equal to that given
func (*CreateDataCollectorForbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateDataCollectorForbidden) IsRedirect() bool
IsRedirect returns true when this create data collector forbidden response has a 3xx status code
func (*CreateDataCollectorForbidden) IsServerError ¶ added in v0.5.0
func (o *CreateDataCollectorForbidden) IsServerError() bool
IsServerError returns true when this create data collector forbidden response has a 5xx status code
func (*CreateDataCollectorForbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateDataCollectorForbidden) IsSuccess() bool
IsSuccess returns true when this create data collector forbidden response has a 2xx status code
func (*CreateDataCollectorForbidden) String ¶ added in v0.5.0
func (o *CreateDataCollectorForbidden) String() string
type CreateDataCollectorParams ¶
type CreateDataCollectorParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDataCollectorParams contains all the parameters to send to the API endpoint
for the create data collector operation. Typically these are written to a http.Request.
func NewCreateDataCollectorParams ¶
func NewCreateDataCollectorParams() *CreateDataCollectorParams
NewCreateDataCollectorParams creates a new CreateDataCollectorParams 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 NewCreateDataCollectorParamsWithContext ¶
func NewCreateDataCollectorParamsWithContext(ctx context.Context) *CreateDataCollectorParams
NewCreateDataCollectorParamsWithContext creates a new CreateDataCollectorParams object with the ability to set a context for a request.
func NewCreateDataCollectorParamsWithHTTPClient ¶
func NewCreateDataCollectorParamsWithHTTPClient(client *http.Client) *CreateDataCollectorParams
NewCreateDataCollectorParamsWithHTTPClient creates a new CreateDataCollectorParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDataCollectorParamsWithTimeout ¶
func NewCreateDataCollectorParamsWithTimeout(timeout time.Duration) *CreateDataCollectorParams
NewCreateDataCollectorParamsWithTimeout creates a new CreateDataCollectorParams object with the ability to set a timeout on a request.
func (*CreateDataCollectorParams) SetAPIVersion ¶
func (o *CreateDataCollectorParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create data collector params
func (*CreateDataCollectorParams) SetContext ¶
func (o *CreateDataCollectorParams) SetContext(ctx context.Context)
SetContext adds the context to the create data collector params
func (*CreateDataCollectorParams) SetDefaults ¶ added in v0.2.20
func (o *CreateDataCollectorParams) SetDefaults()
SetDefaults hydrates default values in the create data collector params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDataCollectorParams) SetHTTPClient ¶
func (o *CreateDataCollectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create data collector params
func (*CreateDataCollectorParams) SetTimeout ¶
func (o *CreateDataCollectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create data collector params
func (*CreateDataCollectorParams) WithAPIVersion ¶
func (o *CreateDataCollectorParams) WithAPIVersion(aPIVersion *string) *CreateDataCollectorParams
WithAPIVersion adds the aPIVersion to the create data collector params
func (*CreateDataCollectorParams) WithContext ¶
func (o *CreateDataCollectorParams) WithContext(ctx context.Context) *CreateDataCollectorParams
WithContext adds the context to the create data collector params
func (*CreateDataCollectorParams) WithDefaults ¶ added in v0.2.20
func (o *CreateDataCollectorParams) WithDefaults() *CreateDataCollectorParams
WithDefaults hydrates default values in the create data collector params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDataCollectorParams) WithHTTPClient ¶
func (o *CreateDataCollectorParams) WithHTTPClient(client *http.Client) *CreateDataCollectorParams
WithHTTPClient adds the HTTPClient to the create data collector params
func (*CreateDataCollectorParams) WithTimeout ¶
func (o *CreateDataCollectorParams) WithTimeout(timeout time.Duration) *CreateDataCollectorParams
WithTimeout adds the timeout to the create data collector params
func (*CreateDataCollectorParams) WriteToRequest ¶
func (o *CreateDataCollectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDataCollectorReader ¶
type CreateDataCollectorReader struct {
// contains filtered or unexported fields
}
CreateDataCollectorReader is a Reader for the CreateDataCollector structure.
func (*CreateDataCollectorReader) ReadResponse ¶
func (o *CreateDataCollectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDataCollectorForbidden ¶
type DeleteDataCollectorForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteDataCollectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteDataCollectorForbidden ¶
func NewDeleteDataCollectorForbidden() *DeleteDataCollectorForbidden
NewDeleteDataCollectorForbidden creates a DeleteDataCollectorForbidden with default headers values
func (*DeleteDataCollectorForbidden) Error ¶
func (o *DeleteDataCollectorForbidden) Error() string
func (*DeleteDataCollectorForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteDataCollectorForbidden) GetPayload() *models.ServiceErrorResponse
func (*DeleteDataCollectorForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteDataCollectorForbidden) IsClientError() bool
IsClientError returns true when this delete data collector forbidden response has a 4xx status code
func (*DeleteDataCollectorForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteDataCollectorForbidden) IsCode(code int) bool
IsCode returns true when this delete data collector forbidden response a status code equal to that given
func (*DeleteDataCollectorForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteDataCollectorForbidden) IsRedirect() bool
IsRedirect returns true when this delete data collector forbidden response has a 3xx status code
func (*DeleteDataCollectorForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteDataCollectorForbidden) IsServerError() bool
IsServerError returns true when this delete data collector forbidden response has a 5xx status code
func (*DeleteDataCollectorForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteDataCollectorForbidden) IsSuccess() bool
IsSuccess returns true when this delete data collector forbidden response has a 2xx status code
func (*DeleteDataCollectorForbidden) String ¶ added in v0.5.0
func (o *DeleteDataCollectorForbidden) String() string
type DeleteDataCollectorNoContent ¶
type DeleteDataCollectorNoContent struct { }
DeleteDataCollectorNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteDataCollectorNoContent ¶
func NewDeleteDataCollectorNoContent() *DeleteDataCollectorNoContent
NewDeleteDataCollectorNoContent creates a DeleteDataCollectorNoContent with default headers values
func (*DeleteDataCollectorNoContent) Error ¶
func (o *DeleteDataCollectorNoContent) Error() string
func (*DeleteDataCollectorNoContent) IsClientError ¶ added in v0.5.0
func (o *DeleteDataCollectorNoContent) IsClientError() bool
IsClientError returns true when this delete data collector no content response has a 4xx status code
func (*DeleteDataCollectorNoContent) IsCode ¶ added in v0.5.0
func (o *DeleteDataCollectorNoContent) IsCode(code int) bool
IsCode returns true when this delete data collector no content response a status code equal to that given
func (*DeleteDataCollectorNoContent) IsRedirect ¶ added in v0.5.0
func (o *DeleteDataCollectorNoContent) IsRedirect() bool
IsRedirect returns true when this delete data collector no content response has a 3xx status code
func (*DeleteDataCollectorNoContent) IsServerError ¶ added in v0.5.0
func (o *DeleteDataCollectorNoContent) IsServerError() bool
IsServerError returns true when this delete data collector no content response has a 5xx status code
func (*DeleteDataCollectorNoContent) IsSuccess ¶ added in v0.5.0
func (o *DeleteDataCollectorNoContent) IsSuccess() bool
IsSuccess returns true when this delete data collector no content response has a 2xx status code
func (*DeleteDataCollectorNoContent) String ¶ added in v0.5.0
func (o *DeleteDataCollectorNoContent) String() string
type DeleteDataCollectorParams ¶
type DeleteDataCollectorParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the Data Collector. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDataCollectorParams contains all the parameters to send to the API endpoint
for the delete data collector operation. Typically these are written to a http.Request.
func NewDeleteDataCollectorParams ¶
func NewDeleteDataCollectorParams() *DeleteDataCollectorParams
NewDeleteDataCollectorParams creates a new DeleteDataCollectorParams 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 NewDeleteDataCollectorParamsWithContext ¶
func NewDeleteDataCollectorParamsWithContext(ctx context.Context) *DeleteDataCollectorParams
NewDeleteDataCollectorParamsWithContext creates a new DeleteDataCollectorParams object with the ability to set a context for a request.
func NewDeleteDataCollectorParamsWithHTTPClient ¶
func NewDeleteDataCollectorParamsWithHTTPClient(client *http.Client) *DeleteDataCollectorParams
NewDeleteDataCollectorParamsWithHTTPClient creates a new DeleteDataCollectorParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDataCollectorParamsWithTimeout ¶
func NewDeleteDataCollectorParamsWithTimeout(timeout time.Duration) *DeleteDataCollectorParams
NewDeleteDataCollectorParamsWithTimeout creates a new DeleteDataCollectorParams object with the ability to set a timeout on a request.
func (*DeleteDataCollectorParams) SetAPIVersion ¶
func (o *DeleteDataCollectorParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete data collector params
func (*DeleteDataCollectorParams) SetContext ¶
func (o *DeleteDataCollectorParams) SetContext(ctx context.Context)
SetContext adds the context to the delete data collector params
func (*DeleteDataCollectorParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteDataCollectorParams) SetDefaults()
SetDefaults hydrates default values in the delete data collector params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDataCollectorParams) SetHTTPClient ¶
func (o *DeleteDataCollectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete data collector params
func (*DeleteDataCollectorParams) SetID ¶
func (o *DeleteDataCollectorParams) SetID(id string)
SetID adds the id to the delete data collector params
func (*DeleteDataCollectorParams) SetTimeout ¶
func (o *DeleteDataCollectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete data collector params
func (*DeleteDataCollectorParams) WithAPIVersion ¶
func (o *DeleteDataCollectorParams) WithAPIVersion(aPIVersion *string) *DeleteDataCollectorParams
WithAPIVersion adds the aPIVersion to the delete data collector params
func (*DeleteDataCollectorParams) WithContext ¶
func (o *DeleteDataCollectorParams) WithContext(ctx context.Context) *DeleteDataCollectorParams
WithContext adds the context to the delete data collector params
func (*DeleteDataCollectorParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteDataCollectorParams) WithDefaults() *DeleteDataCollectorParams
WithDefaults hydrates default values in the delete data collector params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDataCollectorParams) WithHTTPClient ¶
func (o *DeleteDataCollectorParams) WithHTTPClient(client *http.Client) *DeleteDataCollectorParams
WithHTTPClient adds the HTTPClient to the delete data collector params
func (*DeleteDataCollectorParams) WithID ¶
func (o *DeleteDataCollectorParams) WithID(id string) *DeleteDataCollectorParams
WithID adds the id to the delete data collector params
func (*DeleteDataCollectorParams) WithTimeout ¶
func (o *DeleteDataCollectorParams) WithTimeout(timeout time.Duration) *DeleteDataCollectorParams
WithTimeout adds the timeout to the delete data collector params
func (*DeleteDataCollectorParams) WriteToRequest ¶
func (o *DeleteDataCollectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDataCollectorReader ¶
type DeleteDataCollectorReader struct {
// contains filtered or unexported fields
}
DeleteDataCollectorReader is a Reader for the DeleteDataCollector structure.
func (*DeleteDataCollectorReader) ReadResponse ¶
func (o *DeleteDataCollectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDataCollectorForbidden ¶
type GetDataCollectorForbidden struct {
Payload *models.ServiceErrorResponse
}
GetDataCollectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDataCollectorForbidden ¶
func NewGetDataCollectorForbidden() *GetDataCollectorForbidden
NewGetDataCollectorForbidden creates a GetDataCollectorForbidden with default headers values
func (*GetDataCollectorForbidden) Error ¶
func (o *GetDataCollectorForbidden) Error() string
func (*GetDataCollectorForbidden) GetPayload ¶ added in v0.2.20
func (o *GetDataCollectorForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetDataCollectorForbidden) IsClientError ¶ added in v0.5.0
func (o *GetDataCollectorForbidden) IsClientError() bool
IsClientError returns true when this get data collector forbidden response has a 4xx status code
func (*GetDataCollectorForbidden) IsCode ¶ added in v0.5.0
func (o *GetDataCollectorForbidden) IsCode(code int) bool
IsCode returns true when this get data collector forbidden response a status code equal to that given
func (*GetDataCollectorForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetDataCollectorForbidden) IsRedirect() bool
IsRedirect returns true when this get data collector forbidden response has a 3xx status code
func (*GetDataCollectorForbidden) IsServerError ¶ added in v0.5.0
func (o *GetDataCollectorForbidden) IsServerError() bool
IsServerError returns true when this get data collector forbidden response has a 5xx status code
func (*GetDataCollectorForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetDataCollectorForbidden) IsSuccess() bool
IsSuccess returns true when this get data collector forbidden response has a 2xx status code
func (*GetDataCollectorForbidden) String ¶ added in v0.5.0
func (o *GetDataCollectorForbidden) String() string
type GetDataCollectorNotFound ¶
GetDataCollectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetDataCollectorNotFound ¶
func NewGetDataCollectorNotFound() *GetDataCollectorNotFound
NewGetDataCollectorNotFound creates a GetDataCollectorNotFound with default headers values
func (*GetDataCollectorNotFound) Error ¶
func (o *GetDataCollectorNotFound) Error() string
func (*GetDataCollectorNotFound) GetPayload ¶ added in v0.2.9
func (o *GetDataCollectorNotFound) GetPayload() *models.Error
func (*GetDataCollectorNotFound) IsClientError ¶ added in v0.5.0
func (o *GetDataCollectorNotFound) IsClientError() bool
IsClientError returns true when this get data collector not found response has a 4xx status code
func (*GetDataCollectorNotFound) IsCode ¶ added in v0.5.0
func (o *GetDataCollectorNotFound) IsCode(code int) bool
IsCode returns true when this get data collector not found response a status code equal to that given
func (*GetDataCollectorNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetDataCollectorNotFound) IsRedirect() bool
IsRedirect returns true when this get data collector not found response has a 3xx status code
func (*GetDataCollectorNotFound) IsServerError ¶ added in v0.5.0
func (o *GetDataCollectorNotFound) IsServerError() bool
IsServerError returns true when this get data collector not found response has a 5xx status code
func (*GetDataCollectorNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetDataCollectorNotFound) IsSuccess() bool
IsSuccess returns true when this get data collector not found response has a 2xx status code
func (*GetDataCollectorNotFound) String ¶ added in v0.5.0
func (o *GetDataCollectorNotFound) String() string
type GetDataCollectorOK ¶
type GetDataCollectorOK struct {
Payload *models.DataCollector
}
GetDataCollectorOK describes a response with status code 200, with default header values.
successful operation
func NewGetDataCollectorOK ¶
func NewGetDataCollectorOK() *GetDataCollectorOK
NewGetDataCollectorOK creates a GetDataCollectorOK with default headers values
func (*GetDataCollectorOK) Error ¶
func (o *GetDataCollectorOK) Error() string
func (*GetDataCollectorOK) GetPayload ¶
func (o *GetDataCollectorOK) GetPayload() *models.DataCollector
func (*GetDataCollectorOK) IsClientError ¶ added in v0.5.0
func (o *GetDataCollectorOK) IsClientError() bool
IsClientError returns true when this get data collector o k response has a 4xx status code
func (*GetDataCollectorOK) IsCode ¶ added in v0.5.0
func (o *GetDataCollectorOK) IsCode(code int) bool
IsCode returns true when this get data collector o k response a status code equal to that given
func (*GetDataCollectorOK) IsRedirect ¶ added in v0.5.0
func (o *GetDataCollectorOK) IsRedirect() bool
IsRedirect returns true when this get data collector o k response has a 3xx status code
func (*GetDataCollectorOK) IsServerError ¶ added in v0.5.0
func (o *GetDataCollectorOK) IsServerError() bool
IsServerError returns true when this get data collector o k response has a 5xx status code
func (*GetDataCollectorOK) IsSuccess ¶ added in v0.5.0
func (o *GetDataCollectorOK) IsSuccess() bool
IsSuccess returns true when this get data collector o k response has a 2xx status code
func (*GetDataCollectorOK) String ¶ added in v0.5.0
func (o *GetDataCollectorOK) String() string
type GetDataCollectorParams ¶
type GetDataCollectorParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the Data Collector. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDataCollectorParams contains all the parameters to send to the API endpoint
for the get data collector operation. Typically these are written to a http.Request.
func NewGetDataCollectorParams ¶
func NewGetDataCollectorParams() *GetDataCollectorParams
NewGetDataCollectorParams creates a new GetDataCollectorParams 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 NewGetDataCollectorParamsWithContext ¶
func NewGetDataCollectorParamsWithContext(ctx context.Context) *GetDataCollectorParams
NewGetDataCollectorParamsWithContext creates a new GetDataCollectorParams object with the ability to set a context for a request.
func NewGetDataCollectorParamsWithHTTPClient ¶
func NewGetDataCollectorParamsWithHTTPClient(client *http.Client) *GetDataCollectorParams
NewGetDataCollectorParamsWithHTTPClient creates a new GetDataCollectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetDataCollectorParamsWithTimeout ¶
func NewGetDataCollectorParamsWithTimeout(timeout time.Duration) *GetDataCollectorParams
NewGetDataCollectorParamsWithTimeout creates a new GetDataCollectorParams object with the ability to set a timeout on a request.
func (*GetDataCollectorParams) SetAPIVersion ¶
func (o *GetDataCollectorParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get data collector params
func (*GetDataCollectorParams) SetContext ¶
func (o *GetDataCollectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get data collector params
func (*GetDataCollectorParams) SetDefaults ¶ added in v0.2.20
func (o *GetDataCollectorParams) SetDefaults()
SetDefaults hydrates default values in the get data collector params (not the query body).
All values with no default are reset to their zero value.
func (*GetDataCollectorParams) SetHTTPClient ¶
func (o *GetDataCollectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get data collector params
func (*GetDataCollectorParams) SetID ¶
func (o *GetDataCollectorParams) SetID(id string)
SetID adds the id to the get data collector params
func (*GetDataCollectorParams) SetTimeout ¶
func (o *GetDataCollectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get data collector params
func (*GetDataCollectorParams) WithAPIVersion ¶
func (o *GetDataCollectorParams) WithAPIVersion(aPIVersion *string) *GetDataCollectorParams
WithAPIVersion adds the aPIVersion to the get data collector params
func (*GetDataCollectorParams) WithContext ¶
func (o *GetDataCollectorParams) WithContext(ctx context.Context) *GetDataCollectorParams
WithContext adds the context to the get data collector params
func (*GetDataCollectorParams) WithDefaults ¶ added in v0.2.20
func (o *GetDataCollectorParams) WithDefaults() *GetDataCollectorParams
WithDefaults hydrates default values in the get data collector params (not the query body).
All values with no default are reset to their zero value.
func (*GetDataCollectorParams) WithHTTPClient ¶
func (o *GetDataCollectorParams) WithHTTPClient(client *http.Client) *GetDataCollectorParams
WithHTTPClient adds the HTTPClient to the get data collector params
func (*GetDataCollectorParams) WithID ¶
func (o *GetDataCollectorParams) WithID(id string) *GetDataCollectorParams
WithID adds the id to the get data collector params
func (*GetDataCollectorParams) WithTimeout ¶
func (o *GetDataCollectorParams) WithTimeout(timeout time.Duration) *GetDataCollectorParams
WithTimeout adds the timeout to the get data collector params
func (*GetDataCollectorParams) WriteToRequest ¶
func (o *GetDataCollectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDataCollectorReader ¶
type GetDataCollectorReader struct {
// contains filtered or unexported fields
}
GetDataCollectorReader is a Reader for the GetDataCollector structure.
func (*GetDataCollectorReader) ReadResponse ¶
func (o *GetDataCollectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDataCollectorsForbidden ¶
type GetDataCollectorsForbidden struct {
Payload *models.ServiceErrorResponse
}
GetDataCollectorsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDataCollectorsForbidden ¶
func NewGetDataCollectorsForbidden() *GetDataCollectorsForbidden
NewGetDataCollectorsForbidden creates a GetDataCollectorsForbidden with default headers values
func (*GetDataCollectorsForbidden) Error ¶
func (o *GetDataCollectorsForbidden) Error() string
func (*GetDataCollectorsForbidden) GetPayload ¶ added in v0.2.20
func (o *GetDataCollectorsForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetDataCollectorsForbidden) IsClientError ¶ added in v0.5.0
func (o *GetDataCollectorsForbidden) IsClientError() bool
IsClientError returns true when this get data collectors forbidden response has a 4xx status code
func (*GetDataCollectorsForbidden) IsCode ¶ added in v0.5.0
func (o *GetDataCollectorsForbidden) IsCode(code int) bool
IsCode returns true when this get data collectors forbidden response a status code equal to that given
func (*GetDataCollectorsForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetDataCollectorsForbidden) IsRedirect() bool
IsRedirect returns true when this get data collectors forbidden response has a 3xx status code
func (*GetDataCollectorsForbidden) IsServerError ¶ added in v0.5.0
func (o *GetDataCollectorsForbidden) IsServerError() bool
IsServerError returns true when this get data collectors forbidden response has a 5xx status code
func (*GetDataCollectorsForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetDataCollectorsForbidden) IsSuccess() bool
IsSuccess returns true when this get data collectors forbidden response has a 2xx status code
func (*GetDataCollectorsForbidden) String ¶ added in v0.5.0
func (o *GetDataCollectorsForbidden) String() string
type GetDataCollectorsOK ¶
type GetDataCollectorsOK struct {
Payload *models.DataCollectorResult
}
GetDataCollectorsOK describes a response with status code 200, with default header values.
successful operation
func NewGetDataCollectorsOK ¶
func NewGetDataCollectorsOK() *GetDataCollectorsOK
NewGetDataCollectorsOK creates a GetDataCollectorsOK with default headers values
func (*GetDataCollectorsOK) Error ¶
func (o *GetDataCollectorsOK) Error() string
func (*GetDataCollectorsOK) GetPayload ¶
func (o *GetDataCollectorsOK) GetPayload() *models.DataCollectorResult
func (*GetDataCollectorsOK) IsClientError ¶ added in v0.5.0
func (o *GetDataCollectorsOK) IsClientError() bool
IsClientError returns true when this get data collectors o k response has a 4xx status code
func (*GetDataCollectorsOK) IsCode ¶ added in v0.5.0
func (o *GetDataCollectorsOK) IsCode(code int) bool
IsCode returns true when this get data collectors o k response a status code equal to that given
func (*GetDataCollectorsOK) IsRedirect ¶ added in v0.5.0
func (o *GetDataCollectorsOK) IsRedirect() bool
IsRedirect returns true when this get data collectors o k response has a 3xx status code
func (*GetDataCollectorsOK) IsServerError ¶ added in v0.5.0
func (o *GetDataCollectorsOK) IsServerError() bool
IsServerError returns true when this get data collectors o k response has a 5xx status code
func (*GetDataCollectorsOK) IsSuccess ¶ added in v0.5.0
func (o *GetDataCollectorsOK) IsSuccess() bool
IsSuccess returns true when this get data collectors o k response has a 2xx status code
func (*GetDataCollectorsOK) String ¶ added in v0.5.0
func (o *GetDataCollectorsOK) String() string
type GetDataCollectorsParams ¶
type GetDataCollectorsParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* Disabled. If query param is provided with value equals to true, only disabled data collectors will be retrieved. */ Disabled *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDataCollectorsParams contains all the parameters to send to the API endpoint
for the get data collectors operation. Typically these are written to a http.Request.
func NewGetDataCollectorsParams ¶
func NewGetDataCollectorsParams() *GetDataCollectorsParams
NewGetDataCollectorsParams creates a new GetDataCollectorsParams 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 NewGetDataCollectorsParamsWithContext ¶
func NewGetDataCollectorsParamsWithContext(ctx context.Context) *GetDataCollectorsParams
NewGetDataCollectorsParamsWithContext creates a new GetDataCollectorsParams object with the ability to set a context for a request.
func NewGetDataCollectorsParamsWithHTTPClient ¶
func NewGetDataCollectorsParamsWithHTTPClient(client *http.Client) *GetDataCollectorsParams
NewGetDataCollectorsParamsWithHTTPClient creates a new GetDataCollectorsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDataCollectorsParamsWithTimeout ¶
func NewGetDataCollectorsParamsWithTimeout(timeout time.Duration) *GetDataCollectorsParams
NewGetDataCollectorsParamsWithTimeout creates a new GetDataCollectorsParams object with the ability to set a timeout on a request.
func (*GetDataCollectorsParams) SetAPIVersion ¶
func (o *GetDataCollectorsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get data collectors params
func (*GetDataCollectorsParams) SetContext ¶
func (o *GetDataCollectorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get data collectors params
func (*GetDataCollectorsParams) SetDefaults ¶ added in v0.2.20
func (o *GetDataCollectorsParams) SetDefaults()
SetDefaults hydrates default values in the get data collectors params (not the query body).
All values with no default are reset to their zero value.
func (*GetDataCollectorsParams) SetDisabled ¶
func (o *GetDataCollectorsParams) SetDisabled(disabled *bool)
SetDisabled adds the disabled to the get data collectors params
func (*GetDataCollectorsParams) SetHTTPClient ¶
func (o *GetDataCollectorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get data collectors params
func (*GetDataCollectorsParams) SetTimeout ¶
func (o *GetDataCollectorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get data collectors params
func (*GetDataCollectorsParams) WithAPIVersion ¶
func (o *GetDataCollectorsParams) WithAPIVersion(aPIVersion *string) *GetDataCollectorsParams
WithAPIVersion adds the aPIVersion to the get data collectors params
func (*GetDataCollectorsParams) WithContext ¶
func (o *GetDataCollectorsParams) WithContext(ctx context.Context) *GetDataCollectorsParams
WithContext adds the context to the get data collectors params
func (*GetDataCollectorsParams) WithDefaults ¶ added in v0.2.20
func (o *GetDataCollectorsParams) WithDefaults() *GetDataCollectorsParams
WithDefaults hydrates default values in the get data collectors params (not the query body).
All values with no default are reset to their zero value.
func (*GetDataCollectorsParams) WithDisabled ¶
func (o *GetDataCollectorsParams) WithDisabled(disabled *bool) *GetDataCollectorsParams
WithDisabled adds the disabled to the get data collectors params
func (*GetDataCollectorsParams) WithHTTPClient ¶
func (o *GetDataCollectorsParams) WithHTTPClient(client *http.Client) *GetDataCollectorsParams
WithHTTPClient adds the HTTPClient to the get data collectors params
func (*GetDataCollectorsParams) WithTimeout ¶
func (o *GetDataCollectorsParams) WithTimeout(timeout time.Duration) *GetDataCollectorsParams
WithTimeout adds the timeout to the get data collectors params
func (*GetDataCollectorsParams) WriteToRequest ¶
func (o *GetDataCollectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDataCollectorsReader ¶
type GetDataCollectorsReader struct {
// contains filtered or unexported fields
}
GetDataCollectorsReader is a Reader for the GetDataCollectors structure.
func (*GetDataCollectorsReader) ReadResponse ¶
func (o *GetDataCollectorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.