func (o *ScopesNullable) GetAccountsOk() (*[]AccountAccess, bool) {
	if o == nil || o.Accounts == nil {
		return nil, false
	}
	return o.Accounts, true
}
GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise
and a boolean to check if the value has been set.
package plaid
import (
	"encoding/json"
)
type ScopesNullable struct {
	ProductAccess *ProductAccess `json:"product_access,omitempty"`
	Accounts *[]AccountAccess `json:"accounts,omitempty"`
	NewAccounts NullableBool `json:"new_accounts,omitempty"`
}
func NewScopesNullable() *ScopesNullable {
	this := ScopesNullable{}
	var newAccounts bool = true
	this.NewAccounts = *NewNullableBool(&newAccounts)
	return &this
}
func NewScopesNullableWithDefaults() *ScopesNullable {
	this := ScopesNullable{}
	var newAccounts bool = true
	this.NewAccounts = *NewNullableBool(&newAccounts)
	return &this
}
func (o *ScopesNullable) GetProductAccess() ProductAccess {
	if o == nil || o.ProductAccess == nil {
		var ret ProductAccess
		return ret
	}
	return *o.ProductAccess
}
func (o *ScopesNullable) GetProductAccessOk() (*ProductAccess, bool) {
	if o == nil || o.ProductAccess == nil {
		return nil, false
	}
	return o.ProductAccess, true
}
func (o *ScopesNullable) HasProductAccess() bool {
	if o != nil && o.ProductAccess != nil {
		return true
	}
	return false
}
func (o *ScopesNullable) SetProductAccess(v ProductAccess) {
	o.ProductAccess = &v
}
func (o *ScopesNullable) GetAccounts() []AccountAccess {
	if o == nil || o.Accounts == nil {
		var ret []AccountAccess
		return ret
	}
	return *o.Accounts
}