Documentation ¶
Index ¶
- type Client
- func (a *Client) GetSmartSenseSubscription(params *GetSmartSenseSubscriptionParams) (*GetSmartSenseSubscriptionOK, error)
- func (a *Client) GetSmartSenseSubscriptionByID(params *GetSmartSenseSubscriptionByIDParams) (*GetSmartSenseSubscriptionByIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetSmartSenseSubscriptionByIDOK
- type GetSmartSenseSubscriptionByIDParams
- func NewGetSmartSenseSubscriptionByIDParams() *GetSmartSenseSubscriptionByIDParams
- func NewGetSmartSenseSubscriptionByIDParamsWithContext(ctx context.Context) *GetSmartSenseSubscriptionByIDParams
- func NewGetSmartSenseSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionByIDParams
- func NewGetSmartSenseSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionByIDParams
- func (o *GetSmartSenseSubscriptionByIDParams) SetContext(ctx context.Context)
- func (o *GetSmartSenseSubscriptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetSmartSenseSubscriptionByIDParams) SetID(id int64)
- func (o *GetSmartSenseSubscriptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetSmartSenseSubscriptionByIDParams) WithContext(ctx context.Context) *GetSmartSenseSubscriptionByIDParams
- func (o *GetSmartSenseSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionByIDParams
- func (o *GetSmartSenseSubscriptionByIDParams) WithID(id int64) *GetSmartSenseSubscriptionByIDParams
- func (o *GetSmartSenseSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionByIDParams
- func (o *GetSmartSenseSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSmartSenseSubscriptionByIDReader
- type GetSmartSenseSubscriptionOK
- type GetSmartSenseSubscriptionParams
- func NewGetSmartSenseSubscriptionParams() *GetSmartSenseSubscriptionParams
- func NewGetSmartSenseSubscriptionParamsWithContext(ctx context.Context) *GetSmartSenseSubscriptionParams
- func NewGetSmartSenseSubscriptionParamsWithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionParams
- func NewGetSmartSenseSubscriptionParamsWithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionParams
- func (o *GetSmartSenseSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetSmartSenseSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetSmartSenseSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetSmartSenseSubscriptionParams) WithContext(ctx context.Context) *GetSmartSenseSubscriptionParams
- func (o *GetSmartSenseSubscriptionParams) WithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionParams
- func (o *GetSmartSenseSubscriptionParams) WithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionParams
- func (o *GetSmartSenseSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSmartSenseSubscriptionReader
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 v1smartsensesubscriptions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1smartsensesubscriptions API client.
func (*Client) GetSmartSenseSubscription ¶
func (a *Client) GetSmartSenseSubscription(params *GetSmartSenseSubscriptionParams) (*GetSmartSenseSubscriptionOK, error)
GetSmartSenseSubscription retrieves default smart sense subscription
SmartSense subscriptions could be configured.
func (*Client) GetSmartSenseSubscriptionByID ¶
func (a *Client) GetSmartSenseSubscriptionByID(params *GetSmartSenseSubscriptionByIDParams) (*GetSmartSenseSubscriptionByIDOK, error)
GetSmartSenseSubscriptionByID retrieves smart sense subscription by id
SmartSense subscriptions could be configured.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetSmartSenseSubscriptionByIDOK ¶
type GetSmartSenseSubscriptionByIDOK struct {
Payload *models_cloudbreak.SmartSenseSubscriptionJSON
}
GetSmartSenseSubscriptionByIDOK handles this case with default header values.
successful operation
func NewGetSmartSenseSubscriptionByIDOK ¶
func NewGetSmartSenseSubscriptionByIDOK() *GetSmartSenseSubscriptionByIDOK
NewGetSmartSenseSubscriptionByIDOK creates a GetSmartSenseSubscriptionByIDOK with default headers values
func (*GetSmartSenseSubscriptionByIDOK) Error ¶
func (o *GetSmartSenseSubscriptionByIDOK) Error() string
type GetSmartSenseSubscriptionByIDParams ¶
type GetSmartSenseSubscriptionByIDParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSmartSenseSubscriptionByIDParams contains all the parameters to send to the API endpoint for the get smart sense subscription by Id operation typically these are written to a http.Request
func NewGetSmartSenseSubscriptionByIDParams ¶
func NewGetSmartSenseSubscriptionByIDParams() *GetSmartSenseSubscriptionByIDParams
NewGetSmartSenseSubscriptionByIDParams creates a new GetSmartSenseSubscriptionByIDParams object with the default values initialized.
func NewGetSmartSenseSubscriptionByIDParamsWithContext ¶
func NewGetSmartSenseSubscriptionByIDParamsWithContext(ctx context.Context) *GetSmartSenseSubscriptionByIDParams
NewGetSmartSenseSubscriptionByIDParamsWithContext creates a new GetSmartSenseSubscriptionByIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetSmartSenseSubscriptionByIDParamsWithHTTPClient ¶
func NewGetSmartSenseSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionByIDParams
NewGetSmartSenseSubscriptionByIDParamsWithHTTPClient creates a new GetSmartSenseSubscriptionByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSmartSenseSubscriptionByIDParamsWithTimeout ¶
func NewGetSmartSenseSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionByIDParams
NewGetSmartSenseSubscriptionByIDParamsWithTimeout creates a new GetSmartSenseSubscriptionByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSmartSenseSubscriptionByIDParams) SetContext ¶
func (o *GetSmartSenseSubscriptionByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) SetHTTPClient ¶
func (o *GetSmartSenseSubscriptionByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) SetID ¶
func (o *GetSmartSenseSubscriptionByIDParams) SetID(id int64)
SetID adds the id to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) SetTimeout ¶
func (o *GetSmartSenseSubscriptionByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) WithContext ¶
func (o *GetSmartSenseSubscriptionByIDParams) WithContext(ctx context.Context) *GetSmartSenseSubscriptionByIDParams
WithContext adds the context to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) WithHTTPClient ¶
func (o *GetSmartSenseSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionByIDParams
WithHTTPClient adds the HTTPClient to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) WithID ¶
func (o *GetSmartSenseSubscriptionByIDParams) WithID(id int64) *GetSmartSenseSubscriptionByIDParams
WithID adds the id to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) WithTimeout ¶
func (o *GetSmartSenseSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionByIDParams
WithTimeout adds the timeout to the get smart sense subscription by Id params
func (*GetSmartSenseSubscriptionByIDParams) WriteToRequest ¶
func (o *GetSmartSenseSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSmartSenseSubscriptionByIDReader ¶
type GetSmartSenseSubscriptionByIDReader struct {
// contains filtered or unexported fields
}
GetSmartSenseSubscriptionByIDReader is a Reader for the GetSmartSenseSubscriptionByID structure.
func (*GetSmartSenseSubscriptionByIDReader) ReadResponse ¶
func (o *GetSmartSenseSubscriptionByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSmartSenseSubscriptionOK ¶
type GetSmartSenseSubscriptionOK struct {
Payload *models_cloudbreak.SmartSenseSubscriptionJSON
}
GetSmartSenseSubscriptionOK handles this case with default header values.
successful operation
func NewGetSmartSenseSubscriptionOK ¶
func NewGetSmartSenseSubscriptionOK() *GetSmartSenseSubscriptionOK
NewGetSmartSenseSubscriptionOK creates a GetSmartSenseSubscriptionOK with default headers values
func (*GetSmartSenseSubscriptionOK) Error ¶
func (o *GetSmartSenseSubscriptionOK) Error() string
type GetSmartSenseSubscriptionParams ¶
type GetSmartSenseSubscriptionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSmartSenseSubscriptionParams contains all the parameters to send to the API endpoint for the get smart sense subscription operation typically these are written to a http.Request
func NewGetSmartSenseSubscriptionParams ¶
func NewGetSmartSenseSubscriptionParams() *GetSmartSenseSubscriptionParams
NewGetSmartSenseSubscriptionParams creates a new GetSmartSenseSubscriptionParams object with the default values initialized.
func NewGetSmartSenseSubscriptionParamsWithContext ¶
func NewGetSmartSenseSubscriptionParamsWithContext(ctx context.Context) *GetSmartSenseSubscriptionParams
NewGetSmartSenseSubscriptionParamsWithContext creates a new GetSmartSenseSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewGetSmartSenseSubscriptionParamsWithHTTPClient ¶
func NewGetSmartSenseSubscriptionParamsWithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionParams
NewGetSmartSenseSubscriptionParamsWithHTTPClient creates a new GetSmartSenseSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSmartSenseSubscriptionParamsWithTimeout ¶
func NewGetSmartSenseSubscriptionParamsWithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionParams
NewGetSmartSenseSubscriptionParamsWithTimeout creates a new GetSmartSenseSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSmartSenseSubscriptionParams) SetContext ¶
func (o *GetSmartSenseSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the get smart sense subscription params
func (*GetSmartSenseSubscriptionParams) SetHTTPClient ¶
func (o *GetSmartSenseSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get smart sense subscription params
func (*GetSmartSenseSubscriptionParams) SetTimeout ¶
func (o *GetSmartSenseSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get smart sense subscription params
func (*GetSmartSenseSubscriptionParams) WithContext ¶
func (o *GetSmartSenseSubscriptionParams) WithContext(ctx context.Context) *GetSmartSenseSubscriptionParams
WithContext adds the context to the get smart sense subscription params
func (*GetSmartSenseSubscriptionParams) WithHTTPClient ¶
func (o *GetSmartSenseSubscriptionParams) WithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionParams
WithHTTPClient adds the HTTPClient to the get smart sense subscription params
func (*GetSmartSenseSubscriptionParams) WithTimeout ¶
func (o *GetSmartSenseSubscriptionParams) WithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionParams
WithTimeout adds the timeout to the get smart sense subscription params
func (*GetSmartSenseSubscriptionParams) WriteToRequest ¶
func (o *GetSmartSenseSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSmartSenseSubscriptionReader ¶
type GetSmartSenseSubscriptionReader struct {
// contains filtered or unexported fields
}
GetSmartSenseSubscriptionReader is a Reader for the GetSmartSenseSubscription structure.
func (*GetSmartSenseSubscriptionReader) ReadResponse ¶
func (o *GetSmartSenseSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.