InboxMessage
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Content | Pointer to string | Message content. | [optional] |
| Id | Pointer to int32 | Item ID. | [optional] |
| Sender | Pointer to string | Sender. | [optional] |
| Time | Pointer to int64 | Time. | [optional] |
| Unread | Pointer to bool | Unread or not. | [optional] |
Methods
NewInboxMessage
func NewInboxMessage() *InboxMessage
NewInboxMessage instantiates a new InboxMessage 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
NewInboxMessageWithDefaults
func NewInboxMessageWithDefaults() *InboxMessage
NewInboxMessageWithDefaults instantiates a new InboxMessage 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
GetContent
func (o *InboxMessage) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *InboxMessage) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContent
func (o *InboxMessage) SetContent(v string)
SetContent sets Content field to given value.
HasContent
func (o *InboxMessage) HasContent() bool
HasContent returns a boolean if a field has been set.
GetId
func (o *InboxMessage) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *InboxMessage) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *InboxMessage) SetId(v int32)
SetId sets Id field to given value.
HasId
func (o *InboxMessage) HasId() bool
HasId returns a boolean if a field has been set.
GetSender
func (o *InboxMessage) GetSender() string
GetSender returns the Sender field if non-nil, zero value otherwise.
GetSenderOk
func (o *InboxMessage) GetSenderOk() (*string, bool)
GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSender
func (o *InboxMessage) SetSender(v string)
SetSender sets Sender field to given value.
HasSender
func (o *InboxMessage) HasSender() bool
HasSender returns a boolean if a field has been set.
GetTime
func (o *InboxMessage) GetTime() int64
GetTime returns the Time field if non-nil, zero value otherwise.
GetTimeOk
func (o *InboxMessage) GetTimeOk() (*int64, bool)
GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTime
func (o *InboxMessage) SetTime(v int64)
SetTime sets Time field to given value.
HasTime
func (o *InboxMessage) HasTime() bool
HasTime returns a boolean if a field has been set.
GetUnread
func (o *InboxMessage) GetUnread() bool
GetUnread returns the Unread field if non-nil, zero value otherwise.
GetUnreadOk
func (o *InboxMessage) GetUnreadOk() (*bool, bool)
GetUnreadOk returns a tuple with the Unread field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUnread
func (o *InboxMessage) SetUnread(v bool)
SetUnread sets Unread field to given value.
HasUnread
func (o *InboxMessage) HasUnread() bool
HasUnread returns a boolean if a field has been set.