func (o *SandboxTransferSimulateRequest) SetFailureReason(v TransferFailure) {
	o.FailureReason.Set(&v)
}
SetFailureReason gets a reference to the given NullableTransferFailure and assigns it to the FailureReason field.
package plaid
import (
	"encoding/json"
)
type SandboxTransferSimulateRequest struct {
	ClientId *string `json:"client_id,omitempty"`
	Secret *string `json:"secret,omitempty"`
	TransferId string `json:"transfer_id"`
	EventType string `json:"event_type"`
	FailureReason NullableTransferFailure `json:"failure_reason,omitempty"`
}
func NewSandboxTransferSimulateRequest(transferId string, eventType string) *SandboxTransferSimulateRequest {
	this := SandboxTransferSimulateRequest{}
	this.TransferId = transferId
	this.EventType = eventType
	return &this
}
func NewSandboxTransferSimulateRequestWithDefaults() *SandboxTransferSimulateRequest {
	this := SandboxTransferSimulateRequest{}
	return &this
}
func (o *SandboxTransferSimulateRequest) GetClientId() string {
	if o == nil || o.ClientId == nil {
		var ret string
		return ret
	}
	return *o.ClientId
}
func (o *SandboxTransferSimulateRequest) GetClientIdOk() (*string, bool) {
	if o == nil || o.ClientId == nil {
		return nil, false
	}
	return o.ClientId, true
}
func (o *SandboxTransferSimulateRequest) HasClientId() bool {
	if o != nil && o.ClientId != nil {
		return true
	}
	return false
}
func (o *SandboxTransferSimulateRequest) SetClientId(v string) {
	o.ClientId = &v
}
func (o *SandboxTransferSimulateRequest) GetSecret() string {
	if o == nil || o.Secret == nil {
		var ret string
		return ret
	}
	return *o.Secret
}
func (o *SandboxTransferSimulateRequest) GetSecretOk() (*string, bool) {
	if o == nil || o.Secret == nil {
		return nil, false
	}
	return o.Secret, true
}
func (o *SandboxTransferSimulateRequest) HasSecret() bool {
	if o != nil && o.Secret != nil {
		return true
	}
	return false
}
func (o *SandboxTransferSimulateRequest) SetSecret(v string) {
	o.Secret = &v
}
func (o *SandboxTransferSimulateRequest) GetTransferId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.TransferId
}
func (o *SandboxTransferSimulateRequest) GetTransferIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.TransferId, true
}
func (o *SandboxTransferSimulateRequest) SetTransferId(v string) {
	o.TransferId = v
}
func (o *SandboxTransferSimulateRequest) GetEventType() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.EventType
}
func (o *SandboxTransferSimulateRequest) GetEventTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.EventType, true
}
func (o *SandboxTransferSimulateRequest) SetEventType(v string) {
	o.EventType = v
}
func (o *SandboxTransferSimulateRequest) GetFailureReason() TransferFailure {
	if o == nil || o.FailureReason.Get() == nil {
		var ret TransferFailure
		return ret
	}
	return *o.FailureReason.Get()
}
func (o *SandboxTransferSimulateRequest) GetFailureReasonOk() (*TransferFailure, bool) {
	if o == nil  {
		return nil, false
	}
	return o.FailureReason.Get(), o.FailureReason.IsSet()
}
func (o *SandboxTransferSimulateRequest) HasFailureReason() bool {
	if o != nil && o.FailureReason.IsSet() {
		return true
	}
	return false
}