Name | Type | Description | Notes |
---|---|---|---|
Amount | int32 | ||
Asset | string | ||
Destination | string | ||
Source | string |
func NewPosting(amount int32, asset string, destination string, source string, ) *Posting
NewPosting instantiates a new Posting 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
func NewPostingWithDefaults() *Posting
NewPostingWithDefaults instantiates a new Posting 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
func (o *Posting) GetAmount() int32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *Posting) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Posting) SetAmount(v int32)
SetAmount sets Amount field to given value.
func (o *Posting) GetAsset() string
GetAsset returns the Asset field if non-nil, zero value otherwise.
func (o *Posting) GetAssetOk() (*string, bool)
GetAssetOk returns a tuple with the Asset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Posting) SetAsset(v string)
SetAsset sets Asset field to given value.
func (o *Posting) GetDestination() string
GetDestination returns the Destination field if non-nil, zero value otherwise.
func (o *Posting) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Posting) SetDestination(v string)
SetDestination sets Destination field to given value.
func (o *Posting) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *Posting) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Posting) SetSource(v string)
SetSource sets Source field to given value.