Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateNoticeResponsibilityType(params *CreateNoticeResponsibilityTypeParams, ...) (*CreateNoticeResponsibilityTypeOK, error)
- func (a *Client) CreateNoticeRootCauseType(params *CreateNoticeRootCauseTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateNoticeRootCauseTypeOK, error)
- func (a *Client) DeleteNoticeResponsibilityType(params *DeleteNoticeResponsibilityTypeParams, ...) (*DeleteNoticeResponsibilityTypeOK, error)
- func (a *Client) DeleteNoticeRootCauseType(params *DeleteNoticeRootCauseTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNoticeRootCauseTypeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateNoticeResponsibilityTypeBadRequest
- type CreateNoticeResponsibilityTypeNotFound
- type CreateNoticeResponsibilityTypeOK
- type CreateNoticeResponsibilityTypeParams
- func NewCreateNoticeResponsibilityTypeParams() *CreateNoticeResponsibilityTypeParams
- func NewCreateNoticeResponsibilityTypeParamsWithContext(ctx context.Context) *CreateNoticeResponsibilityTypeParams
- func NewCreateNoticeResponsibilityTypeParamsWithHTTPClient(client *http.Client) *CreateNoticeResponsibilityTypeParams
- func NewCreateNoticeResponsibilityTypeParamsWithTimeout(timeout time.Duration) *CreateNoticeResponsibilityTypeParams
- func (o *CreateNoticeResponsibilityTypeParams) SetBody(body *models.CreateNoticeResponsibilityTypeModel)
- func (o *CreateNoticeResponsibilityTypeParams) SetContext(ctx context.Context)
- func (o *CreateNoticeResponsibilityTypeParams) SetDefaults()
- func (o *CreateNoticeResponsibilityTypeParams) SetHTTPClient(client *http.Client)
- func (o *CreateNoticeResponsibilityTypeParams) SetTimeout(timeout time.Duration)
- func (o *CreateNoticeResponsibilityTypeParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateNoticeResponsibilityTypeParams) WithBody(body *models.CreateNoticeResponsibilityTypeModel) *CreateNoticeResponsibilityTypeParams
- func (o *CreateNoticeResponsibilityTypeParams) WithContext(ctx context.Context) *CreateNoticeResponsibilityTypeParams
- func (o *CreateNoticeResponsibilityTypeParams) WithDefaults() *CreateNoticeResponsibilityTypeParams
- func (o *CreateNoticeResponsibilityTypeParams) WithHTTPClient(client *http.Client) *CreateNoticeResponsibilityTypeParams
- func (o *CreateNoticeResponsibilityTypeParams) WithTimeout(timeout time.Duration) *CreateNoticeResponsibilityTypeParams
- func (o *CreateNoticeResponsibilityTypeParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNoticeResponsibilityTypeParams
- func (o *CreateNoticeResponsibilityTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNoticeResponsibilityTypeReader
- type CreateNoticeResponsibilityTypeUnauthorized
- type CreateNoticeRootCauseTypeBadRequest
- type CreateNoticeRootCauseTypeNotFound
- type CreateNoticeRootCauseTypeOK
- type CreateNoticeRootCauseTypeParams
- func NewCreateNoticeRootCauseTypeParams() *CreateNoticeRootCauseTypeParams
- func NewCreateNoticeRootCauseTypeParamsWithContext(ctx context.Context) *CreateNoticeRootCauseTypeParams
- func NewCreateNoticeRootCauseTypeParamsWithHTTPClient(client *http.Client) *CreateNoticeRootCauseTypeParams
- func NewCreateNoticeRootCauseTypeParamsWithTimeout(timeout time.Duration) *CreateNoticeRootCauseTypeParams
- func (o *CreateNoticeRootCauseTypeParams) SetBody(body *models.CreateNoticeRootCauseTypeModel)
- func (o *CreateNoticeRootCauseTypeParams) SetContext(ctx context.Context)
- func (o *CreateNoticeRootCauseTypeParams) SetDefaults()
- func (o *CreateNoticeRootCauseTypeParams) SetHTTPClient(client *http.Client)
- func (o *CreateNoticeRootCauseTypeParams) SetTimeout(timeout time.Duration)
- func (o *CreateNoticeRootCauseTypeParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateNoticeRootCauseTypeParams) WithBody(body *models.CreateNoticeRootCauseTypeModel) *CreateNoticeRootCauseTypeParams
- func (o *CreateNoticeRootCauseTypeParams) WithContext(ctx context.Context) *CreateNoticeRootCauseTypeParams
- func (o *CreateNoticeRootCauseTypeParams) WithDefaults() *CreateNoticeRootCauseTypeParams
- func (o *CreateNoticeRootCauseTypeParams) WithHTTPClient(client *http.Client) *CreateNoticeRootCauseTypeParams
- func (o *CreateNoticeRootCauseTypeParams) WithTimeout(timeout time.Duration) *CreateNoticeRootCauseTypeParams
- func (o *CreateNoticeRootCauseTypeParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNoticeRootCauseTypeParams
- func (o *CreateNoticeRootCauseTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNoticeRootCauseTypeReader
- type CreateNoticeRootCauseTypeUnauthorized
- type DeleteNoticeResponsibilityTypeBadRequest
- type DeleteNoticeResponsibilityTypeNotFound
- type DeleteNoticeResponsibilityTypeOK
- type DeleteNoticeResponsibilityTypeParams
- func NewDeleteNoticeResponsibilityTypeParams() *DeleteNoticeResponsibilityTypeParams
- func NewDeleteNoticeResponsibilityTypeParamsWithContext(ctx context.Context) *DeleteNoticeResponsibilityTypeParams
- func NewDeleteNoticeResponsibilityTypeParamsWithHTTPClient(client *http.Client) *DeleteNoticeResponsibilityTypeParams
- func NewDeleteNoticeResponsibilityTypeParamsWithTimeout(timeout time.Duration) *DeleteNoticeResponsibilityTypeParams
- func (o *DeleteNoticeResponsibilityTypeParams) SetContext(ctx context.Context)
- func (o *DeleteNoticeResponsibilityTypeParams) SetDefaults()
- func (o *DeleteNoticeResponsibilityTypeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNoticeResponsibilityTypeParams) SetResponsibilityID(responsibilityID int32)
- func (o *DeleteNoticeResponsibilityTypeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNoticeResponsibilityTypeParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteNoticeResponsibilityTypeParams) WithContext(ctx context.Context) *DeleteNoticeResponsibilityTypeParams
- func (o *DeleteNoticeResponsibilityTypeParams) WithDefaults() *DeleteNoticeResponsibilityTypeParams
- func (o *DeleteNoticeResponsibilityTypeParams) WithHTTPClient(client *http.Client) *DeleteNoticeResponsibilityTypeParams
- func (o *DeleteNoticeResponsibilityTypeParams) WithResponsibilityID(responsibilityID int32) *DeleteNoticeResponsibilityTypeParams
- func (o *DeleteNoticeResponsibilityTypeParams) WithTimeout(timeout time.Duration) *DeleteNoticeResponsibilityTypeParams
- func (o *DeleteNoticeResponsibilityTypeParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNoticeResponsibilityTypeParams
- func (o *DeleteNoticeResponsibilityTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNoticeResponsibilityTypeReader
- type DeleteNoticeResponsibilityTypeUnauthorized
- type DeleteNoticeRootCauseTypeBadRequest
- type DeleteNoticeRootCauseTypeNotFound
- type DeleteNoticeRootCauseTypeOK
- type DeleteNoticeRootCauseTypeParams
- func NewDeleteNoticeRootCauseTypeParams() *DeleteNoticeRootCauseTypeParams
- func NewDeleteNoticeRootCauseTypeParamsWithContext(ctx context.Context) *DeleteNoticeRootCauseTypeParams
- func NewDeleteNoticeRootCauseTypeParamsWithHTTPClient(client *http.Client) *DeleteNoticeRootCauseTypeParams
- func NewDeleteNoticeRootCauseTypeParamsWithTimeout(timeout time.Duration) *DeleteNoticeRootCauseTypeParams
- func (o *DeleteNoticeRootCauseTypeParams) SetContext(ctx context.Context)
- func (o *DeleteNoticeRootCauseTypeParams) SetDefaults()
- func (o *DeleteNoticeRootCauseTypeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNoticeRootCauseTypeParams) SetRootCauseID(rootCauseID int32)
- func (o *DeleteNoticeRootCauseTypeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNoticeRootCauseTypeParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteNoticeRootCauseTypeParams) WithContext(ctx context.Context) *DeleteNoticeRootCauseTypeParams
- func (o *DeleteNoticeRootCauseTypeParams) WithDefaults() *DeleteNoticeRootCauseTypeParams
- func (o *DeleteNoticeRootCauseTypeParams) WithHTTPClient(client *http.Client) *DeleteNoticeRootCauseTypeParams
- func (o *DeleteNoticeRootCauseTypeParams) WithRootCauseID(rootCauseID int32) *DeleteNoticeRootCauseTypeParams
- func (o *DeleteNoticeRootCauseTypeParams) WithTimeout(timeout time.Duration) *DeleteNoticeRootCauseTypeParams
- func (o *DeleteNoticeRootCauseTypeParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNoticeRootCauseTypeParams
- func (o *DeleteNoticeRootCauseTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNoticeRootCauseTypeReader
- type DeleteNoticeRootCauseTypeUnauthorized
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 ¶
func (o *CreateNoticeResponsibilityTypeBadRequest) Error() string
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 ¶
func (o *CreateNoticeResponsibilityTypeNotFound) Error() string
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 (o *CreateNoticeResponsibilityTypeOK) Error() string
func (*CreateNoticeResponsibilityTypeOK) GetPayload ¶
func (o *CreateNoticeResponsibilityTypeOK) GetPayload() *models.NoticeResponsibilityModel
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 ¶
func (o *CreateNoticeResponsibilityTypeParams) SetBody(body *models.CreateNoticeResponsibilityTypeModel)
SetBody adds the body to the create notice responsibility type params
func (*CreateNoticeResponsibilityTypeParams) SetContext ¶
func (o *CreateNoticeResponsibilityTypeParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateNoticeResponsibilityTypeParams) WithBody(body *models.CreateNoticeResponsibilityTypeModel) *CreateNoticeResponsibilityTypeParams
WithBody adds the body to the create notice responsibility type params
func (*CreateNoticeResponsibilityTypeParams) WithContext ¶
func (o *CreateNoticeResponsibilityTypeParams) WithContext(ctx context.Context) *CreateNoticeResponsibilityTypeParams
WithContext adds the context to the create notice responsibility type params
func (*CreateNoticeResponsibilityTypeParams) WithDefaults ¶
func (o *CreateNoticeResponsibilityTypeParams) WithDefaults() *CreateNoticeResponsibilityTypeParams
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 ¶
func (o *CreateNoticeResponsibilityTypeParams) WithHTTPClient(client *http.Client) *CreateNoticeResponsibilityTypeParams
WithHTTPClient adds the HTTPClient to the create notice responsibility type params
func (*CreateNoticeResponsibilityTypeParams) WithTimeout ¶
func (o *CreateNoticeResponsibilityTypeParams) WithTimeout(timeout time.Duration) *CreateNoticeResponsibilityTypeParams
WithTimeout adds the timeout to the create notice responsibility type params
func (*CreateNoticeResponsibilityTypeParams) WithXAvalaraClient ¶
func (o *CreateNoticeResponsibilityTypeParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNoticeResponsibilityTypeParams
WithXAvalaraClient adds the xAvalaraClient to the create notice responsibility type params
func (*CreateNoticeResponsibilityTypeParams) WriteToRequest ¶
func (o *CreateNoticeResponsibilityTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateNoticeResponsibilityTypeUnauthorized) Error() string
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 ¶
func (o *CreateNoticeRootCauseTypeBadRequest) Error() string
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 ¶
func (o *CreateNoticeRootCauseTypeNotFound) Error() string
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 (o *CreateNoticeRootCauseTypeOK) Error() string
func (*CreateNoticeRootCauseTypeOK) GetPayload ¶
func (o *CreateNoticeRootCauseTypeOK) GetPayload() *models.NoticeRootCauseModel
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 ¶
func (o *CreateNoticeRootCauseTypeParams) SetBody(body *models.CreateNoticeRootCauseTypeModel)
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 ¶
func (o *CreateNoticeRootCauseTypeParams) WithBody(body *models.CreateNoticeRootCauseTypeModel) *CreateNoticeRootCauseTypeParams
WithBody adds the body to the create notice root cause type params
func (*CreateNoticeRootCauseTypeParams) WithContext ¶
func (o *CreateNoticeRootCauseTypeParams) WithContext(ctx context.Context) *CreateNoticeRootCauseTypeParams
WithContext adds the context to the create notice root cause type params
func (*CreateNoticeRootCauseTypeParams) WithDefaults ¶
func (o *CreateNoticeRootCauseTypeParams) WithDefaults() *CreateNoticeRootCauseTypeParams
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 ¶
func (o *CreateNoticeRootCauseTypeParams) WithHTTPClient(client *http.Client) *CreateNoticeRootCauseTypeParams
WithHTTPClient adds the HTTPClient to the create notice root cause type params
func (*CreateNoticeRootCauseTypeParams) WithTimeout ¶
func (o *CreateNoticeRootCauseTypeParams) WithTimeout(timeout time.Duration) *CreateNoticeRootCauseTypeParams
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 ¶
func (o *CreateNoticeRootCauseTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateNoticeRootCauseTypeUnauthorized) Error() string
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 ¶
func (o *DeleteNoticeResponsibilityTypeBadRequest) Error() string
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 ¶
func (o *DeleteNoticeResponsibilityTypeNotFound) Error() string
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 (o *DeleteNoticeResponsibilityTypeOK) Error() string
func (*DeleteNoticeResponsibilityTypeOK) GetPayload ¶
func (o *DeleteNoticeResponsibilityTypeOK) GetPayload() []*models.ErrorDetail
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 ¶
func (o *DeleteNoticeResponsibilityTypeParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteNoticeResponsibilityTypeParams) WithContext(ctx context.Context) *DeleteNoticeResponsibilityTypeParams
WithContext adds the context to the delete notice responsibility type params
func (*DeleteNoticeResponsibilityTypeParams) WithDefaults ¶
func (o *DeleteNoticeResponsibilityTypeParams) WithDefaults() *DeleteNoticeResponsibilityTypeParams
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 ¶
func (o *DeleteNoticeResponsibilityTypeParams) WithHTTPClient(client *http.Client) *DeleteNoticeResponsibilityTypeParams
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 ¶
func (o *DeleteNoticeResponsibilityTypeParams) WithTimeout(timeout time.Duration) *DeleteNoticeResponsibilityTypeParams
WithTimeout adds the timeout to the delete notice responsibility type params
func (*DeleteNoticeResponsibilityTypeParams) WithXAvalaraClient ¶
func (o *DeleteNoticeResponsibilityTypeParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNoticeResponsibilityTypeParams
WithXAvalaraClient adds the xAvalaraClient to the delete notice responsibility type params
func (*DeleteNoticeResponsibilityTypeParams) WriteToRequest ¶
func (o *DeleteNoticeResponsibilityTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteNoticeResponsibilityTypeUnauthorized) Error() string
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 ¶
func (o *DeleteNoticeRootCauseTypeBadRequest) Error() string
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 ¶
func (o *DeleteNoticeRootCauseTypeNotFound) Error() string
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 (o *DeleteNoticeRootCauseTypeOK) Error() string
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 ¶
func (o *DeleteNoticeRootCauseTypeParams) WithContext(ctx context.Context) *DeleteNoticeRootCauseTypeParams
WithContext adds the context to the delete notice root cause type params
func (*DeleteNoticeRootCauseTypeParams) WithDefaults ¶
func (o *DeleteNoticeRootCauseTypeParams) WithDefaults() *DeleteNoticeRootCauseTypeParams
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 ¶
func (o *DeleteNoticeRootCauseTypeParams) WithHTTPClient(client *http.Client) *DeleteNoticeRootCauseTypeParams
WithHTTPClient adds the HTTPClient to the delete notice root cause type params
func (*DeleteNoticeRootCauseTypeParams) WithRootCauseID ¶
func (o *DeleteNoticeRootCauseTypeParams) WithRootCauseID(rootCauseID int32) *DeleteNoticeRootCauseTypeParams
WithRootCauseID adds the rootCauseID to the delete notice root cause type params
func (*DeleteNoticeRootCauseTypeParams) WithTimeout ¶
func (o *DeleteNoticeRootCauseTypeParams) WithTimeout(timeout time.Duration) *DeleteNoticeRootCauseTypeParams
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 ¶
func (o *DeleteNoticeRootCauseTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteNoticeRootCauseTypeUnauthorized) Error() string
Source Files
¶
- create_notice_responsibility_type_parameters.go
- create_notice_responsibility_type_responses.go
- create_notice_root_cause_type_parameters.go
- create_notice_root_cause_type_responses.go
- delete_notice_responsibility_type_parameters.go
- delete_notice_responsibility_type_responses.go
- delete_notice_root_cause_type_parameters.go
- delete_notice_root_cause_type_responses.go
- notices_client.go