subscriptions

package
v0.44.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

type DeleteSubscriptionsIDBadRequest struct {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDBadRequest) GetPayload added in v0.43.0

type DeleteSubscriptionsIDConflict added in v0.43.0

type DeleteSubscriptionsIDConflict struct {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDConflict) GetPayload added in v0.43.0

type DeleteSubscriptionsIDForbidden added in v0.43.0

type DeleteSubscriptionsIDForbidden struct {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDForbidden) GetPayload added in v0.43.0

type DeleteSubscriptionsIDInternalServerError added in v0.43.0

type DeleteSubscriptionsIDInternalServerError struct {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDInternalServerError) GetPayload added in v0.43.0

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

type DeleteSubscriptionsIDNotFound added in v0.43.0

type DeleteSubscriptionsIDNotFound struct {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDNotFound) GetPayload added in v0.43.0

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

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

WithContext adds the context to the delete subscriptions ID params

func (*DeleteSubscriptionsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete subscriptions ID params

func (*DeleteSubscriptionsIDParams) WithID

WithID adds the id to the delete subscriptions ID params

func (*DeleteSubscriptionsIDParams) WithTimeout

WithTimeout adds the timeout to the delete subscriptions ID params

func (*DeleteSubscriptionsIDParams) WithVersion

WithVersion adds the version to the delete subscriptions ID params

func (*DeleteSubscriptionsIDParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDServiceUnavailable) GetPayload added in v0.43.0

type DeleteSubscriptionsIDTooManyRequests added in v0.43.0

type DeleteSubscriptionsIDTooManyRequests struct {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDTooManyRequests) GetPayload added in v0.43.0

type DeleteSubscriptionsIDUnauthorized added in v0.43.0

type DeleteSubscriptionsIDUnauthorized struct {
	Payload *models.APIError
}

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 (*DeleteSubscriptionsIDUnauthorized) GetPayload added in v0.43.0

type GetSubscriptionsBadRequest added in v0.43.0

type GetSubscriptionsBadRequest struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsBadRequest) GetPayload added in v0.43.0

func (o *GetSubscriptionsBadRequest) GetPayload() *models.APIError

type GetSubscriptionsConflict added in v0.43.0

type GetSubscriptionsConflict struct {
	Payload *models.APIError
}

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

type GetSubscriptionsForbidden struct {
	Payload *models.APIError
}

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

type GetSubscriptionsIDBadRequest struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsIDBadRequest) GetPayload added in v0.43.0

func (o *GetSubscriptionsIDBadRequest) GetPayload() *models.APIError

type GetSubscriptionsIDConflict added in v0.43.0

type GetSubscriptionsIDConflict struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsIDConflict) GetPayload added in v0.43.0

func (o *GetSubscriptionsIDConflict) GetPayload() *models.APIError

type GetSubscriptionsIDForbidden added in v0.43.0

type GetSubscriptionsIDForbidden struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsIDForbidden) GetPayload added in v0.43.0

func (o *GetSubscriptionsIDForbidden) GetPayload() *models.APIError

type GetSubscriptionsIDInternalServerError added in v0.43.0

type GetSubscriptionsIDInternalServerError struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsIDInternalServerError) GetPayload added in v0.43.0

type GetSubscriptionsIDNotFound added in v0.43.0

type GetSubscriptionsIDNotFound struct {
	Payload *models.APIError
}

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 (*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

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

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

WithID adds the id to the get subscriptions ID params

func (*GetSubscriptionsIDParams) WithTimeout

WithTimeout adds the timeout to the get subscriptions ID params

func (*GetSubscriptionsIDParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*GetSubscriptionsIDServiceUnavailable) GetPayload added in v0.43.0

type GetSubscriptionsIDTooManyRequests added in v0.43.0

type GetSubscriptionsIDTooManyRequests struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsIDTooManyRequests) GetPayload added in v0.43.0

type GetSubscriptionsIDUnauthorized added in v0.43.0

type GetSubscriptionsIDUnauthorized struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsIDUnauthorized) GetPayload added in v0.43.0

type GetSubscriptionsInternalServerError added in v0.43.0

type GetSubscriptionsInternalServerError struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsInternalServerError) GetPayload added in v0.43.0

type GetSubscriptionsNotFound added in v0.43.0

type GetSubscriptionsNotFound struct {
	Payload *models.APIError
}

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

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

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

WithTimeout adds the timeout to the get subscriptions params

