func (o *LinkTokenCreateRequestAccountSubtypes) HasDepository() bool {
	if o != nil && o.Depository != nil {
		return true
	}
	return false
}
HasDepository returns a boolean if a field has been set.
package plaid
import (
	"encoding/json"
)
type LinkTokenCreateRequestAccountSubtypes struct {
	Depository *map[string]map[string]interface{} `json:"depository,omitempty"`
	Credit *map[string]map[string]interface{} `json:"credit,omitempty"`
	Loan *map[string]map[string]interface{} `json:"loan,omitempty"`
	Investment *map[string]map[string]interface{} `json:"investment,omitempty"`
}
func NewLinkTokenCreateRequestAccountSubtypes() *LinkTokenCreateRequestAccountSubtypes {
	this := LinkTokenCreateRequestAccountSubtypes{}
	return &this
}
func NewLinkTokenCreateRequestAccountSubtypesWithDefaults() *LinkTokenCreateRequestAccountSubtypes {
	this := LinkTokenCreateRequestAccountSubtypes{}
	return &this
}
func (o *LinkTokenCreateRequestAccountSubtypes) GetDepository() map[string]map[string]interface{} {
	if o == nil || o.Depository == nil {
		var ret map[string]map[string]interface{}
		return ret
	}
	return *o.Depository
}
func (o *LinkTokenCreateRequestAccountSubtypes) GetDepositoryOk() (*map[string]map[string]interface{}, bool) {
	if o == nil || o.Depository == nil {
		return nil, false
	}
	return o.Depository, true
}