notices

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 notices API

func (*Client) CreateNoticeResponsibilityType

func (a *Client) CreateNoticeResponsibilityType(params *CreateNoticeResponsibilityTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNoticeResponsibilityTypeOK, error)
CreateNoticeResponsibilityType creates a new tax notice responsibility type

This API is available by invitation only and only available for users with Compliance admin access.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * 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) CreateNoticeRootCauseType

func (a *Client) CreateNoticeRootCauseType(params *CreateNoticeRootCauseTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNoticeRootCauseTypeOK, error)
CreateNoticeRootCauseType creates a new tax notice root cause type

This API is available by invitation only and only available for users with Compliance admin access.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * 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) DeleteNoticeResponsibilityType

func (a *Client) DeleteNoticeResponsibilityType(params *DeleteNoticeResponsibilityTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNoticeResponsibilityTypeOK, error)
DeleteNoticeResponsibilityType deletes a tax notice responsibility type

This API is available by invitation only and only available for users with Compliance admin access.

### Security Policies

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

func (*Client) DeleteNoticeRootCauseType

func (a *Client) DeleteNoticeRootCauseType(params *DeleteNoticeRootCauseTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNoticeRootCauseTypeOK, error)
DeleteNoticeRootCauseType deletes a tax notice root cause type

This API is available by invitation only and only available for users with Compliance admin access.

### Security Policies

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

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 {
	CreateNoticeResponsibilityType(params *CreateNoticeResponsibilityTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNoticeResponsibilityTypeOK, error)

	CreateNoticeRootCauseType(params *CreateNoticeRootCauseTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNoticeRootCauseTypeOK, error)

	DeleteNoticeResponsibilityType(params *DeleteNoticeResponsibilityTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNoticeResponsibilityTypeOK, error)

	DeleteNoticeRootCauseType(params *DeleteNoticeRootCauseTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNoticeRootCauseTypeOK, 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 notices API client.

type CreateNoticeResponsibilityTypeBadRequest

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

Bad Request

func NewCreateNoticeResponsibilityTypeBadRequest

func NewCreateNoticeResponsibilityTypeBadRequest() *CreateNoticeResponsibilityTypeBadRequest

NewCreateNoticeResponsibilityTypeBadRequest creates a CreateNoticeResponsibilityTypeBadRequest with default headers values

func (*CreateNoticeResponsibilityTypeBadRequest) Error

type CreateNoticeResponsibilityTypeNotFound

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

Not Found

func NewCreateNoticeResponsibilityTypeNotFound

func NewCreateNoticeResponsibilityTypeNotFound() *CreateNoticeResponsibilityTypeNotFound

NewCreateNoticeResponsibilityTypeNotFound creates a CreateNoticeResponsibilityTypeNotFound with default headers values

func (*CreateNoticeResponsibilityTypeNotFound) Error

type CreateNoticeResponsibilityTypeOK

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

Success

func NewCreateNoticeResponsibilityTypeOK

func NewCreateNoticeResponsibilityTypeOK() *CreateNoticeResponsibilityTypeOK

NewCreateNoticeResponsibilityTypeOK creates a CreateNoticeResponsibilityTypeOK with default headers values

func (*CreateNoticeResponsibilityTypeOK) Error

func (*CreateNoticeResponsibilityTypeOK) GetPayload

type CreateNoticeResponsibilityTypeParams

type CreateNoticeResponsibilityTypeParams 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 responsibility type to create
	*/
	Body *models.CreateNoticeResponsibilityTypeModel

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

CreateNoticeResponsibilityTypeParams contains all the parameters to send to the API endpoint

for the create notice responsibility type operation.

Typically these are written to a http.Request.

func NewCreateNoticeResponsibilityTypeParams

func NewCreateNoticeResponsibilityTypeParams() *CreateNoticeResponsibilityTypeParams

NewCreateNoticeResponsibilityTypeParams creates a new CreateNoticeResponsibilityTypeParams 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 NewCreateNoticeResponsibilityTypeParamsWithContext

func NewCreateNoticeResponsibilityTypeParamsWithContext(ctx context.Context) *CreateNoticeResponsibilityTypeParams

NewCreateNoticeResponsibilityTypeParamsWithContext creates a new CreateNoticeResponsibilityTypeParams object with the ability to set a context for a request.

func NewCreateNoticeResponsibilityTypeParamsWithHTTPClient

func NewCreateNoticeResponsibilityTypeParamsWithHTTPClient(client *http.Client) *CreateNoticeResponsibilityTypeParams

NewCreateNoticeResponsibilityTypeParamsWithHTTPClient creates a new CreateNoticeResponsibilityTypeParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNoticeResponsibilityTypeParamsWithTimeout

func NewCreateNoticeResponsibilityTypeParamsWithTimeout(timeout time.Duration) *CreateNoticeResponsibilityTypeParams

NewCreateNoticeResponsibilityTypeParamsWithTimeout creates a new CreateNoticeResponsibilityTypeParams object with the ability to set a timeout on a request.

func (*CreateNoticeResponsibilityTypeParams) SetBody

SetBody adds the body to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) SetContext

SetContext adds the context to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) SetDefaults

