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
}
NewBankTransferSweep instantiates a new BankTransferSweep object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
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