ava_file_forms

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 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 ava file forms API

func (*Client) CreateAvaFileForms

func (a *Client) CreateAvaFileForms(params *CreateAvaFileFormsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAvaFileFormsOK, error)
CreateAvaFileForms creates a new ava file form

Create one or more AvaFileForms

A 'AvaFileForm' represents a form supported by our returns team

### Security Policies

* This API requires the user role Compliance Root User. * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.

func (*Client) DeleteAvaFileForm

func (a *Client) DeleteAvaFileForm(params *DeleteAvaFileFormParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAvaFileFormOK, error)
DeleteAvaFileForm deletes a single ava file form

Marks the existing AvaFileForm object at this URL as deleted.

### Security Policies

* This API requires one of the following user roles: Compliance Root User, ComplianceUser, FirmAdmin. * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.

func (*Client) GetAvaFileForm

func (a *Client) GetAvaFileForm(params *GetAvaFileFormParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvaFileFormOK, error)
GetAvaFileForm retrieves a single ava file form

Get the AvaFileForm object identified by this URL.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin. * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.

func (*Client) QueryAvaFileForms

func (a *Client) QueryAvaFileForms(params *QueryAvaFileFormsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryAvaFileFormsOK, error)
QueryAvaFileForms retrieves all ava file forms

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, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin. * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAvaFileForm

func (a *Client) UpdateAvaFileForm(params *UpdateAvaFileFormParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAvaFileFormOK, error)
UpdateAvaFileForm updates a ava file form

All data from the existing object will be replaced with data in the object you PUT.

To set a field's value to null, you may either set its value to null or omit that field from the object you post.

### Security Policies

