Name | Type | Description | Notes |
---|---|---|---|
LastMessage | Transaction | ||
Messages | uint32 | ||
Timestamp | time.Time |
func NewTransactionMetricItem(lastMessage Transaction, messages uint32, timestamp time.Time, ) *TransactionMetricItem
NewTransactionMetricItem instantiates a new TransactionMetricItem 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 NewTransactionMetricItemWithDefaults() *TransactionMetricItem
NewTransactionMetricItemWithDefaults instantiates a new TransactionMetricItem 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 *TransactionMetricItem) GetLastMessage() Transaction
GetLastMessage returns the LastMessage field if non-nil, zero value otherwise.
func (o *TransactionMetricItem) GetLastMessageOk() (*Transaction, bool)
GetLastMessageOk returns a tuple with the LastMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionMetricItem) SetLastMessage(v Transaction)
SetLastMessage sets LastMessage field to given value.
func (o *TransactionMetricItem) GetMessages() uint32
GetMessages returns the Messages field if non-nil, zero value otherwise.
func (o *TransactionMetricItem) GetMessagesOk() (*uint32, bool)
GetMessagesOk returns a tuple with the Messages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionMetricItem) SetMessages(v uint32)
SetMessages sets Messages field to given value.
func (o *TransactionMetricItem) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *TransactionMetricItem) 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.
func (o *TransactionMetricItem) SetTimestamp(v time.Time)
SetTimestamp sets Timestamp field to given value.