firm_client_linkages

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 ApproveFirmClientLinkageBadRequest

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

Bad Request

func NewApproveFirmClientLinkageBadRequest

func NewApproveFirmClientLinkageBadRequest() *ApproveFirmClientLinkageBadRequest

NewApproveFirmClientLinkageBadRequest creates a ApproveFirmClientLinkageBadRequest with default headers values

func (*ApproveFirmClientLinkageBadRequest) Error

type ApproveFirmClientLinkageNotFound

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

Not Found

func NewApproveFirmClientLinkageNotFound

func NewApproveFirmClientLinkageNotFound() *ApproveFirmClientLinkageNotFound

NewApproveFirmClientLinkageNotFound creates a ApproveFirmClientLinkageNotFound with default headers values

func (*ApproveFirmClientLinkageNotFound) Error

type ApproveFirmClientLinkageOK

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

Success

func NewApproveFirmClientLinkageOK

func NewApproveFirmClientLinkageOK() *ApproveFirmClientLinkageOK

NewApproveFirmClientLinkageOK creates a ApproveFirmClientLinkageOK with default headers values

func (*ApproveFirmClientLinkageOK) Error

func (*ApproveFirmClientLinkageOK) GetPayload

type ApproveFirmClientLinkageParams

type ApproveFirmClientLinkageParams struct {

	/* XAvalaraClient.

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

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

	// ID.
	//
	// Format: int32
	ID int32

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

ApproveFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the approve firm client linkage operation.

Typically these are written to a http.Request.

func NewApproveFirmClientLinkageParams

func NewApproveFirmClientLinkageParams() *ApproveFirmClientLinkageParams

NewApproveFirmClientLinkageParams creates a new ApproveFirmClientLinkageParams 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 NewApproveFirmClientLinkageParamsWithContext

func NewApproveFirmClientLinkageParamsWithContext(ctx context.Context) *ApproveFirmClientLinkageParams

NewApproveFirmClientLinkageParamsWithContext creates a new ApproveFirmClientLinkageParams object with the ability to set a context for a request.

func NewApproveFirmClientLinkageParamsWithHTTPClient

func NewApproveFirmClientLinkageParamsWithHTTPClient(client *http.Client) *ApproveFirmClientLinkageParams

NewApproveFirmClientLinkageParamsWithHTTPClient creates a new ApproveFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewApproveFirmClientLinkageParamsWithTimeout

func NewApproveFirmClientLinkageParamsWithTimeout(timeout time.Duration) *ApproveFirmClientLinkageParams

NewApproveFirmClientLinkageParamsWithTimeout creates a new ApproveFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*ApproveFirmClientLinkageParams) SetContext

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

SetContext adds the context to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) SetDefaults

func (o *ApproveFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the approve firm client linkage params (not the query body).

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

func (*ApproveFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) SetID

SetID adds the id to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) WithContext

WithContext adds the context to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the approve firm client linkage params (not the query body).

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

func (*ApproveFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) WithID

WithID adds the id to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the approve firm client linkage params

func (*ApproveFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ApproveFirmClientLinkageReader

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

ApproveFirmClientLinkageReader is a Reader for the ApproveFirmClientLinkage structure.

func (*ApproveFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ApproveFirmClientLinkageUnauthorized

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

Unauthorized

func NewApproveFirmClientLinkageUnauthorized

func NewApproveFirmClientLinkageUnauthorized() *ApproveFirmClientLinkageUnauthorized

NewApproveFirmClientLinkageUnauthorized creates a ApproveFirmClientLinkageUnauthorized with default headers values

func (*ApproveFirmClientLinkageUnauthorized) Error

type Client

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

Client for firm client linkages API

func (*Client) ApproveFirmClientLinkage

func (a *Client) ApproveFirmClientLinkage(params *ApproveFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApproveFirmClientLinkageOK, error)
ApproveFirmClientLinkage approves linkage to a firm for a client account

This API enables the account admin of a client account to approve linkage request by a firm.

### Security Policies

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

func (*Client) CreateAndLinkNewFirmClientAccount

CreateAndLinkNewFirmClientAccount requests a new firm client account and create an approved linkage to it

This API is for use by Firms only.

Avalara allows firms to manage returns for clients without the clients needing to use AvaTax service. Firms can create accounts of FirmClient for customers they are managing using this API.

Calling this API creates an account with the specified product subscriptions, but without a new user for account. Account is then linked to the Firm so they can managed their returns. You should call this API when a customer does not have an AvaTax account and is to be managed only by the firm.

The created account will be created in `Active` status but there will be no user or license key associated with account.

### Security Policies

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

func (*Client) CreateFirmClientLinkage

func (a *Client) CreateFirmClientLinkage(params *CreateFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFirmClientLinkageCreated, error)
CreateFirmClientLinkage links a firm account with the client account

This API enables the firm admins/firm users to request the linkage of a firm account and a client account.

### Security Policies

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

func (*Client) DeleteFirmClientLinkage

func (a *Client) DeleteFirmClientLinkage(params *DeleteFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFirmClientLinkageOK, error)
DeleteFirmClientLinkage deletes a linkage

This API marks a linkage between a firm and client as deleted.

### Security Policies

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

func (*Client) GetFirmClientLinkage

func (a *Client) GetFirmClientLinkage(params *GetFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFirmClientLinkageOK, error)
GetFirmClientLinkage gets linkage between a firm and client by id

This API enables the firm admins/firm users to request the linkage of a firm account and a client account.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) ListFirmClientLinkage

func (a *Client) ListFirmClientLinkage(params *ListFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFirmClientLinkageOK, error)
ListFirmClientLinkage lists client linkages for a firm or client

This API enables the firm or account users to request the associated linkages to the account.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) RejectFirmClientLinkage

func (a *Client) RejectFirmClientLinkage(params *RejectFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectFirmClientLinkageOK, error)
RejectFirmClientLinkage rejects linkage to a firm for a client account

This API enables the account admin of a client account to reject linkage request by a firm.

### Security Policies

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

func (*Client) ResetFirmClientLinkage

func (a *Client) ResetFirmClientLinkage(params *ResetFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetFirmClientLinkageOK, error)
ResetFirmClientLinkage resets linkage status between a client and firm back to requested

This API enables the firm admin of a client account to reset a previously created linkage request by a firm.

### Security Policies

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

func (*Client) RevokeFirmClientLinkage

func (a *Client) RevokeFirmClientLinkage(params *RevokeFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeFirmClientLinkageOK, error)
RevokeFirmClientLinkage revokes previously approved linkage to a firm for a client account

This API enables the account admin of a client account to revoke a previously approved linkage request by a firm.

### Security Policies

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ApproveFirmClientLinkage(params *ApproveFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApproveFirmClientLinkageOK, error)

	CreateAndLinkNewFirmClientAccount(params *CreateAndLinkNewFirmClientAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAndLinkNewFirmClientAccountCreated, error)

	CreateFirmClientLinkage(params *CreateFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFirmClientLinkageCreated, error)

	DeleteFirmClientLinkage(params *DeleteFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFirmClientLinkageOK, error)

	GetFirmClientLinkage(params *GetFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFirmClientLinkageOK, error)

	ListFirmClientLinkage(params *ListFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFirmClientLinkageOK, error)

	RejectFirmClientLinkage(params *RejectFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectFirmClientLinkageOK, error)

	ResetFirmClientLinkage(params *ResetFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetFirmClientLinkageOK, error)

	RevokeFirmClientLinkage(params *RevokeFirmClientLinkageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeFirmClientLinkageOK, 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 firm client linkages API client.

type CreateAndLinkNewFirmClientAccountBadRequest

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

Bad Request

func NewCreateAndLinkNewFirmClientAccountBadRequest

func NewCreateAndLinkNewFirmClientAccountBadRequest() *CreateAndLinkNewFirmClientAccountBadRequest

NewCreateAndLinkNewFirmClientAccountBadRequest creates a CreateAndLinkNewFirmClientAccountBadRequest with default headers values

func (*CreateAndLinkNewFirmClientAccountBadRequest) Error

type CreateAndLinkNewFirmClientAccountCreated

type CreateAndLinkNewFirmClientAccountCreated struct {
	Payload *models.FirmClientLinkageOutputModel
}
CreateAndLinkNewFirmClientAccountCreated describes a response with status code 201, with default header values.

Success

func NewCreateAndLinkNewFirmClientAccountCreated

func NewCreateAndLinkNewFirmClientAccountCreated() *CreateAndLinkNewFirmClientAccountCreated

NewCreateAndLinkNewFirmClientAccountCreated creates a CreateAndLinkNewFirmClientAccountCreated with default headers values

func (*CreateAndLinkNewFirmClientAccountCreated) Error

func (*CreateAndLinkNewFirmClientAccountCreated) GetPayload

type CreateAndLinkNewFirmClientAccountParams

type CreateAndLinkNewFirmClientAccountParams 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.

	   Information about the account you wish to create.
	*/
	Body *models.NewFirmClientAccountRequestModel

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

CreateAndLinkNewFirmClientAccountParams contains all the parameters to send to the API endpoint

for the create and link new firm client account operation.

Typically these are written to a http.Request.

func NewCreateAndLinkNewFirmClientAccountParams

func NewCreateAndLinkNewFirmClientAccountParams() *CreateAndLinkNewFirmClientAccountParams

NewCreateAndLinkNewFirmClientAccountParams creates a new CreateAndLinkNewFirmClientAccountParams 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 NewCreateAndLinkNewFirmClientAccountParamsWithContext

func NewCreateAndLinkNewFirmClientAccountParamsWithContext(ctx context.Context) *CreateAndLinkNewFirmClientAccountParams

NewCreateAndLinkNewFirmClientAccountParamsWithContext creates a new CreateAndLinkNewFirmClientAccountParams object with the ability to set a context for a request.

func NewCreateAndLinkNewFirmClientAccountParamsWithHTTPClient

func NewCreateAndLinkNewFirmClientAccountParamsWithHTTPClient(client *http.Client) *CreateAndLinkNewFirmClientAccountParams

NewCreateAndLinkNewFirmClientAccountParamsWithHTTPClient creates a new CreateAndLinkNewFirmClientAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAndLinkNewFirmClientAccountParamsWithTimeout

func NewCreateAndLinkNewFirmClientAccountParamsWithTimeout(timeout time.Duration) *CreateAndLinkNewFirmClientAccountParams

NewCreateAndLinkNewFirmClientAccountParamsWithTimeout creates a new CreateAndLinkNewFirmClientAccountParams object with the ability to set a timeout on a request.

func (*CreateAndLinkNewFirmClientAccountParams) SetBody

SetBody adds the body to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) SetContext

