Documentation ¶
Index ¶
- type AddPaymentMethodToSubscriptionDefault
- type AddPaymentMethodToSubscriptionOK
- type AddPaymentMethodToSubscriptionParams
- func NewAddPaymentMethodToSubscriptionParams() *AddPaymentMethodToSubscriptionParams
- func NewAddPaymentMethodToSubscriptionParamsWithContext(ctx context.Context) *AddPaymentMethodToSubscriptionParams
- func NewAddPaymentMethodToSubscriptionParamsWithHTTPClient(client *http.Client) *AddPaymentMethodToSubscriptionParams
- func NewAddPaymentMethodToSubscriptionParamsWithTimeout(timeout time.Duration) *AddPaymentMethodToSubscriptionParams
- func (o *AddPaymentMethodToSubscriptionParams) SetContext(ctx context.Context)
- func (o *AddPaymentMethodToSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *AddPaymentMethodToSubscriptionParams) SetPaymentMethod(paymentMethod *models.AddPaymentMethodRequest)
- func (o *AddPaymentMethodToSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *AddPaymentMethodToSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *AddPaymentMethodToSubscriptionParams) WithContext(ctx context.Context) *AddPaymentMethodToSubscriptionParams
- func (o *AddPaymentMethodToSubscriptionParams) WithHTTPClient(client *http.Client) *AddPaymentMethodToSubscriptionParams
- func (o *AddPaymentMethodToSubscriptionParams) WithPaymentMethod(paymentMethod *models.AddPaymentMethodRequest) *AddPaymentMethodToSubscriptionParams
- func (o *AddPaymentMethodToSubscriptionParams) WithSubscriptionID(subscriptionID string) *AddPaymentMethodToSubscriptionParams
- func (o *AddPaymentMethodToSubscriptionParams) WithTimeout(timeout time.Duration) *AddPaymentMethodToSubscriptionParams
- func (o *AddPaymentMethodToSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPaymentMethodToSubscriptionReader
- type AdvanceSubscriptionDefault
- type AdvanceSubscriptionOK
- type AdvanceSubscriptionParams
- func NewAdvanceSubscriptionParams() *AdvanceSubscriptionParams
- func NewAdvanceSubscriptionParamsWithContext(ctx context.Context) *AdvanceSubscriptionParams
- func NewAdvanceSubscriptionParamsWithHTTPClient(client *http.Client) *AdvanceSubscriptionParams
- func NewAdvanceSubscriptionParamsWithTimeout(timeout time.Duration) *AdvanceSubscriptionParams
- func (o *AdvanceSubscriptionParams) SetContext(ctx context.Context)
- func (o *AdvanceSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *AdvanceSubscriptionParams) SetRequest(request *models.TimeRequest)
- func (o *AdvanceSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *AdvanceSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *AdvanceSubscriptionParams) WithContext(ctx context.Context) *AdvanceSubscriptionParams
- func (o *AdvanceSubscriptionParams) WithHTTPClient(client *http.Client) *AdvanceSubscriptionParams
- func (o *AdvanceSubscriptionParams) WithRequest(request *models.TimeRequest) *AdvanceSubscriptionParams
- func (o *AdvanceSubscriptionParams) WithSubscriptionID(subscriptionID string) *AdvanceSubscriptionParams
- func (o *AdvanceSubscriptionParams) WithTimeout(timeout time.Duration) *AdvanceSubscriptionParams
- func (o *AdvanceSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdvanceSubscriptionReader
- type AvailablePaymentMethodsForSubscriptionDefault
- type AvailablePaymentMethodsForSubscriptionOK
- type AvailablePaymentMethodsForSubscriptionParams
- func NewAvailablePaymentMethodsForSubscriptionParams() *AvailablePaymentMethodsForSubscriptionParams
- func NewAvailablePaymentMethodsForSubscriptionParamsWithContext(ctx context.Context) *AvailablePaymentMethodsForSubscriptionParams
- func NewAvailablePaymentMethodsForSubscriptionParamsWithHTTPClient(client *http.Client) *AvailablePaymentMethodsForSubscriptionParams
- func NewAvailablePaymentMethodsForSubscriptionParamsWithTimeout(timeout time.Duration) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetContext(ctx context.Context)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetOffset(offset *int32)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetOrder(order *string)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetOrderBy(orderBy *string)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetOrganizations(organizations []string)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetRecords(records *int32)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *AvailablePaymentMethodsForSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithContext(ctx context.Context) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithHTTPClient(client *http.Client) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithOffset(offset *int32) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithOrder(order *string) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithOrderBy(orderBy *string) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithOrganizations(organizations []string) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithRecords(records *int32) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithSubscriptionID(subscriptionID string) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WithTimeout(timeout time.Duration) *AvailablePaymentMethodsForSubscriptionParams
- func (o *AvailablePaymentMethodsForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AvailablePaymentMethodsForSubscriptionReader
- type BatchCreateSubscriptionsDefault
- type BatchCreateSubscriptionsOK
- type BatchCreateSubscriptionsParams
- func NewBatchCreateSubscriptionsParams() *BatchCreateSubscriptionsParams
- func NewBatchCreateSubscriptionsParamsWithContext(ctx context.Context) *BatchCreateSubscriptionsParams
- func NewBatchCreateSubscriptionsParamsWithHTTPClient(client *http.Client) *BatchCreateSubscriptionsParams
- func NewBatchCreateSubscriptionsParamsWithTimeout(timeout time.Duration) *BatchCreateSubscriptionsParams
- func (o *BatchCreateSubscriptionsParams) SetContext(ctx context.Context)
- func (o *BatchCreateSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *BatchCreateSubscriptionsParams) SetRequest(request *models.CreateSubscriptionBatchRequest)
- func (o *BatchCreateSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *BatchCreateSubscriptionsParams) WithContext(ctx context.Context) *BatchCreateSubscriptionsParams
- func (o *BatchCreateSubscriptionsParams) WithHTTPClient(client *http.Client) *BatchCreateSubscriptionsParams
- func (o *BatchCreateSubscriptionsParams) WithRequest(request *models.CreateSubscriptionBatchRequest) *BatchCreateSubscriptionsParams
- func (o *BatchCreateSubscriptionsParams) WithTimeout(timeout time.Duration) *BatchCreateSubscriptionsParams
- func (o *BatchCreateSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BatchCreateSubscriptionsReader
- type CancelSubscriptionDefault
- type CancelSubscriptionOK
- type CancelSubscriptionParams
- func NewCancelSubscriptionParams() *CancelSubscriptionParams
- func NewCancelSubscriptionParamsWithContext(ctx context.Context) *CancelSubscriptionParams
- func NewCancelSubscriptionParamsWithHTTPClient(client *http.Client) *CancelSubscriptionParams
- func NewCancelSubscriptionParamsWithTimeout(timeout time.Duration) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) SetContext(ctx context.Context)
- func (o *CancelSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CancelSubscriptionParams) SetSubscriptionCancellation(subscriptionCancellation *models.CancelSubscriptionRequest)
- func (o *CancelSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *CancelSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CancelSubscriptionParams) WithContext(ctx context.Context) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithHTTPClient(client *http.Client) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithSubscriptionCancellation(subscriptionCancellation *models.CancelSubscriptionRequest) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithSubscriptionID(subscriptionID string) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithTimeout(timeout time.Duration) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelSubscriptionReader
- type Client
- func (a *Client) AddPaymentMethodToSubscription(params *AddPaymentMethodToSubscriptionParams) (*AddPaymentMethodToSubscriptionOK, error)
- func (a *Client) AdvanceSubscription(params *AdvanceSubscriptionParams) (*AdvanceSubscriptionOK, error)
- func (a *Client) AvailablePaymentMethodsForSubscription(params *AvailablePaymentMethodsForSubscriptionParams) (*AvailablePaymentMethodsForSubscriptionOK, error)
- func (a *Client) BatchCreateSubscriptions(params *BatchCreateSubscriptionsParams) (*BatchCreateSubscriptionsOK, error)
- func (a *Client) CancelSubscription(params *CancelSubscriptionParams) (*CancelSubscriptionOK, error)
- func (a *Client) CreateAggregatingSubscription(params *CreateAggregatingSubscriptionParams) (*CreateAggregatingSubscriptionOK, error)
- func (a *Client) CreateSubscription(params *CreateSubscriptionParams) (*CreateSubscriptionOK, error)
- func (a *Client) CreateSubscriptionV2(params *CreateSubscriptionV2Params) (*CreateSubscriptionV2OK, error)
- func (a *Client) DeleteMetadataForSubscription(params *DeleteMetadataForSubscriptionParams) (*DeleteMetadataForSubscriptionOK, error)
- func (a *Client) GetAllSubscriptions(params *GetAllSubscriptionsParams) (*GetAllSubscriptionsOK, error)
- func (a *Client) GetMetadataForSubscription(params *GetMetadataForSubscriptionParams) (*GetMetadataForSubscriptionOK, error)
- func (a *Client) GetSubscriptionByAccountID(params *GetSubscriptionByAccountIDParams) (*GetSubscriptionByAccountIDOK, error)
- func (a *Client) GetSubscriptionByID(params *GetSubscriptionByIDParams) (*GetSubscriptionByIDOK, error)
- func (a *Client) RemovePaymentMethodFromSubscription(params *RemovePaymentMethodFromSubscriptionParams) (*RemovePaymentMethodFromSubscriptionOK, error)
- func (a *Client) ReviveSubscription(params *ReviveSubscriptionParams) (*ReviveSubscriptionOK, error)
- func (a *Client) SetMetadataForSubscription(params *SetMetadataForSubscriptionParams) (*SetMetadataForSubscriptionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSubscriptionV2(params *UpdateSubscriptionV2Params) (*UpdateSubscriptionV2OK, error)
- func (a *Client) UpsertMetadataForSubscription(params *UpsertMetadataForSubscriptionParams) (*UpsertMetadataForSubscriptionOK, error)
- type CreateAggregatingSubscriptionDefault
- type CreateAggregatingSubscriptionOK
- type CreateAggregatingSubscriptionParams
- func NewCreateAggregatingSubscriptionParams() *CreateAggregatingSubscriptionParams
- func NewCreateAggregatingSubscriptionParamsWithContext(ctx context.Context) *CreateAggregatingSubscriptionParams
- func NewCreateAggregatingSubscriptionParamsWithHTTPClient(client *http.Client) *CreateAggregatingSubscriptionParams
- func NewCreateAggregatingSubscriptionParamsWithTimeout(timeout time.Duration) *CreateAggregatingSubscriptionParams
- func (o *CreateAggregatingSubscriptionParams) SetContext(ctx context.Context)
- func (o *CreateAggregatingSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CreateAggregatingSubscriptionParams) SetRequest(request *models.CreateAggregatingSubscriptionRequest)
- func (o *CreateAggregatingSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CreateAggregatingSubscriptionParams) WithContext(ctx context.Context) *CreateAggregatingSubscriptionParams
- func (o *CreateAggregatingSubscriptionParams) WithHTTPClient(client *http.Client) *CreateAggregatingSubscriptionParams
- func (o *CreateAggregatingSubscriptionParams) WithRequest(request *models.CreateAggregatingSubscriptionRequest) *CreateAggregatingSubscriptionParams
- func (o *CreateAggregatingSubscriptionParams) WithTimeout(timeout time.Duration) *CreateAggregatingSubscriptionParams
- func (o *CreateAggregatingSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAggregatingSubscriptionReader
- type CreateSubscriptionDefault
- type CreateSubscriptionOK
- type CreateSubscriptionParams
- func NewCreateSubscriptionParams() *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionParams) SetSubscription(subscription *models.Subscription)
- func (o *CreateSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithSubscription(subscription *models.Subscription) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionReader
- type CreateSubscriptionV2Default
- type CreateSubscriptionV2OK
- type CreateSubscriptionV2Params
- func NewCreateSubscriptionV2Params() *CreateSubscriptionV2Params
- func NewCreateSubscriptionV2ParamsWithContext(ctx context.Context) *CreateSubscriptionV2Params
- func NewCreateSubscriptionV2ParamsWithHTTPClient(client *http.Client) *CreateSubscriptionV2Params
- func NewCreateSubscriptionV2ParamsWithTimeout(timeout time.Duration) *CreateSubscriptionV2Params
- func (o *CreateSubscriptionV2Params) SetContext(ctx context.Context)
- func (o *CreateSubscriptionV2Params) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionV2Params) SetRequest(request *models.CreateSubscriptionRequest)
- func (o *CreateSubscriptionV2Params) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionV2Params) WithContext(ctx context.Context) *CreateSubscriptionV2Params
- func (o *CreateSubscriptionV2Params) WithHTTPClient(client *http.Client) *CreateSubscriptionV2Params
- func (o *CreateSubscriptionV2Params) WithRequest(request *models.CreateSubscriptionRequest) *CreateSubscriptionV2Params
- func (o *CreateSubscriptionV2Params) WithTimeout(timeout time.Duration) *CreateSubscriptionV2Params
- func (o *CreateSubscriptionV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionV2Reader
- type DeleteMetadataForSubscriptionDefault
- type DeleteMetadataForSubscriptionOK
- type DeleteMetadataForSubscriptionParams
- func NewDeleteMetadataForSubscriptionParams() *DeleteMetadataForSubscriptionParams
- func NewDeleteMetadataForSubscriptionParamsWithContext(ctx context.Context) *DeleteMetadataForSubscriptionParams
- func NewDeleteMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteMetadataForSubscriptionParams
- func NewDeleteMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteMetadataForSubscriptionParams
- func (o *DeleteMetadataForSubscriptionParams) SetContext(ctx context.Context)
- func (o *DeleteMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMetadataForSubscriptionParams) SetOrganizations(organizations []string)
- func (o *DeleteMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *DeleteMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMetadataForSubscriptionParams) WithContext(ctx context.Context) *DeleteMetadataForSubscriptionParams
- func (o *DeleteMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteMetadataForSubscriptionParams
- func (o *DeleteMetadataForSubscriptionParams) WithOrganizations(organizations []string) *DeleteMetadataForSubscriptionParams
- func (o *DeleteMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *DeleteMetadataForSubscriptionParams
- func (o *DeleteMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteMetadataForSubscriptionParams
- func (o *DeleteMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMetadataForSubscriptionReader
- type GetAllSubscriptionsDefault
- type GetAllSubscriptionsOK
- type GetAllSubscriptionsParams
- func NewGetAllSubscriptionsParams() *GetAllSubscriptionsParams
- func NewGetAllSubscriptionsParamsWithContext(ctx context.Context) *GetAllSubscriptionsParams
- func NewGetAllSubscriptionsParamsWithHTTPClient(client *http.Client) *GetAllSubscriptionsParams
- func NewGetAllSubscriptionsParamsWithTimeout(timeout time.Duration) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) SetAccountID(accountID []string)
- func (o *GetAllSubscriptionsParams) SetContext(ctx context.Context)
- func (o *GetAllSubscriptionsParams) SetExcludeChildren(excludeChildren *bool)
- func (o *GetAllSubscriptionsParams) SetExcludeServiceEnded(excludeServiceEnded *bool)
- func (o *GetAllSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllSubscriptionsParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetAllSubscriptionsParams) SetMetadata(metadata *string)
- func (o *GetAllSubscriptionsParams) SetOffset(offset *int32)
- func (o *GetAllSubscriptionsParams) SetOrder(order *string)
- func (o *GetAllSubscriptionsParams) SetOrderBy(orderBy *string)
- func (o *GetAllSubscriptionsParams) SetOrganizations(organizations []string)
- func (o *GetAllSubscriptionsParams) SetRecords(records *int32)
- func (o *GetAllSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllSubscriptionsParams) WithAccountID(accountID []string) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithContext(ctx context.Context) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithExcludeChildren(excludeChildren *bool) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithExcludeServiceEnded(excludeServiceEnded *bool) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithHTTPClient(client *http.Client) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithIncludeRetired(includeRetired *bool) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithMetadata(metadata *string) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithOffset(offset *int32) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithOrder(order *string) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithOrderBy(orderBy *string) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithOrganizations(organizations []string) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithRecords(records *int32) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WithTimeout(timeout time.Duration) *GetAllSubscriptionsParams
- func (o *GetAllSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllSubscriptionsReader
- type GetMetadataForSubscriptionDefault
- type GetMetadataForSubscriptionOK
- type GetMetadataForSubscriptionParams
- func NewGetMetadataForSubscriptionParams() *GetMetadataForSubscriptionParams
- func NewGetMetadataForSubscriptionParamsWithContext(ctx context.Context) *GetMetadataForSubscriptionParams
- func NewGetMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *GetMetadataForSubscriptionParams
- func NewGetMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *GetMetadataForSubscriptionParams
- func (o *GetMetadataForSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetMetadataForSubscriptionParams) SetOrganizations(organizations []string)
- func (o *GetMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *GetMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetMetadataForSubscriptionParams) WithContext(ctx context.Context) *GetMetadataForSubscriptionParams
- func (o *GetMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *GetMetadataForSubscriptionParams
- func (o *GetMetadataForSubscriptionParams) WithOrganizations(organizations []string) *GetMetadataForSubscriptionParams
- func (o *GetMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *GetMetadataForSubscriptionParams
- func (o *GetMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *GetMetadataForSubscriptionParams
- func (o *GetMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetadataForSubscriptionReader
- type GetSubscriptionByAccountIDDefault
- type GetSubscriptionByAccountIDOK
- type GetSubscriptionByAccountIDParams
- func NewGetSubscriptionByAccountIDParams() *GetSubscriptionByAccountIDParams
- func NewGetSubscriptionByAccountIDParamsWithContext(ctx context.Context) *GetSubscriptionByAccountIDParams
- func NewGetSubscriptionByAccountIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByAccountIDParams
- func NewGetSubscriptionByAccountIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) SetAccountID(accountID string)
- func (o *GetSubscriptionByAccountIDParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionByAccountIDParams) SetExcludeChildren(excludeChildren *bool)
- func (o *GetSubscriptionByAccountIDParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionByAccountIDParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetSubscriptionByAccountIDParams) SetOffset(offset *int32)
- func (o *GetSubscriptionByAccountIDParams) SetOrder(order *string)
- func (o *GetSubscriptionByAccountIDParams) SetOrderBy(orderBy *string)
- func (o *GetSubscriptionByAccountIDParams) SetOrganizations(organizations []string)
- func (o *GetSubscriptionByAccountIDParams) SetRecords(records *int32)
- func (o *GetSubscriptionByAccountIDParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionByAccountIDParams) WithAccountID(accountID string) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithContext(ctx context.Context) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithExcludeChildren(excludeChildren *bool) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithIncludeRetired(includeRetired *bool) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithOffset(offset *int32) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithOrder(order *string) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithOrderBy(orderBy *string) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithOrganizations(organizations []string) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithRecords(records *int32) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByAccountIDParams
- func (o *GetSubscriptionByAccountIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionByAccountIDReader
- type GetSubscriptionByIDDefault
- type GetSubscriptionByIDOK
- type GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParams() *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithContext(ctx context.Context) *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionByIDParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetSubscriptionByIDParams) SetOrganizations(organizations []string)
- func (o *GetSubscriptionByIDParams) SetSubscriptionID(subscriptionID string)
- func (o *GetSubscriptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionByIDParams) WithContext(ctx context.Context) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithIncludeRetired(includeRetired *bool) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithOrganizations(organizations []string) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithSubscriptionID(subscriptionID string) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionByIDReader
- type RemovePaymentMethodFromSubscriptionDefault
- type RemovePaymentMethodFromSubscriptionOK
- type RemovePaymentMethodFromSubscriptionParams
- func NewRemovePaymentMethodFromSubscriptionParams() *RemovePaymentMethodFromSubscriptionParams
- func NewRemovePaymentMethodFromSubscriptionParamsWithContext(ctx context.Context) *RemovePaymentMethodFromSubscriptionParams
- func NewRemovePaymentMethodFromSubscriptionParamsWithHTTPClient(client *http.Client) *RemovePaymentMethodFromSubscriptionParams
- func NewRemovePaymentMethodFromSubscriptionParamsWithTimeout(timeout time.Duration) *RemovePaymentMethodFromSubscriptionParams
- func (o *RemovePaymentMethodFromSubscriptionParams) SetContext(ctx context.Context)
- func (o *RemovePaymentMethodFromSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *RemovePaymentMethodFromSubscriptionParams) SetOrganizations(organizations []string)
- func (o *RemovePaymentMethodFromSubscriptionParams) SetPaymentMethodID(paymentMethodID string)
- func (o *RemovePaymentMethodFromSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *RemovePaymentMethodFromSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *RemovePaymentMethodFromSubscriptionParams) WithContext(ctx context.Context) *RemovePaymentMethodFromSubscriptionParams
- func (o *RemovePaymentMethodFromSubscriptionParams) WithHTTPClient(client *http.Client) *RemovePaymentMethodFromSubscriptionParams
- func (o *RemovePaymentMethodFromSubscriptionParams) WithOrganizations(organizations []string) *RemovePaymentMethodFromSubscriptionParams
- func (o *RemovePaymentMethodFromSubscriptionParams) WithPaymentMethodID(paymentMethodID string) *RemovePaymentMethodFromSubscriptionParams
- func (o *RemovePaymentMethodFromSubscriptionParams) WithSubscriptionID(subscriptionID string) *RemovePaymentMethodFromSubscriptionParams
- func (o *RemovePaymentMethodFromSubscriptionParams) WithTimeout(timeout time.Duration) *RemovePaymentMethodFromSubscriptionParams
- func (o *RemovePaymentMethodFromSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemovePaymentMethodFromSubscriptionReader
- type ReviveSubscriptionDefault
- type ReviveSubscriptionOK
- type ReviveSubscriptionParams
- func NewReviveSubscriptionParams() *ReviveSubscriptionParams
- func NewReviveSubscriptionParamsWithContext(ctx context.Context) *ReviveSubscriptionParams
- func NewReviveSubscriptionParamsWithHTTPClient(client *http.Client) *ReviveSubscriptionParams
- func NewReviveSubscriptionParamsWithTimeout(timeout time.Duration) *ReviveSubscriptionParams
- func (o *ReviveSubscriptionParams) SetContext(ctx context.Context)
- func (o *ReviveSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *ReviveSubscriptionParams) SetRequest(request *models.ReviveSubscriptionRequest)
- func (o *ReviveSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *ReviveSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *ReviveSubscriptionParams) WithContext(ctx context.Context) *ReviveSubscriptionParams
- func (o *ReviveSubscriptionParams) WithHTTPClient(client *http.Client) *ReviveSubscriptionParams
- func (o *ReviveSubscriptionParams) WithRequest(request *models.ReviveSubscriptionRequest) *ReviveSubscriptionParams
- func (o *ReviveSubscriptionParams) WithSubscriptionID(subscriptionID string) *ReviveSubscriptionParams
- func (o *ReviveSubscriptionParams) WithTimeout(timeout time.Duration) *ReviveSubscriptionParams
- func (o *ReviveSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReviveSubscriptionReader
- type SetMetadataForSubscriptionDefault
- type SetMetadataForSubscriptionOK
- type SetMetadataForSubscriptionParams
- func NewSetMetadataForSubscriptionParams() *SetMetadataForSubscriptionParams
- func NewSetMetadataForSubscriptionParamsWithContext(ctx context.Context) *SetMetadataForSubscriptionParams
- func NewSetMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *SetMetadataForSubscriptionParams
- func NewSetMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *SetMetadataForSubscriptionParams
- func (o *SetMetadataForSubscriptionParams) SetContext(ctx context.Context)
- func (o *SetMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *SetMetadataForSubscriptionParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *SetMetadataForSubscriptionParams) SetOrganizations(organizations []string)
- func (o *SetMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *SetMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *SetMetadataForSubscriptionParams) WithContext(ctx context.Context) *SetMetadataForSubscriptionParams
- func (o *SetMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *SetMetadataForSubscriptionParams
- func (o *SetMetadataForSubscriptionParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForSubscriptionParams
- func (o *SetMetadataForSubscriptionParams) WithOrganizations(organizations []string) *SetMetadataForSubscriptionParams
- func (o *SetMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *SetMetadataForSubscriptionParams
- func (o *SetMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *SetMetadataForSubscriptionParams
- func (o *SetMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetMetadataForSubscriptionReader
- type UpdateSubscriptionV2Default
- type UpdateSubscriptionV2OK
- type UpdateSubscriptionV2Params
- func NewUpdateSubscriptionV2Params() *UpdateSubscriptionV2Params
- func NewUpdateSubscriptionV2ParamsWithContext(ctx context.Context) *UpdateSubscriptionV2Params
- func NewUpdateSubscriptionV2ParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionV2Params
- func NewUpdateSubscriptionV2ParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionV2Params
- func (o *UpdateSubscriptionV2Params) SetContext(ctx context.Context)
- func (o *UpdateSubscriptionV2Params) SetHTTPClient(client *http.Client)
- func (o *UpdateSubscriptionV2Params) SetRequest(request *models.UpdateSubscriptionRequest)
- func (o *UpdateSubscriptionV2Params) SetTimeout(timeout time.Duration)
- func (o *UpdateSubscriptionV2Params) WithContext(ctx context.Context) *UpdateSubscriptionV2Params
- func (o *UpdateSubscriptionV2Params) WithHTTPClient(client *http.Client) *UpdateSubscriptionV2Params
- func (o *UpdateSubscriptionV2Params) WithRequest(request *models.UpdateSubscriptionRequest) *UpdateSubscriptionV2Params
- func (o *UpdateSubscriptionV2Params) WithTimeout(timeout time.Duration) *UpdateSubscriptionV2Params
- func (o *UpdateSubscriptionV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSubscriptionV2Reader
- type UpsertMetadataForSubscriptionDefault
- type UpsertMetadataForSubscriptionOK
- type UpsertMetadataForSubscriptionParams
- func NewUpsertMetadataForSubscriptionParams() *UpsertMetadataForSubscriptionParams
- func NewUpsertMetadataForSubscriptionParamsWithContext(ctx context.Context) *UpsertMetadataForSubscriptionParams
- func NewUpsertMetadataForSubscriptionParamsWithHTTPClient(client *http.Client) *UpsertMetadataForSubscriptionParams
- func NewUpsertMetadataForSubscriptionParamsWithTimeout(timeout time.Duration) *UpsertMetadataForSubscriptionParams
- func (o *UpsertMetadataForSubscriptionParams) SetContext(ctx context.Context)
- func (o *UpsertMetadataForSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpsertMetadataForSubscriptionParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *UpsertMetadataForSubscriptionParams) SetOrganizations(organizations []string)
- func (o *UpsertMetadataForSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *UpsertMetadataForSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpsertMetadataForSubscriptionParams) WithContext(ctx context.Context) *UpsertMetadataForSubscriptionParams
- func (o *UpsertMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *UpsertMetadataForSubscriptionParams
- func (o *UpsertMetadataForSubscriptionParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForSubscriptionParams
- func (o *UpsertMetadataForSubscriptionParams) WithOrganizations(organizations []string) *UpsertMetadataForSubscriptionParams
- func (o *UpsertMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *UpsertMetadataForSubscriptionParams
- func (o *UpsertMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *UpsertMetadataForSubscriptionParams
- func (o *UpsertMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpsertMetadataForSubscriptionReader
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 ¶
func (o *AddPaymentMethodToSubscriptionDefault) Code() int
Code gets the status code for the add payment method to subscription default response
func (*AddPaymentMethodToSubscriptionDefault) Error ¶
func (o *AddPaymentMethodToSubscriptionDefault) Error() string
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 ¶
func (o *AddPaymentMethodToSubscriptionOK) Error() string
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 ¶
func (o *AddPaymentMethodToSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *AddPaymentMethodToSubscriptionParams) WithContext(ctx context.Context) *AddPaymentMethodToSubscriptionParams
WithContext adds the context to the add payment method to subscription params
func (*AddPaymentMethodToSubscriptionParams) WithHTTPClient ¶
func (o *AddPaymentMethodToSubscriptionParams) WithHTTPClient(client *http.Client) *AddPaymentMethodToSubscriptionParams
WithHTTPClient adds the HTTPClient to the add payment method to subscription params
func (*AddPaymentMethodToSubscriptionParams) WithPaymentMethod ¶
func (o *AddPaymentMethodToSubscriptionParams) WithPaymentMethod(paymentMethod *models.AddPaymentMethodRequest) *AddPaymentMethodToSubscriptionParams
WithPaymentMethod adds the paymentMethod to the add payment method to subscription params
func (*AddPaymentMethodToSubscriptionParams) WithSubscriptionID ¶
func (o *AddPaymentMethodToSubscriptionParams) WithSubscriptionID(subscriptionID string) *AddPaymentMethodToSubscriptionParams
WithSubscriptionID adds the subscriptionID to the add payment method to subscription params
func (*AddPaymentMethodToSubscriptionParams) WithTimeout ¶
func (o *AddPaymentMethodToSubscriptionParams) WithTimeout(timeout time.Duration) *AddPaymentMethodToSubscriptionParams
WithTimeout adds the timeout to the add payment method to subscription params
func (*AddPaymentMethodToSubscriptionParams) WriteToRequest ¶
func (o *AddPaymentMethodToSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AdvanceSubscriptionDefault) Error() string
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 ¶
func (o *AdvanceSubscriptionParams) WithContext(ctx context.Context) *AdvanceSubscriptionParams
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 ¶
func (o *AdvanceSubscriptionParams) WithRequest(request *models.TimeRequest) *AdvanceSubscriptionParams
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 ¶
func (o *AdvanceSubscriptionParams) WithTimeout(timeout time.Duration) *AdvanceSubscriptionParams
WithTimeout adds the timeout to the advance subscription params
func (*AdvanceSubscriptionParams) WriteToRequest ¶
func (o *AdvanceSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AvailablePaymentMethodsForSubscriptionDefault) Code() int
Code gets the status code for the available payment methods for subscription default response
func (*AvailablePaymentMethodsForSubscriptionDefault) Error ¶
func (o *AvailablePaymentMethodsForSubscriptionDefault) Error() string
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 ¶
func (o *AvailablePaymentMethodsForSubscriptionOK) Error() string
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 ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) SetOffset(offset *int32)
SetOffset adds the offset to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) SetOrder ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) SetOrder(order *string)
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 ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithContext ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithContext(ctx context.Context) *AvailablePaymentMethodsForSubscriptionParams
WithContext adds the context to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithHTTPClient ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithHTTPClient(client *http.Client) *AvailablePaymentMethodsForSubscriptionParams
WithHTTPClient adds the HTTPClient to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithOffset ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithOffset(offset *int32) *AvailablePaymentMethodsForSubscriptionParams
WithOffset adds the offset to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithOrder ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithOrder(order *string) *AvailablePaymentMethodsForSubscriptionParams
WithOrder adds the order to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithOrderBy ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithOrderBy(orderBy *string) *AvailablePaymentMethodsForSubscriptionParams
WithOrderBy adds the orderBy to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithOrganizations ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithOrganizations(organizations []string) *AvailablePaymentMethodsForSubscriptionParams
WithOrganizations adds the organizations to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithRecords ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithRecords(records *int32) *AvailablePaymentMethodsForSubscriptionParams
WithRecords adds the records to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithSubscriptionID ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithSubscriptionID(subscriptionID string) *AvailablePaymentMethodsForSubscriptionParams
WithSubscriptionID adds the subscriptionID to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WithTimeout ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WithTimeout(timeout time.Duration) *AvailablePaymentMethodsForSubscriptionParams
WithTimeout adds the timeout to the available payment methods for subscription params
func (*AvailablePaymentMethodsForSubscriptionParams) WriteToRequest ¶
func (o *AvailablePaymentMethodsForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *BatchCreateSubscriptionsDefault) Code() int
Code gets the status code for the batch create subscriptions default response
func (*BatchCreateSubscriptionsDefault) Error ¶
func (o *BatchCreateSubscriptionsDefault) Error() string
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 ¶
func (o *BatchCreateSubscriptionsOK) Error() string
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 ¶
func (o *BatchCreateSubscriptionsParams) SetRequest(request *models.CreateSubscriptionBatchRequest)
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 ¶
func (o *BatchCreateSubscriptionsParams) WithContext(ctx context.Context) *BatchCreateSubscriptionsParams
WithContext adds the context to the batch create subscriptions params
func (*BatchCreateSubscriptionsParams) WithHTTPClient ¶
func (o *BatchCreateSubscriptionsParams) WithHTTPClient(client *http.Client) *BatchCreateSubscriptionsParams
WithHTTPClient adds the HTTPClient to the batch create subscriptions params
func (*BatchCreateSubscriptionsParams) WithRequest ¶
func (o *BatchCreateSubscriptionsParams) WithRequest(request *models.CreateSubscriptionBatchRequest) *BatchCreateSubscriptionsParams
WithRequest adds the request to the batch create subscriptions params
func (*BatchCreateSubscriptionsParams) WithTimeout ¶
func (o *BatchCreateSubscriptionsParams) WithTimeout(timeout time.Duration) *BatchCreateSubscriptionsParams
WithTimeout adds the timeout to the batch create subscriptions params
func (*BatchCreateSubscriptionsParams) WriteToRequest ¶
func (o *BatchCreateSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CancelSubscriptionParams) WithContext(ctx context.Context) *CancelSubscriptionParams
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 ¶
func (o *CancelSubscriptionParams) WithTimeout(timeout time.Duration) *CancelSubscriptionParams
WithTimeout adds the timeout to the cancel subscription params
func (*CancelSubscriptionParams) WriteToRequest ¶
func (o *CancelSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateAggregatingSubscriptionDefault) Code() int
Code gets the status code for the create aggregating subscription default response
func (*CreateAggregatingSubscriptionDefault) Error ¶
func (o *CreateAggregatingSubscriptionDefault) Error() string
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 ¶
func (o *CreateAggregatingSubscriptionOK) Error() string
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 ¶
func (o *CreateAggregatingSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateAggregatingSubscriptionParams) SetRequest(request *models.CreateAggregatingSubscriptionRequest)
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 ¶
func (o *CreateAggregatingSubscriptionParams) WithContext(ctx context.Context) *CreateAggregatingSubscriptionParams
WithContext adds the context to the create aggregating subscription params
func (*CreateAggregatingSubscriptionParams) WithHTTPClient ¶
func (o *CreateAggregatingSubscriptionParams) WithHTTPClient(client *http.Client) *CreateAggregatingSubscriptionParams
WithHTTPClient adds the HTTPClient to the create aggregating subscription params
func (*CreateAggregatingSubscriptionParams) WithRequest ¶
func (o *CreateAggregatingSubscriptionParams) WithRequest(request *models.CreateAggregatingSubscriptionRequest) *CreateAggregatingSubscriptionParams
WithRequest adds the request to the create aggregating subscription params
func (*CreateAggregatingSubscriptionParams) WithTimeout ¶
func (o *CreateAggregatingSubscriptionParams) WithTimeout(timeout time.Duration) *CreateAggregatingSubscriptionParams
WithTimeout adds the timeout to the create aggregating subscription params
func (*CreateAggregatingSubscriptionParams) WriteToRequest ¶
func (o *CreateAggregatingSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
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 ¶
func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
WithTimeout adds the timeout to the create subscription params
func (*CreateSubscriptionParams) WriteToRequest ¶
func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateSubscriptionV2Default) Error() string
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 ¶
func (o *CreateSubscriptionV2Params) SetRequest(request *models.CreateSubscriptionRequest)
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 ¶
func (o *CreateSubscriptionV2Params) WithContext(ctx context.Context) *CreateSubscriptionV2Params
WithContext adds the context to the create subscription v2 params
func (*CreateSubscriptionV2Params) WithHTTPClient ¶
func (o *CreateSubscriptionV2Params) WithHTTPClient(client *http.Client) *CreateSubscriptionV2Params
WithHTTPClient adds the HTTPClient to the create subscription v2 params
func (*CreateSubscriptionV2Params) WithRequest ¶
func (o *CreateSubscriptionV2Params) WithRequest(request *models.CreateSubscriptionRequest) *CreateSubscriptionV2Params
WithRequest adds the request to the create subscription v2 params
func (*CreateSubscriptionV2Params) WithTimeout ¶
func (o *CreateSubscriptionV2Params) WithTimeout(timeout time.Duration) *CreateSubscriptionV2Params
WithTimeout adds the timeout to the create subscription v2 params
func (*CreateSubscriptionV2Params) WriteToRequest ¶
func (o *CreateSubscriptionV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteMetadataForSubscriptionDefault) Code() int
Code gets the status code for the delete metadata for subscription default response
func (*DeleteMetadataForSubscriptionDefault) Error ¶
func (o *DeleteMetadataForSubscriptionDefault) Error() string
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 ¶
func (o *DeleteMetadataForSubscriptionOK) Error() string
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 ¶
func (o *DeleteMetadataForSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteMetadataForSubscriptionParams) WithContext(ctx context.Context) *DeleteMetadataForSubscriptionParams
WithContext adds the context to the delete metadata for subscription params
func (*DeleteMetadataForSubscriptionParams) WithHTTPClient ¶
func (o *DeleteMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteMetadataForSubscriptionParams
WithHTTPClient adds the HTTPClient to the delete metadata for subscription params
func (*DeleteMetadataForSubscriptionParams) WithOrganizations ¶
func (o *DeleteMetadataForSubscriptionParams) WithOrganizations(organizations []string) *DeleteMetadataForSubscriptionParams
WithOrganizations adds the organizations to the delete metadata for subscription params
func (*DeleteMetadataForSubscriptionParams) WithSubscriptionID ¶
func (o *DeleteMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *DeleteMetadataForSubscriptionParams
WithSubscriptionID adds the subscriptionID to the delete metadata for subscription params
func (*DeleteMetadataForSubscriptionParams) WithTimeout ¶
func (o *DeleteMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteMetadataForSubscriptionParams
WithTimeout adds the timeout to the delete metadata for subscription params
func (*DeleteMetadataForSubscriptionParams) WriteToRequest ¶
func (o *DeleteMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAllSubscriptionsDefault) Error() string
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 ¶
func (o *GetAllSubscriptionsParams) WithContext(ctx context.Context) *GetAllSubscriptionsParams
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 ¶
func (o *GetAllSubscriptionsParams) WithOffset(offset *int32) *GetAllSubscriptionsParams
WithOffset adds the offset to the get all subscriptions params
func (*GetAllSubscriptionsParams) WithOrder ¶
func (o *GetAllSubscriptionsParams) WithOrder(order *string) *GetAllSubscriptionsParams
WithOrder adds the order to the get all subscriptions params
func (*GetAllSubscriptionsParams) WithOrderBy ¶
func (o *GetAllSubscriptionsParams) WithOrderBy(orderBy *string) *GetAllSubscriptionsParams
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 ¶
func (o *GetAllSubscriptionsParams) WithTimeout(timeout time.Duration) *GetAllSubscriptionsParams
WithTimeout adds the timeout to the get all subscriptions params
func (*GetAllSubscriptionsParams) WriteToRequest ¶
func (o *GetAllSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetMetadataForSubscriptionDefault) Code() int
Code gets the status code for the get metadata for subscription default response
func (*GetMetadataForSubscriptionDefault) Error ¶
func (o *GetMetadataForSubscriptionDefault) Error() string
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 ¶
func (o *GetMetadataForSubscriptionOK) Error() string
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 ¶
func (o *GetMetadataForSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetMetadataForSubscriptionParams) WithContext(ctx context.Context) *GetMetadataForSubscriptionParams
WithContext adds the context to the get metadata for subscription params
func (*GetMetadataForSubscriptionParams) WithHTTPClient ¶
func (o *GetMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *GetMetadataForSubscriptionParams
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 ¶
func (o *GetMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *GetMetadataForSubscriptionParams
WithTimeout adds the timeout to the get metadata for subscription params
func (*GetMetadataForSubscriptionParams) WriteToRequest ¶
func (o *GetMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetSubscriptionByAccountIDDefault) Code() int
Code gets the status code for the get subscription by account ID default response
func (*GetSubscriptionByAccountIDDefault) Error ¶
func (o *GetSubscriptionByAccountIDDefault) Error() string
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 ¶
func (o *GetSubscriptionByAccountIDOK) Error() string
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 ¶
func (o *GetSubscriptionByAccountIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetSubscriptionByAccountIDParams) WithAccountID(accountID string) *GetSubscriptionByAccountIDParams
WithAccountID adds the accountID to the get subscription by account ID params
func (*GetSubscriptionByAccountIDParams) WithContext ¶
func (o *GetSubscriptionByAccountIDParams) WithContext(ctx context.Context) *GetSubscriptionByAccountIDParams
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 ¶
func (o *GetSubscriptionByAccountIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionByAccountIDParams
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 ¶
func (o *GetSubscriptionByAccountIDParams) WithOffset(offset *int32) *GetSubscriptionByAccountIDParams
WithOffset adds the offset to the get subscription by account ID params
func (*GetSubscriptionByAccountIDParams) WithOrder ¶
func (o *GetSubscriptionByAccountIDParams) WithOrder(order *string) *GetSubscriptionByAccountIDParams
WithOrder adds the order to the get subscription by account ID params
func (*GetSubscriptionByAccountIDParams) WithOrderBy ¶
func (o *GetSubscriptionByAccountIDParams) WithOrderBy(orderBy *string) *GetSubscriptionByAccountIDParams
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 ¶
func (o *GetSubscriptionByAccountIDParams) WithRecords(records *int32) *GetSubscriptionByAccountIDParams
WithRecords adds the records to the get subscription by account ID params
func (*GetSubscriptionByAccountIDParams) WithTimeout ¶
func (o *GetSubscriptionByAccountIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByAccountIDParams
WithTimeout adds the timeout to the get subscription by account ID params
func (*GetSubscriptionByAccountIDParams) WriteToRequest ¶
func (o *GetSubscriptionByAccountIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetSubscriptionByIDDefault) Error() string
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 ¶
func (o *GetSubscriptionByIDParams) WithContext(ctx context.Context) *GetSubscriptionByIDParams
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 ¶
func (o *GetSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
WithTimeout adds the timeout to the get subscription by ID params
func (*GetSubscriptionByIDParams) WriteToRequest ¶
func (o *GetSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RemovePaymentMethodFromSubscriptionDefault) Code() int
Code gets the status code for the remove payment method from subscription default response
func (*RemovePaymentMethodFromSubscriptionDefault) Error ¶
func (o *RemovePaymentMethodFromSubscriptionDefault) Error() string
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 ¶
func (o *RemovePaymentMethodFromSubscriptionOK) Error() string
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 ¶
func (o *RemovePaymentMethodFromSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *RemovePaymentMethodFromSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove payment method from subscription params
func (*RemovePaymentMethodFromSubscriptionParams) WithContext ¶
func (o *RemovePaymentMethodFromSubscriptionParams) WithContext(ctx context.Context) *RemovePaymentMethodFromSubscriptionParams
WithContext adds the context to the remove payment method from subscription params
func (*RemovePaymentMethodFromSubscriptionParams) WithHTTPClient ¶
func (o *RemovePaymentMethodFromSubscriptionParams) WithHTTPClient(client *http.Client) *RemovePaymentMethodFromSubscriptionParams
WithHTTPClient adds the HTTPClient to the remove payment method from subscription params
func (*RemovePaymentMethodFromSubscriptionParams) WithOrganizations ¶
func (o *RemovePaymentMethodFromSubscriptionParams) WithOrganizations(organizations []string) *RemovePaymentMethodFromSubscriptionParams
WithOrganizations adds the organizations to the remove payment method from subscription params
func (*RemovePaymentMethodFromSubscriptionParams) WithPaymentMethodID ¶
func (o *RemovePaymentMethodFromSubscriptionParams) WithPaymentMethodID(paymentMethodID string) *RemovePaymentMethodFromSubscriptionParams
WithPaymentMethodID adds the paymentMethodID to the remove payment method from subscription params
func (*RemovePaymentMethodFromSubscriptionParams) WithSubscriptionID ¶
func (o *RemovePaymentMethodFromSubscriptionParams) WithSubscriptionID(subscriptionID string) *RemovePaymentMethodFromSubscriptionParams
WithSubscriptionID adds the subscriptionID to the remove payment method from subscription params
func (*RemovePaymentMethodFromSubscriptionParams) WithTimeout ¶
func (o *RemovePaymentMethodFromSubscriptionParams) WithTimeout(timeout time.Duration) *RemovePaymentMethodFromSubscriptionParams
WithTimeout adds the timeout to the remove payment method from subscription params
func (*RemovePaymentMethodFromSubscriptionParams) WriteToRequest ¶
func (o *RemovePaymentMethodFromSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReviveSubscriptionParams) SetRequest(request *models.ReviveSubscriptionRequest)
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 ¶
func (o *ReviveSubscriptionParams) WithContext(ctx context.Context) *ReviveSubscriptionParams
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 ¶
func (o *ReviveSubscriptionParams) WithRequest(request *models.ReviveSubscriptionRequest) *ReviveSubscriptionParams
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 ¶
func (o *ReviveSubscriptionParams) WithTimeout(timeout time.Duration) *ReviveSubscriptionParams
WithTimeout adds the timeout to the revive subscription params
func (*ReviveSubscriptionParams) WriteToRequest ¶
func (o *ReviveSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SetMetadataForSubscriptionDefault) Code() int
Code gets the status code for the set metadata for subscription default response
func (*SetMetadataForSubscriptionDefault) Error ¶
func (o *SetMetadataForSubscriptionDefault) Error() string
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 ¶
func (o *SetMetadataForSubscriptionOK) Error() string
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 ¶
func (o *SetMetadataForSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *SetMetadataForSubscriptionParams) WithContext(ctx context.Context) *SetMetadataForSubscriptionParams
WithContext adds the context to the set metadata for subscription params
func (*SetMetadataForSubscriptionParams) WithHTTPClient ¶
func (o *SetMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *SetMetadataForSubscriptionParams
WithHTTPClient adds the HTTPClient to the set metadata for subscription params
func (*SetMetadataForSubscriptionParams) WithMetadata ¶
func (o *SetMetadataForSubscriptionParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForSubscriptionParams
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 ¶
func (o *SetMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *SetMetadataForSubscriptionParams
WithTimeout adds the timeout to the set metadata for subscription params
func (*SetMetadataForSubscriptionParams) WriteToRequest ¶
func (o *SetMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateSubscriptionV2Default) Error() string
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 ¶
func (o *UpdateSubscriptionV2Params) SetRequest(request *models.UpdateSubscriptionRequest)
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 ¶
func (o *UpdateSubscriptionV2Params) WithContext(ctx context.Context) *UpdateSubscriptionV2Params
WithContext adds the context to the update subscription v2 params
func (*UpdateSubscriptionV2Params) WithHTTPClient ¶
func (o *UpdateSubscriptionV2Params) WithHTTPClient(client *http.Client) *UpdateSubscriptionV2Params
WithHTTPClient adds the HTTPClient to the update subscription v2 params
func (*UpdateSubscriptionV2Params) WithRequest ¶
func (o *UpdateSubscriptionV2Params) WithRequest(request *models.UpdateSubscriptionRequest) *UpdateSubscriptionV2Params
WithRequest adds the request to the update subscription v2 params
func (*UpdateSubscriptionV2Params) WithTimeout ¶
func (o *UpdateSubscriptionV2Params) WithTimeout(timeout time.Duration) *UpdateSubscriptionV2Params
WithTimeout adds the timeout to the update subscription v2 params
func (*UpdateSubscriptionV2Params) WriteToRequest ¶
func (o *UpdateSubscriptionV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpsertMetadataForSubscriptionDefault) Code() int
Code gets the status code for the upsert metadata for subscription default response
func (*UpsertMetadataForSubscriptionDefault) Error ¶
func (o *UpsertMetadataForSubscriptionDefault) Error() string
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 ¶
func (o *UpsertMetadataForSubscriptionOK) Error() string
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 ¶
func (o *UpsertMetadataForSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *UpsertMetadataForSubscriptionParams) SetMetadata(metadata models.DynamicMetadata)
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 ¶
func (o *UpsertMetadataForSubscriptionParams) WithContext(ctx context.Context) *UpsertMetadataForSubscriptionParams
WithContext adds the context to the upsert metadata for subscription params
func (*UpsertMetadataForSubscriptionParams) WithHTTPClient ¶
func (o *UpsertMetadataForSubscriptionParams) WithHTTPClient(client *http.Client) *UpsertMetadataForSubscriptionParams
WithHTTPClient adds the HTTPClient to the upsert metadata for subscription params
func (*UpsertMetadataForSubscriptionParams) WithMetadata ¶
func (o *UpsertMetadataForSubscriptionParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForSubscriptionParams
WithMetadata adds the metadata to the upsert metadata for subscription params
func (*UpsertMetadataForSubscriptionParams) WithOrganizations ¶
func (o *UpsertMetadataForSubscriptionParams) WithOrganizations(organizations []string) *UpsertMetadataForSubscriptionParams
WithOrganizations adds the organizations to the upsert metadata for subscription params
func (*UpsertMetadataForSubscriptionParams) WithSubscriptionID ¶
func (o *UpsertMetadataForSubscriptionParams) WithSubscriptionID(subscriptionID string) *UpsertMetadataForSubscriptionParams
WithSubscriptionID adds the subscriptionID to the upsert metadata for subscription params
func (*UpsertMetadataForSubscriptionParams) WithTimeout ¶
func (o *UpsertMetadataForSubscriptionParams) WithTimeout(timeout time.Duration) *UpsertMetadataForSubscriptionParams
WithTimeout adds the timeout to the upsert metadata for subscription params
func (*UpsertMetadataForSubscriptionParams) WriteToRequest ¶
func (o *UpsertMetadataForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
- add_payment_method_to_subscription_parameters.go
- add_payment_method_to_subscription_responses.go
- advance_subscription_parameters.go
- advance_subscription_responses.go
- available_payment_methods_for_subscription_parameters.go
- available_payment_methods_for_subscription_responses.go
- batch_create_subscriptions_parameters.go
- batch_create_subscriptions_responses.go
- cancel_subscription_parameters.go
- cancel_subscription_responses.go
- create_aggregating_subscription_parameters.go
- create_aggregating_subscription_responses.go
- create_subscription_parameters.go
- create_subscription_responses.go
- create_subscription_v2_parameters.go
- create_subscription_v2_responses.go
- delete_metadata_for_subscription_parameters.go
- delete_metadata_for_subscription_responses.go
- get_all_subscriptions_parameters.go
- get_all_subscriptions_responses.go
- get_metadata_for_subscription_parameters.go
- get_metadata_for_subscription_responses.go
- get_subscription_by_account_id_parameters.go
- get_subscription_by_account_id_responses.go
- get_subscription_by_id_parameters.go
- get_subscription_by_id_responses.go
- remove_payment_method_from_subscription_parameters.go
- remove_payment_method_from_subscription_responses.go
- revive_subscription_parameters.go
- revive_subscription_responses.go
- set_metadata_for_subscription_parameters.go
- set_metadata_for_subscription_responses.go
- subscriptions_client.go
- update_subscription_v2_parameters.go
- update_subscription_v2_responses.go
- upsert_metadata_for_subscription_parameters.go
- upsert_metadata_for_subscription_responses.go