Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDataCollector(params *CreateDataCollectorParams) (*CreateDataCollectorCreated, error)
- func (a *Client) DeleteDataCollector(params *DeleteDataCollectorParams) (*DeleteDataCollectorNoContent, error)
- func (a *Client) GetDataCollector(params *GetDataCollectorParams) (*GetDataCollectorOK, error)
- func (a *Client) GetDataCollectors(params *GetDataCollectorsParams) (*GetDataCollectorsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateDataCollectorBadRequest
- type CreateDataCollectorCreated
- type CreateDataCollectorForbidden
- 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) 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) 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
- type DeleteDataCollectorNoContent
- 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) 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) 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
- type GetDataCollectorNotFound
- type GetDataCollectorOK
- 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) 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) 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
- type GetDataCollectorsOK
- 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) 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) 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new data collector API client.
func (*Client) CreateDataCollector ¶
func (a *Client) CreateDataCollector(params *CreateDataCollectorParams) (*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) (*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) (*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) (*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 CreateDataCollectorBadRequest ¶
type CreateDataCollectorBadRequest struct { }
CreateDataCollectorBadRequest handles this case 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
type CreateDataCollectorCreated ¶
type CreateDataCollectorCreated struct {
Payload *models.DataCollectorRegistration
}
CreateDataCollectorCreated handles this case 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
type CreateDataCollectorForbidden ¶
type CreateDataCollectorForbidden struct { }
CreateDataCollectorForbidden handles this case 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
type CreateDataCollectorParams ¶
type CreateDataCollectorParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewCreateDataCollectorParamsWithContext ¶
func NewCreateDataCollectorParamsWithContext(ctx context.Context) *CreateDataCollectorParams
NewCreateDataCollectorParamsWithContext creates a new CreateDataCollectorParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
DeleteDataCollectorForbidden handles this case 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
type DeleteDataCollectorNoContent ¶
type DeleteDataCollectorNoContent struct { }
DeleteDataCollectorNoContent handles this case 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
type DeleteDataCollectorParams ¶
type DeleteDataCollectorParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewDeleteDataCollectorParamsWithContext ¶
func NewDeleteDataCollectorParamsWithContext(ctx context.Context) *DeleteDataCollectorParams
NewDeleteDataCollectorParamsWithContext creates a new DeleteDataCollectorParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetDataCollectorForbidden handles this case 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
type GetDataCollectorNotFound ¶
type GetDataCollectorNotFound struct { }
GetDataCollectorNotFound handles this case 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
type GetDataCollectorOK ¶
type GetDataCollectorOK struct {
Payload *models.DataCollector
}
GetDataCollectorOK handles this case 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
type GetDataCollectorParams ¶
type GetDataCollectorParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewGetDataCollectorParamsWithContext ¶
func NewGetDataCollectorParamsWithContext(ctx context.Context) *GetDataCollectorParams
NewGetDataCollectorParamsWithContext creates a new GetDataCollectorParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetDataCollectorsForbidden handles this case 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
type GetDataCollectorsOK ¶
type GetDataCollectorsOK struct {
Payload *models.DataCollectorResult
}
GetDataCollectorsOK handles this case 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
type GetDataCollectorsParams ¶
type GetDataCollectorsParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewGetDataCollectorsParamsWithContext ¶
func NewGetDataCollectorsParamsWithContext(ctx context.Context) *GetDataCollectorsParams
NewGetDataCollectorsParamsWithContext creates a new GetDataCollectorsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.