SetContext adds the context to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) SetDefaults

func (o *CreateAndLinkNewFirmClientAccountParams) SetDefaults()

SetDefaults hydrates default values in the create and link new firm client account params (not the query body).

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

func (*CreateAndLinkNewFirmClientAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) WithBody

WithBody adds the body to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) WithContext

WithContext adds the context to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) WithDefaults

WithDefaults hydrates default values in the create and link new firm client account params (not the query body).

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

func (*CreateAndLinkNewFirmClientAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) WithTimeout

WithTimeout adds the timeout to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the create and link new firm client account params

func (*CreateAndLinkNewFirmClientAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAndLinkNewFirmClientAccountReader

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

CreateAndLinkNewFirmClientAccountReader is a Reader for the CreateAndLinkNewFirmClientAccount structure.

func (*CreateAndLinkNewFirmClientAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAndLinkNewFirmClientAccountUnauthorized

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

Unauthorized

func NewCreateAndLinkNewFirmClientAccountUnauthorized

func NewCreateAndLinkNewFirmClientAccountUnauthorized() *CreateAndLinkNewFirmClientAccountUnauthorized

NewCreateAndLinkNewFirmClientAccountUnauthorized creates a CreateAndLinkNewFirmClientAccountUnauthorized with default headers values

func (*CreateAndLinkNewFirmClientAccountUnauthorized) Error

type CreateFirmClientLinkageBadRequest

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

Bad Request

func NewCreateFirmClientLinkageBadRequest

func NewCreateFirmClientLinkageBadRequest() *CreateFirmClientLinkageBadRequest

NewCreateFirmClientLinkageBadRequest creates a CreateFirmClientLinkageBadRequest with default headers values

func (*CreateFirmClientLinkageBadRequest) Error

type CreateFirmClientLinkageCreated

type CreateFirmClientLinkageCreated struct {
	Payload *models.FirmClientLinkageOutputModel
}
CreateFirmClientLinkageCreated describes a response with status code 201, with default header values.

Success

func NewCreateFirmClientLinkageCreated

func NewCreateFirmClientLinkageCreated() *CreateFirmClientLinkageCreated

NewCreateFirmClientLinkageCreated creates a CreateFirmClientLinkageCreated with default headers values

func (*CreateFirmClientLinkageCreated) Error

func (*CreateFirmClientLinkageCreated) GetPayload

type CreateFirmClientLinkageParams

type CreateFirmClientLinkageParams 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.

	   FirmClientLinkageInputModel
	*/
	Body *models.FirmClientLinkageInputModel

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

CreateFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the create firm client linkage operation.

Typically these are written to a http.Request.

func NewCreateFirmClientLinkageParams

func NewCreateFirmClientLinkageParams() *CreateFirmClientLinkageParams

NewCreateFirmClientLinkageParams creates a new CreateFirmClientLinkageParams 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 NewCreateFirmClientLinkageParamsWithContext

func NewCreateFirmClientLinkageParamsWithContext(ctx context.Context) *CreateFirmClientLinkageParams

NewCreateFirmClientLinkageParamsWithContext creates a new CreateFirmClientLinkageParams object with the ability to set a context for a request.

func NewCreateFirmClientLinkageParamsWithHTTPClient

func NewCreateFirmClientLinkageParamsWithHTTPClient(client *http.Client) *CreateFirmClientLinkageParams

NewCreateFirmClientLinkageParamsWithHTTPClient creates a new CreateFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFirmClientLinkageParamsWithTimeout

func NewCreateFirmClientLinkageParamsWithTimeout(timeout time.Duration) *CreateFirmClientLinkageParams

NewCreateFirmClientLinkageParamsWithTimeout creates a new CreateFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*CreateFirmClientLinkageParams) SetBody

SetBody adds the body to the create firm client linkage params

func (*CreateFirmClientLinkageParams) SetContext

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

SetContext adds the context to the create firm client linkage params

func (*CreateFirmClientLinkageParams) SetDefaults

func (o *CreateFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the create firm client linkage params (not the query body).

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

func (*CreateFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create firm client linkage params

func (*CreateFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the create firm client linkage params

func (*CreateFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create firm client linkage params

func (*CreateFirmClientLinkageParams) WithBody

WithBody adds the body to the create firm client linkage params

func (*CreateFirmClientLinkageParams) WithContext

WithContext adds the context to the create firm client linkage params

func (*CreateFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the create firm client linkage params (not the query body).

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

func (*CreateFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create firm client linkage params

func (*CreateFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the create firm client linkage params

func (*CreateFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create firm client linkage params

func (*CreateFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFirmClientLinkageReader

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

CreateFirmClientLinkageReader is a Reader for the CreateFirmClientLinkage structure.

func (*CreateFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFirmClientLinkageUnauthorized

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

Unauthorized

func NewCreateFirmClientLinkageUnauthorized

func NewCreateFirmClientLinkageUnauthorized() *CreateFirmClientLinkageUnauthorized

NewCreateFirmClientLinkageUnauthorized creates a CreateFirmClientLinkageUnauthorized with default headers values

func (*CreateFirmClientLinkageUnauthorized) Error

type DeleteFirmClientLinkageBadRequest

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

Bad Request

func NewDeleteFirmClientLinkageBadRequest

func NewDeleteFirmClientLinkageBadRequest() *DeleteFirmClientLinkageBadRequest

NewDeleteFirmClientLinkageBadRequest creates a DeleteFirmClientLinkageBadRequest with default headers values

func (*DeleteFirmClientLinkageBadRequest) Error

type DeleteFirmClientLinkageNotFound

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

Not Found

func NewDeleteFirmClientLinkageNotFound

func NewDeleteFirmClientLinkageNotFound() *DeleteFirmClientLinkageNotFound

NewDeleteFirmClientLinkageNotFound creates a DeleteFirmClientLinkageNotFound with default headers values

func (*DeleteFirmClientLinkageNotFound) Error

type DeleteFirmClientLinkageOK

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

Success

func NewDeleteFirmClientLinkageOK

func NewDeleteFirmClientLinkageOK() *DeleteFirmClientLinkageOK

NewDeleteFirmClientLinkageOK creates a DeleteFirmClientLinkageOK with default headers values

func (*DeleteFirmClientLinkageOK) Error

func (o *DeleteFirmClientLinkageOK) Error() string

func (*DeleteFirmClientLinkageOK) GetPayload

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

type DeleteFirmClientLinkageParams

type DeleteFirmClientLinkageParams struct {

	/* XAvalaraClient.

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

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

	// ID.
	//
	// Format: int32
	ID int32

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

DeleteFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the delete firm client linkage operation.

Typically these are written to a http.Request.

func NewDeleteFirmClientLinkageParams

func NewDeleteFirmClientLinkageParams() *DeleteFirmClientLinkageParams

NewDeleteFirmClientLinkageParams creates a new DeleteFirmClientLinkageParams 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 NewDeleteFirmClientLinkageParamsWithContext

func NewDeleteFirmClientLinkageParamsWithContext(ctx context.Context) *DeleteFirmClientLinkageParams

NewDeleteFirmClientLinkageParamsWithContext creates a new DeleteFirmClientLinkageParams object with the ability to set a context for a request.

func NewDeleteFirmClientLinkageParamsWithHTTPClient

func NewDeleteFirmClientLinkageParamsWithHTTPClient(client *http.Client) *DeleteFirmClientLinkageParams

NewDeleteFirmClientLinkageParamsWithHTTPClient creates a new DeleteFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFirmClientLinkageParamsWithTimeout

func NewDeleteFirmClientLinkageParamsWithTimeout(timeout time.Duration) *DeleteFirmClientLinkageParams

NewDeleteFirmClientLinkageParamsWithTimeout creates a new DeleteFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*DeleteFirmClientLinkageParams) SetContext

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

SetContext adds the context to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) SetDefaults

func (o *DeleteFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the delete firm client linkage params (not the query body).

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

func (*DeleteFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) SetID

func (o *DeleteFirmClientLinkageParams) SetID(id int32)

SetID adds the id to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) WithContext

WithContext adds the context to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the delete firm client linkage params (not the query body).

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

func (*DeleteFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) WithID

WithID adds the id to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete firm client linkage params

func (*DeleteFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteFirmClientLinkageReader

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

DeleteFirmClientLinkageReader is a Reader for the DeleteFirmClientLinkage structure.

func (*DeleteFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteFirmClientLinkageUnauthorized

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

Unauthorized

func NewDeleteFirmClientLinkageUnauthorized

func NewDeleteFirmClientLinkageUnauthorized() *DeleteFirmClientLinkageUnauthorized

NewDeleteFirmClientLinkageUnauthorized creates a DeleteFirmClientLinkageUnauthorized with default headers values

func (*DeleteFirmClientLinkageUnauthorized) Error

type GetFirmClientLinkageBadRequest

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

Bad Request

func NewGetFirmClientLinkageBadRequest

func NewGetFirmClientLinkageBadRequest() *GetFirmClientLinkageBadRequest

NewGetFirmClientLinkageBadRequest creates a GetFirmClientLinkageBadRequest with default headers values

func (*GetFirmClientLinkageBadRequest) Error

type GetFirmClientLinkageNotFound

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

Not Found

func NewGetFirmClientLinkageNotFound

func NewGetFirmClientLinkageNotFound() *GetFirmClientLinkageNotFound

NewGetFirmClientLinkageNotFound creates a GetFirmClientLinkageNotFound with default headers values

func (*GetFirmClientLinkageNotFound) Error

type GetFirmClientLinkageOK

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

Success

func NewGetFirmClientLinkageOK

func NewGetFirmClientLinkageOK() *GetFirmClientLinkageOK

NewGetFirmClientLinkageOK creates a GetFirmClientLinkageOK with default headers values

func (*GetFirmClientLinkageOK) Error

func (o *GetFirmClientLinkageOK) Error() string

func (*GetFirmClientLinkageOK) GetPayload

type GetFirmClientLinkageParams

type GetFirmClientLinkageParams struct {

	/* XAvalaraClient.

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

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

	// ID.
	//
	// Format: int32
	ID int32

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

GetFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the get firm client linkage operation.

Typically these are written to a http.Request.

func NewGetFirmClientLinkageParams

func NewGetFirmClientLinkageParams() *GetFirmClientLinkageParams

NewGetFirmClientLinkageParams creates a new GetFirmClientLinkageParams 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 NewGetFirmClientLinkageParamsWithContext

func NewGetFirmClientLinkageParamsWithContext(ctx context.Context) *GetFirmClientLinkageParams

NewGetFirmClientLinkageParamsWithContext creates a new GetFirmClientLinkageParams object with the ability to set a context for a request.

func NewGetFirmClientLinkageParamsWithHTTPClient

func NewGetFirmClientLinkageParamsWithHTTPClient(client *http.Client) *GetFirmClientLinkageParams

NewGetFirmClientLinkageParamsWithHTTPClient creates a new GetFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewGetFirmClientLinkageParamsWithTimeout

func NewGetFirmClientLinkageParamsWithTimeout(timeout time.Duration) *GetFirmClientLinkageParams

NewGetFirmClientLinkageParamsWithTimeout creates a new GetFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*GetFirmClientLinkageParams) SetContext

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

SetContext adds the context to the get firm client linkage params

func (*GetFirmClientLinkageParams) SetDefaults

func (o *GetFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the get firm client linkage params (not the query body).

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

func (*GetFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get firm client linkage params

func (*GetFirmClientLinkageParams) SetID

func (o *GetFirmClientLinkageParams) SetID(id int32)

SetID adds the id to the get firm client linkage params

func (*GetFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the get firm client linkage params

func (*GetFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get firm client linkage params

func (*GetFirmClientLinkageParams) WithContext

WithContext adds the context to the get firm client linkage params

func (*GetFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the get firm client linkage params (not the query body).

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

func (*GetFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get firm client linkage params

func (*GetFirmClientLinkageParams) WithID

WithID adds the id to the get firm client linkage params

func (*GetFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the get firm client linkage params

func (*GetFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get firm client linkage params

func (*GetFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFirmClientLinkageReader

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

GetFirmClientLinkageReader is a Reader for the GetFirmClientLinkage structure.

func (*GetFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFirmClientLinkageUnauthorized

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

Unauthorized

func NewGetFirmClientLinkageUnauthorized

func NewGetFirmClientLinkageUnauthorized() *GetFirmClientLinkageUnauthorized

NewGetFirmClientLinkageUnauthorized creates a GetFirmClientLinkageUnauthorized with default headers values

func (*GetFirmClientLinkageUnauthorized) Error

type ListFirmClientLinkageBadRequest

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

Bad Request

func NewListFirmClientLinkageBadRequest

func NewListFirmClientLinkageBadRequest() *ListFirmClientLinkageBadRequest

NewListFirmClientLinkageBadRequest creates a ListFirmClientLinkageBadRequest with default headers values

func (*ListFirmClientLinkageBadRequest) Error

type ListFirmClientLinkageOK

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

Success

func NewListFirmClientLinkageOK

func NewListFirmClientLinkageOK() *ListFirmClientLinkageOK

NewListFirmClientLinkageOK creates a ListFirmClientLinkageOK with default headers values

func (*ListFirmClientLinkageOK) Error

func (o *ListFirmClientLinkageOK) Error() string

func (*ListFirmClientLinkageOK) GetPayload

type ListFirmClientLinkageParams

type ListFirmClientLinkageParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* firmAccountName, clientAccountName
	*/
	DollarFilter *string

	/* XAvalaraClient.

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

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

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

ListFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the list firm client linkage operation.

Typically these are written to a http.Request.

func NewListFirmClientLinkageParams

func NewListFirmClientLinkageParams() *ListFirmClientLinkageParams

NewListFirmClientLinkageParams creates a new ListFirmClientLinkageParams 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 NewListFirmClientLinkageParamsWithContext

func NewListFirmClientLinkageParamsWithContext(ctx context.Context) *ListFirmClientLinkageParams

NewListFirmClientLinkageParamsWithContext creates a new ListFirmClientLinkageParams object with the ability to set a context for a request.

func NewListFirmClientLinkageParamsWithHTTPClient

func NewListFirmClientLinkageParamsWithHTTPClient(client *http.Client) *ListFirmClientLinkageParams

NewListFirmClientLinkageParamsWithHTTPClient creates a new ListFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewListFirmClientLinkageParamsWithTimeout

func NewListFirmClientLinkageParamsWithTimeout(timeout time.Duration) *ListFirmClientLinkageParams

NewListFirmClientLinkageParamsWithTimeout creates a new ListFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*ListFirmClientLinkageParams) SetContext

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

SetContext adds the context to the list firm client linkage params

func (*ListFirmClientLinkageParams) SetDefaults

func (o *ListFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the list firm client linkage params (not the query body).

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

func (*ListFirmClientLinkageParams) SetDollarFilter

func (o *ListFirmClientLinkageParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the list firm client linkage params

func (*ListFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list firm client linkage params

func (*ListFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the list firm client linkage params

func (*ListFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list firm client linkage params

func (*ListFirmClientLinkageParams) WithContext

WithContext adds the context to the list firm client linkage params

func (*ListFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the list firm client linkage params (not the query body).

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

func (*ListFirmClientLinkageParams) WithDollarFilter

func (o *ListFirmClientLinkageParams) WithDollarFilter(dollarFilter *string) *ListFirmClientLinkageParams

WithDollarFilter adds the dollarFilter to the list firm client linkage params

func (*ListFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list firm client linkage params

func (*ListFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the list firm client linkage params

func (*ListFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list firm client linkage params

func (*ListFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListFirmClientLinkageReader

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

ListFirmClientLinkageReader is a Reader for the ListFirmClientLinkage structure.

func (*ListFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListFirmClientLinkageUnauthorized

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

Unauthorized

func NewListFirmClientLinkageUnauthorized

func NewListFirmClientLinkageUnauthorized() *ListFirmClientLinkageUnauthorized

NewListFirmClientLinkageUnauthorized creates a ListFirmClientLinkageUnauthorized with default headers values

func (*ListFirmClientLinkageUnauthorized) Error

type RejectFirmClientLinkageBadRequest

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

Bad Request

func NewRejectFirmClientLinkageBadRequest

func NewRejectFirmClientLinkageBadRequest() *RejectFirmClientLinkageBadRequest

NewRejectFirmClientLinkageBadRequest creates a RejectFirmClientLinkageBadRequest with default headers values

func (*RejectFirmClientLinkageBadRequest) Error

type RejectFirmClientLinkageNotFound

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

Not Found

func NewRejectFirmClientLinkageNotFound

func NewRejectFirmClientLinkageNotFound() *RejectFirmClientLinkageNotFound

NewRejectFirmClientLinkageNotFound creates a RejectFirmClientLinkageNotFound with default headers values

func (*RejectFirmClientLinkageNotFound) Error

type RejectFirmClientLinkageOK

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

Success

func NewRejectFirmClientLinkageOK

func NewRejectFirmClientLinkageOK() *RejectFirmClientLinkageOK

NewRejectFirmClientLinkageOK creates a RejectFirmClientLinkageOK with default headers values

func (*RejectFirmClientLinkageOK) Error

func (o *RejectFirmClientLinkageOK) Error() string

func (*RejectFirmClientLinkageOK) GetPayload

type RejectFirmClientLinkageParams

type RejectFirmClientLinkageParams struct {

	/* XAvalaraClient.

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

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

	// ID.
	//
	// Format: int32
	ID int32

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

RejectFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the reject firm client linkage operation.

Typically these are written to a http.Request.

func NewRejectFirmClientLinkageParams

func NewRejectFirmClientLinkageParams() *RejectFirmClientLinkageParams

NewRejectFirmClientLinkageParams creates a new RejectFirmClientLinkageParams 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 NewRejectFirmClientLinkageParamsWithContext

func NewRejectFirmClientLinkageParamsWithContext(ctx context.Context) *RejectFirmClientLinkageParams

NewRejectFirmClientLinkageParamsWithContext creates a new RejectFirmClientLinkageParams object with the ability to set a context for a request.

func NewRejectFirmClientLinkageParamsWithHTTPClient

func NewRejectFirmClientLinkageParamsWithHTTPClient(client *http.Client) *RejectFirmClientLinkageParams

NewRejectFirmClientLinkageParamsWithHTTPClient creates a new RejectFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewRejectFirmClientLinkageParamsWithTimeout

func NewRejectFirmClientLinkageParamsWithTimeout(timeout time.Duration) *RejectFirmClientLinkageParams

NewRejectFirmClientLinkageParamsWithTimeout creates a new RejectFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*RejectFirmClientLinkageParams) SetContext

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

SetContext adds the context to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) SetDefaults

func (o *RejectFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the reject firm client linkage params (not the query body).

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

func (*RejectFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) SetID

func (o *RejectFirmClientLinkageParams) SetID(id int32)

SetID adds the id to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) WithContext

WithContext adds the context to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the reject firm client linkage params (not the query body).

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

func (*RejectFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) WithID

WithID adds the id to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the reject firm client linkage params

func (*RejectFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RejectFirmClientLinkageReader

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

RejectFirmClientLinkageReader is a Reader for the RejectFirmClientLinkage structure.

func (*RejectFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RejectFirmClientLinkageUnauthorized

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

Unauthorized

func NewRejectFirmClientLinkageUnauthorized

func NewRejectFirmClientLinkageUnauthorized() *RejectFirmClientLinkageUnauthorized

NewRejectFirmClientLinkageUnauthorized creates a RejectFirmClientLinkageUnauthorized with default headers values

func (*RejectFirmClientLinkageUnauthorized) Error

type ResetFirmClientLinkageBadRequest

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

Bad Request

func NewResetFirmClientLinkageBadRequest

func NewResetFirmClientLinkageBadRequest() *ResetFirmClientLinkageBadRequest

NewResetFirmClientLinkageBadRequest creates a ResetFirmClientLinkageBadRequest with default headers values

func (*ResetFirmClientLinkageBadRequest) Error

type ResetFirmClientLinkageNotFound

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

Not Found

func NewResetFirmClientLinkageNotFound

func NewResetFirmClientLinkageNotFound() *ResetFirmClientLinkageNotFound

NewResetFirmClientLinkageNotFound creates a ResetFirmClientLinkageNotFound with default headers values

func (*ResetFirmClientLinkageNotFound) Error

type ResetFirmClientLinkageOK

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

Success

func NewResetFirmClientLinkageOK

func NewResetFirmClientLinkageOK() *ResetFirmClientLinkageOK

NewResetFirmClientLinkageOK creates a ResetFirmClientLinkageOK with default headers values

func (*ResetFirmClientLinkageOK) Error

func (o *ResetFirmClientLinkageOK) Error() string

func (*ResetFirmClientLinkageOK) GetPayload

type ResetFirmClientLinkageParams

type ResetFirmClientLinkageParams struct {

	/* XAvalaraClient.

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

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

	// ID.
	//
	// Format: int32
	ID int32

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

ResetFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the reset firm client linkage operation.

Typically these are written to a http.Request.

func NewResetFirmClientLinkageParams

func NewResetFirmClientLinkageParams() *ResetFirmClientLinkageParams

NewResetFirmClientLinkageParams creates a new ResetFirmClientLinkageParams 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 NewResetFirmClientLinkageParamsWithContext

func NewResetFirmClientLinkageParamsWithContext(ctx context.Context) *ResetFirmClientLinkageParams

NewResetFirmClientLinkageParamsWithContext creates a new ResetFirmClientLinkageParams object with the ability to set a context for a request.

func NewResetFirmClientLinkageParamsWithHTTPClient

func NewResetFirmClientLinkageParamsWithHTTPClient(client *http.Client) *ResetFirmClientLinkageParams

NewResetFirmClientLinkageParamsWithHTTPClient creates a new ResetFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewResetFirmClientLinkageParamsWithTimeout

func NewResetFirmClientLinkageParamsWithTimeout(timeout time.Duration) *ResetFirmClientLinkageParams

NewResetFirmClientLinkageParamsWithTimeout creates a new ResetFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*ResetFirmClientLinkageParams) SetContext

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

SetContext adds the context to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) SetDefaults

func (o *ResetFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the reset firm client linkage params (not the query body).

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

func (*ResetFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) SetID

func (o *ResetFirmClientLinkageParams) SetID(id int32)

SetID adds the id to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) WithContext

WithContext adds the context to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the reset firm client linkage params (not the query body).

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

func (*ResetFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) WithID

WithID adds the id to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the reset firm client linkage params

func (*ResetFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetFirmClientLinkageReader

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

ResetFirmClientLinkageReader is a Reader for the ResetFirmClientLinkage structure.

func (*ResetFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetFirmClientLinkageUnauthorized

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

Unauthorized

func NewResetFirmClientLinkageUnauthorized

func NewResetFirmClientLinkageUnauthorized() *ResetFirmClientLinkageUnauthorized

NewResetFirmClientLinkageUnauthorized creates a ResetFirmClientLinkageUnauthorized with default headers values

func (*ResetFirmClientLinkageUnauthorized) Error

type RevokeFirmClientLinkageBadRequest

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

Bad Request

func NewRevokeFirmClientLinkageBadRequest

func NewRevokeFirmClientLinkageBadRequest() *RevokeFirmClientLinkageBadRequest

NewRevokeFirmClientLinkageBadRequest creates a RevokeFirmClientLinkageBadRequest with default headers values

func (*RevokeFirmClientLinkageBadRequest) Error

type RevokeFirmClientLinkageNotFound

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

Not Found

func NewRevokeFirmClientLinkageNotFound

func NewRevokeFirmClientLinkageNotFound() *RevokeFirmClientLinkageNotFound

NewRevokeFirmClientLinkageNotFound creates a RevokeFirmClientLinkageNotFound with default headers values

func (*RevokeFirmClientLinkageNotFound) Error

type RevokeFirmClientLinkageOK

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

Success

func NewRevokeFirmClientLinkageOK

func NewRevokeFirmClientLinkageOK() *RevokeFirmClientLinkageOK

NewRevokeFirmClientLinkageOK creates a RevokeFirmClientLinkageOK with default headers values

func (*RevokeFirmClientLinkageOK) Error

func (o *RevokeFirmClientLinkageOK) Error() string

func (*RevokeFirmClientLinkageOK) GetPayload

type RevokeFirmClientLinkageParams

type RevokeFirmClientLinkageParams struct {

	/* XAvalaraClient.

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

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

	// ID.
	//
	// Format: int32
	ID int32

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

RevokeFirmClientLinkageParams contains all the parameters to send to the API endpoint

for the revoke firm client linkage operation.

Typically these are written to a http.Request.

func NewRevokeFirmClientLinkageParams

func NewRevokeFirmClientLinkageParams() *RevokeFirmClientLinkageParams

NewRevokeFirmClientLinkageParams creates a new RevokeFirmClientLinkageParams 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 NewRevokeFirmClientLinkageParamsWithContext

func NewRevokeFirmClientLinkageParamsWithContext(ctx context.Context) *RevokeFirmClientLinkageParams

NewRevokeFirmClientLinkageParamsWithContext creates a new RevokeFirmClientLinkageParams object with the ability to set a context for a request.

func NewRevokeFirmClientLinkageParamsWithHTTPClient

func NewRevokeFirmClientLinkageParamsWithHTTPClient(client *http.Client) *RevokeFirmClientLinkageParams

NewRevokeFirmClientLinkageParamsWithHTTPClient creates a new RevokeFirmClientLinkageParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeFirmClientLinkageParamsWithTimeout

func NewRevokeFirmClientLinkageParamsWithTimeout(timeout time.Duration) *RevokeFirmClientLinkageParams

NewRevokeFirmClientLinkageParamsWithTimeout creates a new RevokeFirmClientLinkageParams object with the ability to set a timeout on a request.

func (*RevokeFirmClientLinkageParams) SetContext

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

SetContext adds the context to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) SetDefaults

func (o *RevokeFirmClientLinkageParams) SetDefaults()

SetDefaults hydrates default values in the revoke firm client linkage params (not the query body).

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

func (*RevokeFirmClientLinkageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) SetID

func (o *RevokeFirmClientLinkageParams) SetID(id int32)

SetID adds the id to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) SetTimeout

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

SetTimeout adds the timeout to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) WithContext

WithContext adds the context to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) WithDefaults

WithDefaults hydrates default values in the revoke firm client linkage params (not the query body).

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

func (*RevokeFirmClientLinkageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) WithID

WithID adds the id to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) WithTimeout

WithTimeout adds the timeout to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the revoke firm client linkage params

func (*RevokeFirmClientLinkageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeFirmClientLinkageReader

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

RevokeFirmClientLinkageReader is a Reader for the RevokeFirmClientLinkage structure.

func (*RevokeFirmClientLinkageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeFirmClientLinkageUnauthorized

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

Unauthorized

func NewRevokeFirmClientLinkageUnauthorized

func NewRevokeFirmClientLinkageUnauthorized() *RevokeFirmClientLinkageUnauthorized

NewRevokeFirmClientLinkageUnauthorized creates a RevokeFirmClientLinkageUnauthorized with default headers values

func (*RevokeFirmClientLinkageUnauthorized) Error

Jump to

Keyboard shortcuts

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