Skip to content

Message

Properties

Name Type Description Notes
Content Pointer to string Message content. [optional]
Id Pointer to int32 Item ID. [optional]
Time Pointer to int64 Time. [optional]

Methods

NewMessage

func NewMessage() *Message

NewMessage instantiates a new Message 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

NewMessageWithDefaults

func NewMessageWithDefaults() *Message

NewMessageWithDefaults instantiates a new Message 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 *Message) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

func (o *Message) 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 *Message) SetContent(v string)

SetContent sets Content field to given value.

HasContent

func (o *Message) HasContent() bool

HasContent returns a boolean if a field has been set.

GetId

func (o *Message) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Message) 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 *Message) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *Message) HasId() bool

HasId returns a boolean if a field has been set.

GetTime

func (o *Message) GetTime() int64

GetTime returns the Time field if non-nil, zero value otherwise.

GetTimeOk

func (o *Message) 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 *Message) SetTime(v int64)

SetTime sets Time field to given value.

HasTime

func (o *Message) HasTime() bool

HasTime returns a boolean if a field has been set.

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