Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.78 KB

Posting.md

File metadata and controls

114 lines (61 loc) · 2.78 KB

Posting

Properties

Name Type Description Notes
Amount int32
Asset string
Destination string
Source string

Methods

NewPosting

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

NewPostingWithDefaults

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

GetAmount

func (o *Posting) GetAmount() int32

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

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.

SetAmount

func (o *Posting) SetAmount(v int32)

SetAmount sets Amount field to given value.

GetAsset

func (o *Posting) GetAsset() string

GetAsset returns the Asset field if non-nil, zero value otherwise.

GetAssetOk

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.

SetAsset

func (o *Posting) SetAsset(v string)

SetAsset sets Asset field to given value.

GetDestination

func (o *Posting) GetDestination() string

GetDestination returns the Destination field if non-nil, zero value otherwise.

GetDestinationOk

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.

SetDestination

func (o *Posting) SetDestination(v string)

SetDestination sets Destination field to given value.

GetSource

func (o *Posting) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

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.

SetSource

func (o *Posting) SetSource(v string)

SetSource sets Source field to given value.

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