admin

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 12 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 ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetQueueEntries(ctx context.Context, params *GetQueueEntriesParams) (*GetQueueEntriesOK, error)

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

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

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

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

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

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

	UpdatePaymentTransactionState(ctx context.Context, params *UpdatePaymentTransactionStateParams) (*UpdatePaymentTransactionStateNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type GetQueueEntriesBadRequest

type GetQueueEntriesBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetQueueEntriesBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewGetQueueEntriesBadRequest

func NewGetQueueEntriesBadRequest() *GetQueueEntriesBadRequest

NewGetQueueEntriesBadRequest creates a GetQueueEntriesBadRequest with default headers values

func (*GetQueueEntriesBadRequest) Code

func (o *GetQueueEntriesBadRequest) Code() int

Code gets the status code for the get queue entries bad request response

func (*GetQueueEntriesBadRequest) Error

func (o *GetQueueEntriesBadRequest) Error() string

func (*GetQueueEntriesBadRequest) IsClientError

func (o *GetQueueEntriesBadRequest) IsClientError() bool

IsClientError returns true when this get queue entries bad request response has a 4xx status code

func (*GetQueueEntriesBadRequest) IsCode

func (o *GetQueueEntriesBadRequest) IsCode(code int) bool

IsCode returns true when this get queue entries bad request response a status code equal to that given

func (*GetQueueEntriesBadRequest) IsRedirect

func (o *GetQueueEntriesBadRequest) IsRedirect() bool

IsRedirect returns true when this get queue entries bad request response has a 3xx status code

func (*GetQueueEntriesBadRequest) IsServerError

func (o *GetQueueEntriesBadRequest) IsServerError() bool

IsServerError returns true when this get queue entries bad request response has a 5xx status code

func (*GetQueueEntriesBadRequest) IsSuccess

func (o *GetQueueEntriesBadRequest) IsSuccess() bool

IsSuccess returns true when this get queue entries bad request response has a 2xx status code

func (*GetQueueEntriesBadRequest) String

func (o *GetQueueEntriesBadRequest) String() string

type GetQueueEntriesNotFound

type GetQueueEntriesNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetQueueEntriesNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetQueueEntriesNotFound

func NewGetQueueEntriesNotFound() *GetQueueEntriesNotFound

NewGetQueueEntriesNotFound creates a GetQueueEntriesNotFound with default headers values

func (*GetQueueEntriesNotFound) Code

func (o *GetQueueEntriesNotFound) Code() int

Code gets the status code for the get queue entries not found response

func (*GetQueueEntriesNotFound) Error

func (o *GetQueueEntriesNotFound) Error() string

func (*GetQueueEntriesNotFound) IsClientError

func (o *GetQueueEntriesNotFound) IsClientError() bool

IsClientError returns true when this get queue entries not found response has a 4xx status code

func (*GetQueueEntriesNotFound) IsCode

func (o *GetQueueEntriesNotFound) IsCode(code int) bool

IsCode returns true when this get queue entries not found response a status code equal to that given

func (*GetQueueEntriesNotFound) IsRedirect

func (o *GetQueueEntriesNotFound) IsRedirect() bool

IsRedirect returns true when this get queue entries not found response has a 3xx status code

func (*GetQueueEntriesNotFound) IsServerError

func (o *GetQueueEntriesNotFound) IsServerError() bool

IsServerError returns true when this get queue entries not found response has a 5xx status code

func (*GetQueueEntriesNotFound) IsSuccess

func (o *GetQueueEntriesNotFound) IsSuccess() bool

IsSuccess returns true when this get queue entries not found response has a 2xx status code

func (*GetQueueEntriesNotFound) String

func (o *GetQueueEntriesNotFound) String() string

type GetQueueEntriesOK

type GetQueueEntriesOK struct {
	HttpResponse runtime.ClientResponse
}

GetQueueEntriesOK describes a response with status code 200, with default header values.

Success

func NewGetQueueEntriesOK

func NewGetQueueEntriesOK() *GetQueueEntriesOK

NewGetQueueEntriesOK creates a GetQueueEntriesOK with default headers values

func (*GetQueueEntriesOK) Code

func (o *GetQueueEntriesOK) Code() int

Code gets the status code for the get queue entries o k response

func (*GetQueueEntriesOK) Error

func (o *GetQueueEntriesOK) Error() string

func (*GetQueueEntriesOK) IsClientError

func (o *GetQueueEntriesOK) IsClientError() bool

IsClientError returns true when this get queue entries o k response has a 4xx status code

func (*GetQueueEntriesOK) IsCode

func (o *GetQueueEntriesOK) IsCode(code int) bool

IsCode returns true when this get queue entries o k response a status code equal to that given

func (*GetQueueEntriesOK) IsRedirect

func (o *GetQueueEntriesOK) IsRedirect() bool

IsRedirect returns true when this get queue entries o k response has a 3xx status code

func (*GetQueueEntriesOK) IsServerError

func (o *GetQueueEntriesOK) IsServerError() bool

IsServerError returns true when this get queue entries o k response has a 5xx status code

func (*GetQueueEntriesOK) IsSuccess

func (o *GetQueueEntriesOK) IsSuccess() bool

IsSuccess returns true when this get queue entries o k response has a 2xx status code

func (*GetQueueEntriesOK) String

func (o *GetQueueEntriesOK) String() string

type GetQueueEntriesParams

type GetQueueEntriesParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID *strfmt.UUID

	// MaxDate.
	MaxDate *string

	// MinDate.
	MinDate *string

	// QueueName.
	QueueName *string

	// ServiceName.
	ServiceName *string

	// WithBusEvents.
	//
	// Default: true
	WithBusEvents *bool

	// WithHistory.
	//
	// Default: true
	WithHistory *bool

	// WithInProcessing.
	//
	// Default: true
	WithInProcessing *bool

	// WithNotifications.
	//
	// Default: true
	WithNotifications *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetQueueEntriesParamsWithContext

func NewGetQueueEntriesParamsWithContext(ctx context.Context) *GetQueueEntriesParams

NewGetQueueEntriesParamsWithContext creates a new GetQueueEntriesParams object with 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 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 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) SetDefaults

