func (o *Security) SetClosePriceAsOf(v string) {
	o.ClosePriceAsOf.Set(&v)
}
SetClosePriceAsOf sets field value
package plaid
import (
	"encoding/json"
)
type Security struct {
	SecurityId string `json:"security_id"`
	Isin NullableString `json:"isin"`
	Cusip NullableString `json:"cusip"`
	Sedol NullableString `json:"sedol"`
	InstitutionSecurityId NullableString `json:"institution_security_id"`
	InstitutionId NullableString `json:"institution_id"`
	ProxySecurityId NullableString `json:"proxy_security_id"`
	Name NullableString `json:"name"`
	TickerSymbol NullableString `json:"ticker_symbol"`
	IsCashEquivalent NullableBool `json:"is_cash_equivalent"`
	Type NullableString `json:"type"`
	ClosePrice NullableFloat32 `json:"close_price"`
	ClosePriceAsOf NullableString `json:"close_price_as_of"`
	IsoCurrencyCode NullableString `json:"iso_currency_code"`
	UnofficialCurrencyCode NullableString `json:"unofficial_currency_code"`
	AdditionalProperties map[string]interface{}
}
type _Security Security
func NewSecurity(securityId string, isin NullableString, cusip NullableString, sedol NullableString, institutionSecurityId NullableString, institutionId NullableString, proxySecurityId NullableString, name NullableString, tickerSymbol NullableString, isCashEquivalent NullableBool, type_ NullableString, closePrice NullableFloat32, closePriceAsOf NullableString, isoCurrencyCode NullableString, unofficialCurrencyCode NullableString) *Security {
	this := Security{}
	this.SecurityId = securityId
	this.Isin = isin
	this.Cusip = cusip
	this.Sedol = sedol
	this.InstitutionSecurityId = institutionSecurityId
	this.InstitutionId = institutionId
	this.ProxySecurityId = proxySecurityId
	this.Name = name
	this.TickerSymbol = tickerSymbol
	this.IsCashEquivalent = isCashEquivalent
	this.Type = type_
	this.ClosePrice = closePrice
	this.ClosePriceAsOf = closePriceAsOf
	this.IsoCurrencyCode = isoCurrencyCode
	this.UnofficialCurrencyCode = unofficialCurrencyCode
	return &this
}
func NewSecurityWithDefaults() *Security {
	this := Security{}
	return &this
}
func (o *Security) GetSecurityId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.SecurityId
}
func (o *Security) GetSecurityIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.SecurityId, true
}
func (o *Security) SetSecurityId(v string) {
	o.SecurityId = v
}
func (o *Security) GetIsin() string {
	if o == nil || o.Isin.Get() == nil {
		var ret string
		return ret
	}
	return *o.Isin.Get()
}
func (o *Security) GetIsinOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Isin.Get(), o.Isin.IsSet()
}
func (o *Security) SetIsin(v string) {
	o.Isin.Set(&v)
}
func (o *Security) GetCusip() string {
	if o == nil || o.Cusip.Get() == nil {
		var ret string
		return ret
	}
	return *o.Cusip.Get()
}
func (o *Security) GetCusipOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Cusip.Get(), o.Cusip.IsSet()
}
func (o *Security) SetCusip(v string) {
	o.Cusip.Set(&v)
}
func (o *Security) GetSedol() string {
	if o == nil || o.Sedol.Get() == nil {
		var ret string
		return ret
	}
	return *o.Sedol.Get()
}
func (o *Security) GetSedolOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Sedol.Get(), o.Sedol.IsSet()
}
func (o *Security) SetSedol(v string) {
	o.Sedol.Set(&v)
}
func (o *Security) GetInstitutionSecurityId() string {
	if o == nil || o.InstitutionSecurityId.Get() == nil {
		var ret string
		return ret
	}
	return *o.InstitutionSecurityId.Get()
}
func (o *Security) GetInstitutionSecurityIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.InstitutionSecurityId.Get(), o.InstitutionSecurityId.IsSet()
}
func (o *Security) SetInstitutionSecurityId(v string) {
	o.InstitutionSecurityId.Set(&v)
}
func (o *Security) GetInstitutionId() string {
	if o == nil || o.InstitutionId.Get() == nil {
		var ret string
		return ret
	}
	return *o.InstitutionId.Get()
}
func (o *Security) GetInstitutionIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.InstitutionId.Get(), o.InstitutionId.IsSet()
}
func (o *Security) SetInstitutionId(v string) {
	o.InstitutionId.Set(&v)
}
func (o *Security) GetProxySecurityId() string {
	if o == nil || o.ProxySecurityId.Get() == nil {
		var ret string
		return ret
	}
	return *o.ProxySecurityId.Get()
}
func (o *Security) GetProxySecurityIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.ProxySecurityId.Get(), o.ProxySecurityId.IsSet()
}
func (o *Security) SetProxySecurityId(v string) {
	o.ProxySecurityId.Set(&v)
}
func (o *Security) GetName() string {
	if o == nil || o.Name.Get() == nil {
		var ret string
		return ret
	}
	return *o.Name.Get()
}
func (o *Security) GetNameOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Name.Get(), o.Name.IsSet()
}
func (o *Security) SetName(v string) {
	o.Name.Set(&v)
}
func (o *Security) GetTickerSymbol() string {
	if o == nil || o.TickerSymbol.Get() == nil {
		var ret string
		return ret
	}
	return *o.TickerSymbol.Get()
}
func (o *Security) GetTickerSymbolOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.TickerSymbol.Get(), o.TickerSymbol.IsSet()
}
func (o *Security) SetTickerSymbol(v string) {
	o.TickerSymbol.Set(&v)
}
func (o *Security) GetIsCashEquivalent() bool {
	if o == nil || o.IsCashEquivalent.Get() == nil {
		var ret bool
		return ret
	}
	return *o.IsCashEquivalent.Get()
}
func (o *Security) GetIsCashEquivalentOk() (*bool, bool) {
	if o == nil  {
		return nil, false
	}
	return o.IsCashEquivalent.Get(), o.IsCashEquivalent.IsSet()
}
func (o *Security) SetIsCashEquivalent(v bool) {
	o.IsCashEquivalent.Set(&v)
}
func (o *Security) GetType() string {
	if o == nil || o.Type.Get() == nil {
		var ret string
		return ret
	}
	return *o.Type.Get()
}
func (o *Security) GetTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Type.Get(), o.Type.IsSet()
}
func (o *Security) SetType(v string) {
	o.Type.Set(&v)
}
func (o *Security) GetClosePrice() float32 {
	if o == nil || o.ClosePrice.Get() == nil {
		var ret float32
		return ret
	}
	return *o.ClosePrice.Get()
}
func (o *Security) GetClosePriceOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.ClosePrice.Get(), o.ClosePrice.IsSet()
}
func (o *Security) SetClosePrice(v float32) {
	o.ClosePrice.Set(&v)
}
func (o *Security) GetClosePriceAsOf() string {
	if o == nil || o.ClosePriceAsOf.Get() == nil {
		var ret string
		return ret
	}
	return *o.ClosePriceAsOf.Get()
}
func (o *Security) GetClosePriceAsOfOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.ClosePriceAsOf.Get(), o.ClosePriceAsOf.IsSet()
}