Skip to content

Latest commit

 

History

History
170 lines (93 loc) · 4.62 KB

PostTransaction.md

File metadata and controls

170 lines (93 loc) · 4.62 KB

PostTransaction

Properties

Name Type Description Notes
Timestamp Pointer to time.Time [optional]
Postings Pointer to []Posting [optional]
Script Pointer to PostTransactionScript [optional]
Reference Pointer to string [optional]
Metadata Pointer to map[string]interface{} [optional]

Methods

NewPostTransaction

func NewPostTransaction() *PostTransaction

NewPostTransaction instantiates a new PostTransaction 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

NewPostTransactionWithDefaults

func NewPostTransactionWithDefaults() *PostTransaction

NewPostTransactionWithDefaults instantiates a new PostTransaction 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

GetTimestamp

func (o *PostTransaction) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

GetTimestampOk

func (o *PostTransaction) GetTimestampOk() (*time.Time, bool)

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

SetTimestamp

func (o *PostTransaction) SetTimestamp(v time.Time)

SetTimestamp sets Timestamp field to given value.

HasTimestamp

func (o *PostTransaction) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

GetPostings

func (o *PostTransaction) GetPostings() []Posting

GetPostings returns the Postings field if non-nil, zero value otherwise.

GetPostingsOk

func (o *PostTransaction) GetPostingsOk() (*[]Posting, bool)

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

SetPostings

func (o *PostTransaction) SetPostings(v []Posting)

SetPostings sets Postings field to given value.

HasPostings

func (o *PostTransaction) HasPostings() bool

HasPostings returns a boolean if a field has been set.

GetScript

func (o *PostTransaction) GetScript() PostTransactionScript

GetScript returns the Script field if non-nil, zero value otherwise.

GetScriptOk

func (o *PostTransaction) GetScriptOk() (*PostTransactionScript, bool)

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

SetScript

func (o *PostTransaction) SetScript(v PostTransactionScript)

SetScript sets Script field to given value.

HasScript

func (o *PostTransaction) HasScript() bool

HasScript returns a boolean if a field has been set.

GetReference

func (o *PostTransaction) GetReference() string

GetReference returns the Reference field if non-nil, zero value otherwise.

GetReferenceOk

func (o *PostTransaction) GetReferenceOk() (*string, bool)

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

SetReference

func (o *PostTransaction) SetReference(v string)

SetReference sets Reference field to given value.

HasReference

func (o *PostTransaction) HasReference() bool

HasReference returns a boolean if a field has been set.

GetMetadata

func (o *PostTransaction) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *PostTransaction) GetMetadataOk() (*map[string]interface{}, bool)

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

SetMetadata

func (o *PostTransaction) SetMetadata(v map[string]interface{})

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *PostTransaction) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

SetMetadataNil

func (o *PostTransaction) SetMetadataNil(b bool)

SetMetadataNil sets the value for Metadata to be an explicit nil

UnsetMetadata

func (o *PostTransaction) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

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