Documentation
¶
Index ¶
- type AccountResetLicenseKeyBadRequest
- type AccountResetLicenseKeyNotFound
- type AccountResetLicenseKeyOK
- type AccountResetLicenseKeyParams
- func NewAccountResetLicenseKeyParams() *AccountResetLicenseKeyParams
- func NewAccountResetLicenseKeyParamsWithContext(ctx context.Context) *AccountResetLicenseKeyParams
- func NewAccountResetLicenseKeyParamsWithHTTPClient(client *http.Client) *AccountResetLicenseKeyParams
- func NewAccountResetLicenseKeyParamsWithTimeout(timeout time.Duration) *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) SetBody(body *models.ResetLicenseKeyModel)
- func (o *AccountResetLicenseKeyParams) SetContext(ctx context.Context)
- func (o *AccountResetLicenseKeyParams) SetDefaults()
- func (o *AccountResetLicenseKeyParams) SetHTTPClient(client *http.Client)
- func (o *AccountResetLicenseKeyParams) SetID(id int32)
- func (o *AccountResetLicenseKeyParams) SetTimeout(timeout time.Duration)
- func (o *AccountResetLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *AccountResetLicenseKeyParams) WithBody(body *models.ResetLicenseKeyModel) *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) WithContext(ctx context.Context) *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) WithDefaults() *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) WithHTTPClient(client *http.Client) *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) WithID(id int32) *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) WithTimeout(timeout time.Duration) *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *AccountResetLicenseKeyParams
- func (o *AccountResetLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountResetLicenseKeyReader
- type AccountResetLicenseKeyUnauthorized
- type ActivateAccountBadRequest
- type ActivateAccountNotFound
- type ActivateAccountOK
- type ActivateAccountParams
- func NewActivateAccountParams() *ActivateAccountParams
- func NewActivateAccountParamsWithContext(ctx context.Context) *ActivateAccountParams
- func NewActivateAccountParamsWithHTTPClient(client *http.Client) *ActivateAccountParams
- func NewActivateAccountParamsWithTimeout(timeout time.Duration) *ActivateAccountParams
- func (o *ActivateAccountParams) SetBody(body *models.ActivateAccountModel)
- func (o *ActivateAccountParams) SetContext(ctx context.Context)
- func (o *ActivateAccountParams) SetDefaults()
- func (o *ActivateAccountParams) SetHTTPClient(client *http.Client)
- func (o *ActivateAccountParams) SetID(id int32)
- func (o *ActivateAccountParams) SetTimeout(timeout time.Duration)
- func (o *ActivateAccountParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ActivateAccountParams) WithBody(body *models.ActivateAccountModel) *ActivateAccountParams
- func (o *ActivateAccountParams) WithContext(ctx context.Context) *ActivateAccountParams
- func (o *ActivateAccountParams) WithDefaults() *ActivateAccountParams
- func (o *ActivateAccountParams) WithHTTPClient(client *http.Client) *ActivateAccountParams
- func (o *ActivateAccountParams) WithID(id int32) *ActivateAccountParams
- func (o *ActivateAccountParams) WithTimeout(timeout time.Duration) *ActivateAccountParams
- func (o *ActivateAccountParams) WithXAvalaraClient(xAvalaraClient *string) *ActivateAccountParams
- func (o *ActivateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivateAccountReader
- type ActivateAccountUnauthorized
- type AuditAccountBadRequest
- type AuditAccountNotFound
- type AuditAccountOK
- type AuditAccountParams
- func (o *AuditAccountParams) SetContext(ctx context.Context)
- func (o *AuditAccountParams) SetDefaults()
- func (o *AuditAccountParams) SetDollarSkip(dollarSkip *int32)
- func (o *AuditAccountParams) SetDollarTop(dollarTop *int32)
- func (o *AuditAccountParams) SetEnd(end *strfmt.DateTime)
- func (o *AuditAccountParams) SetHTTPClient(client *http.Client)
- func (o *AuditAccountParams) SetID(id int32)
- func (o *AuditAccountParams) SetStart(start *strfmt.DateTime)
- func (o *AuditAccountParams) SetTimeout(timeout time.Duration)
- func (o *AuditAccountParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *AuditAccountParams) WithContext(ctx context.Context) *AuditAccountParams
- func (o *AuditAccountParams) WithDefaults() *AuditAccountParams
- func (o *AuditAccountParams) WithDollarSkip(dollarSkip *int32) *AuditAccountParams
- func (o *AuditAccountParams) WithDollarTop(dollarTop *int32) *AuditAccountParams
- func (o *AuditAccountParams) WithEnd(end *strfmt.DateTime) *AuditAccountParams
- func (o *AuditAccountParams) WithHTTPClient(client *http.Client) *AuditAccountParams
- func (o *AuditAccountParams) WithID(id int32) *AuditAccountParams
- func (o *AuditAccountParams) WithStart(start *strfmt.DateTime) *AuditAccountParams
- func (o *AuditAccountParams) WithTimeout(timeout time.Duration) *AuditAccountParams
- func (o *AuditAccountParams) WithXAvalaraClient(xAvalaraClient *string) *AuditAccountParams
- func (o *AuditAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuditAccountReader
- type AuditAccountUnauthorized
- type Client
- func (a *Client) AccountResetLicenseKey(params *AccountResetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountResetLicenseKeyOK, error)
- func (a *Client) ActivateAccount(params *ActivateAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ActivateAccountOK, error)
- func (a *Client) AuditAccount(params *AuditAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuditAccountOK, error)
- func (a *Client) CreateLicenseKey(params *CreateLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateLicenseKeyOK, error)
- func (a *Client) DeleteLicenseKey(params *DeleteLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteLicenseKeyOK, error)
- func (a *Client) GetAccount(params *GetAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAccountOK, error)
- func (a *Client) GetAccountConfiguration(params *GetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAccountConfigurationOK, error)
- func (a *Client) GetLicenseKey(params *GetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLicenseKeyOK, error)
- func (a *Client) GetLicenseKeys(params *GetLicenseKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLicenseKeysOK, error)
- func (a *Client) QueryAccounts(params *QueryAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryAccountsOK, error)
- func (a *Client) SetAccountConfiguration(params *SetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetAccountConfigurationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateLicenseKeyBadRequest
- type CreateLicenseKeyNotFound
- type CreateLicenseKeyOK
- type CreateLicenseKeyParams
- func NewCreateLicenseKeyParams() *CreateLicenseKeyParams
- func NewCreateLicenseKeyParamsWithContext(ctx context.Context) *CreateLicenseKeyParams
- func NewCreateLicenseKeyParamsWithHTTPClient(client *http.Client) *CreateLicenseKeyParams
- func NewCreateLicenseKeyParamsWithTimeout(timeout time.Duration) *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) SetBody(body *models.AccountLicenseKeyModel)
- func (o *CreateLicenseKeyParams) SetContext(ctx context.Context)
- func (o *CreateLicenseKeyParams) SetDefaults()
- func (o *CreateLicenseKeyParams) SetHTTPClient(client *http.Client)
- func (o *CreateLicenseKeyParams) SetID(id int32)
- func (o *CreateLicenseKeyParams) SetTimeout(timeout time.Duration)
- func (o *CreateLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateLicenseKeyParams) WithBody(body *models.AccountLicenseKeyModel) *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) WithContext(ctx context.Context) *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) WithDefaults() *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) WithHTTPClient(client *http.Client) *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) WithID(id int32) *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) WithTimeout(timeout time.Duration) *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *CreateLicenseKeyParams
- func (o *CreateLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLicenseKeyReader
- type CreateLicenseKeyUnauthorized
- type DeleteLicenseKeyBadRequest
- type DeleteLicenseKeyNotFound
- type DeleteLicenseKeyOK
- type DeleteLicenseKeyParams
- func NewDeleteLicenseKeyParams() *DeleteLicenseKeyParams
- func NewDeleteLicenseKeyParamsWithContext(ctx context.Context) *DeleteLicenseKeyParams
- func NewDeleteLicenseKeyParamsWithHTTPClient(client *http.Client) *DeleteLicenseKeyParams
- func NewDeleteLicenseKeyParamsWithTimeout(timeout time.Duration) *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) SetContext(ctx context.Context)
- func (o *DeleteLicenseKeyParams) SetDefaults()
- func (o *DeleteLicenseKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLicenseKeyParams) SetID(id int32)
- func (o *DeleteLicenseKeyParams) SetLicensekeyname(licensekeyname string)
- func (o *DeleteLicenseKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteLicenseKeyParams) WithContext(ctx context.Context) *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) WithDefaults() *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) WithHTTPClient(client *http.Client) *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) WithID(id int32) *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) WithLicensekeyname(licensekeyname string) *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) WithTimeout(timeout time.Duration) *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteLicenseKeyParams
- func (o *DeleteLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLicenseKeyReader
- type DeleteLicenseKeyUnauthorized
- type GetAccountBadRequest
- type GetAccountConfigurationBadRequest
- type GetAccountConfigurationNotFound
- type GetAccountConfigurationOK
- type GetAccountConfigurationParams
- func NewGetAccountConfigurationParams() *GetAccountConfigurationParams
- func NewGetAccountConfigurationParamsWithContext(ctx context.Context) *GetAccountConfigurationParams
- func NewGetAccountConfigurationParamsWithHTTPClient(client *http.Client) *GetAccountConfigurationParams
- func NewGetAccountConfigurationParamsWithTimeout(timeout time.Duration) *GetAccountConfigurationParams
- func (o *GetAccountConfigurationParams) SetContext(ctx context.Context)
- func (o *GetAccountConfigurationParams) SetDefaults()
- func (o *GetAccountConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountConfigurationParams) SetID(id int32)
- func (o *GetAccountConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountConfigurationParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetAccountConfigurationParams) WithContext(ctx context.Context) *GetAccountConfigurationParams
- func (o *GetAccountConfigurationParams) WithDefaults() *GetAccountConfigurationParams
- func (o *GetAccountConfigurationParams) WithHTTPClient(client *http.Client) *GetAccountConfigurationParams
- func (o *GetAccountConfigurationParams) WithID(id int32) *GetAccountConfigurationParams
- func (o *GetAccountConfigurationParams) WithTimeout(timeout time.Duration) *GetAccountConfigurationParams
- func (o *GetAccountConfigurationParams) WithXAvalaraClient(xAvalaraClient *string) *GetAccountConfigurationParams
- func (o *GetAccountConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountConfigurationReader
- type GetAccountConfigurationUnauthorized
- type GetAccountNotFound
- type GetAccountOK
- type GetAccountParams
- func (o *GetAccountParams) SetContext(ctx context.Context)
- func (o *GetAccountParams) SetDefaults()
- func (o *GetAccountParams) SetDollarInclude(dollarInclude *string)
- func (o *GetAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountParams) SetID(id int32)
- func (o *GetAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
- func (o *GetAccountParams) WithDefaults() *GetAccountParams
- func (o *GetAccountParams) WithDollarInclude(dollarInclude *string) *GetAccountParams
- func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
- func (o *GetAccountParams) WithID(id int32) *GetAccountParams
- func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
- func (o *GetAccountParams) WithXAvalaraClient(xAvalaraClient *string) *GetAccountParams
- func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountReader
- type GetAccountUnauthorized
- type GetLicenseKeyBadRequest
- type GetLicenseKeyNotFound
- type GetLicenseKeyOK
- type GetLicenseKeyParams
- func (o *GetLicenseKeyParams) SetContext(ctx context.Context)
- func (o *GetLicenseKeyParams) SetDefaults()
- func (o *GetLicenseKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetLicenseKeyParams) SetID(id int32)
- func (o *GetLicenseKeyParams) SetLicensekeyname(licensekeyname string)
- func (o *GetLicenseKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetLicenseKeyParams) WithContext(ctx context.Context) *GetLicenseKeyParams
- func (o *GetLicenseKeyParams) WithDefaults() *GetLicenseKeyParams
- func (o *GetLicenseKeyParams) WithHTTPClient(client *http.Client) *GetLicenseKeyParams
- func (o *GetLicenseKeyParams) WithID(id int32) *GetLicenseKeyParams
- func (o *GetLicenseKeyParams) WithLicensekeyname(licensekeyname string) *GetLicenseKeyParams
- func (o *GetLicenseKeyParams) WithTimeout(timeout time.Duration) *GetLicenseKeyParams
- func (o *GetLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *GetLicenseKeyParams
- func (o *GetLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLicenseKeyReader
- type GetLicenseKeyUnauthorized
- type GetLicenseKeysBadRequest
- type GetLicenseKeysNotFound
- type GetLicenseKeysOK
- type GetLicenseKeysParams
- func NewGetLicenseKeysParams() *GetLicenseKeysParams
- func NewGetLicenseKeysParamsWithContext(ctx context.Context) *GetLicenseKeysParams
- func NewGetLicenseKeysParamsWithHTTPClient(client *http.Client) *GetLicenseKeysParams
- func NewGetLicenseKeysParamsWithTimeout(timeout time.Duration) *GetLicenseKeysParams
- func (o *GetLicenseKeysParams) SetContext(ctx context.Context)
- func (o *GetLicenseKeysParams) SetDefaults()
- func (o *GetLicenseKeysParams) SetHTTPClient(client *http.Client)
- func (o *GetLicenseKeysParams) SetID(id int32)
- func (o *GetLicenseKeysParams) SetTimeout(timeout time.Duration)
- func (o *GetLicenseKeysParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetLicenseKeysParams) WithContext(ctx context.Context) *GetLicenseKeysParams
- func (o *GetLicenseKeysParams) WithDefaults() *GetLicenseKeysParams
- func (o *GetLicenseKeysParams) WithHTTPClient(client *http.Client) *GetLicenseKeysParams
- func (o *GetLicenseKeysParams) WithID(id int32) *GetLicenseKeysParams
- func (o *GetLicenseKeysParams) WithTimeout(timeout time.Duration) *GetLicenseKeysParams
- func (o *GetLicenseKeysParams) WithXAvalaraClient(xAvalaraClient *string) *GetLicenseKeysParams
- func (o *GetLicenseKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLicenseKeysReader
- type GetLicenseKeysUnauthorized
- type QueryAccountsBadRequest
- type QueryAccountsOK
- type QueryAccountsParams
- func (o *QueryAccountsParams) SetContext(ctx context.Context)
- func (o *QueryAccountsParams) SetDefaults()
- func (o *QueryAccountsParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryAccountsParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryAccountsParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryAccountsParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryAccountsParams) SetDollarTop(dollarTop *int32)
- func (o *QueryAccountsParams) SetHTTPClient(client *http.Client)
- func (o *QueryAccountsParams) SetTimeout(timeout time.Duration)
- func (o *QueryAccountsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryAccountsParams) WithContext(ctx context.Context) *QueryAccountsParams
- func (o *QueryAccountsParams) WithDefaults() *QueryAccountsParams
- func (o *QueryAccountsParams) WithDollarFilter(dollarFilter *string) *QueryAccountsParams
- func (o *QueryAccountsParams) WithDollarInclude(dollarInclude *string) *QueryAccountsParams
- func (o *QueryAccountsParams) WithDollarOrderBy(dollarOrderBy *string) *QueryAccountsParams
- func (o *QueryAccountsParams) WithDollarSkip(dollarSkip *int32) *QueryAccountsParams
- func (o *QueryAccountsParams) WithDollarTop(dollarTop *int32) *QueryAccountsParams
- func (o *QueryAccountsParams) WithHTTPClient(client *http.Client) *QueryAccountsParams
- func (o *QueryAccountsParams) WithTimeout(timeout time.Duration) *QueryAccountsParams
- func (o *QueryAccountsParams) WithXAvalaraClient(xAvalaraClient *string) *QueryAccountsParams
- func (o *QueryAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryAccountsReader
- type QueryAccountsUnauthorized
- type SetAccountConfigurationBadRequest
- type SetAccountConfigurationNotFound
- type SetAccountConfigurationOK
- type SetAccountConfigurationParams
- func NewSetAccountConfigurationParams() *SetAccountConfigurationParams
- func NewSetAccountConfigurationParamsWithContext(ctx context.Context) *SetAccountConfigurationParams
- func NewSetAccountConfigurationParamsWithHTTPClient(client *http.Client) *SetAccountConfigurationParams
- func NewSetAccountConfigurationParamsWithTimeout(timeout time.Duration) *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) SetBody(body []*models.AccountConfigurationModel)
- func (o *SetAccountConfigurationParams) SetContext(ctx context.Context)
- func (o *SetAccountConfigurationParams) SetDefaults()
- func (o *SetAccountConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *SetAccountConfigurationParams) SetID(id int32)
- func (o *SetAccountConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *SetAccountConfigurationParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *SetAccountConfigurationParams) WithBody(body []*models.AccountConfigurationModel) *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) WithContext(ctx context.Context) *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) WithDefaults() *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) WithHTTPClient(client *http.Client) *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) WithID(id int32) *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) WithTimeout(timeout time.Duration) *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) WithXAvalaraClient(xAvalaraClient *string) *SetAccountConfigurationParams
- func (o *SetAccountConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetAccountConfigurationReader
- type SetAccountConfigurationUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountResetLicenseKeyBadRequest ¶
type AccountResetLicenseKeyBadRequest struct { }
AccountResetLicenseKeyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAccountResetLicenseKeyBadRequest ¶
func NewAccountResetLicenseKeyBadRequest() *AccountResetLicenseKeyBadRequest
NewAccountResetLicenseKeyBadRequest creates a AccountResetLicenseKeyBadRequest with default headers values
func (*AccountResetLicenseKeyBadRequest) Error ¶
func (o *AccountResetLicenseKeyBadRequest) Error() string
type AccountResetLicenseKeyNotFound ¶
type AccountResetLicenseKeyNotFound struct { }
AccountResetLicenseKeyNotFound describes a response with status code 404, with default header values.
Not Found
func NewAccountResetLicenseKeyNotFound ¶
func NewAccountResetLicenseKeyNotFound() *AccountResetLicenseKeyNotFound
NewAccountResetLicenseKeyNotFound creates a AccountResetLicenseKeyNotFound with default headers values
func (*AccountResetLicenseKeyNotFound) Error ¶
func (o *AccountResetLicenseKeyNotFound) Error() string
type AccountResetLicenseKeyOK ¶
type AccountResetLicenseKeyOK struct {
Payload *models.LicenseKeyModel
}
AccountResetLicenseKeyOK describes a response with status code 200, with default header values.
Success
func NewAccountResetLicenseKeyOK ¶
func NewAccountResetLicenseKeyOK() *AccountResetLicenseKeyOK
NewAccountResetLicenseKeyOK creates a AccountResetLicenseKeyOK with default headers values
func (*AccountResetLicenseKeyOK) Error ¶
func (o *AccountResetLicenseKeyOK) Error() string
func (*AccountResetLicenseKeyOK) GetPayload ¶
func (o *AccountResetLicenseKeyOK) GetPayload() *models.LicenseKeyModel
type AccountResetLicenseKeyParams ¶
type AccountResetLicenseKeyParams 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 /* Body. A request confirming that you wish to reset the license key of this account. */ Body *models.ResetLicenseKeyModel /* ID. The ID of the account you wish to update. Format: int32 */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountResetLicenseKeyParams contains all the parameters to send to the API endpoint
for the account reset license key operation. Typically these are written to a http.Request.
func NewAccountResetLicenseKeyParams ¶
func NewAccountResetLicenseKeyParams() *AccountResetLicenseKeyParams
NewAccountResetLicenseKeyParams creates a new AccountResetLicenseKeyParams 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 NewAccountResetLicenseKeyParamsWithContext ¶
func NewAccountResetLicenseKeyParamsWithContext(ctx context.Context) *AccountResetLicenseKeyParams
NewAccountResetLicenseKeyParamsWithContext creates a new AccountResetLicenseKeyParams object with the ability to set a context for a request.
func NewAccountResetLicenseKeyParamsWithHTTPClient ¶
func NewAccountResetLicenseKeyParamsWithHTTPClient(client *http.Client) *AccountResetLicenseKeyParams
NewAccountResetLicenseKeyParamsWithHTTPClient creates a new AccountResetLicenseKeyParams object with the ability to set a custom HTTPClient for a request.
func NewAccountResetLicenseKeyParamsWithTimeout ¶
func NewAccountResetLicenseKeyParamsWithTimeout(timeout time.Duration) *AccountResetLicenseKeyParams
NewAccountResetLicenseKeyParamsWithTimeout creates a new AccountResetLicenseKeyParams object with the ability to set a timeout on a request.
func (*AccountResetLicenseKeyParams) SetBody ¶
func (o *AccountResetLicenseKeyParams) SetBody(body *models.ResetLicenseKeyModel)
SetBody adds the body to the account reset license key params
func (*AccountResetLicenseKeyParams) SetContext ¶
func (o *AccountResetLicenseKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the account reset license key params
func (*AccountResetLicenseKeyParams) SetDefaults ¶
func (o *AccountResetLicenseKeyParams) SetDefaults()
SetDefaults hydrates default values in the account reset license key params (not the query body).
All values with no default are reset to their zero value.
func (*AccountResetLicenseKeyParams) SetHTTPClient ¶
func (o *AccountResetLicenseKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account reset license key params
func (*AccountResetLicenseKeyParams) SetID ¶
func (o *AccountResetLicenseKeyParams) SetID(id int32)
SetID adds the id to the account reset license key params
func (*AccountResetLicenseKeyParams) SetTimeout ¶
func (o *AccountResetLicenseKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account reset license key params
func (*AccountResetLicenseKeyParams) SetXAvalaraClient ¶
func (o *AccountResetLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the account reset license key params
func (*AccountResetLicenseKeyParams) WithBody ¶
func (o *AccountResetLicenseKeyParams) WithBody(body *models.ResetLicenseKeyModel) *AccountResetLicenseKeyParams
WithBody adds the body to the account reset license key params
func (*AccountResetLicenseKeyParams) WithContext ¶
func (o *AccountResetLicenseKeyParams) WithContext(ctx context.Context) *AccountResetLicenseKeyParams
WithContext adds the context to the account reset license key params
func (*AccountResetLicenseKeyParams) WithDefaults ¶
func (o *AccountResetLicenseKeyParams) WithDefaults() *AccountResetLicenseKeyParams
WithDefaults hydrates default values in the account reset license key params (not the query body).
All values with no default are reset to their zero value.
func (*AccountResetLicenseKeyParams) WithHTTPClient ¶
func (o *AccountResetLicenseKeyParams) WithHTTPClient(client *http.Client) *AccountResetLicenseKeyParams
WithHTTPClient adds the HTTPClient to the account reset license key params
func (*AccountResetLicenseKeyParams) WithID ¶
func (o *AccountResetLicenseKeyParams) WithID(id int32) *AccountResetLicenseKeyParams
WithID adds the id to the account reset license key params
func (*AccountResetLicenseKeyParams) WithTimeout ¶
func (o *AccountResetLicenseKeyParams) WithTimeout(timeout time.Duration) *AccountResetLicenseKeyParams
WithTimeout adds the timeout to the account reset license key params
func (*AccountResetLicenseKeyParams) WithXAvalaraClient ¶
func (o *AccountResetLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *AccountResetLicenseKeyParams
WithXAvalaraClient adds the xAvalaraClient to the account reset license key params
func (*AccountResetLicenseKeyParams) WriteToRequest ¶
func (o *AccountResetLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountResetLicenseKeyReader ¶
type AccountResetLicenseKeyReader struct {
// contains filtered or unexported fields
}
AccountResetLicenseKeyReader is a Reader for the AccountResetLicenseKey structure.
func (*AccountResetLicenseKeyReader) ReadResponse ¶
func (o *AccountResetLicenseKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountResetLicenseKeyUnauthorized ¶
type AccountResetLicenseKeyUnauthorized struct { }
AccountResetLicenseKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAccountResetLicenseKeyUnauthorized ¶
func NewAccountResetLicenseKeyUnauthorized() *AccountResetLicenseKeyUnauthorized
NewAccountResetLicenseKeyUnauthorized creates a AccountResetLicenseKeyUnauthorized with default headers values
func (*AccountResetLicenseKeyUnauthorized) Error ¶
func (o *AccountResetLicenseKeyUnauthorized) Error() string
type ActivateAccountBadRequest ¶
type ActivateAccountBadRequest struct { }
ActivateAccountBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewActivateAccountBadRequest ¶
func NewActivateAccountBadRequest() *ActivateAccountBadRequest
NewActivateAccountBadRequest creates a ActivateAccountBadRequest with default headers values
func (*ActivateAccountBadRequest) Error ¶
func (o *ActivateAccountBadRequest) Error() string
type ActivateAccountNotFound ¶
type ActivateAccountNotFound struct { }
ActivateAccountNotFound describes a response with status code 404, with default header values.
Not Found
func NewActivateAccountNotFound ¶
func NewActivateAccountNotFound() *ActivateAccountNotFound
NewActivateAccountNotFound creates a ActivateAccountNotFound with default headers values
func (*ActivateAccountNotFound) Error ¶
func (o *ActivateAccountNotFound) Error() string
type ActivateAccountOK ¶
type ActivateAccountOK struct {
Payload *models.AccountModel
}
ActivateAccountOK describes a response with status code 200, with default header values.
Success
func NewActivateAccountOK ¶
func NewActivateAccountOK() *ActivateAccountOK
NewActivateAccountOK creates a ActivateAccountOK with default headers values
func (*ActivateAccountOK) Error ¶
func (o *ActivateAccountOK) Error() string
func (*ActivateAccountOK) GetPayload ¶
func (o *ActivateAccountOK) GetPayload() *models.AccountModel
type ActivateAccountParams ¶
type ActivateAccountParams 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 /* Body. The activation request */ Body *models.ActivateAccountModel /* ID. The ID of the account to activate Format: int32 */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ActivateAccountParams contains all the parameters to send to the API endpoint
for the activate account operation. Typically these are written to a http.Request.
func NewActivateAccountParams ¶
func NewActivateAccountParams() *ActivateAccountParams
NewActivateAccountParams creates a new ActivateAccountParams 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 NewActivateAccountParamsWithContext ¶
func NewActivateAccountParamsWithContext(ctx context.Context) *ActivateAccountParams
NewActivateAccountParamsWithContext creates a new ActivateAccountParams object with the ability to set a context for a request.
func NewActivateAccountParamsWithHTTPClient ¶
func NewActivateAccountParamsWithHTTPClient(client *http.Client) *ActivateAccountParams
NewActivateAccountParamsWithHTTPClient creates a new ActivateAccountParams object with the ability to set a custom HTTPClient for a request.
func NewActivateAccountParamsWithTimeout ¶
func NewActivateAccountParamsWithTimeout(timeout time.Duration) *ActivateAccountParams
NewActivateAccountParamsWithTimeout creates a new ActivateAccountParams object with the ability to set a timeout on a request.
func (*ActivateAccountParams) SetBody ¶
func (o *ActivateAccountParams) SetBody(body *models.ActivateAccountModel)
SetBody adds the body to the activate account params
func (*ActivateAccountParams) SetContext ¶
func (o *ActivateAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the activate account params
func (*ActivateAccountParams) SetDefaults ¶
func (o *ActivateAccountParams) SetDefaults()
SetDefaults hydrates default values in the activate account params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateAccountParams) SetHTTPClient ¶
func (o *ActivateAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the activate account params
func (*ActivateAccountParams) SetID ¶
func (o *ActivateAccountParams) SetID(id int32)
SetID adds the id to the activate account params
func (*ActivateAccountParams) SetTimeout ¶
func (o *ActivateAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the activate account params
func (*ActivateAccountParams) SetXAvalaraClient ¶
func (o *ActivateAccountParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the activate account params
func (*ActivateAccountParams) WithBody ¶
func (o *ActivateAccountParams) WithBody(body *models.ActivateAccountModel) *ActivateAccountParams
WithBody adds the body to the activate account params
func (*ActivateAccountParams) WithContext ¶
func (o *ActivateAccountParams) WithContext(ctx context.Context) *ActivateAccountParams
WithContext adds the context to the activate account params
func (*ActivateAccountParams) WithDefaults ¶
func (o *ActivateAccountParams) WithDefaults() *ActivateAccountParams
WithDefaults hydrates default values in the activate account params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateAccountParams) WithHTTPClient ¶
func (o *ActivateAccountParams) WithHTTPClient(client *http.Client) *ActivateAccountParams
WithHTTPClient adds the HTTPClient to the activate account params
func (*ActivateAccountParams) WithID ¶
func (o *ActivateAccountParams) WithID(id int32) *ActivateAccountParams
WithID adds the id to the activate account params
func (*ActivateAccountParams) WithTimeout ¶
func (o *ActivateAccountParams) WithTimeout(timeout time.Duration) *ActivateAccountParams
WithTimeout adds the timeout to the activate account params
func (*ActivateAccountParams) WithXAvalaraClient ¶
func (o *ActivateAccountParams) WithXAvalaraClient(xAvalaraClient *string) *ActivateAccountParams
WithXAvalaraClient adds the xAvalaraClient to the activate account params
func (*ActivateAccountParams) WriteToRequest ¶
func (o *ActivateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ActivateAccountReader ¶
type ActivateAccountReader struct {
// contains filtered or unexported fields
}
ActivateAccountReader is a Reader for the ActivateAccount structure.
func (*ActivateAccountReader) ReadResponse ¶
func (o *ActivateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ActivateAccountUnauthorized ¶
type ActivateAccountUnauthorized struct { }
ActivateAccountUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewActivateAccountUnauthorized ¶
func NewActivateAccountUnauthorized() *ActivateAccountUnauthorized
NewActivateAccountUnauthorized creates a ActivateAccountUnauthorized with default headers values
func (*ActivateAccountUnauthorized) Error ¶
func (o *ActivateAccountUnauthorized) Error() string
type AuditAccountBadRequest ¶
type AuditAccountBadRequest struct { }
AuditAccountBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAuditAccountBadRequest ¶
func NewAuditAccountBadRequest() *AuditAccountBadRequest
NewAuditAccountBadRequest creates a AuditAccountBadRequest with default headers values
func (*AuditAccountBadRequest) Error ¶
func (o *AuditAccountBadRequest) Error() string
type AuditAccountNotFound ¶
type AuditAccountNotFound struct { }
AuditAccountNotFound describes a response with status code 404, with default header values.
Not Found
func NewAuditAccountNotFound ¶
func NewAuditAccountNotFound() *AuditAccountNotFound
NewAuditAccountNotFound creates a AuditAccountNotFound with default headers values
func (*AuditAccountNotFound) Error ¶
func (o *AuditAccountNotFound) Error() string
type AuditAccountOK ¶
type AuditAccountOK struct {
Payload *models.AuditModelFetchResult
}
AuditAccountOK describes a response with status code 200, with default header values.
Success
func NewAuditAccountOK ¶
func NewAuditAccountOK() *AuditAccountOK
NewAuditAccountOK creates a AuditAccountOK with default headers values
func (*AuditAccountOK) Error ¶
func (o *AuditAccountOK) Error() string
func (*AuditAccountOK) GetPayload ¶
func (o *AuditAccountOK) GetPayload() *models.AuditModelFetchResult
type AuditAccountParams ¶
type AuditAccountParams struct { /* DollarSkip. If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. Format: int32 */ DollarSkip *int32 /* DollarTop. If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records. Format: int32 Default: 10 */ DollarTop *int32 /* 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 /* End. The end datetime of audit history you with to retrieve, e.g. "2018-06-08T17:15:00Z. Defaults to the current time. Maximum of an hour after the start time. Format: date-time */ End *strfmt.DateTime /* ID. The ID of the account you wish to audit. Format: int32 */ ID int32 /* Start. The start datetime of audit history you with to retrieve, e.g. "2018-06-08T17:00:00Z". Defaults to the past 15 minutes. Format: date-time */ Start *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuditAccountParams contains all the parameters to send to the API endpoint
for the audit account operation. Typically these are written to a http.Request.
func NewAuditAccountParams ¶
func NewAuditAccountParams() *AuditAccountParams
NewAuditAccountParams creates a new AuditAccountParams 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 NewAuditAccountParamsWithContext ¶
func NewAuditAccountParamsWithContext(ctx context.Context) *AuditAccountParams
NewAuditAccountParamsWithContext creates a new AuditAccountParams object with the ability to set a context for a request.
func NewAuditAccountParamsWithHTTPClient ¶
func NewAuditAccountParamsWithHTTPClient(client *http.Client) *AuditAccountParams
NewAuditAccountParamsWithHTTPClient creates a new AuditAccountParams object with the ability to set a custom HTTPClient for a request.
func NewAuditAccountParamsWithTimeout ¶
func NewAuditAccountParamsWithTimeout(timeout time.Duration) *AuditAccountParams
NewAuditAccountParamsWithTimeout creates a new AuditAccountParams object with the ability to set a timeout on a request.
func (*AuditAccountParams) SetContext ¶
func (o *AuditAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the audit account params
func (*AuditAccountParams) SetDefaults ¶
func (o *AuditAccountParams) SetDefaults()
SetDefaults hydrates default values in the audit account params (not the query body).
All values with no default are reset to their zero value.
func (*AuditAccountParams) SetDollarSkip ¶
func (o *AuditAccountParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the audit account params
func (*AuditAccountParams) SetDollarTop ¶
func (o *AuditAccountParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the audit account params
func (*AuditAccountParams) SetEnd ¶
func (o *AuditAccountParams) SetEnd(end *strfmt.DateTime)
SetEnd adds the end to the audit account params
func (*AuditAccountParams) SetHTTPClient ¶
func (o *AuditAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the audit account params
func (*AuditAccountParams) SetID ¶
func (o *AuditAccountParams) SetID(id int32)
SetID adds the id to the audit account params
func (*AuditAccountParams) SetStart ¶
func (o *AuditAccountParams) SetStart(start *strfmt.DateTime)
SetStart adds the start to the audit account params
func (*AuditAccountParams) SetTimeout ¶
func (o *AuditAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the audit account params
func (*AuditAccountParams) SetXAvalaraClient ¶
func (o *AuditAccountParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the audit account params
func (*AuditAccountParams) WithContext ¶
func (o *AuditAccountParams) WithContext(ctx context.Context) *AuditAccountParams
WithContext adds the context to the audit account params
func (*AuditAccountParams) WithDefaults ¶
func (o *AuditAccountParams) WithDefaults() *AuditAccountParams
WithDefaults hydrates default values in the audit account params (not the query body).
All values with no default are reset to their zero value.
func (*AuditAccountParams) WithDollarSkip ¶
func (o *AuditAccountParams) WithDollarSkip(dollarSkip *int32) *AuditAccountParams
WithDollarSkip adds the dollarSkip to the audit account params
func (*AuditAccountParams) WithDollarTop ¶
func (o *AuditAccountParams) WithDollarTop(dollarTop *int32) *AuditAccountParams
WithDollarTop adds the dollarTop to the audit account params
func (*AuditAccountParams) WithEnd ¶
func (o *AuditAccountParams) WithEnd(end *strfmt.DateTime) *AuditAccountParams
WithEnd adds the end to the audit account params
func (*AuditAccountParams) WithHTTPClient ¶
func (o *AuditAccountParams) WithHTTPClient(client *http.Client) *AuditAccountParams
WithHTTPClient adds the HTTPClient to the audit account params
func (*AuditAccountParams) WithID ¶
func (o *AuditAccountParams) WithID(id int32) *AuditAccountParams
WithID adds the id to the audit account params
func (*AuditAccountParams) WithStart ¶
func (o *AuditAccountParams) WithStart(start *strfmt.DateTime) *AuditAccountParams
WithStart adds the start to the audit account params
func (*AuditAccountParams) WithTimeout ¶
func (o *AuditAccountParams) WithTimeout(timeout time.Duration) *AuditAccountParams
WithTimeout adds the timeout to the audit account params
func (*AuditAccountParams) WithXAvalaraClient ¶
func (o *AuditAccountParams) WithXAvalaraClient(xAvalaraClient *string) *AuditAccountParams
WithXAvalaraClient adds the xAvalaraClient to the audit account params
func (*AuditAccountParams) WriteToRequest ¶
func (o *AuditAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuditAccountReader ¶
type AuditAccountReader struct {
// contains filtered or unexported fields
}
AuditAccountReader is a Reader for the AuditAccount structure.
func (*AuditAccountReader) ReadResponse ¶
func (o *AuditAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuditAccountUnauthorized ¶
type AuditAccountUnauthorized struct { }
AuditAccountUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAuditAccountUnauthorized ¶
func NewAuditAccountUnauthorized() *AuditAccountUnauthorized
NewAuditAccountUnauthorized creates a AuditAccountUnauthorized with default headers values
func (*AuditAccountUnauthorized) Error ¶
func (o *AuditAccountUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for accounts API
func (*Client) AccountResetLicenseKey ¶
func (a *Client) AccountResetLicenseKey(params *AccountResetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountResetLicenseKeyOK, error)
AccountResetLicenseKey resets this account s license key Resets the existing license key for this account to a new key.
To reset your account, you must specify the ID of the account you wish to reset and confirm the action.
This API is only available to account administrators for the account in question, and may only be called after an account has been activated by reading and accepting Avalara's terms and conditions. To activate your account please log onto the AvaTax website or call the `ActivateAccount` API.
You can only reset license with 'Default' license key name. Resetting a license key cannot be undone. Any previous license keys will immediately cease to work when a new key is created.
When you call this API, all account administrators for this account will receive an email with the newly updated license key. The email will specify which user reset the license key and it will contain the new key to use to update your connectors. Note: The reset license key functionality will only be available for existing active license key i.e. when you reset license key for the account, the Default license key will be reset.The reset license key functionality is not available for newly created license keys i.e. license keys other than Default
### Security Policies
* This API requires one of the following user roles: AccountAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
func (*Client) ActivateAccount ¶
func (a *Client) ActivateAccount(params *ActivateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateAccountOK, error)
ActivateAccount activates an account by accepting terms and conditions Activate the account specified by the unique accountId number.
This activation request can only be called by account administrators. You must indicate that you have read and accepted Avalara's terms and conditions to call this API.
Once you have activated your account, use the `AccountResetLicenseKey` API to generate a license key for your account.
If you have not read or accepted the terms and conditions, this API call will return the unchanged account model.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
func (*Client) AuditAccount ¶
func (a *Client) AuditAccount(params *AuditAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuditAccountOK, error)
AuditAccount retrieves audit history for an account Retrieve audit trace history for an account.
Your audit trace history contains a record of all API calls made against the AvaTax REST API that returned an error. You can use this API to investigate problems and see exactly what information was sent back and forth between your code and AvaTax.
When specifying a start and end datetime, please include a valid timezone indicator, such as the "Z" present in the examples for the start and end query parameters. You can learn more about valid time zone designators at https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators.
This API enforces limits to the amount of data retrieved. These limits are subject to change.
* You may request data from a maximum of a one-hour time period. * The amount of data and number of API calls returned by this API are limited and may be adjusted at any time. * Old records may be migrated out of immediately available storage. To request older data, please contact your account manager. * New records must migrate to available storage before they can be retrieved. You may need to wait a period of time before newly created records can be fetched.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
func (*Client) CreateLicenseKey ¶
func (a *Client) CreateLicenseKey(params *CreateLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLicenseKeyOK, error)
CreateLicenseKey creates license key for this account Creates a new license key for this account.
To create a license key for your account, you must specify the ID of the account and license key name.
This API is only available to account administrators for the account in question, and may only be called after an account has been activated by reading and accepting Avalara's terms and conditions. To activate your account please log onto the AvaTax website or call the `ActivateAccount` API.
You will reference this key using license key name. The existing license key will be using 'Default' as license key name. Hence make sure that the license key name is unique per account considering the existing license key name 'Default'
### Security Policies
* This API requires one of the following user roles: AccountAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
func (*Client) DeleteLicenseKey ¶
func (a *Client) DeleteLicenseKey(params *DeleteLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLicenseKeyOK, error)
DeleteLicenseKey deletes license key for this account by license key name Deletes the license key for this account using license key name.
To delete a license key for your account, you must specify the accountID of the account and license key name.
This API is only available to account administrators for the account in question.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
func (*Client) GetAccount ¶
func (a *Client) GetAccount(params *GetAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountOK, error)
GetAccount retrieves a single account Get the account object identified by this URL.
You may use the '$include' parameter to fetch additional nested data:
* Subscriptions * Users
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
func (*Client) GetAccountConfiguration ¶
func (a *Client) GetAccountConfiguration(params *GetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountConfigurationOK, error)
GetAccountConfiguration gets configuration settings for this account Retrieve a list of all configuration settings tied to this account.
Configuration settings provide you with the ability to control features of your account and of your tax software. The category names `TaxServiceConfig` and `AddressServiceConfig` are reserved for Avalara internal software configuration values; to store your own account-level settings, please create a new category name that begins with `X-`, for example, `X-MyCustomCategory`.
Account settings are permanent settings that cannot be deleted. You can set the value of an account setting to null if desired.
Avalara-based account settings for `TaxServiceConfig` and `AddressServiceConfig` affect your account's tax calculation and address resolution, and should only be changed with care.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) GetLicenseKey ¶
func (a *Client) GetLicenseKey(params *GetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeyOK, error)
GetLicenseKey retrieves license key by license key name
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
func (*Client) GetLicenseKeys ¶
func (a *Client) GetLicenseKeys(params *GetLicenseKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeysOK, error)
GetLicenseKeys retrieves all license keys for this account Gets list of all the license keys used by the account.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
func (*Client) QueryAccounts ¶
func (a *Client) QueryAccounts(params *QueryAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryAccountsOK, error)
QueryAccounts retrieves all accounts List all account objects that can be seen by the current user.
This API lists all accounts you are allowed to see. In general, most users will only be able to see their own account.
Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Subscriptions * Users
For more information about filtering in REST, please see the documentation at http://developer.avalara.com/avatax/filtering-in-rest/ .
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
func (*Client) SetAccountConfiguration ¶
func (a *Client) SetAccountConfiguration(params *SetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAccountConfigurationOK, error)
SetAccountConfiguration changes configuration settings for this account Update configuration settings tied to this account.
Configuration settings provide you with the ability to control features of your account and of your tax software. The category names `TaxServiceConfig` and `AddressServiceConfig` are reserved for Avalara internal software configuration values; to store your own account-level settings, please create a new category name that begins with `X-`, for example, `X-MyCustomCategory`.
Account settings are permanent settings that cannot be deleted. You can set the value of an account setting to null if desired.
Avalara-based account settings for `TaxServiceConfig` and `AddressServiceConfig` affect your account's tax calculation and address resolution, and should only be changed with care.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
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 { AccountResetLicenseKey(params *AccountResetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountResetLicenseKeyOK, error) ActivateAccount(params *ActivateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateAccountOK, error) AuditAccount(params *AuditAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuditAccountOK, error) CreateLicenseKey(params *CreateLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLicenseKeyOK, error) DeleteLicenseKey(params *DeleteLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLicenseKeyOK, error) GetAccount(params *GetAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountOK, error) GetAccountConfiguration(params *GetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountConfigurationOK, error) GetLicenseKey(params *GetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeyOK, error) GetLicenseKeys(params *GetLicenseKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeysOK, error) QueryAccounts(params *QueryAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryAccountsOK, error) SetAccountConfiguration(params *SetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAccountConfigurationOK, 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 accounts API client.
type CreateLicenseKeyBadRequest ¶
type CreateLicenseKeyBadRequest struct { }
CreateLicenseKeyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateLicenseKeyBadRequest ¶
func NewCreateLicenseKeyBadRequest() *CreateLicenseKeyBadRequest
NewCreateLicenseKeyBadRequest creates a CreateLicenseKeyBadRequest with default headers values
func (*CreateLicenseKeyBadRequest) Error ¶
func (o *CreateLicenseKeyBadRequest) Error() string
type CreateLicenseKeyNotFound ¶
type CreateLicenseKeyNotFound struct { }
CreateLicenseKeyNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateLicenseKeyNotFound ¶
func NewCreateLicenseKeyNotFound() *CreateLicenseKeyNotFound
NewCreateLicenseKeyNotFound creates a CreateLicenseKeyNotFound with default headers values
func (*CreateLicenseKeyNotFound) Error ¶
func (o *CreateLicenseKeyNotFound) Error() string
type CreateLicenseKeyOK ¶
type CreateLicenseKeyOK struct {
Payload *models.LicenseKeyModel
}
CreateLicenseKeyOK describes a response with status code 200, with default header values.
Success
func NewCreateLicenseKeyOK ¶
func NewCreateLicenseKeyOK() *CreateLicenseKeyOK
NewCreateLicenseKeyOK creates a CreateLicenseKeyOK with default headers values
func (*CreateLicenseKeyOK) Error ¶
func (o *CreateLicenseKeyOK) Error() string
func (*CreateLicenseKeyOK) GetPayload ¶
func (o *CreateLicenseKeyOK) GetPayload() *models.LicenseKeyModel
type CreateLicenseKeyParams ¶
type CreateLicenseKeyParams 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 // Body. Body *models.AccountLicenseKeyModel /* ID. The ID of the account you wish to update. Format: int32 */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLicenseKeyParams contains all the parameters to send to the API endpoint
for the create license key operation. Typically these are written to a http.Request.
func NewCreateLicenseKeyParams ¶
func NewCreateLicenseKeyParams() *CreateLicenseKeyParams
NewCreateLicenseKeyParams creates a new CreateLicenseKeyParams 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 NewCreateLicenseKeyParamsWithContext ¶
func NewCreateLicenseKeyParamsWithContext(ctx context.Context) *CreateLicenseKeyParams
NewCreateLicenseKeyParamsWithContext creates a new CreateLicenseKeyParams object with the ability to set a context for a request.
func NewCreateLicenseKeyParamsWithHTTPClient ¶
func NewCreateLicenseKeyParamsWithHTTPClient(client *http.Client) *CreateLicenseKeyParams
NewCreateLicenseKeyParamsWithHTTPClient creates a new CreateLicenseKeyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLicenseKeyParamsWithTimeout ¶
func NewCreateLicenseKeyParamsWithTimeout(timeout time.Duration) *CreateLicenseKeyParams
NewCreateLicenseKeyParamsWithTimeout creates a new CreateLicenseKeyParams object with the ability to set a timeout on a request.
func (*CreateLicenseKeyParams) SetBody ¶
func (o *CreateLicenseKeyParams) SetBody(body *models.AccountLicenseKeyModel)
SetBody adds the body to the create license key params
func (*CreateLicenseKeyParams) SetContext ¶
func (o *CreateLicenseKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the create license key params
func (*CreateLicenseKeyParams) SetDefaults ¶
func (o *CreateLicenseKeyParams) SetDefaults()
SetDefaults hydrates default values in the create license key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLicenseKeyParams) SetHTTPClient ¶
func (o *CreateLicenseKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create license key params
func (*CreateLicenseKeyParams) SetID ¶
func (o *CreateLicenseKeyParams) SetID(id int32)
SetID adds the id to the create license key params
func (*CreateLicenseKeyParams) SetTimeout ¶
func (o *CreateLicenseKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create license key params
func (*CreateLicenseKeyParams) SetXAvalaraClient ¶
func (o *CreateLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the create license key params
func (*CreateLicenseKeyParams) WithBody ¶
func (o *CreateLicenseKeyParams) WithBody(body *models.AccountLicenseKeyModel) *CreateLicenseKeyParams
WithBody adds the body to the create license key params
func (*CreateLicenseKeyParams) WithContext ¶
func (o *CreateLicenseKeyParams) WithContext(ctx context.Context) *CreateLicenseKeyParams
WithContext adds the context to the create license key params
func (*CreateLicenseKeyParams) WithDefaults ¶
func (o *CreateLicenseKeyParams) WithDefaults() *CreateLicenseKeyParams
WithDefaults hydrates default values in the create license key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLicenseKeyParams) WithHTTPClient ¶
func (o *CreateLicenseKeyParams) WithHTTPClient(client *http.Client) *CreateLicenseKeyParams
WithHTTPClient adds the HTTPClient to the create license key params
func (*CreateLicenseKeyParams) WithID ¶
func (o *CreateLicenseKeyParams) WithID(id int32) *CreateLicenseKeyParams
WithID adds the id to the create license key params
func (*CreateLicenseKeyParams) WithTimeout ¶
func (o *CreateLicenseKeyParams) WithTimeout(timeout time.Duration) *CreateLicenseKeyParams
WithTimeout adds the timeout to the create license key params
func (*CreateLicenseKeyParams) WithXAvalaraClient ¶
func (o *CreateLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *CreateLicenseKeyParams
WithXAvalaraClient adds the xAvalaraClient to the create license key params
func (*CreateLicenseKeyParams) WriteToRequest ¶
func (o *CreateLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLicenseKeyReader ¶
type CreateLicenseKeyReader struct {
// contains filtered or unexported fields
}
CreateLicenseKeyReader is a Reader for the CreateLicenseKey structure.
func (*CreateLicenseKeyReader) ReadResponse ¶
func (o *CreateLicenseKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateLicenseKeyUnauthorized ¶
type CreateLicenseKeyUnauthorized struct { }
CreateLicenseKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateLicenseKeyUnauthorized ¶
func NewCreateLicenseKeyUnauthorized() *CreateLicenseKeyUnauthorized
NewCreateLicenseKeyUnauthorized creates a CreateLicenseKeyUnauthorized with default headers values
func (*CreateLicenseKeyUnauthorized) Error ¶
func (o *CreateLicenseKeyUnauthorized) Error() string
type DeleteLicenseKeyBadRequest ¶
type DeleteLicenseKeyBadRequest struct { }
DeleteLicenseKeyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteLicenseKeyBadRequest ¶
func NewDeleteLicenseKeyBadRequest() *DeleteLicenseKeyBadRequest
NewDeleteLicenseKeyBadRequest creates a DeleteLicenseKeyBadRequest with default headers values
func (*DeleteLicenseKeyBadRequest) Error ¶
func (o *DeleteLicenseKeyBadRequest) Error() string
type DeleteLicenseKeyNotFound ¶
type DeleteLicenseKeyNotFound struct { }
DeleteLicenseKeyNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteLicenseKeyNotFound ¶
func NewDeleteLicenseKeyNotFound() *DeleteLicenseKeyNotFound
NewDeleteLicenseKeyNotFound creates a DeleteLicenseKeyNotFound with default headers values
func (*DeleteLicenseKeyNotFound) Error ¶
func (o *DeleteLicenseKeyNotFound) Error() string
type DeleteLicenseKeyOK ¶
type DeleteLicenseKeyOK struct {
Payload []*models.ErrorDetail
}
DeleteLicenseKeyOK describes a response with status code 200, with default header values.
Success
func NewDeleteLicenseKeyOK ¶
func NewDeleteLicenseKeyOK() *DeleteLicenseKeyOK
NewDeleteLicenseKeyOK creates a DeleteLicenseKeyOK with default headers values
func (*DeleteLicenseKeyOK) Error ¶
func (o *DeleteLicenseKeyOK) Error() string
func (*DeleteLicenseKeyOK) GetPayload ¶
func (o *DeleteLicenseKeyOK) GetPayload() []*models.ErrorDetail
type DeleteLicenseKeyParams ¶
type DeleteLicenseKeyParams 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 /* ID. The ID of the account you wish to update. Format: int32 */ ID int32 /* Licensekeyname. The license key name you wish to update. */ Licensekeyname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLicenseKeyParams contains all the parameters to send to the API endpoint
for the delete license key operation. Typically these are written to a http.Request.
func NewDeleteLicenseKeyParams ¶
func NewDeleteLicenseKeyParams() *DeleteLicenseKeyParams
NewDeleteLicenseKeyParams creates a new DeleteLicenseKeyParams 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 NewDeleteLicenseKeyParamsWithContext ¶
func NewDeleteLicenseKeyParamsWithContext(ctx context.Context) *DeleteLicenseKeyParams
NewDeleteLicenseKeyParamsWithContext creates a new DeleteLicenseKeyParams object with the ability to set a context for a request.
func NewDeleteLicenseKeyParamsWithHTTPClient ¶
func NewDeleteLicenseKeyParamsWithHTTPClient(client *http.Client) *DeleteLicenseKeyParams
NewDeleteLicenseKeyParamsWithHTTPClient creates a new DeleteLicenseKeyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLicenseKeyParamsWithTimeout ¶
func NewDeleteLicenseKeyParamsWithTimeout(timeout time.Duration) *DeleteLicenseKeyParams
NewDeleteLicenseKeyParamsWithTimeout creates a new DeleteLicenseKeyParams object with the ability to set a timeout on a request.
func (*DeleteLicenseKeyParams) SetContext ¶
func (o *DeleteLicenseKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete license key params
func (*DeleteLicenseKeyParams) SetDefaults ¶
func (o *DeleteLicenseKeyParams) SetDefaults()
SetDefaults hydrates default values in the delete license key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLicenseKeyParams) SetHTTPClient ¶
func (o *DeleteLicenseKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete license key params
func (*DeleteLicenseKeyParams) SetID ¶
func (o *DeleteLicenseKeyParams) SetID(id int32)
SetID adds the id to the delete license key params
func (*DeleteLicenseKeyParams) SetLicensekeyname ¶
func (o *DeleteLicenseKeyParams) SetLicensekeyname(licensekeyname string)
SetLicensekeyname adds the licensekeyname to the delete license key params
func (*DeleteLicenseKeyParams) SetTimeout ¶
func (o *DeleteLicenseKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete license key params
func (*DeleteLicenseKeyParams) SetXAvalaraClient ¶
func (o *DeleteLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the delete license key params
func (*DeleteLicenseKeyParams) WithContext ¶
func (o *DeleteLicenseKeyParams) WithContext(ctx context.Context) *DeleteLicenseKeyParams
WithContext adds the context to the delete license key params
func (*DeleteLicenseKeyParams) WithDefaults ¶
func (o *DeleteLicenseKeyParams) WithDefaults() *DeleteLicenseKeyParams
WithDefaults hydrates default values in the delete license key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLicenseKeyParams) WithHTTPClient ¶
func (o *DeleteLicenseKeyParams) WithHTTPClient(client *http.Client) *DeleteLicenseKeyParams
WithHTTPClient adds the HTTPClient to the delete license key params
func (*DeleteLicenseKeyParams) WithID ¶
func (o *DeleteLicenseKeyParams) WithID(id int32) *DeleteLicenseKeyParams
WithID adds the id to the delete license key params
func (*DeleteLicenseKeyParams) WithLicensekeyname ¶
func (o *DeleteLicenseKeyParams) WithLicensekeyname(licensekeyname string) *DeleteLicenseKeyParams
WithLicensekeyname adds the licensekeyname to the delete license key params
func (*DeleteLicenseKeyParams) WithTimeout ¶
func (o *DeleteLicenseKeyParams) WithTimeout(timeout time.Duration) *DeleteLicenseKeyParams
WithTimeout adds the timeout to the delete license key params
func (*DeleteLicenseKeyParams) WithXAvalaraClient ¶
func (o *DeleteLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteLicenseKeyParams
WithXAvalaraClient adds the xAvalaraClient to the delete license key params
func (*DeleteLicenseKeyParams) WriteToRequest ¶
func (o *DeleteLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLicenseKeyReader ¶
type DeleteLicenseKeyReader struct {
// contains filtered or unexported fields
}
DeleteLicenseKeyReader is a Reader for the DeleteLicenseKey structure.
func (*DeleteLicenseKeyReader) ReadResponse ¶
func (o *DeleteLicenseKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLicenseKeyUnauthorized ¶
type DeleteLicenseKeyUnauthorized struct { }
DeleteLicenseKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteLicenseKeyUnauthorized ¶
func NewDeleteLicenseKeyUnauthorized() *DeleteLicenseKeyUnauthorized
NewDeleteLicenseKeyUnauthorized creates a DeleteLicenseKeyUnauthorized with default headers values
func (*DeleteLicenseKeyUnauthorized) Error ¶
func (o *DeleteLicenseKeyUnauthorized) Error() string
type GetAccountBadRequest ¶
type GetAccountBadRequest struct { }
GetAccountBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAccountBadRequest ¶
func NewGetAccountBadRequest() *GetAccountBadRequest
NewGetAccountBadRequest creates a GetAccountBadRequest with default headers values
func (*GetAccountBadRequest) Error ¶
func (o *GetAccountBadRequest) Error() string
type GetAccountConfigurationBadRequest ¶
type GetAccountConfigurationBadRequest struct { }
GetAccountConfigurationBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAccountConfigurationBadRequest ¶
func NewGetAccountConfigurationBadRequest() *GetAccountConfigurationBadRequest
NewGetAccountConfigurationBadRequest creates a GetAccountConfigurationBadRequest with default headers values
func (*GetAccountConfigurationBadRequest) Error ¶
func (o *GetAccountConfigurationBadRequest) Error() string
type GetAccountConfigurationNotFound ¶
type GetAccountConfigurationNotFound struct { }
GetAccountConfigurationNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAccountConfigurationNotFound ¶
func NewGetAccountConfigurationNotFound() *GetAccountConfigurationNotFound
NewGetAccountConfigurationNotFound creates a GetAccountConfigurationNotFound with default headers values
func (*GetAccountConfigurationNotFound) Error ¶
func (o *GetAccountConfigurationNotFound) Error() string
type GetAccountConfigurationOK ¶
type GetAccountConfigurationOK struct {
Payload []*models.AccountConfigurationModel
}
GetAccountConfigurationOK describes a response with status code 200, with default header values.
Success
func NewGetAccountConfigurationOK ¶
func NewGetAccountConfigurationOK() *GetAccountConfigurationOK
NewGetAccountConfigurationOK creates a GetAccountConfigurationOK with default headers values
func (*GetAccountConfigurationOK) Error ¶
func (o *GetAccountConfigurationOK) Error() string
func (*GetAccountConfigurationOK) GetPayload ¶
func (o *GetAccountConfigurationOK) GetPayload() []*models.AccountConfigurationModel
type GetAccountConfigurationParams ¶
type GetAccountConfigurationParams 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 // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountConfigurationParams contains all the parameters to send to the API endpoint
for the get account configuration operation. Typically these are written to a http.Request.
func NewGetAccountConfigurationParams ¶
func NewGetAccountConfigurationParams() *GetAccountConfigurationParams
NewGetAccountConfigurationParams creates a new GetAccountConfigurationParams 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 NewGetAccountConfigurationParamsWithContext ¶
func NewGetAccountConfigurationParamsWithContext(ctx context.Context) *GetAccountConfigurationParams
NewGetAccountConfigurationParamsWithContext creates a new GetAccountConfigurationParams object with the ability to set a context for a request.
func NewGetAccountConfigurationParamsWithHTTPClient ¶
func NewGetAccountConfigurationParamsWithHTTPClient(client *http.Client) *GetAccountConfigurationParams
NewGetAccountConfigurationParamsWithHTTPClient creates a new GetAccountConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountConfigurationParamsWithTimeout ¶
func NewGetAccountConfigurationParamsWithTimeout(timeout time.Duration) *GetAccountConfigurationParams
NewGetAccountConfigurationParamsWithTimeout creates a new GetAccountConfigurationParams object with the ability to set a timeout on a request.
func (*GetAccountConfigurationParams) SetContext ¶
func (o *GetAccountConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the get account configuration params
func (*GetAccountConfigurationParams) SetDefaults ¶
func (o *GetAccountConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the get account configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountConfigurationParams) SetHTTPClient ¶
func (o *GetAccountConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account configuration params
func (*GetAccountConfigurationParams) SetID ¶
func (o *GetAccountConfigurationParams) SetID(id int32)
SetID adds the id to the get account configuration params
func (*GetAccountConfigurationParams) SetTimeout ¶
func (o *GetAccountConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account configuration params
func (*GetAccountConfigurationParams) SetXAvalaraClient ¶
func (o *GetAccountConfigurationParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get account configuration params
func (*GetAccountConfigurationParams) WithContext ¶
func (o *GetAccountConfigurationParams) WithContext(ctx context.Context) *GetAccountConfigurationParams
WithContext adds the context to the get account configuration params
func (*GetAccountConfigurationParams) WithDefaults ¶
func (o *GetAccountConfigurationParams) WithDefaults() *GetAccountConfigurationParams
WithDefaults hydrates default values in the get account configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountConfigurationParams) WithHTTPClient ¶
func (o *GetAccountConfigurationParams) WithHTTPClient(client *http.Client) *GetAccountConfigurationParams
WithHTTPClient adds the HTTPClient to the get account configuration params
func (*GetAccountConfigurationParams) WithID ¶
func (o *GetAccountConfigurationParams) WithID(id int32) *GetAccountConfigurationParams
WithID adds the id to the get account configuration params
func (*GetAccountConfigurationParams) WithTimeout ¶
func (o *GetAccountConfigurationParams) WithTimeout(timeout time.Duration) *GetAccountConfigurationParams
WithTimeout adds the timeout to the get account configuration params
func (*GetAccountConfigurationParams) WithXAvalaraClient ¶
func (o *GetAccountConfigurationParams) WithXAvalaraClient(xAvalaraClient *string) *GetAccountConfigurationParams
WithXAvalaraClient adds the xAvalaraClient to the get account configuration params
func (*GetAccountConfigurationParams) WriteToRequest ¶
func (o *GetAccountConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountConfigurationReader ¶
type GetAccountConfigurationReader struct {
// contains filtered or unexported fields
}
GetAccountConfigurationReader is a Reader for the GetAccountConfiguration structure.
func (*GetAccountConfigurationReader) ReadResponse ¶
func (o *GetAccountConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountConfigurationUnauthorized ¶
type GetAccountConfigurationUnauthorized struct { }
GetAccountConfigurationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccountConfigurationUnauthorized ¶
func NewGetAccountConfigurationUnauthorized() *GetAccountConfigurationUnauthorized
NewGetAccountConfigurationUnauthorized creates a GetAccountConfigurationUnauthorized with default headers values
func (*GetAccountConfigurationUnauthorized) Error ¶
func (o *GetAccountConfigurationUnauthorized) Error() string
type GetAccountNotFound ¶
type GetAccountNotFound struct { }
GetAccountNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAccountNotFound ¶
func NewGetAccountNotFound() *GetAccountNotFound
NewGetAccountNotFound creates a GetAccountNotFound with default headers values
func (*GetAccountNotFound) Error ¶
func (o *GetAccountNotFound) Error() string
type GetAccountOK ¶
type GetAccountOK struct {
Payload *models.AccountModel
}
GetAccountOK describes a response with status code 200, with default header values.
Success
func NewGetAccountOK ¶
func NewGetAccountOK() *GetAccountOK
NewGetAccountOK creates a GetAccountOK with default headers values
func (*GetAccountOK) Error ¶
func (o *GetAccountOK) Error() string
func (*GetAccountOK) GetPayload ¶
func (o *GetAccountOK) GetPayload() *models.AccountModel
type GetAccountParams ¶
type GetAccountParams struct { /* DollarInclude. A comma separated list of special fetch options */ DollarInclude *string /* 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 /* ID. The ID of the account to retrieve Format: int32 */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountParams contains all the parameters to send to the API endpoint
for the get account operation. Typically these are written to a http.Request.
func NewGetAccountParams ¶
func NewGetAccountParams() *GetAccountParams
NewGetAccountParams creates a new GetAccountParams 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 NewGetAccountParamsWithContext ¶
func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams
NewGetAccountParamsWithContext creates a new GetAccountParams object with the ability to set a context for a request.
func NewGetAccountParamsWithHTTPClient ¶
func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams
NewGetAccountParamsWithHTTPClient creates a new GetAccountParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountParamsWithTimeout ¶
func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams
NewGetAccountParamsWithTimeout creates a new GetAccountParams object with the ability to set a timeout on a request.
func (*GetAccountParams) SetContext ¶
func (o *GetAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get account params
func (*GetAccountParams) SetDefaults ¶
func (o *GetAccountParams) SetDefaults()
SetDefaults hydrates default values in the get account params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountParams) SetDollarInclude ¶
func (o *GetAccountParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the get account params
func (*GetAccountParams) SetHTTPClient ¶
func (o *GetAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) SetID ¶
func (o *GetAccountParams) SetID(id int32)
SetID adds the id to the get account params
func (*GetAccountParams) SetTimeout ¶
func (o *GetAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account params
func (*GetAccountParams) SetXAvalaraClient ¶
func (o *GetAccountParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get account params
func (*GetAccountParams) WithContext ¶
func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
WithContext adds the context to the get account params
func (*GetAccountParams) WithDefaults ¶
func (o *GetAccountParams) WithDefaults() *GetAccountParams
WithDefaults hydrates default values in the get account params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountParams) WithDollarInclude ¶
func (o *GetAccountParams) WithDollarInclude(dollarInclude *string) *GetAccountParams
WithDollarInclude adds the dollarInclude to the get account params
func (*GetAccountParams) WithHTTPClient ¶
func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
WithHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) WithID ¶
func (o *GetAccountParams) WithID(id int32) *GetAccountParams
WithID adds the id to the get account params
func (*GetAccountParams) WithTimeout ¶
func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
WithTimeout adds the timeout to the get account params
func (*GetAccountParams) WithXAvalaraClient ¶
func (o *GetAccountParams) WithXAvalaraClient(xAvalaraClient *string) *GetAccountParams
WithXAvalaraClient adds the xAvalaraClient to the get account params
func (*GetAccountParams) WriteToRequest ¶
func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountReader ¶
type GetAccountReader struct {
// contains filtered or unexported fields
}
GetAccountReader is a Reader for the GetAccount structure.
func (*GetAccountReader) ReadResponse ¶
func (o *GetAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountUnauthorized ¶
type GetAccountUnauthorized struct { }
GetAccountUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccountUnauthorized ¶
func NewGetAccountUnauthorized() *GetAccountUnauthorized
NewGetAccountUnauthorized creates a GetAccountUnauthorized with default headers values
func (*GetAccountUnauthorized) Error ¶
func (o *GetAccountUnauthorized) Error() string
type GetLicenseKeyBadRequest ¶
type GetLicenseKeyBadRequest struct { }
GetLicenseKeyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetLicenseKeyBadRequest ¶
func NewGetLicenseKeyBadRequest() *GetLicenseKeyBadRequest
NewGetLicenseKeyBadRequest creates a GetLicenseKeyBadRequest with default headers values
func (*GetLicenseKeyBadRequest) Error ¶
func (o *GetLicenseKeyBadRequest) Error() string
type GetLicenseKeyNotFound ¶
type GetLicenseKeyNotFound struct { }
GetLicenseKeyNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetLicenseKeyNotFound ¶
func NewGetLicenseKeyNotFound() *GetLicenseKeyNotFound
NewGetLicenseKeyNotFound creates a GetLicenseKeyNotFound with default headers values
func (*GetLicenseKeyNotFound) Error ¶
func (o *GetLicenseKeyNotFound) Error() string
type GetLicenseKeyOK ¶
type GetLicenseKeyOK struct {
Payload *models.AccountLicenseKeyModel
}
GetLicenseKeyOK describes a response with status code 200, with default header values.
Success
func NewGetLicenseKeyOK ¶
func NewGetLicenseKeyOK() *GetLicenseKeyOK
NewGetLicenseKeyOK creates a GetLicenseKeyOK with default headers values
func (*GetLicenseKeyOK) Error ¶
func (o *GetLicenseKeyOK) Error() string
func (*GetLicenseKeyOK) GetPayload ¶
func (o *GetLicenseKeyOK) GetPayload() *models.AccountLicenseKeyModel
type GetLicenseKeyParams ¶
type GetLicenseKeyParams 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 /* ID. The ID of the account to retrieve Format: int32 */ ID int32 /* Licensekeyname. The ID of the account to retrieve */ Licensekeyname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLicenseKeyParams contains all the parameters to send to the API endpoint
for the get license key operation. Typically these are written to a http.Request.
func NewGetLicenseKeyParams ¶
func NewGetLicenseKeyParams() *GetLicenseKeyParams
NewGetLicenseKeyParams creates a new GetLicenseKeyParams 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 NewGetLicenseKeyParamsWithContext ¶
func NewGetLicenseKeyParamsWithContext(ctx context.Context) *GetLicenseKeyParams
NewGetLicenseKeyParamsWithContext creates a new GetLicenseKeyParams object with the ability to set a context for a request.
func NewGetLicenseKeyParamsWithHTTPClient ¶
func NewGetLicenseKeyParamsWithHTTPClient(client *http.Client) *GetLicenseKeyParams
NewGetLicenseKeyParamsWithHTTPClient creates a new GetLicenseKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetLicenseKeyParamsWithTimeout ¶
func NewGetLicenseKeyParamsWithTimeout(timeout time.Duration) *GetLicenseKeyParams
NewGetLicenseKeyParamsWithTimeout creates a new GetLicenseKeyParams object with the ability to set a timeout on a request.
func (*GetLicenseKeyParams) SetContext ¶
func (o *GetLicenseKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get license key params
func (*GetLicenseKeyParams) SetDefaults ¶
func (o *GetLicenseKeyParams) SetDefaults()
SetDefaults hydrates default values in the get license key params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicenseKeyParams) SetHTTPClient ¶
func (o *GetLicenseKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get license key params
func (*GetLicenseKeyParams) SetID ¶
func (o *GetLicenseKeyParams) SetID(id int32)
SetID adds the id to the get license key params
func (*GetLicenseKeyParams) SetLicensekeyname ¶
func (o *GetLicenseKeyParams) SetLicensekeyname(licensekeyname string)
SetLicensekeyname adds the licensekeyname to the get license key params
func (*GetLicenseKeyParams) SetTimeout ¶
func (o *GetLicenseKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get license key params
func (*GetLicenseKeyParams) SetXAvalaraClient ¶
func (o *GetLicenseKeyParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get license key params
func (*GetLicenseKeyParams) WithContext ¶
func (o *GetLicenseKeyParams) WithContext(ctx context.Context) *GetLicenseKeyParams
WithContext adds the context to the get license key params
func (*GetLicenseKeyParams) WithDefaults ¶
func (o *GetLicenseKeyParams) WithDefaults() *GetLicenseKeyParams
WithDefaults hydrates default values in the get license key params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicenseKeyParams) WithHTTPClient ¶
func (o *GetLicenseKeyParams) WithHTTPClient(client *http.Client) *GetLicenseKeyParams
WithHTTPClient adds the HTTPClient to the get license key params
func (*GetLicenseKeyParams) WithID ¶
func (o *GetLicenseKeyParams) WithID(id int32) *GetLicenseKeyParams
WithID adds the id to the get license key params
func (*GetLicenseKeyParams) WithLicensekeyname ¶
func (o *GetLicenseKeyParams) WithLicensekeyname(licensekeyname string) *GetLicenseKeyParams
WithLicensekeyname adds the licensekeyname to the get license key params
func (*GetLicenseKeyParams) WithTimeout ¶
func (o *GetLicenseKeyParams) WithTimeout(timeout time.Duration) *GetLicenseKeyParams
WithTimeout adds the timeout to the get license key params
func (*GetLicenseKeyParams) WithXAvalaraClient ¶
func (o *GetLicenseKeyParams) WithXAvalaraClient(xAvalaraClient *string) *GetLicenseKeyParams
WithXAvalaraClient adds the xAvalaraClient to the get license key params
func (*GetLicenseKeyParams) WriteToRequest ¶
func (o *GetLicenseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLicenseKeyReader ¶
type GetLicenseKeyReader struct {
// contains filtered or unexported fields
}
GetLicenseKeyReader is a Reader for the GetLicenseKey structure.
func (*GetLicenseKeyReader) ReadResponse ¶
func (o *GetLicenseKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLicenseKeyUnauthorized ¶
type GetLicenseKeyUnauthorized struct { }
GetLicenseKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetLicenseKeyUnauthorized ¶
func NewGetLicenseKeyUnauthorized() *GetLicenseKeyUnauthorized
NewGetLicenseKeyUnauthorized creates a GetLicenseKeyUnauthorized with default headers values
func (*GetLicenseKeyUnauthorized) Error ¶
func (o *GetLicenseKeyUnauthorized) Error() string
type GetLicenseKeysBadRequest ¶
type GetLicenseKeysBadRequest struct { }
GetLicenseKeysBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetLicenseKeysBadRequest ¶
func NewGetLicenseKeysBadRequest() *GetLicenseKeysBadRequest
NewGetLicenseKeysBadRequest creates a GetLicenseKeysBadRequest with default headers values
func (*GetLicenseKeysBadRequest) Error ¶
func (o *GetLicenseKeysBadRequest) Error() string
type GetLicenseKeysNotFound ¶
type GetLicenseKeysNotFound struct { }
GetLicenseKeysNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetLicenseKeysNotFound ¶
func NewGetLicenseKeysNotFound() *GetLicenseKeysNotFound
NewGetLicenseKeysNotFound creates a GetLicenseKeysNotFound with default headers values
func (*GetLicenseKeysNotFound) Error ¶
func (o *GetLicenseKeysNotFound) Error() string
type GetLicenseKeysOK ¶
type GetLicenseKeysOK struct {
Payload []*models.AccountLicenseKeyModel
}
GetLicenseKeysOK describes a response with status code 200, with default header values.
Success
func NewGetLicenseKeysOK ¶
func NewGetLicenseKeysOK() *GetLicenseKeysOK
NewGetLicenseKeysOK creates a GetLicenseKeysOK with default headers values
func (*GetLicenseKeysOK) Error ¶
func (o *GetLicenseKeysOK) Error() string
func (*GetLicenseKeysOK) GetPayload ¶
func (o *GetLicenseKeysOK) GetPayload() []*models.AccountLicenseKeyModel
type GetLicenseKeysParams ¶
type GetLicenseKeysParams 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 /* ID. The ID of the account to retrieve Format: int32 */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLicenseKeysParams contains all the parameters to send to the API endpoint
for the get license keys operation. Typically these are written to a http.Request.
func NewGetLicenseKeysParams ¶
func NewGetLicenseKeysParams() *GetLicenseKeysParams
NewGetLicenseKeysParams creates a new GetLicenseKeysParams 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 NewGetLicenseKeysParamsWithContext ¶
func NewGetLicenseKeysParamsWithContext(ctx context.Context) *GetLicenseKeysParams
NewGetLicenseKeysParamsWithContext creates a new GetLicenseKeysParams object with the ability to set a context for a request.
func NewGetLicenseKeysParamsWithHTTPClient ¶
func NewGetLicenseKeysParamsWithHTTPClient(client *http.Client) *GetLicenseKeysParams
NewGetLicenseKeysParamsWithHTTPClient creates a new GetLicenseKeysParams object with the ability to set a custom HTTPClient for a request.
func NewGetLicenseKeysParamsWithTimeout ¶
func NewGetLicenseKeysParamsWithTimeout(timeout time.Duration) *GetLicenseKeysParams
NewGetLicenseKeysParamsWithTimeout creates a new GetLicenseKeysParams object with the ability to set a timeout on a request.
func (*GetLicenseKeysParams) SetContext ¶
func (o *GetLicenseKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the get license keys params
func (*GetLicenseKeysParams) SetDefaults ¶
func (o *GetLicenseKeysParams) SetDefaults()
SetDefaults hydrates default values in the get license keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicenseKeysParams) SetHTTPClient ¶
func (o *GetLicenseKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get license keys params
func (*GetLicenseKeysParams) SetID ¶
func (o *GetLicenseKeysParams) SetID(id int32)
SetID adds the id to the get license keys params
func (*GetLicenseKeysParams) SetTimeout ¶
func (o *GetLicenseKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get license keys params
func (*GetLicenseKeysParams) SetXAvalaraClient ¶
func (o *GetLicenseKeysParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get license keys params
func (*GetLicenseKeysParams) WithContext ¶
func (o *GetLicenseKeysParams) WithContext(ctx context.Context) *GetLicenseKeysParams
WithContext adds the context to the get license keys params
func (*GetLicenseKeysParams) WithDefaults ¶
func (o *GetLicenseKeysParams) WithDefaults() *GetLicenseKeysParams
WithDefaults hydrates default values in the get license keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetLicenseKeysParams) WithHTTPClient ¶
func (o *GetLicenseKeysParams) WithHTTPClient(client *http.Client) *GetLicenseKeysParams
WithHTTPClient adds the HTTPClient to the get license keys params
func (*GetLicenseKeysParams) WithID ¶
func (o *GetLicenseKeysParams) WithID(id int32) *GetLicenseKeysParams
WithID adds the id to the get license keys params
func (*GetLicenseKeysParams) WithTimeout ¶
func (o *GetLicenseKeysParams) WithTimeout(timeout time.Duration) *GetLicenseKeysParams
WithTimeout adds the timeout to the get license keys params
func (*GetLicenseKeysParams) WithXAvalaraClient ¶
func (o *GetLicenseKeysParams) WithXAvalaraClient(xAvalaraClient *string) *GetLicenseKeysParams
WithXAvalaraClient adds the xAvalaraClient to the get license keys params
func (*GetLicenseKeysParams) WriteToRequest ¶
func (o *GetLicenseKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLicenseKeysReader ¶
type GetLicenseKeysReader struct {
// contains filtered or unexported fields
}
GetLicenseKeysReader is a Reader for the GetLicenseKeys structure.
func (*GetLicenseKeysReader) ReadResponse ¶
func (o *GetLicenseKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLicenseKeysUnauthorized ¶
type GetLicenseKeysUnauthorized struct { }
GetLicenseKeysUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetLicenseKeysUnauthorized ¶
func NewGetLicenseKeysUnauthorized() *GetLicenseKeysUnauthorized
NewGetLicenseKeysUnauthorized creates a GetLicenseKeysUnauthorized with default headers values
func (*GetLicenseKeysUnauthorized) Error ¶
func (o *GetLicenseKeysUnauthorized) Error() string
type QueryAccountsBadRequest ¶
type QueryAccountsBadRequest struct { }
QueryAccountsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryAccountsBadRequest ¶
func NewQueryAccountsBadRequest() *QueryAccountsBadRequest
NewQueryAccountsBadRequest creates a QueryAccountsBadRequest with default headers values
func (*QueryAccountsBadRequest) Error ¶
func (o *QueryAccountsBadRequest) Error() string
type QueryAccountsOK ¶
type QueryAccountsOK struct {
Payload *models.AccountModelFetchResult
}
QueryAccountsOK describes a response with status code 200, with default header values.
Success
func NewQueryAccountsOK ¶
func NewQueryAccountsOK() *QueryAccountsOK
NewQueryAccountsOK creates a QueryAccountsOK with default headers values
func (*QueryAccountsOK) Error ¶
func (o *QueryAccountsOK) Error() string
func (*QueryAccountsOK) GetPayload ¶
func (o *QueryAccountsOK) GetPayload() *models.AccountModelFetchResult
type QueryAccountsParams ¶
type QueryAccountsParams struct { /* DollarFilter. A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* subscriptions, users */ DollarFilter *string /* DollarInclude. A comma separated list of objects to fetch underneath this account. Any object with a URL path underneath this account can be fetched by specifying its name. */ DollarInclude *string /* DollarOrderBy. A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. */ DollarOrderBy *string /* DollarSkip. If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. Format: int32 */ DollarSkip *int32 /* DollarTop. If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records. Format: int32 */ DollarTop *int32 /* 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryAccountsParams contains all the parameters to send to the API endpoint
for the query accounts operation. Typically these are written to a http.Request.
func NewQueryAccountsParams ¶
func NewQueryAccountsParams() *QueryAccountsParams
NewQueryAccountsParams creates a new QueryAccountsParams 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 NewQueryAccountsParamsWithContext ¶
func NewQueryAccountsParamsWithContext(ctx context.Context) *QueryAccountsParams
NewQueryAccountsParamsWithContext creates a new QueryAccountsParams object with the ability to set a context for a request.
func NewQueryAccountsParamsWithHTTPClient ¶
func NewQueryAccountsParamsWithHTTPClient(client *http.Client) *QueryAccountsParams
NewQueryAccountsParamsWithHTTPClient creates a new QueryAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryAccountsParamsWithTimeout ¶
func NewQueryAccountsParamsWithTimeout(timeout time.Duration) *QueryAccountsParams
NewQueryAccountsParamsWithTimeout creates a new QueryAccountsParams object with the ability to set a timeout on a request.
func (*QueryAccountsParams) SetContext ¶
func (o *QueryAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the query accounts params
func (*QueryAccountsParams) SetDefaults ¶
func (o *QueryAccountsParams) SetDefaults()
SetDefaults hydrates default values in the query accounts params (not the query body).
All values with no default are reset to their zero value.
func (*QueryAccountsParams) SetDollarFilter ¶
func (o *QueryAccountsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the query accounts params
func (*QueryAccountsParams) SetDollarInclude ¶
func (o *QueryAccountsParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the query accounts params
func (*QueryAccountsParams) SetDollarOrderBy ¶
func (o *QueryAccountsParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the query accounts params
func (*QueryAccountsParams) SetDollarSkip ¶
func (o *QueryAccountsParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the query accounts params
func (*QueryAccountsParams) SetDollarTop ¶
func (o *QueryAccountsParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the query accounts params
func (*QueryAccountsParams) SetHTTPClient ¶
func (o *QueryAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query accounts params
func (*QueryAccountsParams) SetTimeout ¶
func (o *QueryAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query accounts params
func (*QueryAccountsParams) SetXAvalaraClient ¶
func (o *QueryAccountsParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the query accounts params
func (*QueryAccountsParams) WithContext ¶
func (o *QueryAccountsParams) WithContext(ctx context.Context) *QueryAccountsParams
WithContext adds the context to the query accounts params
func (*QueryAccountsParams) WithDefaults ¶
func (o *QueryAccountsParams) WithDefaults() *QueryAccountsParams
WithDefaults hydrates default values in the query accounts params (not the query body).
All values with no default are reset to their zero value.
func (*QueryAccountsParams) WithDollarFilter ¶
func (o *QueryAccountsParams) WithDollarFilter(dollarFilter *string) *QueryAccountsParams
WithDollarFilter adds the dollarFilter to the query accounts params
func (*QueryAccountsParams) WithDollarInclude ¶
func (o *QueryAccountsParams) WithDollarInclude(dollarInclude *string) *QueryAccountsParams
WithDollarInclude adds the dollarInclude to the query accounts params
func (*QueryAccountsParams) WithDollarOrderBy ¶
func (o *QueryAccountsParams) WithDollarOrderBy(dollarOrderBy *string) *QueryAccountsParams
WithDollarOrderBy adds the dollarOrderBy to the query accounts params
func (*QueryAccountsParams) WithDollarSkip ¶
func (o *QueryAccountsParams) WithDollarSkip(dollarSkip *int32) *QueryAccountsParams
WithDollarSkip adds the dollarSkip to the query accounts params
func (*QueryAccountsParams) WithDollarTop ¶
func (o *QueryAccountsParams) WithDollarTop(dollarTop *int32) *QueryAccountsParams
WithDollarTop adds the dollarTop to the query accounts params
func (*QueryAccountsParams) WithHTTPClient ¶
func (o *QueryAccountsParams) WithHTTPClient(client *http.Client) *QueryAccountsParams
WithHTTPClient adds the HTTPClient to the query accounts params
func (*QueryAccountsParams) WithTimeout ¶
func (o *QueryAccountsParams) WithTimeout(timeout time.Duration) *QueryAccountsParams
WithTimeout adds the timeout to the query accounts params
func (*QueryAccountsParams) WithXAvalaraClient ¶
func (o *QueryAccountsParams) WithXAvalaraClient(xAvalaraClient *string) *QueryAccountsParams
WithXAvalaraClient adds the xAvalaraClient to the query accounts params
func (*QueryAccountsParams) WriteToRequest ¶
func (o *QueryAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryAccountsReader ¶
type QueryAccountsReader struct {
// contains filtered or unexported fields
}
QueryAccountsReader is a Reader for the QueryAccounts structure.
func (*QueryAccountsReader) ReadResponse ¶
func (o *QueryAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryAccountsUnauthorized ¶
type QueryAccountsUnauthorized struct { }
QueryAccountsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewQueryAccountsUnauthorized ¶
func NewQueryAccountsUnauthorized() *QueryAccountsUnauthorized
NewQueryAccountsUnauthorized creates a QueryAccountsUnauthorized with default headers values
func (*QueryAccountsUnauthorized) Error ¶
func (o *QueryAccountsUnauthorized) Error() string
type SetAccountConfigurationBadRequest ¶
type SetAccountConfigurationBadRequest struct { }
SetAccountConfigurationBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSetAccountConfigurationBadRequest ¶
func NewSetAccountConfigurationBadRequest() *SetAccountConfigurationBadRequest
NewSetAccountConfigurationBadRequest creates a SetAccountConfigurationBadRequest with default headers values
func (*SetAccountConfigurationBadRequest) Error ¶
func (o *SetAccountConfigurationBadRequest) Error() string
type SetAccountConfigurationNotFound ¶
type SetAccountConfigurationNotFound struct { }
SetAccountConfigurationNotFound describes a response with status code 404, with default header values.
Not Found
func NewSetAccountConfigurationNotFound ¶
func NewSetAccountConfigurationNotFound() *SetAccountConfigurationNotFound
NewSetAccountConfigurationNotFound creates a SetAccountConfigurationNotFound with default headers values
func (*SetAccountConfigurationNotFound) Error ¶
func (o *SetAccountConfigurationNotFound) Error() string
type SetAccountConfigurationOK ¶
type SetAccountConfigurationOK struct {
Payload []*models.AccountConfigurationModel
}
SetAccountConfigurationOK describes a response with status code 200, with default header values.
Success
func NewSetAccountConfigurationOK ¶
func NewSetAccountConfigurationOK() *SetAccountConfigurationOK
NewSetAccountConfigurationOK creates a SetAccountConfigurationOK with default headers values
func (*SetAccountConfigurationOK) Error ¶
func (o *SetAccountConfigurationOK) Error() string
func (*SetAccountConfigurationOK) GetPayload ¶
func (o *SetAccountConfigurationOK) GetPayload() []*models.AccountConfigurationModel
type SetAccountConfigurationParams ¶
type SetAccountConfigurationParams 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 // Body. Body []*models.AccountConfigurationModel // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetAccountConfigurationParams contains all the parameters to send to the API endpoint
for the set account configuration operation. Typically these are written to a http.Request.
func NewSetAccountConfigurationParams ¶
func NewSetAccountConfigurationParams() *SetAccountConfigurationParams
NewSetAccountConfigurationParams creates a new SetAccountConfigurationParams 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 NewSetAccountConfigurationParamsWithContext ¶
func NewSetAccountConfigurationParamsWithContext(ctx context.Context) *SetAccountConfigurationParams
NewSetAccountConfigurationParamsWithContext creates a new SetAccountConfigurationParams object with the ability to set a context for a request.
func NewSetAccountConfigurationParamsWithHTTPClient ¶
func NewSetAccountConfigurationParamsWithHTTPClient(client *http.Client) *SetAccountConfigurationParams
NewSetAccountConfigurationParamsWithHTTPClient creates a new SetAccountConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewSetAccountConfigurationParamsWithTimeout ¶
func NewSetAccountConfigurationParamsWithTimeout(timeout time.Duration) *SetAccountConfigurationParams
NewSetAccountConfigurationParamsWithTimeout creates a new SetAccountConfigurationParams object with the ability to set a timeout on a request.
func (*SetAccountConfigurationParams) SetBody ¶
func (o *SetAccountConfigurationParams) SetBody(body []*models.AccountConfigurationModel)
SetBody adds the body to the set account configuration params
func (*SetAccountConfigurationParams) SetContext ¶
func (o *SetAccountConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the set account configuration params
func (*SetAccountConfigurationParams) SetDefaults ¶
func (o *SetAccountConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the set account configuration params (not the query body).
All values with no default are reset to their zero value.
func (*SetAccountConfigurationParams) SetHTTPClient ¶
func (o *SetAccountConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set account configuration params
func (*SetAccountConfigurationParams) SetID ¶
func (o *SetAccountConfigurationParams) SetID(id int32)
SetID adds the id to the set account configuration params
func (*SetAccountConfigurationParams) SetTimeout ¶
func (o *SetAccountConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set account configuration params
func (*SetAccountConfigurationParams) SetXAvalaraClient ¶
func (o *SetAccountConfigurationParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the set account configuration params
func (*SetAccountConfigurationParams) WithBody ¶
func (o *SetAccountConfigurationParams) WithBody(body []*models.AccountConfigurationModel) *SetAccountConfigurationParams
WithBody adds the body to the set account configuration params
func (*SetAccountConfigurationParams) WithContext ¶
func (o *SetAccountConfigurationParams) WithContext(ctx context.Context) *SetAccountConfigurationParams
WithContext adds the context to the set account configuration params
func (*SetAccountConfigurationParams) WithDefaults ¶
func (o *SetAccountConfigurationParams) WithDefaults() *SetAccountConfigurationParams
WithDefaults hydrates default values in the set account configuration params (not the query body).
All values with no default are reset to their zero value.
func (*SetAccountConfigurationParams) WithHTTPClient ¶
func (o *SetAccountConfigurationParams) WithHTTPClient(client *http.Client) *SetAccountConfigurationParams
WithHTTPClient adds the HTTPClient to the set account configuration params
func (*SetAccountConfigurationParams) WithID ¶
func (o *SetAccountConfigurationParams) WithID(id int32) *SetAccountConfigurationParams
WithID adds the id to the set account configuration params
func (*SetAccountConfigurationParams) WithTimeout ¶
func (o *SetAccountConfigurationParams) WithTimeout(timeout time.Duration) *SetAccountConfigurationParams
WithTimeout adds the timeout to the set account configuration params
func (*SetAccountConfigurationParams) WithXAvalaraClient ¶
func (o *SetAccountConfigurationParams) WithXAvalaraClient(xAvalaraClient *string) *SetAccountConfigurationParams
WithXAvalaraClient adds the xAvalaraClient to the set account configuration params
func (*SetAccountConfigurationParams) WriteToRequest ¶
func (o *SetAccountConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetAccountConfigurationReader ¶
type SetAccountConfigurationReader struct {
// contains filtered or unexported fields
}
SetAccountConfigurationReader is a Reader for the SetAccountConfiguration structure.
func (*SetAccountConfigurationReader) ReadResponse ¶
func (o *SetAccountConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetAccountConfigurationUnauthorized ¶
type SetAccountConfigurationUnauthorized struct { }
SetAccountConfigurationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetAccountConfigurationUnauthorized ¶
func NewSetAccountConfigurationUnauthorized() *SetAccountConfigurationUnauthorized
NewSetAccountConfigurationUnauthorized creates a SetAccountConfigurationUnauthorized with default headers values
func (*SetAccountConfigurationUnauthorized) Error ¶
func (o *SetAccountConfigurationUnauthorized) Error() string
Source Files
¶
- account_reset_license_key_parameters.go
- account_reset_license_key_responses.go
- accounts_client.go
- activate_account_parameters.go
- activate_account_responses.go
- audit_account_parameters.go
- audit_account_responses.go
- create_license_key_parameters.go
- create_license_key_responses.go
- delete_license_key_parameters.go
- delete_license_key_responses.go
- get_account_configuration_parameters.go
- get_account_configuration_responses.go
- get_account_parameters.go
- get_account_responses.go
- get_license_key_parameters.go
- get_license_key_responses.go
- get_license_keys_parameters.go
- get_license_keys_responses.go
- query_accounts_parameters.go
- query_accounts_responses.go
- set_account_configuration_parameters.go
- set_account_configuration_responses.go