func (o *GetQueueEntriesParams) SetDefaults()

SetDefaults hydrates default values in the get queue entries params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetQueueEntriesParams) WithDefaults() *GetQueueEntriesParams

WithDefaults hydrates default values in the get queue entries params (not the query body).

All values with no default are reset to their zero value.

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 InvalidatesCacheBadRequest

type InvalidatesCacheBadRequest struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheBadRequest describes a response with status code 400, 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) Code

func (o *InvalidatesCacheBadRequest) Code() int

Code gets the status code for the invalidates cache bad request response

func (*InvalidatesCacheBadRequest) Error

func (*InvalidatesCacheBadRequest) IsClientError

func (o *InvalidatesCacheBadRequest) IsClientError() bool

IsClientError returns true when this invalidates cache bad request response has a 4xx status code

func (*InvalidatesCacheBadRequest) IsCode

func (o *InvalidatesCacheBadRequest) IsCode(code int) bool

IsCode returns true when this invalidates cache bad request response a status code equal to that given

func (*InvalidatesCacheBadRequest) IsRedirect

func (o *InvalidatesCacheBadRequest) IsRedirect() bool

IsRedirect returns true when this invalidates cache bad request response has a 3xx status code

func (*InvalidatesCacheBadRequest) IsServerError

func (o *InvalidatesCacheBadRequest) IsServerError() bool

IsServerError returns true when this invalidates cache bad request response has a 5xx status code

func (*InvalidatesCacheBadRequest) IsSuccess

func (o *InvalidatesCacheBadRequest) IsSuccess() bool

IsSuccess returns true when this invalidates cache bad request response has a 2xx status code

func (*InvalidatesCacheBadRequest) String

func (o *InvalidatesCacheBadRequest) String() string

type InvalidatesCacheByAccountBadRequest

type InvalidatesCacheByAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheByAccountBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewInvalidatesCacheByAccountBadRequest

func NewInvalidatesCacheByAccountBadRequest() *InvalidatesCacheByAccountBadRequest

NewInvalidatesCacheByAccountBadRequest creates a InvalidatesCacheByAccountBadRequest with default headers values

func (*InvalidatesCacheByAccountBadRequest) Code

Code gets the status code for the invalidates cache by account bad request response

func (*InvalidatesCacheByAccountBadRequest) Error

func (*InvalidatesCacheByAccountBadRequest) IsClientError

func (o *InvalidatesCacheByAccountBadRequest) IsClientError() bool

IsClientError returns true when this invalidates cache by account bad request response has a 4xx status code

func (*InvalidatesCacheByAccountBadRequest) IsCode

IsCode returns true when this invalidates cache by account bad request response a status code equal to that given

func (*InvalidatesCacheByAccountBadRequest) IsRedirect

