func (o *TransactionsRemovedWebhook) SetError(v Error) {
	o.Error.Set(&v)
}
SetError gets a reference to the given NullableError and assigns it to the Error field.
package plaid
import (
	"encoding/json"
)
type TransactionsRemovedWebhook struct {
	WebhookType string `json:"webhook_type"`
	WebhookCode string `json:"webhook_code"`
	Error NullableError `json:"error,omitempty"`
	RemovedTransactions []string `json:"removed_transactions"`
	ItemId string `json:"item_id"`
	AdditionalProperties map[string]interface{}
}
type _TransactionsRemovedWebhook TransactionsRemovedWebhook
func NewTransactionsRemovedWebhook(webhookType string, webhookCode string, removedTransactions []string, itemId string) *TransactionsRemovedWebhook {
	this := TransactionsRemovedWebhook{}
	this.WebhookType = webhookType
	this.WebhookCode = webhookCode
	this.RemovedTransactions = removedTransactions
	this.ItemId = itemId
	return &this
}
func NewTransactionsRemovedWebhookWithDefaults() *TransactionsRemovedWebhook {
	this := TransactionsRemovedWebhook{}
	return &this
}
func (o *TransactionsRemovedWebhook) GetWebhookType() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.WebhookType
}
func (o *TransactionsRemovedWebhook) GetWebhookTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.WebhookType, true
}
func (o *TransactionsRemovedWebhook) SetWebhookType(v string) {
	o.WebhookType = v
}
func (o *TransactionsRemovedWebhook) GetWebhookCode() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.WebhookCode
}
func (o *TransactionsRemovedWebhook) GetWebhookCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.WebhookCode, true
}
func (o *TransactionsRemovedWebhook) SetWebhookCode(v string) {
	o.WebhookCode = v
}
func (o *TransactionsRemovedWebhook) GetError() Error {
	if o == nil || o.Error.Get() == nil {
		var ret Error
		return ret
	}
	return *o.Error.Get()
}
func (o *TransactionsRemovedWebhook) GetErrorOk() (*Error, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Error.Get(), o.Error.IsSet()
}
func (o *TransactionsRemovedWebhook) HasError() bool {
	if o != nil && o.Error.IsSet() {
		return true
	}
	return false
}