func (o *CreateNoticeResponsibilityTypeParams) SetDefaults()

SetDefaults hydrates default values in the create notice responsibility type params (not the query body).

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

func (*CreateNoticeResponsibilityTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) SetTimeout

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

SetTimeout adds the timeout to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) WithBody

WithBody adds the body to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) WithContext

WithContext adds the context to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) WithDefaults

WithDefaults hydrates default values in the create notice responsibility type params (not the query body).

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

func (*CreateNoticeResponsibilityTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) WithTimeout

WithTimeout adds the timeout to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the create notice responsibility type params

func (*CreateNoticeResponsibilityTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNoticeResponsibilityTypeReader

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

CreateNoticeResponsibilityTypeReader is a Reader for the CreateNoticeResponsibilityType structure.

func (*CreateNoticeResponsibilityTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNoticeResponsibilityTypeUnauthorized

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

Unauthorized

func NewCreateNoticeResponsibilityTypeUnauthorized

func NewCreateNoticeResponsibilityTypeUnauthorized() *CreateNoticeResponsibilityTypeUnauthorized

NewCreateNoticeResponsibilityTypeUnauthorized creates a CreateNoticeResponsibilityTypeUnauthorized with default headers values

func (*CreateNoticeResponsibilityTypeUnauthorized) Error

type CreateNoticeRootCauseTypeBadRequest

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

Bad Request

func NewCreateNoticeRootCauseTypeBadRequest

func NewCreateNoticeRootCauseTypeBadRequest() *CreateNoticeRootCauseTypeBadRequest

NewCreateNoticeRootCauseTypeBadRequest creates a CreateNoticeRootCauseTypeBadRequest with default headers values

func (*CreateNoticeRootCauseTypeBadRequest) Error

type CreateNoticeRootCauseTypeNotFound

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

Not Found

func NewCreateNoticeRootCauseTypeNotFound

func NewCreateNoticeRootCauseTypeNotFound() *CreateNoticeRootCauseTypeNotFound

NewCreateNoticeRootCauseTypeNotFound creates a CreateNoticeRootCauseTypeNotFound with default headers values

func (*CreateNoticeRootCauseTypeNotFound) Error

type CreateNoticeRootCauseTypeOK

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

Success

func NewCreateNoticeRootCauseTypeOK

func NewCreateNoticeRootCauseTypeOK() *CreateNoticeRootCauseTypeOK

NewCreateNoticeRootCauseTypeOK creates a CreateNoticeRootCauseTypeOK with default headers values

func (*CreateNoticeRootCauseTypeOK) Error

func (*CreateNoticeRootCauseTypeOK) GetPayload

type CreateNoticeRootCauseTypeParams

type CreateNoticeRootCauseTypeParams 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 root cause type to create
	*/
	Body *models.CreateNoticeRootCauseTypeModel

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

CreateNoticeRootCauseTypeParams contains all the parameters to send to the API endpoint

for the create notice root cause type operation.

Typically these are written to a http.Request.

func NewCreateNoticeRootCauseTypeParams

func NewCreateNoticeRootCauseTypeParams() *CreateNoticeRootCauseTypeParams

NewCreateNoticeRootCauseTypeParams creates a new CreateNoticeRootCauseTypeParams 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 NewCreateNoticeRootCauseTypeParamsWithContext

func NewCreateNoticeRootCauseTypeParamsWithContext(ctx context.Context) *CreateNoticeRootCauseTypeParams

NewCreateNoticeRootCauseTypeParamsWithContext creates a new CreateNoticeRootCauseTypeParams object with the ability to set a context for a request.

func NewCreateNoticeRootCauseTypeParamsWithHTTPClient

func NewCreateNoticeRootCauseTypeParamsWithHTTPClient(client *http.Client) *CreateNoticeRootCauseTypeParams

NewCreateNoticeRootCauseTypeParamsWithHTTPClient creates a new CreateNoticeRootCauseTypeParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNoticeRootCauseTypeParamsWithTimeout

func NewCreateNoticeRootCauseTypeParamsWithTimeout(timeout time.Duration) *CreateNoticeRootCauseTypeParams

NewCreateNoticeRootCauseTypeParamsWithTimeout creates a new CreateNoticeRootCauseTypeParams object with the ability to set a timeout on a request.

func (*CreateNoticeRootCauseTypeParams) SetBody

SetBody adds the body to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) SetContext

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

SetContext adds the context to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) SetDefaults