func (o *InvalidatesCacheByAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this invalidates cache by account bad request response has a 3xx status code

func (*InvalidatesCacheByAccountBadRequest) IsServerError

func (o *InvalidatesCacheByAccountBadRequest) IsServerError() bool

IsServerError returns true when this invalidates cache by account bad request response has a 5xx status code

func (*InvalidatesCacheByAccountBadRequest) IsSuccess

IsSuccess returns true when this invalidates cache by account bad request response has a 2xx status code

func (*InvalidatesCacheByAccountBadRequest) String

type InvalidatesCacheByAccountNoContent

type InvalidatesCacheByAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

InvalidatesCacheByAccountNoContent describes a response with status code 204, with default header values.

Successful operation

func NewInvalidatesCacheByAccountNoContent

func NewInvalidatesCacheByAccountNoContent() *InvalidatesCacheByAccountNoContent

NewInvalidatesCacheByAccountNoContent creates a InvalidatesCacheByAccountNoContent with default headers values

func (*InvalidatesCacheByAccountNoContent) Code

Code gets the status code for the invalidates cache by account no content response

func (*InvalidatesCacheByAccountNoContent) Error

func (*InvalidatesCacheByAccountNoContent) IsClientError

func (o *InvalidatesCacheByAccountNoContent) IsClientError() bool

IsClientError returns true when this invalidates cache by account no content response has a 4xx status code

func (*InvalidatesCacheByAccountNoContent) IsCode

IsCode returns true when this invalidates cache by account no content response a status code equal to that given

func (*InvalidatesCacheByAccountNoContent) IsRedirect

func (o *InvalidatesCacheByAccountNoContent) IsRedirect() bool

IsRedirect returns true when this invalidates cache by account no content response has a 3xx status code

func (*InvalidatesCacheByAccountNoContent) IsServerError

func (o *InvalidatesCacheByAccountNoContent) IsServerError() bool

IsServerError returns true when this invalidates cache by account no content response has a 5xx status code

func (*InvalidatesCacheByAccountNoContent) IsSuccess

IsSuccess returns true when this invalidates cache by account no content response has a 2xx status code

func (*InvalidatesCacheByAccountNoContent) String

type InvalidatesCacheByAccountParams

type InvalidatesCacheByAccountParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewInvalidatesCacheByAccountParamsWithContext

func NewInvalidatesCacheByAccountParamsWithContext(ctx context.Context) *InvalidatesCacheByAccountParams

NewInvalidatesCacheByAccountParamsWithContext creates a new InvalidatesCacheByAccountParams object with 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 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 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) SetDefaults

func (o *InvalidatesCacheByAccountParams) SetDefaults()

SetDefaults hydrates default values in the invalidates cache by account params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the invalidates cache by account params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 204, with default header values.

Successful operation

func NewInvalidatesCacheByTenantNoContent

func NewInvalidatesCacheByTenantNoContent() *InvalidatesCacheByTenantNoContent

NewInvalidatesCacheByTenantNoContent creates a InvalidatesCacheByTenantNoContent with default headers values

func (*InvalidatesCacheByTenantNoContent) Code

Code gets the status code for the invalidates cache by tenant no content response

func (*InvalidatesCacheByTenantNoContent) Error

func (*InvalidatesCacheByTenantNoContent) IsClientError

func (o *InvalidatesCacheByTenantNoContent) IsClientError() bool

IsClientError returns true when this invalidates cache by tenant no content response has a 4xx status code

func (*InvalidatesCacheByTenantNoContent) IsCode

func (o *InvalidatesCacheByTenantNoContent) IsCode(code int) bool

IsCode returns true when this invalidates cache by tenant no content response a status code equal to that given

func (*InvalidatesCacheByTenantNoContent) IsRedirect

func (o *InvalidatesCacheByTenantNoContent) IsRedirect() bool

IsRedirect returns true when this invalidates cache by tenant no content response has a 3xx status code

func (*InvalidatesCacheByTenantNoContent) IsServerError

func (o *InvalidatesCacheByTenantNoContent) IsServerError() bool

IsServerError returns true when this invalidates cache by tenant no content response has a 5xx status code

func (*InvalidatesCacheByTenantNoContent) IsSuccess

func (o *InvalidatesCacheByTenantNoContent) IsSuccess() bool

IsSuccess returns true when this invalidates cache by tenant no content response has a 2xx status code

func (*InvalidatesCacheByTenantNoContent) String

type InvalidatesCacheByTenantParams

