Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteSubscriptionsID(params *DeleteSubscriptionsIDParams) (*DeleteSubscriptionsIDNoContent, error)
- func (a *Client) GetSubscriptions(params *GetSubscriptionsParams) (*GetSubscriptionsOK, error)
- func (a *Client) GetSubscriptionsID(params *GetSubscriptionsIDParams) (*GetSubscriptionsIDOK, error)
- func (a *Client) PatchSubscriptionsID(params *PatchSubscriptionsIDParams) (*PatchSubscriptionsIDOK, error)
- func (a *Client) PostSubscriptions(params *PostSubscriptionsParams) (*PostSubscriptionsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteSubscriptionsIDNoContent
- type DeleteSubscriptionsIDParams
- func NewDeleteSubscriptionsIDParams() *DeleteSubscriptionsIDParams
- func NewDeleteSubscriptionsIDParamsWithContext(ctx context.Context) *DeleteSubscriptionsIDParams
- func NewDeleteSubscriptionsIDParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionsIDParams
- func NewDeleteSubscriptionsIDParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionsIDParams
- func (o *DeleteSubscriptionsIDParams) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionsIDParams) SetID(id strfmt.UUID)
- func (o *DeleteSubscriptionsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionsIDParams) SetVersion(version int64)
- func (o *DeleteSubscriptionsIDParams) WithContext(ctx context.Context) *DeleteSubscriptionsIDParams
- func (o *DeleteSubscriptionsIDParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionsIDParams
- func (o *DeleteSubscriptionsIDParams) WithID(id strfmt.UUID) *DeleteSubscriptionsIDParams
- func (o *DeleteSubscriptionsIDParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionsIDParams
- func (o *DeleteSubscriptionsIDParams) WithVersion(version int64) *DeleteSubscriptionsIDParams
- func (o *DeleteSubscriptionsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionsIDReader
- type GetSubscriptionsIDOK
- type GetSubscriptionsIDParams
- func NewGetSubscriptionsIDParams() *GetSubscriptionsIDParams
- func NewGetSubscriptionsIDParamsWithContext(ctx context.Context) *GetSubscriptionsIDParams
- func NewGetSubscriptionsIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionsIDParams
- func NewGetSubscriptionsIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionsIDParams
- func (o *GetSubscriptionsIDParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionsIDParams) SetID(id strfmt.UUID)
- func (o *GetSubscriptionsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionsIDParams) WithContext(ctx context.Context) *GetSubscriptionsIDParams
- func (o *GetSubscriptionsIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionsIDParams
- func (o *GetSubscriptionsIDParams) WithID(id strfmt.UUID) *GetSubscriptionsIDParams
- func (o *GetSubscriptionsIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionsIDParams
- func (o *GetSubscriptionsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionsIDReader
- 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) SetFilterEventType(filterEventType []string)
- func (o *GetSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionsParams) SetPageNumber(pageNumber *int64)
- func (o *GetSubscriptionsParams) SetPageSize(pageSize *int64)
- func (o *GetSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionsParams) WithContext(ctx context.Context) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithFilterEventType(filterEventType []string) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithHTTPClient(client *http.Client) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithPageNumber(pageNumber *int64) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithPageSize(pageSize *int64) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WithTimeout(timeout time.Duration) *GetSubscriptionsParams
- func (o *GetSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionsReader
- type PatchSubscriptionsIDOK
- type PatchSubscriptionsIDParams
- func NewPatchSubscriptionsIDParams() *PatchSubscriptionsIDParams
- func NewPatchSubscriptionsIDParamsWithContext(ctx context.Context) *PatchSubscriptionsIDParams
- func NewPatchSubscriptionsIDParamsWithHTTPClient(client *http.Client) *PatchSubscriptionsIDParams
- func NewPatchSubscriptionsIDParamsWithTimeout(timeout time.Duration) *PatchSubscriptionsIDParams
- func (o *PatchSubscriptionsIDParams) SetContext(ctx context.Context)
- func (o *PatchSubscriptionsIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchSubscriptionsIDParams) SetID(id strfmt.UUID)
- func (o *PatchSubscriptionsIDParams) SetSubscriptionUpdateRequest(subscriptionUpdateRequest *models.SubscriptionCreation)
- func (o *PatchSubscriptionsIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchSubscriptionsIDParams) WithContext(ctx context.Context) *PatchSubscriptionsIDParams
- func (o *PatchSubscriptionsIDParams) WithHTTPClient(client *http.Client) *PatchSubscriptionsIDParams
- func (o *PatchSubscriptionsIDParams) WithID(id strfmt.UUID) *PatchSubscriptionsIDParams
- func (o *PatchSubscriptionsIDParams) WithSubscriptionUpdateRequest(subscriptionUpdateRequest *models.SubscriptionCreation) *PatchSubscriptionsIDParams
- func (o *PatchSubscriptionsIDParams) WithTimeout(timeout time.Duration) *PatchSubscriptionsIDParams
- func (o *PatchSubscriptionsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchSubscriptionsIDReader
- type PostSubscriptionsCreated
- type PostSubscriptionsParams
- func NewPostSubscriptionsParams() *PostSubscriptionsParams
- func NewPostSubscriptionsParamsWithContext(ctx context.Context) *PostSubscriptionsParams
- func NewPostSubscriptionsParamsWithHTTPClient(client *http.Client) *PostSubscriptionsParams
- func NewPostSubscriptionsParamsWithTimeout(timeout time.Duration) *PostSubscriptionsParams
- func (o *PostSubscriptionsParams) SetContext(ctx context.Context)
- func (o *PostSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *PostSubscriptionsParams) SetSubscriptionCreationRequest(subscriptionCreationRequest *models.SubscriptionCreation)
- func (o *PostSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *PostSubscriptionsParams) WithContext(ctx context.Context) *PostSubscriptionsParams
- func (o *PostSubscriptionsParams) WithHTTPClient(client *http.Client) *PostSubscriptionsParams
- func (o *PostSubscriptionsParams) WithSubscriptionCreationRequest(subscriptionCreationRequest *models.SubscriptionCreation) *PostSubscriptionsParams
- func (o *PostSubscriptionsParams) WithTimeout(timeout time.Duration) *PostSubscriptionsParams
- func (o *PostSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostSubscriptionsReader
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 subscriptions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new subscriptions API client.
func (*Client) DeleteSubscriptionsID ¶
func (a *Client) DeleteSubscriptionsID(params *DeleteSubscriptionsIDParams) (*DeleteSubscriptionsIDNoContent, error)
DeleteSubscriptionsID deletes a subscription
func (*Client) GetSubscriptions ¶
func (a *Client) GetSubscriptions(params *GetSubscriptionsParams) (*GetSubscriptionsOK, error)
GetSubscriptions lists all subscriptions
func (*Client) GetSubscriptionsID ¶
func (a *Client) GetSubscriptionsID(params *GetSubscriptionsIDParams) (*GetSubscriptionsIDOK, error)
GetSubscriptionsID fetches subscription
func (*Client) PatchSubscriptionsID ¶
func (a *Client) PatchSubscriptionsID(params *PatchSubscriptionsIDParams) (*PatchSubscriptionsIDOK, error)
PatchSubscriptionsID edits subscription details
func (*Client) PostSubscriptions ¶
func (a *Client) PostSubscriptions(params *PostSubscriptionsParams) (*PostSubscriptionsCreated, error)
PostSubscriptions creates subscription
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteSubscriptionsIDNoContent ¶
type DeleteSubscriptionsIDNoContent struct { }
DeleteSubscriptionsIDNoContent handles this case with default header values.
Subscription deleted OK. No body content will be returned
func NewDeleteSubscriptionsIDNoContent ¶
func NewDeleteSubscriptionsIDNoContent() *DeleteSubscriptionsIDNoContent
NewDeleteSubscriptionsIDNoContent creates a DeleteSubscriptionsIDNoContent with default headers values
func (*DeleteSubscriptionsIDNoContent) Error ¶
func (o *DeleteSubscriptionsIDNoContent) Error() string
type DeleteSubscriptionsIDParams ¶
type DeleteSubscriptionsIDParams struct { /*ID Subscription Id */ ID strfmt.UUID /*Version Version */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSubscriptionsIDParams contains all the parameters to send to the API endpoint for the delete subscriptions ID operation typically these are written to a http.Request
func NewDeleteSubscriptionsIDParams ¶
func NewDeleteSubscriptionsIDParams() *DeleteSubscriptionsIDParams
NewDeleteSubscriptionsIDParams creates a new DeleteSubscriptionsIDParams object with the default values initialized.
func NewDeleteSubscriptionsIDParamsWithContext ¶
func NewDeleteSubscriptionsIDParamsWithContext(ctx context.Context) *DeleteSubscriptionsIDParams
NewDeleteSubscriptionsIDParamsWithContext creates a new DeleteSubscriptionsIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSubscriptionsIDParamsWithHTTPClient ¶
func NewDeleteSubscriptionsIDParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionsIDParams
NewDeleteSubscriptionsIDParamsWithHTTPClient creates a new DeleteSubscriptionsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSubscriptionsIDParamsWithTimeout ¶
func NewDeleteSubscriptionsIDParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionsIDParams
NewDeleteSubscriptionsIDParamsWithTimeout creates a new DeleteSubscriptionsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSubscriptionsIDParams) SetContext ¶
func (o *DeleteSubscriptionsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) SetHTTPClient ¶
func (o *DeleteSubscriptionsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) SetID ¶
func (o *DeleteSubscriptionsIDParams) SetID(id strfmt.UUID)
SetID adds the id to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) SetTimeout ¶
func (o *DeleteSubscriptionsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) SetVersion ¶
func (o *DeleteSubscriptionsIDParams) SetVersion(version int64)
SetVersion adds the version to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) WithContext ¶
func (o *DeleteSubscriptionsIDParams) WithContext(ctx context.Context) *DeleteSubscriptionsIDParams
WithContext adds the context to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) WithHTTPClient ¶
func (o *DeleteSubscriptionsIDParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionsIDParams
WithHTTPClient adds the HTTPClient to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) WithID ¶
func (o *DeleteSubscriptionsIDParams) WithID(id strfmt.UUID) *DeleteSubscriptionsIDParams
WithID adds the id to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) WithTimeout ¶
func (o *DeleteSubscriptionsIDParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionsIDParams
WithTimeout adds the timeout to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) WithVersion ¶
func (o *DeleteSubscriptionsIDParams) WithVersion(version int64) *DeleteSubscriptionsIDParams
WithVersion adds the version to the delete subscriptions ID params
func (*DeleteSubscriptionsIDParams) WriteToRequest ¶
func (o *DeleteSubscriptionsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSubscriptionsIDReader ¶
type DeleteSubscriptionsIDReader struct {
// contains filtered or unexported fields
}
DeleteSubscriptionsIDReader is a Reader for the DeleteSubscriptionsID structure.
func (*DeleteSubscriptionsIDReader) ReadResponse ¶
func (o *DeleteSubscriptionsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionsIDOK ¶
type GetSubscriptionsIDOK struct {
Payload *models.SubscriptionDetailsResponse
}
GetSubscriptionsIDOK handles this case with default header values.
Subscription details
func NewGetSubscriptionsIDOK ¶
func NewGetSubscriptionsIDOK() *GetSubscriptionsIDOK
NewGetSubscriptionsIDOK creates a GetSubscriptionsIDOK with default headers values
func (*GetSubscriptionsIDOK) Error ¶
func (o *GetSubscriptionsIDOK) Error() string
type GetSubscriptionsIDParams ¶
type GetSubscriptionsIDParams struct { /*ID Subscription Id */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubscriptionsIDParams contains all the parameters to send to the API endpoint for the get subscriptions ID operation typically these are written to a http.Request
func NewGetSubscriptionsIDParams ¶
func NewGetSubscriptionsIDParams() *GetSubscriptionsIDParams
NewGetSubscriptionsIDParams creates a new GetSubscriptionsIDParams object with the default values initialized.
func NewGetSubscriptionsIDParamsWithContext ¶
func NewGetSubscriptionsIDParamsWithContext(ctx context.Context) *GetSubscriptionsIDParams
NewGetSubscriptionsIDParamsWithContext creates a new GetSubscriptionsIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetSubscriptionsIDParamsWithHTTPClient ¶
func NewGetSubscriptionsIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionsIDParams
NewGetSubscriptionsIDParamsWithHTTPClient creates a new GetSubscriptionsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSubscriptionsIDParamsWithTimeout ¶
func NewGetSubscriptionsIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionsIDParams
NewGetSubscriptionsIDParamsWithTimeout creates a new GetSubscriptionsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSubscriptionsIDParams) SetContext ¶
func (o *GetSubscriptionsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscriptions ID params
func (*GetSubscriptionsIDParams) SetHTTPClient ¶
func (o *GetSubscriptionsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscriptions ID params
func (*GetSubscriptionsIDParams) SetID ¶
func (o *GetSubscriptionsIDParams) SetID(id strfmt.UUID)
SetID adds the id to the get subscriptions ID params
func (*GetSubscriptionsIDParams) SetTimeout ¶
func (o *GetSubscriptionsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscriptions ID params
func (*GetSubscriptionsIDParams) WithContext ¶
func (o *GetSubscriptionsIDParams) WithContext(ctx context.Context) *GetSubscriptionsIDParams
WithContext adds the context to the get subscriptions ID params
func (*GetSubscriptionsIDParams) WithHTTPClient ¶
func (o *GetSubscriptionsIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionsIDParams
WithHTTPClient adds the HTTPClient to the get subscriptions ID params
func (*GetSubscriptionsIDParams) WithID ¶
func (o *GetSubscriptionsIDParams) WithID(id strfmt.UUID) *GetSubscriptionsIDParams
WithID adds the id to the get subscriptions ID params
func (*GetSubscriptionsIDParams) WithTimeout ¶
func (o *GetSubscriptionsIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionsIDParams
WithTimeout adds the timeout to the get subscriptions ID params
func (*GetSubscriptionsIDParams) WriteToRequest ¶
func (o *GetSubscriptionsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionsIDReader ¶
type GetSubscriptionsIDReader struct {
// contains filtered or unexported fields
}
GetSubscriptionsIDReader is a Reader for the GetSubscriptionsID structure.
func (*GetSubscriptionsIDReader) ReadResponse ¶
func (o *GetSubscriptionsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionsOK ¶
type GetSubscriptionsOK struct {
Payload *models.SubscriptionDetailsListResponse
}
GetSubscriptionsOK handles this case with default header values.
List of subscription details
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 { /*FilterEventType Filter by event type */ FilterEventType []string /*PageNumber Which page to select */ PageNumber *int64 /*PageSize Number of items to select */ PageSize *int64 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) SetFilterEventType ¶
func (o *GetSubscriptionsParams) SetFilterEventType(filterEventType []string)
SetFilterEventType adds the filterEventType 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) SetPageNumber ¶
func (o *GetSubscriptionsParams) SetPageNumber(pageNumber *int64)
SetPageNumber adds the pageNumber to the get subscriptions params
func (*GetSubscriptionsParams) SetPageSize ¶
func (o *GetSubscriptionsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize 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) WithFilterEventType ¶
func (o *GetSubscriptionsParams) WithFilterEventType(filterEventType []string) *GetSubscriptionsParams
WithFilterEventType adds the filterEventType 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) WithPageNumber ¶
func (o *GetSubscriptionsParams) WithPageNumber(pageNumber *int64) *GetSubscriptionsParams
WithPageNumber adds the pageNumber to the get subscriptions params
func (*GetSubscriptionsParams) WithPageSize ¶
func (o *GetSubscriptionsParams) WithPageSize(pageSize *int64) *GetSubscriptionsParams
WithPageSize adds the pageSize 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.
type PatchSubscriptionsIDOK ¶
type PatchSubscriptionsIDOK struct {
Payload *models.SubscriptionDetailsResponse
}
PatchSubscriptionsIDOK handles this case with default header values.
Subscription details
func NewPatchSubscriptionsIDOK ¶
func NewPatchSubscriptionsIDOK() *PatchSubscriptionsIDOK
NewPatchSubscriptionsIDOK creates a PatchSubscriptionsIDOK with default headers values
func (*PatchSubscriptionsIDOK) Error ¶
func (o *PatchSubscriptionsIDOK) Error() string
type PatchSubscriptionsIDParams ¶
type PatchSubscriptionsIDParams struct { /*SubscriptionUpdateRequest*/ SubscriptionUpdateRequest *models.SubscriptionCreation /*ID Subscription Id */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchSubscriptionsIDParams contains all the parameters to send to the API endpoint for the patch subscriptions ID operation typically these are written to a http.Request
func NewPatchSubscriptionsIDParams ¶
func NewPatchSubscriptionsIDParams() *PatchSubscriptionsIDParams
NewPatchSubscriptionsIDParams creates a new PatchSubscriptionsIDParams object with the default values initialized.
func NewPatchSubscriptionsIDParamsWithContext ¶
func NewPatchSubscriptionsIDParamsWithContext(ctx context.Context) *PatchSubscriptionsIDParams
NewPatchSubscriptionsIDParamsWithContext creates a new PatchSubscriptionsIDParams object with the default values initialized, and the ability to set a context for a request
func NewPatchSubscriptionsIDParamsWithHTTPClient ¶
func NewPatchSubscriptionsIDParamsWithHTTPClient(client *http.Client) *PatchSubscriptionsIDParams
NewPatchSubscriptionsIDParamsWithHTTPClient creates a new PatchSubscriptionsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchSubscriptionsIDParamsWithTimeout ¶
func NewPatchSubscriptionsIDParamsWithTimeout(timeout time.Duration) *PatchSubscriptionsIDParams
NewPatchSubscriptionsIDParamsWithTimeout creates a new PatchSubscriptionsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchSubscriptionsIDParams) SetContext ¶
func (o *PatchSubscriptionsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) SetHTTPClient ¶
func (o *PatchSubscriptionsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) SetID ¶
func (o *PatchSubscriptionsIDParams) SetID(id strfmt.UUID)
SetID adds the id to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) SetSubscriptionUpdateRequest ¶
func (o *PatchSubscriptionsIDParams) SetSubscriptionUpdateRequest(subscriptionUpdateRequest *models.SubscriptionCreation)
SetSubscriptionUpdateRequest adds the subscriptionUpdateRequest to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) SetTimeout ¶
func (o *PatchSubscriptionsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) WithContext ¶
func (o *PatchSubscriptionsIDParams) WithContext(ctx context.Context) *PatchSubscriptionsIDParams
WithContext adds the context to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) WithHTTPClient ¶
func (o *PatchSubscriptionsIDParams) WithHTTPClient(client *http.Client) *PatchSubscriptionsIDParams
WithHTTPClient adds the HTTPClient to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) WithID ¶
func (o *PatchSubscriptionsIDParams) WithID(id strfmt.UUID) *PatchSubscriptionsIDParams
WithID adds the id to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) WithSubscriptionUpdateRequest ¶
func (o *PatchSubscriptionsIDParams) WithSubscriptionUpdateRequest(subscriptionUpdateRequest *models.SubscriptionCreation) *PatchSubscriptionsIDParams
WithSubscriptionUpdateRequest adds the subscriptionUpdateRequest to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) WithTimeout ¶
func (o *PatchSubscriptionsIDParams) WithTimeout(timeout time.Duration) *PatchSubscriptionsIDParams
WithTimeout adds the timeout to the patch subscriptions ID params
func (*PatchSubscriptionsIDParams) WriteToRequest ¶
func (o *PatchSubscriptionsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchSubscriptionsIDReader ¶
type PatchSubscriptionsIDReader struct {
// contains filtered or unexported fields
}
PatchSubscriptionsIDReader is a Reader for the PatchSubscriptionsID structure.
func (*PatchSubscriptionsIDReader) ReadResponse ¶
func (o *PatchSubscriptionsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostSubscriptionsCreated ¶
type PostSubscriptionsCreated struct {
Payload *models.SubscriptionCreationResponse
}
PostSubscriptionsCreated handles this case with default header values.
Subscription creation response
func NewPostSubscriptionsCreated ¶
func NewPostSubscriptionsCreated() *PostSubscriptionsCreated
NewPostSubscriptionsCreated creates a PostSubscriptionsCreated with default headers values
func (*PostSubscriptionsCreated) Error ¶
func (o *PostSubscriptionsCreated) Error() string
type PostSubscriptionsParams ¶
type PostSubscriptionsParams struct { /*SubscriptionCreationRequest*/ SubscriptionCreationRequest *models.SubscriptionCreation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostSubscriptionsParams contains all the parameters to send to the API endpoint for the post subscriptions operation typically these are written to a http.Request
func NewPostSubscriptionsParams ¶
func NewPostSubscriptionsParams() *PostSubscriptionsParams
NewPostSubscriptionsParams creates a new PostSubscriptionsParams object with the default values initialized.
func NewPostSubscriptionsParamsWithContext ¶
func NewPostSubscriptionsParamsWithContext(ctx context.Context) *PostSubscriptionsParams
NewPostSubscriptionsParamsWithContext creates a new PostSubscriptionsParams object with the default values initialized, and the ability to set a context for a request
func NewPostSubscriptionsParamsWithHTTPClient ¶
func NewPostSubscriptionsParamsWithHTTPClient(client *http.Client) *PostSubscriptionsParams
NewPostSubscriptionsParamsWithHTTPClient creates a new PostSubscriptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostSubscriptionsParamsWithTimeout ¶
func NewPostSubscriptionsParamsWithTimeout(timeout time.Duration) *PostSubscriptionsParams
NewPostSubscriptionsParamsWithTimeout creates a new PostSubscriptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostSubscriptionsParams) SetContext ¶
func (o *PostSubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the post subscriptions params
func (*PostSubscriptionsParams) SetHTTPClient ¶
func (o *PostSubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post subscriptions params
func (*PostSubscriptionsParams) SetSubscriptionCreationRequest ¶
func (o *PostSubscriptionsParams) SetSubscriptionCreationRequest(subscriptionCreationRequest *models.SubscriptionCreation)
SetSubscriptionCreationRequest adds the subscriptionCreationRequest to the post subscriptions params
func (*PostSubscriptionsParams) SetTimeout ¶
func (o *PostSubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post subscriptions params
func (*PostSubscriptionsParams) WithContext ¶
func (o *PostSubscriptionsParams) WithContext(ctx context.Context) *PostSubscriptionsParams
WithContext adds the context to the post subscriptions params
func (*PostSubscriptionsParams) WithHTTPClient ¶
func (o *PostSubscriptionsParams) WithHTTPClient(client *http.Client) *PostSubscriptionsParams
WithHTTPClient adds the HTTPClient to the post subscriptions params
func (*PostSubscriptionsParams) WithSubscriptionCreationRequest ¶
func (o *PostSubscriptionsParams) WithSubscriptionCreationRequest(subscriptionCreationRequest *models.SubscriptionCreation) *PostSubscriptionsParams
WithSubscriptionCreationRequest adds the subscriptionCreationRequest to the post subscriptions params
func (*PostSubscriptionsParams) WithTimeout ¶
func (o *PostSubscriptionsParams) WithTimeout(timeout time.Duration) *PostSubscriptionsParams
WithTimeout adds the timeout to the post subscriptions params
func (*PostSubscriptionsParams) WriteToRequest ¶
func (o *PostSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostSubscriptionsReader ¶
type PostSubscriptionsReader struct {
// contains filtered or unexported fields
}
PostSubscriptionsReader is a Reader for the PostSubscriptions structure.
func (*PostSubscriptionsReader) ReadResponse ¶
func (o *PostSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_subscriptions_id_parameters.go
- delete_subscriptions_id_responses.go
- get_subscriptions_id_parameters.go
- get_subscriptions_id_responses.go
- get_subscriptions_parameters.go
- get_subscriptions_responses.go
- patch_subscriptions_id_parameters.go
- patch_subscriptions_id_responses.go
- post_subscriptions_parameters.go
- post_subscriptions_responses.go
- subscriptions_client.go