func (*GetSubscriptionsParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*GetSubscriptionsServiceUnavailable) GetPayload added in v0.43.0

type GetSubscriptionsTooManyRequests added in v0.43.0

type GetSubscriptionsTooManyRequests struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsTooManyRequests) GetPayload added in v0.43.0

type GetSubscriptionsUnauthorized added in v0.43.0

type GetSubscriptionsUnauthorized struct {
	Payload *models.APIError
}

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 (*GetSubscriptionsUnauthorized) GetPayload added in v0.43.0

func (o *GetSubscriptionsUnauthorized) GetPayload() *models.APIError

type PatchSubscriptionsIDBadRequest added in v0.43.0

type PatchSubscriptionsIDBadRequest struct {
	Payload *models.APIError
}

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 (*PatchSubscriptionsIDBadRequest) GetPayload added in v0.43.0

type PatchSubscriptionsIDConflict added in v0.43.0

type PatchSubscriptionsIDConflict struct {
	Payload *models.APIError
}

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 (*PatchSubscriptionsIDConflict) GetPayload added in v0.43.0

func (o *PatchSubscriptionsIDConflict) GetPayload() *models.APIError

type PatchSubscriptionsIDForbidden added in v0.43.0

type PatchSubscriptionsIDForbidden struct {
	Payload *models.APIError
}

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 (*PatchSubscriptionsIDForbidden) GetPayload added in v0.43.0

type PatchSubscriptionsIDInternalServerError added in v0.43.0

type PatchSubscriptionsIDInternalServerError struct {
	Payload *models.APIError
}

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 (*PatchSubscriptionsIDInternalServerError) GetPayload added in v0.43.0

type PatchSubscriptionsIDNotFound added in v0.43.0

type PatchSubscriptionsIDNotFound struct {
	Payload *models.APIError
}

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 (*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

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

WithContext adds the context to the patch subscriptions ID params

func (*PatchSubscriptionsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch subscriptions ID params

func (*PatchSubscriptionsIDParams) WithID

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

WithTimeout adds the timeout to the patch subscriptions ID params

func (*PatchSubscriptionsIDParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*PatchSubscriptionsIDServiceUnavailable) GetPayload added in v0.43.0

type PatchSubscriptionsIDTooManyRequests added in v0.43.0

type PatchSubscriptionsIDTooManyRequests struct {
	Payload *models.APIError
}

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 (*PatchSubscriptionsIDTooManyRequests) GetPayload added in v0.43.0

type PatchSubscriptionsIDUnauthorized added in v0.43.0

type PatchSubscriptionsIDUnauthorized struct {
	Payload *models.APIError
}

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 (*PatchSubscriptionsIDUnauthorized) GetPayload added in v0.43.0

type PostSubscriptionsBadRequest added in v0.43.0

type PostSubscriptionsBadRequest struct {
	Payload *models.APIError
}

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 (*PostSubscriptionsBadRequest) GetPayload added in v0.43.0

func (o *PostSubscriptionsBadRequest) GetPayload() *models.APIError

type PostSubscriptionsConflict added in v0.43.0

type PostSubscriptionsConflict struct {
	Payload *models.APIError
}

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

type PostSubscriptionsForbidden added in v0.43.0

type PostSubscriptionsForbidden struct {
	Payload *models.APIError
}

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 (*PostSubscriptionsForbidden) GetPayload added in v0.43.0

func (o *PostSubscriptionsForbidden) GetPayload() *models.APIError

type PostSubscriptionsInternalServerError added in v0.43.0

type PostSubscriptionsInternalServerError struct {
	Payload *models.APIError
}

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 (*PostSubscriptionsInternalServerError) GetPayload added in v0.43.0

type PostSubscriptionsNotFound added in v0.43.0

type PostSubscriptionsNotFound struct {
	Payload *models.APIError
}

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

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

WithTimeout adds the timeout to the post subscriptions params

func (*PostSubscriptionsParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*PostSubscriptionsServiceUnavailable) GetPayload added in v0.43.0

type PostSubscriptionsTooManyRequests added in v0.43.0

type PostSubscriptionsTooManyRequests struct {
	Payload *models.APIError
}

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 (*PostSubscriptionsTooManyRequests) GetPayload added in v0.43.0

type PostSubscriptionsUnauthorized added in v0.43.0

type PostSubscriptionsUnauthorized struct {
	Payload *models.APIError
}

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 (*PostSubscriptionsUnauthorized) GetPayload added in v0.43.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL