Documentation ¶
Index ¶
- type Client
- type SubscribeSubscriptionOK
- type SubscribeSubscriptionParams
- func NewSubscribeSubscriptionParams() *SubscribeSubscriptionParams
- func NewSubscribeSubscriptionParamsWithContext(ctx context.Context) *SubscribeSubscriptionParams
- func NewSubscribeSubscriptionParamsWithHTTPClient(client *http.Client) *SubscribeSubscriptionParams
- func NewSubscribeSubscriptionParamsWithTimeout(timeout time.Duration) *SubscribeSubscriptionParams
- func (o *SubscribeSubscriptionParams) SetBody(body *models_cloudbreak.SubscriptionRequest)
- func (o *SubscribeSubscriptionParams) SetContext(ctx context.Context)
- func (o *SubscribeSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *SubscribeSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *SubscribeSubscriptionParams) WithBody(body *models_cloudbreak.SubscriptionRequest) *SubscribeSubscriptionParams
- func (o *SubscribeSubscriptionParams) WithContext(ctx context.Context) *SubscribeSubscriptionParams
- func (o *SubscribeSubscriptionParams) WithHTTPClient(client *http.Client) *SubscribeSubscriptionParams
- func (o *SubscribeSubscriptionParams) WithTimeout(timeout time.Duration) *SubscribeSubscriptionParams
- func (o *SubscribeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscribeSubscriptionReader
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 ¶
func (o *SubscribeSubscriptionParams) SetBody(body *models_cloudbreak.SubscriptionRequest)
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 ¶
func (o *SubscribeSubscriptionParams) WithBody(body *models_cloudbreak.SubscriptionRequest) *SubscribeSubscriptionParams
WithBody adds the body to the subscribe subscription params
func (*SubscribeSubscriptionParams) WithContext ¶
func (o *SubscribeSubscriptionParams) WithContext(ctx context.Context) *SubscribeSubscriptionParams
WithContext adds the context to the subscribe subscription params
func (*SubscribeSubscriptionParams) WithHTTPClient ¶
func (o *SubscribeSubscriptionParams) WithHTTPClient(client *http.Client) *SubscribeSubscriptionParams
WithHTTPClient adds the HTTPClient to the subscribe subscription params
func (*SubscribeSubscriptionParams) WithTimeout ¶
func (o *SubscribeSubscriptionParams) WithTimeout(timeout time.Duration) *SubscribeSubscriptionParams
WithTimeout adds the timeout to the subscribe subscription params
func (*SubscribeSubscriptionParams) WriteToRequest ¶
func (o *SubscribeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.