billing_cycles

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for billing cycles API

func (*Client) GetAllBillingCycles

func (a *Client) GetAllBillingCycles(params *GetAllBillingCyclesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllBillingCyclesOK, error)

GetAllBillingCycles get all billing cycles API

func (*Client) GetByProductVariantID

func (a *Client) GetByProductVariantID(params *GetByProductVariantIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByProductVariantIDOK, error)

GetByProductVariantID get by product variant Id API

func (*Client) GetCspNameDictionary

func (a *Client) GetCspNameDictionary(params *GetCspNameDictionaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCspNameDictionaryOK, error)

GetCspNameDictionary get csp name dictionary API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAllBillingCycles(params *GetAllBillingCyclesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllBillingCyclesOK, error)

	GetByProductVariantID(params *GetByProductVariantIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByProductVariantIDOK, error)

	GetCspNameDictionary(params *GetCspNameDictionaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCspNameDictionaryOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new billing cycles API client.

type GetAllBillingCyclesOK

type GetAllBillingCyclesOK struct {
	Payload *models.APICollectionOfBillingCycle
}
GetAllBillingCyclesOK describes a response with status code 200, with default header values.

Success

func NewGetAllBillingCyclesOK

func NewGetAllBillingCyclesOK() *GetAllBillingCyclesOK

NewGetAllBillingCyclesOK creates a GetAllBillingCyclesOK with default headers values

func (*GetAllBillingCyclesOK) Error

func (o *GetAllBillingCyclesOK) Error() string

func (*GetAllBillingCyclesOK) GetPayload

type GetAllBillingCyclesParams

type GetAllBillingCyclesParams struct {

	// IncludeUnknown.
	IncludeUnknown *bool

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

GetAllBillingCyclesParams contains all the parameters to send to the API endpoint

for the get all billing cycles operation.

Typically these are written to a http.Request.

func NewGetAllBillingCyclesParams

func NewGetAllBillingCyclesParams() *GetAllBillingCyclesParams

NewGetAllBillingCyclesParams creates a new GetAllBillingCyclesParams 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 NewGetAllBillingCyclesParamsWithContext

func NewGetAllBillingCyclesParamsWithContext(ctx context.Context) *GetAllBillingCyclesParams

NewGetAllBillingCyclesParamsWithContext creates a new GetAllBillingCyclesParams object with the ability to set a context for a request.

func NewGetAllBillingCyclesParamsWithHTTPClient

func NewGetAllBillingCyclesParamsWithHTTPClient(client *http.Client) *GetAllBillingCyclesParams

NewGetAllBillingCyclesParamsWithHTTPClient creates a new GetAllBillingCyclesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAllBillingCyclesParamsWithTimeout

func NewGetAllBillingCyclesParamsWithTimeout(timeout time.Duration) *GetAllBillingCyclesParams

NewGetAllBillingCyclesParamsWithTimeout creates a new GetAllBillingCyclesParams object with the ability to set a timeout on a request.

func (*GetAllBillingCyclesParams) SetContext

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

SetContext adds the context to the get all billing cycles params

func (*GetAllBillingCyclesParams) SetDefaults

func (o *GetAllBillingCyclesParams) SetDefaults()

SetDefaults hydrates default values in the get all billing cycles params (not the query body).

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

func (*GetAllBillingCyclesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all billing cycles params

func (*GetAllBillingCyclesParams) SetIncludeUnknown

func (o *GetAllBillingCyclesParams) SetIncludeUnknown(includeUnknown *bool)

SetIncludeUnknown adds the includeUnknown to the get all billing cycles params

func (*GetAllBillingCyclesParams) SetTimeout

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

SetTimeout adds the timeout to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithContext

WithContext adds the context to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithDefaults

WithDefaults hydrates default values in the get all billing cycles params (not the query body).

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

func (*GetAllBillingCyclesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithIncludeUnknown

func (o *GetAllBillingCyclesParams) WithIncludeUnknown(includeUnknown *bool) *GetAllBillingCyclesParams

WithIncludeUnknown adds the includeUnknown to the get all billing cycles params

func (*GetAllBillingCyclesParams) WithTimeout

WithTimeout adds the timeout to the get all billing cycles params

func (*GetAllBillingCyclesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllBillingCyclesReader

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

GetAllBillingCyclesReader is a Reader for the GetAllBillingCycles structure.

func (*GetAllBillingCyclesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetByProductVariantIDOK

type GetByProductVariantIDOK struct {
	Payload *models.APICollectionOfBillingCycle
}
GetByProductVariantIDOK describes a response with status code 200, with default header values.

Success

func NewGetByProductVariantIDOK

func NewGetByProductVariantIDOK() *GetByProductVariantIDOK

NewGetByProductVariantIDOK creates a GetByProductVariantIDOK with default headers values

func (*GetByProductVariantIDOK) Error

func (o *GetByProductVariantIDOK) Error() string

func (*GetByProductVariantIDOK) GetPayload

type GetByProductVariantIDParams

type GetByProductVariantIDParams struct {

	// ProductVariantID.
	//
	// Format: int32
	ProductVariantID int32

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

GetByProductVariantIDParams contains all the parameters to send to the API endpoint

for the get by product variant Id operation.

Typically these are written to a http.Request.

func NewGetByProductVariantIDParams

func NewGetByProductVariantIDParams() *GetByProductVariantIDParams

NewGetByProductVariantIDParams creates a new GetByProductVariantIDParams 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 NewGetByProductVariantIDParamsWithContext

func NewGetByProductVariantIDParamsWithContext(ctx context.Context) *GetByProductVariantIDParams

NewGetByProductVariantIDParamsWithContext creates a new GetByProductVariantIDParams object with the ability to set a context for a request.

func NewGetByProductVariantIDParamsWithHTTPClient

func NewGetByProductVariantIDParamsWithHTTPClient(client *http.Client) *GetByProductVariantIDParams

NewGetByProductVariantIDParamsWithHTTPClient creates a new GetByProductVariantIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetByProductVariantIDParamsWithTimeout

func NewGetByProductVariantIDParamsWithTimeout(timeout time.Duration) *GetByProductVariantIDParams

NewGetByProductVariantIDParamsWithTimeout creates a new GetByProductVariantIDParams object with the ability to set a timeout on a request.

func (*GetByProductVariantIDParams) SetContext

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

SetContext adds the context to the get by product variant Id params

func (*GetByProductVariantIDParams) SetDefaults

func (o *GetByProductVariantIDParams) SetDefaults()

SetDefaults hydrates default values in the get by product variant Id params (not the query body).

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

func (*GetByProductVariantIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get by product variant Id params

func (*GetByProductVariantIDParams) SetProductVariantID

func (o *GetByProductVariantIDParams) SetProductVariantID(productVariantID int32)

SetProductVariantID adds the productVariantId to the get by product variant Id params

func (*GetByProductVariantIDParams) SetTimeout

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

SetTimeout adds the timeout to the get by product variant Id params

func (*GetByProductVariantIDParams) WithContext

WithContext adds the context to the get by product variant Id params

func (*GetByProductVariantIDParams) WithDefaults

WithDefaults hydrates default values in the get by product variant Id params (not the query body).

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

func (*GetByProductVariantIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get by product variant Id params

func (*GetByProductVariantIDParams) WithProductVariantID

func (o *GetByProductVariantIDParams) WithProductVariantID(productVariantID int32) *GetByProductVariantIDParams

WithProductVariantID adds the productVariantID to the get by product variant Id params

func (*GetByProductVariantIDParams) WithTimeout

WithTimeout adds the timeout to the get by product variant Id params

func (*GetByProductVariantIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetByProductVariantIDReader

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

GetByProductVariantIDReader is a Reader for the GetByProductVariantID structure.

func (*GetByProductVariantIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCspNameDictionaryOK

type GetCspNameDictionaryOK struct {
	Payload map[string]string
}
GetCspNameDictionaryOK describes a response with status code 200, with default header values.

Success

func NewGetCspNameDictionaryOK

func NewGetCspNameDictionaryOK() *GetCspNameDictionaryOK

NewGetCspNameDictionaryOK creates a GetCspNameDictionaryOK with default headers values

func (*GetCspNameDictionaryOK) Error

func (o *GetCspNameDictionaryOK) Error() string

func (*GetCspNameDictionaryOK) GetPayload

func (o *GetCspNameDictionaryOK) GetPayload() map[string]string

type GetCspNameDictionaryParams

type GetCspNameDictionaryParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCspNameDictionaryParams contains all the parameters to send to the API endpoint

for the get csp name dictionary operation.

Typically these are written to a http.Request.

func NewGetCspNameDictionaryParams

func NewGetCspNameDictionaryParams() *GetCspNameDictionaryParams

NewGetCspNameDictionaryParams creates a new GetCspNameDictionaryParams 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 NewGetCspNameDictionaryParamsWithContext

func NewGetCspNameDictionaryParamsWithContext(ctx context.Context) *GetCspNameDictionaryParams

NewGetCspNameDictionaryParamsWithContext creates a new GetCspNameDictionaryParams object with the ability to set a context for a request.

func NewGetCspNameDictionaryParamsWithHTTPClient

func NewGetCspNameDictionaryParamsWithHTTPClient(client *http.Client) *GetCspNameDictionaryParams

NewGetCspNameDictionaryParamsWithHTTPClient creates a new GetCspNameDictionaryParams object with the ability to set a custom HTTPClient for a request.

func NewGetCspNameDictionaryParamsWithTimeout

func NewGetCspNameDictionaryParamsWithTimeout(timeout time.Duration) *GetCspNameDictionaryParams

NewGetCspNameDictionaryParamsWithTimeout creates a new GetCspNameDictionaryParams object with the ability to set a timeout on a request.

func (*GetCspNameDictionaryParams) SetContext

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

SetContext adds the context to the get csp name dictionary params

func (*GetCspNameDictionaryParams) SetDefaults

func (o *GetCspNameDictionaryParams) SetDefaults()

SetDefaults hydrates default values in the get csp name dictionary params (not the query body).

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

func (*GetCspNameDictionaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get csp name dictionary params

func (*GetCspNameDictionaryParams) SetTimeout

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

SetTimeout adds the timeout to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WithContext

WithContext adds the context to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WithDefaults

WithDefaults hydrates default values in the get csp name dictionary params (not the query body).

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

func (*GetCspNameDictionaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WithTimeout

WithTimeout adds the timeout to the get csp name dictionary params

func (*GetCspNameDictionaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCspNameDictionaryReader

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

GetCspNameDictionaryReader is a Reader for the GetCspNameDictionary structure.

func (*GetCspNameDictionaryReader) ReadResponse

func (o *GetCspNameDictionaryReader) 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