subscriptions

package
v0.0.0-...-13576d3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPaymentMethodToSubscriptionDefault

type AddPaymentMethodToSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

AddPaymentMethodToSubscriptionDefault handles this case with default header values.

error

func NewAddPaymentMethodToSubscriptionDefault

func NewAddPaymentMethodToSubscriptionDefault(code int) *AddPaymentMethodToSubscriptionDefault

NewAddPaymentMethodToSubscriptionDefault creates a AddPaymentMethodToSubscriptionDefault with default headers values

func (*AddPaymentMethodToSubscriptionDefault) Code

Code gets the status code for the add payment method to subscription default response

func (*AddPaymentMethodToSubscriptionDefault) Error

type AddPaymentMethodToSubscriptionOK

type AddPaymentMethodToSubscriptionOK struct {
	Payload *models.PaymentMethodPagedMetadata
}

AddPaymentMethodToSubscriptionOK handles this case with default header values.

success

func NewAddPaymentMethodToSubscriptionOK

func NewAddPaymentMethodToSubscriptionOK() *AddPaymentMethodToSubscriptionOK

NewAddPaymentMethodToSubscriptionOK creates a AddPaymentMethodToSubscriptionOK with default headers values

func (*AddPaymentMethodToSubscriptionOK) Error

type AddPaymentMethodToSubscriptionParams

type AddPaymentMethodToSubscriptionParams struct {

	/*PaymentMethod*/
	PaymentMethod *models.AddPaymentMethodRequest
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddPaymentMethodToSubscriptionParams contains all the parameters to send to the API endpoint for the add payment method to subscription operation typically these are written to a http.Request

func NewAddPaymentMethodToSubscriptionParams

func NewAddPaymentMethodToSubscriptionParams() *AddPaymentMethodToSubscriptionParams

NewAddPaymentMethodToSubscriptionParams creates a new AddPaymentMethodToSubscriptionParams object with the default values initialized.

func NewAddPaymentMethodToSubscriptionParamsWithContext

func NewAddPaymentMethodToSubscriptionParamsWithContext(ctx context.Context) *AddPaymentMethodToSubscriptionParams

NewAddPaymentMethodToSubscriptionParamsWithContext creates a new AddPaymentMethodToSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewAddPaymentMethodToSubscriptionParamsWithHTTPClient

func NewAddPaymentMethodToSubscriptionParamsWithHTTPClient(client *http.Client) *AddPaymentMethodToSubscriptionParams

NewAddPaymentMethodToSubscriptionParamsWithHTTPClient creates a new AddPaymentMethodToSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddPaymentMethodToSubscriptionParamsWithTimeout

func NewAddPaymentMethodToSubscriptionParamsWithTimeout(timeout time.Duration) *AddPaymentMethodToSubscriptionParams

NewAddPaymentMethodToSubscriptionParamsWithTimeout creates a new AddPaymentMethodToSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddPaymentMethodToSubscriptionParams) SetContext

SetContext adds the context to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) SetHTTPClient

func (o *AddPaymentMethodToSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) SetPaymentMethod

func (o *AddPaymentMethodToSubscriptionParams) SetPaymentMethod(paymentMethod *models.AddPaymentMethodRequest)

SetPaymentMethod adds the paymentMethod to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) SetSubscriptionID

func (o *AddPaymentMethodToSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) SetTimeout

func (o *AddPaymentMethodToSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) WithContext

WithContext adds the context to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) WithPaymentMethod

WithPaymentMethod adds the paymentMethod to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the add payment method to subscription params

