Documentation ¶
Index ¶
- type AddSubscriptionBadRequest
- type AddSubscriptionConflict
- type AddSubscriptionCreated
- type AddSubscriptionDefault
- type AddSubscriptionForbidden
- 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 *v1.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) SetXDispatchOrg(xDispatchOrg string)
- func (o *AddSubscriptionParams) WithBody(body *v1.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) WithXDispatchOrg(xDispatchOrg string) *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)
- func (a *Client) UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSubscriptionOK, error)
- type DeleteSubscriptionBadRequest
- type DeleteSubscriptionDefault
- type DeleteSubscriptionForbidden
- 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) SetTags(tags []string)
- func (o *DeleteSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionParams) SetXDispatchOrg(xDispatchOrg string)
- 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) WithTags(tags []string) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) WithXDispatchOrg(xDispatchOrg string) *DeleteSubscriptionParams
- func (o *DeleteSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionReader
- type DeleteSubscriptionUnauthorized
- type GetSubscriptionBadRequest
- type GetSubscriptionDefault
- type GetSubscriptionForbidden
- 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) SetTags(tags []string)
- func (o *GetSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionParams) SetXDispatchOrg(xDispatchOrg string)
- 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) WithTags(tags []string) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithXDispatchOrg(xDispatchOrg string) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionReader
- type GetSubscriptionUnauthorized
- type GetSubscriptionsBadRequest
- type GetSubscriptionsDefault
- type GetSubscriptionsForbidden
- 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) SetXDispatchOrg(xDispatchOrg string)
- 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) WithXDispatchOrg(xDispatchOrg string) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionsReader
- type GetSubscriptionsUnauthorized
- type UpdateSubscriptionBadRequest
- type UpdateSubscriptionDefault
- type UpdateSubscriptionForbidden
- type UpdateSubscriptionNotFound
- type UpdateSubscriptionOK
- type UpdateSubscriptionParams
- func NewUpdateSubscriptionParams() *UpdateSubscriptionParams
- func NewUpdateSubscriptionParamsWithContext(ctx context.Context) *UpdateSubscriptionParams
- func NewUpdateSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionParams
- func NewUpdateSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) SetBody(body *v1.Subscription)
- func (o *UpdateSubscriptionParams) SetContext(ctx context.Context)
- func (o *UpdateSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSubscriptionParams) SetSubscriptionName(subscriptionName string)
- func (o *UpdateSubscriptionParams) SetTags(tags []string)
- func (o *UpdateSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSubscriptionParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *UpdateSubscriptionParams) WithBody(body *v1.Subscription) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithContext(ctx context.Context) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithSubscriptionName(subscriptionName string) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithTags(tags []string) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WithXDispatchOrg(xDispatchOrg string) *UpdateSubscriptionParams
- func (o *UpdateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSubscriptionReader
- type UpdateSubscriptionUnauthorized
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 AddSubscriptionConflict ¶ added in v0.1.13
AddSubscriptionConflict handles this case with default header values.
Already Exists
func NewAddSubscriptionConflict ¶ added in v0.1.13
func NewAddSubscriptionConflict() *AddSubscriptionConflict
NewAddSubscriptionConflict creates a AddSubscriptionConflict with default headers values
func (*AddSubscriptionConflict) Error ¶ added in v0.1.13
func (o *AddSubscriptionConflict) Error() string
type AddSubscriptionCreated ¶
type AddSubscriptionCreated struct {
Payload *v1.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 ¶
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 AddSubscriptionForbidden ¶ added in v0.1.18
AddSubscriptionForbidden handles this case with default header values.
access to this resource is forbidden
func NewAddSubscriptionForbidden ¶ added in v0.1.18
func NewAddSubscriptionForbidden() *AddSubscriptionForbidden
NewAddSubscriptionForbidden creates a AddSubscriptionForbidden with default headers values
func (*AddSubscriptionForbidden) Error ¶ added in v0.1.18
func (o *AddSubscriptionForbidden) Error() string
type AddSubscriptionParams ¶
type AddSubscriptionParams struct { /*XDispatchOrg*/ XDispatchOrg string /*Body subscription object */ Body *v1.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 *v1.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) SetXDispatchOrg ¶ added in v0.1.16
func (o *AddSubscriptionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the add subscription params
func (*AddSubscriptionParams) WithBody ¶
func (o *AddSubscriptionParams) WithBody(body *v1.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) WithXDispatchOrg ¶ added in v0.1.16
func (o *AddSubscriptionParams) WithXDispatchOrg(xDispatchOrg string) *AddSubscriptionParams
WithXDispatchOrg adds the xDispatchOrg 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
func (*Client) UpdateSubscription ¶ added in v0.1.13
func (a *Client) UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSubscriptionOK, error)
UpdateSubscription updates subscription by name
Updates a single subscription
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 *v1.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 DeleteSubscriptionForbidden ¶ added in v0.1.18
DeleteSubscriptionForbidden handles this case with default header values.
access to this resource is forbidden
func NewDeleteSubscriptionForbidden ¶ added in v0.1.18
func NewDeleteSubscriptionForbidden() *DeleteSubscriptionForbidden
NewDeleteSubscriptionForbidden creates a DeleteSubscriptionForbidden with default headers values
func (*DeleteSubscriptionForbidden) Error ¶ added in v0.1.18
func (o *DeleteSubscriptionForbidden) 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 *v1.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 { /*XDispatchOrg*/ XDispatchOrg string /*SubscriptionName Name of the subscription to work on */ SubscriptionName string /*Tags Filter based on tags */ Tags []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) SetTags ¶ added in v0.1.13
func (o *DeleteSubscriptionParams) SetTags(tags []string)
SetTags adds the tags 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) SetXDispatchOrg ¶ added in v0.1.16
func (o *DeleteSubscriptionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithTags ¶ added in v0.1.13
func (o *DeleteSubscriptionParams) WithTags(tags []string) *DeleteSubscriptionParams
WithTags adds the tags 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) WithXDispatchOrg ¶ added in v0.1.16
func (o *DeleteSubscriptionParams) WithXDispatchOrg(xDispatchOrg string) *DeleteSubscriptionParams
WithXDispatchOrg adds the xDispatchOrg 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 DeleteSubscriptionUnauthorized ¶ added in v0.1.18
type DeleteSubscriptionUnauthorized struct {
}DeleteSubscriptionUnauthorized handles this case with default header values.
Unauthorized Request
func NewDeleteSubscriptionUnauthorized ¶ added in v0.1.18
func NewDeleteSubscriptionUnauthorized() *DeleteSubscriptionUnauthorized
NewDeleteSubscriptionUnauthorized creates a DeleteSubscriptionUnauthorized with default headers values
func (*DeleteSubscriptionUnauthorized) Error ¶ added in v0.1.18
func (o *DeleteSubscriptionUnauthorized) Error() string
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 ¶
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 GetSubscriptionForbidden ¶ added in v0.1.18
GetSubscriptionForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetSubscriptionForbidden ¶ added in v0.1.18
func NewGetSubscriptionForbidden() *GetSubscriptionForbidden
NewGetSubscriptionForbidden creates a GetSubscriptionForbidden with default headers values
func (*GetSubscriptionForbidden) Error ¶ added in v0.1.18
func (o *GetSubscriptionForbidden) 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 *v1.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 { /*XDispatchOrg*/ XDispatchOrg string /*SubscriptionName Name of the subscription to work on */ SubscriptionName string /*Tags Filter based on tags */ Tags []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) SetTags ¶ added in v0.1.13
func (o *GetSubscriptionParams) SetTags(tags []string)
SetTags adds the tags 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) SetXDispatchOrg ¶ added in v0.1.16
func (o *GetSubscriptionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithTags ¶ added in v0.1.13
func (o *GetSubscriptionParams) WithTags(tags []string) *GetSubscriptionParams
WithTags adds the tags 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) WithXDispatchOrg ¶ added in v0.1.16
func (o *GetSubscriptionParams) WithXDispatchOrg(xDispatchOrg string) *GetSubscriptionParams
WithXDispatchOrg adds the xDispatchOrg 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 GetSubscriptionUnauthorized ¶ added in v0.1.18
type GetSubscriptionUnauthorized struct {
}GetSubscriptionUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetSubscriptionUnauthorized ¶ added in v0.1.18
func NewGetSubscriptionUnauthorized() *GetSubscriptionUnauthorized
NewGetSubscriptionUnauthorized creates a GetSubscriptionUnauthorized with default headers values
func (*GetSubscriptionUnauthorized) Error ¶ added in v0.1.18
func (o *GetSubscriptionUnauthorized) Error() string
type GetSubscriptionsBadRequest ¶ added in v0.1.13
GetSubscriptionsBadRequest handles this case with default header values.
Bad Request
func NewGetSubscriptionsBadRequest ¶ added in v0.1.13
func NewGetSubscriptionsBadRequest() *GetSubscriptionsBadRequest
NewGetSubscriptionsBadRequest creates a GetSubscriptionsBadRequest with default headers values
func (*GetSubscriptionsBadRequest) Error ¶ added in v0.1.13
func (o *GetSubscriptionsBadRequest) Error() string
type GetSubscriptionsDefault ¶
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 GetSubscriptionsForbidden ¶ added in v0.1.18
GetSubscriptionsForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetSubscriptionsForbidden ¶ added in v0.1.18
func NewGetSubscriptionsForbidden() *GetSubscriptionsForbidden
NewGetSubscriptionsForbidden creates a GetSubscriptionsForbidden with default headers values
func (*GetSubscriptionsForbidden) Error ¶ added in v0.1.18
func (o *GetSubscriptionsForbidden) Error() string
type GetSubscriptionsOK ¶
type GetSubscriptionsOK struct {
Payload []*v1.Subscription
}
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 { /*XDispatchOrg*/ XDispatchOrg string /*Tags Filter based on 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) SetXDispatchOrg ¶ added in v0.1.16
func (o *GetSubscriptionsParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg ¶ added in v0.1.16
func (o *GetSubscriptionsParams) WithXDispatchOrg(xDispatchOrg string) *GetSubscriptionsParams
WithXDispatchOrg adds the xDispatchOrg 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.
type GetSubscriptionsUnauthorized ¶ added in v0.1.18
type GetSubscriptionsUnauthorized struct {
}GetSubscriptionsUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetSubscriptionsUnauthorized ¶ added in v0.1.18
func NewGetSubscriptionsUnauthorized() *GetSubscriptionsUnauthorized
NewGetSubscriptionsUnauthorized creates a GetSubscriptionsUnauthorized with default headers values
func (*GetSubscriptionsUnauthorized) Error ¶ added in v0.1.18
func (o *GetSubscriptionsUnauthorized) Error() string
type UpdateSubscriptionBadRequest ¶ added in v0.1.13
UpdateSubscriptionBadRequest handles this case with default header values.
Invalid Name supplied
func NewUpdateSubscriptionBadRequest ¶ added in v0.1.13
func NewUpdateSubscriptionBadRequest() *UpdateSubscriptionBadRequest
NewUpdateSubscriptionBadRequest creates a UpdateSubscriptionBadRequest with default headers values
func (*UpdateSubscriptionBadRequest) Error ¶ added in v0.1.13
func (o *UpdateSubscriptionBadRequest) Error() string
type UpdateSubscriptionDefault ¶ added in v0.1.13
type UpdateSubscriptionDefault struct { Payload *v1.Error // contains filtered or unexported fields }
UpdateSubscriptionDefault handles this case with default header values.
Unknown error
func NewUpdateSubscriptionDefault ¶ added in v0.1.13
func NewUpdateSubscriptionDefault(code int) *UpdateSubscriptionDefault
NewUpdateSubscriptionDefault creates a UpdateSubscriptionDefault with default headers values
func (*UpdateSubscriptionDefault) Code ¶ added in v0.1.13
func (o *UpdateSubscriptionDefault) Code() int
Code gets the status code for the update subscription default response
func (*UpdateSubscriptionDefault) Error ¶ added in v0.1.13
func (o *UpdateSubscriptionDefault) Error() string
type UpdateSubscriptionForbidden ¶ added in v0.1.18
UpdateSubscriptionForbidden handles this case with default header values.
access to this resource is forbidden
func NewUpdateSubscriptionForbidden ¶ added in v0.1.18
func NewUpdateSubscriptionForbidden() *UpdateSubscriptionForbidden
NewUpdateSubscriptionForbidden creates a UpdateSubscriptionForbidden with default headers values
func (*UpdateSubscriptionForbidden) Error ¶ added in v0.1.18
func (o *UpdateSubscriptionForbidden) Error() string
type UpdateSubscriptionNotFound ¶ added in v0.1.13
UpdateSubscriptionNotFound handles this case with default header values.
Subscription not found
func NewUpdateSubscriptionNotFound ¶ added in v0.1.13
func NewUpdateSubscriptionNotFound() *UpdateSubscriptionNotFound
NewUpdateSubscriptionNotFound creates a UpdateSubscriptionNotFound with default headers values
func (*UpdateSubscriptionNotFound) Error ¶ added in v0.1.13
func (o *UpdateSubscriptionNotFound) Error() string
type UpdateSubscriptionOK ¶ added in v0.1.13
type UpdateSubscriptionOK struct {
Payload *v1.Subscription
}
UpdateSubscriptionOK handles this case with default header values.
Successful operation
func NewUpdateSubscriptionOK ¶ added in v0.1.13
func NewUpdateSubscriptionOK() *UpdateSubscriptionOK
NewUpdateSubscriptionOK creates a UpdateSubscriptionOK with default headers values
func (*UpdateSubscriptionOK) Error ¶ added in v0.1.13
func (o *UpdateSubscriptionOK) Error() string
type UpdateSubscriptionParams ¶ added in v0.1.13
type UpdateSubscriptionParams struct { /*XDispatchOrg*/ XDispatchOrg string /*Body subscription object */ Body *v1.Subscription /*SubscriptionName Name of the subscription to work on */ SubscriptionName string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSubscriptionParams contains all the parameters to send to the API endpoint for the update subscription operation typically these are written to a http.Request
func NewUpdateSubscriptionParams ¶ added in v0.1.13
func NewUpdateSubscriptionParams() *UpdateSubscriptionParams
NewUpdateSubscriptionParams creates a new UpdateSubscriptionParams object with the default values initialized.
func NewUpdateSubscriptionParamsWithContext ¶ added in v0.1.13
func NewUpdateSubscriptionParamsWithContext(ctx context.Context) *UpdateSubscriptionParams
NewUpdateSubscriptionParamsWithContext creates a new UpdateSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSubscriptionParamsWithHTTPClient ¶ added in v0.1.13
func NewUpdateSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionParams
NewUpdateSubscriptionParamsWithHTTPClient creates a new UpdateSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSubscriptionParamsWithTimeout ¶ added in v0.1.13
func NewUpdateSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionParams
NewUpdateSubscriptionParamsWithTimeout creates a new UpdateSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSubscriptionParams) SetBody ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) SetBody(body *v1.Subscription)
SetBody adds the body to the update subscription params
func (*UpdateSubscriptionParams) SetContext ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the update subscription params
func (*UpdateSubscriptionParams) SetHTTPClient ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update subscription params
func (*UpdateSubscriptionParams) SetSubscriptionName ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) SetSubscriptionName(subscriptionName string)
SetSubscriptionName adds the subscriptionName to the update subscription params
func (*UpdateSubscriptionParams) SetTags ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) SetTags(tags []string)
SetTags adds the tags to the update subscription params
func (*UpdateSubscriptionParams) SetTimeout ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update subscription params
func (*UpdateSubscriptionParams) SetXDispatchOrg ¶ added in v0.1.16
func (o *UpdateSubscriptionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the update subscription params
func (*UpdateSubscriptionParams) WithBody ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) WithBody(body *v1.Subscription) *UpdateSubscriptionParams
WithBody adds the body to the update subscription params
func (*UpdateSubscriptionParams) WithContext ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) WithContext(ctx context.Context) *UpdateSubscriptionParams
WithContext adds the context to the update subscription params
func (*UpdateSubscriptionParams) WithHTTPClient ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionParams
WithHTTPClient adds the HTTPClient to the update subscription params
func (*UpdateSubscriptionParams) WithSubscriptionName ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) WithSubscriptionName(subscriptionName string) *UpdateSubscriptionParams
WithSubscriptionName adds the subscriptionName to the update subscription params
func (*UpdateSubscriptionParams) WithTags ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) WithTags(tags []string) *UpdateSubscriptionParams
WithTags adds the tags to the update subscription params
func (*UpdateSubscriptionParams) WithTimeout ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionParams
WithTimeout adds the timeout to the update subscription params
func (*UpdateSubscriptionParams) WithXDispatchOrg ¶ added in v0.1.16
func (o *UpdateSubscriptionParams) WithXDispatchOrg(xDispatchOrg string) *UpdateSubscriptionParams
WithXDispatchOrg adds the xDispatchOrg to the update subscription params
func (*UpdateSubscriptionParams) WriteToRequest ¶ added in v0.1.13
func (o *UpdateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSubscriptionReader ¶ added in v0.1.13
type UpdateSubscriptionReader struct {
// contains filtered or unexported fields
}
UpdateSubscriptionReader is a Reader for the UpdateSubscription structure.
func (*UpdateSubscriptionReader) ReadResponse ¶ added in v0.1.13
func (o *UpdateSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSubscriptionUnauthorized ¶ added in v0.1.18
type UpdateSubscriptionUnauthorized struct {
}UpdateSubscriptionUnauthorized handles this case with default header values.
Unauthorized Request
func NewUpdateSubscriptionUnauthorized ¶ added in v0.1.18
func NewUpdateSubscriptionUnauthorized() *UpdateSubscriptionUnauthorized
NewUpdateSubscriptionUnauthorized creates a UpdateSubscriptionUnauthorized with default headers values
func (*UpdateSubscriptionUnauthorized) Error ¶ added in v0.1.18
func (o *UpdateSubscriptionUnauthorized) Error() string
Source Files ¶
- add_subscription_parameters.go
- add_subscription_responses.go
- delete_subscription_parameters.go
- delete_subscription_responses.go
- get_subscription_parameters.go
- get_subscription_responses.go
- get_subscriptions_parameters.go
- get_subscriptions_responses.go
- subscriptions_client.go
- update_subscription_parameters.go
- update_subscription_responses.go