| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | Unique identifier of the task. | [readonly] |
| CreatorId | int32 | Unique identifier of the user who created the task. | |
| CompletedAt | NullableString | Timestamp of when the task was completed. | |
| CompletedById | NullableInt32 | Unique identifier of the user who completed the task. | |
| AssignedById | NullableInt32 | Unique identifier of the user who assigned the task. | |
| Name | string | The title of the task. | |
| Description | NullableString | A string representing the description of the task. | |
| DueDate | NullableString | Date when the task must be completed. | |
| Starred | bool | Boolean if the task is starred. | |
| AssigneeId | NullableInt32 | Unique identifier of the assigned user for the task. | |
| SubjectType | NullableString | Type of the subject. | |
| SubjectId | NullableInt32 | Identifier of the subject. | |
| UpdatedAt | time.Time | Timestamp of last update. | [readonly] |
| CreatedAt | time.Time | Timestamp of creation. | [readonly] |
func NewTask(id int32, creatorId int32, completedAt NullableString, completedById NullableInt32, assignedById NullableInt32, name string, description NullableString, dueDate NullableString, starred bool, assigneeId NullableInt32, subjectType NullableString, subjectId NullableInt32, updatedAt time.Time, createdAt time.Time, ) *Task
NewTask instantiates a new Task 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 NewTaskWithDefaults() *Task
NewTaskWithDefaults instantiates a new Task 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 *Task) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Task) 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.
func (o *Task) SetId(v int32)
SetId sets Id field to given value.
func (o *Task) GetCreatorId() int32
GetCreatorId returns the CreatorId field if non-nil, zero value otherwise.
func (o *Task) GetCreatorIdOk() (*int32, bool)
GetCreatorIdOk returns a tuple with the CreatorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetCreatorId(v int32)
SetCreatorId sets CreatorId field to given value.
func (o *Task) GetCompletedAt() string
GetCompletedAt returns the CompletedAt field if non-nil, zero value otherwise.
func (o *Task) GetCompletedAtOk() (*string, bool)
GetCompletedAtOk returns a tuple with the CompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetCompletedAt(v string)
SetCompletedAt sets CompletedAt field to given value.
func (o *Task) SetCompletedAtNil(b bool)
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (o *Task) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
func (o *Task) GetCompletedById() int32
GetCompletedById returns the CompletedById field if non-nil, zero value otherwise.
func (o *Task) GetCompletedByIdOk() (*int32, bool)
GetCompletedByIdOk returns a tuple with the CompletedById field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetCompletedById(v int32)
SetCompletedById sets CompletedById field to given value.
func (o *Task) SetCompletedByIdNil(b bool)
SetCompletedByIdNil sets the value for CompletedById to be an explicit nil
func (o *Task) UnsetCompletedById()
UnsetCompletedById ensures that no value is present for CompletedById, not even an explicit nil
func (o *Task) GetAssignedById() int32
GetAssignedById returns the AssignedById field if non-nil, zero value otherwise.
func (o *Task) GetAssignedByIdOk() (*int32, bool)
GetAssignedByIdOk returns a tuple with the AssignedById field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetAssignedById(v int32)
SetAssignedById sets AssignedById field to given value.
func (o *Task) SetAssignedByIdNil(b bool)
SetAssignedByIdNil sets the value for AssignedById to be an explicit nil
func (o *Task) UnsetAssignedById()
UnsetAssignedById ensures that no value is present for AssignedById, not even an explicit nil
func (o *Task) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Task) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetName(v string)
SetName sets Name field to given value.
func (o *Task) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Task) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Task) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *Task) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *Task) GetDueDate() string
GetDueDate returns the DueDate field if non-nil, zero value otherwise.
func (o *Task) GetDueDateOk() (*string, bool)
GetDueDateOk returns a tuple with the DueDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetDueDate(v string)
SetDueDate sets DueDate field to given value.
func (o *Task) SetDueDateNil(b bool)
SetDueDateNil sets the value for DueDate to be an explicit nil
func (o *Task) UnsetDueDate()
UnsetDueDate ensures that no value is present for DueDate, not even an explicit nil
func (o *Task) GetStarred() bool
GetStarred returns the Starred field if non-nil, zero value otherwise.
func (o *Task) GetStarredOk() (*bool, bool)
GetStarredOk returns a tuple with the Starred field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetStarred(v bool)
SetStarred sets Starred field to given value.
func (o *Task) GetAssigneeId() int32
GetAssigneeId returns the AssigneeId field if non-nil, zero value otherwise.
func (o *Task) GetAssigneeIdOk() (*int32, bool)
GetAssigneeIdOk returns a tuple with the AssigneeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetAssigneeId(v int32)
SetAssigneeId sets AssigneeId field to given value.
func (o *Task) SetAssigneeIdNil(b bool)
SetAssigneeIdNil sets the value for AssigneeId to be an explicit nil
func (o *Task) UnsetAssigneeId()
UnsetAssigneeId ensures that no value is present for AssigneeId, not even an explicit nil
func (o *Task) GetSubjectType() string
GetSubjectType returns the SubjectType field if non-nil, zero value otherwise.
func (o *Task) GetSubjectTypeOk() (*string, bool)
GetSubjectTypeOk returns a tuple with the SubjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetSubjectType(v string)
SetSubjectType sets SubjectType field to given value.
func (o *Task) SetSubjectTypeNil(b bool)
SetSubjectTypeNil sets the value for SubjectType to be an explicit nil
func (o *Task) UnsetSubjectType()
UnsetSubjectType ensures that no value is present for SubjectType, not even an explicit nil
func (o *Task) GetSubjectId() int32
GetSubjectId returns the SubjectId field if non-nil, zero value otherwise.
func (o *Task) GetSubjectIdOk() (*int32, bool)
GetSubjectIdOk returns a tuple with the SubjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetSubjectId(v int32)
SetSubjectId sets SubjectId field to given value.
func (o *Task) SetSubjectIdNil(b bool)
SetSubjectIdNil sets the value for SubjectId to be an explicit nil
func (o *Task) UnsetSubjectId()
UnsetSubjectId ensures that no value is present for SubjectId, not even an explicit nil
func (o *Task) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Task) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Task) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Task) GetCreatedAtOk() (*time.Time, 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.
func (o *Task) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.