func (*AddPaymentMethodToSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddPaymentMethodToSubscriptionReader

type AddPaymentMethodToSubscriptionReader struct {
	// contains filtered or unexported fields
}

AddPaymentMethodToSubscriptionReader is a Reader for the AddPaymentMethodToSubscription structure.

func (*AddPaymentMethodToSubscriptionReader) ReadResponse

func (o *AddPaymentMethodToSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdvanceSubscriptionDefault

type AdvanceSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

AdvanceSubscriptionDefault handles this case with default header values.

error

func NewAdvanceSubscriptionDefault

func NewAdvanceSubscriptionDefault(code int) *AdvanceSubscriptionDefault

NewAdvanceSubscriptionDefault creates a AdvanceSubscriptionDefault with default headers values

func (*AdvanceSubscriptionDefault) Code

func (o *AdvanceSubscriptionDefault) Code() int

Code gets the status code for the advance subscription default response

func (*AdvanceSubscriptionDefault) Error

type AdvanceSubscriptionOK

type AdvanceSubscriptionOK struct {
	Payload *models.TimeResponsePagedMetadata
}

AdvanceSubscriptionOK handles this case with default header values.

success

func NewAdvanceSubscriptionOK

func NewAdvanceSubscriptionOK() *AdvanceSubscriptionOK

NewAdvanceSubscriptionOK creates a AdvanceSubscriptionOK with default headers values

func (*AdvanceSubscriptionOK) Error

func (o *AdvanceSubscriptionOK) Error() string

type AdvanceSubscriptionParams

type AdvanceSubscriptionParams struct {

	/*Request
	  The request

	*/
	Request *models.TimeRequest
	/*SubscriptionID
	  ID of the subscription.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AdvanceSubscriptionParams contains all the parameters to send to the API endpoint for the advance subscription operation typically these are written to a http.Request

func NewAdvanceSubscriptionParams

func NewAdvanceSubscriptionParams() *AdvanceSubscriptionParams

NewAdvanceSubscriptionParams creates a new AdvanceSubscriptionParams object with the default values initialized.

func NewAdvanceSubscriptionParamsWithContext

func NewAdvanceSubscriptionParamsWithContext(ctx context.Context) *AdvanceSubscriptionParams

NewAdvanceSubscriptionParamsWithContext creates a new AdvanceSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewAdvanceSubscriptionParamsWithHTTPClient

func NewAdvanceSubscriptionParamsWithHTTPClient(client *http.Client) *AdvanceSubscriptionParams

NewAdvanceSubscriptionParamsWithHTTPClient creates a new AdvanceSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdvanceSubscriptionParamsWithTimeout

func NewAdvanceSubscriptionParamsWithTimeout(timeout time.Duration) *AdvanceSubscriptionParams

NewAdvanceSubscriptionParamsWithTimeout creates a new AdvanceSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdvanceSubscriptionParams) SetContext

func (o *AdvanceSubscriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the advance subscription params

func (*AdvanceSubscriptionParams) SetHTTPClient

func (o *AdvanceSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the advance subscription params

func (*AdvanceSubscriptionParams) SetRequest

func (o *AdvanceSubscriptionParams) SetRequest(request *models.TimeRequest)

SetRequest adds the request to the advance subscription params

func (*AdvanceSubscriptionParams) SetSubscriptionID

func (o *AdvanceSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the advance subscription params

func (*AdvanceSubscriptionParams) SetTimeout

func (o *AdvanceSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the advance subscription params

func (*AdvanceSubscriptionParams) WithContext

WithContext adds the context to the advance subscription params

func (*AdvanceSubscriptionParams) WithHTTPClient

func (o *AdvanceSubscriptionParams) WithHTTPClient(client *http.Client) *AdvanceSubscriptionParams

WithHTTPClient adds the HTTPClient to the advance subscription params

func (*AdvanceSubscriptionParams) WithRequest

WithRequest adds the request to the advance subscription params

func (*AdvanceSubscriptionParams) WithSubscriptionID

func (o *AdvanceSubscriptionParams) WithSubscriptionID(subscriptionID string) *AdvanceSubscriptionParams

WithSubscriptionID adds the subscriptionID to the advance subscription params

func (*AdvanceSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the advance subscription params

func (*AdvanceSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdvanceSubscriptionReader

type AdvanceSubscriptionReader struct {
	// contains filtered or unexported fields
}

AdvanceSubscriptionReader is a Reader for the AdvanceSubscription structure.

func (*AdvanceSubscriptionReader) ReadResponse

func (o *AdvanceSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AvailablePaymentMethodsForSubscriptionDefault

type AvailablePaymentMethodsForSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

AvailablePaymentMethodsForSubscriptionDefault handles this case with default header values.

error

func NewAvailablePaymentMethodsForSubscriptionDefault

func NewAvailablePaymentMethodsForSubscriptionDefault(code int) *AvailablePaymentMethodsForSubscriptionDefault

NewAvailablePaymentMethodsForSubscriptionDefault creates a AvailablePaymentMethodsForSubscriptionDefault with default headers values

func (*AvailablePaymentMethodsForSubscriptionDefault) Code

Code gets the status code for the available payment methods for subscription default response

func (*AvailablePaymentMethodsForSubscriptionDefault) Error

type AvailablePaymentMethodsForSubscriptionOK

type AvailablePaymentMethodsForSubscriptionOK struct {
	Payload *models.PaymentMethodPagedMetadata
}

AvailablePaymentMethodsForSubscriptionOK handles this case with default header values.

success

func NewAvailablePaymentMethodsForSubscriptionOK

func NewAvailablePaymentMethodsForSubscriptionOK() *AvailablePaymentMethodsForSubscriptionOK

NewAvailablePaymentMethodsForSubscriptionOK creates a AvailablePaymentMethodsForSubscriptionOK with default headers values

func (*AvailablePaymentMethodsForSubscriptionOK) Error

type AvailablePaymentMethodsForSubscriptionParams

type AvailablePaymentMethodsForSubscriptionParams struct {

	/*Offset
	  The offset from the first subscription to return.

	*/
	Offset *int32
	/*Order
	  Ihe direction of any ordering, either ASC or DESC.

	*/
	Order *string
	/*OrderBy
	  Specify a field used to order the result set.

	*/
	OrderBy *string
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*Records
	  The maximum number of subscriptions to return.

	*/
	Records *int32
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AvailablePaymentMethodsForSubscriptionParams contains all the parameters to send to the API endpoint for the available payment methods for subscription operation typically these are written to a http.Request

func NewAvailablePaymentMethodsForSubscriptionParams

func NewAvailablePaymentMethodsForSubscriptionParams() *AvailablePaymentMethodsForSubscriptionParams

NewAvailablePaymentMethodsForSubscriptionParams creates a new AvailablePaymentMethodsForSubscriptionParams object with the default values initialized.

func NewAvailablePaymentMethodsForSubscriptionParamsWithContext

func NewAvailablePaymentMethodsForSubscriptionParamsWithContext(ctx context.Context) *AvailablePaymentMethodsForSubscriptionParams

NewAvailablePaymentMethodsForSubscriptionParamsWithContext creates a new AvailablePaymentMethodsForSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewAvailablePaymentMethodsForSubscriptionParamsWithHTTPClient

func NewAvailablePaymentMethodsForSubscriptionParamsWithHTTPClient(client *http.Client) *AvailablePaymentMethodsForSubscriptionParams

NewAvailablePaymentMethodsForSubscriptionParamsWithHTTPClient creates a new AvailablePaymentMethodsForSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAvailablePaymentMethodsForSubscriptionParamsWithTimeout

func NewAvailablePaymentMethodsForSubscriptionParamsWithTimeout(timeout time.Duration) *AvailablePaymentMethodsForSubscriptionParams

NewAvailablePaymentMethodsForSubscriptionParamsWithTimeout creates a new AvailablePaymentMethodsForSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*AvailablePaymentMethodsForSubscriptionParams) SetContext

SetContext adds the context to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetHTTPClient

func (o *AvailablePaymentMethodsForSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetOffset

SetOffset adds the offset to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetOrder

SetOrder adds the order to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetOrderBy

func (o *AvailablePaymentMethodsForSubscriptionParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetOrganizations

func (o *AvailablePaymentMethodsForSubscriptionParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetRecords

func (o *AvailablePaymentMethodsForSubscriptionParams) SetRecords(records *int32)

SetRecords adds the records to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetSubscriptionID

func (o *AvailablePaymentMethodsForSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) SetTimeout

SetTimeout adds the timeout to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithContext

WithContext adds the context to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithOffset

WithOffset adds the offset to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithOrder

WithOrder adds the order to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithOrderBy

WithOrderBy adds the orderBy to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithOrganizations

WithOrganizations adds the organizations to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithRecords

WithRecords adds the records to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the available payment methods for subscription params

func (*AvailablePaymentMethodsForSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AvailablePaymentMethodsForSubscriptionReader

type AvailablePaymentMethodsForSubscriptionReader struct {
	// contains filtered or unexported fields
}

AvailablePaymentMethodsForSubscriptionReader is a Reader for the AvailablePaymentMethodsForSubscription structure.

func (*AvailablePaymentMethodsForSubscriptionReader) ReadResponse

func (o *AvailablePaymentMethodsForSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type BatchCreateSubscriptionsDefault

type BatchCreateSubscriptionsDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

BatchCreateSubscriptionsDefault handles this case with default header values.

error

func NewBatchCreateSubscriptionsDefault

func NewBatchCreateSubscriptionsDefault(code int) *BatchCreateSubscriptionsDefault

NewBatchCreateSubscriptionsDefault creates a BatchCreateSubscriptionsDefault with default headers values

func (*BatchCreateSubscriptionsDefault) Code

Code gets the status code for the batch create subscriptions default response

func (*BatchCreateSubscriptionsDefault) Error

type BatchCreateSubscriptionsOK

type BatchCreateSubscriptionsOK struct {
	Payload *models.SubscriptionPagedMetadata
}

BatchCreateSubscriptionsOK handles this case with default header values.

success

func NewBatchCreateSubscriptionsOK

func NewBatchCreateSubscriptionsOK() *BatchCreateSubscriptionsOK

NewBatchCreateSubscriptionsOK creates a BatchCreateSubscriptionsOK with default headers values

func (*BatchCreateSubscriptionsOK) Error

type BatchCreateSubscriptionsParams

type BatchCreateSubscriptionsParams struct {

	/*Request*/
	Request *models.CreateSubscriptionBatchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

BatchCreateSubscriptionsParams contains all the parameters to send to the API endpoint for the batch create subscriptions operation typically these are written to a http.Request

func NewBatchCreateSubscriptionsParams

func NewBatchCreateSubscriptionsParams() *BatchCreateSubscriptionsParams

NewBatchCreateSubscriptionsParams creates a new BatchCreateSubscriptionsParams object with the default values initialized.

func NewBatchCreateSubscriptionsParamsWithContext

func NewBatchCreateSubscriptionsParamsWithContext(ctx context.Context) *BatchCreateSubscriptionsParams

NewBatchCreateSubscriptionsParamsWithContext creates a new BatchCreateSubscriptionsParams object with the default values initialized, and the ability to set a context for a request

func NewBatchCreateSubscriptionsParamsWithHTTPClient

func NewBatchCreateSubscriptionsParamsWithHTTPClient(client *http.Client) *BatchCreateSubscriptionsParams

NewBatchCreateSubscriptionsParamsWithHTTPClient creates a new BatchCreateSubscriptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewBatchCreateSubscriptionsParamsWithTimeout

func NewBatchCreateSubscriptionsParamsWithTimeout(timeout time.Duration) *BatchCreateSubscriptionsParams

NewBatchCreateSubscriptionsParamsWithTimeout creates a new BatchCreateSubscriptionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*BatchCreateSubscriptionsParams) SetContext

func (o *BatchCreateSubscriptionsParams) SetContext(ctx context.Context)

SetContext adds the context to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) SetHTTPClient

func (o *BatchCreateSubscriptionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) SetRequest

SetRequest adds the request to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) SetTimeout

func (o *BatchCreateSubscriptionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) WithContext

WithContext adds the context to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) WithRequest

WithRequest adds the request to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the batch create subscriptions params

func (*BatchCreateSubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BatchCreateSubscriptionsReader

type BatchCreateSubscriptionsReader struct {
	// contains filtered or unexported fields
}

BatchCreateSubscriptionsReader is a Reader for the BatchCreateSubscriptions structure.

func (*BatchCreateSubscriptionsReader) ReadResponse

func (o *BatchCreateSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CancelSubscriptionDefault

type CancelSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

CancelSubscriptionDefault handles this case with default header values.

error

func NewCancelSubscriptionDefault

func NewCancelSubscriptionDefault(code int) *CancelSubscriptionDefault

NewCancelSubscriptionDefault creates a CancelSubscriptionDefault with default headers values

func (*CancelSubscriptionDefault) Code

func (o *CancelSubscriptionDefault) Code() int

Code gets the status code for the cancel subscription default response

func (*CancelSubscriptionDefault) Error

func (o *CancelSubscriptionDefault) Error() string

type CancelSubscriptionOK

type CancelSubscriptionOK struct {
	Payload *models.SubscriptionCancellationPagedMetadata
}

CancelSubscriptionOK handles this case with default header values.

success

func NewCancelSubscriptionOK

func NewCancelSubscriptionOK() *CancelSubscriptionOK

NewCancelSubscriptionOK creates a CancelSubscriptionOK with default headers values

func (*CancelSubscriptionOK) Error

func (o *CancelSubscriptionOK) Error() string

type CancelSubscriptionParams

type CancelSubscriptionParams struct {

	/*SubscriptionID*/
	SubscriptionID string
	/*SubscriptionCancellation
	  The cancellation request

	*/
	SubscriptionCancellation *models.CancelSubscriptionRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CancelSubscriptionParams contains all the parameters to send to the API endpoint for the cancel subscription operation typically these are written to a http.Request

func NewCancelSubscriptionParams

func NewCancelSubscriptionParams() *CancelSubscriptionParams

NewCancelSubscriptionParams creates a new CancelSubscriptionParams object with the default values initialized.

func NewCancelSubscriptionParamsWithContext

func NewCancelSubscriptionParamsWithContext(ctx context.Context) *CancelSubscriptionParams

NewCancelSubscriptionParamsWithContext creates a new CancelSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewCancelSubscriptionParamsWithHTTPClient

func NewCancelSubscriptionParamsWithHTTPClient(client *http.Client) *CancelSubscriptionParams

NewCancelSubscriptionParamsWithHTTPClient creates a new CancelSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCancelSubscriptionParamsWithTimeout

func NewCancelSubscriptionParamsWithTimeout(timeout time.Duration) *CancelSubscriptionParams

NewCancelSubscriptionParamsWithTimeout creates a new CancelSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*CancelSubscriptionParams) SetContext

func (o *CancelSubscriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the cancel subscription params

func (*CancelSubscriptionParams) SetHTTPClient

func (o *CancelSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cancel subscription params

func (*CancelSubscriptionParams) SetSubscriptionCancellation

func (o *CancelSubscriptionParams) SetSubscriptionCancellation(subscriptionCancellation *models.CancelSubscriptionRequest)

SetSubscriptionCancellation adds the subscriptionCancellation to the cancel subscription params

func (*CancelSubscriptionParams) SetSubscriptionID

func (o *CancelSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the cancel subscription params

func (*CancelSubscriptionParams) SetTimeout

func (o *CancelSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cancel subscription params

func (*CancelSubscriptionParams) WithContext

WithContext adds the context to the cancel subscription params

func (*CancelSubscriptionParams) WithHTTPClient

func (o *CancelSubscriptionParams) WithHTTPClient(client *http.Client) *CancelSubscriptionParams

WithHTTPClient adds the HTTPClient to the cancel subscription params

func (*CancelSubscriptionParams) WithSubscriptionCancellation

func (o *CancelSubscriptionParams) WithSubscriptionCancellation(subscriptionCancellation *models.CancelSubscriptionRequest) *CancelSubscriptionParams

WithSubscriptionCancellation adds the subscriptionCancellation to the cancel subscription params

func (*CancelSubscriptionParams) WithSubscriptionID

func (o *CancelSubscriptionParams) WithSubscriptionID(subscriptionID string) *CancelSubscriptionParams

WithSubscriptionID adds the subscriptionID to the cancel subscription params

func (*CancelSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the cancel subscription params

func (*CancelSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelSubscriptionReader

type CancelSubscriptionReader struct {
	// contains filtered or unexported fields
}

CancelSubscriptionReader is a Reader for the CancelSubscription structure.

func (*CancelSubscriptionReader) ReadResponse

func (o *CancelSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for subscriptions API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new subscriptions API client.

func (*Client) AddPaymentMethodToSubscription

func (a *Client) AddPaymentMethodToSubscription(params *AddPaymentMethodToSubscriptionParams) (*AddPaymentMethodToSubscriptionOK, error)

AddPaymentMethodToSubscription enables the payment method to pay invoices of this subscription

{"nickname":"Add payment-method to subscription","response":"addPaymentMethod.html","request":"addPaymentMethod.request.html"}

func (*Client) AdvanceSubscription

func (a *Client) AdvanceSubscription(params *AdvanceSubscriptionParams) (*AdvanceSubscriptionOK, error)

AdvanceSubscription advances the subscription through time

{"nickname":"Advance","request":"advanceSubscriptionRequest.html","response":"advanceSubscription.html"}

func (*Client) AvailablePaymentMethodsForSubscription

func (a *Client) AvailablePaymentMethodsForSubscription(params *AvailablePaymentMethodsForSubscriptionParams) (*AvailablePaymentMethodsForSubscriptionOK, error)

AvailablePaymentMethodsForSubscription returns all available payment methods for the specified subscription by default 10 values are returned records are returned in natural order

{ "nickname" : "List on subscription","response" : "getAvailablePaymentMethods.html"}

func (*Client) BatchCreateSubscriptions

func (a *Client) BatchCreateSubscriptions(params *BatchCreateSubscriptionsParams) (*BatchCreateSubscriptionsOK, error)

BatchCreateSubscriptions creates multiple subscriptions

{"nickname":"Create multiple subscriptions","response":"createMultipleSubscriptionViaHelper.html","request":"createMultipleSubscriptionViaHelper.request.html"}

func (*Client) CancelSubscription

func (a *Client) CancelSubscription(params *CancelSubscriptionParams) (*CancelSubscriptionOK, error)

CancelSubscription retires the subscription specified by the subscription ID parameter retiring a subscription causes it to cancel based on the specified retirement settings for the product

{"nickname":"Cancel subscription","response":"deleteSubscription.html","request":"deleteSubscriptionRequest.html"}

func (*Client) CreateAggregatingSubscription

func (a *Client) CreateAggregatingSubscription(params *CreateAggregatingSubscriptionParams) (*CreateAggregatingSubscriptionOK, error)

CreateAggregatingSubscription creates an aggregating subscription

{"nickname":"Create aggregating subscription","response":"createAggregatingSubscription.html","request":"createAggregatingSubscription.request.html"}

func (*Client) CreateSubscription

func (a *Client) CreateSubscription(params *CreateSubscriptionParams) (*CreateSubscriptionOK, error)

CreateSubscription creates a new subscription

{"nickname":"Create a new subscription","request":"createSubscriptionRequest.html","response":"createSubscriptionResponse.html"}

func (*Client) CreateSubscriptionV2

func (a *Client) CreateSubscriptionV2(params *CreateSubscriptionV2Params) (*CreateSubscriptionV2OK, error)

CreateSubscriptionV2 creates a subscription v2

{"nickname":"Create a subscription (V2)","response":"createSubscriptionViaHelper.html","request":"createSubscriptionViaHelper.request.html"}

func (*Client) DeleteMetadataForSubscription

func (a *Client) DeleteMetadataForSubscription(params *DeleteMetadataForSubscriptionParams) (*DeleteMetadataForSubscriptionOK, error)

DeleteMetadataForSubscription removes any associated metadata

{"nickname":"Clear from subscription","request" :"deleteSubscriptionMetadataRequest.html","response":"deleteSubscriptionMetadataResponse.html"}

func (*Client) GetAllSubscriptions

func (a *Client) GetAllSubscriptions(params *GetAllSubscriptionsParams) (*GetAllSubscriptionsOK, error)

GetAllSubscriptions retrieves a collection of all subscriptions by default 10 values are returned records are returned in natural order

{"nickname":"Retrieve all subscriptions","response":"getSubscriptionAll.html"}

func (*Client) GetMetadataForSubscription

func (a *Client) GetMetadataForSubscription(params *GetMetadataForSubscriptionParams) (*GetMetadataForSubscriptionOK, error)

GetMetadataForSubscription retrieves any associated metadata

{"nickname":"Retrieve on subscription","request":"getSubscriptionMetadataRequest.html","response":"getSubscriptionMetadataResponse.html"}

func (*Client) GetSubscriptionByAccountID

func (a *Client) GetSubscriptionByAccountID(params *GetSubscriptionByAccountIDParams) (*GetSubscriptionByAccountIDOK, error)

GetSubscriptionByAccountID retrieves a collection of subscriptions specified by the account ID parameter by default 10 values are returned records are returned in natural order

{"nickname":"Retrieve by account","response":"getSubscriptionByAccount.html"}

func (*Client) GetSubscriptionByID

func (a *Client) GetSubscriptionByID(params *GetSubscriptionByIDParams) (*GetSubscriptionByIDOK, error)

GetSubscriptionByID retrieves a single subscription specified by the ID parameter

{"nickname":"Retrieve an existing subscription","response":"getSubscriptionByID.html"}

func (*Client) RemovePaymentMethodFromSubscription

func (a *Client) RemovePaymentMethodFromSubscription(params *RemovePaymentMethodFromSubscriptionParams) (*RemovePaymentMethodFromSubscriptionOK, error)

RemovePaymentMethodFromSubscription removes the specified payment method for the given subscription

{"nickname":"Remove payment-method","response":"removePaymentMethod.html","request":"removePaymentMethod.request.html"}

func (*Client) ReviveSubscription

func (a *Client) ReviveSubscription(params *ReviveSubscriptionParams) (*ReviveSubscriptionOK, error)

ReviveSubscription revives a cancelled subscription and returns it to its previous state

{"nickname":"Revive subscription","request":"reviveSubscriptionRequest.html", "response":"reviveSubscription.html"}

func (*Client) SetMetadataForSubscription

func (a *Client) SetMetadataForSubscription(params *SetMetadataForSubscriptionParams) (*SetMetadataForSubscriptionOK, error)

SetMetadataForSubscription removes any existing metadata keys and create the provided data

{"nickname":"Set on subscription","request":"setSubscriptionMetadataRequest.html","response":"setSubscriptionMetadataResponse.html"}

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateSubscriptionV2

func (a *Client) UpdateSubscriptionV2(params *UpdateSubscriptionV2Params) (*UpdateSubscriptionV2OK, error)

UpdateSubscriptionV2 updates a subscription v2

{"nickname":"Update subscription (V2)","response":"updateSubscriptionViaHelper.html","request":"updateSubscriptionViaHelper.request.html"}

func (*Client) UpsertMetadataForSubscription

func (a *Client) UpsertMetadataForSubscription(params *UpsertMetadataForSubscriptionParams) (*UpsertMetadataForSubscriptionOK, error)

UpsertMetadataForSubscription updates any existing metadata key values and insert any new key values no keys will be removed

{"nickname":"Upsert on subscription","request":"upsertSubscriptionMetadataRequest.html","response":"upsertSubscriptionMetadataResponse.html"}

type CreateAggregatingSubscriptionDefault

type CreateAggregatingSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

CreateAggregatingSubscriptionDefault handles this case with default header values.

error

func NewCreateAggregatingSubscriptionDefault

func NewCreateAggregatingSubscriptionDefault(code int) *CreateAggregatingSubscriptionDefault

NewCreateAggregatingSubscriptionDefault creates a CreateAggregatingSubscriptionDefault with default headers values

func (*CreateAggregatingSubscriptionDefault) Code

Code gets the status code for the create aggregating subscription default response

func (*CreateAggregatingSubscriptionDefault) Error

type CreateAggregatingSubscriptionOK

type CreateAggregatingSubscriptionOK struct {
	Payload *models.SubscriptionPagedMetadata
}

CreateAggregatingSubscriptionOK handles this case with default header values.

success

func NewCreateAggregatingSubscriptionOK

func NewCreateAggregatingSubscriptionOK() *CreateAggregatingSubscriptionOK

NewCreateAggregatingSubscriptionOK creates a CreateAggregatingSubscriptionOK with default headers values

func (*CreateAggregatingSubscriptionOK) Error

type CreateAggregatingSubscriptionParams

type CreateAggregatingSubscriptionParams struct {

	/*Request*/
	Request *models.CreateAggregatingSubscriptionRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAggregatingSubscriptionParams contains all the parameters to send to the API endpoint for the create aggregating subscription operation typically these are written to a http.Request

func NewCreateAggregatingSubscriptionParams

func NewCreateAggregatingSubscriptionParams() *CreateAggregatingSubscriptionParams

NewCreateAggregatingSubscriptionParams creates a new CreateAggregatingSubscriptionParams object with the default values initialized.

func NewCreateAggregatingSubscriptionParamsWithContext

func NewCreateAggregatingSubscriptionParamsWithContext(ctx context.Context) *CreateAggregatingSubscriptionParams

NewCreateAggregatingSubscriptionParamsWithContext creates a new CreateAggregatingSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewCreateAggregatingSubscriptionParamsWithHTTPClient

func NewCreateAggregatingSubscriptionParamsWithHTTPClient(client *http.Client) *CreateAggregatingSubscriptionParams

NewCreateAggregatingSubscriptionParamsWithHTTPClient creates a new CreateAggregatingSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateAggregatingSubscriptionParamsWithTimeout

func NewCreateAggregatingSubscriptionParamsWithTimeout(timeout time.Duration) *CreateAggregatingSubscriptionParams

NewCreateAggregatingSubscriptionParamsWithTimeout creates a new CreateAggregatingSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateAggregatingSubscriptionParams) SetContext

SetContext adds the context to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) SetHTTPClient

func (o *CreateAggregatingSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) SetRequest

SetRequest adds the request to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) SetTimeout

func (o *CreateAggregatingSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) WithContext

WithContext adds the context to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) WithRequest

WithRequest adds the request to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the create aggregating subscription params

func (*CreateAggregatingSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAggregatingSubscriptionReader

type CreateAggregatingSubscriptionReader struct {
	// contains filtered or unexported fields
}

CreateAggregatingSubscriptionReader is a Reader for the CreateAggregatingSubscription structure.

func (*CreateAggregatingSubscriptionReader) ReadResponse

func (o *CreateAggregatingSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateSubscriptionDefault

type CreateSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

CreateSubscriptionDefault handles this case with default header values.

error

func NewCreateSubscriptionDefault

func NewCreateSubscriptionDefault(code int) *CreateSubscriptionDefault

NewCreateSubscriptionDefault creates a CreateSubscriptionDefault with default headers values

func (*CreateSubscriptionDefault) Code

func (o *CreateSubscriptionDefault) Code() int

Code gets the status code for the create subscription default response

func (*CreateSubscriptionDefault) Error

func (o *CreateSubscriptionDefault) Error() string

type CreateSubscriptionOK

type CreateSubscriptionOK struct {
	Payload *models.SubscriptionPagedMetadata
}

CreateSubscriptionOK handles this case with default header values.

success

func NewCreateSubscriptionOK

func NewCreateSubscriptionOK() *CreateSubscriptionOK

NewCreateSubscriptionOK creates a CreateSubscriptionOK with default headers values

func (*CreateSubscriptionOK) Error

func (o *CreateSubscriptionOK) Error() string

type CreateSubscriptionParams

type CreateSubscriptionParams struct {

	/*Subscription
	  The subscription object to be updated.

	*/
	Subscription *models.Subscription

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateSubscriptionParams contains all the parameters to send to the API endpoint for the create subscription operation typically these are written to a http.Request

func NewCreateSubscriptionParams

func NewCreateSubscriptionParams() *CreateSubscriptionParams

NewCreateSubscriptionParams creates a new CreateSubscriptionParams object with the default values initialized.

func NewCreateSubscriptionParamsWithContext

func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithContext creates a new CreateSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewCreateSubscriptionParamsWithHTTPClient

func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithHTTPClient creates a new CreateSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateSubscriptionParamsWithTimeout

func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithTimeout creates a new CreateSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateSubscriptionParams) SetContext

func (o *CreateSubscriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the create subscription params

func (*CreateSubscriptionParams) SetHTTPClient

func (o *CreateSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) SetSubscription

func (o *CreateSubscriptionParams) SetSubscription(subscription *models.Subscription)

SetSubscription adds the subscription to the create subscription params

func (*CreateSubscriptionParams) SetTimeout

func (o *CreateSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) WithContext

WithContext adds the context to the create subscription params

func (*CreateSubscriptionParams) WithHTTPClient

func (o *CreateSubscriptionParams) WithHTTPClient(client *http.Client) *CreateSubscriptionParams

WithHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) WithSubscription

func (o *CreateSubscriptionParams) WithSubscription(subscription *models.Subscription) *CreateSubscriptionParams

WithSubscription adds the subscription to the create subscription params

func (*CreateSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionReader

type CreateSubscriptionReader struct {
	// contains filtered or unexported fields
}

CreateSubscriptionReader is a Reader for the CreateSubscription structure.

func (*CreateSubscriptionReader) ReadResponse

func (o *CreateSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateSubscriptionV2Default

type CreateSubscriptionV2Default struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

CreateSubscriptionV2Default handles this case with default header values.

error

func NewCreateSubscriptionV2Default

func NewCreateSubscriptionV2Default(code int) *CreateSubscriptionV2Default

NewCreateSubscriptionV2Default creates a CreateSubscriptionV2Default with default headers values

func (*CreateSubscriptionV2Default) Code

func (o *CreateSubscriptionV2Default) Code() int

Code gets the status code for the create subscription v2 default response

func (*CreateSubscriptionV2Default) Error

type CreateSubscriptionV2OK

type CreateSubscriptionV2OK struct {
	Payload *models.SubscriptionPagedMetadata
}

CreateSubscriptionV2OK handles this case with default header values.

success

func NewCreateSubscriptionV2OK

func NewCreateSubscriptionV2OK() *CreateSubscriptionV2OK

NewCreateSubscriptionV2OK creates a CreateSubscriptionV2OK with default headers values

func (*CreateSubscriptionV2OK) Error

func (o *CreateSubscriptionV2OK) Error() string

type CreateSubscriptionV2Params

type CreateSubscriptionV2Params struct {

	/*Request*/
	Request *models.CreateSubscriptionRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateSubscriptionV2Params contains all the parameters to send to the API endpoint for the create subscription v2 operation typically these are written to a http.Request

func NewCreateSubscriptionV2Params

func NewCreateSubscriptionV2Params() *CreateSubscriptionV2Params

NewCreateSubscriptionV2Params creates a new CreateSubscriptionV2Params object with the default values initialized.

func NewCreateSubscriptionV2ParamsWithContext

func NewCreateSubscriptionV2ParamsWithContext(ctx context.Context) *CreateSubscriptionV2Params

NewCreateSubscriptionV2ParamsWithContext creates a new CreateSubscriptionV2Params object with the default values initialized, and the ability to set a context for a request

func NewCreateSubscriptionV2ParamsWithHTTPClient

func NewCreateSubscriptionV2ParamsWithHTTPClient(client *http.Client) *CreateSubscriptionV2Params

NewCreateSubscriptionV2ParamsWithHTTPClient creates a new CreateSubscriptionV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateSubscriptionV2ParamsWithTimeout

func NewCreateSubscriptionV2ParamsWithTimeout(timeout time.Duration) *CreateSubscriptionV2Params

NewCreateSubscriptionV2ParamsWithTimeout creates a new CreateSubscriptionV2Params object with the default values initialized, and the ability to set a timeout on a request

func (*CreateSubscriptionV2Params) SetContext

func (o *CreateSubscriptionV2Params) SetContext(ctx context.Context)

SetContext adds the context to the create subscription v2 params

func (*CreateSubscriptionV2Params) SetHTTPClient

func (o *CreateSubscriptionV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create subscription v2 params

func (*CreateSubscriptionV2Params) SetRequest

SetRequest adds the request to the create subscription v2 params

func (*CreateSubscriptionV2Params) SetTimeout

func (o *CreateSubscriptionV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create subscription v2 params

func (*CreateSubscriptionV2Params) WithContext

WithContext adds the context to the create subscription v2 params

func (*CreateSubscriptionV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create subscription v2 params

func (*CreateSubscriptionV2Params) WithRequest

WithRequest adds the request to the create subscription v2 params

func (*CreateSubscriptionV2Params) WithTimeout

WithTimeout adds the timeout to the create subscription v2 params

func (*CreateSubscriptionV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionV2Reader

type CreateSubscriptionV2Reader struct {
	// contains filtered or unexported fields
}

CreateSubscriptionV2Reader is a Reader for the CreateSubscriptionV2 structure.

func (*CreateSubscriptionV2Reader) ReadResponse

func (o *CreateSubscriptionV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteMetadataForSubscriptionDefault

type DeleteMetadataForSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

DeleteMetadataForSubscriptionDefault handles this case with default header values.

error

func NewDeleteMetadataForSubscriptionDefault

func NewDeleteMetadataForSubscriptionDefault(code int) *DeleteMetadataForSubscriptionDefault

NewDeleteMetadataForSubscriptionDefault creates a DeleteMetadataForSubscriptionDefault with default headers values

func (*DeleteMetadataForSubscriptionDefault) Code

Code gets the status code for the delete metadata for subscription default response

func (*DeleteMetadataForSubscriptionDefault) Error

type DeleteMetadataForSubscriptionOK

type DeleteMetadataForSubscriptionOK struct {
	Payload models.DynamicMetadata
}

DeleteMetadataForSubscriptionOK handles this case with default header values.

success

func NewDeleteMetadataForSubscriptionOK

func NewDeleteMetadataForSubscriptionOK() *DeleteMetadataForSubscriptionOK

NewDeleteMetadataForSubscriptionOK creates a DeleteMetadataForSubscriptionOK with default headers values

func (*DeleteMetadataForSubscriptionOK) Error

type DeleteMetadataForSubscriptionParams

type DeleteMetadataForSubscriptionParams struct {

	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteMetadataForSubscriptionParams contains all the parameters to send to the API endpoint for the delete metadata for subscription operation typically these are written to a http.Request

func NewDeleteMetadataForSubscriptionParams

func NewDeleteMetadataForSubscriptionParams() *DeleteMetadataForSubscriptionParams

NewDeleteMetadataForSubscriptionParams creates a new DeleteMetadataForSubscriptionParams object with the default values initialized.

func NewDeleteMetadataForSubscriptionParamsWithContext

func NewDeleteMetadataForSubscriptionParamsWithContext(ctx context.Context) *DeleteMetadataForSubscriptionParams

NewDeleteMetadataForSubscriptionParamsWithContext creates a new DeleteMetadataForSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteMetadataForSubscriptionParamsWithHTTPClient

func NewDeleteMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteMetadataForSubscriptionParams

NewDeleteMetadataForSubscriptionParamsWithHTTPClient creates a new DeleteMetadataForSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteMetadataForSubscriptionParamsWithTimeout

func NewDeleteMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteMetadataForSubscriptionParams

NewDeleteMetadataForSubscriptionParamsWithTimeout creates a new DeleteMetadataForSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteMetadataForSubscriptionParams) SetContext

SetContext adds the context to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) SetHTTPClient

func (o *DeleteMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) SetOrganizations

func (o *DeleteMetadataForSubscriptionParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) SetSubscriptionID

func (o *DeleteMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) SetTimeout

func (o *DeleteMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) WithContext

WithContext adds the context to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) WithOrganizations

WithOrganizations adds the organizations to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the delete metadata for subscription params

func (*DeleteMetadataForSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMetadataForSubscriptionReader

type DeleteMetadataForSubscriptionReader struct {
	// contains filtered or unexported fields
}

DeleteMetadataForSubscriptionReader is a Reader for the DeleteMetadataForSubscription structure.

func (*DeleteMetadataForSubscriptionReader) ReadResponse

func (o *DeleteMetadataForSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAllSubscriptionsDefault

type GetAllSubscriptionsDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetAllSubscriptionsDefault handles this case with default header values.

error

func NewGetAllSubscriptionsDefault

func NewGetAllSubscriptionsDefault(code int) *GetAllSubscriptionsDefault

NewGetAllSubscriptionsDefault creates a GetAllSubscriptionsDefault with default headers values

func (*GetAllSubscriptionsDefault) Code

func (o *GetAllSubscriptionsDefault) Code() int

Code gets the status code for the get all subscriptions default response

func (*GetAllSubscriptionsDefault) Error

type GetAllSubscriptionsOK

type GetAllSubscriptionsOK struct {
	Payload *models.SubscriptionPagedMetadata
}

GetAllSubscriptionsOK handles this case with default header values.

success

func NewGetAllSubscriptionsOK

func NewGetAllSubscriptionsOK() *GetAllSubscriptionsOK

NewGetAllSubscriptionsOK creates a GetAllSubscriptionsOK with default headers values

func (*GetAllSubscriptionsOK) Error

func (o *GetAllSubscriptionsOK) Error() string

type GetAllSubscriptionsParams

type GetAllSubscriptionsParams struct {

	/*AccountID
	  A list of accountIDs to filter subscriptions on

	*/
	AccountID []string
	/*ExcludeChildren
	  Should child subscriptiosn be excluded.

	*/
	ExcludeChildren *bool
	/*ExcludeServiceEnded*/
	ExcludeServiceEnded *bool
	/*IncludeRetired
	  Whether retired subscriptions should be returned.

	*/
	IncludeRetired *bool
	/*Metadata*/
	Metadata *string
	/*Offset
	  The offset from the first subscription to return.

	*/
	Offset *int32
	/*Order
	  Ihe direction of any ordering, either ASC or DESC.

	*/
	Order *string
	/*OrderBy
	  Specify a field used to order the result set.

	*/
	OrderBy *string
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*Records
	  The maximum number of subscriptions to return.

	*/
	Records *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAllSubscriptionsParams contains all the parameters to send to the API endpoint for the get all subscriptions operation typically these are written to a http.Request

func NewGetAllSubscriptionsParams

func NewGetAllSubscriptionsParams() *GetAllSubscriptionsParams

NewGetAllSubscriptionsParams creates a new GetAllSubscriptionsParams object with the default values initialized.

func NewGetAllSubscriptionsParamsWithContext

func NewGetAllSubscriptionsParamsWithContext(ctx context.Context) *GetAllSubscriptionsParams

NewGetAllSubscriptionsParamsWithContext creates a new GetAllSubscriptionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAllSubscriptionsParamsWithHTTPClient

func NewGetAllSubscriptionsParamsWithHTTPClient(client *http.Client) *GetAllSubscriptionsParams

NewGetAllSubscriptionsParamsWithHTTPClient creates a new GetAllSubscriptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAllSubscriptionsParamsWithTimeout

func NewGetAllSubscriptionsParamsWithTimeout(timeout time.Duration) *GetAllSubscriptionsParams

NewGetAllSubscriptionsParamsWithTimeout creates a new GetAllSubscriptionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAllSubscriptionsParams) SetAccountID

func (o *GetAllSubscriptionsParams) SetAccountID(accountID []string)

SetAccountID adds the accountId to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetContext

func (o *GetAllSubscriptionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetExcludeChildren

func (o *GetAllSubscriptionsParams) SetExcludeChildren(excludeChildren *bool)

SetExcludeChildren adds the excludeChildren to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetExcludeServiceEnded

func (o *GetAllSubscriptionsParams) SetExcludeServiceEnded(excludeServiceEnded *bool)

SetExcludeServiceEnded adds the excludeServiceEnded to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetHTTPClient

func (o *GetAllSubscriptionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetIncludeRetired

func (o *GetAllSubscriptionsParams) SetIncludeRetired(includeRetired *bool)

SetIncludeRetired adds the includeRetired to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetMetadata

func (o *GetAllSubscriptionsParams) SetMetadata(metadata *string)

SetMetadata adds the metadata to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetOffset

func (o *GetAllSubscriptionsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetOrder

func (o *GetAllSubscriptionsParams) SetOrder(order *string)

SetOrder adds the order to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetOrderBy

func (o *GetAllSubscriptionsParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetOrganizations

func (o *GetAllSubscriptionsParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetRecords

func (o *GetAllSubscriptionsParams) SetRecords(records *int32)

SetRecords adds the records to the get all subscriptions params

func (*GetAllSubscriptionsParams) SetTimeout

func (o *GetAllSubscriptionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithAccountID

func (o *GetAllSubscriptionsParams) WithAccountID(accountID []string) *GetAllSubscriptionsParams

WithAccountID adds the accountID to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithContext

WithContext adds the context to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithExcludeChildren

func (o *GetAllSubscriptionsParams) WithExcludeChildren(excludeChildren *bool) *GetAllSubscriptionsParams

WithExcludeChildren adds the excludeChildren to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithExcludeServiceEnded

func (o *GetAllSubscriptionsParams) WithExcludeServiceEnded(excludeServiceEnded *bool) *GetAllSubscriptionsParams

WithExcludeServiceEnded adds the excludeServiceEnded to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithHTTPClient

func (o *GetAllSubscriptionsParams) WithHTTPClient(client *http.Client) *GetAllSubscriptionsParams

WithHTTPClient adds the HTTPClient to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithIncludeRetired

func (o *GetAllSubscriptionsParams) WithIncludeRetired(includeRetired *bool) *GetAllSubscriptionsParams

WithIncludeRetired adds the includeRetired to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithMetadata

func (o *GetAllSubscriptionsParams) WithMetadata(metadata *string) *GetAllSubscriptionsParams

WithMetadata adds the metadata to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithOffset

WithOffset adds the offset to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithOrder

WithOrder adds the order to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithOrderBy

WithOrderBy adds the orderBy to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithOrganizations

func (o *GetAllSubscriptionsParams) WithOrganizations(organizations []string) *GetAllSubscriptionsParams

WithOrganizations adds the organizations to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithRecords

func (o *GetAllSubscriptionsParams) WithRecords(records *int32) *GetAllSubscriptionsParams

WithRecords adds the records to the get all subscriptions params

func (*GetAllSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the get all subscriptions params

func (*GetAllSubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllSubscriptionsReader

type GetAllSubscriptionsReader struct {
	// contains filtered or unexported fields
}

GetAllSubscriptionsReader is a Reader for the GetAllSubscriptions structure.

func (*GetAllSubscriptionsReader) ReadResponse

func (o *GetAllSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMetadataForSubscriptionDefault

type GetMetadataForSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetMetadataForSubscriptionDefault handles this case with default header values.

error

func NewGetMetadataForSubscriptionDefault

func NewGetMetadataForSubscriptionDefault(code int) *GetMetadataForSubscriptionDefault

NewGetMetadataForSubscriptionDefault creates a GetMetadataForSubscriptionDefault with default headers values

func (*GetMetadataForSubscriptionDefault) Code

Code gets the status code for the get metadata for subscription default response

func (*GetMetadataForSubscriptionDefault) Error

type GetMetadataForSubscriptionOK

type GetMetadataForSubscriptionOK struct {
	Payload models.DynamicMetadata
}

GetMetadataForSubscriptionOK handles this case with default header values.

success

func NewGetMetadataForSubscriptionOK

func NewGetMetadataForSubscriptionOK() *GetMetadataForSubscriptionOK

NewGetMetadataForSubscriptionOK creates a GetMetadataForSubscriptionOK with default headers values

func (*GetMetadataForSubscriptionOK) Error

type GetMetadataForSubscriptionParams

type GetMetadataForSubscriptionParams struct {

	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMetadataForSubscriptionParams contains all the parameters to send to the API endpoint for the get metadata for subscription operation typically these are written to a http.Request

func NewGetMetadataForSubscriptionParams

func NewGetMetadataForSubscriptionParams() *GetMetadataForSubscriptionParams

NewGetMetadataForSubscriptionParams creates a new GetMetadataForSubscriptionParams object with the default values initialized.

func NewGetMetadataForSubscriptionParamsWithContext

func NewGetMetadataForSubscriptionParamsWithContext(ctx context.Context) *GetMetadataForSubscriptionParams

NewGetMetadataForSubscriptionParamsWithContext creates a new GetMetadataForSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewGetMetadataForSubscriptionParamsWithHTTPClient

func NewGetMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *GetMetadataForSubscriptionParams

NewGetMetadataForSubscriptionParamsWithHTTPClient creates a new GetMetadataForSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMetadataForSubscriptionParamsWithTimeout

func NewGetMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *GetMetadataForSubscriptionParams

NewGetMetadataForSubscriptionParamsWithTimeout creates a new GetMetadataForSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMetadataForSubscriptionParams) SetContext

SetContext adds the context to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) SetHTTPClient

func (o *GetMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) SetOrganizations

func (o *GetMetadataForSubscriptionParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) SetSubscriptionID

func (o *GetMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) SetTimeout

func (o *GetMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) WithContext

WithContext adds the context to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) WithOrganizations

func (o *GetMetadataForSubscriptionParams) WithOrganizations(organizations []string) *GetMetadataForSubscriptionParams

WithOrganizations adds the organizations to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) WithSubscriptionID

func (o *GetMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *GetMetadataForSubscriptionParams

WithSubscriptionID adds the subscriptionID to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the get metadata for subscription params

func (*GetMetadataForSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMetadataForSubscriptionReader

type GetMetadataForSubscriptionReader struct {
	// contains filtered or unexported fields
}

GetMetadataForSubscriptionReader is a Reader for the GetMetadataForSubscription structure.

func (*GetMetadataForSubscriptionReader) ReadResponse

func (o *GetMetadataForSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSubscriptionByAccountIDDefault

type GetSubscriptionByAccountIDDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetSubscriptionByAccountIDDefault handles this case with default header values.

error

func NewGetSubscriptionByAccountIDDefault

func NewGetSubscriptionByAccountIDDefault(code int) *GetSubscriptionByAccountIDDefault

NewGetSubscriptionByAccountIDDefault creates a GetSubscriptionByAccountIDDefault with default headers values

func (*GetSubscriptionByAccountIDDefault) Code

Code gets the status code for the get subscription by account ID default response

func (*GetSubscriptionByAccountIDDefault) Error

type GetSubscriptionByAccountIDOK

type GetSubscriptionByAccountIDOK struct {
	Payload *models.SubscriptionPagedMetadata
}

GetSubscriptionByAccountIDOK handles this case with default header values.

success

func NewGetSubscriptionByAccountIDOK

func NewGetSubscriptionByAccountIDOK() *GetSubscriptionByAccountIDOK

NewGetSubscriptionByAccountIDOK creates a GetSubscriptionByAccountIDOK with default headers values

func (*GetSubscriptionByAccountIDOK) Error

type GetSubscriptionByAccountIDParams

type GetSubscriptionByAccountIDParams struct {

	/*AccountID*/
	AccountID string
	/*ExcludeChildren
	  Should child subscriptiosn be excluded.

	*/
	ExcludeChildren *bool
	/*IncludeRetired
	  Whether retired subscriptions should be returned.

	*/
	IncludeRetired *bool
	/*Offset
	  The offset from the first subscription to return.

	*/
	Offset *int32
	/*Order
	  Ihe direction of any ordering, either ASC or DESC.

	*/
	Order *string
	/*OrderBy
	  Specify a field used to order the result set.

	*/
	OrderBy *string
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*Records
	  The maximum number of subscriptions to return.

	*/
	Records *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSubscriptionByAccountIDParams contains all the parameters to send to the API endpoint for the get subscription by account ID operation typically these are written to a http.Request

func NewGetSubscriptionByAccountIDParams

func NewGetSubscriptionByAccountIDParams() *GetSubscriptionByAccountIDParams

NewGetSubscriptionByAccountIDParams creates a new GetSubscriptionByAccountIDParams object with the default values initialized.

func NewGetSubscriptionByAccountIDParamsWithContext

func NewGetSubscriptionByAccountIDParamsWithContext(ctx context.Context) *GetSubscriptionByAccountIDParams

NewGetSubscriptionByAccountIDParamsWithContext creates a new GetSubscriptionByAccountIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetSubscriptionByAccountIDParamsWithHTTPClient

func NewGetSubscriptionByAccountIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByAccountIDParams

NewGetSubscriptionByAccountIDParamsWithHTTPClient creates a new GetSubscriptionByAccountIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSubscriptionByAccountIDParamsWithTimeout

func NewGetSubscriptionByAccountIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByAccountIDParams

NewGetSubscriptionByAccountIDParamsWithTimeout creates a new GetSubscriptionByAccountIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSubscriptionByAccountIDParams) SetAccountID

func (o *GetSubscriptionByAccountIDParams) SetAccountID(accountID string)

SetAccountID adds the accountId to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetContext

SetContext adds the context to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetExcludeChildren

func (o *GetSubscriptionByAccountIDParams) SetExcludeChildren(excludeChildren *bool)

SetExcludeChildren adds the excludeChildren to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetHTTPClient

func (o *GetSubscriptionByAccountIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetIncludeRetired

func (o *GetSubscriptionByAccountIDParams) SetIncludeRetired(includeRetired *bool)

SetIncludeRetired adds the includeRetired to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetOffset

func (o *GetSubscriptionByAccountIDParams) SetOffset(offset *int32)

SetOffset adds the offset to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetOrder

func (o *GetSubscriptionByAccountIDParams) SetOrder(order *string)

SetOrder adds the order to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetOrderBy

func (o *GetSubscriptionByAccountIDParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetOrganizations

func (o *GetSubscriptionByAccountIDParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetRecords

func (o *GetSubscriptionByAccountIDParams) SetRecords(records *int32)

SetRecords adds the records to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) SetTimeout

func (o *GetSubscriptionByAccountIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithAccountID

WithAccountID adds the accountID to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithContext

WithContext adds the context to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithExcludeChildren

func (o *GetSubscriptionByAccountIDParams) WithExcludeChildren(excludeChildren *bool) *GetSubscriptionByAccountIDParams

WithExcludeChildren adds the excludeChildren to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithIncludeRetired

func (o *GetSubscriptionByAccountIDParams) WithIncludeRetired(includeRetired *bool) *GetSubscriptionByAccountIDParams

WithIncludeRetired adds the includeRetired to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithOffset

WithOffset adds the offset to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithOrder

WithOrder adds the order to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithOrderBy

WithOrderBy adds the orderBy to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithOrganizations

func (o *GetSubscriptionByAccountIDParams) WithOrganizations(organizations []string) *GetSubscriptionByAccountIDParams

WithOrganizations adds the organizations to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithRecords

WithRecords adds the records to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WithTimeout

WithTimeout adds the timeout to the get subscription by account ID params

func (*GetSubscriptionByAccountIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionByAccountIDReader

type GetSubscriptionByAccountIDReader struct {
	// contains filtered or unexported fields
}

GetSubscriptionByAccountIDReader is a Reader for the GetSubscriptionByAccountID structure.

func (*GetSubscriptionByAccountIDReader) ReadResponse

func (o *GetSubscriptionByAccountIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSubscriptionByIDDefault

type GetSubscriptionByIDDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetSubscriptionByIDDefault handles this case with default header values.

error

func NewGetSubscriptionByIDDefault

func NewGetSubscriptionByIDDefault(code int) *GetSubscriptionByIDDefault

NewGetSubscriptionByIDDefault creates a GetSubscriptionByIDDefault with default headers values

func (*GetSubscriptionByIDDefault) Code

func (o *GetSubscriptionByIDDefault) Code() int

Code gets the status code for the get subscription by ID default response

func (*GetSubscriptionByIDDefault) Error

type GetSubscriptionByIDOK

type GetSubscriptionByIDOK struct {
	Payload *models.SubscriptionPagedMetadata
}

GetSubscriptionByIDOK handles this case with default header values.

success

func NewGetSubscriptionByIDOK

func NewGetSubscriptionByIDOK() *GetSubscriptionByIDOK

NewGetSubscriptionByIDOK creates a GetSubscriptionByIDOK with default headers values

func (*GetSubscriptionByIDOK) Error

func (o *GetSubscriptionByIDOK) Error() string

type GetSubscriptionByIDParams

type GetSubscriptionByIDParams struct {

	/*IncludeRetired
	  Whether retired subscriptions should be returned.

	*/
	IncludeRetired *bool
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSubscriptionByIDParams contains all the parameters to send to the API endpoint for the get subscription by ID operation typically these are written to a http.Request

func NewGetSubscriptionByIDParams

func NewGetSubscriptionByIDParams() *GetSubscriptionByIDParams

NewGetSubscriptionByIDParams creates a new GetSubscriptionByIDParams object with the default values initialized.

func NewGetSubscriptionByIDParamsWithContext

func NewGetSubscriptionByIDParamsWithContext(ctx context.Context) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithContext creates a new GetSubscriptionByIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetSubscriptionByIDParamsWithHTTPClient

func NewGetSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithHTTPClient creates a new GetSubscriptionByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSubscriptionByIDParamsWithTimeout

func NewGetSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithTimeout creates a new GetSubscriptionByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSubscriptionByIDParams) SetContext

func (o *GetSubscriptionByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get subscription by ID params

func (*GetSubscriptionByIDParams) SetHTTPClient

func (o *GetSubscriptionByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get subscription by ID params

func (*GetSubscriptionByIDParams) SetIncludeRetired

func (o *GetSubscriptionByIDParams) SetIncludeRetired(includeRetired *bool)

SetIncludeRetired adds the includeRetired to the get subscription by ID params

func (*GetSubscriptionByIDParams) SetOrganizations

func (o *GetSubscriptionByIDParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get subscription by ID params

func (*GetSubscriptionByIDParams) SetSubscriptionID

func (o *GetSubscriptionByIDParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the get subscription by ID params

func (*GetSubscriptionByIDParams) SetTimeout

func (o *GetSubscriptionByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get subscription by ID params

func (*GetSubscriptionByIDParams) WithContext

WithContext adds the context to the get subscription by ID params

func (*GetSubscriptionByIDParams) WithHTTPClient

func (o *GetSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionByIDParams

WithHTTPClient adds the HTTPClient to the get subscription by ID params

func (*GetSubscriptionByIDParams) WithIncludeRetired

func (o *GetSubscriptionByIDParams) WithIncludeRetired(includeRetired *bool) *GetSubscriptionByIDParams

WithIncludeRetired adds the includeRetired to the get subscription by ID params

func (*GetSubscriptionByIDParams) WithOrganizations

func (o *GetSubscriptionByIDParams) WithOrganizations(organizations []string) *GetSubscriptionByIDParams

WithOrganizations adds the organizations to the get subscription by ID params

func (*GetSubscriptionByIDParams) WithSubscriptionID

func (o *GetSubscriptionByIDParams) WithSubscriptionID(subscriptionID string) *GetSubscriptionByIDParams

WithSubscriptionID adds the subscriptionID to the get subscription by ID params

func (*GetSubscriptionByIDParams) WithTimeout

WithTimeout adds the timeout to the get subscription by ID params

func (*GetSubscriptionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionByIDReader

type GetSubscriptionByIDReader struct {
	// contains filtered or unexported fields
}

GetSubscriptionByIDReader is a Reader for the GetSubscriptionByID structure.

func (*GetSubscriptionByIDReader) ReadResponse

func (o *GetSubscriptionByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemovePaymentMethodFromSubscriptionDefault

type RemovePaymentMethodFromSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

RemovePaymentMethodFromSubscriptionDefault handles this case with default header values.

error

func NewRemovePaymentMethodFromSubscriptionDefault

func NewRemovePaymentMethodFromSubscriptionDefault(code int) *RemovePaymentMethodFromSubscriptionDefault

NewRemovePaymentMethodFromSubscriptionDefault creates a RemovePaymentMethodFromSubscriptionDefault with default headers values

func (*RemovePaymentMethodFromSubscriptionDefault) Code

Code gets the status code for the remove payment method from subscription default response

func (*RemovePaymentMethodFromSubscriptionDefault) Error

type RemovePaymentMethodFromSubscriptionOK

type RemovePaymentMethodFromSubscriptionOK struct {
	Payload *models.PaymentMethodPagedMetadata
}

RemovePaymentMethodFromSubscriptionOK handles this case with default header values.

success

func NewRemovePaymentMethodFromSubscriptionOK

func NewRemovePaymentMethodFromSubscriptionOK() *RemovePaymentMethodFromSubscriptionOK

NewRemovePaymentMethodFromSubscriptionOK creates a RemovePaymentMethodFromSubscriptionOK with default headers values

func (*RemovePaymentMethodFromSubscriptionOK) Error

type RemovePaymentMethodFromSubscriptionParams

type RemovePaymentMethodFromSubscriptionParams struct {

	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*PaymentMethodID*/
	PaymentMethodID string
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemovePaymentMethodFromSubscriptionParams contains all the parameters to send to the API endpoint for the remove payment method from subscription operation typically these are written to a http.Request

func NewRemovePaymentMethodFromSubscriptionParams

func NewRemovePaymentMethodFromSubscriptionParams() *RemovePaymentMethodFromSubscriptionParams

NewRemovePaymentMethodFromSubscriptionParams creates a new RemovePaymentMethodFromSubscriptionParams object with the default values initialized.

func NewRemovePaymentMethodFromSubscriptionParamsWithContext

func NewRemovePaymentMethodFromSubscriptionParamsWithContext(ctx context.Context) *RemovePaymentMethodFromSubscriptionParams

NewRemovePaymentMethodFromSubscriptionParamsWithContext creates a new RemovePaymentMethodFromSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewRemovePaymentMethodFromSubscriptionParamsWithHTTPClient

func NewRemovePaymentMethodFromSubscriptionParamsWithHTTPClient(client *http.Client) *RemovePaymentMethodFromSubscriptionParams

NewRemovePaymentMethodFromSubscriptionParamsWithHTTPClient creates a new RemovePaymentMethodFromSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRemovePaymentMethodFromSubscriptionParamsWithTimeout

func NewRemovePaymentMethodFromSubscriptionParamsWithTimeout(timeout time.Duration) *RemovePaymentMethodFromSubscriptionParams

NewRemovePaymentMethodFromSubscriptionParamsWithTimeout creates a new RemovePaymentMethodFromSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*RemovePaymentMethodFromSubscriptionParams) SetContext

SetContext adds the context to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) SetHTTPClient

func (o *RemovePaymentMethodFromSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) SetOrganizations

func (o *RemovePaymentMethodFromSubscriptionParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) SetPaymentMethodID

func (o *RemovePaymentMethodFromSubscriptionParams) SetPaymentMethodID(paymentMethodID string)

SetPaymentMethodID adds the paymentMethodId to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) SetSubscriptionID

func (o *RemovePaymentMethodFromSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) SetTimeout

SetTimeout adds the timeout to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) WithContext

WithContext adds the context to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) WithOrganizations

WithOrganizations adds the organizations to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) WithPaymentMethodID

WithPaymentMethodID adds the paymentMethodID to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the remove payment method from subscription params

func (*RemovePaymentMethodFromSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemovePaymentMethodFromSubscriptionReader

type RemovePaymentMethodFromSubscriptionReader struct {
	// contains filtered or unexported fields
}

RemovePaymentMethodFromSubscriptionReader is a Reader for the RemovePaymentMethodFromSubscription structure.

func (*RemovePaymentMethodFromSubscriptionReader) ReadResponse

func (o *RemovePaymentMethodFromSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReviveSubscriptionDefault

type ReviveSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

ReviveSubscriptionDefault handles this case with default header values.

error

func NewReviveSubscriptionDefault

func NewReviveSubscriptionDefault(code int) *ReviveSubscriptionDefault

NewReviveSubscriptionDefault creates a ReviveSubscriptionDefault with default headers values

func (*ReviveSubscriptionDefault) Code

func (o *ReviveSubscriptionDefault) Code() int

Code gets the status code for the revive subscription default response

func (*ReviveSubscriptionDefault) Error

func (o *ReviveSubscriptionDefault) Error() string

type ReviveSubscriptionOK

type ReviveSubscriptionOK struct {
	Payload *models.SubscriptionPagedMetadata
}

ReviveSubscriptionOK handles this case with default header values.

success

func NewReviveSubscriptionOK

func NewReviveSubscriptionOK() *ReviveSubscriptionOK

NewReviveSubscriptionOK creates a ReviveSubscriptionOK with default headers values

func (*ReviveSubscriptionOK) Error

func (o *ReviveSubscriptionOK) Error() string

type ReviveSubscriptionParams

type ReviveSubscriptionParams struct {

	/*Request
	  The revive request

	*/
	Request *models.ReviveSubscriptionRequest
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReviveSubscriptionParams contains all the parameters to send to the API endpoint for the revive subscription operation typically these are written to a http.Request

func NewReviveSubscriptionParams

func NewReviveSubscriptionParams() *ReviveSubscriptionParams

NewReviveSubscriptionParams creates a new ReviveSubscriptionParams object with the default values initialized.

func NewReviveSubscriptionParamsWithContext

func NewReviveSubscriptionParamsWithContext(ctx context.Context) *ReviveSubscriptionParams

NewReviveSubscriptionParamsWithContext creates a new ReviveSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewReviveSubscriptionParamsWithHTTPClient

func NewReviveSubscriptionParamsWithHTTPClient(client *http.Client) *ReviveSubscriptionParams

NewReviveSubscriptionParamsWithHTTPClient creates a new ReviveSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReviveSubscriptionParamsWithTimeout

func NewReviveSubscriptionParamsWithTimeout(timeout time.Duration) *ReviveSubscriptionParams

NewReviveSubscriptionParamsWithTimeout creates a new ReviveSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReviveSubscriptionParams) SetContext

func (o *ReviveSubscriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the revive subscription params

func (*ReviveSubscriptionParams) SetHTTPClient

func (o *ReviveSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revive subscription params

func (*ReviveSubscriptionParams) SetRequest

SetRequest adds the request to the revive subscription params

func (*ReviveSubscriptionParams) SetSubscriptionID

func (o *ReviveSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the revive subscription params

func (*ReviveSubscriptionParams) SetTimeout

func (o *ReviveSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revive subscription params

func (*ReviveSubscriptionParams) WithContext

WithContext adds the context to the revive subscription params

func (*ReviveSubscriptionParams) WithHTTPClient

func (o *ReviveSubscriptionParams) WithHTTPClient(client *http.Client) *ReviveSubscriptionParams

WithHTTPClient adds the HTTPClient to the revive subscription params

func (*ReviveSubscriptionParams) WithRequest

WithRequest adds the request to the revive subscription params

func (*ReviveSubscriptionParams) WithSubscriptionID

func (o *ReviveSubscriptionParams) WithSubscriptionID(subscriptionID string) *ReviveSubscriptionParams

WithSubscriptionID adds the subscriptionID to the revive subscription params

func (*ReviveSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the revive subscription params

func (*ReviveSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReviveSubscriptionReader

type ReviveSubscriptionReader struct {
	// contains filtered or unexported fields
}

ReviveSubscriptionReader is a Reader for the ReviveSubscription structure.

func (*ReviveSubscriptionReader) ReadResponse

func (o *ReviveSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetMetadataForSubscriptionDefault

type SetMetadataForSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

SetMetadataForSubscriptionDefault handles this case with default header values.

error

func NewSetMetadataForSubscriptionDefault

func NewSetMetadataForSubscriptionDefault(code int) *SetMetadataForSubscriptionDefault

NewSetMetadataForSubscriptionDefault creates a SetMetadataForSubscriptionDefault with default headers values

func (*SetMetadataForSubscriptionDefault) Code

Code gets the status code for the set metadata for subscription default response

func (*SetMetadataForSubscriptionDefault) Error

type SetMetadataForSubscriptionOK

type SetMetadataForSubscriptionOK struct {
	Payload models.DynamicMetadata
}

SetMetadataForSubscriptionOK handles this case with default header values.

success

func NewSetMetadataForSubscriptionOK

func NewSetMetadataForSubscriptionOK() *SetMetadataForSubscriptionOK

NewSetMetadataForSubscriptionOK creates a SetMetadataForSubscriptionOK with default headers values

func (*SetMetadataForSubscriptionOK) Error

type SetMetadataForSubscriptionParams

type SetMetadataForSubscriptionParams struct {

	/*Metadata*/
	Metadata models.DynamicMetadata
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetMetadataForSubscriptionParams contains all the parameters to send to the API endpoint for the set metadata for subscription operation typically these are written to a http.Request

func NewSetMetadataForSubscriptionParams

func NewSetMetadataForSubscriptionParams() *SetMetadataForSubscriptionParams

NewSetMetadataForSubscriptionParams creates a new SetMetadataForSubscriptionParams object with the default values initialized.

func NewSetMetadataForSubscriptionParamsWithContext

func NewSetMetadataForSubscriptionParamsWithContext(ctx context.Context) *SetMetadataForSubscriptionParams

NewSetMetadataForSubscriptionParamsWithContext creates a new SetMetadataForSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewSetMetadataForSubscriptionParamsWithHTTPClient

func NewSetMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *SetMetadataForSubscriptionParams

NewSetMetadataForSubscriptionParamsWithHTTPClient creates a new SetMetadataForSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSetMetadataForSubscriptionParamsWithTimeout

func NewSetMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *SetMetadataForSubscriptionParams

NewSetMetadataForSubscriptionParamsWithTimeout creates a new SetMetadataForSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*SetMetadataForSubscriptionParams) SetContext

SetContext adds the context to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) SetHTTPClient

func (o *SetMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) SetMetadata

func (o *SetMetadataForSubscriptionParams) SetMetadata(metadata models.DynamicMetadata)

SetMetadata adds the metadata to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) SetOrganizations

func (o *SetMetadataForSubscriptionParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) SetSubscriptionID

func (o *SetMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) SetTimeout

func (o *SetMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) WithContext

WithContext adds the context to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) WithMetadata

WithMetadata adds the metadata to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) WithOrganizations

func (o *SetMetadataForSubscriptionParams) WithOrganizations(organizations []string) *SetMetadataForSubscriptionParams

WithOrganizations adds the organizations to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) WithSubscriptionID

func (o *SetMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *SetMetadataForSubscriptionParams

WithSubscriptionID adds the subscriptionID to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the set metadata for subscription params

func (*SetMetadataForSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetMetadataForSubscriptionReader

type SetMetadataForSubscriptionReader struct {
	// contains filtered or unexported fields
}

SetMetadataForSubscriptionReader is a Reader for the SetMetadataForSubscription structure.

func (*SetMetadataForSubscriptionReader) ReadResponse

func (o *SetMetadataForSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateSubscriptionV2Default

type UpdateSubscriptionV2Default struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

UpdateSubscriptionV2Default handles this case with default header values.

error

func NewUpdateSubscriptionV2Default

func NewUpdateSubscriptionV2Default(code int) *UpdateSubscriptionV2Default

NewUpdateSubscriptionV2Default creates a UpdateSubscriptionV2Default with default headers values

func (*UpdateSubscriptionV2Default) Code

func (o *UpdateSubscriptionV2Default) Code() int

Code gets the status code for the update subscription v2 default response

func (*UpdateSubscriptionV2Default) Error

type UpdateSubscriptionV2OK

type UpdateSubscriptionV2OK struct {
	Payload *models.SubscriptionPagedMetadata
}

UpdateSubscriptionV2OK handles this case with default header values.

success

func NewUpdateSubscriptionV2OK

func NewUpdateSubscriptionV2OK() *UpdateSubscriptionV2OK

NewUpdateSubscriptionV2OK creates a UpdateSubscriptionV2OK with default headers values

func (*UpdateSubscriptionV2OK) Error

func (o *UpdateSubscriptionV2OK) Error() string

type UpdateSubscriptionV2Params

type UpdateSubscriptionV2Params struct {

	/*Request*/
	Request *models.UpdateSubscriptionRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateSubscriptionV2Params contains all the parameters to send to the API endpoint for the update subscription v2 operation typically these are written to a http.Request

func NewUpdateSubscriptionV2Params

func NewUpdateSubscriptionV2Params() *UpdateSubscriptionV2Params

NewUpdateSubscriptionV2Params creates a new UpdateSubscriptionV2Params object with the default values initialized.

func NewUpdateSubscriptionV2ParamsWithContext

func NewUpdateSubscriptionV2ParamsWithContext(ctx context.Context) *UpdateSubscriptionV2Params

NewUpdateSubscriptionV2ParamsWithContext creates a new UpdateSubscriptionV2Params object with the default values initialized, and the ability to set a context for a request

func NewUpdateSubscriptionV2ParamsWithHTTPClient

func NewUpdateSubscriptionV2ParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionV2Params

NewUpdateSubscriptionV2ParamsWithHTTPClient creates a new UpdateSubscriptionV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateSubscriptionV2ParamsWithTimeout

func NewUpdateSubscriptionV2ParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionV2Params

NewUpdateSubscriptionV2ParamsWithTimeout creates a new UpdateSubscriptionV2Params object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateSubscriptionV2Params) SetContext

func (o *UpdateSubscriptionV2Params) SetContext(ctx context.Context)

SetContext adds the context to the update subscription v2 params

func (*UpdateSubscriptionV2Params) SetHTTPClient

func (o *UpdateSubscriptionV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update subscription v2 params

func (*UpdateSubscriptionV2Params) SetRequest

SetRequest adds the request to the update subscription v2 params

func (*UpdateSubscriptionV2Params) SetTimeout

func (o *UpdateSubscriptionV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update subscription v2 params

func (*UpdateSubscriptionV2Params) WithContext

WithContext adds the context to the update subscription v2 params

func (*UpdateSubscriptionV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update subscription v2 params

func (*UpdateSubscriptionV2Params) WithRequest

WithRequest adds the request to the update subscription v2 params

func (*UpdateSubscriptionV2Params) WithTimeout

WithTimeout adds the timeout to the update subscription v2 params

func (*UpdateSubscriptionV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSubscriptionV2Reader

type UpdateSubscriptionV2Reader struct {
	// contains filtered or unexported fields
}

UpdateSubscriptionV2Reader is a Reader for the UpdateSubscriptionV2 structure.

func (*UpdateSubscriptionV2Reader) ReadResponse

func (o *UpdateSubscriptionV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpsertMetadataForSubscriptionDefault

type UpsertMetadataForSubscriptionDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

UpsertMetadataForSubscriptionDefault handles this case with default header values.

error

func NewUpsertMetadataForSubscriptionDefault

func NewUpsertMetadataForSubscriptionDefault(code int) *UpsertMetadataForSubscriptionDefault

NewUpsertMetadataForSubscriptionDefault creates a UpsertMetadataForSubscriptionDefault with default headers values

func (*UpsertMetadataForSubscriptionDefault) Code

Code gets the status code for the upsert metadata for subscription default response

func (*UpsertMetadataForSubscriptionDefault) Error

type UpsertMetadataForSubscriptionOK

type UpsertMetadataForSubscriptionOK struct {
	Payload models.DynamicMetadata
}

UpsertMetadataForSubscriptionOK handles this case with default header values.

success

func NewUpsertMetadataForSubscriptionOK

func NewUpsertMetadataForSubscriptionOK() *UpsertMetadataForSubscriptionOK

NewUpsertMetadataForSubscriptionOK creates a UpsertMetadataForSubscriptionOK with default headers values

func (*UpsertMetadataForSubscriptionOK) Error

type UpsertMetadataForSubscriptionParams

type UpsertMetadataForSubscriptionParams struct {

	/*Metadata*/
	Metadata models.DynamicMetadata
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*SubscriptionID*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpsertMetadataForSubscriptionParams contains all the parameters to send to the API endpoint for the upsert metadata for subscription operation typically these are written to a http.Request

func NewUpsertMetadataForSubscriptionParams

func NewUpsertMetadataForSubscriptionParams() *UpsertMetadataForSubscriptionParams

NewUpsertMetadataForSubscriptionParams creates a new UpsertMetadataForSubscriptionParams object with the default values initialized.

func NewUpsertMetadataForSubscriptionParamsWithContext

func NewUpsertMetadataForSubscriptionParamsWithContext(ctx context.Context) *UpsertMetadataForSubscriptionParams

NewUpsertMetadataForSubscriptionParamsWithContext creates a new UpsertMetadataForSubscriptionParams object with the default values initialized, and the ability to set a context for a request

func NewUpsertMetadataForSubscriptionParamsWithHTTPClient

func NewUpsertMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *UpsertMetadataForSubscriptionParams

NewUpsertMetadataForSubscriptionParamsWithHTTPClient creates a new UpsertMetadataForSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpsertMetadataForSubscriptionParamsWithTimeout

func NewUpsertMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *UpsertMetadataForSubscriptionParams

NewUpsertMetadataForSubscriptionParamsWithTimeout creates a new UpsertMetadataForSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpsertMetadataForSubscriptionParams) SetContext

SetContext adds the context to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) SetHTTPClient

func (o *UpsertMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) SetMetadata

SetMetadata adds the metadata to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) SetOrganizations

func (o *UpsertMetadataForSubscriptionParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) SetSubscriptionID

func (o *UpsertMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) SetTimeout

func (o *UpsertMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) WithContext

WithContext adds the context to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) WithMetadata

WithMetadata adds the metadata to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) WithOrganizations

WithOrganizations adds the organizations to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the upsert metadata for subscription params

func (*UpsertMetadataForSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpsertMetadataForSubscriptionReader

type UpsertMetadataForSubscriptionReader struct {
	// contains filtered or unexported fields
}

UpsertMetadataForSubscriptionReader is a Reader for the UpsertMetadataForSubscription structure.

func (*UpsertMetadataForSubscriptionReader) ReadResponse

func (o *UpsertMetadataForSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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