func (o *CreateNoticeRootCauseTypeParams) SetDefaults()

SetDefaults hydrates default values in the create notice root cause type params (not the query body).

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

func (*CreateNoticeRootCauseTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) SetTimeout

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

SetTimeout adds the timeout to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) WithBody

WithBody adds the body to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) WithContext

WithContext adds the context to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) WithDefaults

WithDefaults hydrates default values in the create notice root cause type params (not the query body).

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

func (*CreateNoticeRootCauseTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) WithTimeout

WithTimeout adds the timeout to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create notice root cause type params

func (*CreateNoticeRootCauseTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNoticeRootCauseTypeReader

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

CreateNoticeRootCauseTypeReader is a Reader for the CreateNoticeRootCauseType structure.

func (*CreateNoticeRootCauseTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNoticeRootCauseTypeUnauthorized

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

Unauthorized

func NewCreateNoticeRootCauseTypeUnauthorized

func NewCreateNoticeRootCauseTypeUnauthorized() *CreateNoticeRootCauseTypeUnauthorized

NewCreateNoticeRootCauseTypeUnauthorized creates a CreateNoticeRootCauseTypeUnauthorized with default headers values

func (*CreateNoticeRootCauseTypeUnauthorized) Error

type DeleteNoticeResponsibilityTypeBadRequest

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

Bad Request

func NewDeleteNoticeResponsibilityTypeBadRequest

func NewDeleteNoticeResponsibilityTypeBadRequest() *DeleteNoticeResponsibilityTypeBadRequest

NewDeleteNoticeResponsibilityTypeBadRequest creates a DeleteNoticeResponsibilityTypeBadRequest with default headers values

func (*DeleteNoticeResponsibilityTypeBadRequest) Error

type DeleteNoticeResponsibilityTypeNotFound

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

Not Found

func NewDeleteNoticeResponsibilityTypeNotFound

func NewDeleteNoticeResponsibilityTypeNotFound() *DeleteNoticeResponsibilityTypeNotFound

NewDeleteNoticeResponsibilityTypeNotFound creates a DeleteNoticeResponsibilityTypeNotFound with default headers values

func (*DeleteNoticeResponsibilityTypeNotFound) Error

type DeleteNoticeResponsibilityTypeOK

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

Success

func NewDeleteNoticeResponsibilityTypeOK

func NewDeleteNoticeResponsibilityTypeOK() *DeleteNoticeResponsibilityTypeOK

NewDeleteNoticeResponsibilityTypeOK creates a DeleteNoticeResponsibilityTypeOK with default headers values

func (*DeleteNoticeResponsibilityTypeOK) Error

func (*DeleteNoticeResponsibilityTypeOK) GetPayload

type DeleteNoticeResponsibilityTypeParams

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

	/* ResponsibilityID.

	   The unique ID of the responsibility type

	   Format: int32
	*/
	ResponsibilityID int32

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

DeleteNoticeResponsibilityTypeParams contains all the parameters to send to the API endpoint

for the delete notice responsibility type operation.

Typically these are written to a http.Request.

func NewDeleteNoticeResponsibilityTypeParams

func NewDeleteNoticeResponsibilityTypeParams() *DeleteNoticeResponsibilityTypeParams

NewDeleteNoticeResponsibilityTypeParams creates a new DeleteNoticeResponsibilityTypeParams 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 NewDeleteNoticeResponsibilityTypeParamsWithContext

func NewDeleteNoticeResponsibilityTypeParamsWithContext(ctx context.Context) *DeleteNoticeResponsibilityTypeParams

NewDeleteNoticeResponsibilityTypeParamsWithContext creates a new DeleteNoticeResponsibilityTypeParams object with the ability to set a context for a request.

func NewDeleteNoticeResponsibilityTypeParamsWithHTTPClient

func NewDeleteNoticeResponsibilityTypeParamsWithHTTPClient(client *http.Client) *DeleteNoticeResponsibilityTypeParams

NewDeleteNoticeResponsibilityTypeParamsWithHTTPClient creates a new DeleteNoticeResponsibilityTypeParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNoticeResponsibilityTypeParamsWithTimeout

func NewDeleteNoticeResponsibilityTypeParamsWithTimeout(timeout time.Duration) *DeleteNoticeResponsibilityTypeParams

NewDeleteNoticeResponsibilityTypeParamsWithTimeout creates a new DeleteNoticeResponsibilityTypeParams object with the ability to set a timeout on a request.

func (*DeleteNoticeResponsibilityTypeParams) SetContext

SetContext adds the context to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) SetDefaults

func (o *DeleteNoticeResponsibilityTypeParams) SetDefaults()

SetDefaults hydrates default values in the delete notice responsibility type params (not the query body).

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

func (*DeleteNoticeResponsibilityTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) SetResponsibilityID

func (o *DeleteNoticeResponsibilityTypeParams) SetResponsibilityID(responsibilityID int32)

SetResponsibilityID adds the responsibilityId to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) SetTimeout

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

