Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteInvoiceProfile(params *DeleteInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteInvoiceProfileOK, error)
- func (a *Client) GetInvoiceProfileByID(params *GetInvoiceProfileByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceProfileByIDOK, error)
- func (a *Client) GetInvoiceProfiles(params *GetInvoiceProfilesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInvoiceProfilesOK, error)
- func (a *Client) PostInvoiceProfile(params *PostInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostInvoiceProfileOK, error)
- func (a *Client) PutInvoiceProfile(params *PutInvoiceProfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutInvoiceProfileOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteInvoiceProfileOK
- type DeleteInvoiceProfileParams
- func NewDeleteInvoiceProfileParams() *DeleteInvoiceProfileParams
- func NewDeleteInvoiceProfileParamsWithContext(ctx context.Context) *DeleteInvoiceProfileParams
- func NewDeleteInvoiceProfileParamsWithHTTPClient(client *http.Client) *DeleteInvoiceProfileParams
- func NewDeleteInvoiceProfileParamsWithTimeout(timeout time.Duration) *DeleteInvoiceProfileParams
- func (o *DeleteInvoiceProfileParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceProfileParams) SetDefaults()
- func (o *DeleteInvoiceProfileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceProfileParams) SetID(id int32)
- func (o *DeleteInvoiceProfileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceProfileParams) WithContext(ctx context.Context) *DeleteInvoiceProfileParams
- func (o *DeleteInvoiceProfileParams) WithDefaults() *DeleteInvoiceProfileParams
- func (o *DeleteInvoiceProfileParams) WithHTTPClient(client *http.Client) *DeleteInvoiceProfileParams
- func (o *DeleteInvoiceProfileParams) WithID(id int32) *DeleteInvoiceProfileParams
- func (o *DeleteInvoiceProfileParams) WithTimeout(timeout time.Duration) *DeleteInvoiceProfileParams
- func (o *DeleteInvoiceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceProfileReader
- type GetInvoiceProfileByIDOK
- type GetInvoiceProfileByIDParams
- func NewGetInvoiceProfileByIDParams() *GetInvoiceProfileByIDParams
- func NewGetInvoiceProfileByIDParamsWithContext(ctx context.Context) *GetInvoiceProfileByIDParams
- func NewGetInvoiceProfileByIDParamsWithHTTPClient(client *http.Client) *GetInvoiceProfileByIDParams
- func NewGetInvoiceProfileByIDParamsWithTimeout(timeout time.Duration) *GetInvoiceProfileByIDParams
- func (o *GetInvoiceProfileByIDParams) SetContext(ctx context.Context)
- func (o *GetInvoiceProfileByIDParams) SetDefaults()
- func (o *GetInvoiceProfileByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceProfileByIDParams) SetID(id int32)
- func (o *GetInvoiceProfileByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceProfileByIDParams) WithContext(ctx context.Context) *GetInvoiceProfileByIDParams
- func (o *GetInvoiceProfileByIDParams) WithDefaults() *GetInvoiceProfileByIDParams
- func (o *GetInvoiceProfileByIDParams) WithHTTPClient(client *http.Client) *GetInvoiceProfileByIDParams
- func (o *GetInvoiceProfileByIDParams) WithID(id int32) *GetInvoiceProfileByIDParams
- func (o *GetInvoiceProfileByIDParams) WithTimeout(timeout time.Duration) *GetInvoiceProfileByIDParams
- func (o *GetInvoiceProfileByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceProfileByIDReader
- 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) SetDefaults()
- 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) WithDefaults() *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 PostInvoiceProfileOK
- type PostInvoiceProfileParams
- func NewPostInvoiceProfileParams() *PostInvoiceProfileParams
- func NewPostInvoiceProfileParamsWithContext(ctx context.Context) *PostInvoiceProfileParams
- func NewPostInvoiceProfileParamsWithHTTPClient(client *http.Client) *PostInvoiceProfileParams
- func NewPostInvoiceProfileParamsWithTimeout(timeout time.Duration) *PostInvoiceProfileParams
- func (o *PostInvoiceProfileParams) SetContext(ctx context.Context)
- func (o *PostInvoiceProfileParams) SetDefaults()
- func (o *PostInvoiceProfileParams) SetHTTPClient(client *http.Client)
- func (o *PostInvoiceProfileParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)
- func (o *PostInvoiceProfileParams) SetTimeout(timeout time.Duration)
- func (o *PostInvoiceProfileParams) WithContext(ctx context.Context) *PostInvoiceProfileParams
- func (o *PostInvoiceProfileParams) WithDefaults() *PostInvoiceProfileParams
- func (o *PostInvoiceProfileParams) WithHTTPClient(client *http.Client) *PostInvoiceProfileParams
- func (o *PostInvoiceProfileParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *PostInvoiceProfileParams
- func (o *PostInvoiceProfileParams) WithTimeout(timeout time.Duration) *PostInvoiceProfileParams
- func (o *PostInvoiceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostInvoiceProfileReader
- type PutInvoiceProfileOK
- type PutInvoiceProfileParams
- func NewPutInvoiceProfileParams() *PutInvoiceProfileParams
- func NewPutInvoiceProfileParamsWithContext(ctx context.Context) *PutInvoiceProfileParams
- func NewPutInvoiceProfileParamsWithHTTPClient(client *http.Client) *PutInvoiceProfileParams
- func NewPutInvoiceProfileParamsWithTimeout(timeout time.Duration) *PutInvoiceProfileParams
- func (o *PutInvoiceProfileParams) SetContext(ctx context.Context)
- func (o *PutInvoiceProfileParams) SetDefaults()
- func (o *PutInvoiceProfileParams) SetHTTPClient(client *http.Client)
- func (o *PutInvoiceProfileParams) SetID(id int32)
- func (o *PutInvoiceProfileParams) SetInvoiceProfile(invoiceProfile *models.InvoiceProfile)
- func (o *PutInvoiceProfileParams) SetTimeout(timeout time.Duration)
- func (o *PutInvoiceProfileParams) WithContext(ctx context.Context) *PutInvoiceProfileParams
- func (o *PutInvoiceProfileParams) WithDefaults() *PutInvoiceProfileParams
- func (o *PutInvoiceProfileParams) WithHTTPClient(client *http.Client) *PutInvoiceProfileParams
- func (o *PutInvoiceProfileParams) WithID(id int32) *PutInvoiceProfileParams
- func (o *PutInvoiceProfileParams) WithInvoiceProfile(invoiceProfile *models.InvoiceProfile) *PutInvoiceProfileParams
- func (o *PutInvoiceProfileParams) WithTimeout(timeout time.Duration) *PutInvoiceProfileParams
- func (o *PutInvoiceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutInvoiceProfileReader
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 ¶
func (o *DeleteInvoiceProfileParams) WithContext(ctx context.Context) *DeleteInvoiceProfileParams
WithContext adds the context to the delete invoice profile params
func (*DeleteInvoiceProfileParams) WithDefaults ¶
func (o *DeleteInvoiceProfileParams) WithDefaults() *DeleteInvoiceProfileParams
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 ¶
func (o *DeleteInvoiceProfileParams) WithHTTPClient(client *http.Client) *DeleteInvoiceProfileParams
WithHTTPClient adds the HTTPClient to the delete invoice profile params
func (*DeleteInvoiceProfileParams) WithID ¶
func (o *DeleteInvoiceProfileParams) WithID(id int32) *DeleteInvoiceProfileParams
WithID adds the id to the delete invoice profile params
func (*DeleteInvoiceProfileParams) WithTimeout ¶
func (o *DeleteInvoiceProfileParams) WithTimeout(timeout time.Duration) *DeleteInvoiceProfileParams
WithTimeout adds the timeout to the delete invoice profile params
func (*DeleteInvoiceProfileParams) WriteToRequest ¶
func (o *DeleteInvoiceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetInvoiceProfileByIDOK) GetPayload() *models.InvoiceProfile
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 ¶
func (o *GetInvoiceProfileByIDParams) WithContext(ctx context.Context) *GetInvoiceProfileByIDParams
WithContext adds the context to the get invoice profile by Id params
func (*GetInvoiceProfileByIDParams) WithDefaults ¶
func (o *GetInvoiceProfileByIDParams) WithDefaults() *GetInvoiceProfileByIDParams
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 ¶
func (o *GetInvoiceProfileByIDParams) WithHTTPClient(client *http.Client) *GetInvoiceProfileByIDParams
WithHTTPClient adds the HTTPClient to the get invoice profile by Id params
func (*GetInvoiceProfileByIDParams) WithID ¶
func (o *GetInvoiceProfileByIDParams) WithID(id int32) *GetInvoiceProfileByIDParams
WithID adds the id to the get invoice profile by Id params
func (*GetInvoiceProfileByIDParams) WithTimeout ¶
func (o *GetInvoiceProfileByIDParams) WithTimeout(timeout time.Duration) *GetInvoiceProfileByIDParams
WithTimeout adds the timeout to the get invoice profile by Id params
func (*GetInvoiceProfileByIDParams) WriteToRequest ¶
func (o *GetInvoiceProfileByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetInvoiceProfilesOK) GetPayload() *models.APICollectionOfInvoiceProfile
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 ¶
func (o *GetInvoiceProfilesParams) WithContext(ctx context.Context) *GetInvoiceProfilesParams
WithContext adds the context to the get invoice profiles params
func (*GetInvoiceProfilesParams) WithDefaults ¶
func (o *GetInvoiceProfilesParams) WithDefaults() *GetInvoiceProfilesParams
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 ¶
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 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 ¶
func (o *PostInvoiceProfileParams) WithContext(ctx context.Context) *PostInvoiceProfileParams
WithContext adds the context to the post invoice profile params
func (*PostInvoiceProfileParams) WithDefaults ¶
func (o *PostInvoiceProfileParams) WithDefaults() *PostInvoiceProfileParams
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 ¶
func (o *PostInvoiceProfileParams) WithTimeout(timeout time.Duration) *PostInvoiceProfileParams
WithTimeout adds the timeout to the post invoice profile params
func (*PostInvoiceProfileParams) WriteToRequest ¶
func (o *PostInvoiceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PutInvoiceProfileParams) WithContext(ctx context.Context) *PutInvoiceProfileParams
WithContext adds the context to the put invoice profile params
func (*PutInvoiceProfileParams) WithDefaults ¶
func (o *PutInvoiceProfileParams) WithDefaults() *PutInvoiceProfileParams
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 ¶
func (o *PutInvoiceProfileParams) WithID(id int32) *PutInvoiceProfileParams
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 ¶
func (o *PutInvoiceProfileParams) WithTimeout(timeout time.Duration) *PutInvoiceProfileParams
WithTimeout adds the timeout to the put invoice profile params
func (*PutInvoiceProfileParams) WriteToRequest ¶
func (o *PutInvoiceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- delete_invoice_profile_parameters.go
- delete_invoice_profile_responses.go
- get_invoice_profile_by_id_parameters.go
- get_invoice_profile_by_id_responses.go
- get_invoice_profiles_parameters.go
- get_invoice_profiles_responses.go
- invoice_profiles_client.go
- post_invoice_profile_parameters.go
- post_invoice_profile_responses.go
- put_invoice_profile_parameters.go
- put_invoice_profile_responses.go