Files

2.5 KiB

Leg

Properties

Name Type Description Notes
Account Pointer to string [optional]
Credit Pointer to int32 [optional]
Debit Pointer to int32 [optional]

Methods

NewLeg

func NewLeg() *Leg

NewLeg instantiates a new Leg 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

NewLegWithDefaults

func NewLegWithDefaults() *Leg

NewLegWithDefaults instantiates a new Leg object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetAccount

func (o *Leg) GetAccount() string

GetAccount returns the Account field if non-nil, zero value otherwise.

GetAccountOk

func (o *Leg) GetAccountOk() (*string, bool)

GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccount

func (o *Leg) SetAccount(v string)

SetAccount sets Account field to given value.

HasAccount

func (o *Leg) HasAccount() bool

HasAccount returns a boolean if a field has been set.

GetCredit

func (o *Leg) GetCredit() int32

GetCredit returns the Credit field if non-nil, zero value otherwise.

GetCreditOk

func (o *Leg) GetCreditOk() (*int32, bool)

GetCreditOk returns a tuple with the Credit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCredit

func (o *Leg) SetCredit(v int32)

SetCredit sets Credit field to given value.

HasCredit

func (o *Leg) HasCredit() bool

HasCredit returns a boolean if a field has been set.

GetDebit

func (o *Leg) GetDebit() int32

GetDebit returns the Debit field if non-nil, zero value otherwise.

GetDebitOk

func (o *Leg) GetDebitOk() (*int32, bool)

GetDebitOk returns a tuple with the Debit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDebit

func (o *Leg) SetDebit(v int32)

SetDebit sets Debit field to given value.

HasDebit

func (o *Leg) HasDebit() bool

HasDebit returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]