invoice_profiles

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 invoice profiles API

func (*Client) DeleteInvoiceProfile

func (a *Client) DeleteInvoiceProfile(params *DeleteInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceProfileOK, error)

DeleteInvoiceProfile delete invoice profile API

func (*Client) GetInvoiceProfileByID

func (a *Client) GetInvoiceProfileByID(params *GetInvoiceProfileByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceProfileByIDOK, error)

GetInvoiceProfileByID get invoice profile by Id API

func (*Client) GetInvoiceProfiles

func (a *Client) GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceProfilesOK, error)

GetInvoiceProfiles get invoice profiles API

func (*Client) PostInvoiceProfile

func (a *Client) PostInvoiceProfile(params *PostInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInvoiceProfileOK, error)

PostInvoiceProfile post invoice profile API

func (*Client) PutInvoiceProfile

func (a *Client) PutInvoiceProfile(params *PutInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutInvoiceProfileOK, error)

PutInvoiceProfile put invoice profile 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 {
	DeleteInvoiceProfile(params *DeleteInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInvoiceProfileOK, error)

	GetInvoiceProfileByID(params *GetInvoiceProfileByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceProfileByIDOK, error)

	GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvoiceProfilesOK, error)

	PostInvoiceProfile(params *PostInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInvoiceProfileOK, error)

	PutInvoiceProfile(params *PutInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutInvoiceProfileOK, 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 invoice profiles API client.

type DeleteInvoiceProfileOK

type DeleteInvoiceProfileOK struct {
	Payload bool
}
DeleteInvoiceProfileOK describes a response with status code 200, with default header values.

Success

func NewDeleteInvoiceProfileOK

func NewDeleteInvoiceProfileOK() *DeleteInvoiceProfileOK

NewDeleteInvoiceProfileOK creates a DeleteInvoiceProfileOK with default headers values

func (*DeleteInvoiceProfileOK) Error

func (o *DeleteInvoiceProfileOK) Error() string

func (*DeleteInvoiceProfileOK) GetPayload

func (o *DeleteInvoiceProfileOK) GetPayload() bool

type DeleteInvoiceProfileParams

type DeleteInvoiceProfileParams struct {

	// ID.
	//
	// Format: int32
	ID int32

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

DeleteInvoiceProfileParams contains all the parameters to send to the API endpoint

for the delete invoice profile operation.

Typically these are written to a http.Request.

func NewDeleteInvoiceProfileParams

func NewDeleteInvoiceProfileParams() *DeleteInvoiceProfileParams

NewDeleteInvoiceProfileParams creates a new DeleteInvoiceProfileParams 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 NewDeleteInvoiceProfileParamsWithContext

func NewDeleteInvoiceProfileParamsWithContext(ctx context.Context) *DeleteInvoiceProfileParams

NewDeleteInvoiceProfileParamsWithContext creates a new DeleteInvoiceProfileParams object with the ability to set a context for a request.

func NewDeleteInvoiceProfileParamsWithHTTPClient

func NewDeleteInvoiceProfileParamsWithHTTPClient(client *http.Client) *DeleteInvoiceProfileParams

NewDeleteInvoiceProfileParamsWithHTTPClient creates a new DeleteInvoiceProfileParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInvoiceProfileParamsWithTimeout

func NewDeleteInvoiceProfileParamsWithTimeout(timeout time.Duration) *DeleteInvoiceProfileParams

NewDeleteInvoiceProfileParamsWithTimeout creates a new DeleteInvoiceProfileParams object with the ability to set a timeout on a request.

func (*DeleteInvoiceProfileParams) SetContext

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

SetContext adds the context to the delete invoice profile params

func (*DeleteInvoiceProfileParams) SetDefaults

func (o *DeleteInvoiceProfileParams) SetDefaults()

SetDefaults hydrates default values in the delete invoice profile params (not the query body).

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

func (*DeleteInvoiceProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete invoice profile params

func (*DeleteInvoiceProfileParams) SetID

func (o *DeleteInvoiceProfileParams) SetID(id int32)

SetID adds the id to the delete invoice profile params

func (*DeleteInvoiceProfileParams) SetTimeout

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

SetTimeout adds the timeout to the delete invoice profile params

func (*DeleteInvoiceProfileParams) WithContext

WithContext adds the context to the delete invoice profile params

func (*DeleteInvoiceProfileParams) WithDefaults

WithDefaults hydrates default values in the delete invoice profile params (not the query body).

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

func (*DeleteInvoiceProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete invoice profile params

func (*DeleteInvoiceProfileParams) WithID

WithID adds the id to the delete invoice profile params

func (*DeleteInvoiceProfileParams) WithTimeout

WithTimeout adds the timeout to the delete invoice profile params

func (*DeleteInvoiceProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInvoiceProfileReader

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

DeleteInvoiceProfileReader is a Reader for the DeleteInvoiceProfile structure.

func (*DeleteInvoiceProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceProfileByIDOK

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

Success

func NewGetInvoiceProfileByIDOK

func NewGetInvoiceProfileByIDOK() *GetInvoiceProfileByIDOK

NewGetInvoiceProfileByIDOK creates a GetInvoiceProfileByIDOK with default headers values

func (*GetInvoiceProfileByIDOK) Error

func (o *GetInvoiceProfileByIDOK) Error() string

func (*GetInvoiceProfileByIDOK) GetPayload

type GetInvoiceProfileByIDParams

type GetInvoiceProfileByIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

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

GetInvoiceProfileByIDParams contains all the parameters to send to the API endpoint

for the get invoice profile by Id operation.

Typically these are written to a http.Request.

func NewGetInvoiceProfileByIDParams

func NewGetInvoiceProfileByIDParams() *GetInvoiceProfileByIDParams

NewGetInvoiceProfileByIDParams creates a new GetInvoiceProfileByIDParams 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 NewGetInvoiceProfileByIDParamsWithContext

func NewGetInvoiceProfileByIDParamsWithContext(ctx context.Context) *GetInvoiceProfileByIDParams

NewGetInvoiceProfileByIDParamsWithContext creates a new GetInvoiceProfileByIDParams object with the ability to set a context for a request.

func NewGetInvoiceProfileByIDParamsWithHTTPClient

func NewGetInvoiceProfileByIDParamsWithHTTPClient(client *http.Client) *GetInvoiceProfileByIDParams

NewGetInvoiceProfileByIDParamsWithHTTPClient creates a new GetInvoiceProfileByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoiceProfileByIDParamsWithTimeout

func NewGetInvoiceProfileByIDParamsWithTimeout(timeout time.Duration) *GetInvoiceProfileByIDParams

NewGetInvoiceProfileByIDParamsWithTimeout creates a new GetInvoiceProfileByIDParams object with the ability to set a timeout on a request.

func (*GetInvoiceProfileByIDParams) SetContext

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

SetContext adds the context to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) SetDefaults

func (o *GetInvoiceProfileByIDParams) SetDefaults()

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

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

func (*GetInvoiceProfileByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) SetID

func (o *GetInvoiceProfileByIDParams) SetID(id int32)

SetID adds the id to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) WithContext

WithContext adds the context to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) WithDefaults

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

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

func (*GetInvoiceProfileByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) WithID

WithID adds the id to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) WithTimeout

WithTimeout adds the timeout to the get invoice profile by Id params

func (*GetInvoiceProfileByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceProfileByIDReader

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

GetInvoiceProfileByIDReader is a Reader for the GetInvoiceProfileByID structure.

func (*GetInvoiceProfileByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoiceProfilesOK

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

Success

func NewGetInvoiceProfilesOK

func NewGetInvoiceProfilesOK() *GetInvoiceProfilesOK

NewGetInvoiceProfilesOK creates a GetInvoiceProfilesOK with default headers values

func (*GetInvoiceProfilesOK) Error

func (o *GetInvoiceProfilesOK) Error() string

func (*GetInvoiceProfilesOK) GetPayload

type GetInvoiceProfilesParams

type GetInvoiceProfilesParams struct {

	// OrganizationID.
	//
	// Format: int32
	OrganizationID *int32

	// Page.
	//
	// Format: int32
	Page *int32

	// PageSize.
	//
	// Format: int32
	PageSize *int32

	// Search.
	Search *string

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

GetInvoiceProfilesParams contains all the parameters to send to the API endpoint

for the get invoice profiles operation.

Typically these are written to a http.Request.

func NewGetInvoiceProfilesParams

func NewGetInvoiceProfilesParams() *GetInvoiceProfilesParams

NewGetInvoiceProfilesParams creates a new GetInvoiceProfilesParams 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 NewGetInvoiceProfilesParamsWithContext

func NewGetInvoiceProfilesParamsWithContext(ctx context.Context) *GetInvoiceProfilesParams

NewGetInvoiceProfilesParamsWithContext creates a new GetInvoiceProfilesParams object with the ability to set a context for a request.

func NewGetInvoiceProfilesParamsWithHTTPClient

func NewGetInvoiceProfilesParamsWithHTTPClient(client *http.Client) *GetInvoiceProfilesParams

NewGetInvoiceProfilesParamsWithHTTPClient creates a new GetInvoiceProfilesParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoiceProfilesParamsWithTimeout

func NewGetInvoiceProfilesParamsWithTimeout(timeout time.Duration) *GetInvoiceProfilesParams

NewGetInvoiceProfilesParamsWithTimeout creates a new GetInvoiceProfilesParams object with the ability to set a timeout on a request.

func (*GetInvoiceProfilesParams) SetContext

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

SetContext adds the context to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetDefaults

func (o *GetInvoiceProfilesParams) SetDefaults()

SetDefaults hydrates default values in the get invoice profiles params (not the query body).

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

func (*GetInvoiceProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetOrganizationID

func (o *GetInvoiceProfilesParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetPage

func (o *GetInvoiceProfilesParams) SetPage(page *int32)

SetPage adds the page to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetPageSize

func (o *GetInvoiceProfilesParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetSearch

func (o *GetInvoiceProfilesParams) SetSearch(search *string)

SetSearch adds the search to the get invoice profiles params

func (*GetInvoiceProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithContext

WithContext adds the context to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithDefaults

WithDefaults hydrates default values in the get invoice profiles params (not the query body).

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

func (*GetInvoiceProfilesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithOrganizationID

func (o *GetInvoiceProfilesParams) WithOrganizationID(organizationID *int32) *GetInvoiceProfilesParams

WithOrganizationID adds the organizationID to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithPage

WithPage adds the page to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithPageSize

func (o *GetInvoiceProfilesParams) WithPageSize(pageSize *int32) *GetInvoiceProfilesParams

WithPageSize adds the pageSize to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithSearch

WithSearch adds the search to the get invoice profiles params

func (*GetInvoiceProfilesParams) WithTimeout

WithTimeout adds the timeout to the get invoice profiles params

func (*GetInvoiceProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoiceProfilesReader

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

GetInvoiceProfilesReader is a Reader for the GetInvoiceProfiles structure.

func (*GetInvoiceProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostInvoiceProfileOK

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

Success

func NewPostInvoiceProfileOK

func NewPostInvoiceProfileOK() *PostInvoiceProfileOK

NewPostInvoiceProfileOK creates a PostInvoiceProfileOK with default headers values

func (*PostInvoiceProfileOK) Error

func (o *PostInvoiceProfileOK) Error() string

func (*PostInvoiceProfileOK) GetPayload

func (o *PostInvoiceProfileOK) GetPayload() *models.InvoiceProfile

type PostInvoiceProfileParams

type PostInvoiceProfileParams struct {

	// InvoiceProfile.
	InvoiceProfile *models.InvoiceProfile

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

PostInvoiceProfileParams contains all the parameters to send to the API endpoint

for the post invoice profile operation.

Typically these are written to a http.Request.

func NewPostInvoiceProfileParams

func NewPostInvoiceProfileParams() *PostInvoiceProfileParams

NewPostInvoiceProfileParams creates a new PostInvoiceProfileParams 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 NewPostInvoiceProfileParamsWithContext

func NewPostInvoiceProfileParamsWithContext(ctx context.Context) *PostInvoiceProfileParams

NewPostInvoiceProfileParamsWithContext creates a new PostInvoiceProfileParams object with the ability to set a context for a request.

func NewPostInvoiceProfileParamsWithHTTPClient

func NewPostInvoiceProfileParamsWithHTTPClient(client *http.Client) *PostInvoiceProfileParams

NewPostInvoiceProfileParamsWithHTTPClient creates a new PostInvoiceProfileParams object with the ability to set a custom HTTPClient for a request.

func NewPostInvoiceProfileParamsWithTimeout

func NewPostInvoiceProfileParamsWithTimeout(timeout time.Duration) *PostInvoiceProfileParams

NewPostInvoiceProfileParamsWithTimeout creates a new PostInvoiceProfileParams object with the ability to set a timeout on a request.

func (*PostInvoiceProfileParams) SetContext

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

SetContext adds the context to the post invoice profile params

func (*PostInvoiceProfileParams) SetDefaults

func (o *PostInvoiceProfileParams) SetDefaults()

SetDefaults hydrates default values in the post invoice profile params (not the query body).

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

func (*PostInvoiceProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post invoice profile params

func (*PostInvoiceProfileParams) SetInvoiceProfile

func (o *PostInvoiceProfileParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)

SetInvoiceProfile adds the invoiceProfile to the post invoice profile params

func (*PostInvoiceProfileParams) SetTimeout

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

SetTimeout adds the timeout to the post invoice profile params

func (*PostInvoiceProfileParams) WithContext

WithContext adds the context to the post invoice profile params

func (*PostInvoiceProfileParams) WithDefaults

WithDefaults hydrates default values in the post invoice profile params (not the query body).

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

func (*PostInvoiceProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post invoice profile params

func (*PostInvoiceProfileParams) WithInvoiceProfile

func (o *PostInvoiceProfileParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *PostInvoiceProfileParams

WithInvoiceProfile adds the invoiceProfile to the post invoice profile params

func (*PostInvoiceProfileParams) WithTimeout

WithTimeout adds the timeout to the post invoice profile params

func (*PostInvoiceProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostInvoiceProfileReader

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

PostInvoiceProfileReader is a Reader for the PostInvoiceProfile structure.

func (*PostInvoiceProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutInvoiceProfileOK

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

Success

func NewPutInvoiceProfileOK

func NewPutInvoiceProfileOK() *PutInvoiceProfileOK

NewPutInvoiceProfileOK creates a PutInvoiceProfileOK with default headers values

func (*PutInvoiceProfileOK) Error

func (o *PutInvoiceProfileOK) Error() string

func (*PutInvoiceProfileOK) GetPayload

func (o *PutInvoiceProfileOK) GetPayload() *models.InvoiceProfile

type PutInvoiceProfileParams

type PutInvoiceProfileParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	// InvoiceProfile.
	InvoiceProfile *models.InvoiceProfile

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

PutInvoiceProfileParams contains all the parameters to send to the API endpoint

for the put invoice profile operation.

Typically these are written to a http.Request.

func NewPutInvoiceProfileParams

func NewPutInvoiceProfileParams() *PutInvoiceProfileParams

NewPutInvoiceProfileParams creates a new PutInvoiceProfileParams 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 NewPutInvoiceProfileParamsWithContext

func NewPutInvoiceProfileParamsWithContext(ctx context.Context) *PutInvoiceProfileParams

NewPutInvoiceProfileParamsWithContext creates a new PutInvoiceProfileParams object with the ability to set a context for a request.

func NewPutInvoiceProfileParamsWithHTTPClient

func NewPutInvoiceProfileParamsWithHTTPClient(client *http.Client) *PutInvoiceProfileParams

NewPutInvoiceProfileParamsWithHTTPClient creates a new PutInvoiceProfileParams object with the ability to set a custom HTTPClient for a request.

func NewPutInvoiceProfileParamsWithTimeout

func NewPutInvoiceProfileParamsWithTimeout(timeout time.Duration) *PutInvoiceProfileParams

NewPutInvoiceProfileParamsWithTimeout creates a new PutInvoiceProfileParams object with the ability to set a timeout on a request.

func (*PutInvoiceProfileParams) SetContext

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

SetContext adds the context to the put invoice profile params

func (*PutInvoiceProfileParams) SetDefaults

func (o *PutInvoiceProfileParams) SetDefaults()

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

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

func (*PutInvoiceProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put invoice profile params

func (*PutInvoiceProfileParams) SetID

func (o *PutInvoiceProfileParams) SetID(id int32)

SetID adds the id to the put invoice profile params

func (*PutInvoiceProfileParams) SetInvoiceProfile

func (o *PutInvoiceProfileParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)

SetInvoiceProfile adds the invoiceProfile to the put invoice profile params

func (*PutInvoiceProfileParams) SetTimeout

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

SetTimeout adds the timeout to the put invoice profile params

func (*PutInvoiceProfileParams) WithContext

WithContext adds the context to the put invoice profile params

func (*PutInvoiceProfileParams) WithDefaults

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

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

func (*PutInvoiceProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put invoice profile params

func (*PutInvoiceProfileParams) WithID

WithID adds the id to the put invoice profile params

func (*PutInvoiceProfileParams) WithInvoiceProfile

func (o *PutInvoiceProfileParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *PutInvoiceProfileParams

WithInvoiceProfile adds the invoiceProfile to the put invoice profile params

func (*PutInvoiceProfileParams) WithTimeout

WithTimeout adds the timeout to the put invoice profile params

func (*PutInvoiceProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutInvoiceProfileReader

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

PutInvoiceProfileReader is a Reader for the PutInvoiceProfile structure.

func (*PutInvoiceProfileReader) ReadResponse

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