admin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for admin API

func New

func New(transport runtime.ClientTransport,
	formats strfmt.Registry,
	authInfo runtime.ClientAuthInfoWriter,
	defaults KillbillDefaults) *Client

New creates a new admin API client.

func (*Client) GetQueueEntries

func (a *Client) GetQueueEntries(ctx context.Context, params *GetQueueEntriesParams) (*GetQueueEntriesOK, error)

GetQueueEntries gets queues entries

func (*Client) InvalidatesCache

func (a *Client) InvalidatesCache(ctx context.Context, params *InvalidatesCacheParams) (*InvalidatesCacheNoContent, error)

InvalidatesCache invalidates the given cache if specified otherwise invalidates all caches

func (*Client) InvalidatesCacheByAccount

func (a *Client) InvalidatesCacheByAccount(ctx context.Context, params *InvalidatesCacheByAccountParams) (*InvalidatesCacheByAccountNoContent, error)

InvalidatesCacheByAccount invalidates caches per account level

func (*Client) InvalidatesCacheByTenant

func (a *Client) InvalidatesCacheByTenant(ctx context.Context, params *InvalidatesCacheByTenantParams) (*InvalidatesCacheByTenantNoContent, error)

InvalidatesCacheByTenant invalidates caches per tenant level

func (*Client) PutInRotation

func (a *Client) PutInRotation(ctx context.Context, params *PutInRotationParams) (*PutInRotationNoContent, error)

PutInRotation puts the host back into rotation

func (*Client) PutOutOfRotation

func (a *Client) PutOutOfRotation(ctx context.Context, params *PutOutOfRotationParams) (*PutOutOfRotationNoContent, error)

PutOutOfRotation puts the host out of rotation

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TriggerInvoiceGenerationForParkedAccounts

func (a *Client) TriggerInvoiceGenerationForParkedAccounts(ctx context.Context, params *TriggerInvoiceGenerationForParkedAccountsParams) (*TriggerInvoiceGenerationForParkedAccountsOK, error)

TriggerInvoiceGenerationForParkedAccounts triggers an invoice generation for all parked accounts

func (*Client) UpdatePaymentTransactionState

UpdatePaymentTransactionState updates existing payment transaction and associated payment state

type GetQueueEntriesBadRequest

type GetQueueEntriesBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetQueueEntriesBadRequest handles this case with default header values.

Invalid account id supplied

func NewGetQueueEntriesBadRequest

func NewGetQueueEntriesBadRequest() *GetQueueEntriesBadRequest

NewGetQueueEntriesBadRequest creates a GetQueueEntriesBadRequest with default headers values

func (*GetQueueEntriesBadRequest) Error

func (o *GetQueueEntriesBadRequest) Error() string

type GetQueueEntriesNotFound

type GetQueueEntriesNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetQueueEntriesNotFound handles this case with default header values.

Account not found

func NewGetQueueEntriesNotFound

func NewGetQueueEntriesNotFound() *GetQueueEntriesNotFound

NewGetQueueEntriesNotFound creates a GetQueueEntriesNotFound with default headers values

func (*GetQueueEntriesNotFound) Error

func (o *GetQueueEntriesNotFound) Error() string

type GetQueueEntriesOK

type GetQueueEntriesOK struct {
	HttpResponse runtime.ClientResponse
}

GetQueueEntriesOK handles this case with default header values.

Success

func NewGetQueueEntriesOK

func NewGetQueueEntriesOK() *GetQueueEntriesOK

NewGetQueueEntriesOK creates a GetQueueEntriesOK with default headers values

func (*GetQueueEntriesOK) Error

func (o *GetQueueEntriesOK) Error() string

type GetQueueEntriesParams

