Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateInvoiceProfiles(params *CreateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInvoiceProfilesOK, error)
- func (a *Client) DeleteInvoiceProfiles(params *DeleteInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInvoiceProfilesOK, error)
- func (a *Client) GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetInvoiceProfilesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateInvoiceProfiles(params *UpdateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateInvoiceProfilesOK, error)
- type ClientService
- type CreateInvoiceProfilesOK
- type CreateInvoiceProfilesParams
- func NewCreateInvoiceProfilesParams() *CreateInvoiceProfilesParams
- func NewCreateInvoiceProfilesParamsWithContext(ctx context.Context) *CreateInvoiceProfilesParams
- func NewCreateInvoiceProfilesParamsWithHTTPClient(client *http.Client) *CreateInvoiceProfilesParams
- func NewCreateInvoiceProfilesParamsWithTimeout(timeout time.Duration) *CreateInvoiceProfilesParams
- func (o *CreateInvoiceProfilesParams) SetContext(ctx context.Context)
- func (o *CreateInvoiceProfilesParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoiceProfilesParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)
- func (o *CreateInvoiceProfilesParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoiceProfilesParams) WithContext(ctx context.Context) *CreateInvoiceProfilesParams
- func (o *CreateInvoiceProfilesParams) WithHTTPClient(client *http.Client) *CreateInvoiceProfilesParams
- func (o *CreateInvoiceProfilesParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *CreateInvoiceProfilesParams
- func (o *CreateInvoiceProfilesParams) WithTimeout(timeout time.Duration) *CreateInvoiceProfilesParams
- func (o *CreateInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoiceProfilesReader
- type DeleteInvoiceProfilesOK
- type DeleteInvoiceProfilesParams
- func NewDeleteInvoiceProfilesParams() *DeleteInvoiceProfilesParams
- func NewDeleteInvoiceProfilesParamsWithContext(ctx context.Context) *DeleteInvoiceProfilesParams
- func NewDeleteInvoiceProfilesParamsWithHTTPClient(client *http.Client) *DeleteInvoiceProfilesParams
- func NewDeleteInvoiceProfilesParamsWithTimeout(timeout time.Duration) *DeleteInvoiceProfilesParams
- func (o *DeleteInvoiceProfilesParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceProfilesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceProfilesParams) SetID(id int32)
- func (o *DeleteInvoiceProfilesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceProfilesParams) WithContext(ctx context.Context) *DeleteInvoiceProfilesParams
- func (o *DeleteInvoiceProfilesParams) WithHTTPClient(client *http.Client) *DeleteInvoiceProfilesParams
- func (o *DeleteInvoiceProfilesParams) WithID(id int32) *DeleteInvoiceProfilesParams
- func (o *DeleteInvoiceProfilesParams) WithTimeout(timeout time.Duration) *DeleteInvoiceProfilesParams
- func (o *DeleteInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceProfilesReader
- type GetInvoiceProfilesOK
- type GetInvoiceProfilesParams
- func NewGetInvoiceProfilesParams() *GetInvoiceProfilesParams
- func NewGetInvoiceProfilesParamsWithContext(ctx context.Context) *GetInvoiceProfilesParams
- func NewGetInvoiceProfilesParamsWithHTTPClient(client *http.Client) *GetInvoiceProfilesParams
- func NewGetInvoiceProfilesParamsWithTimeout(timeout time.Duration) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) SetContext(ctx context.Context)
- func (o *GetInvoiceProfilesParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceProfilesParams) SetOrganizationID(organizationID *int32)
- func (o *GetInvoiceProfilesParams) SetPage(page *int32)
- func (o *GetInvoiceProfilesParams) SetPageSize(pageSize *int32)
- func (o *GetInvoiceProfilesParams) SetSearch(search *string)
- func (o *GetInvoiceProfilesParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceProfilesParams) WithContext(ctx context.Context) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) WithHTTPClient(client *http.Client) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) WithOrganizationID(organizationID *int32) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) WithPage(page *int32) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) WithPageSize(pageSize *int32) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) WithSearch(search *string) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) WithTimeout(timeout time.Duration) *GetInvoiceProfilesParams
- func (o *GetInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceProfilesReader
- type UpdateInvoiceProfilesOK
- type UpdateInvoiceProfilesParams
- func NewUpdateInvoiceProfilesParams() *UpdateInvoiceProfilesParams
- func NewUpdateInvoiceProfilesParamsWithContext(ctx context.Context) *UpdateInvoiceProfilesParams
- func NewUpdateInvoiceProfilesParamsWithHTTPClient(client *http.Client) *UpdateInvoiceProfilesParams
- func NewUpdateInvoiceProfilesParamsWithTimeout(timeout time.Duration) *UpdateInvoiceProfilesParams
- func (o *UpdateInvoiceProfilesParams) SetContext(ctx context.Context)
- func (o *UpdateInvoiceProfilesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateInvoiceProfilesParams) SetID(id int32)
- func (o *UpdateInvoiceProfilesParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)
- func (o *UpdateInvoiceProfilesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateInvoiceProfilesParams) WithContext(ctx context.Context) *UpdateInvoiceProfilesParams
- func (o *UpdateInvoiceProfilesParams) WithHTTPClient(client *http.Client) *UpdateInvoiceProfilesParams
- func (o *UpdateInvoiceProfilesParams) WithID(id int32) *UpdateInvoiceProfilesParams
- func (o *UpdateInvoiceProfilesParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *UpdateInvoiceProfilesParams
- func (o *UpdateInvoiceProfilesParams) WithTimeout(timeout time.Duration) *UpdateInvoiceProfilesParams
- func (o *UpdateInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateInvoiceProfilesReader
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) CreateInvoiceProfiles ¶ added in v1.2.0
func (a *Client) CreateInvoiceProfiles(params *CreateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInvoiceProfilesOK, error)
CreateInvoiceProfiles create invoice profiles API
func (*Client) DeleteInvoiceProfiles ¶
func (a *Client) DeleteInvoiceProfiles(params *DeleteInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInvoiceProfilesOK, error)
DeleteInvoiceProfiles delete invoice profiles API
func (*Client) GetInvoiceProfiles ¶
func (a *Client) GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetInvoiceProfilesOK, error)
GetInvoiceProfiles get invoice profiles API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateInvoiceProfiles ¶ added in v1.2.0
func (a *Client) UpdateInvoiceProfiles(params *UpdateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateInvoiceProfilesOK, error)
UpdateInvoiceProfiles update invoice profiles API
type ClientService ¶
type ClientService interface { CreateInvoiceProfiles(params *CreateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInvoiceProfilesOK, error) DeleteInvoiceProfiles(params *DeleteInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInvoiceProfilesOK, error) GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetInvoiceProfilesOK, error) UpdateInvoiceProfiles(params *UpdateInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateInvoiceProfilesOK, 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 CreateInvoiceProfilesOK ¶ added in v1.2.0
type CreateInvoiceProfilesOK struct {
Payload *models.InvoiceProfile
}
CreateInvoiceProfilesOK handles this case with default header values.
Success
func NewCreateInvoiceProfilesOK ¶ added in v1.2.0
func NewCreateInvoiceProfilesOK() *CreateInvoiceProfilesOK
NewCreateInvoiceProfilesOK creates a CreateInvoiceProfilesOK with default headers values
func (*CreateInvoiceProfilesOK) Error ¶ added in v1.2.0
func (o *CreateInvoiceProfilesOK) Error() string
func (*CreateInvoiceProfilesOK) GetPayload ¶ added in v1.2.0
func (o *CreateInvoiceProfilesOK) GetPayload() *models.InvoiceProfile
type CreateInvoiceProfilesParams ¶ added in v1.2.0
type CreateInvoiceProfilesParams struct { /*InvoiceProfile*/ InvoiceProfile *models.InvoiceProfile Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateInvoiceProfilesParams contains all the parameters to send to the API endpoint for the create invoice profiles operation typically these are written to a http.Request
func NewCreateInvoiceProfilesParams ¶ added in v1.2.0
func NewCreateInvoiceProfilesParams() *CreateInvoiceProfilesParams
NewCreateInvoiceProfilesParams creates a new CreateInvoiceProfilesParams object with the default values initialized.
func NewCreateInvoiceProfilesParamsWithContext ¶ added in v1.2.0
func NewCreateInvoiceProfilesParamsWithContext(ctx context.Context) *CreateInvoiceProfilesParams
NewCreateInvoiceProfilesParamsWithContext creates a new CreateInvoiceProfilesParams object with the default values initialized, and the ability to set a context for a request
func NewCreateInvoiceProfilesParamsWithHTTPClient ¶ added in v1.2.0
func NewCreateInvoiceProfilesParamsWithHTTPClient(client *http.Client) *CreateInvoiceProfilesParams
NewCreateInvoiceProfilesParamsWithHTTPClient creates a new CreateInvoiceProfilesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateInvoiceProfilesParamsWithTimeout ¶ added in v1.2.0
func NewCreateInvoiceProfilesParamsWithTimeout(timeout time.Duration) *CreateInvoiceProfilesParams
NewCreateInvoiceProfilesParamsWithTimeout creates a new CreateInvoiceProfilesParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateInvoiceProfilesParams) SetContext ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the create invoice profiles params
func (*CreateInvoiceProfilesParams) SetHTTPClient ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create invoice profiles params
func (*CreateInvoiceProfilesParams) SetInvoiceProfile ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)
SetInvoiceProfile adds the invoiceProfile to the create invoice profiles params
func (*CreateInvoiceProfilesParams) SetTimeout ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create invoice profiles params
func (*CreateInvoiceProfilesParams) WithContext ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) WithContext(ctx context.Context) *CreateInvoiceProfilesParams
WithContext adds the context to the create invoice profiles params
func (*CreateInvoiceProfilesParams) WithHTTPClient ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) WithHTTPClient(client *http.Client) *CreateInvoiceProfilesParams
WithHTTPClient adds the HTTPClient to the create invoice profiles params
func (*CreateInvoiceProfilesParams) WithInvoiceProfile ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *CreateInvoiceProfilesParams
WithInvoiceProfile adds the invoiceProfile to the create invoice profiles params
func (*CreateInvoiceProfilesParams) WithTimeout ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) WithTimeout(timeout time.Duration) *CreateInvoiceProfilesParams
WithTimeout adds the timeout to the create invoice profiles params
func (*CreateInvoiceProfilesParams) WriteToRequest ¶ added in v1.2.0
func (o *CreateInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInvoiceProfilesReader ¶ added in v1.2.0
type CreateInvoiceProfilesReader struct {
// contains filtered or unexported fields
}
CreateInvoiceProfilesReader is a Reader for the CreateInvoiceProfiles structure.
func (*CreateInvoiceProfilesReader) ReadResponse ¶ added in v1.2.0
func (o *CreateInvoiceProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInvoiceProfilesOK ¶
type DeleteInvoiceProfilesOK struct {
Payload bool
}
DeleteInvoiceProfilesOK handles this case with default header values.
Success
func NewDeleteInvoiceProfilesOK ¶
func NewDeleteInvoiceProfilesOK() *DeleteInvoiceProfilesOK
NewDeleteInvoiceProfilesOK creates a DeleteInvoiceProfilesOK with default headers values
func (*DeleteInvoiceProfilesOK) Error ¶
func (o *DeleteInvoiceProfilesOK) Error() string
func (*DeleteInvoiceProfilesOK) GetPayload ¶
func (o *DeleteInvoiceProfilesOK) GetPayload() bool
type DeleteInvoiceProfilesParams ¶
type DeleteInvoiceProfilesParams struct { /*ID*/ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteInvoiceProfilesParams contains all the parameters to send to the API endpoint for the delete invoice profiles operation typically these are written to a http.Request
func NewDeleteInvoiceProfilesParams ¶
func NewDeleteInvoiceProfilesParams() *DeleteInvoiceProfilesParams
NewDeleteInvoiceProfilesParams creates a new DeleteInvoiceProfilesParams object with the default values initialized.
func NewDeleteInvoiceProfilesParamsWithContext ¶
func NewDeleteInvoiceProfilesParamsWithContext(ctx context.Context) *DeleteInvoiceProfilesParams
NewDeleteInvoiceProfilesParamsWithContext creates a new DeleteInvoiceProfilesParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteInvoiceProfilesParamsWithHTTPClient ¶
func NewDeleteInvoiceProfilesParamsWithHTTPClient(client *http.Client) *DeleteInvoiceProfilesParams
NewDeleteInvoiceProfilesParamsWithHTTPClient creates a new DeleteInvoiceProfilesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteInvoiceProfilesParamsWithTimeout ¶
func NewDeleteInvoiceProfilesParamsWithTimeout(timeout time.Duration) *DeleteInvoiceProfilesParams
NewDeleteInvoiceProfilesParamsWithTimeout creates a new DeleteInvoiceProfilesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteInvoiceProfilesParams) SetContext ¶
func (o *DeleteInvoiceProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) SetHTTPClient ¶
func (o *DeleteInvoiceProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) SetID ¶
func (o *DeleteInvoiceProfilesParams) SetID(id int32)
SetID adds the id to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) SetTimeout ¶
func (o *DeleteInvoiceProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) WithContext ¶
func (o *DeleteInvoiceProfilesParams) WithContext(ctx context.Context) *DeleteInvoiceProfilesParams
WithContext adds the context to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) WithHTTPClient ¶
func (o *DeleteInvoiceProfilesParams) WithHTTPClient(client *http.Client) *DeleteInvoiceProfilesParams
WithHTTPClient adds the HTTPClient to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) WithID ¶
func (o *DeleteInvoiceProfilesParams) WithID(id int32) *DeleteInvoiceProfilesParams
WithID adds the id to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) WithTimeout ¶
func (o *DeleteInvoiceProfilesParams) WithTimeout(timeout time.Duration) *DeleteInvoiceProfilesParams
WithTimeout adds the timeout to the delete invoice profiles params
func (*DeleteInvoiceProfilesParams) WriteToRequest ¶
func (o *DeleteInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInvoiceProfilesReader ¶
type DeleteInvoiceProfilesReader struct {
// contains filtered or unexported fields
}
DeleteInvoiceProfilesReader is a Reader for the DeleteInvoiceProfiles structure.
func (*DeleteInvoiceProfilesReader) ReadResponse ¶
func (o *DeleteInvoiceProfilesReader) 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 handles this case 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 ¶
func (o *GetInvoiceProfilesOK) GetPayload() *models.APICollectionOfInvoiceProfile
type GetInvoiceProfilesParams ¶
type GetInvoiceProfilesParams struct { /*OrganizationID*/ OrganizationID *int32 /*Page*/ Page *int32 /*PageSize*/ 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 values initialized.
func NewGetInvoiceProfilesParamsWithContext ¶
func NewGetInvoiceProfilesParamsWithContext(ctx context.Context) *GetInvoiceProfilesParams
NewGetInvoiceProfilesParamsWithContext creates a new GetInvoiceProfilesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *GetInvoiceProfilesParams) WithContext(ctx context.Context) *GetInvoiceProfilesParams
WithContext adds the context to the get invoice profiles params
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 ¶
func (o *GetInvoiceProfilesParams) WithPage(page *int32) *GetInvoiceProfilesParams
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 ¶
func (o *GetInvoiceProfilesParams) WithSearch(search *string) *GetInvoiceProfilesParams
WithSearch adds the search to the get invoice profiles params
func (*GetInvoiceProfilesParams) WithTimeout ¶
func (o *GetInvoiceProfilesParams) WithTimeout(timeout time.Duration) *GetInvoiceProfilesParams
WithTimeout adds the timeout to the get invoice profiles params
func (*GetInvoiceProfilesParams) WriteToRequest ¶
func (o *GetInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 UpdateInvoiceProfilesOK ¶ added in v1.2.0
type UpdateInvoiceProfilesOK struct {
Payload *models.InvoiceProfile
}
UpdateInvoiceProfilesOK handles this case with default header values.
Success
func NewUpdateInvoiceProfilesOK ¶ added in v1.2.0
func NewUpdateInvoiceProfilesOK() *UpdateInvoiceProfilesOK
NewUpdateInvoiceProfilesOK creates a UpdateInvoiceProfilesOK with default headers values
func (*UpdateInvoiceProfilesOK) Error ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesOK) Error() string
func (*UpdateInvoiceProfilesOK) GetPayload ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesOK) GetPayload() *models.InvoiceProfile
type UpdateInvoiceProfilesParams ¶ added in v1.2.0
type UpdateInvoiceProfilesParams struct { /*ID*/ ID int32 /*InvoiceProfile*/ InvoiceProfile *models.InvoiceProfile Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateInvoiceProfilesParams contains all the parameters to send to the API endpoint for the update invoice profiles operation typically these are written to a http.Request
func NewUpdateInvoiceProfilesParams ¶ added in v1.2.0
func NewUpdateInvoiceProfilesParams() *UpdateInvoiceProfilesParams
NewUpdateInvoiceProfilesParams creates a new UpdateInvoiceProfilesParams object with the default values initialized.
func NewUpdateInvoiceProfilesParamsWithContext ¶ added in v1.2.0
func NewUpdateInvoiceProfilesParamsWithContext(ctx context.Context) *UpdateInvoiceProfilesParams
NewUpdateInvoiceProfilesParamsWithContext creates a new UpdateInvoiceProfilesParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateInvoiceProfilesParamsWithHTTPClient ¶ added in v1.2.0
func NewUpdateInvoiceProfilesParamsWithHTTPClient(client *http.Client) *UpdateInvoiceProfilesParams
NewUpdateInvoiceProfilesParamsWithHTTPClient creates a new UpdateInvoiceProfilesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateInvoiceProfilesParamsWithTimeout ¶ added in v1.2.0
func NewUpdateInvoiceProfilesParamsWithTimeout(timeout time.Duration) *UpdateInvoiceProfilesParams
NewUpdateInvoiceProfilesParamsWithTimeout creates a new UpdateInvoiceProfilesParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateInvoiceProfilesParams) SetContext ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) SetHTTPClient ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) SetID ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) SetID(id int32)
SetID adds the id to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) SetInvoiceProfile ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)
SetInvoiceProfile adds the invoiceProfile to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) SetTimeout ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) WithContext ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) WithContext(ctx context.Context) *UpdateInvoiceProfilesParams
WithContext adds the context to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) WithHTTPClient ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) WithHTTPClient(client *http.Client) *UpdateInvoiceProfilesParams
WithHTTPClient adds the HTTPClient to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) WithID ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) WithID(id int32) *UpdateInvoiceProfilesParams
WithID adds the id to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) WithInvoiceProfile ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *UpdateInvoiceProfilesParams
WithInvoiceProfile adds the invoiceProfile to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) WithTimeout ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) WithTimeout(timeout time.Duration) *UpdateInvoiceProfilesParams
WithTimeout adds the timeout to the update invoice profiles params
func (*UpdateInvoiceProfilesParams) WriteToRequest ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateInvoiceProfilesReader ¶ added in v1.2.0
type UpdateInvoiceProfilesReader struct {
// contains filtered or unexported fields
}
UpdateInvoiceProfilesReader is a Reader for the UpdateInvoiceProfiles structure.
func (*UpdateInvoiceProfilesReader) ReadResponse ¶ added in v1.2.0
func (o *UpdateInvoiceProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_invoice_profiles_parameters.go
- create_invoice_profiles_responses.go
- delete_invoice_profiles_parameters.go
- delete_invoice_profiles_responses.go
- get_invoice_profiles_parameters.go
- get_invoice_profiles_responses.go
- invoice_profiles_client.go
- update_invoice_profiles_parameters.go
- update_invoice_profiles_responses.go