data_sources

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 data sources API

func (*Client) CreateDataSources

func (a *Client) CreateDataSources(params *CreateDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDataSourcesOK, error)
CreateDataSources creates and store new datasources for the respective companies

Create one or more datasource objects.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.

func (*Client) DeleteDataSource

func (a *Client) DeleteDataSource(params *DeleteDataSourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceOK, error)
DeleteDataSource deletes a datasource by datasource id for a company

Marks the existing datasource for a company as deleted.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.

func (*Client) GetDataSourceByID

func (a *Client) GetDataSourceByID(params *GetDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByIDOK, error)
GetDataSourceByID gets data source by data source id

Retrieve the data source by its unique ID number.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.

func (*Client) ListDataSources

func (a *Client) ListDataSources(params *ListDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDataSourcesOK, error)
ListDataSources retrieves all datasources for this company

Gets multiple datasource objects for a given company.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.

func (*Client) QueryDataSources

func (a *Client) QueryDataSources(params *QueryDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryDataSourcesOK, error)
QueryDataSources retrieves all datasources

Get multiple datasource objects across all companies.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDataSource

func (a *Client) UpdateDataSource(params *UpdateDataSourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDataSourceOK, error)
UpdateDataSource updates a datasource identified by id for a company

Updates a datasource for a company.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateDataSources(params *CreateDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDataSourcesOK, error)

	DeleteDataSource(params *DeleteDataSourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceOK, error)

	GetDataSourceByID(params *GetDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByIDOK, error)

	ListDataSources(params *ListDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDataSourcesOK, error)

	QueryDataSources(params *QueryDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryDataSourcesOK, error)

	UpdateDataSource(params *UpdateDataSourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDataSourceOK, 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 data sources API client.

type CreateDataSourcesBadRequest

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

Bad Request

func NewCreateDataSourcesBadRequest

func NewCreateDataSourcesBadRequest() *CreateDataSourcesBadRequest

NewCreateDataSourcesBadRequest creates a CreateDataSourcesBadRequest with default headers values

func (*CreateDataSourcesBadRequest) Error

type CreateDataSourcesNotFound

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

Not Found

func NewCreateDataSourcesNotFound

func NewCreateDataSourcesNotFound() *CreateDataSourcesNotFound

NewCreateDataSourcesNotFound creates a CreateDataSourcesNotFound with default headers values

func (*CreateDataSourcesNotFound) Error

func (o *CreateDataSourcesNotFound) Error() string

type CreateDataSourcesOK

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

Success

func NewCreateDataSourcesOK

func NewCreateDataSourcesOK() *CreateDataSourcesOK

NewCreateDataSourcesOK creates a CreateDataSourcesOK with default headers values

func (*CreateDataSourcesOK) Error

func (o *CreateDataSourcesOK) Error() string

func (*CreateDataSourcesOK) GetPayload

func (o *CreateDataSourcesOK) GetPayload() []*models.DataSourceModel

type CreateDataSourcesParams

type CreateDataSourcesParams struct {

	/* XAvalaraClient.

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

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

	// Body.
	Body []*models.DataSourceModel

	/* CompanyID.

	   The id of the company you which to create the datasources

	   Format: int32
	*/
	CompanyID int32

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

CreateDataSourcesParams contains all the parameters to send to the API endpoint

for the create data sources operation.

Typically these are written to a http.Request.

func NewCreateDataSourcesParams

func NewCreateDataSourcesParams() *CreateDataSourcesParams

NewCreateDataSourcesParams creates a new CreateDataSourcesParams 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 NewCreateDataSourcesParamsWithContext

func NewCreateDataSourcesParamsWithContext(ctx context.Context) *CreateDataSourcesParams

NewCreateDataSourcesParamsWithContext creates a new CreateDataSourcesParams object with the ability to set a context for a request.

func NewCreateDataSourcesParamsWithHTTPClient

func NewCreateDataSourcesParamsWithHTTPClient(client *http.Client) *CreateDataSourcesParams

NewCreateDataSourcesParamsWithHTTPClient creates a new CreateDataSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDataSourcesParamsWithTimeout

func NewCreateDataSourcesParamsWithTimeout(timeout time.Duration) *CreateDataSourcesParams

NewCreateDataSourcesParamsWithTimeout creates a new CreateDataSourcesParams object with the ability to set a timeout on a request.

func (*CreateDataSourcesParams) SetBody

func (o *CreateDataSourcesParams) SetBody(body []*models.DataSourceModel)

SetBody adds the body to the create data sources params

func (*CreateDataSourcesParams) SetCompanyID

func (o *CreateDataSourcesParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create data sources params

func (*CreateDataSourcesParams) SetContext

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

SetContext adds the context to the create data sources params

func (*CreateDataSourcesParams) SetDefaults

func (o *CreateDataSourcesParams) SetDefaults()

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

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

func (*CreateDataSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create data sources params

func (*CreateDataSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the create data sources params

func (*CreateDataSourcesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create data sources params

func (*CreateDataSourcesParams) WithBody

WithBody adds the body to the create data sources params

func (*CreateDataSourcesParams) WithCompanyID

func (o *CreateDataSourcesParams) WithCompanyID(companyID int32) *CreateDataSourcesParams

WithCompanyID adds the companyID to the create data sources params

func (*CreateDataSourcesParams) WithContext

WithContext adds the context to the create data sources params

func (*CreateDataSourcesParams) WithDefaults

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

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

func (*CreateDataSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create data sources params

func (*CreateDataSourcesParams) WithTimeout

WithTimeout adds the timeout to the create data sources params

func (*CreateDataSourcesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create data sources params

func (*CreateDataSourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDataSourcesReader

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

CreateDataSourcesReader is a Reader for the CreateDataSources structure.

func (*CreateDataSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDataSourcesUnauthorized

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

Unauthorized

func NewCreateDataSourcesUnauthorized

func NewCreateDataSourcesUnauthorized() *CreateDataSourcesUnauthorized

NewCreateDataSourcesUnauthorized creates a CreateDataSourcesUnauthorized with default headers values

func (*CreateDataSourcesUnauthorized) Error

type DeleteDataSourceBadRequest

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

Bad Request

func NewDeleteDataSourceBadRequest

func NewDeleteDataSourceBadRequest() *DeleteDataSourceBadRequest

NewDeleteDataSourceBadRequest creates a DeleteDataSourceBadRequest with default headers values

func (*DeleteDataSourceBadRequest) Error

type DeleteDataSourceNotFound

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

Not Found

func NewDeleteDataSourceNotFound

func NewDeleteDataSourceNotFound() *DeleteDataSourceNotFound

NewDeleteDataSourceNotFound creates a DeleteDataSourceNotFound with default headers values

func (*DeleteDataSourceNotFound) Error

func (o *DeleteDataSourceNotFound) Error() string

type DeleteDataSourceOK

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

Success

func NewDeleteDataSourceOK

func NewDeleteDataSourceOK() *DeleteDataSourceOK

NewDeleteDataSourceOK creates a DeleteDataSourceOK with default headers values

func (*DeleteDataSourceOK) Error

func (o *DeleteDataSourceOK) Error() string

func (*DeleteDataSourceOK) GetPayload

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

type DeleteDataSourceParams

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

	/* CompanyID.

	   The id of the company the datasource belongs to.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The id of the datasource you wish to delete.

	   Format: int32
	*/
	ID int32

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

DeleteDataSourceParams contains all the parameters to send to the API endpoint

for the delete data source operation.

Typically these are written to a http.Request.

func NewDeleteDataSourceParams

func NewDeleteDataSourceParams() *DeleteDataSourceParams

NewDeleteDataSourceParams creates a new DeleteDataSourceParams 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 NewDeleteDataSourceParamsWithContext

func NewDeleteDataSourceParamsWithContext(ctx context.Context) *DeleteDataSourceParams

NewDeleteDataSourceParamsWithContext creates a new DeleteDataSourceParams object with the ability to set a context for a request.

func NewDeleteDataSourceParamsWithHTTPClient

func NewDeleteDataSourceParamsWithHTTPClient(client *http.Client) *DeleteDataSourceParams

NewDeleteDataSourceParamsWithHTTPClient creates a new DeleteDataSourceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDataSourceParamsWithTimeout

func NewDeleteDataSourceParamsWithTimeout(timeout time.Duration) *DeleteDataSourceParams

NewDeleteDataSourceParamsWithTimeout creates a new DeleteDataSourceParams object with the ability to set a timeout on a request.

func (*DeleteDataSourceParams) SetCompanyID

func (o *DeleteDataSourceParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete data source params

func (*DeleteDataSourceParams) SetContext

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

SetContext adds the context to the delete data source params

func (*DeleteDataSourceParams) SetDefaults

func (o *DeleteDataSourceParams) SetDefaults()

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

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

func (*DeleteDataSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data source params

func (*DeleteDataSourceParams) SetID

func (o *DeleteDataSourceParams) SetID(id int32)

SetID adds the id to the delete data source params

func (*DeleteDataSourceParams) SetTimeout

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

SetTimeout adds the timeout to the delete data source params

func (*DeleteDataSourceParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete data source params

func (*DeleteDataSourceParams) WithCompanyID

func (o *DeleteDataSourceParams) WithCompanyID(companyID int32) *DeleteDataSourceParams

WithCompanyID adds the companyID to the delete data source params

func (*DeleteDataSourceParams) WithContext

WithContext adds the context to the delete data source params

func (*DeleteDataSourceParams) WithDefaults

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

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

func (*DeleteDataSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete data source params

func (*DeleteDataSourceParams) WithID

WithID adds the id to the delete data source params

func (*DeleteDataSourceParams) WithTimeout

WithTimeout adds the timeout to the delete data source params

func (*DeleteDataSourceParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete data source params

func (*DeleteDataSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataSourceReader

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

DeleteDataSourceReader is a Reader for the DeleteDataSource structure.

func (*DeleteDataSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataSourceUnauthorized

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

Unauthorized

func NewDeleteDataSourceUnauthorized

func NewDeleteDataSourceUnauthorized() *DeleteDataSourceUnauthorized

NewDeleteDataSourceUnauthorized creates a DeleteDataSourceUnauthorized with default headers values

func (*DeleteDataSourceUnauthorized) Error

type GetDataSourceByIDBadRequest

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

Bad Request

func NewGetDataSourceByIDBadRequest

func NewGetDataSourceByIDBadRequest() *GetDataSourceByIDBadRequest

NewGetDataSourceByIDBadRequest creates a GetDataSourceByIDBadRequest with default headers values

func (*GetDataSourceByIDBadRequest) Error

type GetDataSourceByIDNotFound

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

Not Found

func NewGetDataSourceByIDNotFound

func NewGetDataSourceByIDNotFound() *GetDataSourceByIDNotFound

NewGetDataSourceByIDNotFound creates a GetDataSourceByIDNotFound with default headers values

func (*GetDataSourceByIDNotFound) Error

func (o *GetDataSourceByIDNotFound) Error() string

type GetDataSourceByIDOK

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

Success

func NewGetDataSourceByIDOK

func NewGetDataSourceByIDOK() *GetDataSourceByIDOK

NewGetDataSourceByIDOK creates a GetDataSourceByIDOK with default headers values

func (*GetDataSourceByIDOK) Error

func (o *GetDataSourceByIDOK) Error() string

func (*GetDataSourceByIDOK) GetPayload

func (o *GetDataSourceByIDOK) GetPayload() *models.DataSourceModel

type GetDataSourceByIDParams

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

	// CompanyID.
	//
	// Format: int32
	CompanyID int32

	/* ID.

	   data source id

	   Format: int32
	*/
	ID int32

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

GetDataSourceByIDParams contains all the parameters to send to the API endpoint

for the get data source by Id operation.

Typically these are written to a http.Request.

func NewGetDataSourceByIDParams

func NewGetDataSourceByIDParams() *GetDataSourceByIDParams

NewGetDataSourceByIDParams creates a new GetDataSourceByIDParams 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 NewGetDataSourceByIDParamsWithContext

func NewGetDataSourceByIDParamsWithContext(ctx context.Context) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithContext creates a new GetDataSourceByIDParams object with the ability to set a context for a request.

func NewGetDataSourceByIDParamsWithHTTPClient

func NewGetDataSourceByIDParamsWithHTTPClient(client *http.Client) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithHTTPClient creates a new GetDataSourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceByIDParamsWithTimeout

func NewGetDataSourceByIDParamsWithTimeout(timeout time.Duration) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithTimeout creates a new GetDataSourceByIDParams object with the ability to set a timeout on a request.

func (*GetDataSourceByIDParams) SetCompanyID

func (o *GetDataSourceByIDParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get data source by Id params

func (*GetDataSourceByIDParams) SetContext

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

SetContext adds the context to the get data source by Id params

func (*GetDataSourceByIDParams) SetDefaults

func (o *GetDataSourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the get data source by Id params (not the query body).

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

func (*GetDataSourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source by Id params

func (*GetDataSourceByIDParams) SetID

func (o *GetDataSourceByIDParams) SetID(id int32)

SetID adds the id to the get data source by Id params

func (*GetDataSourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get data source by Id params

func (*GetDataSourceByIDParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get data source by Id params

func (*GetDataSourceByIDParams) WithCompanyID

func (o *GetDataSourceByIDParams) WithCompanyID(companyID int32) *GetDataSourceByIDParams

WithCompanyID adds the companyID to the get data source by Id params

func (*GetDataSourceByIDParams) WithContext

WithContext adds the context to the get data source by Id params

func (*GetDataSourceByIDParams) WithDefaults

WithDefaults hydrates default values in the get data source by Id params (not the query body).

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

func (*GetDataSourceByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data source by Id params

func (*GetDataSourceByIDParams) WithID

WithID adds the id to the get data source by Id params

func (*GetDataSourceByIDParams) WithTimeout

WithTimeout adds the timeout to the get data source by Id params

func (*GetDataSourceByIDParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get data source by Id params

func (*GetDataSourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceByIDReader

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

GetDataSourceByIDReader is a Reader for the GetDataSourceByID structure.

func (*GetDataSourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceByIDUnauthorized

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

Unauthorized

func NewGetDataSourceByIDUnauthorized

func NewGetDataSourceByIDUnauthorized() *GetDataSourceByIDUnauthorized

NewGetDataSourceByIDUnauthorized creates a GetDataSourceByIDUnauthorized with default headers values

func (*GetDataSourceByIDUnauthorized) Error

type ListDataSourcesBadRequest

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

Bad Request

func NewListDataSourcesBadRequest

func NewListDataSourcesBadRequest() *ListDataSourcesBadRequest

NewListDataSourcesBadRequest creates a ListDataSourcesBadRequest with default headers values

func (*ListDataSourcesBadRequest) Error

func (o *ListDataSourcesBadRequest) Error() string

type ListDataSourcesNotFound

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

Not Found

func NewListDataSourcesNotFound

func NewListDataSourcesNotFound() *ListDataSourcesNotFound

NewListDataSourcesNotFound creates a ListDataSourcesNotFound with default headers values

func (*ListDataSourcesNotFound) Error

func (o *ListDataSourcesNotFound) Error() string

type ListDataSourcesOK

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

Success

func NewListDataSourcesOK

func NewListDataSourcesOK() *ListDataSourcesOK

NewListDataSourcesOK creates a ListDataSourcesOK with default headers values

func (*ListDataSourcesOK) Error

func (o *ListDataSourcesOK) Error() string

func (*ListDataSourcesOK) GetPayload

type ListDataSourcesParams

type ListDataSourcesParams 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:* isEnabled, isSynced, isAuthorized, name, externalState
	*/
	DollarFilter *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

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

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

	/* CompanyID.

	   The id of the company you wish to retrieve the datasources.

	   Format: int32
	*/
	CompanyID int32

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

ListDataSourcesParams contains all the parameters to send to the API endpoint

for the list data sources operation.

Typically these are written to a http.Request.

func NewListDataSourcesParams

func NewListDataSourcesParams() *ListDataSourcesParams

NewListDataSourcesParams creates a new ListDataSourcesParams 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 NewListDataSourcesParamsWithContext

func NewListDataSourcesParamsWithContext(ctx context.Context) *ListDataSourcesParams

NewListDataSourcesParamsWithContext creates a new ListDataSourcesParams object with the ability to set a context for a request.

func NewListDataSourcesParamsWithHTTPClient

func NewListDataSourcesParamsWithHTTPClient(client *http.Client) *ListDataSourcesParams

NewListDataSourcesParamsWithHTTPClient creates a new ListDataSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewListDataSourcesParamsWithTimeout

func NewListDataSourcesParamsWithTimeout(timeout time.Duration) *ListDataSourcesParams

NewListDataSourcesParamsWithTimeout creates a new ListDataSourcesParams object with the ability to set a timeout on a request.

func (*ListDataSourcesParams) SetCompanyID

func (o *ListDataSourcesParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list data sources params

func (*ListDataSourcesParams) SetContext

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

SetContext adds the context to the list data sources params

func (*ListDataSourcesParams) SetDefaults

func (o *ListDataSourcesParams) SetDefaults()

SetDefaults hydrates default values in the list data sources params (not the query body).

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

func (*ListDataSourcesParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the list data sources params

func (*ListDataSourcesParams) SetDollarOrderBy

func (o *ListDataSourcesParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the list data sources params

func (*ListDataSourcesParams) SetDollarSkip

func (o *ListDataSourcesParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the list data sources params

func (*ListDataSourcesParams) SetDollarTop

func (o *ListDataSourcesParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the list data sources params

func (*ListDataSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list data sources params

func (*ListDataSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the list data sources params

func (*ListDataSourcesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list data sources params

func (*ListDataSourcesParams) WithCompanyID

func (o *ListDataSourcesParams) WithCompanyID(companyID int32) *ListDataSourcesParams

WithCompanyID adds the companyID to the list data sources params

func (*ListDataSourcesParams) WithContext

WithContext adds the context to the list data sources params

func (*ListDataSourcesParams) WithDefaults

func (o *ListDataSourcesParams) WithDefaults() *ListDataSourcesParams

WithDefaults hydrates default values in the list data sources params (not the query body).

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

func (*ListDataSourcesParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the list data sources params

func (*ListDataSourcesParams) WithDollarOrderBy

func (o *ListDataSourcesParams) WithDollarOrderBy(dollarOrderBy *string) *ListDataSourcesParams

WithDollarOrderBy adds the dollarOrderBy to the list data sources params

func (*ListDataSourcesParams) WithDollarSkip

func (o *ListDataSourcesParams) WithDollarSkip(dollarSkip *int32) *ListDataSourcesParams

WithDollarSkip adds the dollarSkip to the list data sources params

func (*ListDataSourcesParams) WithDollarTop

func (o *ListDataSourcesParams) WithDollarTop(dollarTop *int32) *ListDataSourcesParams

WithDollarTop adds the dollarTop to the list data sources params

func (*ListDataSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list data sources params

func (*ListDataSourcesParams) WithTimeout

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

WithTimeout adds the timeout to the list data sources params

func (*ListDataSourcesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list data sources params

func (*ListDataSourcesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListDataSourcesReader

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

ListDataSourcesReader is a Reader for the ListDataSources structure.

func (*ListDataSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListDataSourcesUnauthorized

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

Unauthorized

func NewListDataSourcesUnauthorized

func NewListDataSourcesUnauthorized() *ListDataSourcesUnauthorized

NewListDataSourcesUnauthorized creates a ListDataSourcesUnauthorized with default headers values

func (*ListDataSourcesUnauthorized) Error

type QueryDataSourcesBadRequest

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

Bad Request

func NewQueryDataSourcesBadRequest

func NewQueryDataSourcesBadRequest() *QueryDataSourcesBadRequest

NewQueryDataSourcesBadRequest creates a QueryDataSourcesBadRequest with default headers values

func (*QueryDataSourcesBadRequest) Error

type QueryDataSourcesOK

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

Success

func NewQueryDataSourcesOK

func NewQueryDataSourcesOK() *QueryDataSourcesOK

NewQueryDataSourcesOK creates a QueryDataSourcesOK with default headers values

func (*QueryDataSourcesOK) Error

func (o *QueryDataSourcesOK) Error() string

func (*QueryDataSourcesOK) GetPayload

type QueryDataSourcesParams

type QueryDataSourcesParams 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:* isEnabled, isSynced, isAuthorized, name, externalState
	*/
	DollarFilter *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

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

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

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

QueryDataSourcesParams contains all the parameters to send to the API endpoint

for the query data sources operation.

Typically these are written to a http.Request.

func NewQueryDataSourcesParams

func NewQueryDataSourcesParams() *QueryDataSourcesParams

NewQueryDataSourcesParams creates a new QueryDataSourcesParams 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 NewQueryDataSourcesParamsWithContext

func NewQueryDataSourcesParamsWithContext(ctx context.Context) *QueryDataSourcesParams

NewQueryDataSourcesParamsWithContext creates a new QueryDataSourcesParams object with the ability to set a context for a request.

func NewQueryDataSourcesParamsWithHTTPClient

func NewQueryDataSourcesParamsWithHTTPClient(client *http.Client) *QueryDataSourcesParams

NewQueryDataSourcesParamsWithHTTPClient creates a new QueryDataSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryDataSourcesParamsWithTimeout

func NewQueryDataSourcesParamsWithTimeout(timeout time.Duration) *QueryDataSourcesParams

NewQueryDataSourcesParamsWithTimeout creates a new QueryDataSourcesParams object with the ability to set a timeout on a request.

func (*QueryDataSourcesParams) SetContext

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

SetContext adds the context to the query data sources params

func (*QueryDataSourcesParams) SetDefaults

func (o *QueryDataSourcesParams) SetDefaults()

SetDefaults hydrates default values in the query data sources params (not the query body).

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

func (*QueryDataSourcesParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the query data sources params

func (*QueryDataSourcesParams) SetDollarOrderBy

func (o *QueryDataSourcesParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the query data sources params

func (*QueryDataSourcesParams) SetDollarSkip

func (o *QueryDataSourcesParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the query data sources params

func (*QueryDataSourcesParams) SetDollarTop

func (o *QueryDataSourcesParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the query data sources params

func (*QueryDataSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query data sources params

func (*QueryDataSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the query data sources params

func (*QueryDataSourcesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the query data sources params

func (*QueryDataSourcesParams) WithContext

WithContext adds the context to the query data sources params

func (*QueryDataSourcesParams) WithDefaults

WithDefaults hydrates default values in the query data sources params (not the query body).

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

func (*QueryDataSourcesParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the query data sources params

func (*QueryDataSourcesParams) WithDollarOrderBy

func (o *QueryDataSourcesParams) WithDollarOrderBy(dollarOrderBy *string) *QueryDataSourcesParams

WithDollarOrderBy adds the dollarOrderBy to the query data sources params

func (*QueryDataSourcesParams) WithDollarSkip

func (o *QueryDataSourcesParams) WithDollarSkip(dollarSkip *int32) *QueryDataSourcesParams

WithDollarSkip adds the dollarSkip to the query data sources params

func (*QueryDataSourcesParams) WithDollarTop

func (o *QueryDataSourcesParams) WithDollarTop(dollarTop *int32) *QueryDataSourcesParams

WithDollarTop adds the dollarTop to the query data sources params

func (*QueryDataSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query data sources params

func (*QueryDataSourcesParams) WithTimeout

WithTimeout adds the timeout to the query data sources params

func (*QueryDataSourcesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the query data sources params

func (*QueryDataSourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryDataSourcesReader

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

QueryDataSourcesReader is a Reader for the QueryDataSources structure.

func (*QueryDataSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryDataSourcesUnauthorized

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

Unauthorized

func NewQueryDataSourcesUnauthorized

func NewQueryDataSourcesUnauthorized() *QueryDataSourcesUnauthorized

NewQueryDataSourcesUnauthorized creates a QueryDataSourcesUnauthorized with default headers values

func (*QueryDataSourcesUnauthorized) Error

type UpdateDataSourceBadRequest

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

Bad Request

func NewUpdateDataSourceBadRequest

func NewUpdateDataSourceBadRequest() *UpdateDataSourceBadRequest

NewUpdateDataSourceBadRequest creates a UpdateDataSourceBadRequest with default headers values

func (*UpdateDataSourceBadRequest) Error

type UpdateDataSourceNotFound

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

Not Found

func NewUpdateDataSourceNotFound

func NewUpdateDataSourceNotFound() *UpdateDataSourceNotFound

NewUpdateDataSourceNotFound creates a UpdateDataSourceNotFound with default headers values

func (*UpdateDataSourceNotFound) Error

func (o *UpdateDataSourceNotFound) Error() string

type UpdateDataSourceOK

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

Success

func NewUpdateDataSourceOK

func NewUpdateDataSourceOK() *UpdateDataSourceOK

NewUpdateDataSourceOK creates a UpdateDataSourceOK with default headers values

func (*UpdateDataSourceOK) Error

func (o *UpdateDataSourceOK) Error() string

func (*UpdateDataSourceOK) GetPayload

func (o *UpdateDataSourceOK) GetPayload() *models.DataSourceModel

type UpdateDataSourceParams

type UpdateDataSourceParams struct {

	/* XAvalaraClient.

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

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

	// Body.
	Body *models.DataSourceModel

	/* CompanyID.

	   The id of the company the datasource belongs to.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The id of the datasource you wish to delete.

	   Format: int32
	*/
	ID int32

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

UpdateDataSourceParams contains all the parameters to send to the API endpoint

for the update data source operation.

Typically these are written to a http.Request.

func NewUpdateDataSourceParams

func NewUpdateDataSourceParams() *UpdateDataSourceParams

NewUpdateDataSourceParams creates a new UpdateDataSourceParams 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 NewUpdateDataSourceParamsWithContext

func NewUpdateDataSourceParamsWithContext(ctx context.Context) *UpdateDataSourceParams

NewUpdateDataSourceParamsWithContext creates a new UpdateDataSourceParams object with the ability to set a context for a request.

func NewUpdateDataSourceParamsWithHTTPClient

func NewUpdateDataSourceParamsWithHTTPClient(client *http.Client) *UpdateDataSourceParams

NewUpdateDataSourceParamsWithHTTPClient creates a new UpdateDataSourceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDataSourceParamsWithTimeout

func NewUpdateDataSourceParamsWithTimeout(timeout time.Duration) *UpdateDataSourceParams

NewUpdateDataSourceParamsWithTimeout creates a new UpdateDataSourceParams object with the ability to set a timeout on a request.

func (*UpdateDataSourceParams) SetBody

func (o *UpdateDataSourceParams) SetBody(body *models.DataSourceModel)

SetBody adds the body to the update data source params

func (*UpdateDataSourceParams) SetCompanyID

func (o *UpdateDataSourceParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update data source params

func (*UpdateDataSourceParams) SetContext

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

SetContext adds the context to the update data source params

func (*UpdateDataSourceParams) SetDefaults

func (o *UpdateDataSourceParams) SetDefaults()

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

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

func (*UpdateDataSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update data source params

func (*UpdateDataSourceParams) SetID

func (o *UpdateDataSourceParams) SetID(id int32)

SetID adds the id to the update data source params

func (*UpdateDataSourceParams) SetTimeout

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

SetTimeout adds the timeout to the update data source params

func (*UpdateDataSourceParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update data source params

func (*UpdateDataSourceParams) WithBody

WithBody adds the body to the update data source params

func (*UpdateDataSourceParams) WithCompanyID

func (o *UpdateDataSourceParams) WithCompanyID(companyID int32) *UpdateDataSourceParams

WithCompanyID adds the companyID to the update data source params

func (*UpdateDataSourceParams) WithContext

WithContext adds the context to the update data source params

func (*UpdateDataSourceParams) WithDefaults

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

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

func (*UpdateDataSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update data source params

func (*UpdateDataSourceParams) WithID

WithID adds the id to the update data source params

func (*UpdateDataSourceParams) WithTimeout

WithTimeout adds the timeout to the update data source params

func (*UpdateDataSourceParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update data source params

func (*UpdateDataSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDataSourceReader

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

UpdateDataSourceReader is a Reader for the UpdateDataSource structure.

func (*UpdateDataSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDataSourceUnauthorized

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

Unauthorized

func NewUpdateDataSourceUnauthorized

func NewUpdateDataSourceUnauthorized() *UpdateDataSourceUnauthorized

NewUpdateDataSourceUnauthorized creates a UpdateDataSourceUnauthorized with default headers values

func (*UpdateDataSourceUnauthorized) Error

Jump to

Keyboard shortcuts

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