Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCompanyLookupFile(params *CreateCompanyLookupFileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCompanyLookupFileCreated, error)
- func (a *Client) DeleteLookupFile(params *DeleteLookupFileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteLookupFileOK, error)
- func (a *Client) GetCompanyLookupFiles(params *GetCompanyLookupFilesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCompanyLookupFilesOK, error)
- func (a *Client) GetLookupFile(params *GetLookupFileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLookupFileOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLookupFile(params *UpdateLookupFileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateLookupFileOK, error)
- type ClientOption
- type ClientService
- type CreateCompanyLookupFileBadRequest
- type CreateCompanyLookupFileCreated
- type CreateCompanyLookupFileNotFound
- type CreateCompanyLookupFileParams
- func NewCreateCompanyLookupFileParams() *CreateCompanyLookupFileParams
- func NewCreateCompanyLookupFileParamsWithContext(ctx context.Context) *CreateCompanyLookupFileParams
- func NewCreateCompanyLookupFileParamsWithHTTPClient(client *http.Client) *CreateCompanyLookupFileParams
- func NewCreateCompanyLookupFileParamsWithTimeout(timeout time.Duration) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) SetAccountID(accountID int32)
- func (o *CreateCompanyLookupFileParams) SetBody(body *models.AdvancedRuleLookupFileModel)
- func (o *CreateCompanyLookupFileParams) SetCompanyID(companyID int32)
- func (o *CreateCompanyLookupFileParams) SetContext(ctx context.Context)
- func (o *CreateCompanyLookupFileParams) SetDefaults()
- func (o *CreateCompanyLookupFileParams) SetHTTPClient(client *http.Client)
- func (o *CreateCompanyLookupFileParams) SetTimeout(timeout time.Duration)
- func (o *CreateCompanyLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateCompanyLookupFileParams) WithAccountID(accountID int32) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WithBody(body *models.AdvancedRuleLookupFileModel) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WithCompanyID(companyID int32) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WithContext(ctx context.Context) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WithDefaults() *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WithHTTPClient(client *http.Client) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WithTimeout(timeout time.Duration) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *CreateCompanyLookupFileParams
- func (o *CreateCompanyLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCompanyLookupFileReader
- type CreateCompanyLookupFileUnauthorized
- type DeleteLookupFileBadRequest
- type DeleteLookupFileNotFound
- type DeleteLookupFileOK
- type DeleteLookupFileParams
- func NewDeleteLookupFileParams() *DeleteLookupFileParams
- func NewDeleteLookupFileParamsWithContext(ctx context.Context) *DeleteLookupFileParams
- func NewDeleteLookupFileParamsWithHTTPClient(client *http.Client) *DeleteLookupFileParams
- func NewDeleteLookupFileParamsWithTimeout(timeout time.Duration) *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) SetAccountID(accountID int32)
- func (o *DeleteLookupFileParams) SetContext(ctx context.Context)
- func (o *DeleteLookupFileParams) SetDefaults()
- func (o *DeleteLookupFileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLookupFileParams) SetID(id string)
- func (o *DeleteLookupFileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteLookupFileParams) WithAccountID(accountID int32) *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) WithContext(ctx context.Context) *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) WithDefaults() *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) WithHTTPClient(client *http.Client) *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) WithID(id string) *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) WithTimeout(timeout time.Duration) *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteLookupFileParams
- func (o *DeleteLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLookupFileReader
- type DeleteLookupFileUnauthorized
- type GetCompanyLookupFilesBadRequest
- type GetCompanyLookupFilesNotFound
- type GetCompanyLookupFilesOK
- type GetCompanyLookupFilesParams
- func NewGetCompanyLookupFilesParams() *GetCompanyLookupFilesParams
- func NewGetCompanyLookupFilesParamsWithContext(ctx context.Context) *GetCompanyLookupFilesParams
- func NewGetCompanyLookupFilesParamsWithHTTPClient(client *http.Client) *GetCompanyLookupFilesParams
- func NewGetCompanyLookupFilesParamsWithTimeout(timeout time.Duration) *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) SetAccountID(accountID int32)
- func (o *GetCompanyLookupFilesParams) SetCompanyID(companyID int32)
- func (o *GetCompanyLookupFilesParams) SetContext(ctx context.Context)
- func (o *GetCompanyLookupFilesParams) SetDefaults()
- func (o *GetCompanyLookupFilesParams) SetHTTPClient(client *http.Client)
- func (o *GetCompanyLookupFilesParams) SetTimeout(timeout time.Duration)
- func (o *GetCompanyLookupFilesParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetCompanyLookupFilesParams) WithAccountID(accountID int32) *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) WithCompanyID(companyID int32) *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) WithContext(ctx context.Context) *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) WithDefaults() *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) WithHTTPClient(client *http.Client) *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) WithTimeout(timeout time.Duration) *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) WithXAvalaraClient(xAvalaraClient *string) *GetCompanyLookupFilesParams
- func (o *GetCompanyLookupFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCompanyLookupFilesReader
- type GetCompanyLookupFilesUnauthorized
- type GetLookupFileBadRequest
- type GetLookupFileNotFound
- type GetLookupFileOK
- type GetLookupFileParams
- func (o *GetLookupFileParams) SetAccountID(accountID int32)
- func (o *GetLookupFileParams) SetContext(ctx context.Context)
- func (o *GetLookupFileParams) SetDefaults()
- func (o *GetLookupFileParams) SetHTTPClient(client *http.Client)
- func (o *GetLookupFileParams) SetID(id string)
- func (o *GetLookupFileParams) SetTimeout(timeout time.Duration)
- func (o *GetLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetLookupFileParams) WithAccountID(accountID int32) *GetLookupFileParams
- func (o *GetLookupFileParams) WithContext(ctx context.Context) *GetLookupFileParams
- func (o *GetLookupFileParams) WithDefaults() *GetLookupFileParams
- func (o *GetLookupFileParams) WithHTTPClient(client *http.Client) *GetLookupFileParams
- func (o *GetLookupFileParams) WithID(id string) *GetLookupFileParams
- func (o *GetLookupFileParams) WithTimeout(timeout time.Duration) *GetLookupFileParams
- func (o *GetLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *GetLookupFileParams
- func (o *GetLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLookupFileReader
- type GetLookupFileUnauthorized
- type UpdateLookupFileBadRequest
- type UpdateLookupFileNotFound
- type UpdateLookupFileOK
- type UpdateLookupFileParams
- func NewUpdateLookupFileParams() *UpdateLookupFileParams
- func NewUpdateLookupFileParamsWithContext(ctx context.Context) *UpdateLookupFileParams
- func NewUpdateLookupFileParamsWithHTTPClient(client *http.Client) *UpdateLookupFileParams
- func NewUpdateLookupFileParamsWithTimeout(timeout time.Duration) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) SetAccountID(accountID int32)
- func (o *UpdateLookupFileParams) SetBody(body *models.AdvancedRuleLookupFileModel)
- func (o *UpdateLookupFileParams) SetContext(ctx context.Context)
- func (o *UpdateLookupFileParams) SetDefaults()
- func (o *UpdateLookupFileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLookupFileParams) SetID(id string)
- func (o *UpdateLookupFileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateLookupFileParams) WithAccountID(accountID int32) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WithBody(body *models.AdvancedRuleLookupFileModel) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WithContext(ctx context.Context) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WithDefaults() *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WithHTTPClient(client *http.Client) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WithID(id string) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WithTimeout(timeout time.Duration) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateLookupFileParams
- func (o *UpdateLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLookupFileReader
- type UpdateLookupFileUnauthorized
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 advanced rules API
func (*Client) CreateCompanyLookupFile ¶
func (a *Client) CreateCompanyLookupFile(params *CreateCompanyLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCompanyLookupFileCreated, error)
CreateCompanyLookupFile creates a lookup file for a company
func (*Client) DeleteLookupFile ¶
func (a *Client) DeleteLookupFile(params *DeleteLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLookupFileOK, error)
DeleteLookupFile deletes a lookup file
func (*Client) GetCompanyLookupFiles ¶
func (a *Client) GetCompanyLookupFiles(params *GetCompanyLookupFilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyLookupFilesOK, error)
GetCompanyLookupFiles gets the lookup files for a company
func (*Client) GetLookupFile ¶
func (a *Client) GetLookupFile(params *GetLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLookupFileOK, error)
GetLookupFile gets a lookup file for an account Id and company lookup file Id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLookupFile ¶
func (a *Client) UpdateLookupFile(params *UpdateLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLookupFileOK, error)
UpdateLookupFile updates a lookup file
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateCompanyLookupFile(params *CreateCompanyLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCompanyLookupFileCreated, error) DeleteLookupFile(params *DeleteLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLookupFileOK, error) GetCompanyLookupFiles(params *GetCompanyLookupFilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyLookupFilesOK, error) GetLookupFile(params *GetLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLookupFileOK, error) UpdateLookupFile(params *UpdateLookupFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLookupFileOK, 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 advanced rules API client.
type CreateCompanyLookupFileBadRequest ¶
type CreateCompanyLookupFileBadRequest struct { }
CreateCompanyLookupFileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateCompanyLookupFileBadRequest ¶
func NewCreateCompanyLookupFileBadRequest() *CreateCompanyLookupFileBadRequest
NewCreateCompanyLookupFileBadRequest creates a CreateCompanyLookupFileBadRequest with default headers values
func (*CreateCompanyLookupFileBadRequest) Error ¶
func (o *CreateCompanyLookupFileBadRequest) Error() string
type CreateCompanyLookupFileCreated ¶
type CreateCompanyLookupFileCreated struct {
Payload *models.AdvancedRuleLookupFileModel
}
CreateCompanyLookupFileCreated describes a response with status code 201, with default header values.
Success
func NewCreateCompanyLookupFileCreated ¶
func NewCreateCompanyLookupFileCreated() *CreateCompanyLookupFileCreated
NewCreateCompanyLookupFileCreated creates a CreateCompanyLookupFileCreated with default headers values
func (*CreateCompanyLookupFileCreated) Error ¶
func (o *CreateCompanyLookupFileCreated) Error() string
func (*CreateCompanyLookupFileCreated) GetPayload ¶
func (o *CreateCompanyLookupFileCreated) GetPayload() *models.AdvancedRuleLookupFileModel
type CreateCompanyLookupFileNotFound ¶
type CreateCompanyLookupFileNotFound struct { }
CreateCompanyLookupFileNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateCompanyLookupFileNotFound ¶
func NewCreateCompanyLookupFileNotFound() *CreateCompanyLookupFileNotFound
NewCreateCompanyLookupFileNotFound creates a CreateCompanyLookupFileNotFound with default headers values
func (*CreateCompanyLookupFileNotFound) Error ¶
func (o *CreateCompanyLookupFileNotFound) Error() string
type CreateCompanyLookupFileParams ¶
type CreateCompanyLookupFileParams struct { /* XAvalaraClient. Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Default: "Swagger UI; 21.12.0; Custom; 1.0" */ XAvalaraClient *string /* AccountID. The ID of the account for the company Format: int32 */ AccountID int32 /* Body. The lookup file you wish to create */ Body *models.AdvancedRuleLookupFileModel /* CompanyID. The ID of the company for which the lookup file is to be created Format: int32 */ CompanyID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCompanyLookupFileParams contains all the parameters to send to the API endpoint
for the create company lookup file operation. Typically these are written to a http.Request.
func NewCreateCompanyLookupFileParams ¶
func NewCreateCompanyLookupFileParams() *CreateCompanyLookupFileParams
NewCreateCompanyLookupFileParams creates a new CreateCompanyLookupFileParams 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 NewCreateCompanyLookupFileParamsWithContext ¶
func NewCreateCompanyLookupFileParamsWithContext(ctx context.Context) *CreateCompanyLookupFileParams
NewCreateCompanyLookupFileParamsWithContext creates a new CreateCompanyLookupFileParams object with the ability to set a context for a request.
func NewCreateCompanyLookupFileParamsWithHTTPClient ¶
func NewCreateCompanyLookupFileParamsWithHTTPClient(client *http.Client) *CreateCompanyLookupFileParams
NewCreateCompanyLookupFileParamsWithHTTPClient creates a new CreateCompanyLookupFileParams object with the ability to set a custom HTTPClient for a request.
func NewCreateCompanyLookupFileParamsWithTimeout ¶
func NewCreateCompanyLookupFileParamsWithTimeout(timeout time.Duration) *CreateCompanyLookupFileParams
NewCreateCompanyLookupFileParamsWithTimeout creates a new CreateCompanyLookupFileParams object with the ability to set a timeout on a request.
func (*CreateCompanyLookupFileParams) SetAccountID ¶
func (o *CreateCompanyLookupFileParams) SetAccountID(accountID int32)
SetAccountID adds the accountId to the create company lookup file params
func (*CreateCompanyLookupFileParams) SetBody ¶
func (o *CreateCompanyLookupFileParams) SetBody(body *models.AdvancedRuleLookupFileModel)
SetBody adds the body to the create company lookup file params
func (*CreateCompanyLookupFileParams) SetCompanyID ¶
func (o *CreateCompanyLookupFileParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the create company lookup file params
func (*CreateCompanyLookupFileParams) SetContext ¶
func (o *CreateCompanyLookupFileParams) SetContext(ctx context.Context)
SetContext adds the context to the create company lookup file params
func (*CreateCompanyLookupFileParams) SetDefaults ¶
func (o *CreateCompanyLookupFileParams) SetDefaults()
SetDefaults hydrates default values in the create company lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCompanyLookupFileParams) SetHTTPClient ¶
func (o *CreateCompanyLookupFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create company lookup file params
func (*CreateCompanyLookupFileParams) SetTimeout ¶
func (o *CreateCompanyLookupFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create company lookup file params
func (*CreateCompanyLookupFileParams) SetXAvalaraClient ¶
func (o *CreateCompanyLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the create company lookup file params
func (*CreateCompanyLookupFileParams) WithAccountID ¶
func (o *CreateCompanyLookupFileParams) WithAccountID(accountID int32) *CreateCompanyLookupFileParams
WithAccountID adds the accountID to the create company lookup file params
func (*CreateCompanyLookupFileParams) WithBody ¶
func (o *CreateCompanyLookupFileParams) WithBody(body *models.AdvancedRuleLookupFileModel) *CreateCompanyLookupFileParams
WithBody adds the body to the create company lookup file params
func (*CreateCompanyLookupFileParams) WithCompanyID ¶
func (o *CreateCompanyLookupFileParams) WithCompanyID(companyID int32) *CreateCompanyLookupFileParams
WithCompanyID adds the companyID to the create company lookup file params
func (*CreateCompanyLookupFileParams) WithContext ¶
func (o *CreateCompanyLookupFileParams) WithContext(ctx context.Context) *CreateCompanyLookupFileParams
WithContext adds the context to the create company lookup file params
func (*CreateCompanyLookupFileParams) WithDefaults ¶
func (o *CreateCompanyLookupFileParams) WithDefaults() *CreateCompanyLookupFileParams
WithDefaults hydrates default values in the create company lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCompanyLookupFileParams) WithHTTPClient ¶
func (o *CreateCompanyLookupFileParams) WithHTTPClient(client *http.Client) *CreateCompanyLookupFileParams
WithHTTPClient adds the HTTPClient to the create company lookup file params
func (*CreateCompanyLookupFileParams) WithTimeout ¶
func (o *CreateCompanyLookupFileParams) WithTimeout(timeout time.Duration) *CreateCompanyLookupFileParams
WithTimeout adds the timeout to the create company lookup file params
func (*CreateCompanyLookupFileParams) WithXAvalaraClient ¶
func (o *CreateCompanyLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *CreateCompanyLookupFileParams
WithXAvalaraClient adds the xAvalaraClient to the create company lookup file params
func (*CreateCompanyLookupFileParams) WriteToRequest ¶
func (o *CreateCompanyLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCompanyLookupFileReader ¶
type CreateCompanyLookupFileReader struct {
// contains filtered or unexported fields
}
CreateCompanyLookupFileReader is a Reader for the CreateCompanyLookupFile structure.
func (*CreateCompanyLookupFileReader) ReadResponse ¶
func (o *CreateCompanyLookupFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCompanyLookupFileUnauthorized ¶
type CreateCompanyLookupFileUnauthorized struct { }
CreateCompanyLookupFileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateCompanyLookupFileUnauthorized ¶
func NewCreateCompanyLookupFileUnauthorized() *CreateCompanyLookupFileUnauthorized
NewCreateCompanyLookupFileUnauthorized creates a CreateCompanyLookupFileUnauthorized with default headers values
func (*CreateCompanyLookupFileUnauthorized) Error ¶
func (o *CreateCompanyLookupFileUnauthorized) Error() string
type DeleteLookupFileBadRequest ¶
type DeleteLookupFileBadRequest struct { }
DeleteLookupFileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteLookupFileBadRequest ¶
func NewDeleteLookupFileBadRequest() *DeleteLookupFileBadRequest
NewDeleteLookupFileBadRequest creates a DeleteLookupFileBadRequest with default headers values
func (*DeleteLookupFileBadRequest) Error ¶
func (o *DeleteLookupFileBadRequest) Error() string
type DeleteLookupFileNotFound ¶
type DeleteLookupFileNotFound struct { }
DeleteLookupFileNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteLookupFileNotFound ¶
func NewDeleteLookupFileNotFound() *DeleteLookupFileNotFound
NewDeleteLookupFileNotFound creates a DeleteLookupFileNotFound with default headers values
func (*DeleteLookupFileNotFound) Error ¶
func (o *DeleteLookupFileNotFound) Error() string
type DeleteLookupFileOK ¶
type DeleteLookupFileOK struct {
Payload []*models.ErrorDetail
}
DeleteLookupFileOK describes a response with status code 200, with default header values.
Success
func NewDeleteLookupFileOK ¶
func NewDeleteLookupFileOK() *DeleteLookupFileOK
NewDeleteLookupFileOK creates a DeleteLookupFileOK with default headers values
func (*DeleteLookupFileOK) Error ¶
func (o *DeleteLookupFileOK) Error() string
func (*DeleteLookupFileOK) GetPayload ¶
func (o *DeleteLookupFileOK) GetPayload() []*models.ErrorDetail
type DeleteLookupFileParams ¶
type DeleteLookupFileParams struct { /* XAvalaraClient. Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Default: "Swagger UI; 21.12.0; Custom; 1.0" */ XAvalaraClient *string /* AccountID. The ID of the account for the company the lookup file is for Format: int32 */ AccountID int32 /* ID. The unique ID/GUID for the company lookup file to be deleted */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLookupFileParams contains all the parameters to send to the API endpoint
for the delete lookup file operation. Typically these are written to a http.Request.
func NewDeleteLookupFileParams ¶
func NewDeleteLookupFileParams() *DeleteLookupFileParams
NewDeleteLookupFileParams creates a new DeleteLookupFileParams 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 NewDeleteLookupFileParamsWithContext ¶
func NewDeleteLookupFileParamsWithContext(ctx context.Context) *DeleteLookupFileParams
NewDeleteLookupFileParamsWithContext creates a new DeleteLookupFileParams object with the ability to set a context for a request.
func NewDeleteLookupFileParamsWithHTTPClient ¶
func NewDeleteLookupFileParamsWithHTTPClient(client *http.Client) *DeleteLookupFileParams
NewDeleteLookupFileParamsWithHTTPClient creates a new DeleteLookupFileParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLookupFileParamsWithTimeout ¶
func NewDeleteLookupFileParamsWithTimeout(timeout time.Duration) *DeleteLookupFileParams
NewDeleteLookupFileParamsWithTimeout creates a new DeleteLookupFileParams object with the ability to set a timeout on a request.
func (*DeleteLookupFileParams) SetAccountID ¶
func (o *DeleteLookupFileParams) SetAccountID(accountID int32)
SetAccountID adds the accountId to the delete lookup file params
func (*DeleteLookupFileParams) SetContext ¶
func (o *DeleteLookupFileParams) SetContext(ctx context.Context)
SetContext adds the context to the delete lookup file params
func (*DeleteLookupFileParams) SetDefaults ¶
func (o *DeleteLookupFileParams) SetDefaults()
SetDefaults hydrates default values in the delete lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLookupFileParams) SetHTTPClient ¶
func (o *DeleteLookupFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete lookup file params
func (*DeleteLookupFileParams) SetID ¶
func (o *DeleteLookupFileParams) SetID(id string)
SetID adds the id to the delete lookup file params
func (*DeleteLookupFileParams) SetTimeout ¶
func (o *DeleteLookupFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete lookup file params
func (*DeleteLookupFileParams) SetXAvalaraClient ¶
func (o *DeleteLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the delete lookup file params
func (*DeleteLookupFileParams) WithAccountID ¶
func (o *DeleteLookupFileParams) WithAccountID(accountID int32) *DeleteLookupFileParams
WithAccountID adds the accountID to the delete lookup file params
func (*DeleteLookupFileParams) WithContext ¶
func (o *DeleteLookupFileParams) WithContext(ctx context.Context) *DeleteLookupFileParams
WithContext adds the context to the delete lookup file params
func (*DeleteLookupFileParams) WithDefaults ¶
func (o *DeleteLookupFileParams) WithDefaults() *DeleteLookupFileParams
WithDefaults hydrates default values in the delete lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLookupFileParams) WithHTTPClient ¶
func (o *DeleteLookupFileParams) WithHTTPClient(client *http.Client) *DeleteLookupFileParams
WithHTTPClient adds the HTTPClient to the delete lookup file params
func (*DeleteLookupFileParams) WithID ¶
func (o *DeleteLookupFileParams) WithID(id string) *DeleteLookupFileParams
WithID adds the id to the delete lookup file params
func (*DeleteLookupFileParams) WithTimeout ¶
func (o *DeleteLookupFileParams) WithTimeout(timeout time.Duration) *DeleteLookupFileParams
WithTimeout adds the timeout to the delete lookup file params
func (*DeleteLookupFileParams) WithXAvalaraClient ¶
func (o *DeleteLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteLookupFileParams
WithXAvalaraClient adds the xAvalaraClient to the delete lookup file params
func (*DeleteLookupFileParams) WriteToRequest ¶
func (o *DeleteLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLookupFileReader ¶
type DeleteLookupFileReader struct {
// contains filtered or unexported fields
}
DeleteLookupFileReader is a Reader for the DeleteLookupFile structure.
func (*DeleteLookupFileReader) ReadResponse ¶
func (o *DeleteLookupFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLookupFileUnauthorized ¶
type DeleteLookupFileUnauthorized struct { }
DeleteLookupFileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteLookupFileUnauthorized ¶
func NewDeleteLookupFileUnauthorized() *DeleteLookupFileUnauthorized
NewDeleteLookupFileUnauthorized creates a DeleteLookupFileUnauthorized with default headers values
func (*DeleteLookupFileUnauthorized) Error ¶
func (o *DeleteLookupFileUnauthorized) Error() string
type GetCompanyLookupFilesBadRequest ¶
type GetCompanyLookupFilesBadRequest struct { }
GetCompanyLookupFilesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCompanyLookupFilesBadRequest ¶
func NewGetCompanyLookupFilesBadRequest() *GetCompanyLookupFilesBadRequest
NewGetCompanyLookupFilesBadRequest creates a GetCompanyLookupFilesBadRequest with default headers values
func (*GetCompanyLookupFilesBadRequest) Error ¶
func (o *GetCompanyLookupFilesBadRequest) Error() string
type GetCompanyLookupFilesNotFound ¶
type GetCompanyLookupFilesNotFound struct { }
GetCompanyLookupFilesNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCompanyLookupFilesNotFound ¶
func NewGetCompanyLookupFilesNotFound() *GetCompanyLookupFilesNotFound
NewGetCompanyLookupFilesNotFound creates a GetCompanyLookupFilesNotFound with default headers values
func (*GetCompanyLookupFilesNotFound) Error ¶
func (o *GetCompanyLookupFilesNotFound) Error() string
type GetCompanyLookupFilesOK ¶
type GetCompanyLookupFilesOK struct {
Payload *models.AdvancedRuleLookupFileModelFetchResult
}
GetCompanyLookupFilesOK describes a response with status code 200, with default header values.
Success
func NewGetCompanyLookupFilesOK ¶
func NewGetCompanyLookupFilesOK() *GetCompanyLookupFilesOK
NewGetCompanyLookupFilesOK creates a GetCompanyLookupFilesOK with default headers values
func (*GetCompanyLookupFilesOK) Error ¶
func (o *GetCompanyLookupFilesOK) Error() string
func (*GetCompanyLookupFilesOK) GetPayload ¶
func (o *GetCompanyLookupFilesOK) GetPayload() *models.AdvancedRuleLookupFileModelFetchResult
type GetCompanyLookupFilesParams ¶
type GetCompanyLookupFilesParams struct { /* XAvalaraClient. Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Default: "Swagger UI; 21.12.0; Custom; 1.0" */ XAvalaraClient *string /* AccountID. The account ID for the company Format: int32 */ AccountID int32 /* CompanyID. The ID of the company for which to retrieve lookup files Format: int32 */ CompanyID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCompanyLookupFilesParams contains all the parameters to send to the API endpoint
for the get company lookup files operation. Typically these are written to a http.Request.
func NewGetCompanyLookupFilesParams ¶
func NewGetCompanyLookupFilesParams() *GetCompanyLookupFilesParams
NewGetCompanyLookupFilesParams creates a new GetCompanyLookupFilesParams 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 NewGetCompanyLookupFilesParamsWithContext ¶
func NewGetCompanyLookupFilesParamsWithContext(ctx context.Context) *GetCompanyLookupFilesParams
NewGetCompanyLookupFilesParamsWithContext creates a new GetCompanyLookupFilesParams object with the ability to set a context for a request.
func NewGetCompanyLookupFilesParamsWithHTTPClient ¶
func NewGetCompanyLookupFilesParamsWithHTTPClient(client *http.Client) *GetCompanyLookupFilesParams
NewGetCompanyLookupFilesParamsWithHTTPClient creates a new GetCompanyLookupFilesParams object with the ability to set a custom HTTPClient for a request.
func NewGetCompanyLookupFilesParamsWithTimeout ¶
func NewGetCompanyLookupFilesParamsWithTimeout(timeout time.Duration) *GetCompanyLookupFilesParams
NewGetCompanyLookupFilesParamsWithTimeout creates a new GetCompanyLookupFilesParams object with the ability to set a timeout on a request.
func (*GetCompanyLookupFilesParams) SetAccountID ¶
func (o *GetCompanyLookupFilesParams) SetAccountID(accountID int32)
SetAccountID adds the accountId to the get company lookup files params
func (*GetCompanyLookupFilesParams) SetCompanyID ¶
func (o *GetCompanyLookupFilesParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the get company lookup files params
func (*GetCompanyLookupFilesParams) SetContext ¶
func (o *GetCompanyLookupFilesParams) SetContext(ctx context.Context)
SetContext adds the context to the get company lookup files params
func (*GetCompanyLookupFilesParams) SetDefaults ¶
func (o *GetCompanyLookupFilesParams) SetDefaults()
SetDefaults hydrates default values in the get company lookup files params (not the query body).
All values with no default are reset to their zero value.
func (*GetCompanyLookupFilesParams) SetHTTPClient ¶
func (o *GetCompanyLookupFilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get company lookup files params
func (*GetCompanyLookupFilesParams) SetTimeout ¶
func (o *GetCompanyLookupFilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get company lookup files params
func (*GetCompanyLookupFilesParams) SetXAvalaraClient ¶
func (o *GetCompanyLookupFilesParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get company lookup files params
func (*GetCompanyLookupFilesParams) WithAccountID ¶
func (o *GetCompanyLookupFilesParams) WithAccountID(accountID int32) *GetCompanyLookupFilesParams
WithAccountID adds the accountID to the get company lookup files params
func (*GetCompanyLookupFilesParams) WithCompanyID ¶
func (o *GetCompanyLookupFilesParams) WithCompanyID(companyID int32) *GetCompanyLookupFilesParams
WithCompanyID adds the companyID to the get company lookup files params
func (*GetCompanyLookupFilesParams) WithContext ¶
func (o *GetCompanyLookupFilesParams) WithContext(ctx context.Context) *GetCompanyLookupFilesParams
WithContext adds the context to the get company lookup files params
func (*GetCompanyLookupFilesParams) WithDefaults ¶
func (o *GetCompanyLookupFilesParams) WithDefaults() *GetCompanyLookupFilesParams
WithDefaults hydrates default values in the get company lookup files params (not the query body).
All values with no default are reset to their zero value.
func (*GetCompanyLookupFilesParams) WithHTTPClient ¶
func (o *GetCompanyLookupFilesParams) WithHTTPClient(client *http.Client) *GetCompanyLookupFilesParams
WithHTTPClient adds the HTTPClient to the get company lookup files params
func (*GetCompanyLookupFilesParams) WithTimeout ¶
func (o *GetCompanyLookupFilesParams) WithTimeout(timeout time.Duration) *GetCompanyLookupFilesParams
WithTimeout adds the timeout to the get company lookup files params
func (*GetCompanyLookupFilesParams) WithXAvalaraClient ¶
func (o *GetCompanyLookupFilesParams) WithXAvalaraClient(xAvalaraClient *string) *GetCompanyLookupFilesParams
WithXAvalaraClient adds the xAvalaraClient to the get company lookup files params
func (*GetCompanyLookupFilesParams) WriteToRequest ¶
func (o *GetCompanyLookupFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCompanyLookupFilesReader ¶
type GetCompanyLookupFilesReader struct {
// contains filtered or unexported fields
}
GetCompanyLookupFilesReader is a Reader for the GetCompanyLookupFiles structure.
func (*GetCompanyLookupFilesReader) ReadResponse ¶
func (o *GetCompanyLookupFilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCompanyLookupFilesUnauthorized ¶
type GetCompanyLookupFilesUnauthorized struct { }
GetCompanyLookupFilesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCompanyLookupFilesUnauthorized ¶
func NewGetCompanyLookupFilesUnauthorized() *GetCompanyLookupFilesUnauthorized
NewGetCompanyLookupFilesUnauthorized creates a GetCompanyLookupFilesUnauthorized with default headers values
func (*GetCompanyLookupFilesUnauthorized) Error ¶
func (o *GetCompanyLookupFilesUnauthorized) Error() string
type GetLookupFileBadRequest ¶
type GetLookupFileBadRequest struct { }
GetLookupFileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetLookupFileBadRequest ¶
func NewGetLookupFileBadRequest() *GetLookupFileBadRequest
NewGetLookupFileBadRequest creates a GetLookupFileBadRequest with default headers values
func (*GetLookupFileBadRequest) Error ¶
func (o *GetLookupFileBadRequest) Error() string
type GetLookupFileNotFound ¶
type GetLookupFileNotFound struct { }
GetLookupFileNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetLookupFileNotFound ¶
func NewGetLookupFileNotFound() *GetLookupFileNotFound
NewGetLookupFileNotFound creates a GetLookupFileNotFound with default headers values
func (*GetLookupFileNotFound) Error ¶
func (o *GetLookupFileNotFound) Error() string
type GetLookupFileOK ¶
type GetLookupFileOK struct {
Payload *models.AdvancedRuleLookupFileModel
}
GetLookupFileOK describes a response with status code 200, with default header values.
Success
func NewGetLookupFileOK ¶
func NewGetLookupFileOK() *GetLookupFileOK
NewGetLookupFileOK creates a GetLookupFileOK with default headers values
func (*GetLookupFileOK) Error ¶
func (o *GetLookupFileOK) Error() string
func (*GetLookupFileOK) GetPayload ¶
func (o *GetLookupFileOK) GetPayload() *models.AdvancedRuleLookupFileModel
type GetLookupFileParams ¶
type GetLookupFileParams struct { /* XAvalaraClient. Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Default: "Swagger UI; 21.12.0; Custom; 1.0" */ XAvalaraClient *string /* AccountID. The ID of the account for the lookup file Format: int32 */ AccountID int32 /* ID. The unique ID/GUID of the company lookup file to return */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLookupFileParams contains all the parameters to send to the API endpoint
for the get lookup file operation. Typically these are written to a http.Request.
func NewGetLookupFileParams ¶
func NewGetLookupFileParams() *GetLookupFileParams
NewGetLookupFileParams creates a new GetLookupFileParams 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 NewGetLookupFileParamsWithContext ¶
func NewGetLookupFileParamsWithContext(ctx context.Context) *GetLookupFileParams
NewGetLookupFileParamsWithContext creates a new GetLookupFileParams object with the ability to set a context for a request.
func NewGetLookupFileParamsWithHTTPClient ¶
func NewGetLookupFileParamsWithHTTPClient(client *http.Client) *GetLookupFileParams
NewGetLookupFileParamsWithHTTPClient creates a new GetLookupFileParams object with the ability to set a custom HTTPClient for a request.
func NewGetLookupFileParamsWithTimeout ¶
func NewGetLookupFileParamsWithTimeout(timeout time.Duration) *GetLookupFileParams
NewGetLookupFileParamsWithTimeout creates a new GetLookupFileParams object with the ability to set a timeout on a request.
func (*GetLookupFileParams) SetAccountID ¶
func (o *GetLookupFileParams) SetAccountID(accountID int32)
SetAccountID adds the accountId to the get lookup file params
func (*GetLookupFileParams) SetContext ¶
func (o *GetLookupFileParams) SetContext(ctx context.Context)
SetContext adds the context to the get lookup file params
func (*GetLookupFileParams) SetDefaults ¶
func (o *GetLookupFileParams) SetDefaults()
SetDefaults hydrates default values in the get lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*GetLookupFileParams) SetHTTPClient ¶
func (o *GetLookupFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get lookup file params
func (*GetLookupFileParams) SetID ¶
func (o *GetLookupFileParams) SetID(id string)
SetID adds the id to the get lookup file params
func (*GetLookupFileParams) SetTimeout ¶
func (o *GetLookupFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get lookup file params
func (*GetLookupFileParams) SetXAvalaraClient ¶
func (o *GetLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get lookup file params
func (*GetLookupFileParams) WithAccountID ¶
func (o *GetLookupFileParams) WithAccountID(accountID int32) *GetLookupFileParams
WithAccountID adds the accountID to the get lookup file params
func (*GetLookupFileParams) WithContext ¶
func (o *GetLookupFileParams) WithContext(ctx context.Context) *GetLookupFileParams
WithContext adds the context to the get lookup file params
func (*GetLookupFileParams) WithDefaults ¶
func (o *GetLookupFileParams) WithDefaults() *GetLookupFileParams
WithDefaults hydrates default values in the get lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*GetLookupFileParams) WithHTTPClient ¶
func (o *GetLookupFileParams) WithHTTPClient(client *http.Client) *GetLookupFileParams
WithHTTPClient adds the HTTPClient to the get lookup file params
func (*GetLookupFileParams) WithID ¶
func (o *GetLookupFileParams) WithID(id string) *GetLookupFileParams
WithID adds the id to the get lookup file params
func (*GetLookupFileParams) WithTimeout ¶
func (o *GetLookupFileParams) WithTimeout(timeout time.Duration) *GetLookupFileParams
WithTimeout adds the timeout to the get lookup file params
func (*GetLookupFileParams) WithXAvalaraClient ¶
func (o *GetLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *GetLookupFileParams
WithXAvalaraClient adds the xAvalaraClient to the get lookup file params
func (*GetLookupFileParams) WriteToRequest ¶
func (o *GetLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLookupFileReader ¶
type GetLookupFileReader struct {
// contains filtered or unexported fields
}
GetLookupFileReader is a Reader for the GetLookupFile structure.
func (*GetLookupFileReader) ReadResponse ¶
func (o *GetLookupFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLookupFileUnauthorized ¶
type GetLookupFileUnauthorized struct { }
GetLookupFileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetLookupFileUnauthorized ¶
func NewGetLookupFileUnauthorized() *GetLookupFileUnauthorized
NewGetLookupFileUnauthorized creates a GetLookupFileUnauthorized with default headers values
func (*GetLookupFileUnauthorized) Error ¶
func (o *GetLookupFileUnauthorized) Error() string
type UpdateLookupFileBadRequest ¶
type UpdateLookupFileBadRequest struct { }
UpdateLookupFileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateLookupFileBadRequest ¶
func NewUpdateLookupFileBadRequest() *UpdateLookupFileBadRequest
NewUpdateLookupFileBadRequest creates a UpdateLookupFileBadRequest with default headers values
func (*UpdateLookupFileBadRequest) Error ¶
func (o *UpdateLookupFileBadRequest) Error() string
type UpdateLookupFileNotFound ¶
type UpdateLookupFileNotFound struct { }
UpdateLookupFileNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateLookupFileNotFound ¶
func NewUpdateLookupFileNotFound() *UpdateLookupFileNotFound
NewUpdateLookupFileNotFound creates a UpdateLookupFileNotFound with default headers values
func (*UpdateLookupFileNotFound) Error ¶
func (o *UpdateLookupFileNotFound) Error() string
type UpdateLookupFileOK ¶
type UpdateLookupFileOK struct {
Payload *models.AdvancedRuleLookupFileModel
}
UpdateLookupFileOK describes a response with status code 200, with default header values.
Success
func NewUpdateLookupFileOK ¶
func NewUpdateLookupFileOK() *UpdateLookupFileOK
NewUpdateLookupFileOK creates a UpdateLookupFileOK with default headers values
func (*UpdateLookupFileOK) Error ¶
func (o *UpdateLookupFileOK) Error() string
func (*UpdateLookupFileOK) GetPayload ¶
func (o *UpdateLookupFileOK) GetPayload() *models.AdvancedRuleLookupFileModel
type UpdateLookupFileParams ¶
type UpdateLookupFileParams struct { /* XAvalaraClient. Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Default: "Swagger UI; 21.12.0; Custom; 1.0" */ XAvalaraClient *string /* AccountID. The ID of the account for the company the lookup file is for Format: int32 */ AccountID int32 /* Body. The new values to update the lookup file */ Body *models.AdvancedRuleLookupFileModel /* ID. The unique ID/GUID of the company lookup file to be updated */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLookupFileParams contains all the parameters to send to the API endpoint
for the update lookup file operation. Typically these are written to a http.Request.
func NewUpdateLookupFileParams ¶
func NewUpdateLookupFileParams() *UpdateLookupFileParams
NewUpdateLookupFileParams creates a new UpdateLookupFileParams 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 NewUpdateLookupFileParamsWithContext ¶
func NewUpdateLookupFileParamsWithContext(ctx context.Context) *UpdateLookupFileParams
NewUpdateLookupFileParamsWithContext creates a new UpdateLookupFileParams object with the ability to set a context for a request.
func NewUpdateLookupFileParamsWithHTTPClient ¶
func NewUpdateLookupFileParamsWithHTTPClient(client *http.Client) *UpdateLookupFileParams
NewUpdateLookupFileParamsWithHTTPClient creates a new UpdateLookupFileParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLookupFileParamsWithTimeout ¶
func NewUpdateLookupFileParamsWithTimeout(timeout time.Duration) *UpdateLookupFileParams
NewUpdateLookupFileParamsWithTimeout creates a new UpdateLookupFileParams object with the ability to set a timeout on a request.
func (*UpdateLookupFileParams) SetAccountID ¶
func (o *UpdateLookupFileParams) SetAccountID(accountID int32)
SetAccountID adds the accountId to the update lookup file params
func (*UpdateLookupFileParams) SetBody ¶
func (o *UpdateLookupFileParams) SetBody(body *models.AdvancedRuleLookupFileModel)
SetBody adds the body to the update lookup file params
func (*UpdateLookupFileParams) SetContext ¶
func (o *UpdateLookupFileParams) SetContext(ctx context.Context)
SetContext adds the context to the update lookup file params
func (*UpdateLookupFileParams) SetDefaults ¶
func (o *UpdateLookupFileParams) SetDefaults()
SetDefaults hydrates default values in the update lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLookupFileParams) SetHTTPClient ¶
func (o *UpdateLookupFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update lookup file params
func (*UpdateLookupFileParams) SetID ¶
func (o *UpdateLookupFileParams) SetID(id string)
SetID adds the id to the update lookup file params
func (*UpdateLookupFileParams) SetTimeout ¶
func (o *UpdateLookupFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update lookup file params
func (*UpdateLookupFileParams) SetXAvalaraClient ¶
func (o *UpdateLookupFileParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the update lookup file params
func (*UpdateLookupFileParams) WithAccountID ¶
func (o *UpdateLookupFileParams) WithAccountID(accountID int32) *UpdateLookupFileParams
WithAccountID adds the accountID to the update lookup file params
func (*UpdateLookupFileParams) WithBody ¶
func (o *UpdateLookupFileParams) WithBody(body *models.AdvancedRuleLookupFileModel) *UpdateLookupFileParams
WithBody adds the body to the update lookup file params
func (*UpdateLookupFileParams) WithContext ¶
func (o *UpdateLookupFileParams) WithContext(ctx context.Context) *UpdateLookupFileParams
WithContext adds the context to the update lookup file params
func (*UpdateLookupFileParams) WithDefaults ¶
func (o *UpdateLookupFileParams) WithDefaults() *UpdateLookupFileParams
WithDefaults hydrates default values in the update lookup file params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLookupFileParams) WithHTTPClient ¶
func (o *UpdateLookupFileParams) WithHTTPClient(client *http.Client) *UpdateLookupFileParams
WithHTTPClient adds the HTTPClient to the update lookup file params
func (*UpdateLookupFileParams) WithID ¶
func (o *UpdateLookupFileParams) WithID(id string) *UpdateLookupFileParams
WithID adds the id to the update lookup file params
func (*UpdateLookupFileParams) WithTimeout ¶
func (o *UpdateLookupFileParams) WithTimeout(timeout time.Duration) *UpdateLookupFileParams
WithTimeout adds the timeout to the update lookup file params
func (*UpdateLookupFileParams) WithXAvalaraClient ¶
func (o *UpdateLookupFileParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateLookupFileParams
WithXAvalaraClient adds the xAvalaraClient to the update lookup file params
func (*UpdateLookupFileParams) WriteToRequest ¶
func (o *UpdateLookupFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLookupFileReader ¶
type UpdateLookupFileReader struct {
// contains filtered or unexported fields
}
UpdateLookupFileReader is a Reader for the UpdateLookupFile structure.
func (*UpdateLookupFileReader) ReadResponse ¶
func (o *UpdateLookupFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLookupFileUnauthorized ¶
type UpdateLookupFileUnauthorized struct { }
UpdateLookupFileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateLookupFileUnauthorized ¶
func NewUpdateLookupFileUnauthorized() *UpdateLookupFileUnauthorized
NewUpdateLookupFileUnauthorized creates a UpdateLookupFileUnauthorized with default headers values
func (*UpdateLookupFileUnauthorized) Error ¶
func (o *UpdateLookupFileUnauthorized) Error() string
Source Files ¶
- advanced_rules_client.go
- create_company_lookup_file_parameters.go
- create_company_lookup_file_responses.go
- delete_lookup_file_parameters.go
- delete_lookup_file_responses.go
- get_company_lookup_files_parameters.go
- get_company_lookup_files_responses.go
- get_lookup_file_parameters.go
- get_lookup_file_responses.go
- update_lookup_file_parameters.go
- update_lookup_file_responses.go