Documentation ¶
Index ¶
- type AddSubscriptionBadRequest
- type AddSubscriptionCreated
- type AddSubscriptionDefault
- type AddSubscriptionInternalServerError
- type AddSubscriptionParams
- func NewAddSubscriptionParams() *AddSubscriptionParams
- func NewAddSubscriptionParamsWithContext(ctx context.Context) *AddSubscriptionParams
- func NewAddSubscriptionParamsWithHTTPClient(client *http.Client) *AddSubscriptionParams
- func NewAddSubscriptionParamsWithTimeout(timeout time.Duration) *AddSubscriptionParams
- func (o *AddSubscriptionParams) SetBody(body *models.Subscription)
- func (o *AddSubscriptionParams) SetContext(ctx context.Context)
- func (o *AddSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *AddSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *AddSubscriptionParams) WithBody(body *models.Subscription) *AddSubscriptionParams
- func (o *AddSubscriptionParams) WithContext(ctx context.Context) *AddSubscriptionParams
- func (o *AddSubscriptionParams) WithHTTPClient(client *http.Client) *AddSubscriptionParams
- func (o *AddSubscriptionParams) WithTimeout(timeout time.Duration) *AddSubscriptionParams
- func (o *AddSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSubscriptionReader
- type AddSubscriptionUnauthorized
- type Client
- func (a *Client) AddSubscription(params *AddSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*AddSubscriptionCreated, error)
- func (a *Client) DeleteSubscription(params *DeleteSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionOK, error)
- func (a *Client) GetSubscription(params *GetSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionOK, error)
- func (a *Client) GetSubscriptions(params *GetSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteSubscriptionBadRequest
- type DeleteSubscriptionDefault
- type DeleteSubscriptionInternalServerError
- type DeleteSubscriptionNotFound
- type DeleteSubscriptionOK
- type DeleteSubscriptionParams
- func NewDeleteSubscriptionParams() *DeleteSubscriptionParams
- func NewDeleteSubscriptionParamsWithContext(ctx context.Context) *DeleteSubscriptionParams
- func NewDeleteSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionParams
- func NewDeleteSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionParams) SetSubscriptionName(subscriptionName string)
- func (o *DeleteSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionParams) WithContext(ctx context.Context) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) WithSubscriptionName(subscriptionName string) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionReader
- type GetSubscriptionBadRequest
- type GetSubscriptionDefault
- type GetSubscriptionInternalServerError
- type GetSubscriptionNotFound
- type GetSubscriptionOK
- type GetSubscriptionParams
- func NewGetSubscriptionParams() *GetSubscriptionParams
- func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionParams) SetSubscriptionName(subscriptionName string)
- func (o *GetSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithHTTPClient(client *http.Client) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithSubscriptionName(subscriptionName string) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionReader
- type GetSubscriptionsDefault
- type GetSubscriptionsInternalServerError
- type GetSubscriptionsOK
- type GetSubscriptionsParams
- func NewGetSubscriptionsParams() *GetSubscriptionsParams
- func NewGetSubscriptionsParamsWithContext(ctx context.Context) *GetSubscriptionsParams
- func NewGetSubscriptionsParamsWithHTTPClient(client *http.Client) *GetSubscriptionsParams
- func NewGetSubscriptionsParamsWithTimeout(timeout time.Duration) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionsParams) SetTags(tags []string)
- func (o *GetSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionsParams) WithContext(ctx context.Context) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithHTTPClient(client *http.Client) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithTags(tags []string) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithTimeout(timeout time.Duration) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSubscriptionBadRequest ¶
AddSubscriptionBadRequest handles this case with default header values.
Invalid input
func NewAddSubscriptionBadRequest ¶
func NewAddSubscriptionBadRequest() *AddSubscriptionBadRequest
NewAddSubscriptionBadRequest creates a AddSubscriptionBadRequest with default headers values
func (*AddSubscriptionBadRequest) Error ¶
func (o *AddSubscriptionBadRequest) Error() string
type AddSubscriptionCreated ¶
type AddSubscriptionCreated struct {
Payload *models.Subscription
}
AddSubscriptionCreated handles this case with default header values.
Subscription created
func NewAddSubscriptionCreated ¶
func NewAddSubscriptionCreated() *AddSubscriptionCreated
NewAddSubscriptionCreated creates a AddSubscriptionCreated with default headers values
func (*AddSubscriptionCreated) Error ¶
func (o *AddSubscriptionCreated) Error() string
type AddSubscriptionDefault ¶
type AddSubscriptionDefault struct { Payload *models.Error // contains filtered or unexported fields }
AddSubscriptionDefault handles this case with default header values.
Unknown error
func NewAddSubscriptionDefault ¶
func NewAddSubscriptionDefault(code int) *AddSubscriptionDefault
NewAddSubscriptionDefault creates a AddSubscriptionDefault with default headers values
func (*AddSubscriptionDefault) Code ¶
func (o *AddSubscriptionDefault) Code() int
Code gets the status code for the add subscription default response
func (*AddSubscriptionDefault) Error ¶
func (o *AddSubscriptionDefault) Error() string
type AddSubscriptionInternalServerError ¶
AddSubscriptionInternalServerError handles this case with default header values.
Internal server error
func NewAddSubscriptionInternalServerError ¶
func NewAddSubscriptionInternalServerError() *AddSubscriptionInternalServerError
NewAddSubscriptionInternalServerError creates a AddSubscriptionInternalServerError with default headers values
func (*AddSubscriptionInternalServerError) Error ¶
func (o *AddSubscriptionInternalServerError) Error() string
type AddSubscriptionParams ¶
type AddSubscriptionParams struct { /*Body subscription object */ Body *models.Subscription Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddSubscriptionParams contains all the parameters to send to the API endpoint for the add subscription operation typically these are written to a http.Request
func NewAddSubscriptionParams ¶
func NewAddSubscriptionParams() *AddSubscriptionParams
NewAddSubscriptionParams creates a new AddSubscriptionParams object with the default values initialized.
func NewAddSubscriptionParamsWithContext ¶
func NewAddSubscriptionParamsWithContext(ctx context.Context) *AddSubscriptionParams
NewAddSubscriptionParamsWithContext creates a new AddSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewAddSubscriptionParamsWithHTTPClient ¶
func NewAddSubscriptionParamsWithHTTPClient(client *http.Client) *AddSubscriptionParams
NewAddSubscriptionParamsWithHTTPClient creates a new AddSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddSubscriptionParamsWithTimeout ¶
func NewAddSubscriptionParamsWithTimeout(timeout time.Duration) *AddSubscriptionParams
NewAddSubscriptionParamsWithTimeout creates a new AddSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddSubscriptionParams) SetBody ¶
func (o *AddSubscriptionParams) SetBody(body *models.Subscription)
SetBody adds the body to the add subscription params
func (*AddSubscriptionParams) SetContext ¶
func (o *AddSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the add subscription params
func (*AddSubscriptionParams) SetHTTPClient ¶
func (o *AddSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add subscription params
func (*AddSubscriptionParams) SetTimeout ¶
func (o *AddSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add subscription params
func (*AddSubscriptionParams) WithBody ¶
func (o *AddSubscriptionParams) WithBody(body *models.Subscription) *AddSubscriptionParams
WithBody adds the body to the add subscription params
func (*AddSubscriptionParams) WithContext ¶
func (o *AddSubscriptionParams) WithContext(ctx context.Context) *AddSubscriptionParams
WithContext adds the context to the add subscription params
func (*AddSubscriptionParams) WithHTTPClient ¶
func (o *AddSubscriptionParams) WithHTTPClient(client *http.Client) *AddSubscriptionParams
WithHTTPClient adds the HTTPClient to the add subscription params
func (*AddSubscriptionParams) WithTimeout ¶
func (o *AddSubscriptionParams) WithTimeout(timeout time.Duration) *AddSubscriptionParams
WithTimeout adds the timeout to the add subscription params
func (*AddSubscriptionParams) WriteToRequest ¶
func (o *AddSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddSubscriptionReader ¶
type AddSubscriptionReader struct {
// contains filtered or unexported fields
}
AddSubscriptionReader is a Reader for the AddSubscription structure.
func (*AddSubscriptionReader) ReadResponse ¶
func (o *AddSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddSubscriptionUnauthorized ¶
type AddSubscriptionUnauthorized struct {
}AddSubscriptionUnauthorized handles this case with default header values.
Unauthorized Request
func NewAddSubscriptionUnauthorized ¶
func NewAddSubscriptionUnauthorized() *AddSubscriptionUnauthorized
NewAddSubscriptionUnauthorized creates a AddSubscriptionUnauthorized with default headers values
func (*AddSubscriptionUnauthorized) Error ¶
func (o *AddSubscriptionUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for subscriptions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new subscriptions API client.
func (*Client) AddSubscription ¶
func (a *Client) AddSubscription(params *AddSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*AddSubscriptionCreated, error)
AddSubscription adds a new subscription
func (*Client) DeleteSubscription ¶
func (a *Client) DeleteSubscription(params *DeleteSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionOK, error)
DeleteSubscription deletes a subscription
func (*Client) GetSubscription ¶
func (a *Client) GetSubscription(params *GetSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionOK, error)
GetSubscription finds subscription by name
Returns a single subscription
func (*Client) GetSubscriptions ¶
func (a *Client) GetSubscriptions(params *GetSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionsOK, error)
GetSubscriptions lists all existing subscriptions
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteSubscriptionBadRequest ¶
DeleteSubscriptionBadRequest handles this case with default header values.
Invalid ID supplied
func NewDeleteSubscriptionBadRequest ¶
func NewDeleteSubscriptionBadRequest() *DeleteSubscriptionBadRequest
NewDeleteSubscriptionBadRequest creates a DeleteSubscriptionBadRequest with default headers values
func (*DeleteSubscriptionBadRequest) Error ¶
func (o *DeleteSubscriptionBadRequest) Error() string
type DeleteSubscriptionDefault ¶
type DeleteSubscriptionDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteSubscriptionDefault handles this case with default header values.
Generic error response
func NewDeleteSubscriptionDefault ¶
func NewDeleteSubscriptionDefault(code int) *DeleteSubscriptionDefault
NewDeleteSubscriptionDefault creates a DeleteSubscriptionDefault with default headers values
func (*DeleteSubscriptionDefault) Code ¶
func (o *DeleteSubscriptionDefault) Code() int
Code gets the status code for the delete subscription default response
func (*DeleteSubscriptionDefault) Error ¶
func (o *DeleteSubscriptionDefault) Error() string
type DeleteSubscriptionInternalServerError ¶
DeleteSubscriptionInternalServerError handles this case with default header values.
Internal server error
func NewDeleteSubscriptionInternalServerError ¶
func NewDeleteSubscriptionInternalServerError() *DeleteSubscriptionInternalServerError
NewDeleteSubscriptionInternalServerError creates a DeleteSubscriptionInternalServerError with default headers values
func (*DeleteSubscriptionInternalServerError) Error ¶
func (o *DeleteSubscriptionInternalServerError) Error() string
type DeleteSubscriptionNotFound ¶
DeleteSubscriptionNotFound handles this case with default header values.
Subscription not found
func NewDeleteSubscriptionNotFound ¶
func NewDeleteSubscriptionNotFound() *DeleteSubscriptionNotFound
NewDeleteSubscriptionNotFound creates a DeleteSubscriptionNotFound with default headers values
func (*DeleteSubscriptionNotFound) Error ¶
func (o *DeleteSubscriptionNotFound) Error() string
type DeleteSubscriptionOK ¶
type DeleteSubscriptionOK struct {
Payload *models.Subscription
}
DeleteSubscriptionOK handles this case with default header values.
successful operation
func NewDeleteSubscriptionOK ¶
func NewDeleteSubscriptionOK() *DeleteSubscriptionOK
NewDeleteSubscriptionOK creates a DeleteSubscriptionOK with default headers values
func (*DeleteSubscriptionOK) Error ¶
func (o *DeleteSubscriptionOK) Error() string
type DeleteSubscriptionParams ¶
type DeleteSubscriptionParams struct { /*SubscriptionName Name of the subscription to work on */ SubscriptionName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSubscriptionParams contains all the parameters to send to the API endpoint for the delete subscription operation typically these are written to a http.Request
func NewDeleteSubscriptionParams ¶
func NewDeleteSubscriptionParams() *DeleteSubscriptionParams
NewDeleteSubscriptionParams creates a new DeleteSubscriptionParams object with the default values initialized.
func NewDeleteSubscriptionParamsWithContext ¶
func NewDeleteSubscriptionParamsWithContext(ctx context.Context) *DeleteSubscriptionParams
NewDeleteSubscriptionParamsWithContext creates a new DeleteSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSubscriptionParamsWithHTTPClient ¶
func NewDeleteSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionParams
NewDeleteSubscriptionParamsWithHTTPClient creates a new DeleteSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSubscriptionParamsWithTimeout ¶
func NewDeleteSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionParams
NewDeleteSubscriptionParamsWithTimeout creates a new DeleteSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSubscriptionParams) SetContext ¶
func (o *DeleteSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete subscription params
func (*DeleteSubscriptionParams) SetHTTPClient ¶
func (o *DeleteSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete subscription params
func (*DeleteSubscriptionParams) SetSubscriptionName ¶
func (o *DeleteSubscriptionParams) SetSubscriptionName(subscriptionName string)
SetSubscriptionName adds the subscriptionName to the delete subscription params
func (*DeleteSubscriptionParams) SetTimeout ¶
func (o *DeleteSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete subscription params
func (*DeleteSubscriptionParams) WithContext ¶
func (o *DeleteSubscriptionParams) WithContext(ctx context.Context) *DeleteSubscriptionParams
WithContext adds the context to the delete subscription params
func (*DeleteSubscriptionParams) WithHTTPClient ¶
func (o *DeleteSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionParams
WithHTTPClient adds the HTTPClient to the delete subscription params
func (*DeleteSubscriptionParams) WithSubscriptionName ¶
func (o *DeleteSubscriptionParams) WithSubscriptionName(subscriptionName string) *DeleteSubscriptionParams
WithSubscriptionName adds the subscriptionName to the delete subscription params
func (*DeleteSubscriptionParams) WithTimeout ¶
func (o *DeleteSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionParams
WithTimeout adds the timeout to the delete subscription params
func (*DeleteSubscriptionParams) WriteToRequest ¶
func (o *DeleteSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSubscriptionReader ¶
type DeleteSubscriptionReader struct {
// contains filtered or unexported fields
}
DeleteSubscriptionReader is a Reader for the DeleteSubscription structure.
func (*DeleteSubscriptionReader) ReadResponse ¶
func (o *DeleteSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionBadRequest ¶
GetSubscriptionBadRequest handles this case with default header values.
Invalid Name supplied
func NewGetSubscriptionBadRequest ¶
func NewGetSubscriptionBadRequest() *GetSubscriptionBadRequest
NewGetSubscriptionBadRequest creates a GetSubscriptionBadRequest with default headers values
func (*GetSubscriptionBadRequest) Error ¶
func (o *GetSubscriptionBadRequest) Error() string
type GetSubscriptionDefault ¶
type GetSubscriptionDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetSubscriptionDefault handles this case with default header values.
Unknown error
func NewGetSubscriptionDefault ¶
func NewGetSubscriptionDefault(code int) *GetSubscriptionDefault
NewGetSubscriptionDefault creates a GetSubscriptionDefault with default headers values
func (*GetSubscriptionDefault) Code ¶
func (o *GetSubscriptionDefault) Code() int
Code gets the status code for the get subscription default response
func (*GetSubscriptionDefault) Error ¶
func (o *GetSubscriptionDefault) Error() string
type GetSubscriptionInternalServerError ¶
GetSubscriptionInternalServerError handles this case with default header values.
Internal server error
func NewGetSubscriptionInternalServerError ¶
func NewGetSubscriptionInternalServerError() *GetSubscriptionInternalServerError
NewGetSubscriptionInternalServerError creates a GetSubscriptionInternalServerError with default headers values
func (*GetSubscriptionInternalServerError) Error ¶
func (o *GetSubscriptionInternalServerError) Error() string
type GetSubscriptionNotFound ¶
GetSubscriptionNotFound handles this case with default header values.
Subscription not found
func NewGetSubscriptionNotFound ¶
func NewGetSubscriptionNotFound() *GetSubscriptionNotFound
NewGetSubscriptionNotFound creates a GetSubscriptionNotFound with default headers values
func (*GetSubscriptionNotFound) Error ¶
func (o *GetSubscriptionNotFound) Error() string
type GetSubscriptionOK ¶
type GetSubscriptionOK struct {
Payload *models.Subscription
}
GetSubscriptionOK handles this case with default header values.
Successful operation
func NewGetSubscriptionOK ¶
func NewGetSubscriptionOK() *GetSubscriptionOK
NewGetSubscriptionOK creates a GetSubscriptionOK with default headers values
func (*GetSubscriptionOK) Error ¶
func (o *GetSubscriptionOK) Error() string
type GetSubscriptionParams ¶
type GetSubscriptionParams struct { /*SubscriptionName Name of the subscription to work on */ SubscriptionName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubscriptionParams contains all the parameters to send to the API endpoint for the get subscription operation typically these are written to a http.Request
func NewGetSubscriptionParams ¶
func NewGetSubscriptionParams() *GetSubscriptionParams
NewGetSubscriptionParams creates a new GetSubscriptionParams object with the default values initialized.
func NewGetSubscriptionParamsWithContext ¶
func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams
NewGetSubscriptionParamsWithContext creates a new GetSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewGetSubscriptionParamsWithHTTPClient ¶
func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams
NewGetSubscriptionParamsWithHTTPClient creates a new GetSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSubscriptionParamsWithTimeout ¶
func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams
NewGetSubscriptionParamsWithTimeout creates a new GetSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSubscriptionParams) SetContext ¶
func (o *GetSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscription params
func (*GetSubscriptionParams) SetHTTPClient ¶
func (o *GetSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscription params
func (*GetSubscriptionParams) SetSubscriptionName ¶
func (o *GetSubscriptionParams) SetSubscriptionName(subscriptionName string)
SetSubscriptionName adds the subscriptionName to the get subscription params
func (*GetSubscriptionParams) SetTimeout ¶
func (o *GetSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscription params
func (*GetSubscriptionParams) WithContext ¶
func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
WithContext adds the context to the get subscription params
func (*GetSubscriptionParams) WithHTTPClient ¶
func (o *GetSubscriptionParams) WithHTTPClient(client *http.Client) *GetSubscriptionParams
WithHTTPClient adds the HTTPClient to the get subscription params
func (*GetSubscriptionParams) WithSubscriptionName ¶
func (o *GetSubscriptionParams) WithSubscriptionName(subscriptionName string) *GetSubscriptionParams
WithSubscriptionName adds the subscriptionName to the get subscription params
func (*GetSubscriptionParams) WithTimeout ¶
func (o *GetSubscriptionParams) WithTimeout(timeout time.Duration) *GetSubscriptionParams
WithTimeout adds the timeout to the get subscription params
func (*GetSubscriptionParams) WriteToRequest ¶
func (o *GetSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionReader ¶
type GetSubscriptionReader struct {
// contains filtered or unexported fields
}
GetSubscriptionReader is a Reader for the GetSubscription structure.
func (*GetSubscriptionReader) ReadResponse ¶
func (o *GetSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionsDefault ¶
type GetSubscriptionsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetSubscriptionsDefault handles this case with default header values.
Unknown error
func NewGetSubscriptionsDefault ¶
func NewGetSubscriptionsDefault(code int) *GetSubscriptionsDefault
NewGetSubscriptionsDefault creates a GetSubscriptionsDefault with default headers values
func (*GetSubscriptionsDefault) Code ¶
func (o *GetSubscriptionsDefault) Code() int
Code gets the status code for the get subscriptions default response
func (*GetSubscriptionsDefault) Error ¶
func (o *GetSubscriptionsDefault) Error() string
type GetSubscriptionsInternalServerError ¶
GetSubscriptionsInternalServerError handles this case with default header values.
Internal server error
func NewGetSubscriptionsInternalServerError ¶
func NewGetSubscriptionsInternalServerError() *GetSubscriptionsInternalServerError
NewGetSubscriptionsInternalServerError creates a GetSubscriptionsInternalServerError with default headers values
func (*GetSubscriptionsInternalServerError) Error ¶
func (o *GetSubscriptionsInternalServerError) Error() string
type GetSubscriptionsOK ¶
type GetSubscriptionsOK struct {
Payload models.GetSubscriptionsOKBody
}
GetSubscriptionsOK handles this case with default header values.
Successful operation
func NewGetSubscriptionsOK ¶
func NewGetSubscriptionsOK() *GetSubscriptionsOK
NewGetSubscriptionsOK creates a GetSubscriptionsOK with default headers values
func (*GetSubscriptionsOK) Error ¶
func (o *GetSubscriptionsOK) Error() string
type GetSubscriptionsParams ¶
type GetSubscriptionsParams struct { /*Tags Filter on subscription tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubscriptionsParams contains all the parameters to send to the API endpoint for the get subscriptions operation typically these are written to a http.Request
func NewGetSubscriptionsParams ¶
func NewGetSubscriptionsParams() *GetSubscriptionsParams
NewGetSubscriptionsParams creates a new GetSubscriptionsParams object with the default values initialized.
func NewGetSubscriptionsParamsWithContext ¶
func NewGetSubscriptionsParamsWithContext(ctx context.Context) *GetSubscriptionsParams
NewGetSubscriptionsParamsWithContext creates a new GetSubscriptionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetSubscriptionsParamsWithHTTPClient ¶
func NewGetSubscriptionsParamsWithHTTPClient(client *http.Client) *GetSubscriptionsParams
NewGetSubscriptionsParamsWithHTTPClient creates a new GetSubscriptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSubscriptionsParamsWithTimeout ¶
func NewGetSubscriptionsParamsWithTimeout(timeout time.Duration) *GetSubscriptionsParams
NewGetSubscriptionsParamsWithTimeout creates a new GetSubscriptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSubscriptionsParams) SetContext ¶
func (o *GetSubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscriptions params
func (*GetSubscriptionsParams) SetHTTPClient ¶
func (o *GetSubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscriptions params
func (*GetSubscriptionsParams) SetTags ¶
func (o *GetSubscriptionsParams) SetTags(tags []string)
SetTags adds the tags to the get subscriptions params
func (*GetSubscriptionsParams) SetTimeout ¶
func (o *GetSubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscriptions params
func (*GetSubscriptionsParams) WithContext ¶
func (o *GetSubscriptionsParams) WithContext(ctx context.Context) *GetSubscriptionsParams
WithContext adds the context to the get subscriptions params
func (*GetSubscriptionsParams) WithHTTPClient ¶
func (o *GetSubscriptionsParams) WithHTTPClient(client *http.Client) *GetSubscriptionsParams
WithHTTPClient adds the HTTPClient to the get subscriptions params
func (*GetSubscriptionsParams) WithTags ¶
func (o *GetSubscriptionsParams) WithTags(tags []string) *GetSubscriptionsParams
WithTags adds the tags to the get subscriptions params
func (*GetSubscriptionsParams) WithTimeout ¶
func (o *GetSubscriptionsParams) WithTimeout(timeout time.Duration) *GetSubscriptionsParams
WithTimeout adds the timeout to the get subscriptions params
func (*GetSubscriptionsParams) WriteToRequest ¶
func (o *GetSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionsReader ¶
type GetSubscriptionsReader struct {
// contains filtered or unexported fields
}
GetSubscriptionsReader is a Reader for the GetSubscriptions structure.
func (*GetSubscriptionsReader) ReadResponse ¶
func (o *GetSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.