func (o *AccountBase) GetSubtypeOk() (*AccountSubtype, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Subtype.Get(), o.Subtype.IsSet()
}
GetSubtypeOk returns a tuple with the Subtype 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 AccountBase struct {
	AccountId string `json:"account_id"`
	Balances AccountBalance `json:"balances"`
	Mask NullableString `json:"mask"`
	Name string `json:"name"`
	OfficialName NullableString `json:"official_name"`
	Type AccountType `json:"type"`
	Subtype NullableAccountSubtype `json:"subtype"`
	VerificationStatus *string `json:"verification_status,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _AccountBase AccountBase
func NewAccountBase(accountId string, balances AccountBalance, mask NullableString, name string, officialName NullableString, type_ AccountType, subtype NullableAccountSubtype) *AccountBase {
	this := AccountBase{}
	this.AccountId = accountId
	this.Balances = balances
	this.Mask = mask
	this.Name = name
	this.OfficialName = officialName
	this.Type = type_
	this.Subtype = subtype
	return &this
}
func NewAccountBaseWithDefaults() *AccountBase {
	this := AccountBase{}
	return &this
}
func (o *AccountBase) GetAccountId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.AccountId
}
func (o *AccountBase) GetAccountIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.AccountId, true
}
func (o *AccountBase) SetAccountId(v string) {
	o.AccountId = v
}
func (o *AccountBase) GetBalances() AccountBalance {
	if o == nil {
		var ret AccountBalance
		return ret
	}
	return o.Balances
}
func (o *AccountBase) GetBalancesOk() (*AccountBalance, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Balances, true
}
func (o *AccountBase) SetBalances(v AccountBalance) {
	o.Balances = v
}
func (o *AccountBase) GetMask() string {
	if o == nil || o.Mask.Get() == nil {
		var ret string
		return ret
	}
	return *o.Mask.Get()
}
func (o *AccountBase) GetMaskOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Mask.Get(), o.Mask.IsSet()
}
func (o *AccountBase) SetMask(v string) {
	o.Mask.Set(&v)
}
func (o *AccountBase) GetName() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.Name
}
func (o *AccountBase) GetNameOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Name, true
}
func (o *AccountBase) SetName(v string) {
	o.Name = v
}
func (o *AccountBase) GetOfficialName() string {
	if o == nil || o.OfficialName.Get() == nil {
		var ret string
		return ret
	}
	return *o.OfficialName.Get()
}
func (o *AccountBase) GetOfficialNameOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.OfficialName.Get(), o.OfficialName.IsSet()
}
func (o *AccountBase) SetOfficialName(v string) {
	o.OfficialName.Set(&v)
}
func (o *AccountBase) GetType() AccountType {
	if o == nil {
		var ret AccountType
		return ret
	}
	return o.Type
}
func (o *AccountBase) GetTypeOk() (*AccountType, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Type, true
}
func (o *AccountBase) SetType(v AccountType) {
	o.Type = v
}
func (o *AccountBase) GetSubtype() AccountSubtype {
	if o == nil || o.Subtype.Get() == nil {
		var ret AccountSubtype
		return ret
	}
	return *o.Subtype.Get()
}