type InvalidatesCacheByTenantParams struct {
	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewInvalidatesCacheByTenantParamsWithContext

func NewInvalidatesCacheByTenantParamsWithContext(ctx context.Context) *InvalidatesCacheByTenantParams

NewInvalidatesCacheByTenantParamsWithContext creates a new InvalidatesCacheByTenantParams object with 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 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 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) SetDefaults

func (o *InvalidatesCacheByTenantParams) SetDefaults()

SetDefaults hydrates default values in the invalidates cache by tenant params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the invalidates cache by tenant params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 204, with default header values.

Successful operation

func NewInvalidatesCacheNoContent

func NewInvalidatesCacheNoContent() *InvalidatesCacheNoContent

NewInvalidatesCacheNoContent creates a InvalidatesCacheNoContent with default headers values

func (*InvalidatesCacheNoContent) Code

func (o *InvalidatesCacheNoContent) Code() int

Code gets the status code for the invalidates cache no content response

func (*InvalidatesCacheNoContent) Error

func (o *InvalidatesCacheNoContent) Error() string

func (*InvalidatesCacheNoContent) IsClientError

func (o *InvalidatesCacheNoContent) IsClientError() bool

IsClientError returns true when this invalidates cache no content response has a 4xx status code

func (*InvalidatesCacheNoContent) IsCode

func (o *InvalidatesCacheNoContent) IsCode(code int) bool

IsCode returns true when this invalidates cache no content response a status code equal to that given

func (*InvalidatesCacheNoContent) IsRedirect

func (o *InvalidatesCacheNoContent) IsRedirect() bool

IsRedirect returns true when this invalidates cache no content response has a 3xx status code

func (*InvalidatesCacheNoContent) IsServerError

func (o *InvalidatesCacheNoContent) IsServerError() bool

IsServerError returns true when this invalidates cache no content response has a 5xx status code

func (*InvalidatesCacheNoContent) IsSuccess

func (o *InvalidatesCacheNoContent) IsSuccess() bool

IsSuccess returns true when this invalidates cache no content response has a 2xx status code

func (*InvalidatesCacheNoContent) String

func (o *InvalidatesCacheNoContent) String() string

type InvalidatesCacheParams

type InvalidatesCacheParams struct {

	// CacheName.
	CacheName *string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewInvalidatesCacheParamsWithContext

func NewInvalidatesCacheParamsWithContext(ctx context.Context) *InvalidatesCacheParams

NewInvalidatesCacheParamsWithContext creates a new InvalidatesCacheParams object with 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 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 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) SetDefaults

func (o *InvalidatesCacheParams) SetDefaults()

SetDefaults hydrates default values in the invalidates cache params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the invalidates cache params (not the query body).

All values with no default are reset to their zero value.

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 WithWithProfilingInfo. If not set explicitly in params, this will be used.
	KillbillWithProfilingInfo() *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 describes a response with status code 204, with default header values.

Successful operation

func NewPutInRotationNoContent

func NewPutInRotationNoContent() *PutInRotationNoContent

NewPutInRotationNoContent creates a PutInRotationNoContent with default headers values

func (*PutInRotationNoContent) Code

func (o *PutInRotationNoContent) Code() int

Code gets the status code for the put in rotation no content response

func (*PutInRotationNoContent) Error

func (o *PutInRotationNoContent) Error() string

func (*PutInRotationNoContent) IsClientError

func (o *PutInRotationNoContent) IsClientError() bool

IsClientError returns true when this put in rotation no content response has a 4xx status code

func (*PutInRotationNoContent) IsCode

func (o *PutInRotationNoContent) IsCode(code int) bool

IsCode returns true when this put in rotation no content response a status code equal to that given

func (*PutInRotationNoContent) IsRedirect

func (o *PutInRotationNoContent) IsRedirect() bool

IsRedirect returns true when this put in rotation no content response has a 3xx status code

func (*PutInRotationNoContent) IsServerError

func (o *PutInRotationNoContent) IsServerError() bool

IsServerError returns true when this put in rotation no content response has a 5xx status code

func (*PutInRotationNoContent) IsSuccess

func (o *PutInRotationNoContent) IsSuccess() bool

IsSuccess returns true when this put in rotation no content response has a 2xx status code

func (*PutInRotationNoContent) String

func (o *PutInRotationNoContent) String() string

type PutInRotationParams

type PutInRotationParams struct {
	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutInRotationParamsWithContext

func NewPutInRotationParamsWithContext(ctx context.Context) *PutInRotationParams

NewPutInRotationParamsWithContext creates a new PutInRotationParams object with 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 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 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) SetDefaults

