Versions in this module Expand all Collapse all v0 v0.0.7 Apr 25, 2022 v0.0.6 Apr 25, 2022 v0.0.5 Apr 25, 2022 v0.0.4 Apr 25, 2022 v0.0.3 Jan 11, 2022 v0.0.2 Jan 2, 2022 v0.0.1 Dec 26, 2021 Changes in this version + type Client struct + func (a *Client) CreateDistanceThreshold(params *CreateDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDistanceThresholdOK, error) + func (a *Client) DeleteDistanceThreshold(params *DeleteDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDistanceThresholdOK, error) + func (a *Client) GetDistanceThreshold(params *GetDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDistanceThresholdOK, error) + func (a *Client) ListDistanceThresholds(params *ListDistanceThresholdsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDistanceThresholdsOK, error) + func (a *Client) QueryDistanceThresholds(params *QueryDistanceThresholdsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryDistanceThresholdsOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UpdateDistanceThreshold(params *UpdateDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDistanceThresholdOK, error) + type ClientOption func(*runtime.ClientOperation) + type ClientService interface + CreateDistanceThreshold func(params *CreateDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDistanceThresholdOK, error) + DeleteDistanceThreshold func(params *DeleteDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDistanceThresholdOK, error) + GetDistanceThreshold func(params *GetDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDistanceThresholdOK, error) + ListDistanceThresholds func(params *ListDistanceThresholdsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDistanceThresholdsOK, error) + QueryDistanceThresholds func(params *QueryDistanceThresholdsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryDistanceThresholdsOK, error) + SetTransport func(transport runtime.ClientTransport) + UpdateDistanceThreshold func(params *UpdateDistanceThresholdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDistanceThresholdOK, error) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type CreateDistanceThresholdBadRequest struct + func NewCreateDistanceThresholdBadRequest() *CreateDistanceThresholdBadRequest + func (o *CreateDistanceThresholdBadRequest) Error() string + type CreateDistanceThresholdNotFound struct + func NewCreateDistanceThresholdNotFound() *CreateDistanceThresholdNotFound + func (o *CreateDistanceThresholdNotFound) Error() string + type CreateDistanceThresholdOK struct + Payload []*models.CompanyDistanceThresholdModel + func NewCreateDistanceThresholdOK() *CreateDistanceThresholdOK + func (o *CreateDistanceThresholdOK) Error() string + func (o *CreateDistanceThresholdOK) GetPayload() []*models.CompanyDistanceThresholdModel + type CreateDistanceThresholdParams struct + Body []*models.CompanyDistanceThresholdModel + CompanyID int32 + Context context.Context + HTTPClient *http.Client + XAvalaraClient *string + func NewCreateDistanceThresholdParams() *CreateDistanceThresholdParams + func NewCreateDistanceThresholdParamsWithContext(ctx context.Context) *CreateDistanceThresholdParams + func NewCreateDistanceThresholdParamsWithHTTPClient(client *http.Client) *CreateDistanceThresholdParams + func NewCreateDistanceThresholdParamsWithTimeout(timeout time.Duration) *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) SetBody(body []*models.CompanyDistanceThresholdModel) + func (o *CreateDistanceThresholdParams) SetCompanyID(companyID int32) + func (o *CreateDistanceThresholdParams) SetContext(ctx context.Context) + func (o *CreateDistanceThresholdParams) SetDefaults() + func (o *CreateDistanceThresholdParams) SetHTTPClient(client *http.Client) + func (o *CreateDistanceThresholdParams) SetTimeout(timeout time.Duration) + func (o *CreateDistanceThresholdParams) SetXAvalaraClient(xAvalaraClient *string) + func (o *CreateDistanceThresholdParams) WithBody(body []*models.CompanyDistanceThresholdModel) *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) WithCompanyID(companyID int32) *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) WithContext(ctx context.Context) *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) WithDefaults() *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) WithHTTPClient(client *http.Client) *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) WithTimeout(timeout time.Duration) *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) WithXAvalaraClient(xAvalaraClient *string) *CreateDistanceThresholdParams + func (o *CreateDistanceThresholdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateDistanceThresholdReader struct + func (o *CreateDistanceThresholdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CreateDistanceThresholdUnauthorized struct + func NewCreateDistanceThresholdUnauthorized() *CreateDistanceThresholdUnauthorized + func (o *CreateDistanceThresholdUnauthorized) Error() string + type DeleteDistanceThresholdBadRequest struct + func NewDeleteDistanceThresholdBadRequest() *DeleteDistanceThresholdBadRequest + func (o *DeleteDistanceThresholdBadRequest) Error() string + type DeleteDistanceThresholdNotFound struct + func NewDeleteDistanceThresholdNotFound() *DeleteDistanceThresholdNotFound + func (o *DeleteDistanceThresholdNotFound) Error() string + type DeleteDistanceThresholdOK struct + Payload []*models.ErrorDetail + func NewDeleteDistanceThresholdOK() *DeleteDistanceThresholdOK + func (o *DeleteDistanceThresholdOK) Error() string + func (o *DeleteDistanceThresholdOK) GetPayload() []*models.ErrorDetail + type DeleteDistanceThresholdParams struct + CompanyID int32 + Context context.Context + HTTPClient *http.Client + ID int64 + XAvalaraClient *string + func NewDeleteDistanceThresholdParams() *DeleteDistanceThresholdParams + func NewDeleteDistanceThresholdParamsWithContext(ctx context.Context) *DeleteDistanceThresholdParams + func NewDeleteDistanceThresholdParamsWithHTTPClient(client *http.Client) *DeleteDistanceThresholdParams + func NewDeleteDistanceThresholdParamsWithTimeout(timeout time.Duration) *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) SetCompanyID(companyID int32) + func (o *DeleteDistanceThresholdParams) SetContext(ctx context.Context) + func (o *DeleteDistanceThresholdParams) SetDefaults() + func (o *DeleteDistanceThresholdParams) SetHTTPClient(client *http.Client) + func (o *DeleteDistanceThresholdParams) SetID(id int64) + func (o *DeleteDistanceThresholdParams) SetTimeout(timeout time.Duration) + func (o *DeleteDistanceThresholdParams) SetXAvalaraClient(xAvalaraClient *string) + func (o *DeleteDistanceThresholdParams) WithCompanyID(companyID int32) *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) WithContext(ctx context.Context) *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) WithDefaults() *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) WithHTTPClient(client *http.Client) *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) WithID(id int64) *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) WithTimeout(timeout time.Duration) *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteDistanceThresholdParams + func (o *DeleteDistanceThresholdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteDistanceThresholdReader struct + func (o *DeleteDistanceThresholdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteDistanceThresholdUnauthorized struct + func NewDeleteDistanceThresholdUnauthorized() *DeleteDistanceThresholdUnauthorized + func (o *DeleteDistanceThresholdUnauthorized) Error() string + type GetDistanceThresholdBadRequest struct + func NewGetDistanceThresholdBadRequest() *GetDistanceThresholdBadRequest + func (o *GetDistanceThresholdBadRequest) Error() string + type GetDistanceThresholdNotFound struct + func NewGetDistanceThresholdNotFound() *GetDistanceThresholdNotFound + func (o *GetDistanceThresholdNotFound) Error() string + type GetDistanceThresholdOK struct + Payload *models.CompanyDistanceThresholdModel + func NewGetDistanceThresholdOK() *GetDistanceThresholdOK + func (o *GetDistanceThresholdOK) Error() string + func (o *GetDistanceThresholdOK) GetPayload() *models.CompanyDistanceThresholdModel + type GetDistanceThresholdParams struct + CompanyID int32 + Context context.Context + HTTPClient *http.Client + ID int64 + XAvalaraClient *string + func NewGetDistanceThresholdParams() *GetDistanceThresholdParams + func NewGetDistanceThresholdParamsWithContext(ctx context.Context) *GetDistanceThresholdParams + func NewGetDistanceThresholdParamsWithHTTPClient(client *http.Client) *GetDistanceThresholdParams + func NewGetDistanceThresholdParamsWithTimeout(timeout time.Duration) *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) SetCompanyID(companyID int32) + func (o *GetDistanceThresholdParams) SetContext(ctx context.Context) + func (o *GetDistanceThresholdParams) SetDefaults() + func (o *GetDistanceThresholdParams) SetHTTPClient(client *http.Client) + func (o *GetDistanceThresholdParams) SetID(id int64) + func (o *GetDistanceThresholdParams) SetTimeout(timeout time.Duration) + func (o *GetDistanceThresholdParams) SetXAvalaraClient(xAvalaraClient *string) + func (o *GetDistanceThresholdParams) WithCompanyID(companyID int32) *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) WithContext(ctx context.Context) *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) WithDefaults() *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) WithHTTPClient(client *http.Client) *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) WithID(id int64) *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) WithTimeout(timeout time.Duration) *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) WithXAvalaraClient(xAvalaraClient *string) *GetDistanceThresholdParams + func (o *GetDistanceThresholdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetDistanceThresholdReader struct + func (o *GetDistanceThresholdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetDistanceThresholdUnauthorized struct + func NewGetDistanceThresholdUnauthorized() *GetDistanceThresholdUnauthorized + func (o *GetDistanceThresholdUnauthorized) Error() string + type ListDistanceThresholdsBadRequest struct + func NewListDistanceThresholdsBadRequest() *ListDistanceThresholdsBadRequest + func (o *ListDistanceThresholdsBadRequest) Error() string + type ListDistanceThresholdsNotFound struct + func NewListDistanceThresholdsNotFound() *ListDistanceThresholdsNotFound + func (o *ListDistanceThresholdsNotFound) Error() string + type ListDistanceThresholdsOK struct + Payload *models.CompanyDistanceThresholdModelFetchResult + func NewListDistanceThresholdsOK() *ListDistanceThresholdsOK + func (o *ListDistanceThresholdsOK) Error() string + func (o *ListDistanceThresholdsOK) GetPayload() *models.CompanyDistanceThresholdModelFetchResult + type ListDistanceThresholdsParams struct + CompanyID int32 + Context context.Context + DollarFilter *string + DollarInclude *string + DollarOrderBy *string + DollarSkip *int32 + DollarTop *int32 + HTTPClient *http.Client + XAvalaraClient *string + func NewListDistanceThresholdsParams() *ListDistanceThresholdsParams + func NewListDistanceThresholdsParamsWithContext(ctx context.Context) *ListDistanceThresholdsParams + func NewListDistanceThresholdsParamsWithHTTPClient(client *http.Client) *ListDistanceThresholdsParams + func NewListDistanceThresholdsParamsWithTimeout(timeout time.Duration) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) SetCompanyID(companyID int32) + func (o *ListDistanceThresholdsParams) SetContext(ctx context.Context) + func (o *ListDistanceThresholdsParams) SetDefaults() + func (o *ListDistanceThresholdsParams) SetDollarFilter(dollarFilter *string) + func (o *ListDistanceThresholdsParams) SetDollarInclude(dollarInclude *string) + func (o *ListDistanceThresholdsParams) SetDollarOrderBy(dollarOrderBy *string) + func (o *ListDistanceThresholdsParams) SetDollarSkip(dollarSkip *int32) + func (o *ListDistanceThresholdsParams) SetDollarTop(dollarTop *int32) + func (o *ListDistanceThresholdsParams) SetHTTPClient(client *http.Client) + func (o *ListDistanceThresholdsParams) SetTimeout(timeout time.Duration) + func (o *ListDistanceThresholdsParams) SetXAvalaraClient(xAvalaraClient *string) + func (o *ListDistanceThresholdsParams) WithCompanyID(companyID int32) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithContext(ctx context.Context) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithDefaults() *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithDollarFilter(dollarFilter *string) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithDollarInclude(dollarInclude *string) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithDollarOrderBy(dollarOrderBy *string) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithDollarSkip(dollarSkip *int32) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithDollarTop(dollarTop *int32) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithHTTPClient(client *http.Client) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithTimeout(timeout time.Duration) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WithXAvalaraClient(xAvalaraClient *string) *ListDistanceThresholdsParams + func (o *ListDistanceThresholdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ListDistanceThresholdsReader struct + func (o *ListDistanceThresholdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ListDistanceThresholdsUnauthorized struct + func NewListDistanceThresholdsUnauthorized() *ListDistanceThresholdsUnauthorized + func (o *ListDistanceThresholdsUnauthorized) Error() string + type QueryDistanceThresholdsBadRequest struct + func NewQueryDistanceThresholdsBadRequest() *QueryDistanceThresholdsBadRequest + func (o *QueryDistanceThresholdsBadRequest) Error() string + type QueryDistanceThresholdsOK struct + Payload *models.CompanyDistanceThresholdModelFetchResult + func NewQueryDistanceThresholdsOK() *QueryDistanceThresholdsOK + func (o *QueryDistanceThresholdsOK) Error() string + func (o *QueryDistanceThresholdsOK) GetPayload() *models.CompanyDistanceThresholdModelFetchResult + type QueryDistanceThresholdsParams struct + Context context.Context + DollarFilter *string + DollarInclude *string + DollarOrderBy *string + DollarSkip *int32 + DollarTop *int32 + HTTPClient *http.Client + XAvalaraClient *string + func NewQueryDistanceThresholdsParams() *QueryDistanceThresholdsParams + func NewQueryDistanceThresholdsParamsWithContext(ctx context.Context) *QueryDistanceThresholdsParams + func NewQueryDistanceThresholdsParamsWithHTTPClient(client *http.Client) *QueryDistanceThresholdsParams + func NewQueryDistanceThresholdsParamsWithTimeout(timeout time.Duration) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) SetContext(ctx context.Context) + func (o *QueryDistanceThresholdsParams) SetDefaults() + func (o *QueryDistanceThresholdsParams) SetDollarFilter(dollarFilter *string) + func (o *QueryDistanceThresholdsParams) SetDollarInclude(dollarInclude *string) + func (o *QueryDistanceThresholdsParams) SetDollarOrderBy(dollarOrderBy *string) + func (o *QueryDistanceThresholdsParams) SetDollarSkip(dollarSkip *int32) + func (o *QueryDistanceThresholdsParams) SetDollarTop(dollarTop *int32) + func (o *QueryDistanceThresholdsParams) SetHTTPClient(client *http.Client) + func (o *QueryDistanceThresholdsParams) SetTimeout(timeout time.Duration) + func (o *QueryDistanceThresholdsParams) SetXAvalaraClient(xAvalaraClient *string) + func (o *QueryDistanceThresholdsParams) WithContext(ctx context.Context) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithDefaults() *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithDollarFilter(dollarFilter *string) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithDollarInclude(dollarInclude *string) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithDollarOrderBy(dollarOrderBy *string) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithDollarSkip(dollarSkip *int32) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithDollarTop(dollarTop *int32) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithHTTPClient(client *http.Client) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithTimeout(timeout time.Duration) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WithXAvalaraClient(xAvalaraClient *string) *QueryDistanceThresholdsParams + func (o *QueryDistanceThresholdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type QueryDistanceThresholdsReader struct + func (o *QueryDistanceThresholdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type QueryDistanceThresholdsUnauthorized struct + func NewQueryDistanceThresholdsUnauthorized() *QueryDistanceThresholdsUnauthorized + func (o *QueryDistanceThresholdsUnauthorized) Error() string + type UpdateDistanceThresholdBadRequest struct + func NewUpdateDistanceThresholdBadRequest() *UpdateDistanceThresholdBadRequest + func (o *UpdateDistanceThresholdBadRequest) Error() string + type UpdateDistanceThresholdNotFound struct + func NewUpdateDistanceThresholdNotFound() *UpdateDistanceThresholdNotFound + func (o *UpdateDistanceThresholdNotFound) Error() string + type UpdateDistanceThresholdOK struct + Payload *models.CompanyDistanceThresholdModel + func NewUpdateDistanceThresholdOK() *UpdateDistanceThresholdOK + func (o *UpdateDistanceThresholdOK) Error() string + func (o *UpdateDistanceThresholdOK) GetPayload() *models.CompanyDistanceThresholdModel + type UpdateDistanceThresholdParams struct + Body *models.CompanyDistanceThresholdModel + CompanyID int32 + Context context.Context + HTTPClient *http.Client + ID int64 + XAvalaraClient *string + func NewUpdateDistanceThresholdParams() *UpdateDistanceThresholdParams + func NewUpdateDistanceThresholdParamsWithContext(ctx context.Context) *UpdateDistanceThresholdParams + func NewUpdateDistanceThresholdParamsWithHTTPClient(client *http.Client) *UpdateDistanceThresholdParams + func NewUpdateDistanceThresholdParamsWithTimeout(timeout time.Duration) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) SetBody(body *models.CompanyDistanceThresholdModel) + func (o *UpdateDistanceThresholdParams) SetCompanyID(companyID int32) + func (o *UpdateDistanceThresholdParams) SetContext(ctx context.Context) + func (o *UpdateDistanceThresholdParams) SetDefaults() + func (o *UpdateDistanceThresholdParams) SetHTTPClient(client *http.Client) + func (o *UpdateDistanceThresholdParams) SetID(id int64) + func (o *UpdateDistanceThresholdParams) SetTimeout(timeout time.Duration) + func (o *UpdateDistanceThresholdParams) SetXAvalaraClient(xAvalaraClient *string) + func (o *UpdateDistanceThresholdParams) WithBody(body *models.CompanyDistanceThresholdModel) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WithCompanyID(companyID int32) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WithContext(ctx context.Context) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WithDefaults() *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WithHTTPClient(client *http.Client) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WithID(id int64) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WithTimeout(timeout time.Duration) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateDistanceThresholdParams + func (o *UpdateDistanceThresholdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UpdateDistanceThresholdReader struct + func (o *UpdateDistanceThresholdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UpdateDistanceThresholdUnauthorized struct + func NewUpdateDistanceThresholdUnauthorized() *UpdateDistanceThresholdUnauthorized + func (o *UpdateDistanceThresholdUnauthorized) Error() string