type GetQueueEntriesParams struct {

	/*AccountID*/
	AccountID *strfmt.UUID
	/*MaxDate*/
	MaxDate *string
	/*MinDate*/
	MinDate *string
	/*QueueName*/
	QueueName *string
	/*ServiceName*/
	ServiceName *string
	/*WithBusEvents*/
	WithBusEvents *bool
	/*WithHistory*/
	WithHistory *bool
	/*WithInProcessing*/
	WithInProcessing *bool
	/*WithNotifications*/
	WithNotifications *bool

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetQueueEntriesParams contains all the parameters to send to the API endpoint for the get queue entries operation typically these are written to a http.Request

func NewGetQueueEntriesParams

func NewGetQueueEntriesParams() *GetQueueEntriesParams

NewGetQueueEntriesParams creates a new GetQueueEntriesParams object with the default values initialized.

func NewGetQueueEntriesParamsWithContext

func NewGetQueueEntriesParamsWithContext(ctx context.Context) *GetQueueEntriesParams

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

func NewGetQueueEntriesParamsWithHTTPClient

func NewGetQueueEntriesParamsWithHTTPClient(client *http.Client) *GetQueueEntriesParams

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

func NewGetQueueEntriesParamsWithTimeout

func NewGetQueueEntriesParamsWithTimeout(timeout time.Duration) *GetQueueEntriesParams

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

func (*GetQueueEntriesParams) SetAccountID

func (o *GetQueueEntriesParams) SetAccountID(accountID *strfmt.UUID)

SetAccountID adds the accountId to the get queue entries params

func (*GetQueueEntriesParams) SetContext

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

SetContext adds the context to the get queue entries params

func (*GetQueueEntriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get queue entries params

func (*GetQueueEntriesParams) SetMaxDate

func (o *GetQueueEntriesParams) SetMaxDate(maxDate *string)

SetMaxDate adds the maxDate to the get queue entries params

func (*GetQueueEntriesParams) SetMinDate

func (o *GetQueueEntriesParams) SetMinDate(minDate *string)

SetMinDate adds the minDate to the get queue entries params

func (*GetQueueEntriesParams) SetQueueName

func (o *GetQueueEntriesParams) SetQueueName(queueName *string)

SetQueueName adds the queueName to the get queue entries params

func (*GetQueueEntriesParams) SetServiceName

func (o *GetQueueEntriesParams) SetServiceName(serviceName *string)

SetServiceName adds the serviceName to the get queue entries params

func (*GetQueueEntriesParams) SetTimeout

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

SetTimeout adds the timeout to the get queue entries params

func (*GetQueueEntriesParams) SetWithBusEvents

func (o *GetQueueEntriesParams) SetWithBusEvents(withBusEvents *bool)

SetWithBusEvents adds the withBusEvents to the get queue entries params

func (*GetQueueEntriesParams) SetWithHistory

func (o *GetQueueEntriesParams) SetWithHistory(withHistory *bool)

SetWithHistory adds the withHistory to the get queue entries params

func (*GetQueueEntriesParams) SetWithInProcessing

func (o *GetQueueEntriesParams) SetWithInProcessing(withInProcessing *bool)

SetWithInProcessing adds the withInProcessing to the get queue entries params

func (*GetQueueEntriesParams) SetWithNotifications

func (o *GetQueueEntriesParams) SetWithNotifications(withNotifications *bool)

SetWithNotifications adds the withNotifications to the get queue entries params

func (*GetQueueEntriesParams) WithAccountID

func (o *GetQueueEntriesParams) WithAccountID(accountID *strfmt.UUID) *GetQueueEntriesParams

WithAccountID adds the accountID to the get queue entries params

func (*GetQueueEntriesParams) WithContext

WithContext adds the context to the get queue entries params

func (*GetQueueEntriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get queue entries params

func (*GetQueueEntriesParams) WithMaxDate

func (o *GetQueueEntriesParams) WithMaxDate(maxDate *string) *GetQueueEntriesParams

WithMaxDate adds the maxDate to the get queue entries params

func (*GetQueueEntriesParams) WithMinDate

func (o *GetQueueEntriesParams) WithMinDate(minDate *string) *GetQueueEntriesParams

WithMinDate adds the minDate to the get queue entries params

func (*GetQueueEntriesParams) WithQueueName

func (o *GetQueueEntriesParams) WithQueueName(queueName *string) *GetQueueEntriesParams

WithQueueName adds the queueName to the get queue entries params

func (*GetQueueEntriesParams) WithServiceName

func (o *GetQueueEntriesParams) WithServiceName(serviceName *string) *GetQueueEntriesParams

WithServiceName adds the serviceName to the get queue entries params

func (*GetQueueEntriesParams) WithTimeout

func (o *GetQueueEntriesParams) WithTimeout(timeout time.Duration) *GetQueueEntriesParams

WithTimeout adds the timeout to the get queue entries params

func (*GetQueueEntriesParams) WithWithBusEvents

func (o *GetQueueEntriesParams) WithWithBusEvents(withBusEvents *bool) *GetQueueEntriesParams

WithWithBusEvents adds the withBusEvents to the get queue entries params

func (*GetQueueEntriesParams) WithWithHistory

func (o *GetQueueEntriesParams) WithWithHistory(withHistory *bool) *GetQueueEntriesParams

WithWithHistory adds the withHistory to the get queue entries params

func (*GetQueueEntriesParams) WithWithInProcessing

func (o *GetQueueEntriesParams) WithWithInProcessing(withInProcessing *bool) *GetQueueEntriesParams

WithWithInProcessing adds the withInProcessing to the get queue entries params

func (*GetQueueEntriesParams) WithWithNotifications

func (o *GetQueueEntriesParams) WithWithNotifications(withNotifications *bool) *GetQueueEntriesParams

WithWithNotifications adds the withNotifications to the get queue entries params

func (*GetQueueEntriesParams) WriteToRequest

func (o *GetQueueEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetQueueEntriesReader

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

GetQueueEntriesReader is a Reader for the GetQueueEntries structure.

func (*GetQueueEntriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IAdmin

type IAdmin interface {
	/*
		GetQueueEntries gets queues entries
	*/
	GetQueueEntries(ctx context.Context, params *GetQueueEntriesParams) (*GetQueueEntriesOK, error)

	/*
		InvalidatesCache invalidates the given cache if specified otherwise invalidates all caches
	*/
	InvalidatesCache(ctx context.Context, params *InvalidatesCacheParams) (*InvalidatesCacheNoContent, error)

	/*
		InvalidatesCacheByAccount invalidates caches per account level
	*/
	InvalidatesCacheByAccount(ctx context.Context, params *InvalidatesCacheByAccountParams) (*InvalidatesCacheByAccountNoContent, error)

	/*
		InvalidatesCacheByTenant invalidates caches per tenant level
	*/
	InvalidatesCacheByTenant(ctx context.Context, params *InvalidatesCacheByTenantParams) (*InvalidatesCacheByTenantNoContent, error)

	/*
		PutInRotation puts the host back into rotation
	*/
	PutInRotation(ctx context.Context, params *PutInRotationParams) (*PutInRotationNoContent, error)

	/*
		PutOutOfRotation puts the host out of rotation
	*/
	PutOutOfRotation(ctx context.Context, params *PutOutOfRotationParams) (*PutOutOfRotationNoContent, error)

	/*
		TriggerInvoiceGenerationForParkedAccounts triggers an invoice generation for all parked accounts
	*/
	TriggerInvoiceGenerationForParkedAccounts(ctx context.Context, params *TriggerInvoiceGenerationForParkedAccountsParams) (*TriggerInvoiceGenerationForParkedAccountsOK, error)

	/*
		UpdatePaymentTransactionState updates existing payment transaction and associated payment state
	*/
	UpdatePaymentTransactionState(ctx context.Context, params *UpdatePaymentTransactionStateParams) (*UpdatePaymentTransactionStateNoContent, error)
}

IAdmin - interface for Admin client.

type InvalidatesCacheBadRequest

type InvalidatesCacheBadRequest struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheBadRequest handles this case with default header values.

Cache name does not exist or is not alive

func NewInvalidatesCacheBadRequest

func NewInvalidatesCacheBadRequest() *InvalidatesCacheBadRequest

NewInvalidatesCacheBadRequest creates a InvalidatesCacheBadRequest with default headers values

func (*InvalidatesCacheBadRequest) Error

type InvalidatesCacheByAccountBadRequest

type InvalidatesCacheByAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheByAccountBadRequest handles this case with default header values.

Invalid account id supplied

func NewInvalidatesCacheByAccountBadRequest

func NewInvalidatesCacheByAccountBadRequest() *InvalidatesCacheByAccountBadRequest

NewInvalidatesCacheByAccountBadRequest creates a InvalidatesCacheByAccountBadRequest with default headers values

func (*InvalidatesCacheByAccountBadRequest) Error

type InvalidatesCacheByAccountNoContent

type InvalidatesCacheByAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheByAccountNoContent handles this case with default header values.

Successful operation

func NewInvalidatesCacheByAccountNoContent

func NewInvalidatesCacheByAccountNoContent() *InvalidatesCacheByAccountNoContent

NewInvalidatesCacheByAccountNoContent creates a InvalidatesCacheByAccountNoContent with default headers values

func (*InvalidatesCacheByAccountNoContent) Error

type InvalidatesCacheByAccountParams

type InvalidatesCacheByAccountParams struct {

	/*AccountID*/
	AccountID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

InvalidatesCacheByAccountParams contains all the parameters to send to the API endpoint for the invalidates cache by account operation typically these are written to a http.Request

func NewInvalidatesCacheByAccountParams

func NewInvalidatesCacheByAccountParams() *InvalidatesCacheByAccountParams

NewInvalidatesCacheByAccountParams creates a new InvalidatesCacheByAccountParams object with the default values initialized.

func NewInvalidatesCacheByAccountParamsWithContext

func NewInvalidatesCacheByAccountParamsWithContext(ctx context.Context) *InvalidatesCacheByAccountParams

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

func NewInvalidatesCacheByAccountParamsWithHTTPClient

func NewInvalidatesCacheByAccountParamsWithHTTPClient(client *http.Client) *InvalidatesCacheByAccountParams

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

func NewInvalidatesCacheByAccountParamsWithTimeout

func NewInvalidatesCacheByAccountParamsWithTimeout(timeout time.Duration) *InvalidatesCacheByAccountParams

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

func (*InvalidatesCacheByAccountParams) SetAccountID

func (o *InvalidatesCacheByAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) SetContext

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

SetContext adds the context to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) SetTimeout

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

SetTimeout adds the timeout to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) WithAccountID

WithAccountID adds the accountID to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) WithContext

WithContext adds the context to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) WithTimeout

WithTimeout adds the timeout to the invalidates cache by account params

func (*InvalidatesCacheByAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvalidatesCacheByAccountReader

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

InvalidatesCacheByAccountReader is a Reader for the InvalidatesCacheByAccount structure.

func (*InvalidatesCacheByAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvalidatesCacheByTenantNoContent

type InvalidatesCacheByTenantNoContent struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheByTenantNoContent handles this case with default header values.

Successful operation

func NewInvalidatesCacheByTenantNoContent

func NewInvalidatesCacheByTenantNoContent() *InvalidatesCacheByTenantNoContent

NewInvalidatesCacheByTenantNoContent creates a InvalidatesCacheByTenantNoContent with default headers values

func (*InvalidatesCacheByTenantNoContent) Error

type InvalidatesCacheByTenantParams

type InvalidatesCacheByTenantParams struct {
	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

InvalidatesCacheByTenantParams contains all the parameters to send to the API endpoint for the invalidates cache by tenant operation typically these are written to a http.Request

func NewInvalidatesCacheByTenantParams

func NewInvalidatesCacheByTenantParams() *InvalidatesCacheByTenantParams

NewInvalidatesCacheByTenantParams creates a new InvalidatesCacheByTenantParams object with the default values initialized.

func NewInvalidatesCacheByTenantParamsWithContext

func NewInvalidatesCacheByTenantParamsWithContext(ctx context.Context) *InvalidatesCacheByTenantParams

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

func NewInvalidatesCacheByTenantParamsWithHTTPClient

func NewInvalidatesCacheByTenantParamsWithHTTPClient(client *http.Client) *InvalidatesCacheByTenantParams

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

func NewInvalidatesCacheByTenantParamsWithTimeout

func NewInvalidatesCacheByTenantParamsWithTimeout(timeout time.Duration) *InvalidatesCacheByTenantParams

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

func (*InvalidatesCacheByTenantParams) SetContext

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

SetContext adds the context to the invalidates cache by tenant params

func (*InvalidatesCacheByTenantParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invalidates cache by tenant params

func (*InvalidatesCacheByTenantParams) SetTimeout

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

SetTimeout adds the timeout to the invalidates cache by tenant params

func (*InvalidatesCacheByTenantParams) WithContext

WithContext adds the context to the invalidates cache by tenant params

func (*InvalidatesCacheByTenantParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the invalidates cache by tenant params

func (*InvalidatesCacheByTenantParams) WithTimeout

WithTimeout adds the timeout to the invalidates cache by tenant params

func (*InvalidatesCacheByTenantParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvalidatesCacheByTenantReader

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

InvalidatesCacheByTenantReader is a Reader for the InvalidatesCacheByTenant structure.

func (*InvalidatesCacheByTenantReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InvalidatesCacheNoContent

type InvalidatesCacheNoContent struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheNoContent handles this case with default header values.

Successful operation

func NewInvalidatesCacheNoContent

func NewInvalidatesCacheNoContent() *InvalidatesCacheNoContent

NewInvalidatesCacheNoContent creates a InvalidatesCacheNoContent with default headers values

func (*InvalidatesCacheNoContent) Error

func (o *InvalidatesCacheNoContent) Error() string

type InvalidatesCacheParams

type InvalidatesCacheParams struct {

	/*CacheName*/
	CacheName *string

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

InvalidatesCacheParams contains all the parameters to send to the API endpoint for the invalidates cache operation typically these are written to a http.Request

func NewInvalidatesCacheParams

func NewInvalidatesCacheParams() *InvalidatesCacheParams

NewInvalidatesCacheParams creates a new InvalidatesCacheParams object with the default values initialized.

func NewInvalidatesCacheParamsWithContext

func NewInvalidatesCacheParamsWithContext(ctx context.Context) *InvalidatesCacheParams

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

func NewInvalidatesCacheParamsWithHTTPClient

func NewInvalidatesCacheParamsWithHTTPClient(client *http.Client) *InvalidatesCacheParams

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

func NewInvalidatesCacheParamsWithTimeout

func NewInvalidatesCacheParamsWithTimeout(timeout time.Duration) *InvalidatesCacheParams

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

func (*InvalidatesCacheParams) SetCacheName

func (o *InvalidatesCacheParams) SetCacheName(cacheName *string)

SetCacheName adds the cacheName to the invalidates cache params

func (*InvalidatesCacheParams) SetContext

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

SetContext adds the context to the invalidates cache params

func (*InvalidatesCacheParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invalidates cache params

func (*InvalidatesCacheParams) SetTimeout

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

SetTimeout adds the timeout to the invalidates cache params

func (*InvalidatesCacheParams) WithCacheName

func (o *InvalidatesCacheParams) WithCacheName(cacheName *string) *InvalidatesCacheParams

WithCacheName adds the cacheName to the invalidates cache params

func (*InvalidatesCacheParams) WithContext

WithContext adds the context to the invalidates cache params

func (*InvalidatesCacheParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the invalidates cache params

func (*InvalidatesCacheParams) WithTimeout

WithTimeout adds the timeout to the invalidates cache params

func (*InvalidatesCacheParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InvalidatesCacheReader

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

InvalidatesCacheReader is a Reader for the InvalidatesCache structure.

func (*InvalidatesCacheReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default WithStackTrace. If not set explicitly in params, this will be used.
	KillbillWithStackTrace() *bool
}

killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.

type PutInRotationNoContent

type PutInRotationNoContent struct {
	HttpResponse runtime.ClientResponse
}

PutInRotationNoContent handles this case with default header values.

Successful operation

func NewPutInRotationNoContent

func NewPutInRotationNoContent() *PutInRotationNoContent

NewPutInRotationNoContent creates a PutInRotationNoContent with default headers values

func (*PutInRotationNoContent) Error

func (o *PutInRotationNoContent) Error() string

type PutInRotationParams

type PutInRotationParams struct {
	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

PutInRotationParams contains all the parameters to send to the API endpoint for the put in rotation operation typically these are written to a http.Request

func NewPutInRotationParams

func NewPutInRotationParams() *PutInRotationParams

NewPutInRotationParams creates a new PutInRotationParams object with the default values initialized.

func NewPutInRotationParamsWithContext

func NewPutInRotationParamsWithContext(ctx context.Context) *PutInRotationParams

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

func NewPutInRotationParamsWithHTTPClient

func NewPutInRotationParamsWithHTTPClient(client *http.Client) *PutInRotationParams

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

func NewPutInRotationParamsWithTimeout

func NewPutInRotationParamsWithTimeout(timeout time.Duration) *PutInRotationParams

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

func (*PutInRotationParams) SetContext

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

SetContext adds the context to the put in rotation params

func (*PutInRotationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put in rotation params

func (*PutInRotationParams) SetTimeout

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

SetTimeout adds the timeout to the put in rotation params

func (*PutInRotationParams) WithContext

WithContext adds the context to the put in rotation params

func (*PutInRotationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put in rotation params

func (*PutInRotationParams) WithTimeout

func (o *PutInRotationParams) WithTimeout(timeout time.Duration) *PutInRotationParams

WithTimeout adds the timeout to the put in rotation params

func (*PutInRotationParams) WriteToRequest

func (o *PutInRotationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutInRotationReader

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

PutInRotationReader is a Reader for the PutInRotation structure.

func (*PutInRotationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutOutOfRotationNoContent

type PutOutOfRotationNoContent struct {
	HttpResponse runtime.ClientResponse
}

PutOutOfRotationNoContent handles this case with default header values.

Successful operation

func NewPutOutOfRotationNoContent

func NewPutOutOfRotationNoContent() *PutOutOfRotationNoContent

NewPutOutOfRotationNoContent creates a PutOutOfRotationNoContent with default headers values

func (*PutOutOfRotationNoContent) Error

func (o *PutOutOfRotationNoContent) Error() string

type PutOutOfRotationParams

type PutOutOfRotationParams struct {
	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

PutOutOfRotationParams contains all the parameters to send to the API endpoint for the put out of rotation operation typically these are written to a http.Request

func NewPutOutOfRotationParams

func NewPutOutOfRotationParams() *PutOutOfRotationParams

NewPutOutOfRotationParams creates a new PutOutOfRotationParams object with the default values initialized.

func NewPutOutOfRotationParamsWithContext

func NewPutOutOfRotationParamsWithContext(ctx context.Context) *PutOutOfRotationParams

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

func NewPutOutOfRotationParamsWithHTTPClient

func NewPutOutOfRotationParamsWithHTTPClient(client *http.Client) *PutOutOfRotationParams

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

func NewPutOutOfRotationParamsWithTimeout

func NewPutOutOfRotationParamsWithTimeout(timeout time.Duration) *PutOutOfRotationParams

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

func (*PutOutOfRotationParams) SetContext

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

SetContext adds the context to the put out of rotation params

func (*PutOutOfRotationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put out of rotation params

func (*PutOutOfRotationParams) SetTimeout

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

SetTimeout adds the timeout to the put out of rotation params

func (*PutOutOfRotationParams) WithContext

WithContext adds the context to the put out of rotation params

func (*PutOutOfRotationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put out of rotation params

func (*PutOutOfRotationParams) WithTimeout

WithTimeout adds the timeout to the put out of rotation params

func (*PutOutOfRotationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutOutOfRotationReader

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

PutOutOfRotationReader is a Reader for the PutOutOfRotation structure.

func (*PutOutOfRotationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TriggerInvoiceGenerationForParkedAccountsOK

type TriggerInvoiceGenerationForParkedAccountsOK struct {
	HttpResponse runtime.ClientResponse
}

TriggerInvoiceGenerationForParkedAccountsOK handles this case with default header values.

Successful operation

func NewTriggerInvoiceGenerationForParkedAccountsOK

func NewTriggerInvoiceGenerationForParkedAccountsOK() *TriggerInvoiceGenerationForParkedAccountsOK

NewTriggerInvoiceGenerationForParkedAccountsOK creates a TriggerInvoiceGenerationForParkedAccountsOK with default headers values

func (*TriggerInvoiceGenerationForParkedAccountsOK) Error

type TriggerInvoiceGenerationForParkedAccountsParams

type TriggerInvoiceGenerationForParkedAccountsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

TriggerInvoiceGenerationForParkedAccountsParams contains all the parameters to send to the API endpoint for the trigger invoice generation for parked accounts operation typically these are written to a http.Request

func NewTriggerInvoiceGenerationForParkedAccountsParams

func NewTriggerInvoiceGenerationForParkedAccountsParams() *TriggerInvoiceGenerationForParkedAccountsParams

NewTriggerInvoiceGenerationForParkedAccountsParams creates a new TriggerInvoiceGenerationForParkedAccountsParams object with the default values initialized.

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithContext

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithContext(ctx context.Context) *TriggerInvoiceGenerationForParkedAccountsParams

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

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithHTTPClient

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithHTTPClient(client *http.Client) *TriggerInvoiceGenerationForParkedAccountsParams

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

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithTimeout

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithTimeout(timeout time.Duration) *TriggerInvoiceGenerationForParkedAccountsParams

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

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetContext

SetContext adds the context to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetLimit

SetLimit adds the limit to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetOffset

SetOffset adds the offset to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetTimeout

SetTimeout adds the timeout to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetXKillbillComment

func (o *TriggerInvoiceGenerationForParkedAccountsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetXKillbillCreatedBy

func (o *TriggerInvoiceGenerationForParkedAccountsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) SetXKillbillReason

func (o *TriggerInvoiceGenerationForParkedAccountsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithContext

WithContext adds the context to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithLimit

WithLimit adds the limit to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithOffset

WithOffset adds the offset to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithTimeout

WithTimeout adds the timeout to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithXKillbillComment

WithXKillbillComment adds the xKillbillComment to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithXKillbillCreatedBy

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WithXKillbillReason

WithXKillbillReason adds the xKillbillReason to the trigger invoice generation for parked accounts params

func (*TriggerInvoiceGenerationForParkedAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TriggerInvoiceGenerationForParkedAccountsReader

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

TriggerInvoiceGenerationForParkedAccountsReader is a Reader for the TriggerInvoiceGenerationForParkedAccounts structure.

func (*TriggerInvoiceGenerationForParkedAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePaymentTransactionStateBadRequest

type UpdatePaymentTransactionStateBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UpdatePaymentTransactionStateBadRequest handles this case with default header values.

Invalid account data supplied

func NewUpdatePaymentTransactionStateBadRequest

func NewUpdatePaymentTransactionStateBadRequest() *UpdatePaymentTransactionStateBadRequest

NewUpdatePaymentTransactionStateBadRequest creates a UpdatePaymentTransactionStateBadRequest with default headers values

func (*UpdatePaymentTransactionStateBadRequest) Error

type UpdatePaymentTransactionStateNoContent

type UpdatePaymentTransactionStateNoContent struct {
	HttpResponse runtime.ClientResponse
}

UpdatePaymentTransactionStateNoContent handles this case with default header values.

Successful operation

func NewUpdatePaymentTransactionStateNoContent

func NewUpdatePaymentTransactionStateNoContent() *UpdatePaymentTransactionStateNoContent

NewUpdatePaymentTransactionStateNoContent creates a UpdatePaymentTransactionStateNoContent with default headers values

func (*UpdatePaymentTransactionStateNoContent) Error

type UpdatePaymentTransactionStateParams

type UpdatePaymentTransactionStateParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.AdminPayment
	/*PaymentID*/
	PaymentID strfmt.UUID
	/*PaymentTransactionID*/
	PaymentTransactionID strfmt.UUID

	WithStackTrace *bool // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

UpdatePaymentTransactionStateParams contains all the parameters to send to the API endpoint for the update payment transaction state operation typically these are written to a http.Request

func NewUpdatePaymentTransactionStateParams

func NewUpdatePaymentTransactionStateParams() *UpdatePaymentTransactionStateParams

NewUpdatePaymentTransactionStateParams creates a new UpdatePaymentTransactionStateParams object with the default values initialized.

func NewUpdatePaymentTransactionStateParamsWithContext

func NewUpdatePaymentTransactionStateParamsWithContext(ctx context.Context) *UpdatePaymentTransactionStateParams

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

func NewUpdatePaymentTransactionStateParamsWithHTTPClient

func NewUpdatePaymentTransactionStateParamsWithHTTPClient(client *http.Client) *UpdatePaymentTransactionStateParams

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

func NewUpdatePaymentTransactionStateParamsWithTimeout

func NewUpdatePaymentTransactionStateParamsWithTimeout(timeout time.Duration) *UpdatePaymentTransactionStateParams

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

func (*UpdatePaymentTransactionStateParams) SetBody

SetBody adds the body to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetContext

SetContext adds the context to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetPaymentID

func (o *UpdatePaymentTransactionStateParams) SetPaymentID(paymentID strfmt.UUID)

SetPaymentID adds the paymentId to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetPaymentTransactionID

func (o *UpdatePaymentTransactionStateParams) SetPaymentTransactionID(paymentTransactionID strfmt.UUID)

SetPaymentTransactionID adds the paymentTransactionId to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetTimeout

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

SetTimeout adds the timeout to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetXKillbillComment

func (o *UpdatePaymentTransactionStateParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetXKillbillCreatedBy

func (o *UpdatePaymentTransactionStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) SetXKillbillReason

func (o *UpdatePaymentTransactionStateParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithBody

WithBody adds the body to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithContext

WithContext adds the context to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithPaymentID

WithPaymentID adds the paymentID to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithPaymentTransactionID

func (o *UpdatePaymentTransactionStateParams) WithPaymentTransactionID(paymentTransactionID strfmt.UUID) *UpdatePaymentTransactionStateParams

WithPaymentTransactionID adds the paymentTransactionID to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithTimeout

WithTimeout adds the timeout to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithXKillbillComment

func (o *UpdatePaymentTransactionStateParams) WithXKillbillComment(xKillbillComment *string) *UpdatePaymentTransactionStateParams

WithXKillbillComment adds the xKillbillComment to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithXKillbillCreatedBy

func (o *UpdatePaymentTransactionStateParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdatePaymentTransactionStateParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WithXKillbillReason

func (o *UpdatePaymentTransactionStateParams) WithXKillbillReason(xKillbillReason *string) *UpdatePaymentTransactionStateParams

WithXKillbillReason adds the xKillbillReason to the update payment transaction state params

func (*UpdatePaymentTransactionStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePaymentTransactionStateReader

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

UpdatePaymentTransactionStateReader is a Reader for the UpdatePaymentTransactionState structure.

func (*UpdatePaymentTransactionStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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