func (o *Employee) HasTaxpayerId() bool {
	if o != nil && o.TaxpayerId != nil {
		return true
	}
	return false
}
HasTaxpayerId returns a boolean if a field has been set.
package plaid
import (
	"encoding/json"
)
type Employee struct {
	Address PaystubAddress `json:"address"`
	Name NullableString `json:"name"`
	MaritalStatus NullableString `json:"marital_status,omitempty"`
	TaxpayerId *TaxpayerID `json:"taxpayer_id,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _Employee Employee
func NewEmployee(address PaystubAddress, name NullableString) *Employee {
	this := Employee{}
	this.Address = address
	this.Name = name
	return &this
}
func NewEmployeeWithDefaults() *Employee {
	this := Employee{}
	return &this
}
func (o *Employee) GetAddress() PaystubAddress {
	if o == nil {
		var ret PaystubAddress
		return ret
	}
	return o.Address
}
func (o *Employee) GetAddressOk() (*PaystubAddress, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Address, true
}
func (o *Employee) SetAddress(v PaystubAddress) {
	o.Address = v
}
func (o *Employee) GetName() string {
	if o == nil || o.Name.Get() == nil {
		var ret string
		return ret
	}
	return *o.Name.Get()
}
func (o *Employee) GetNameOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Name.Get(), o.Name.IsSet()
}
func (o *Employee) SetName(v string) {
	o.Name.Set(&v)
}
func (o *Employee) GetMaritalStatus() string {
	if o == nil || o.MaritalStatus.Get() == nil {
		var ret string
		return ret
	}
	return *o.MaritalStatus.Get()
}
func (o *Employee) GetMaritalStatusOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.MaritalStatus.Get(), o.MaritalStatus.IsSet()
}
func (o *Employee) HasMaritalStatus() bool {
	if o != nil && o.MaritalStatus.IsSet() {
		return true
	}
	return false
}
func (o *Employee) SetMaritalStatus(v string) {
	o.MaritalStatus.Set(&v)
}
func (o *Employee) SetMaritalStatusNil() {
	o.MaritalStatus.Set(nil)
}
func (o *Employee) UnsetMaritalStatus() {
	o.MaritalStatus.Unset()
}
func (o *Employee) GetTaxpayerId() TaxpayerID {
	if o == nil || o.TaxpayerId == nil {
		var ret TaxpayerID
		return ret
	}
	return *o.TaxpayerId
}
func (o *Employee) GetTaxpayerIdOk() (*TaxpayerID, bool) {
	if o == nil || o.TaxpayerId == nil {
		return nil, false
	}
	return o.TaxpayerId, true
}