func (o *Holding) GetUnofficialCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.UnofficialCurrencyCode.Get(), o.UnofficialCurrencyCode.IsSet()
}
GetUnofficialCurrencyCodeOk returns a tuple with the UnofficialCurrencyCode field value
and a boolean to check if the value has been set.
NOTE: If the value is an explicit nil, `nil, true` will be returned
package plaid
import (
	"encoding/json"
)
type Holding struct {
	AccountId string `json:"account_id"`
	SecurityId string `json:"security_id"`
	InstitutionPrice float32 `json:"institution_price"`
	InstitutionPriceAsOf NullableString `json:"institution_price_as_of"`
	InstitutionValue float32 `json:"institution_value"`
	CostBasis NullableFloat32 `json:"cost_basis"`
	Quantity float32 `json:"quantity"`
	IsoCurrencyCode NullableString `json:"iso_currency_code"`
	UnofficialCurrencyCode NullableString `json:"unofficial_currency_code"`
	AdditionalProperties map[string]interface{}
}
type _Holding Holding
func NewHolding(accountId string, securityId string, institutionPrice float32, institutionPriceAsOf NullableString, institutionValue float32, costBasis NullableFloat32, quantity float32, isoCurrencyCode NullableString, unofficialCurrencyCode NullableString) *Holding {
	this := Holding{}
	this.AccountId = accountId
	this.SecurityId = securityId
	this.InstitutionPrice = institutionPrice
	this.InstitutionPriceAsOf = institutionPriceAsOf
	this.InstitutionValue = institutionValue
	this.CostBasis = costBasis
	this.Quantity = quantity
	this.IsoCurrencyCode = isoCurrencyCode
	this.UnofficialCurrencyCode = unofficialCurrencyCode
	return &this
}
func NewHoldingWithDefaults() *Holding {
	this := Holding{}
	return &this
}
func (o *Holding) GetAccountId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.AccountId
}
func (o *Holding) GetAccountIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.AccountId, true
}
func (o *Holding) SetAccountId(v string) {
	o.AccountId = v
}
func (o *Holding) GetSecurityId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.SecurityId
}
func (o *Holding) GetSecurityIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.SecurityId, true
}
func (o *Holding) SetSecurityId(v string) {
	o.SecurityId = v
}
func (o *Holding) GetInstitutionPrice() float32 {
	if o == nil {
		var ret float32
		return ret
	}
	return o.InstitutionPrice
}
func (o *Holding) GetInstitutionPriceOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.InstitutionPrice, true
}
func (o *Holding) SetInstitutionPrice(v float32) {
	o.InstitutionPrice = v
}
func (o *Holding) GetInstitutionPriceAsOf() string {
	if o == nil || o.InstitutionPriceAsOf.Get() == nil {
		var ret string
		return ret
	}
	return *o.InstitutionPriceAsOf.Get()
}
func (o *Holding) GetInstitutionPriceAsOfOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.InstitutionPriceAsOf.Get(), o.InstitutionPriceAsOf.IsSet()
}
func (o *Holding) SetInstitutionPriceAsOf(v string) {
	o.InstitutionPriceAsOf.Set(&v)
}
func (o *Holding) GetInstitutionValue() float32 {
	if o == nil {
		var ret float32
		return ret
	}
	return o.InstitutionValue
}
func (o *Holding) GetInstitutionValueOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.InstitutionValue, true
}
func (o *Holding) SetInstitutionValue(v float32) {
	o.InstitutionValue = v
}
func (o *Holding) GetCostBasis() float32 {
	if o == nil || o.CostBasis.Get() == nil {
		var ret float32
		return ret
	}
	return *o.CostBasis.Get()
}
func (o *Holding) GetCostBasisOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CostBasis.Get(), o.CostBasis.IsSet()
}
func (o *Holding) SetCostBasis(v float32) {
	o.CostBasis.Set(&v)
}
func (o *Holding) GetQuantity() float32 {
	if o == nil {
		var ret float32
		return ret
	}
	return o.Quantity
}
func (o *Holding) GetQuantityOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Quantity, true
}
func (o *Holding) SetQuantity(v float32) {
	o.Quantity = v
}
func (o *Holding) GetIsoCurrencyCode() string {
	if o == nil || o.IsoCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.IsoCurrencyCode.Get()
}
func (o *Holding) GetIsoCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.IsoCurrencyCode.Get(), o.IsoCurrencyCode.IsSet()
}
func (o *Holding) SetIsoCurrencyCode(v string) {
	o.IsoCurrencyCode.Set(&v)
}
func (o *Holding) GetUnofficialCurrencyCode() string {
	if o == nil || o.UnofficialCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.UnofficialCurrencyCode.Get()
}