v1subscriptions

package
v2.7.0-dev.63+incompat... Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: Apache-2.0, BSD-2-Clause Imports: 10 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 v1subscriptions API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v1subscriptions API client.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SubscribeSubscription

func (a *Client) SubscribeSubscription(params *SubscribeSubscriptionParams) (*SubscribeSubscriptionOK, error)

SubscribeSubscription retrives subscribe identifier

Accepting client subscriptions to notification events.

type SubscribeSubscriptionOK

type SubscribeSubscriptionOK struct {
	Payload *models_cloudbreak.ID
}

SubscribeSubscriptionOK handles this case with default header values.

successful operation

func NewSubscribeSubscriptionOK

func NewSubscribeSubscriptionOK() *SubscribeSubscriptionOK

NewSubscribeSubscriptionOK creates a SubscribeSubscriptionOK with default headers values

func (*SubscribeSubscriptionOK) Error

func (o *SubscribeSubscriptionOK) Error() string

type SubscribeSubscriptionParams

type SubscribeSubscriptionParams struct {

	/*Body*/
	Body *models_cloudbreak.SubscriptionRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SubscribeSubscriptionParams contains all the parameters to send to the API endpoint for the subscribe subscription operation typically these are written to a http.Request

func NewSubscribeSubscriptionParams

func NewSubscribeSubscriptionParams() *SubscribeSubscriptionParams

NewSubscribeSubscriptionParams creates a new SubscribeSubscriptionParams object with the default values initialized.

func NewSubscribeSubscriptionParamsWithContext

func NewSubscribeSubscriptionParamsWithContext(ctx context.Context) *SubscribeSubscriptionParams

NewSubscribeSubscriptionParamsWithContext creates a new SubscribeSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewSubscribeSubscriptionParamsWithHTTPClient

func NewSubscribeSubscriptionParamsWithHTTPClient(client *http.Client) *SubscribeSubscriptionParams

NewSubscribeSubscriptionParamsWithHTTPClient creates a new SubscribeSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSubscribeSubscriptionParamsWithTimeout

func NewSubscribeSubscriptionParamsWithTimeout(timeout time.Duration) *SubscribeSubscriptionParams

NewSubscribeSubscriptionParamsWithTimeout creates a new SubscribeSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*SubscribeSubscriptionParams) SetBody

SetBody adds the body to the subscribe subscription params

func (*SubscribeSubscriptionParams) SetContext

func (o *SubscribeSubscriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the subscribe subscription params

func (*SubscribeSubscriptionParams) SetHTTPClient

func (o *SubscribeSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the subscribe subscription params

func (*SubscribeSubscriptionParams) SetTimeout

func (o *SubscribeSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the subscribe subscription params

func (*SubscribeSubscriptionParams) WithBody

WithBody adds the body to the subscribe subscription params

func (*SubscribeSubscriptionParams) WithContext

WithContext adds the context to the subscribe subscription params

func (*SubscribeSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the subscribe subscription params

func (*SubscribeSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the subscribe subscription params

func (*SubscribeSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SubscribeSubscriptionReader

type SubscribeSubscriptionReader struct {
	// contains filtered or unexported fields
}

SubscribeSubscriptionReader is a Reader for the SubscribeSubscription structure.

func (*SubscribeSubscriptionReader) ReadResponse

func (o *SubscribeSubscriptionReader) 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