func (o *PutInRotationParams) SetDefaults()

SetDefaults hydrates default values in the put in rotation params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *PutInRotationParams) WithDefaults() *PutInRotationParams

WithDefaults hydrates default values in the put in rotation params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 204, with default header values.

Successful operation

func NewPutOutOfRotationNoContent

func NewPutOutOfRotationNoContent() *PutOutOfRotationNoContent

NewPutOutOfRotationNoContent creates a PutOutOfRotationNoContent with default headers values

func (*PutOutOfRotationNoContent) Code

func (o *PutOutOfRotationNoContent) Code() int

Code gets the status code for the put out of rotation no content response

func (*PutOutOfRotationNoContent) Error

func (o *PutOutOfRotationNoContent) Error() string

func (*PutOutOfRotationNoContent) IsClientError

func (o *PutOutOfRotationNoContent) IsClientError() bool

IsClientError returns true when this put out of rotation no content response has a 4xx status code

func (*PutOutOfRotationNoContent) IsCode

func (o *PutOutOfRotationNoContent) IsCode(code int) bool

IsCode returns true when this put out of rotation no content response a status code equal to that given

func (*PutOutOfRotationNoContent) IsRedirect

func (o *PutOutOfRotationNoContent) IsRedirect() bool

IsRedirect returns true when this put out of rotation no content response has a 3xx status code

func (*PutOutOfRotationNoContent) IsServerError

func (o *PutOutOfRotationNoContent) IsServerError() bool

IsServerError returns true when this put out of rotation no content response has a 5xx status code

func (*PutOutOfRotationNoContent) IsSuccess

func (o *PutOutOfRotationNoContent) IsSuccess() bool

IsSuccess returns true when this put out of rotation no content response has a 2xx status code

func (*PutOutOfRotationNoContent) String

func (o *PutOutOfRotationNoContent) String() string

type PutOutOfRotationParams

type PutOutOfRotationParams struct {
	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutOutOfRotationParamsWithContext

func NewPutOutOfRotationParamsWithContext(ctx context.Context) *PutOutOfRotationParams

NewPutOutOfRotationParamsWithContext creates a new PutOutOfRotationParams object with 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 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 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) SetDefaults

func (o *PutOutOfRotationParams) SetDefaults()

SetDefaults hydrates default values in the put out of rotation params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the put out of rotation params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 200, with default header values.

Successful operation

func NewTriggerInvoiceGenerationForParkedAccountsOK

func NewTriggerInvoiceGenerationForParkedAccountsOK() *TriggerInvoiceGenerationForParkedAccountsOK

NewTriggerInvoiceGenerationForParkedAccountsOK creates a TriggerInvoiceGenerationForParkedAccountsOK with default headers values

func (*TriggerInvoiceGenerationForParkedAccountsOK) Code

Code gets the status code for the trigger invoice generation for parked accounts o k response

func (*TriggerInvoiceGenerationForParkedAccountsOK) Error

func (*TriggerInvoiceGenerationForParkedAccountsOK) IsClientError

IsClientError returns true when this trigger invoice generation for parked accounts o k response has a 4xx status code

func (*TriggerInvoiceGenerationForParkedAccountsOK) IsCode

IsCode returns true when this trigger invoice generation for parked accounts o k response a status code equal to that given

func (*TriggerInvoiceGenerationForParkedAccountsOK) IsRedirect

IsRedirect returns true when this trigger invoice generation for parked accounts o k response has a 3xx status code

func (*TriggerInvoiceGenerationForParkedAccountsOK) IsServerError

IsServerError returns true when this trigger invoice generation for parked accounts o k response has a 5xx status code

func (*TriggerInvoiceGenerationForParkedAccountsOK) IsSuccess

IsSuccess returns true when this trigger invoice generation for parked accounts o k response has a 2xx status code

func (*TriggerInvoiceGenerationForParkedAccountsOK) String

type TriggerInvoiceGenerationForParkedAccountsParams

type TriggerInvoiceGenerationForParkedAccountsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	// PluginProperty.
	PluginProperty []string

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithContext

func NewTriggerInvoiceGenerationForParkedAccountsParamsWithContext(ctx context.Context) *TriggerInvoiceGenerationForParkedAccountsParams

NewTriggerInvoiceGenerationForParkedAccountsParamsWithContext creates a new TriggerInvoiceGenerationForParkedAccountsParams object with 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 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 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) SetDefaults

