func (o *InstitutionsSearchRequestOptions) GetIncludeAuthMetadata() bool {
	if o == nil || o.IncludeAuthMetadata == nil {
		var ret bool
		return ret
	}
	return *o.IncludeAuthMetadata
}
GetIncludeAuthMetadata returns the IncludeAuthMetadata field value if set, zero value otherwise.
package plaid
import (
	"encoding/json"
)
type InstitutionsSearchRequestOptions struct {
	Oauth *bool `json:"oauth,omitempty"`
	IncludeOptionalMetadata *bool `json:"include_optional_metadata,omitempty"`
	IncludeAuthMetadata *bool `json:"include_auth_metadata,omitempty"`
	IncludePaymentInitiationMetadata *bool `json:"include_payment_initiation_metadata,omitempty"`
	PaymentInitiation NullableInstitutionsSearchPaymentInitiationOptions `json:"payment_initiation,omitempty"`
}
func NewInstitutionsSearchRequestOptions() *InstitutionsSearchRequestOptions {
	this := InstitutionsSearchRequestOptions{}
	var includeAuthMetadata bool = false
	this.IncludeAuthMetadata = &includeAuthMetadata
	var includePaymentInitiationMetadata bool = false
	this.IncludePaymentInitiationMetadata = &includePaymentInitiationMetadata
	return &this
}
func NewInstitutionsSearchRequestOptionsWithDefaults() *InstitutionsSearchRequestOptions {
	this := InstitutionsSearchRequestOptions{}
	var includeAuthMetadata bool = false
	this.IncludeAuthMetadata = &includeAuthMetadata
	var includePaymentInitiationMetadata bool = false
	this.IncludePaymentInitiationMetadata = &includePaymentInitiationMetadata
	return &this
}
func (o *InstitutionsSearchRequestOptions) GetOauth() bool {
	if o == nil || o.Oauth == nil {
		var ret bool
		return ret
	}
	return *o.Oauth
}
func (o *InstitutionsSearchRequestOptions) GetOauthOk() (*bool, bool) {
	if o == nil || o.Oauth == nil {
		return nil, false
	}
	return o.Oauth, true
}
func (o *InstitutionsSearchRequestOptions) HasOauth() bool {
	if o != nil && o.Oauth != nil {
		return true
	}
	return false
}
func (o *InstitutionsSearchRequestOptions) SetOauth(v bool) {
	o.Oauth = &v
}
func (o *InstitutionsSearchRequestOptions) GetIncludeOptionalMetadata() bool {
	if o == nil || o.IncludeOptionalMetadata == nil {
		var ret bool
		return ret
	}
	return *o.IncludeOptionalMetadata
}
func (o *InstitutionsSearchRequestOptions) GetIncludeOptionalMetadataOk() (*bool, bool) {
	if o == nil || o.IncludeOptionalMetadata == nil {
		return nil, false
	}
	return o.IncludeOptionalMetadata, true
}
func (o *InstitutionsSearchRequestOptions) HasIncludeOptionalMetadata() bool {
	if o != nil && o.IncludeOptionalMetadata != nil {
		return true
	}
	return false
}
func (o *InstitutionsSearchRequestOptions) SetIncludeOptionalMetadata(v bool) {
	o.IncludeOptionalMetadata = &v
}