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 ClientService
- type DeleteSubscriptionsIDBadRequest
- type DeleteSubscriptionsIDConflict
- type DeleteSubscriptionsIDForbidden
- type DeleteSubscriptionsIDInternalServerError
- type DeleteSubscriptionsIDNoContent
- type DeleteSubscriptionsIDNotFound
- 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 DeleteSubscriptionsIDServiceUnavailable
- type DeleteSubscriptionsIDTooManyRequests
- type DeleteSubscriptionsIDUnauthorized
- type GetSubscriptionsBadRequest
- type GetSubscriptionsConflict
- type GetSubscriptionsForbidden
- type GetSubscriptionsIDBadRequest
- type GetSubscriptionsIDConflict
- type GetSubscriptionsIDForbidden
- type GetSubscriptionsIDInternalServerError
- type GetSubscriptionsIDNotFound
- 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 GetSubscriptionsIDServiceUnavailable
- type GetSubscriptionsIDTooManyRequests
- type GetSubscriptionsIDUnauthorized
- type GetSubscriptionsInternalServerError
- type GetSubscriptionsNotFound
- 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 GetSubscriptionsServiceUnavailable
- type GetSubscriptionsTooManyRequests
- type GetSubscriptionsUnauthorized
- type PatchSubscriptionsIDBadRequest
- type PatchSubscriptionsIDConflict
- type PatchSubscriptionsIDForbidden
- type PatchSubscriptionsIDInternalServerError
- type PatchSubscriptionsIDNotFound
- 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 PatchSubscriptionsIDServiceUnavailable
- type PatchSubscriptionsIDTooManyRequests
- type PatchSubscriptionsIDUnauthorized
- type PostSubscriptionsBadRequest
- type PostSubscriptionsConflict
- type PostSubscriptionsCreated
- type PostSubscriptionsForbidden
- type PostSubscriptionsInternalServerError
- type PostSubscriptionsNotFound
- 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
- type PostSubscriptionsServiceUnavailable
- type PostSubscriptionsTooManyRequests
- type PostSubscriptionsUnauthorized
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 (*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 ClientService ¶ added in v0.43.0
type ClientService interface { DeleteSubscriptionsID(params *DeleteSubscriptionsIDParams) (*DeleteSubscriptionsIDNoContent, error) GetSubscriptions(params *GetSubscriptionsParams) (*GetSubscriptionsOK, error) GetSubscriptionsID(params *GetSubscriptionsIDParams) (*GetSubscriptionsIDOK, error) PatchSubscriptionsID(params *PatchSubscriptionsIDParams) (*PatchSubscriptionsIDOK, error) PostSubscriptions(params *PostSubscriptionsParams) (*PostSubscriptionsCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new subscriptions API client.
type DeleteSubscriptionsIDBadRequest ¶ added in v0.43.0
DeleteSubscriptionsIDBadRequest handles this case with default header values.
Bad Request
func NewDeleteSubscriptionsIDBadRequest ¶ added in v0.43.0
func NewDeleteSubscriptionsIDBadRequest() *DeleteSubscriptionsIDBadRequest
NewDeleteSubscriptionsIDBadRequest creates a DeleteSubscriptionsIDBadRequest with default headers values
func (*DeleteSubscriptionsIDBadRequest) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDBadRequest) Error() string
func (*DeleteSubscriptionsIDBadRequest) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDBadRequest) GetPayload() *models.APIError
type DeleteSubscriptionsIDConflict ¶ added in v0.43.0
DeleteSubscriptionsIDConflict handles this case with default header values.
Conflict
func NewDeleteSubscriptionsIDConflict ¶ added in v0.43.0
func NewDeleteSubscriptionsIDConflict() *DeleteSubscriptionsIDConflict
NewDeleteSubscriptionsIDConflict creates a DeleteSubscriptionsIDConflict with default headers values
func (*DeleteSubscriptionsIDConflict) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDConflict) Error() string
func (*DeleteSubscriptionsIDConflict) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDConflict) GetPayload() *models.APIError
type DeleteSubscriptionsIDForbidden ¶ added in v0.43.0
DeleteSubscriptionsIDForbidden handles this case with default header values.
Forbidden
func NewDeleteSubscriptionsIDForbidden ¶ added in v0.43.0
func NewDeleteSubscriptionsIDForbidden() *DeleteSubscriptionsIDForbidden
NewDeleteSubscriptionsIDForbidden creates a DeleteSubscriptionsIDForbidden with default headers values
func (*DeleteSubscriptionsIDForbidden) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDForbidden) Error() string
func (*DeleteSubscriptionsIDForbidden) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDForbidden) GetPayload() *models.APIError
type DeleteSubscriptionsIDInternalServerError ¶ added in v0.43.0
DeleteSubscriptionsIDInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteSubscriptionsIDInternalServerError ¶ added in v0.43.0
func NewDeleteSubscriptionsIDInternalServerError() *DeleteSubscriptionsIDInternalServerError
NewDeleteSubscriptionsIDInternalServerError creates a DeleteSubscriptionsIDInternalServerError with default headers values
func (*DeleteSubscriptionsIDInternalServerError) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDInternalServerError) Error() string
func (*DeleteSubscriptionsIDInternalServerError) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDInternalServerError) GetPayload() *models.APIError
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 DeleteSubscriptionsIDNotFound ¶ added in v0.43.0
DeleteSubscriptionsIDNotFound handles this case with default header values.
Record not found
func NewDeleteSubscriptionsIDNotFound ¶ added in v0.43.0
func NewDeleteSubscriptionsIDNotFound() *DeleteSubscriptionsIDNotFound
NewDeleteSubscriptionsIDNotFound creates a DeleteSubscriptionsIDNotFound with default headers values
func (*DeleteSubscriptionsIDNotFound) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDNotFound) Error() string
func (*DeleteSubscriptionsIDNotFound) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDNotFound) GetPayload() *models.APIError
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 DeleteSubscriptionsIDServiceUnavailable ¶ added in v0.43.0
type DeleteSubscriptionsIDServiceUnavailable struct {
}DeleteSubscriptionsIDServiceUnavailable handles this case with default header values.
The server is up, but overloaded with requests. Try again later.
func NewDeleteSubscriptionsIDServiceUnavailable ¶ added in v0.43.0
func NewDeleteSubscriptionsIDServiceUnavailable() *DeleteSubscriptionsIDServiceUnavailable
NewDeleteSubscriptionsIDServiceUnavailable creates a DeleteSubscriptionsIDServiceUnavailable with default headers values
func (*DeleteSubscriptionsIDServiceUnavailable) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDServiceUnavailable) Error() string
func (*DeleteSubscriptionsIDServiceUnavailable) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDServiceUnavailable) GetPayload() *models.APIError
type DeleteSubscriptionsIDTooManyRequests ¶ added in v0.43.0
DeleteSubscriptionsIDTooManyRequests handles this case with default header values.
The request cannot be served due to the application’s rate limit
func NewDeleteSubscriptionsIDTooManyRequests ¶ added in v0.43.0
func NewDeleteSubscriptionsIDTooManyRequests() *DeleteSubscriptionsIDTooManyRequests
NewDeleteSubscriptionsIDTooManyRequests creates a DeleteSubscriptionsIDTooManyRequests with default headers values
func (*DeleteSubscriptionsIDTooManyRequests) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDTooManyRequests) Error() string
func (*DeleteSubscriptionsIDTooManyRequests) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDTooManyRequests) GetPayload() *models.APIError
type DeleteSubscriptionsIDUnauthorized ¶ added in v0.43.0
type DeleteSubscriptionsIDUnauthorized struct {
}DeleteSubscriptionsIDUnauthorized handles this case with default header values.
Authentication credentials were missing or incorrect
func NewDeleteSubscriptionsIDUnauthorized ¶ added in v0.43.0
func NewDeleteSubscriptionsIDUnauthorized() *DeleteSubscriptionsIDUnauthorized
NewDeleteSubscriptionsIDUnauthorized creates a DeleteSubscriptionsIDUnauthorized with default headers values
func (*DeleteSubscriptionsIDUnauthorized) Error ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDUnauthorized) Error() string
func (*DeleteSubscriptionsIDUnauthorized) GetPayload ¶ added in v0.43.0
func (o *DeleteSubscriptionsIDUnauthorized) GetPayload() *models.APIError
type GetSubscriptionsBadRequest ¶ added in v0.43.0
GetSubscriptionsBadRequest handles this case with default header values.
Bad Request
func NewGetSubscriptionsBadRequest ¶ added in v0.43.0
func NewGetSubscriptionsBadRequest() *GetSubscriptionsBadRequest
NewGetSubscriptionsBadRequest creates a GetSubscriptionsBadRequest with default headers values
func (*GetSubscriptionsBadRequest) Error ¶ added in v0.43.0
func (o *GetSubscriptionsBadRequest) Error() string
func (*GetSubscriptionsBadRequest) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsBadRequest) GetPayload() *models.APIError
type GetSubscriptionsConflict ¶ added in v0.43.0
GetSubscriptionsConflict handles this case with default header values.
Conflict
func NewGetSubscriptionsConflict ¶ added in v0.43.0
func NewGetSubscriptionsConflict() *GetSubscriptionsConflict
NewGetSubscriptionsConflict creates a GetSubscriptionsConflict with default headers values
func (*GetSubscriptionsConflict) Error ¶ added in v0.43.0
func (o *GetSubscriptionsConflict) Error() string
func (*GetSubscriptionsConflict) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsConflict) GetPayload() *models.APIError
type GetSubscriptionsForbidden ¶ added in v0.43.0
GetSubscriptionsForbidden handles this case with default header values.
Forbidden
func NewGetSubscriptionsForbidden ¶ added in v0.43.0
func NewGetSubscriptionsForbidden() *GetSubscriptionsForbidden
NewGetSubscriptionsForbidden creates a GetSubscriptionsForbidden with default headers values
func (*GetSubscriptionsForbidden) Error ¶ added in v0.43.0
func (o *GetSubscriptionsForbidden) Error() string
func (*GetSubscriptionsForbidden) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsForbidden) GetPayload() *models.APIError
type GetSubscriptionsIDBadRequest ¶ added in v0.43.0
GetSubscriptionsIDBadRequest handles this case with default header values.
Bad Request
func NewGetSubscriptionsIDBadRequest ¶ added in v0.43.0
func NewGetSubscriptionsIDBadRequest() *GetSubscriptionsIDBadRequest
NewGetSubscriptionsIDBadRequest creates a GetSubscriptionsIDBadRequest with default headers values
func (*GetSubscriptionsIDBadRequest) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDBadRequest) Error() string
func (*GetSubscriptionsIDBadRequest) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDBadRequest) GetPayload() *models.APIError
type GetSubscriptionsIDConflict ¶ added in v0.43.0
GetSubscriptionsIDConflict handles this case with default header values.
Conflict
func NewGetSubscriptionsIDConflict ¶ added in v0.43.0
func NewGetSubscriptionsIDConflict() *GetSubscriptionsIDConflict
NewGetSubscriptionsIDConflict creates a GetSubscriptionsIDConflict with default headers values
func (*GetSubscriptionsIDConflict) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDConflict) Error() string
func (*GetSubscriptionsIDConflict) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDConflict) GetPayload() *models.APIError
type GetSubscriptionsIDForbidden ¶ added in v0.43.0
GetSubscriptionsIDForbidden handles this case with default header values.
Forbidden
func NewGetSubscriptionsIDForbidden ¶ added in v0.43.0
func NewGetSubscriptionsIDForbidden() *GetSubscriptionsIDForbidden
NewGetSubscriptionsIDForbidden creates a GetSubscriptionsIDForbidden with default headers values
func (*GetSubscriptionsIDForbidden) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDForbidden) Error() string
func (*GetSubscriptionsIDForbidden) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDForbidden) GetPayload() *models.APIError
type GetSubscriptionsIDInternalServerError ¶ added in v0.43.0
GetSubscriptionsIDInternalServerError handles this case with default header values.
Internal Server Error
func NewGetSubscriptionsIDInternalServerError ¶ added in v0.43.0
func NewGetSubscriptionsIDInternalServerError() *GetSubscriptionsIDInternalServerError
NewGetSubscriptionsIDInternalServerError creates a GetSubscriptionsIDInternalServerError with default headers values
func (*GetSubscriptionsIDInternalServerError) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDInternalServerError) Error() string
func (*GetSubscriptionsIDInternalServerError) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDInternalServerError) GetPayload() *models.APIError
type GetSubscriptionsIDNotFound ¶ added in v0.43.0
GetSubscriptionsIDNotFound handles this case with default header values.
Record not found
func NewGetSubscriptionsIDNotFound ¶ added in v0.43.0
func NewGetSubscriptionsIDNotFound() *GetSubscriptionsIDNotFound
NewGetSubscriptionsIDNotFound creates a GetSubscriptionsIDNotFound with default headers values
func (*GetSubscriptionsIDNotFound) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDNotFound) Error() string
func (*GetSubscriptionsIDNotFound) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDNotFound) GetPayload() *models.APIError
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
func (*GetSubscriptionsIDOK) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDOK) GetPayload() *models.SubscriptionDetailsResponse
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 GetSubscriptionsIDServiceUnavailable ¶ added in v0.43.0
type GetSubscriptionsIDServiceUnavailable struct {
}GetSubscriptionsIDServiceUnavailable handles this case with default header values.
The server is up, but overloaded with requests. Try again later.
func NewGetSubscriptionsIDServiceUnavailable ¶ added in v0.43.0
func NewGetSubscriptionsIDServiceUnavailable() *GetSubscriptionsIDServiceUnavailable
NewGetSubscriptionsIDServiceUnavailable creates a GetSubscriptionsIDServiceUnavailable with default headers values
func (*GetSubscriptionsIDServiceUnavailable) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDServiceUnavailable) Error() string
func (*GetSubscriptionsIDServiceUnavailable) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDServiceUnavailable) GetPayload() *models.APIError
type GetSubscriptionsIDTooManyRequests ¶ added in v0.43.0
GetSubscriptionsIDTooManyRequests handles this case with default header values.
The request cannot be served due to the application’s rate limit
func NewGetSubscriptionsIDTooManyRequests ¶ added in v0.43.0
func NewGetSubscriptionsIDTooManyRequests() *GetSubscriptionsIDTooManyRequests
NewGetSubscriptionsIDTooManyRequests creates a GetSubscriptionsIDTooManyRequests with default headers values
func (*GetSubscriptionsIDTooManyRequests) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDTooManyRequests) Error() string
func (*GetSubscriptionsIDTooManyRequests) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDTooManyRequests) GetPayload() *models.APIError
type GetSubscriptionsIDUnauthorized ¶ added in v0.43.0
type GetSubscriptionsIDUnauthorized struct {
}GetSubscriptionsIDUnauthorized handles this case with default header values.
Authentication credentials were missing or incorrect
func NewGetSubscriptionsIDUnauthorized ¶ added in v0.43.0
func NewGetSubscriptionsIDUnauthorized() *GetSubscriptionsIDUnauthorized
NewGetSubscriptionsIDUnauthorized creates a GetSubscriptionsIDUnauthorized with default headers values
func (*GetSubscriptionsIDUnauthorized) Error ¶ added in v0.43.0
func (o *GetSubscriptionsIDUnauthorized) Error() string
func (*GetSubscriptionsIDUnauthorized) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsIDUnauthorized) GetPayload() *models.APIError
type GetSubscriptionsInternalServerError ¶ added in v0.43.0
GetSubscriptionsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetSubscriptionsInternalServerError ¶ added in v0.43.0
func NewGetSubscriptionsInternalServerError() *GetSubscriptionsInternalServerError
NewGetSubscriptionsInternalServerError creates a GetSubscriptionsInternalServerError with default headers values
func (*GetSubscriptionsInternalServerError) Error ¶ added in v0.43.0
func (o *GetSubscriptionsInternalServerError) Error() string
func (*GetSubscriptionsInternalServerError) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsInternalServerError) GetPayload() *models.APIError
type GetSubscriptionsNotFound ¶ added in v0.43.0
GetSubscriptionsNotFound handles this case with default header values.
Record not found
func NewGetSubscriptionsNotFound ¶ added in v0.43.0
func NewGetSubscriptionsNotFound() *GetSubscriptionsNotFound
NewGetSubscriptionsNotFound creates a GetSubscriptionsNotFound with default headers values
func (*GetSubscriptionsNotFound) Error ¶ added in v0.43.0
func (o *GetSubscriptionsNotFound) Error() string
func (*GetSubscriptionsNotFound) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsNotFound) GetPayload() *models.APIError
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
func (*GetSubscriptionsOK) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsOK) GetPayload() *models.SubscriptionDetailsListResponse
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 GetSubscriptionsServiceUnavailable ¶ added in v0.43.0
type GetSubscriptionsServiceUnavailable struct {
}GetSubscriptionsServiceUnavailable handles this case with default header values.
The server is up, but overloaded with requests. Try again later.
func NewGetSubscriptionsServiceUnavailable ¶ added in v0.43.0
func NewGetSubscriptionsServiceUnavailable() *GetSubscriptionsServiceUnavailable
NewGetSubscriptionsServiceUnavailable creates a GetSubscriptionsServiceUnavailable with default headers values
func (*GetSubscriptionsServiceUnavailable) Error ¶ added in v0.43.0
func (o *GetSubscriptionsServiceUnavailable) Error() string
func (*GetSubscriptionsServiceUnavailable) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsServiceUnavailable) GetPayload() *models.APIError
type GetSubscriptionsTooManyRequests ¶ added in v0.43.0
GetSubscriptionsTooManyRequests handles this case with default header values.
The request cannot be served due to the application’s rate limit
func NewGetSubscriptionsTooManyRequests ¶ added in v0.43.0
func NewGetSubscriptionsTooManyRequests() *GetSubscriptionsTooManyRequests
NewGetSubscriptionsTooManyRequests creates a GetSubscriptionsTooManyRequests with default headers values
func (*GetSubscriptionsTooManyRequests) Error ¶ added in v0.43.0
func (o *GetSubscriptionsTooManyRequests) Error() string
func (*GetSubscriptionsTooManyRequests) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsTooManyRequests) GetPayload() *models.APIError
type GetSubscriptionsUnauthorized ¶ added in v0.43.0
type GetSubscriptionsUnauthorized struct {
}GetSubscriptionsUnauthorized handles this case with default header values.
Authentication credentials were missing or incorrect
func NewGetSubscriptionsUnauthorized ¶ added in v0.43.0
func NewGetSubscriptionsUnauthorized() *GetSubscriptionsUnauthorized
NewGetSubscriptionsUnauthorized creates a GetSubscriptionsUnauthorized with default headers values
func (*GetSubscriptionsUnauthorized) Error ¶ added in v0.43.0
func (o *GetSubscriptionsUnauthorized) Error() string
func (*GetSubscriptionsUnauthorized) GetPayload ¶ added in v0.43.0
func (o *GetSubscriptionsUnauthorized) GetPayload() *models.APIError
type PatchSubscriptionsIDBadRequest ¶ added in v0.43.0
PatchSubscriptionsIDBadRequest handles this case with default header values.
Bad Request
func NewPatchSubscriptionsIDBadRequest ¶ added in v0.43.0
func NewPatchSubscriptionsIDBadRequest() *PatchSubscriptionsIDBadRequest
NewPatchSubscriptionsIDBadRequest creates a PatchSubscriptionsIDBadRequest with default headers values
func (*PatchSubscriptionsIDBadRequest) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDBadRequest) Error() string
func (*PatchSubscriptionsIDBadRequest) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDBadRequest) GetPayload() *models.APIError
type PatchSubscriptionsIDConflict ¶ added in v0.43.0
PatchSubscriptionsIDConflict handles this case with default header values.
Conflict
func NewPatchSubscriptionsIDConflict ¶ added in v0.43.0
func NewPatchSubscriptionsIDConflict() *PatchSubscriptionsIDConflict
NewPatchSubscriptionsIDConflict creates a PatchSubscriptionsIDConflict with default headers values
func (*PatchSubscriptionsIDConflict) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDConflict) Error() string
func (*PatchSubscriptionsIDConflict) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDConflict) GetPayload() *models.APIError
type PatchSubscriptionsIDForbidden ¶ added in v0.43.0
PatchSubscriptionsIDForbidden handles this case with default header values.
Forbidden
func NewPatchSubscriptionsIDForbidden ¶ added in v0.43.0
func NewPatchSubscriptionsIDForbidden() *PatchSubscriptionsIDForbidden
NewPatchSubscriptionsIDForbidden creates a PatchSubscriptionsIDForbidden with default headers values
func (*PatchSubscriptionsIDForbidden) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDForbidden) Error() string
func (*PatchSubscriptionsIDForbidden) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDForbidden) GetPayload() *models.APIError
type PatchSubscriptionsIDInternalServerError ¶ added in v0.43.0
PatchSubscriptionsIDInternalServerError handles this case with default header values.
Internal Server Error
func NewPatchSubscriptionsIDInternalServerError ¶ added in v0.43.0
func NewPatchSubscriptionsIDInternalServerError() *PatchSubscriptionsIDInternalServerError
NewPatchSubscriptionsIDInternalServerError creates a PatchSubscriptionsIDInternalServerError with default headers values
func (*PatchSubscriptionsIDInternalServerError) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDInternalServerError) Error() string
func (*PatchSubscriptionsIDInternalServerError) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDInternalServerError) GetPayload() *models.APIError
type PatchSubscriptionsIDNotFound ¶ added in v0.43.0
PatchSubscriptionsIDNotFound handles this case with default header values.
Record not found
func NewPatchSubscriptionsIDNotFound ¶ added in v0.43.0
func NewPatchSubscriptionsIDNotFound() *PatchSubscriptionsIDNotFound
NewPatchSubscriptionsIDNotFound creates a PatchSubscriptionsIDNotFound with default headers values
func (*PatchSubscriptionsIDNotFound) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDNotFound) Error() string
func (*PatchSubscriptionsIDNotFound) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDNotFound) GetPayload() *models.APIError
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
func (*PatchSubscriptionsIDOK) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDOK) GetPayload() *models.SubscriptionDetailsResponse
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 PatchSubscriptionsIDServiceUnavailable ¶ added in v0.43.0
type PatchSubscriptionsIDServiceUnavailable struct {
}PatchSubscriptionsIDServiceUnavailable handles this case with default header values.
The server is up, but overloaded with requests. Try again later.
func NewPatchSubscriptionsIDServiceUnavailable ¶ added in v0.43.0
func NewPatchSubscriptionsIDServiceUnavailable() *PatchSubscriptionsIDServiceUnavailable
NewPatchSubscriptionsIDServiceUnavailable creates a PatchSubscriptionsIDServiceUnavailable with default headers values
func (*PatchSubscriptionsIDServiceUnavailable) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDServiceUnavailable) Error() string
func (*PatchSubscriptionsIDServiceUnavailable) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDServiceUnavailable) GetPayload() *models.APIError
type PatchSubscriptionsIDTooManyRequests ¶ added in v0.43.0
PatchSubscriptionsIDTooManyRequests handles this case with default header values.
The request cannot be served due to the application’s rate limit
func NewPatchSubscriptionsIDTooManyRequests ¶ added in v0.43.0
func NewPatchSubscriptionsIDTooManyRequests() *PatchSubscriptionsIDTooManyRequests
NewPatchSubscriptionsIDTooManyRequests creates a PatchSubscriptionsIDTooManyRequests with default headers values
func (*PatchSubscriptionsIDTooManyRequests) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDTooManyRequests) Error() string
func (*PatchSubscriptionsIDTooManyRequests) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDTooManyRequests) GetPayload() *models.APIError
type PatchSubscriptionsIDUnauthorized ¶ added in v0.43.0
type PatchSubscriptionsIDUnauthorized struct {
}PatchSubscriptionsIDUnauthorized handles this case with default header values.
Authentication credentials were missing or incorrect
func NewPatchSubscriptionsIDUnauthorized ¶ added in v0.43.0
func NewPatchSubscriptionsIDUnauthorized() *PatchSubscriptionsIDUnauthorized
NewPatchSubscriptionsIDUnauthorized creates a PatchSubscriptionsIDUnauthorized with default headers values
func (*PatchSubscriptionsIDUnauthorized) Error ¶ added in v0.43.0
func (o *PatchSubscriptionsIDUnauthorized) Error() string
func (*PatchSubscriptionsIDUnauthorized) GetPayload ¶ added in v0.43.0
func (o *PatchSubscriptionsIDUnauthorized) GetPayload() *models.APIError
type PostSubscriptionsBadRequest ¶ added in v0.43.0
PostSubscriptionsBadRequest handles this case with default header values.
Bad Request
func NewPostSubscriptionsBadRequest ¶ added in v0.43.0
func NewPostSubscriptionsBadRequest() *PostSubscriptionsBadRequest
NewPostSubscriptionsBadRequest creates a PostSubscriptionsBadRequest with default headers values
func (*PostSubscriptionsBadRequest) Error ¶ added in v0.43.0
func (o *PostSubscriptionsBadRequest) Error() string
func (*PostSubscriptionsBadRequest) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsBadRequest) GetPayload() *models.APIError
type PostSubscriptionsConflict ¶ added in v0.43.0
PostSubscriptionsConflict handles this case with default header values.
Conflict
func NewPostSubscriptionsConflict ¶ added in v0.43.0
func NewPostSubscriptionsConflict() *PostSubscriptionsConflict
NewPostSubscriptionsConflict creates a PostSubscriptionsConflict with default headers values
func (*PostSubscriptionsConflict) Error ¶ added in v0.43.0
func (o *PostSubscriptionsConflict) Error() string
func (*PostSubscriptionsConflict) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsConflict) GetPayload() *models.APIError
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
func (*PostSubscriptionsCreated) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsCreated) GetPayload() *models.SubscriptionCreationResponse
type PostSubscriptionsForbidden ¶ added in v0.43.0
PostSubscriptionsForbidden handles this case with default header values.
Forbidden
func NewPostSubscriptionsForbidden ¶ added in v0.43.0
func NewPostSubscriptionsForbidden() *PostSubscriptionsForbidden
NewPostSubscriptionsForbidden creates a PostSubscriptionsForbidden with default headers values
func (*PostSubscriptionsForbidden) Error ¶ added in v0.43.0
func (o *PostSubscriptionsForbidden) Error() string
func (*PostSubscriptionsForbidden) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsForbidden) GetPayload() *models.APIError
type PostSubscriptionsInternalServerError ¶ added in v0.43.0
PostSubscriptionsInternalServerError handles this case with default header values.
Internal Server Error
func NewPostSubscriptionsInternalServerError ¶ added in v0.43.0
func NewPostSubscriptionsInternalServerError() *PostSubscriptionsInternalServerError
NewPostSubscriptionsInternalServerError creates a PostSubscriptionsInternalServerError with default headers values
func (*PostSubscriptionsInternalServerError) Error ¶ added in v0.43.0
func (o *PostSubscriptionsInternalServerError) Error() string
func (*PostSubscriptionsInternalServerError) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsInternalServerError) GetPayload() *models.APIError
type PostSubscriptionsNotFound ¶ added in v0.43.0
PostSubscriptionsNotFound handles this case with default header values.
Record not found
func NewPostSubscriptionsNotFound ¶ added in v0.43.0
func NewPostSubscriptionsNotFound() *PostSubscriptionsNotFound
NewPostSubscriptionsNotFound creates a PostSubscriptionsNotFound with default headers values
func (*PostSubscriptionsNotFound) Error ¶ added in v0.43.0
func (o *PostSubscriptionsNotFound) Error() string
func (*PostSubscriptionsNotFound) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsNotFound) GetPayload() *models.APIError
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.
type PostSubscriptionsServiceUnavailable ¶ added in v0.43.0
type PostSubscriptionsServiceUnavailable struct {
}PostSubscriptionsServiceUnavailable handles this case with default header values.
The server is up, but overloaded with requests. Try again later.
func NewPostSubscriptionsServiceUnavailable ¶ added in v0.43.0
func NewPostSubscriptionsServiceUnavailable() *PostSubscriptionsServiceUnavailable
NewPostSubscriptionsServiceUnavailable creates a PostSubscriptionsServiceUnavailable with default headers values
func (*PostSubscriptionsServiceUnavailable) Error ¶ added in v0.43.0
func (o *PostSubscriptionsServiceUnavailable) Error() string
func (*PostSubscriptionsServiceUnavailable) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsServiceUnavailable) GetPayload() *models.APIError
type PostSubscriptionsTooManyRequests ¶ added in v0.43.0
PostSubscriptionsTooManyRequests handles this case with default header values.
The request cannot be served due to the application’s rate limit
func NewPostSubscriptionsTooManyRequests ¶ added in v0.43.0
func NewPostSubscriptionsTooManyRequests() *PostSubscriptionsTooManyRequests
NewPostSubscriptionsTooManyRequests creates a PostSubscriptionsTooManyRequests with default headers values
func (*PostSubscriptionsTooManyRequests) Error ¶ added in v0.43.0
func (o *PostSubscriptionsTooManyRequests) Error() string
func (*PostSubscriptionsTooManyRequests) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsTooManyRequests) GetPayload() *models.APIError
type PostSubscriptionsUnauthorized ¶ added in v0.43.0
type PostSubscriptionsUnauthorized struct {
}PostSubscriptionsUnauthorized handles this case with default header values.
Authentication credentials were missing or incorrect
func NewPostSubscriptionsUnauthorized ¶ added in v0.43.0
func NewPostSubscriptionsUnauthorized() *PostSubscriptionsUnauthorized
NewPostSubscriptionsUnauthorized creates a PostSubscriptionsUnauthorized with default headers values
func (*PostSubscriptionsUnauthorized) Error ¶ added in v0.43.0
func (o *PostSubscriptionsUnauthorized) Error() string
func (*PostSubscriptionsUnauthorized) GetPayload ¶ added in v0.43.0
func (o *PostSubscriptionsUnauthorized) GetPayload() *models.APIError
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