* This API requires the user role Compliance Root User. * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAvaFileForms(params *CreateAvaFileFormsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAvaFileFormsOK, error)

	DeleteAvaFileForm(params *DeleteAvaFileFormParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAvaFileFormOK, error)

	GetAvaFileForm(params *GetAvaFileFormParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvaFileFormOK, error)

	QueryAvaFileForms(params *QueryAvaFileFormsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryAvaFileFormsOK, error)

	UpdateAvaFileForm(params *UpdateAvaFileFormParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAvaFileFormOK, 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 ava file forms API client.

type CreateAvaFileFormsBadRequest

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

Bad Request

func NewCreateAvaFileFormsBadRequest

func NewCreateAvaFileFormsBadRequest() *CreateAvaFileFormsBadRequest

NewCreateAvaFileFormsBadRequest creates a CreateAvaFileFormsBadRequest with default headers values

func (*CreateAvaFileFormsBadRequest) Error

type CreateAvaFileFormsOK

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

Success

func NewCreateAvaFileFormsOK

func NewCreateAvaFileFormsOK() *CreateAvaFileFormsOK

NewCreateAvaFileFormsOK creates a CreateAvaFileFormsOK with default headers values

func (*CreateAvaFileFormsOK) Error

func (o *CreateAvaFileFormsOK) Error() string

func (*CreateAvaFileFormsOK) GetPayload

func (o *CreateAvaFileFormsOK) GetPayload() []*models.AvaFileFormModel

type CreateAvaFileFormsParams

type CreateAvaFileFormsParams struct {

	/* XAvalaraClient.

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

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

	/* Body.

	   The AvaFileForm you wish to create.
	*/
	Body []*models.AvaFileFormModel

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

CreateAvaFileFormsParams contains all the parameters to send to the API endpoint

for the create ava file forms operation.

Typically these are written to a http.Request.

func NewCreateAvaFileFormsParams

func NewCreateAvaFileFormsParams() *CreateAvaFileFormsParams

NewCreateAvaFileFormsParams creates a new CreateAvaFileFormsParams 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 NewCreateAvaFileFormsParamsWithContext

func NewCreateAvaFileFormsParamsWithContext(ctx context.Context) *CreateAvaFileFormsParams

NewCreateAvaFileFormsParamsWithContext creates a new CreateAvaFileFormsParams object with the ability to set a context for a request.

func NewCreateAvaFileFormsParamsWithHTTPClient

func NewCreateAvaFileFormsParamsWithHTTPClient(client *http.Client) *CreateAvaFileFormsParams

NewCreateAvaFileFormsParamsWithHTTPClient creates a new CreateAvaFileFormsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAvaFileFormsParamsWithTimeout

func NewCreateAvaFileFormsParamsWithTimeout(timeout time.Duration) *CreateAvaFileFormsParams

NewCreateAvaFileFormsParamsWithTimeout creates a new CreateAvaFileFormsParams object with the ability to set a timeout on a request.

func (*CreateAvaFileFormsParams) SetBody

func (o *CreateAvaFileFormsParams) SetBody(body []*models.AvaFileFormModel)

SetBody adds the body to the create ava file forms params

func (*CreateAvaFileFormsParams) SetContext

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

SetContext adds the context to the create ava file forms params

func (*CreateAvaFileFormsParams) SetDefaults

func (o *CreateAvaFileFormsParams) SetDefaults()

SetDefaults hydrates default values in the create ava file forms params (not the query body).

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

func (*CreateAvaFileFormsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create ava file forms params

func (*CreateAvaFileFormsParams) SetTimeout

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

SetTimeout adds the timeout to the create ava file forms params

func (*CreateAvaFileFormsParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create ava file forms params

func (*CreateAvaFileFormsParams) WithBody

WithBody adds the body to the create ava file forms params

func (*CreateAvaFileFormsParams) WithContext

WithContext adds the context to the create ava file forms params

func (*CreateAvaFileFormsParams) WithDefaults

WithDefaults hydrates default values in the create ava file forms params (not the query body).

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

func (*CreateAvaFileFormsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create ava file forms params

func (*CreateAvaFileFormsParams) WithTimeout

WithTimeout adds the timeout to the create ava file forms params

func (*CreateAvaFileFormsParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create ava file forms params

func (*CreateAvaFileFormsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAvaFileFormsReader

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

CreateAvaFileFormsReader is a Reader for the CreateAvaFileForms structure.

func (*CreateAvaFileFormsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAvaFileFormsUnauthorized

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

Unauthorized

func NewCreateAvaFileFormsUnauthorized

func NewCreateAvaFileFormsUnauthorized() *CreateAvaFileFormsUnauthorized

NewCreateAvaFileFormsUnauthorized creates a CreateAvaFileFormsUnauthorized with default headers values

func (*CreateAvaFileFormsUnauthorized) Error

type DeleteAvaFileFormBadRequest

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

Bad Request

func NewDeleteAvaFileFormBadRequest

func NewDeleteAvaFileFormBadRequest() *DeleteAvaFileFormBadRequest

NewDeleteAvaFileFormBadRequest creates a DeleteAvaFileFormBadRequest with default headers values

func (*DeleteAvaFileFormBadRequest) Error

type DeleteAvaFileFormNotFound

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

Not Found

func NewDeleteAvaFileFormNotFound

func NewDeleteAvaFileFormNotFound() *DeleteAvaFileFormNotFound

NewDeleteAvaFileFormNotFound creates a DeleteAvaFileFormNotFound with default headers values

func (*DeleteAvaFileFormNotFound) Error

func (o *DeleteAvaFileFormNotFound) Error() string

type DeleteAvaFileFormOK

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

Success

func NewDeleteAvaFileFormOK

func NewDeleteAvaFileFormOK() *DeleteAvaFileFormOK

NewDeleteAvaFileFormOK creates a DeleteAvaFileFormOK with default headers values

func (*DeleteAvaFileFormOK) Error

func (o *DeleteAvaFileFormOK) Error() string

func (*DeleteAvaFileFormOK) GetPayload

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

type DeleteAvaFileFormParams

type DeleteAvaFileFormParams struct {

	/* XAvalaraClient.

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

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

	/* ID.

	   The ID of the AvaFileForm you wish to delete.

	   Format: int32
	*/
	ID int32

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

DeleteAvaFileFormParams contains all the parameters to send to the API endpoint

for the delete ava file form operation.

Typically these are written to a http.Request.

func NewDeleteAvaFileFormParams

func NewDeleteAvaFileFormParams() *DeleteAvaFileFormParams

NewDeleteAvaFileFormParams creates a new DeleteAvaFileFormParams 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 NewDeleteAvaFileFormParamsWithContext

func NewDeleteAvaFileFormParamsWithContext(ctx context.Context) *DeleteAvaFileFormParams

NewDeleteAvaFileFormParamsWithContext creates a new DeleteAvaFileFormParams object with the ability to set a context for a request.

func NewDeleteAvaFileFormParamsWithHTTPClient

func NewDeleteAvaFileFormParamsWithHTTPClient(client *http.Client) *DeleteAvaFileFormParams

NewDeleteAvaFileFormParamsWithHTTPClient creates a new DeleteAvaFileFormParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAvaFileFormParamsWithTimeout

func NewDeleteAvaFileFormParamsWithTimeout(timeout time.Duration) *DeleteAvaFileFormParams

NewDeleteAvaFileFormParamsWithTimeout creates a new DeleteAvaFileFormParams object with the ability to set a timeout on a request.

func (*DeleteAvaFileFormParams) SetContext

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

SetContext adds the context to the delete ava file form params

func (*DeleteAvaFileFormParams) SetDefaults

func (o *DeleteAvaFileFormParams) SetDefaults()

SetDefaults hydrates default values in the delete ava file form params (not the query body).

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

func (*DeleteAvaFileFormParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ava file form params

func (*DeleteAvaFileFormParams) SetID

func (o *DeleteAvaFileFormParams) SetID(id int32)

SetID adds the id to the delete ava file form params

func (*DeleteAvaFileFormParams) SetTimeout

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

SetTimeout adds the timeout to the delete ava file form params

func (*DeleteAvaFileFormParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete ava file form params

func (*DeleteAvaFileFormParams) WithContext

WithContext adds the context to the delete ava file form params

func (*DeleteAvaFileFormParams) WithDefaults

WithDefaults hydrates default values in the delete ava file form params (not the query body).

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

func (*DeleteAvaFileFormParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete ava file form params

func (*DeleteAvaFileFormParams) WithID

WithID adds the id to the delete ava file form params

func (*DeleteAvaFileFormParams) WithTimeout

WithTimeout adds the timeout to the delete ava file form params

func (*DeleteAvaFileFormParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete ava file form params

func (*DeleteAvaFileFormParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAvaFileFormReader

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

DeleteAvaFileFormReader is a Reader for the DeleteAvaFileForm structure.

func (*DeleteAvaFileFormReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAvaFileFormUnauthorized

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

Unauthorized

func NewDeleteAvaFileFormUnauthorized

func NewDeleteAvaFileFormUnauthorized() *DeleteAvaFileFormUnauthorized

NewDeleteAvaFileFormUnauthorized creates a DeleteAvaFileFormUnauthorized with default headers values

func (*DeleteAvaFileFormUnauthorized) Error

type GetAvaFileFormBadRequest

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

Bad Request

func NewGetAvaFileFormBadRequest

func NewGetAvaFileFormBadRequest() *GetAvaFileFormBadRequest

NewGetAvaFileFormBadRequest creates a GetAvaFileFormBadRequest with default headers values

func (*GetAvaFileFormBadRequest) Error

func (o *GetAvaFileFormBadRequest) Error() string

type GetAvaFileFormNotFound

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

Not Found

func NewGetAvaFileFormNotFound

func NewGetAvaFileFormNotFound() *GetAvaFileFormNotFound

NewGetAvaFileFormNotFound creates a GetAvaFileFormNotFound with default headers values

func (*GetAvaFileFormNotFound) Error

func (o *GetAvaFileFormNotFound) Error() string

type GetAvaFileFormOK

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

Success

func NewGetAvaFileFormOK

func NewGetAvaFileFormOK() *GetAvaFileFormOK

NewGetAvaFileFormOK creates a GetAvaFileFormOK with default headers values

func (*GetAvaFileFormOK) Error

func (o *GetAvaFileFormOK) Error() string

func (*GetAvaFileFormOK) GetPayload

func (o *GetAvaFileFormOK) GetPayload() *models.AvaFileFormModel

type GetAvaFileFormParams

type GetAvaFileFormParams struct {

	/* XAvalaraClient.

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

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

	/* ID.

	   The primary key of this AvaFileForm

	   Format: int32
	*/
	ID int32

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

GetAvaFileFormParams contains all the parameters to send to the API endpoint

for the get ava file form operation.

Typically these are written to a http.Request.

func NewGetAvaFileFormParams

func NewGetAvaFileFormParams() *GetAvaFileFormParams

NewGetAvaFileFormParams creates a new GetAvaFileFormParams 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 NewGetAvaFileFormParamsWithContext

func NewGetAvaFileFormParamsWithContext(ctx context.Context) *GetAvaFileFormParams

NewGetAvaFileFormParamsWithContext creates a new GetAvaFileFormParams object with the ability to set a context for a request.

func NewGetAvaFileFormParamsWithHTTPClient

func NewGetAvaFileFormParamsWithHTTPClient(client *http.Client) *GetAvaFileFormParams

NewGetAvaFileFormParamsWithHTTPClient creates a new GetAvaFileFormParams object with the ability to set a custom HTTPClient for a request.

func NewGetAvaFileFormParamsWithTimeout

func NewGetAvaFileFormParamsWithTimeout(timeout time.Duration) *GetAvaFileFormParams

NewGetAvaFileFormParamsWithTimeout creates a new GetAvaFileFormParams object with the ability to set a timeout on a request.

func (*GetAvaFileFormParams) SetContext

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

SetContext adds the context to the get ava file form params

func (*GetAvaFileFormParams) SetDefaults

func (o *GetAvaFileFormParams) SetDefaults()

SetDefaults hydrates default values in the get ava file form params (not the query body).

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

func (*GetAvaFileFormParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ava file form params

func (*GetAvaFileFormParams) SetID

func (o *GetAvaFileFormParams) SetID(id int32)

SetID adds the id to the get ava file form params

func (*GetAvaFileFormParams) SetTimeout

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

SetTimeout adds the timeout to the get ava file form params

func (*GetAvaFileFormParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get ava file form params

func (*GetAvaFileFormParams) WithContext

WithContext adds the context to the get ava file form params

func (*GetAvaFileFormParams) WithDefaults

func (o *GetAvaFileFormParams) WithDefaults() *GetAvaFileFormParams

WithDefaults hydrates default values in the get ava file form params (not the query body).

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

func (*GetAvaFileFormParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ava file form params

func (*GetAvaFileFormParams) WithID

WithID adds the id to the get ava file form params

func (*GetAvaFileFormParams) WithTimeout

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

WithTimeout adds the timeout to the get ava file form params

func (*GetAvaFileFormParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get ava file form params

func (*GetAvaFileFormParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAvaFileFormReader

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

GetAvaFileFormReader is a Reader for the GetAvaFileForm structure.

func (*GetAvaFileFormReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAvaFileFormUnauthorized

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

Unauthorized

func NewGetAvaFileFormUnauthorized

func NewGetAvaFileFormUnauthorized() *GetAvaFileFormUnauthorized

NewGetAvaFileFormUnauthorized creates a GetAvaFileFormUnauthorized with default headers values

func (*GetAvaFileFormUnauthorized) Error

type QueryAvaFileFormsBadRequest

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

Bad Request

func NewQueryAvaFileFormsBadRequest

func NewQueryAvaFileFormsBadRequest() *QueryAvaFileFormsBadRequest

NewQueryAvaFileFormsBadRequest creates a QueryAvaFileFormsBadRequest with default headers values

func (*QueryAvaFileFormsBadRequest) Error

type QueryAvaFileFormsOK

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

Success

func NewQueryAvaFileFormsOK

func NewQueryAvaFileFormsOK() *QueryAvaFileFormsOK

NewQueryAvaFileFormsOK creates a QueryAvaFileFormsOK with default headers values

func (*QueryAvaFileFormsOK) Error

func (o *QueryAvaFileFormsOK) Error() string

func (*QueryAvaFileFormsOK) GetPayload

type QueryAvaFileFormsParams

type QueryAvaFileFormsParams 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:* outletTypeId
	*/
	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
}

QueryAvaFileFormsParams contains all the parameters to send to the API endpoint

for the query ava file forms operation.

Typically these are written to a http.Request.

func NewQueryAvaFileFormsParams

func NewQueryAvaFileFormsParams() *QueryAvaFileFormsParams

NewQueryAvaFileFormsParams creates a new QueryAvaFileFormsParams 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 NewQueryAvaFileFormsParamsWithContext

func NewQueryAvaFileFormsParamsWithContext(ctx context.Context) *QueryAvaFileFormsParams

NewQueryAvaFileFormsParamsWithContext creates a new QueryAvaFileFormsParams object with the ability to set a context for a request.

func NewQueryAvaFileFormsParamsWithHTTPClient

func NewQueryAvaFileFormsParamsWithHTTPClient(client *http.Client) *QueryAvaFileFormsParams

NewQueryAvaFileFormsParamsWithHTTPClient creates a new QueryAvaFileFormsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryAvaFileFormsParamsWithTimeout

func NewQueryAvaFileFormsParamsWithTimeout(timeout time.Duration) *QueryAvaFileFormsParams

NewQueryAvaFileFormsParamsWithTimeout creates a new QueryAvaFileFormsParams object with the ability to set a timeout on a request.

func (*QueryAvaFileFormsParams) SetContext

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

SetContext adds the context to the query ava file forms params

func (*QueryAvaFileFormsParams) SetDefaults

func (o *QueryAvaFileFormsParams) SetDefaults()

SetDefaults hydrates default values in the query ava file forms params (not the query body).

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

func (*QueryAvaFileFormsParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the query ava file forms params

func (*QueryAvaFileFormsParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the query ava file forms params

func (*QueryAvaFileFormsParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the query ava file forms params

func (*QueryAvaFileFormsParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the query ava file forms params

func (*QueryAvaFileFormsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query ava file forms params

func (*QueryAvaFileFormsParams) SetTimeout

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

SetTimeout adds the timeout to the query ava file forms params

func (*QueryAvaFileFormsParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the query ava file forms params

func (*QueryAvaFileFormsParams) WithContext

WithContext adds the context to the query ava file forms params

func (*QueryAvaFileFormsParams) WithDefaults

WithDefaults hydrates default values in the query ava file forms params (not the query body).

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

func (*QueryAvaFileFormsParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the query ava file forms params

func (*QueryAvaFileFormsParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the query ava file forms params

func (*QueryAvaFileFormsParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the query ava file forms params

func (*QueryAvaFileFormsParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the query ava file forms params

func (*QueryAvaFileFormsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query ava file forms params

func (*QueryAvaFileFormsParams) WithTimeout

WithTimeout adds the timeout to the query ava file forms params

func (*QueryAvaFileFormsParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the query ava file forms params

func (*QueryAvaFileFormsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryAvaFileFormsReader

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

QueryAvaFileFormsReader is a Reader for the QueryAvaFileForms structure.

func (*QueryAvaFileFormsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryAvaFileFormsUnauthorized

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

Unauthorized

func NewQueryAvaFileFormsUnauthorized

func NewQueryAvaFileFormsUnauthorized() *QueryAvaFileFormsUnauthorized

NewQueryAvaFileFormsUnauthorized creates a QueryAvaFileFormsUnauthorized with default headers values

func (*QueryAvaFileFormsUnauthorized) Error

type UpdateAvaFileFormBadRequest

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

Bad Request

func NewUpdateAvaFileFormBadRequest

func NewUpdateAvaFileFormBadRequest() *UpdateAvaFileFormBadRequest

NewUpdateAvaFileFormBadRequest creates a UpdateAvaFileFormBadRequest with default headers values

func (*UpdateAvaFileFormBadRequest) Error

type UpdateAvaFileFormNotFound

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

Not Found

func NewUpdateAvaFileFormNotFound

func NewUpdateAvaFileFormNotFound() *UpdateAvaFileFormNotFound

NewUpdateAvaFileFormNotFound creates a UpdateAvaFileFormNotFound with default headers values

func (*UpdateAvaFileFormNotFound) Error

func (o *UpdateAvaFileFormNotFound) Error() string

type UpdateAvaFileFormOK

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

Success

func NewUpdateAvaFileFormOK

func NewUpdateAvaFileFormOK() *UpdateAvaFileFormOK

NewUpdateAvaFileFormOK creates a UpdateAvaFileFormOK with default headers values

func (*UpdateAvaFileFormOK) Error

func (o *UpdateAvaFileFormOK) Error() string

func (*UpdateAvaFileFormOK) GetPayload

func (o *UpdateAvaFileFormOK) GetPayload() *models.AvaFileFormModel

type UpdateAvaFileFormParams

type UpdateAvaFileFormParams struct {

	/* XAvalaraClient.

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

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

	/* Body.

	   The AvaFileForm model you wish to update.
	*/
	Body *models.AvaFileFormModel

	/* ID.

	   The ID of the AvaFileForm you wish to update

	   Format: int32
	*/
	ID int32

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

UpdateAvaFileFormParams contains all the parameters to send to the API endpoint

for the update ava file form operation.

Typically these are written to a http.Request.

func NewUpdateAvaFileFormParams

func NewUpdateAvaFileFormParams() *UpdateAvaFileFormParams

NewUpdateAvaFileFormParams creates a new UpdateAvaFileFormParams 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 NewUpdateAvaFileFormParamsWithContext

func NewUpdateAvaFileFormParamsWithContext(ctx context.Context) *UpdateAvaFileFormParams

NewUpdateAvaFileFormParamsWithContext creates a new UpdateAvaFileFormParams object with the ability to set a context for a request.

func NewUpdateAvaFileFormParamsWithHTTPClient

func NewUpdateAvaFileFormParamsWithHTTPClient(client *http.Client) *UpdateAvaFileFormParams

NewUpdateAvaFileFormParamsWithHTTPClient creates a new UpdateAvaFileFormParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAvaFileFormParamsWithTimeout

func NewUpdateAvaFileFormParamsWithTimeout(timeout time.Duration) *UpdateAvaFileFormParams

NewUpdateAvaFileFormParamsWithTimeout creates a new UpdateAvaFileFormParams object with the ability to set a timeout on a request.

func (*UpdateAvaFileFormParams) SetBody

SetBody adds the body to the update ava file form params

func (*UpdateAvaFileFormParams) SetContext

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

SetContext adds the context to the update ava file form params

func (*UpdateAvaFileFormParams) SetDefaults

func (o *UpdateAvaFileFormParams) SetDefaults()

SetDefaults hydrates default values in the update ava file form params (not the query body).

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

func (*UpdateAvaFileFormParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update ava file form params

func (*UpdateAvaFileFormParams) SetID

func (o *UpdateAvaFileFormParams) SetID(id int32)

SetID adds the id to the update ava file form params

func (*UpdateAvaFileFormParams) SetTimeout

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

SetTimeout adds the timeout to the update ava file form params

func (*UpdateAvaFileFormParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update ava file form params

func (*UpdateAvaFileFormParams) WithBody

WithBody adds the body to the update ava file form params

func (*UpdateAvaFileFormParams) WithContext

WithContext adds the context to the update ava file form params

func (*UpdateAvaFileFormParams) WithDefaults

WithDefaults hydrates default values in the update ava file form params (not the query body).

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

func (*UpdateAvaFileFormParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update ava file form params

func (*UpdateAvaFileFormParams) WithID

WithID adds the id to the update ava file form params

func (*UpdateAvaFileFormParams) WithTimeout

WithTimeout adds the timeout to the update ava file form params

func (*UpdateAvaFileFormParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update ava file form params

func (*UpdateAvaFileFormParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAvaFileFormReader

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

UpdateAvaFileFormReader is a Reader for the UpdateAvaFileForm structure.

func (*UpdateAvaFileFormReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAvaFileFormUnauthorized

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

Unauthorized

func NewUpdateAvaFileFormUnauthorized

func NewUpdateAvaFileFormUnauthorized() *UpdateAvaFileFormUnauthorized

NewUpdateAvaFileFormUnauthorized creates a UpdateAvaFileFormUnauthorized with default headers values

func (*UpdateAvaFileFormUnauthorized) Error

Jump to

Keyboard shortcuts

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