func (o *InstitutionsSearchRequestOptions) GetOauthOk() (*bool, bool) {
	if o == nil || o.Oauth == nil {
		return nil, false
	}
	return o.Oauth, true
}
GetOauthOk returns a tuple with the Oauth field value if set, nil otherwise
and a boolean to check if the value has been set.
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
}