3.4 KiB
TaskMessage
Properties
Name | Type | Description | Notes |
---|---|---|---|
Body | Pointer to string | [optional] | |
CreatedAt | Pointer to string | [optional] | |
Title | Pointer to string | [optional] | |
UserSourceId | Pointer to string | [optional] |
Methods
NewTaskMessage
func NewTaskMessage() *TaskMessage
NewTaskMessage instantiates a new TaskMessage 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
NewTaskMessageWithDefaults
func NewTaskMessageWithDefaults() *TaskMessage
NewTaskMessageWithDefaults instantiates a new TaskMessage 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
GetBody
func (o *TaskMessage) GetBody() string
GetBody returns the Body field if non-nil, zero value otherwise.
GetBodyOk
func (o *TaskMessage) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBody
func (o *TaskMessage) SetBody(v string)
SetBody sets Body field to given value.
HasBody
func (o *TaskMessage) HasBody() bool
HasBody returns a boolean if a field has been set.
GetCreatedAt
func (o *TaskMessage) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *TaskMessage) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *TaskMessage) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *TaskMessage) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetTitle
func (o *TaskMessage) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *TaskMessage) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTitle
func (o *TaskMessage) SetTitle(v string)
SetTitle sets Title field to given value.
HasTitle
func (o *TaskMessage) HasTitle() bool
HasTitle returns a boolean if a field has been set.
GetUserSourceId
func (o *TaskMessage) GetUserSourceId() string
GetUserSourceId returns the UserSourceId field if non-nil, zero value otherwise.
GetUserSourceIdOk
func (o *TaskMessage) GetUserSourceIdOk() (*string, bool)
GetUserSourceIdOk returns a tuple with the UserSourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserSourceId
func (o *TaskMessage) SetUserSourceId(v string)
SetUserSourceId sets UserSourceId field to given value.
HasUserSourceId
func (o *TaskMessage) HasUserSourceId() bool
HasUserSourceId returns a boolean if a field has been set.