SetDefaults hydrates default values in the trigger invoice generation for parked accounts params (not the query body).

All values with no default are reset to their zero value.

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) SetPluginProperty

func (o *TriggerInvoiceGenerationForParkedAccountsParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty 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) WithDefaults

WithDefaults hydrates default values in the trigger invoice generation for parked accounts params (not the query body).

All values with no default are reset to their zero value.

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) WithPluginProperty

WithPluginProperty adds the pluginProperty 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 describes a response with status code 400, with default header values.

Invalid account data supplied

func NewUpdatePaymentTransactionStateBadRequest

func NewUpdatePaymentTransactionStateBadRequest() *UpdatePaymentTransactionStateBadRequest

NewUpdatePaymentTransactionStateBadRequest creates a UpdatePaymentTransactionStateBadRequest with default headers values

func (*UpdatePaymentTransactionStateBadRequest) Code

Code gets the status code for the update payment transaction state bad request response

func (*UpdatePaymentTransactionStateBadRequest) Error

func (*UpdatePaymentTransactionStateBadRequest) IsClientError

func (o *UpdatePaymentTransactionStateBadRequest) IsClientError() bool

IsClientError returns true when this update payment transaction state bad request response has a 4xx status code

func (*UpdatePaymentTransactionStateBadRequest) IsCode

IsCode returns true when this update payment transaction state bad request response a status code equal to that given

func (*UpdatePaymentTransactionStateBadRequest) IsRedirect

IsRedirect returns true when this update payment transaction state bad request response has a 3xx status code

func (*UpdatePaymentTransactionStateBadRequest) IsServerError

func (o *UpdatePaymentTransactionStateBadRequest) IsServerError() bool

IsServerError returns true when this update payment transaction state bad request response has a 5xx status code

func (*UpdatePaymentTransactionStateBadRequest) IsSuccess

IsSuccess returns true when this update payment transaction state bad request response has a 2xx status code

func (*UpdatePaymentTransactionStateBadRequest) String

type UpdatePaymentTransactionStateNoContent

type UpdatePaymentTransactionStateNoContent struct {
	HttpResponse runtime.ClientResponse
}

UpdatePaymentTransactionStateNoContent describes a response with status code 204, with default header values.

Successful operation

func NewUpdatePaymentTransactionStateNoContent

func NewUpdatePaymentTransactionStateNoContent() *UpdatePaymentTransactionStateNoContent

NewUpdatePaymentTransactionStateNoContent creates a UpdatePaymentTransactionStateNoContent with default headers values

func (*UpdatePaymentTransactionStateNoContent) Code

Code gets the status code for the update payment transaction state no content response

func (*UpdatePaymentTransactionStateNoContent) Error

func (*UpdatePaymentTransactionStateNoContent) IsClientError

func (o *UpdatePaymentTransactionStateNoContent) IsClientError() bool

IsClientError returns true when this update payment transaction state no content response has a 4xx status code

func (*UpdatePaymentTransactionStateNoContent) IsCode

IsCode returns true when this update payment transaction state no content response a status code equal to that given

func (*UpdatePaymentTransactionStateNoContent) IsRedirect

IsRedirect returns true when this update payment transaction state no content response has a 3xx status code

func (*UpdatePaymentTransactionStateNoContent) IsServerError

func (o *UpdatePaymentTransactionStateNoContent) IsServerError() bool

IsServerError returns true when this update payment transaction state no content response has a 5xx status code

func (*UpdatePaymentTransactionStateNoContent) IsSuccess

IsSuccess returns true when this update payment transaction state no content response has a 2xx status code

func (*UpdatePaymentTransactionStateNoContent) String

type UpdatePaymentTransactionStateParams

type UpdatePaymentTransactionStateParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.AdminPayment

	// PaymentID.
	//
	// Format: uuid
	PaymentID strfmt.UUID

	// PaymentTransactionID.
	//
	// Format: uuid
	PaymentTransactionID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdatePaymentTransactionStateParamsWithContext

func NewUpdatePaymentTransactionStateParamsWithContext(ctx context.Context) *UpdatePaymentTransactionStateParams

NewUpdatePaymentTransactionStateParamsWithContext creates a new UpdatePaymentTransactionStateParams object with 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 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 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) SetDefaults

func (o *UpdatePaymentTransactionStateParams) SetDefaults()

SetDefaults hydrates default values in the update payment transaction state params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the update payment transaction state params (not the query body).

All values with no default are reset to their zero value.

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