registrar

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for registrar API

func (*Client) CreateAccount

func (a *Client) CreateAccount(params *CreateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountOK, error)
CreateAccount creates a new account

# For Registrar Use Only

This API is for use by Avalara Registrar administrative users only.

Create a single new account object. When creating an account object you may attach subscriptions and users as part of the 'Create' call.

### Security Policies

* This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.

func (*Client) CreateNotifications

func (a *Client) CreateNotifications(params *CreateNotificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNotificationsOK, error)
CreateNotifications creates new notifications

This API is available by invitation only.

Create a single notification.

A notification is a message from Avalara that may have relevance to your business. You may want to regularly review notifications and then dismiss them when you are certain that you have addressed any relevant concerns raised by this notification.

A Global notification is a message which is directed to all the accounts and is set to expire within a certain time and cannot be dismissed by the user. Make accountId and companyId null to create a global notification.

An example of a notification would be a message about new software, or a change to AvaTax that may affect you, or a potential issue with your company's tax profile.

### Security Policies

* This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [NotificationsAPI:Create].

func (*Client) CreateSubscriptions

func (a *Client) CreateSubscriptions(params *CreateSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSubscriptionsOK, error)
CreateSubscriptions creates a new subscription

This API is for use by Avalara Registrar administrative users only.

Create one or more new subscription objects attached to this account. A 'subscription' indicates a licensed subscription to a named Avalara service. To request or remove subscriptions, please contact Avalara sales or your customer account manager.

### Security Policies

* This API requires one of the following user roles: Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.

func (*Client) DeleteAccount

func (a *Client) DeleteAccount(params *DeleteAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountOK, error)
DeleteAccount deletes a single account

# For Registrar Use Only

This API is for use by Avalara Registrar administrative users only.

Delete an account. Deleting an account will delete all companies, all account level users and license keys attached to this account.

### Security Policies

* This API requires the user role SystemAdmin.

func (*Client) DeleteNotification

func (a *Client) DeleteNotification(params *DeleteNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNotificationOK, error)
DeleteNotification deletes a single notification

This API is available by invitation only.

Delete the existing notification identified by this URL.

A notification is a message from Avalara that may have relevance to your business. You may want to regularly review notifications and then dismiss them when you are certain that you have addressed any relevant concerns raised by this notification.

An example of a notification would be a message about new software, or a change to AvaTax that may affect you, or a potential issue with your company's tax profile.

### Security Policies

* This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [NotificationsAPI:Create].

func (*Client) DeleteSubscription

func (a *Client) DeleteSubscription(params *DeleteSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSubscriptionOK, error)
DeleteSubscription deletes a single subscription

# For Registrar Use Only

This API is for use by Avalara Registrar administrative users only.

Mark the existing account identified by this URL as deleted.

### Security Policies

* This API requires one of the following user roles: Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.

func (*Client) ListAccountsByTssWriteMode

func (a *Client) ListAccountsByTssWriteMode(params *ListAccountsByTssWriteModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountsByTssWriteModeOK, error)
ListAccountsByTssWriteMode retrieves list of accounts by account migration status

### Security Policies

* This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.

func (*Client) ResetPassword

func (a *Client) ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordOK, error)
ResetPassword resets a user s password programmatically

# For Registrar Use Only

This API is for use by Avalara Registrar administrative users only.

Allows a system admin to reset the password for a specific user via the API. This API is only available for Avalara Registrar Admins, and can be used to reset the password of any user based on internal Avalara business processes.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * This API is available to Avalara system-level (registrar-level) users only.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateAccount

func (a *Client) UpdateAccount(params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountOK, error)
UpdateAccount updates a single account

# For Registrar Use Only

This API is for use by Avalara Registrar administrative users only.

Replace an existing account object with an updated account object.

### Security Policies

* This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.

func (*Client) UpdateNotification

func (a *Client) UpdateNotification(params *UpdateNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNotificationOK, error)
UpdateNotification updates a single notification

This API is available by invitation only.

Replaces the notification identified by this URL with a new notification.

A notification is a message from Avalara that may have relevance to your business. You may want to regularly review notifications and then dismiss them when you are certain that you have addressed any relevant concerns raised by this notification.

An example of a notification would be a message about new software, or a change to AvaTax that may affect you, or a potential issue with your company's tax profile.

### Security Policies

* This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [NotificationsAPI:Create].

func (*Client) UpdateSubscription

func (a *Client) UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSubscriptionOK, error)
UpdateSubscription updates a single subscription

# For Registrar Use Only

This API is for use by Avalara Registrar administrative users only.

Replace the existing subscription object at this URL with an updated object. A 'subscription' indicates a licensed subscription to a named Avalara service. To request or remove subscriptions, please contact Avalara sales or your customer account manager. All data from the existing object will be replaced with data in the object you PUT. To set a field's value to null, you may either set its value to null or omit that field from the object you post.

### Security Policies

