func (o *TransferUserInRequest) HasEmailAddress() bool {
	if o != nil && o.EmailAddress != nil {
		return true
	}
	return false
}
HasEmailAddress returns a boolean if a field has been set.
package plaid
import (
	"encoding/json"
)
type TransferUserInRequest struct {
	LegalName string `json:"legal_name"`
	PhoneNumber *string `json:"phone_number,omitempty"`
	EmailAddress *string `json:"email_address,omitempty"`
	Address *TransferUserAddressInRequest `json:"address,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _TransferUserInRequest TransferUserInRequest
func NewTransferUserInRequest(legalName string) *TransferUserInRequest {
	this := TransferUserInRequest{}
	this.LegalName = legalName
	return &this
}
func NewTransferUserInRequestWithDefaults() *TransferUserInRequest {
	this := TransferUserInRequest{}
	return &this
}
func (o *TransferUserInRequest) GetLegalName() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.LegalName
}
func (o *TransferUserInRequest) GetLegalNameOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.LegalName, true
}
func (o *TransferUserInRequest) SetLegalName(v string) {
	o.LegalName = v
}
func (o *TransferUserInRequest) GetPhoneNumber() string {
	if o == nil || o.PhoneNumber == nil {
		var ret string
		return ret
	}
	return *o.PhoneNumber
}
func (o *TransferUserInRequest) GetPhoneNumberOk() (*string, bool) {
	if o == nil || o.PhoneNumber == nil {
		return nil, false
	}
	return o.PhoneNumber, true
}
func (o *TransferUserInRequest) HasPhoneNumber() bool {
	if o != nil && o.PhoneNumber != nil {
		return true
	}
	return false
}
func (o *TransferUserInRequest) SetPhoneNumber(v string) {
	o.PhoneNumber = &v
}
func (o *TransferUserInRequest) GetEmailAddress() string {
	if o == nil || o.EmailAddress == nil {
		var ret string
		return ret
	}
	return *o.EmailAddress
}
func (o *TransferUserInRequest) GetEmailAddressOk() (*string, bool) {
	if o == nil || o.EmailAddress == nil {
		return nil, false
	}
	return o.EmailAddress, true
}