func (o *AccountFiltersResponse) SetCredit(v CreditFilter) {
	o.Credit = &v
}
SetCredit gets a reference to the given CreditFilter and assigns it to the Credit field.
package plaid
import (
	"encoding/json"
)
type AccountFiltersResponse struct {
	Depository *DepositoryFilter `json:"depository,omitempty"`
	Credit *CreditFilter `json:"credit,omitempty"`
	Loan *LoanFilter `json:"loan,omitempty"`
	Investment *InvestmentFilter `json:"investment,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _AccountFiltersResponse AccountFiltersResponse
func NewAccountFiltersResponse() *AccountFiltersResponse {
	this := AccountFiltersResponse{}
	return &this
}
func NewAccountFiltersResponseWithDefaults() *AccountFiltersResponse {
	this := AccountFiltersResponse{}
	return &this
}
func (o *AccountFiltersResponse) GetDepository() DepositoryFilter {
	if o == nil || o.Depository == nil {
		var ret DepositoryFilter
		return ret
	}
	return *o.Depository
}
func (o *AccountFiltersResponse) GetDepositoryOk() (*DepositoryFilter, bool) {
	if o == nil || o.Depository == nil {
		return nil, false
	}
	return o.Depository, true
}
func (o *AccountFiltersResponse) HasDepository() bool {
	if o != nil && o.Depository != nil {
		return true
	}
	return false
}
func (o *AccountFiltersResponse) SetDepository(v DepositoryFilter) {
	o.Depository = &v
}
func (o *AccountFiltersResponse) GetCredit() CreditFilter {
	if o == nil || o.Credit == nil {
		var ret CreditFilter
		return ret
	}
	return *o.Credit
}
func (o *AccountFiltersResponse) GetCreditOk() (*CreditFilter, bool) {
	if o == nil || o.Credit == nil {
		return nil, false
	}
	return o.Credit, true
}
func (o *AccountFiltersResponse) HasCredit() bool {
	if o != nil && o.Credit != nil {
		return true
	}
	return false
}