func (o *BankTransferSweep) SetSweepAccount(v BankTransferSweepAccount) {
	o.SweepAccount = v
}
SetSweepAccount sets field value
package plaid
import (
	"encoding/json"
	"time"
)
type BankTransferSweep struct {
	Id int64 `json:"id"`
	TransferId NullableString `json:"transfer_id"`
	CreatedAt time.Time `json:"created_at"`
	Amount string `json:"amount"`
	IsoCurrencyCode string `json:"iso_currency_code"`
	SweepAccount BankTransferSweepAccount `json:"sweep_account"`
	AdditionalProperties map[string]interface{}
}
type _BankTransferSweep BankTransferSweep
func NewBankTransferSweep(id int64, transferId NullableString, createdAt time.Time, amount string, isoCurrencyCode string, sweepAccount BankTransferSweepAccount) *BankTransferSweep {
	this := BankTransferSweep{}
	this.Id = id
	this.TransferId = transferId
	this.CreatedAt = createdAt
	this.Amount = amount
	this.IsoCurrencyCode = isoCurrencyCode
	this.SweepAccount = sweepAccount
	return &this
}
func NewBankTransferSweepWithDefaults() *BankTransferSweep {
	this := BankTransferSweep{}
	return &this
}
func (o *BankTransferSweep) GetId() int64 {
	if o == nil {
		var ret int64
		return ret
	}
	return o.Id
}
func (o *BankTransferSweep) GetIdOk() (*int64, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Id, true
}
func (o *BankTransferSweep) SetId(v int64) {
	o.Id = v
}
func (o *BankTransferSweep) GetTransferId() string {
	if o == nil || o.TransferId.Get() == nil {
		var ret string
		return ret
	}
	return *o.TransferId.Get()
}
func (o *BankTransferSweep) GetTransferIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.TransferId.Get(), o.TransferId.IsSet()
}
func (o *BankTransferSweep) SetTransferId(v string) {
	o.TransferId.Set(&v)
}
func (o *BankTransferSweep) GetCreatedAt() time.Time {
	if o == nil {
		var ret time.Time
		return ret
	}
	return o.CreatedAt
}
func (o *BankTransferSweep) GetCreatedAtOk() (*time.Time, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.CreatedAt, true
}
func (o *BankTransferSweep) SetCreatedAt(v time.Time) {
	o.CreatedAt = v
}
func (o *BankTransferSweep) GetAmount() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.Amount
}
func (o *BankTransferSweep) GetAmountOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Amount, true
}
func (o *BankTransferSweep) SetAmount(v string) {
	o.Amount = v
}
func (o *BankTransferSweep) GetIsoCurrencyCode() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.IsoCurrencyCode
}
func (o *BankTransferSweep) GetIsoCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.IsoCurrencyCode, true
}
func (o *BankTransferSweep) SetIsoCurrencyCode(v string) {
	o.IsoCurrencyCode = v
}
func (o *BankTransferSweep) GetSweepAccount() BankTransferSweepAccount {
	if o == nil {
		var ret BankTransferSweepAccount
		return ret
	}
	return o.SweepAccount
}
func (o *BankTransferSweep) GetSweepAccountOk() (*BankTransferSweepAccount, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.SweepAccount, true
}