SetTimeout adds the timeout to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) WithContext

WithContext adds the context to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) WithDefaults

WithDefaults hydrates default values in the delete notice responsibility type params (not the query body).

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

func (*DeleteNoticeResponsibilityTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) WithResponsibilityID

func (o *DeleteNoticeResponsibilityTypeParams) WithResponsibilityID(responsibilityID int32) *DeleteNoticeResponsibilityTypeParams

WithResponsibilityID adds the responsibilityID to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) WithTimeout

WithTimeout adds the timeout to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the delete notice responsibility type params

func (*DeleteNoticeResponsibilityTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNoticeResponsibilityTypeReader

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

DeleteNoticeResponsibilityTypeReader is a Reader for the DeleteNoticeResponsibilityType structure.

func (*DeleteNoticeResponsibilityTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNoticeResponsibilityTypeUnauthorized

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

Unauthorized

func NewDeleteNoticeResponsibilityTypeUnauthorized

func NewDeleteNoticeResponsibilityTypeUnauthorized() *DeleteNoticeResponsibilityTypeUnauthorized

NewDeleteNoticeResponsibilityTypeUnauthorized creates a DeleteNoticeResponsibilityTypeUnauthorized with default headers values

func (*DeleteNoticeResponsibilityTypeUnauthorized) Error

type DeleteNoticeRootCauseTypeBadRequest

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

Bad Request

func NewDeleteNoticeRootCauseTypeBadRequest

func NewDeleteNoticeRootCauseTypeBadRequest() *DeleteNoticeRootCauseTypeBadRequest

NewDeleteNoticeRootCauseTypeBadRequest creates a DeleteNoticeRootCauseTypeBadRequest with default headers values

func (*DeleteNoticeRootCauseTypeBadRequest) Error

type DeleteNoticeRootCauseTypeNotFound

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

Not Found

func NewDeleteNoticeRootCauseTypeNotFound

func NewDeleteNoticeRootCauseTypeNotFound() *DeleteNoticeRootCauseTypeNotFound

NewDeleteNoticeRootCauseTypeNotFound creates a DeleteNoticeRootCauseTypeNotFound with default headers values

func (*DeleteNoticeRootCauseTypeNotFound) Error

type DeleteNoticeRootCauseTypeOK

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

Success

func NewDeleteNoticeRootCauseTypeOK

func NewDeleteNoticeRootCauseTypeOK() *DeleteNoticeRootCauseTypeOK

NewDeleteNoticeRootCauseTypeOK creates a DeleteNoticeRootCauseTypeOK with default headers values

func (*DeleteNoticeRootCauseTypeOK) Error

func (*DeleteNoticeRootCauseTypeOK) GetPayload

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

type DeleteNoticeRootCauseTypeParams

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

	/* RootCauseID.

	   The unique ID of the root cause type

	   Format: int32
	*/
	RootCauseID int32

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

DeleteNoticeRootCauseTypeParams contains all the parameters to send to the API endpoint

for the delete notice root cause type operation.

Typically these are written to a http.Request.

func NewDeleteNoticeRootCauseTypeParams

func NewDeleteNoticeRootCauseTypeParams() *DeleteNoticeRootCauseTypeParams

NewDeleteNoticeRootCauseTypeParams creates a new DeleteNoticeRootCauseTypeParams 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 NewDeleteNoticeRootCauseTypeParamsWithContext

func NewDeleteNoticeRootCauseTypeParamsWithContext(ctx context.Context) *DeleteNoticeRootCauseTypeParams

NewDeleteNoticeRootCauseTypeParamsWithContext creates a new DeleteNoticeRootCauseTypeParams object with the ability to set a context for a request.

func NewDeleteNoticeRootCauseTypeParamsWithHTTPClient

func NewDeleteNoticeRootCauseTypeParamsWithHTTPClient(client *http.Client) *DeleteNoticeRootCauseTypeParams

NewDeleteNoticeRootCauseTypeParamsWithHTTPClient creates a new DeleteNoticeRootCauseTypeParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNoticeRootCauseTypeParamsWithTimeout

func NewDeleteNoticeRootCauseTypeParamsWithTimeout(timeout time.Duration) *DeleteNoticeRootCauseTypeParams

NewDeleteNoticeRootCauseTypeParamsWithTimeout creates a new DeleteNoticeRootCauseTypeParams object with the ability to set a timeout on a request.

func (*DeleteNoticeRootCauseTypeParams) SetContext

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

SetContext adds the context to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) SetDefaults

func (o *DeleteNoticeRootCauseTypeParams) SetDefaults()

SetDefaults hydrates default values in the delete notice root cause type params (not the query body).

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

func (*DeleteNoticeRootCauseTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) SetRootCauseID

func (o *DeleteNoticeRootCauseTypeParams) SetRootCauseID(rootCauseID int32)

SetRootCauseID adds the rootCauseId to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) SetTimeout

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

SetTimeout adds the timeout to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) WithContext

WithContext adds the context to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) WithDefaults

WithDefaults hydrates default values in the delete notice root cause type params (not the query body).

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

func (*DeleteNoticeRootCauseTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) WithRootCauseID

WithRootCauseID adds the rootCauseID to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) WithTimeout

WithTimeout adds the timeout to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete notice root cause type params

func (*DeleteNoticeRootCauseTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNoticeRootCauseTypeReader

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

DeleteNoticeRootCauseTypeReader is a Reader for the DeleteNoticeRootCauseType structure.

func (*DeleteNoticeRootCauseTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNoticeRootCauseTypeUnauthorized

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

Unauthorized

func NewDeleteNoticeRootCauseTypeUnauthorized

func NewDeleteNoticeRootCauseTypeUnauthorized() *DeleteNoticeRootCauseTypeUnauthorized

NewDeleteNoticeRootCauseTypeUnauthorized creates a DeleteNoticeRootCauseTypeUnauthorized with default headers values

func (*DeleteNoticeRootCauseTypeUnauthorized) Error

Jump to

Keyboard shortcuts

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