* This API requires one of the following user roles: Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAccount(params *CreateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountOK, error)

	CreateNotifications(params *CreateNotificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNotificationsOK, error)

	CreateSubscriptions(params *CreateSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSubscriptionsOK, error)

	DeleteAccount(params *DeleteAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAccountOK, error)

	DeleteNotification(params *DeleteNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNotificationOK, error)

	DeleteSubscription(params *DeleteSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSubscriptionOK, error)

	ListAccountsByTssWriteMode(params *ListAccountsByTssWriteModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountsByTssWriteModeOK, error)

	ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordOK, error)

	UpdateAccount(params *UpdateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAccountOK, error)

	UpdateNotification(params *UpdateNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNotificationOK, error)

	UpdateSubscription(params *UpdateSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSubscriptionOK, 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 registrar API client.

type CreateAccountBadRequest

type CreateAccountBadRequest struct {
}
CreateAccountBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateAccountBadRequest

func NewCreateAccountBadRequest() *CreateAccountBadRequest

NewCreateAccountBadRequest creates a CreateAccountBadRequest with default headers values

func (*CreateAccountBadRequest) Error

func (o *CreateAccountBadRequest) Error() string

type CreateAccountOK

type CreateAccountOK struct {
	Payload []*models.AccountModel
}
CreateAccountOK describes a response with status code 200, with default header values.

Success

func NewCreateAccountOK

func NewCreateAccountOK() *CreateAccountOK

NewCreateAccountOK creates a CreateAccountOK with default headers values

func (*CreateAccountOK) Error

func (o *CreateAccountOK) Error() string

func (*CreateAccountOK) GetPayload

func (o *CreateAccountOK) GetPayload() []*models.AccountModel

type CreateAccountParams

type CreateAccountParams 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 account you wish to create.
	*/
	Body *models.AccountModel

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAccountParams contains all the parameters to send to the API endpoint

for the create account operation.

Typically these are written to a http.Request.

func NewCreateAccountParams

func NewCreateAccountParams() *CreateAccountParams

NewCreateAccountParams creates a new CreateAccountParams 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 NewCreateAccountParamsWithContext

func NewCreateAccountParamsWithContext(ctx context.Context) *CreateAccountParams

NewCreateAccountParamsWithContext creates a new CreateAccountParams object with the ability to set a context for a request.

func NewCreateAccountParamsWithHTTPClient

func NewCreateAccountParamsWithHTTPClient(client *http.Client) *CreateAccountParams

NewCreateAccountParamsWithHTTPClient creates a new CreateAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAccountParamsWithTimeout

func NewCreateAccountParamsWithTimeout(timeout time.Duration) *CreateAccountParams

NewCreateAccountParamsWithTimeout creates a new CreateAccountParams object with the ability to set a timeout on a request.

func (*CreateAccountParams) SetBody

func (o *CreateAccountParams) SetBody(body *models.AccountModel)

SetBody adds the body to the create account params

func (*CreateAccountParams) SetContext

func (o *CreateAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the create account params

func (*CreateAccountParams) SetDefaults

func (o *CreateAccountParams) SetDefaults()

SetDefaults hydrates default values in the create account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAccountParams) SetHTTPClient

func (o *CreateAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) SetTimeout

func (o *CreateAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create account params

func (*CreateAccountParams) SetXAvalaraClient

func (o *CreateAccountParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the create account params

func (*CreateAccountParams) WithBody

WithBody adds the body to the create account params

func (*CreateAccountParams) WithContext

WithContext adds the context to the create account params

func (*CreateAccountParams) WithDefaults

func (o *CreateAccountParams) WithDefaults() *CreateAccountParams

WithDefaults hydrates default values in the create account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAccountParams) WithHTTPClient

func (o *CreateAccountParams) WithHTTPClient(client *http.Client) *CreateAccountParams

WithHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) WithTimeout

func (o *CreateAccountParams) WithTimeout(timeout time.Duration) *CreateAccountParams

WithTimeout adds the timeout to the create account params

func (*CreateAccountParams) WithXAvalaraClient

func (o *CreateAccountParams) WithXAvalaraClient(xAvalaraClient *string) *CreateAccountParams

WithXAvalaraClient adds the xAvalaraClient to the create account params

func (*CreateAccountParams) WriteToRequest

func (o *CreateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAccountReader

type CreateAccountReader struct {
	// contains filtered or unexported fields
}

CreateAccountReader is a Reader for the CreateAccount structure.

func (*CreateAccountReader) ReadResponse

func (o *CreateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateAccountUnauthorized

type CreateAccountUnauthorized struct {
}
CreateAccountUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateAccountUnauthorized

func NewCreateAccountUnauthorized() *CreateAccountUnauthorized

NewCreateAccountUnauthorized creates a CreateAccountUnauthorized with default headers values

func (*CreateAccountUnauthorized) Error

func (o *CreateAccountUnauthorized) Error() string

type CreateNotificationsBadRequest

type CreateNotificationsBadRequest struct {
}
CreateNotificationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateNotificationsBadRequest

func NewCreateNotificationsBadRequest() *CreateNotificationsBadRequest

NewCreateNotificationsBadRequest creates a CreateNotificationsBadRequest with default headers values

func (*CreateNotificationsBadRequest) Error

type CreateNotificationsOK

type CreateNotificationsOK struct {
	Payload []*models.NotificationModel
}
CreateNotificationsOK describes a response with status code 200, with default header values.

Success

func NewCreateNotificationsOK

func NewCreateNotificationsOK() *CreateNotificationsOK

NewCreateNotificationsOK creates a CreateNotificationsOK with default headers values

func (*CreateNotificationsOK) Error

func (o *CreateNotificationsOK) Error() string

func (*CreateNotificationsOK) GetPayload

func (o *CreateNotificationsOK) GetPayload() []*models.NotificationModel

type CreateNotificationsParams

type CreateNotificationsParams 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 notifications you wish to create.
	*/
	Body []*models.NotificationModel

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNotificationsParams contains all the parameters to send to the API endpoint

for the create notifications operation.

Typically these are written to a http.Request.

func NewCreateNotificationsParams

func NewCreateNotificationsParams() *CreateNotificationsParams

NewCreateNotificationsParams creates a new CreateNotificationsParams 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 NewCreateNotificationsParamsWithContext

func NewCreateNotificationsParamsWithContext(ctx context.Context) *CreateNotificationsParams

NewCreateNotificationsParamsWithContext creates a new CreateNotificationsParams object with the ability to set a context for a request.

func NewCreateNotificationsParamsWithHTTPClient

func NewCreateNotificationsParamsWithHTTPClient(client *http.Client) *CreateNotificationsParams

NewCreateNotificationsParamsWithHTTPClient creates a new CreateNotificationsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNotificationsParamsWithTimeout

func NewCreateNotificationsParamsWithTimeout(timeout time.Duration) *CreateNotificationsParams

NewCreateNotificationsParamsWithTimeout creates a new CreateNotificationsParams object with the ability to set a timeout on a request.

func (*CreateNotificationsParams) SetBody

SetBody adds the body to the create notifications params

func (*CreateNotificationsParams) SetContext

func (o *CreateNotificationsParams) SetContext(ctx context.Context)

SetContext adds the context to the create notifications params

func (*CreateNotificationsParams) SetDefaults

func (o *CreateNotificationsParams) SetDefaults()

SetDefaults hydrates default values in the create notifications params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNotificationsParams) SetHTTPClient

func (o *CreateNotificationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create notifications params

func (*CreateNotificationsParams) SetTimeout

func (o *CreateNotificationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create notifications params

func (*CreateNotificationsParams) SetXAvalaraClient

func (o *CreateNotificationsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the create notifications params

func (*CreateNotificationsParams) WithBody

WithBody adds the body to the create notifications params

func (*CreateNotificationsParams) WithContext

WithContext adds the context to the create notifications params

func (*CreateNotificationsParams) WithDefaults

WithDefaults hydrates default values in the create notifications params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNotificationsParams) WithHTTPClient

func (o *CreateNotificationsParams) WithHTTPClient(client *http.Client) *CreateNotificationsParams

WithHTTPClient adds the HTTPClient to the create notifications params

func (*CreateNotificationsParams) WithTimeout

WithTimeout adds the timeout to the create notifications params

func (*CreateNotificationsParams) WithXAvalaraClient

func (o *CreateNotificationsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNotificationsParams

WithXAvalaraClient adds the xAvalaraClient to the create notifications params

func (*CreateNotificationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNotificationsReader

type CreateNotificationsReader struct {
	// contains filtered or unexported fields
}

CreateNotificationsReader is a Reader for the CreateNotifications structure.

func (*CreateNotificationsReader) ReadResponse

func (o *CreateNotificationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNotificationsUnauthorized

type CreateNotificationsUnauthorized struct {
}
CreateNotificationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateNotificationsUnauthorized

func NewCreateNotificationsUnauthorized() *CreateNotificationsUnauthorized

NewCreateNotificationsUnauthorized creates a CreateNotificationsUnauthorized with default headers values

func (*CreateNotificationsUnauthorized) Error

type CreateSubscriptionsBadRequest

type CreateSubscriptionsBadRequest struct {
}
CreateSubscriptionsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateSubscriptionsBadRequest

func NewCreateSubscriptionsBadRequest() *CreateSubscriptionsBadRequest

NewCreateSubscriptionsBadRequest creates a CreateSubscriptionsBadRequest with default headers values

func (*CreateSubscriptionsBadRequest) Error

type CreateSubscriptionsNotFound

type CreateSubscriptionsNotFound struct {
}
CreateSubscriptionsNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateSubscriptionsNotFound

func NewCreateSubscriptionsNotFound() *CreateSubscriptionsNotFound

NewCreateSubscriptionsNotFound creates a CreateSubscriptionsNotFound with default headers values

func (*CreateSubscriptionsNotFound) Error

type CreateSubscriptionsOK

type CreateSubscriptionsOK struct {
	Payload []*models.SubscriptionModel
}
CreateSubscriptionsOK describes a response with status code 200, with default header values.

Success

func NewCreateSubscriptionsOK

func NewCreateSubscriptionsOK() *CreateSubscriptionsOK

NewCreateSubscriptionsOK creates a CreateSubscriptionsOK with default headers values

func (*CreateSubscriptionsOK) Error

func (o *CreateSubscriptionsOK) Error() string

func (*CreateSubscriptionsOK) GetPayload

func (o *CreateSubscriptionsOK) GetPayload() []*models.SubscriptionModel

type CreateSubscriptionsParams

type CreateSubscriptionsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* AccountID.

	   The ID of the account that owns this subscription.

	   Format: int32
	*/
	AccountID int32

	/* Body.

	   The subscription you wish to create.
	*/
	Body []*models.SubscriptionModel

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateSubscriptionsParams contains all the parameters to send to the API endpoint

for the create subscriptions operation.

Typically these are written to a http.Request.

func NewCreateSubscriptionsParams

func NewCreateSubscriptionsParams() *CreateSubscriptionsParams

NewCreateSubscriptionsParams creates a new CreateSubscriptionsParams 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 NewCreateSubscriptionsParamsWithContext

func NewCreateSubscriptionsParamsWithContext(ctx context.Context) *CreateSubscriptionsParams

NewCreateSubscriptionsParamsWithContext creates a new CreateSubscriptionsParams object with the ability to set a context for a request.

func NewCreateSubscriptionsParamsWithHTTPClient

func NewCreateSubscriptionsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionsParams

NewCreateSubscriptionsParamsWithHTTPClient creates a new CreateSubscriptionsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSubscriptionsParamsWithTimeout

func NewCreateSubscriptionsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionsParams

NewCreateSubscriptionsParamsWithTimeout creates a new CreateSubscriptionsParams object with the ability to set a timeout on a request.

func (*CreateSubscriptionsParams) SetAccountID

func (o *CreateSubscriptionsParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the create subscriptions params

func (*CreateSubscriptionsParams) SetBody

SetBody adds the body to the create subscriptions params

func (*CreateSubscriptionsParams) SetContext

func (o *CreateSubscriptionsParams) SetContext(ctx context.Context)

SetContext adds the context to the create subscriptions params

func (*CreateSubscriptionsParams) SetDefaults

func (o *CreateSubscriptionsParams) SetDefaults()

SetDefaults hydrates default values in the create subscriptions params (not the query body).

All values with no default are reset to their zero value.

func (*CreateSubscriptionsParams) SetHTTPClient

func (o *CreateSubscriptionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create subscriptions params

func (*CreateSubscriptionsParams) SetTimeout

func (o *CreateSubscriptionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create subscriptions params

func (*CreateSubscriptionsParams) SetXAvalaraClient

func (o *CreateSubscriptionsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the create subscriptions params

func (*CreateSubscriptionsParams) WithAccountID

func (o *CreateSubscriptionsParams) WithAccountID(accountID int32) *CreateSubscriptionsParams

WithAccountID adds the accountID to the create subscriptions params

func (*CreateSubscriptionsParams) WithBody

WithBody adds the body to the create subscriptions params

func (*CreateSubscriptionsParams) WithContext

WithContext adds the context to the create subscriptions params

func (*CreateSubscriptionsParams) WithDefaults

WithDefaults hydrates default values in the create subscriptions params (not the query body).

All values with no default are reset to their zero value.

func (*CreateSubscriptionsParams) WithHTTPClient

func (o *CreateSubscriptionsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionsParams

WithHTTPClient adds the HTTPClient to the create subscriptions params

func (*CreateSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the create subscriptions params

func (*CreateSubscriptionsParams) WithXAvalaraClient

func (o *CreateSubscriptionsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateSubscriptionsParams

WithXAvalaraClient adds the xAvalaraClient to the create subscriptions params

func (*CreateSubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionsReader

type CreateSubscriptionsReader struct {
	// contains filtered or unexported fields
}

CreateSubscriptionsReader is a Reader for the CreateSubscriptions structure.

func (*CreateSubscriptionsReader) ReadResponse

func (o *CreateSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateSubscriptionsUnauthorized

type CreateSubscriptionsUnauthorized struct {
}
CreateSubscriptionsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateSubscriptionsUnauthorized

func NewCreateSubscriptionsUnauthorized() *CreateSubscriptionsUnauthorized

NewCreateSubscriptionsUnauthorized creates a CreateSubscriptionsUnauthorized with default headers values

func (*CreateSubscriptionsUnauthorized) Error

type DeleteAccountBadRequest

type DeleteAccountBadRequest struct {
}
DeleteAccountBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteAccountBadRequest

func NewDeleteAccountBadRequest() *DeleteAccountBadRequest

NewDeleteAccountBadRequest creates a DeleteAccountBadRequest with default headers values

func (*DeleteAccountBadRequest) Error

func (o *DeleteAccountBadRequest) Error() string

type DeleteAccountNotFound

type DeleteAccountNotFound struct {
}
DeleteAccountNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteAccountNotFound

func NewDeleteAccountNotFound() *DeleteAccountNotFound

NewDeleteAccountNotFound creates a DeleteAccountNotFound with default headers values

func (*DeleteAccountNotFound) Error

func (o *DeleteAccountNotFound) Error() string

type DeleteAccountOK

type DeleteAccountOK struct {
	Payload []*models.ErrorDetail
}
DeleteAccountOK describes a response with status code 200, with default header values.

Success

func NewDeleteAccountOK

func NewDeleteAccountOK() *DeleteAccountOK

NewDeleteAccountOK creates a DeleteAccountOK with default headers values

func (*DeleteAccountOK) Error

func (o *DeleteAccountOK) Error() string

func (*DeleteAccountOK) GetPayload

func (o *DeleteAccountOK) GetPayload() []*models.ErrorDetail

type DeleteAccountParams

type DeleteAccountParams 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 delete.

	   Format: int32
	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAccountParams contains all the parameters to send to the API endpoint

for the delete account operation.

Typically these are written to a http.Request.

func NewDeleteAccountParams

func NewDeleteAccountParams() *DeleteAccountParams

NewDeleteAccountParams creates a new DeleteAccountParams 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 NewDeleteAccountParamsWithContext

func NewDeleteAccountParamsWithContext(ctx context.Context) *DeleteAccountParams

NewDeleteAccountParamsWithContext creates a new DeleteAccountParams object with the ability to set a context for a request.

func NewDeleteAccountParamsWithHTTPClient

func NewDeleteAccountParamsWithHTTPClient(client *http.Client) *DeleteAccountParams

NewDeleteAccountParamsWithHTTPClient creates a new DeleteAccountParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAccountParamsWithTimeout

func NewDeleteAccountParamsWithTimeout(timeout time.Duration) *DeleteAccountParams

NewDeleteAccountParamsWithTimeout creates a new DeleteAccountParams object with the ability to set a timeout on a request.

func (*DeleteAccountParams) SetContext

func (o *DeleteAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the delete account params

func (*DeleteAccountParams) SetDefaults

func (o *DeleteAccountParams) SetDefaults()

SetDefaults hydrates default values in the delete account params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccountParams) SetHTTPClient

func (o *DeleteAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete account params

func (*DeleteAccountParams) SetID

func (o *DeleteAccountParams) SetID(id int32)

SetID adds the id to the delete account params

func (*DeleteAccountParams) SetTimeout

func (o *DeleteAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete account params

func (*DeleteAccountParams) SetXAvalaraClient

func (o *DeleteAccountParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete account params

func (*DeleteAccountParams) WithContext

WithContext adds the context to the delete account params

func (*DeleteAccountParams) WithDefaults

func (o *DeleteAccountParams) WithDefaults() *DeleteAccountParams

WithDefaults hydrates default values in the delete account params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccountParams) WithHTTPClient

func (o *DeleteAccountParams) WithHTTPClient(client *http.Client) *DeleteAccountParams

WithHTTPClient adds the HTTPClient to the delete account params

func (*DeleteAccountParams) WithID

WithID adds the id to the delete account params

func (*DeleteAccountParams) WithTimeout

func (o *DeleteAccountParams) WithTimeout(timeout time.Duration) *DeleteAccountParams

WithTimeout adds the timeout to the delete account params

func (*DeleteAccountParams) WithXAvalaraClient

func (o *DeleteAccountParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteAccountParams

WithXAvalaraClient adds the xAvalaraClient to the delete account params

func (*DeleteAccountParams) WriteToRequest

func (o *DeleteAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAccountReader

type DeleteAccountReader struct {
	// contains filtered or unexported fields
}

DeleteAccountReader is a Reader for the DeleteAccount structure.

func (*DeleteAccountReader) ReadResponse

func (o *DeleteAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAccountUnauthorized

type DeleteAccountUnauthorized struct {
}
DeleteAccountUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteAccountUnauthorized

func NewDeleteAccountUnauthorized() *DeleteAccountUnauthorized

NewDeleteAccountUnauthorized creates a DeleteAccountUnauthorized with default headers values

func (*DeleteAccountUnauthorized) Error

func (o *DeleteAccountUnauthorized) Error() string

type DeleteNotificationBadRequest

type DeleteNotificationBadRequest struct {
}
DeleteNotificationBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteNotificationBadRequest

func NewDeleteNotificationBadRequest() *DeleteNotificationBadRequest

NewDeleteNotificationBadRequest creates a DeleteNotificationBadRequest with default headers values

func (*DeleteNotificationBadRequest) Error

type DeleteNotificationNotFound

type DeleteNotificationNotFound struct {
}
DeleteNotificationNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteNotificationNotFound

func NewDeleteNotificationNotFound() *DeleteNotificationNotFound

NewDeleteNotificationNotFound creates a DeleteNotificationNotFound with default headers values

func (*DeleteNotificationNotFound) Error

type DeleteNotificationOK

type DeleteNotificationOK struct {
	Payload []*models.ErrorDetail
}
DeleteNotificationOK describes a response with status code 200, with default header values.

Success

func NewDeleteNotificationOK

func NewDeleteNotificationOK() *DeleteNotificationOK

NewDeleteNotificationOK creates a DeleteNotificationOK with default headers values

func (*DeleteNotificationOK) Error

func (o *DeleteNotificationOK) Error() string

func (*DeleteNotificationOK) GetPayload

func (o *DeleteNotificationOK) GetPayload() []*models.ErrorDetail

type DeleteNotificationParams

type DeleteNotificationParams 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 notification you wish to delete.

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNotificationParams contains all the parameters to send to the API endpoint

for the delete notification operation.

Typically these are written to a http.Request.

func NewDeleteNotificationParams

func NewDeleteNotificationParams() *DeleteNotificationParams

NewDeleteNotificationParams creates a new DeleteNotificationParams 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 NewDeleteNotificationParamsWithContext

func NewDeleteNotificationParamsWithContext(ctx context.Context) *DeleteNotificationParams

NewDeleteNotificationParamsWithContext creates a new DeleteNotificationParams object with the ability to set a context for a request.

func NewDeleteNotificationParamsWithHTTPClient

func NewDeleteNotificationParamsWithHTTPClient(client *http.Client) *DeleteNotificationParams

NewDeleteNotificationParamsWithHTTPClient creates a new DeleteNotificationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNotificationParamsWithTimeout

func NewDeleteNotificationParamsWithTimeout(timeout time.Duration) *DeleteNotificationParams

NewDeleteNotificationParamsWithTimeout creates a new DeleteNotificationParams object with the ability to set a timeout on a request.

func (*DeleteNotificationParams) SetContext

func (o *DeleteNotificationParams) SetContext(ctx context.Context)

SetContext adds the context to the delete notification params

func (*DeleteNotificationParams) SetDefaults

func (o *DeleteNotificationParams) SetDefaults()

SetDefaults hydrates default values in the delete notification params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNotificationParams) SetHTTPClient

func (o *DeleteNotificationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete notification params

func (*DeleteNotificationParams) SetID

func (o *DeleteNotificationParams) SetID(id int64)

SetID adds the id to the delete notification params

func (*DeleteNotificationParams) SetTimeout

func (o *DeleteNotificationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete notification params

func (*DeleteNotificationParams) SetXAvalaraClient

func (o *DeleteNotificationParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete notification params

func (*DeleteNotificationParams) WithContext

WithContext adds the context to the delete notification params

func (*DeleteNotificationParams) WithDefaults

WithDefaults hydrates default values in the delete notification params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNotificationParams) WithHTTPClient

func (o *DeleteNotificationParams) WithHTTPClient(client *http.Client) *DeleteNotificationParams

WithHTTPClient adds the HTTPClient to the delete notification params

func (*DeleteNotificationParams) WithID

WithID adds the id to the delete notification params

func (*DeleteNotificationParams) WithTimeout

WithTimeout adds the timeout to the delete notification params

func (*DeleteNotificationParams) WithXAvalaraClient

func (o *DeleteNotificationParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNotificationParams

WithXAvalaraClient adds the xAvalaraClient to the delete notification params

func (*DeleteNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNotificationReader

type DeleteNotificationReader struct {
	// contains filtered or unexported fields
}

DeleteNotificationReader is a Reader for the DeleteNotification structure.

func (*DeleteNotificationReader) ReadResponse

func (o *DeleteNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNotificationUnauthorized

type DeleteNotificationUnauthorized struct {
}
DeleteNotificationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteNotificationUnauthorized

func NewDeleteNotificationUnauthorized() *DeleteNotificationUnauthorized

NewDeleteNotificationUnauthorized creates a DeleteNotificationUnauthorized with default headers values

func (*DeleteNotificationUnauthorized) Error

type DeleteSubscriptionBadRequest

type DeleteSubscriptionBadRequest struct {
}
DeleteSubscriptionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteSubscriptionBadRequest

func NewDeleteSubscriptionBadRequest() *DeleteSubscriptionBadRequest

NewDeleteSubscriptionBadRequest creates a DeleteSubscriptionBadRequest with default headers values

func (*DeleteSubscriptionBadRequest) Error

type DeleteSubscriptionNotFound

type DeleteSubscriptionNotFound struct {
}
DeleteSubscriptionNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteSubscriptionNotFound

func NewDeleteSubscriptionNotFound() *DeleteSubscriptionNotFound

NewDeleteSubscriptionNotFound creates a DeleteSubscriptionNotFound with default headers values

func (*DeleteSubscriptionNotFound) Error

type DeleteSubscriptionOK

type DeleteSubscriptionOK struct {
	Payload []*models.ErrorDetail
}
DeleteSubscriptionOK describes a response with status code 200, with default header values.

Success

func NewDeleteSubscriptionOK

func NewDeleteSubscriptionOK() *DeleteSubscriptionOK

NewDeleteSubscriptionOK creates a DeleteSubscriptionOK with default headers values

func (*DeleteSubscriptionOK) Error

func (o *DeleteSubscriptionOK) Error() string

func (*DeleteSubscriptionOK) GetPayload

func (o *DeleteSubscriptionOK) GetPayload() []*models.ErrorDetail

type DeleteSubscriptionParams

type DeleteSubscriptionParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* AccountID.

	   The ID of the account that owns this subscription.

	   Format: int32
	*/
	AccountID int32

	/* ID.

	   The ID of the subscription you wish to delete.

	   Format: int32
	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteSubscriptionParams contains all the parameters to send to the API endpoint

for the delete subscription operation.

Typically these are written to a http.Request.

func NewDeleteSubscriptionParams

func NewDeleteSubscriptionParams() *DeleteSubscriptionParams

NewDeleteSubscriptionParams creates a new DeleteSubscriptionParams 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 NewDeleteSubscriptionParamsWithContext

func NewDeleteSubscriptionParamsWithContext(ctx context.Context) *DeleteSubscriptionParams

NewDeleteSubscriptionParamsWithContext creates a new DeleteSubscriptionParams object with the ability to set a context for a request.

func NewDeleteSubscriptionParamsWithHTTPClient

func NewDeleteSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionParams

NewDeleteSubscriptionParamsWithHTTPClient creates a new DeleteSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSubscriptionParamsWithTimeout

func NewDeleteSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionParams

NewDeleteSubscriptionParamsWithTimeout creates a new DeleteSubscriptionParams object with the ability to set a timeout on a request.

func (*DeleteSubscriptionParams) SetAccountID

func (o *DeleteSubscriptionParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the delete subscription params

func (*DeleteSubscriptionParams) SetContext

func (o *DeleteSubscriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the delete subscription params

func (*DeleteSubscriptionParams) SetDefaults

func (o *DeleteSubscriptionParams) SetDefaults()

SetDefaults hydrates default values in the delete subscription params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSubscriptionParams) SetHTTPClient

func (o *DeleteSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete subscription params

func (*DeleteSubscriptionParams) SetID

func (o *DeleteSubscriptionParams) SetID(id int32)

SetID adds the id to the delete subscription params

func (*DeleteSubscriptionParams) SetTimeout

func (o *DeleteSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete subscription params

func (*DeleteSubscriptionParams) SetXAvalaraClient

func (o *DeleteSubscriptionParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete subscription params

func (*DeleteSubscriptionParams) WithAccountID

func (o *DeleteSubscriptionParams) WithAccountID(accountID int32) *DeleteSubscriptionParams

WithAccountID adds the accountID to the delete subscription params

func (*DeleteSubscriptionParams) WithContext

WithContext adds the context to the delete subscription params

func (*DeleteSubscriptionParams) WithDefaults

WithDefaults hydrates default values in the delete subscription params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSubscriptionParams) WithHTTPClient

func (o *DeleteSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionParams

WithHTTPClient adds the HTTPClient to the delete subscription params

func (*DeleteSubscriptionParams) WithID

WithID adds the id to the delete subscription params

func (*DeleteSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the delete subscription params

func (*DeleteSubscriptionParams) WithXAvalaraClient

func (o *DeleteSubscriptionParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteSubscriptionParams

WithXAvalaraClient adds the xAvalaraClient to the delete subscription params

func (*DeleteSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSubscriptionReader

type DeleteSubscriptionReader struct {
	// contains filtered or unexported fields
}

DeleteSubscriptionReader is a Reader for the DeleteSubscription structure.

func (*DeleteSubscriptionReader) ReadResponse

func (o *DeleteSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteSubscriptionUnauthorized

type DeleteSubscriptionUnauthorized struct {
}
DeleteSubscriptionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteSubscriptionUnauthorized

func NewDeleteSubscriptionUnauthorized() *DeleteSubscriptionUnauthorized

NewDeleteSubscriptionUnauthorized creates a DeleteSubscriptionUnauthorized with default headers values

func (*DeleteSubscriptionUnauthorized) Error

type ListAccountsByTssWriteModeBadRequest

type ListAccountsByTssWriteModeBadRequest struct {
}
ListAccountsByTssWriteModeBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListAccountsByTssWriteModeBadRequest

func NewListAccountsByTssWriteModeBadRequest() *ListAccountsByTssWriteModeBadRequest

NewListAccountsByTssWriteModeBadRequest creates a ListAccountsByTssWriteModeBadRequest with default headers values

func (*ListAccountsByTssWriteModeBadRequest) Error

type ListAccountsByTssWriteModeNotFound

type ListAccountsByTssWriteModeNotFound struct {
}
ListAccountsByTssWriteModeNotFound describes a response with status code 404, with default header values.

Not Found

func NewListAccountsByTssWriteModeNotFound

func NewListAccountsByTssWriteModeNotFound() *ListAccountsByTssWriteModeNotFound

NewListAccountsByTssWriteModeNotFound creates a ListAccountsByTssWriteModeNotFound with default headers values

func (*ListAccountsByTssWriteModeNotFound) Error

type ListAccountsByTssWriteModeOK

type ListAccountsByTssWriteModeOK struct {
	Payload *models.AccountMigrationStatusModel
}
ListAccountsByTssWriteModeOK describes a response with status code 200, with default header values.

Success

func NewListAccountsByTssWriteModeOK

func NewListAccountsByTssWriteModeOK() *ListAccountsByTssWriteModeOK

NewListAccountsByTssWriteModeOK creates a ListAccountsByTssWriteModeOK with default headers values

func (*ListAccountsByTssWriteModeOK) Error

func (*ListAccountsByTssWriteModeOK) GetPayload

type ListAccountsByTssWriteModeParams

type ListAccountsByTssWriteModeParams 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

	// WriteMode.
	WriteMode string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAccountsByTssWriteModeParams contains all the parameters to send to the API endpoint

for the list accounts by tss write mode operation.

Typically these are written to a http.Request.

func NewListAccountsByTssWriteModeParams

func NewListAccountsByTssWriteModeParams() *ListAccountsByTssWriteModeParams

NewListAccountsByTssWriteModeParams creates a new ListAccountsByTssWriteModeParams 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 NewListAccountsByTssWriteModeParamsWithContext

func NewListAccountsByTssWriteModeParamsWithContext(ctx context.Context) *ListAccountsByTssWriteModeParams

NewListAccountsByTssWriteModeParamsWithContext creates a new ListAccountsByTssWriteModeParams object with the ability to set a context for a request.

func NewListAccountsByTssWriteModeParamsWithHTTPClient

func NewListAccountsByTssWriteModeParamsWithHTTPClient(client *http.Client) *ListAccountsByTssWriteModeParams

NewListAccountsByTssWriteModeParamsWithHTTPClient creates a new ListAccountsByTssWriteModeParams object with the ability to set a custom HTTPClient for a request.

func NewListAccountsByTssWriteModeParamsWithTimeout

func NewListAccountsByTssWriteModeParamsWithTimeout(timeout time.Duration) *ListAccountsByTssWriteModeParams

NewListAccountsByTssWriteModeParamsWithTimeout creates a new ListAccountsByTssWriteModeParams object with the ability to set a timeout on a request.

func (*ListAccountsByTssWriteModeParams) SetContext

SetContext adds the context to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) SetDefaults

func (o *ListAccountsByTssWriteModeParams) SetDefaults()

SetDefaults hydrates default values in the list accounts by tss write mode params (not the query body).

All values with no default are reset to their zero value.

func (*ListAccountsByTssWriteModeParams) SetHTTPClient

func (o *ListAccountsByTssWriteModeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) SetTimeout

func (o *ListAccountsByTssWriteModeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) SetWriteMode

func (o *ListAccountsByTssWriteModeParams) SetWriteMode(writeMode string)

SetWriteMode adds the writeMode to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) SetXAvalaraClient

func (o *ListAccountsByTssWriteModeParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) WithContext

WithContext adds the context to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) WithDefaults

WithDefaults hydrates default values in the list accounts by tss write mode params (not the query body).

All values with no default are reset to their zero value.

func (*ListAccountsByTssWriteModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) WithTimeout

WithTimeout adds the timeout to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) WithWriteMode

WithWriteMode adds the writeMode to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) WithXAvalaraClient

func (o *ListAccountsByTssWriteModeParams) WithXAvalaraClient(xAvalaraClient *string) *ListAccountsByTssWriteModeParams

WithXAvalaraClient adds the xAvalaraClient to the list accounts by tss write mode params

func (*ListAccountsByTssWriteModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAccountsByTssWriteModeReader

type ListAccountsByTssWriteModeReader struct {
	// contains filtered or unexported fields
}

ListAccountsByTssWriteModeReader is a Reader for the ListAccountsByTssWriteMode structure.

func (*ListAccountsByTssWriteModeReader) ReadResponse

func (o *ListAccountsByTssWriteModeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListAccountsByTssWriteModeUnauthorized

type ListAccountsByTssWriteModeUnauthorized struct {
}
ListAccountsByTssWriteModeUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListAccountsByTssWriteModeUnauthorized

func NewListAccountsByTssWriteModeUnauthorized() *ListAccountsByTssWriteModeUnauthorized

NewListAccountsByTssWriteModeUnauthorized creates a ListAccountsByTssWriteModeUnauthorized with default headers values

func (*ListAccountsByTssWriteModeUnauthorized) Error

type ResetPasswordBadRequest

type ResetPasswordBadRequest struct {
}
ResetPasswordBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewResetPasswordBadRequest

func NewResetPasswordBadRequest() *ResetPasswordBadRequest

NewResetPasswordBadRequest creates a ResetPasswordBadRequest with default headers values

func (*ResetPasswordBadRequest) Error

func (o *ResetPasswordBadRequest) Error() string

type ResetPasswordNotFound

type ResetPasswordNotFound struct {
}
ResetPasswordNotFound describes a response with status code 404, with default header values.

Not Found

func NewResetPasswordNotFound

func NewResetPasswordNotFound() *ResetPasswordNotFound

NewResetPasswordNotFound creates a ResetPasswordNotFound with default headers values

func (*ResetPasswordNotFound) Error

func (o *ResetPasswordNotFound) Error() string

type ResetPasswordOK

type ResetPasswordOK struct {
	Payload string
}
ResetPasswordOK describes a response with status code 200, with default header values.

Success

func NewResetPasswordOK

func NewResetPasswordOK() *ResetPasswordOK

NewResetPasswordOK creates a ResetPasswordOK with default headers values

func (*ResetPasswordOK) Error

func (o *ResetPasswordOK) Error() string

func (*ResetPasswordOK) GetPayload

func (o *ResetPasswordOK) GetPayload() string

type ResetPasswordParams

type ResetPasswordParams 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 new password for this user
	*/
	Body *models.SetPasswordModel

	/* UnmigrateFromAi.

	   If user's password was migrated to AI, undo this.
	*/
	UnmigrateFromAi *bool

	/* UserID.

	   The unique ID of the user whose password will be changed

	   Format: int32
	*/
	UserID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResetPasswordParams contains all the parameters to send to the API endpoint

for the reset password operation.

Typically these are written to a http.Request.

func NewResetPasswordParams

func NewResetPasswordParams() *ResetPasswordParams

NewResetPasswordParams creates a new ResetPasswordParams 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 NewResetPasswordParamsWithContext

func NewResetPasswordParamsWithContext(ctx context.Context) *ResetPasswordParams

NewResetPasswordParamsWithContext creates a new ResetPasswordParams object with the ability to set a context for a request.

func NewResetPasswordParamsWithHTTPClient

func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordParams

NewResetPasswordParamsWithHTTPClient creates a new ResetPasswordParams object with the ability to set a custom HTTPClient for a request.

func NewResetPasswordParamsWithTimeout

func NewResetPasswordParamsWithTimeout(timeout time.Duration) *ResetPasswordParams

NewResetPasswordParamsWithTimeout creates a new ResetPasswordParams object with the ability to set a timeout on a request.

func (*ResetPasswordParams) SetBody

func (o *ResetPasswordParams) SetBody(body *models.SetPasswordModel)

SetBody adds the body to the reset password params

func (*ResetPasswordParams) SetContext

func (o *ResetPasswordParams) SetContext(ctx context.Context)

SetContext adds the context to the reset password params

func (*ResetPasswordParams) SetDefaults

func (o *ResetPasswordParams) SetDefaults()

SetDefaults hydrates default values in the reset password params (not the query body).

All values with no default are reset to their zero value.

func (*ResetPasswordParams) SetHTTPClient

func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) SetTimeout

func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) SetUnmigrateFromAi

func (o *ResetPasswordParams) SetUnmigrateFromAi(unmigrateFromAi *bool)

SetUnmigrateFromAi adds the unmigrateFromAi to the reset password params

func (*ResetPasswordParams) SetUserID

func (o *ResetPasswordParams) SetUserID(userID int32)

SetUserID adds the userId to the reset password params

func (*ResetPasswordParams) SetXAvalaraClient

func (o *ResetPasswordParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the reset password params

func (*ResetPasswordParams) WithBody

WithBody adds the body to the reset password params

func (*ResetPasswordParams) WithContext

WithContext adds the context to the reset password params

func (*ResetPasswordParams) WithDefaults

func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams

WithDefaults hydrates default values in the reset password params (not the query body).

All values with no default are reset to their zero value.

func (*ResetPasswordParams) WithHTTPClient

func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams

WithHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) WithTimeout

func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams

WithTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) WithUnmigrateFromAi

func (o *ResetPasswordParams) WithUnmigrateFromAi(unmigrateFromAi *bool) *ResetPasswordParams

WithUnmigrateFromAi adds the unmigrateFromAi to the reset password params

func (*ResetPasswordParams) WithUserID

func (o *ResetPasswordParams) WithUserID(userID int32) *ResetPasswordParams

WithUserID adds the userID to the reset password params

func (*ResetPasswordParams) WithXAvalaraClient

func (o *ResetPasswordParams) WithXAvalaraClient(xAvalaraClient *string) *ResetPasswordParams

WithXAvalaraClient adds the xAvalaraClient to the reset password params

func (*ResetPasswordParams) WriteToRequest

func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResetPasswordReader

type ResetPasswordReader struct {
	// contains filtered or unexported fields
}

ResetPasswordReader is a Reader for the ResetPassword structure.

func (*ResetPasswordReader) ReadResponse

func (o *ResetPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResetPasswordUnauthorized

type ResetPasswordUnauthorized struct {
}
ResetPasswordUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewResetPasswordUnauthorized

func NewResetPasswordUnauthorized() *ResetPasswordUnauthorized

NewResetPasswordUnauthorized creates a ResetPasswordUnauthorized with default headers values

func (*ResetPasswordUnauthorized) Error

func (o *ResetPasswordUnauthorized) Error() string

type UpdateAccountBadRequest

type UpdateAccountBadRequest struct {
}
UpdateAccountBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateAccountBadRequest

func NewUpdateAccountBadRequest() *UpdateAccountBadRequest

NewUpdateAccountBadRequest creates a UpdateAccountBadRequest with default headers values

func (*UpdateAccountBadRequest) Error

func (o *UpdateAccountBadRequest) Error() string

type UpdateAccountNotFound

type UpdateAccountNotFound struct {
}
UpdateAccountNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateAccountNotFound

func NewUpdateAccountNotFound() *UpdateAccountNotFound

NewUpdateAccountNotFound creates a UpdateAccountNotFound with default headers values

func (*UpdateAccountNotFound) Error

func (o *UpdateAccountNotFound) Error() string

type UpdateAccountOK

type UpdateAccountOK struct {
	Payload *models.AccountModel
}
UpdateAccountOK describes a response with status code 200, with default header values.

Success

func NewUpdateAccountOK

func NewUpdateAccountOK() *UpdateAccountOK

NewUpdateAccountOK creates a UpdateAccountOK with default headers values

func (*UpdateAccountOK) Error

func (o *UpdateAccountOK) Error() string

func (*UpdateAccountOK) GetPayload

func (o *UpdateAccountOK) GetPayload() *models.AccountModel

type UpdateAccountParams

type UpdateAccountParams 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 account object you wish to update.
	*/
	Body *models.AccountModel

	/* 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
}

UpdateAccountParams contains all the parameters to send to the API endpoint

for the update account operation.

Typically these are written to a http.Request.

func NewUpdateAccountParams

func NewUpdateAccountParams() *UpdateAccountParams

NewUpdateAccountParams creates a new UpdateAccountParams 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 NewUpdateAccountParamsWithContext

func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams

NewUpdateAccountParamsWithContext creates a new UpdateAccountParams object with the ability to set a context for a request.

func NewUpdateAccountParamsWithHTTPClient

func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams

NewUpdateAccountParamsWithHTTPClient creates a new UpdateAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAccountParamsWithTimeout

func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams

NewUpdateAccountParamsWithTimeout creates a new UpdateAccountParams object with the ability to set a timeout on a request.

func (*UpdateAccountParams) SetBody

func (o *UpdateAccountParams) SetBody(body *models.AccountModel)

SetBody adds the body to the update account params

func (*UpdateAccountParams) SetContext

func (o *UpdateAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the update account params

func (*UpdateAccountParams) SetDefaults

func (o *UpdateAccountParams) SetDefaults()

SetDefaults hydrates default values in the update account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateAccountParams) SetHTTPClient

func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) SetID

func (o *UpdateAccountParams) SetID(id int32)

SetID adds the id to the update account params

func (*UpdateAccountParams) SetTimeout

func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update account params

func (*UpdateAccountParams) SetXAvalaraClient

func (o *UpdateAccountParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the update account params

func (*UpdateAccountParams) WithBody

WithBody adds the body to the update account params

func (*UpdateAccountParams) WithContext

WithContext adds the context to the update account params

func (*UpdateAccountParams) WithDefaults

func (o *UpdateAccountParams) WithDefaults() *UpdateAccountParams

WithDefaults hydrates default values in the update account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateAccountParams) WithHTTPClient

func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams

WithHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) WithID

WithID adds the id to the update account params

func (*UpdateAccountParams) WithTimeout

func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams

WithTimeout adds the timeout to the update account params

func (*UpdateAccountParams) WithXAvalaraClient

func (o *UpdateAccountParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateAccountParams

WithXAvalaraClient adds the xAvalaraClient to the update account params

func (*UpdateAccountParams) WriteToRequest

func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateAccountReader

type UpdateAccountReader struct {
	// contains filtered or unexported fields
}

UpdateAccountReader is a Reader for the UpdateAccount structure.

func (*UpdateAccountReader) ReadResponse

func (o *UpdateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateAccountUnauthorized

type UpdateAccountUnauthorized struct {
}
UpdateAccountUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateAccountUnauthorized

func NewUpdateAccountUnauthorized() *UpdateAccountUnauthorized

NewUpdateAccountUnauthorized creates a UpdateAccountUnauthorized with default headers values

func (*UpdateAccountUnauthorized) Error

func (o *UpdateAccountUnauthorized) Error() string

type UpdateNotificationBadRequest

type UpdateNotificationBadRequest struct {
}
UpdateNotificationBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateNotificationBadRequest

func NewUpdateNotificationBadRequest() *UpdateNotificationBadRequest

NewUpdateNotificationBadRequest creates a UpdateNotificationBadRequest with default headers values

func (*UpdateNotificationBadRequest) Error

type UpdateNotificationNotFound

type UpdateNotificationNotFound struct {
}
UpdateNotificationNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateNotificationNotFound

func NewUpdateNotificationNotFound() *UpdateNotificationNotFound

NewUpdateNotificationNotFound creates a UpdateNotificationNotFound with default headers values

func (*UpdateNotificationNotFound) Error

type UpdateNotificationOK

type UpdateNotificationOK struct {
	Payload *models.NotificationModel
}
UpdateNotificationOK describes a response with status code 200, with default header values.

Success

func NewUpdateNotificationOK

func NewUpdateNotificationOK() *UpdateNotificationOK

NewUpdateNotificationOK creates a UpdateNotificationOK with default headers values

func (*UpdateNotificationOK) Error

func (o *UpdateNotificationOK) Error() string

func (*UpdateNotificationOK) GetPayload

type UpdateNotificationParams

type UpdateNotificationParams 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 notification object you wish to update.
	*/
	Body *models.NotificationModel

	/* ID.

	   The id of the notification you wish to update.

	   Format: int64
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNotificationParams contains all the parameters to send to the API endpoint

for the update notification operation.

Typically these are written to a http.Request.

func NewUpdateNotificationParams

func NewUpdateNotificationParams() *UpdateNotificationParams

NewUpdateNotificationParams creates a new UpdateNotificationParams 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 NewUpdateNotificationParamsWithContext

func NewUpdateNotificationParamsWithContext(ctx context.Context) *UpdateNotificationParams

NewUpdateNotificationParamsWithContext creates a new UpdateNotificationParams object with the ability to set a context for a request.

func NewUpdateNotificationParamsWithHTTPClient

func NewUpdateNotificationParamsWithHTTPClient(client *http.Client) *UpdateNotificationParams

NewUpdateNotificationParamsWithHTTPClient creates a new UpdateNotificationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNotificationParamsWithTimeout

func NewUpdateNotificationParamsWithTimeout(timeout time.Duration) *UpdateNotificationParams

NewUpdateNotificationParamsWithTimeout creates a new UpdateNotificationParams object with the ability to set a timeout on a request.

func (*UpdateNotificationParams) SetBody

SetBody adds the body to the update notification params

func (*UpdateNotificationParams) SetContext

func (o *UpdateNotificationParams) SetContext(ctx context.Context)

SetContext adds the context to the update notification params

func (*UpdateNotificationParams) SetDefaults

func (o *UpdateNotificationParams) SetDefaults()

SetDefaults hydrates default values in the update notification params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNotificationParams) SetHTTPClient

func (o *UpdateNotificationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update notification params

func (*UpdateNotificationParams) SetID

func (o *UpdateNotificationParams) SetID(id int64)

SetID adds the id to the update notification params

func (*UpdateNotificationParams) SetTimeout

func (o *UpdateNotificationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update notification params

func (*UpdateNotificationParams) SetXAvalaraClient

func (o *UpdateNotificationParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the update notification params

func (*UpdateNotificationParams) WithBody

WithBody adds the body to the update notification params

func (*UpdateNotificationParams) WithContext

WithContext adds the context to the update notification params

func (*UpdateNotificationParams) WithDefaults

WithDefaults hydrates default values in the update notification params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNotificationParams) WithHTTPClient

func (o *UpdateNotificationParams) WithHTTPClient(client *http.Client) *UpdateNotificationParams

WithHTTPClient adds the HTTPClient to the update notification params

func (*UpdateNotificationParams) WithID

WithID adds the id to the update notification params

func (*UpdateNotificationParams) WithTimeout

WithTimeout adds the timeout to the update notification params

func (*UpdateNotificationParams) WithXAvalaraClient

func (o *UpdateNotificationParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateNotificationParams

WithXAvalaraClient adds the xAvalaraClient to the update notification params

func (*UpdateNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNotificationReader

type UpdateNotificationReader struct {
	// contains filtered or unexported fields
}

UpdateNotificationReader is a Reader for the UpdateNotification structure.

func (*UpdateNotificationReader) ReadResponse

func (o *UpdateNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNotificationUnauthorized

type UpdateNotificationUnauthorized struct {
}
UpdateNotificationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateNotificationUnauthorized

func NewUpdateNotificationUnauthorized() *UpdateNotificationUnauthorized

NewUpdateNotificationUnauthorized creates a UpdateNotificationUnauthorized with default headers values

func (*UpdateNotificationUnauthorized) Error

type UpdateSubscriptionBadRequest

type UpdateSubscriptionBadRequest struct {
}
UpdateSubscriptionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateSubscriptionBadRequest

func NewUpdateSubscriptionBadRequest() *UpdateSubscriptionBadRequest

NewUpdateSubscriptionBadRequest creates a UpdateSubscriptionBadRequest with default headers values

func (*UpdateSubscriptionBadRequest) Error

type UpdateSubscriptionNotFound

type UpdateSubscriptionNotFound struct {
}
UpdateSubscriptionNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateSubscriptionNotFound

func NewUpdateSubscriptionNotFound() *UpdateSubscriptionNotFound

NewUpdateSubscriptionNotFound creates a UpdateSubscriptionNotFound with default headers values

func (*UpdateSubscriptionNotFound) Error

type UpdateSubscriptionOK

type UpdateSubscriptionOK struct {
	Payload *models.SubscriptionModel
}
UpdateSubscriptionOK describes a response with status code 200, with default header values.

Success

func NewUpdateSubscriptionOK

func NewUpdateSubscriptionOK() *UpdateSubscriptionOK

NewUpdateSubscriptionOK creates a UpdateSubscriptionOK with default headers values

func (*UpdateSubscriptionOK) Error

func (o *UpdateSubscriptionOK) Error() string

func (*UpdateSubscriptionOK) GetPayload

type UpdateSubscriptionParams

type UpdateSubscriptionParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* AccountID.

	   The ID of the account that this subscription belongs to.

	   Format: int32
	*/
	AccountID int32

	/* Body.

	   The subscription you wish to update.
	*/
	Body *models.SubscriptionModel

	/* ID.

	   The ID of the subscription you wish to update

	   Format: int32
	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateSubscriptionParams contains all the parameters to send to the API endpoint

for the update subscription operation.

Typically these are written to a http.Request.

func NewUpdateSubscriptionParams

func NewUpdateSubscriptionParams() *UpdateSubscriptionParams

NewUpdateSubscriptionParams creates a new UpdateSubscriptionParams 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 NewUpdateSubscriptionParamsWithContext

func NewUpdateSubscriptionParamsWithContext(ctx context.Context) *UpdateSubscriptionParams

NewUpdateSubscriptionParamsWithContext creates a new UpdateSubscriptionParams object with the ability to set a context for a request.

func NewUpdateSubscriptionParamsWithHTTPClient

func NewUpdateSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionParams

NewUpdateSubscriptionParamsWithHTTPClient creates a new UpdateSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSubscriptionParamsWithTimeout

func NewUpdateSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionParams

NewUpdateSubscriptionParamsWithTimeout creates a new UpdateSubscriptionParams object with the ability to set a timeout on a request.

func (*UpdateSubscriptionParams) SetAccountID

func (o *UpdateSubscriptionParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the update subscription params

func (*UpdateSubscriptionParams) SetBody

SetBody adds the body to the update subscription params

func (*UpdateSubscriptionParams) SetContext

func (o *UpdateSubscriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the update subscription params

func (*UpdateSubscriptionParams) SetDefaults

func (o *UpdateSubscriptionParams) SetDefaults()

SetDefaults hydrates default values in the update subscription params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateSubscriptionParams) SetHTTPClient

func (o *UpdateSubscriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update subscription params

func (*UpdateSubscriptionParams) SetID

func (o *UpdateSubscriptionParams) SetID(id int32)

SetID adds the id to the update subscription params

func (*UpdateSubscriptionParams) SetTimeout

func (o *UpdateSubscriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update subscription params

func (*UpdateSubscriptionParams) SetXAvalaraClient

func (o *UpdateSubscriptionParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the update subscription params

func (*UpdateSubscriptionParams) WithAccountID

func (o *UpdateSubscriptionParams) WithAccountID(accountID int32) *UpdateSubscriptionParams

WithAccountID adds the accountID to the update subscription params

func (*UpdateSubscriptionParams) WithBody

WithBody adds the body to the update subscription params

func (*UpdateSubscriptionParams) WithContext

WithContext adds the context to the update subscription params

func (*UpdateSubscriptionParams) WithDefaults

WithDefaults hydrates default values in the update subscription params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateSubscriptionParams) WithHTTPClient

func (o *UpdateSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionParams

WithHTTPClient adds the HTTPClient to the update subscription params

func (*UpdateSubscriptionParams) WithID

WithID adds the id to the update subscription params

func (*UpdateSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the update subscription params

func (*UpdateSubscriptionParams) WithXAvalaraClient

func (o *UpdateSubscriptionParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateSubscriptionParams

WithXAvalaraClient adds the xAvalaraClient to the update subscription params

func (*UpdateSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSubscriptionReader

type UpdateSubscriptionReader struct {
	// contains filtered or unexported fields
}

UpdateSubscriptionReader is a Reader for the UpdateSubscription structure.

func (*UpdateSubscriptionReader) ReadResponse

func (o *UpdateSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateSubscriptionUnauthorized

type UpdateSubscriptionUnauthorized struct {
}
UpdateSubscriptionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateSubscriptionUnauthorized

func NewUpdateSubscriptionUnauthorized() *UpdateSubscriptionUnauthorized

NewUpdateSubscriptionUnauthorized creates a UpdateSubscriptionUnauthorized with default headers values

func (*UpdateSubscriptionUnauthorized) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL