v1smartsensesubscriptions

package
v2.8.0-rc.62+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

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

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

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

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

WithContext adds the context to the get smart sense subscription by Id params

func (*GetSmartSenseSubscriptionByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get smart sense subscription by Id params

func (*GetSmartSenseSubscriptionByIDParams) WithID

WithID adds the id to the get smart sense subscription by Id params

func (*GetSmartSenseSubscriptionByIDParams) WithTimeout

WithTimeout adds the timeout to the get smart sense subscription by Id params

func (*GetSmartSenseSubscriptionByIDParams) WriteToRequest

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

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

WithContext adds the context to the get smart sense subscription params

func (*GetSmartSenseSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get smart sense subscription params

func (*GetSmartSenseSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the get smart sense subscription params

func (*GetSmartSenseSubscriptionParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL