Package

ru.pavkin.todoist.api.core

model

Permalink

package model

Contains all command and resource model classes

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. model
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class AbsoluteTimeBasedReminder(id: @@[Int, ReminderId], subscriber: @@[Int, UserId], task: @@[Int, TaskId], service: ReminderService, dueDate: TaskDate, isDeleted: Boolean) extends TimeBasedReminder with Product with Serializable

    Permalink
  2. case class AccessToken(token: String, tokenType: String) extends Product with Serializable

    Permalink
  3. case class AddAbsoluteTimeBasedReminder[A](taskId: @@[A, TaskId], service: ReminderService, dueDate: TaskDate, subscriber: Option[@@[Int, UserId]] = None, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, ReminderId] = UUID.randomUUID().reminderId)(implicit evidence$4: IsResourceId[A]) extends TempIdCommand[ReminderId] with Product with Serializable

    Permalink
  4. case class AddFilter(name: String, query: String, color: LabelColor = LabelColor.color0, order: Option[Int] = None, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, FilterId] = UUID.randomUUID().filterId) extends TempIdCommand[FilterId] with Product with Serializable

    Permalink
  5. case class AddLabel(name: String, color: Option[LabelColor] = None, order: Option[Int] = None, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, LabelId] = UUID.randomUUID().labelId) extends TempIdCommand[LabelId] with Product with Serializable

    Permalink
  6. case class AddLocationBasedReminder[A](taskId: @@[A, TaskId], locationName: String, latitude: Double, longitude: Double, triggerKind: TriggerKind, radiusInMeters: Int, subscriber: Option[@@[Int, UserId]] = None, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, ReminderId] = UUID.randomUUID().reminderId)(implicit evidence$5: IsResourceId[A]) extends TempIdCommand[ReminderId] with Product with Serializable

    Permalink
  7. case class AddNote[A](content: String, taskId: @@[A, TaskId], notifyUsers: List[@@[Int, UserId]] = Nil, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, NoteId] = UUID.randomUUID().noteId)(implicit evidence$2: IsResourceId[A]) extends TempIdCommand[NoteId] with Product with Serializable

    Permalink
  8. case class AddProject(name: String, color: Option[ProjectColor] = None, indent: Option[Indent] = None, order: Option[Int] = None, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, ProjectId] = UUID.randomUUID().projectId) extends TempIdCommand[ProjectId] with Product with Serializable

    Permalink
  9. case class AddRelativeTimeBasedReminder[A](taskId: @@[A, TaskId], service: ReminderService, minutesBefore: ReminderPeriod, subscriber: Option[@@[Int, UserId]] = None, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, ReminderId] = UUID.randomUUID().reminderId)(implicit evidence$3: IsResourceId[A]) extends TempIdCommand[ReminderId] with Product with Serializable

    Permalink
  10. case class AddTask[A](content: String, projectId: @@[A, ProjectId], date: Option[TaskDate] = None, priority: Option[Priority] = None, indent: Option[Indent] = None, order: Option[Int] = None, dayOrder: Option[Int] = None, isCollapsed: Option[Boolean] = None, labels: List[@@[Int, LabelId]] = Nil, assignedBy: Option[@@[Int, UserId]] = None, responsible: Option[@@[Int, UserId]] = None, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, TaskId] = UUID.randomUUID().taskId)(implicit evidence$1: IsResourceId[A]) extends TempIdCommand[TaskId] with Product with Serializable

    Permalink
  11. case class AddTaskToInbox(content: String, date: Option[TaskDate] = None, priority: Option[Priority] = None, indent: Option[Indent] = None, order: Option[Int] = None, dayOrder: Option[Int] = None, isCollapsed: Option[Boolean] = None, labels: List[@@[Int, LabelId]] = Nil, uuid: UUID = UUID.randomUUID(), tempId: @@[UUID, TaskId] = UUID.randomUUID().taskId) extends TempIdCommand[TaskId] with Product with Serializable

    Permalink
  12. case class ArchiveProjects[A](projects: List[@@[A, ProjectId]], uuid: UUID = UUID.randomUUID())(implicit evidence$19: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  13. case class CloseTask[A](task: @@[A, TaskId], uuid: UUID = UUID.randomUUID())(implicit evidence$17: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  14. sealed trait Command extends AnyRef

    Permalink
  15. case class CommandFailure(code: Int, message: String) extends SingleCommandStatus with Product with Serializable

    Permalink
  16. case class CommandResult(uuid: UUID, status: CommandStatus) extends TodoistCommandResult with Product with Serializable

    Permalink
  17. sealed trait CommandStatus extends AnyRef

    Permalink
  18. case class DateFormat extends Product with Serializable

    Permalink
  19. case class DateLanguage extends Product with Serializable

    Permalink
  20. case class DayOfWeek extends Product with Serializable

    Permalink
  21. case class DeleteFilter[A](filter: @@[A, FilterId], uuid: UUID = UUID.randomUUID())(implicit evidence$14: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  22. case class DeleteLabel[A](label: @@[A, LabelId], uuid: UUID = UUID.randomUUID())(implicit evidence$13: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  23. case class DeleteNote[A](note: @@[A, NoteId], uuid: UUID = UUID.randomUUID())(implicit evidence$15: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  24. case class DeleteProjects[A](projects: List[@@[A, ProjectId]], uuid: UUID = UUID.randomUUID())(implicit evidence$12: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  25. case class DeleteReminder[A](reminder: @@[A, ReminderId], uuid: UUID = UUID.randomUUID())(implicit evidence$16: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  26. case class DeleteTasks[A](tasks: List[@@[A, TaskId]], uuid: UUID = UUID.randomUUID())(implicit evidence$11: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  27. case class FileAttachment(name: String, size: Long, mimeType: String, url: String, uploadState: UploadState) extends Product with Serializable

    Permalink
  28. case class Filter(id: @@[Int, FilterId], name: String, query: String, color: LabelColor, order: Int, isDeleted: Boolean) extends Product with Serializable

    Permalink
  29. case class Indent extends Product with Serializable

    Permalink
  30. type Item = Task

    Permalink
  31. case class Label(id: @@[Int, LabelId], userId: @@[Int, UserId], name: String, color: LabelColor, order: Int, isDeleted: Boolean) extends Product with Serializable

    Permalink
  32. case class LabelColor extends Product with Serializable

    Permalink
  33. case class LocationBasedReminder(id: @@[Int, ReminderId], subscriber: @@[Int, UserId], task: @@[Int, TaskId], locationName: String, latitude: Double, longitude: Double, triggerKind: TriggerKind, radiusInMeters: Int, isDeleted: Boolean) extends Reminder with Product with Serializable

    Permalink
  34. case class MoveTasks(tasks: Map[@@[Int, ProjectId], List[@@[Int, TaskId]]], toProject: @@[Int, ProjectId], uuid: UUID = UUID.randomUUID()) extends SimpleCommand with Product with Serializable

    Permalink
  35. case class MultiItemCommandStatus(items: Map[Int, SingleCommandStatus]) extends CommandStatus with Product with Serializable

    Permalink
  36. case class Note(id: @@[Int, NoteId], postedBy: @@[Int, UserId], task: @@[Int, TaskId], project: @@[Int, ProjectId], content: String, attachment: Option[FileAttachment], subscribers: List[@@[Int, UserId]], isDeleted: Boolean, isArchived: Boolean, postedAt: Date) extends Product with Serializable

    Permalink
  37. case class Priority extends Product with Serializable

    Permalink
  38. sealed trait Project extends AnyRef

    Permalink
  39. case class ProjectColor extends Product with Serializable

    Permalink
  40. case class ProjectsSortOrder extends Product with Serializable

    Permalink
  41. case class RegularProject(id: @@[Int, ProjectId], userId: @@[Int, UserId], name: String, color: ProjectColor, indent: Indent, order: Int, isCollapsed: Boolean, isShared: Boolean, isDeleted: Boolean, isInbox: Boolean, isTeamInbox: Boolean) extends Project with Product with Serializable

    Permalink
  42. case class RelativeTimeBasedReminder(id: @@[Int, ReminderId], subscriber: @@[Int, UserId], task: @@[Int, TaskId], service: ReminderService, dueDate: TaskDate, minutesBefore: Int, isDeleted: Boolean) extends TimeBasedReminder with Product with Serializable

    Permalink
  43. sealed trait Reminder extends AnyRef

    Permalink
  44. case class ReminderPeriod extends Product with Serializable

    Permalink
  45. sealed trait ReminderService extends AnyRef

    Permalink
  46. sealed trait SimpleCommand extends Command

    Permalink
  47. sealed trait SingleCommandStatus extends CommandStatus

    Permalink
  48. case class Task(id: @@[Int, TaskId], userId: @@[Int, UserId], projectId: @@[Int, ProjectId], content: String, date: Option[TaskDate], priority: Priority, indent: Indent, order: Int, dayOrder: Int, isCollapsed: Boolean, labels: List[@@[Int, LabelId]], assignedBy: Option[@@[Int, UserId]], responsible: Option[@@[Int, UserId]], isCompleted: Boolean, isInHistory: Boolean, isDeleted: Boolean, isArchived: Boolean, addedAt: Date) extends Product with Serializable

    Permalink
  49. case class TaskDate(text: Option[String], language: DateLanguage, dueDateUTC: Date) extends Product with Serializable

    Permalink
  50. sealed trait TempIdCommand[Tag] extends Command

    Permalink
  51. case class TempIdCommandResult(uuid: UUID, status: TempIdCommandStatus) extends TodoistCommandResult with Product with Serializable

    Permalink
  52. sealed trait TempIdCommandStatus extends AnyRef

    Permalink
  53. case class TempIdFailure(code: Int, message: String) extends TempIdCommandStatus with Product with Serializable

    Permalink
  54. case class TempIdSuccess(tempId: UUID, realId: Int) extends TempIdCommandStatus with Product with Serializable

    Permalink
  55. case class Theme extends Product with Serializable

    Permalink
  56. sealed trait TimeBasedReminder extends Reminder

    Permalink
  57. case class TimeFormat extends Product with Serializable

    Permalink
  58. sealed trait TodoistCommandResult extends AnyRef

    Permalink
  59. case class TokenExchange(clientId: String, clientSecret: String, authCode: String) extends Product with Serializable

    Permalink
  60. sealed abstract class TokenScope extends AnyRef

    Permalink
  61. case class UnarchiveProjects[A](projects: List[@@[A, ProjectId]], uuid: UUID = UUID.randomUUID())(implicit evidence$20: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  62. case class UncompleteTasks[A](tasks: List[@@[A, TaskId]], uuid: UUID = UUID.randomUUID())(implicit evidence$18: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  63. case class UpdateFilter[A](id: @@[A, FilterId], name: Option[String] = None, query: Option[String] = None, color: Option[LabelColor] = None, order: Option[Int] = None, uuid: UUID = UUID.randomUUID())(implicit evidence$9: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  64. case class UpdateLabel[A](id: @@[A, LabelId], name: Option[String] = None, color: Option[LabelColor] = None, order: Option[Int] = None, uuid: UUID = UUID.randomUUID())(implicit evidence$8: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  65. case class UpdateNote[A](id: @@[A, NoteId], content: Option[String] = None, uuid: UUID = UUID.randomUUID())(implicit evidence$10: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  66. case class UpdateProject[A](id: @@[A, ProjectId], name: Option[String] = None, color: Option[ProjectColor] = None, indent: Option[Indent] = None, order: Option[Int] = None, isCollapsed: Option[Boolean] = None, uuid: UUID = UUID.randomUUID())(implicit evidence$6: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  67. case class UpdateTask[A](id: @@[A, TaskId], content: Option[String] = None, date: Option[TaskDate] = None, priority: Option[Priority] = None, indent: Option[Indent] = None, order: Option[Int] = None, dayOrder: Option[Int] = None, isCollapsed: Option[Boolean] = None, labels: List[@@[Int, LabelId]] = Nil, assignedBy: Option[@@[Int, UserId]] = None, responsible: Option[@@[Int, UserId]] = None, uuid: UUID = UUID.randomUUID())(implicit evidence$7: IsResourceId[A]) extends SimpleCommand with Product with Serializable

    Permalink
  68. sealed trait UploadState extends AnyRef

    Permalink
  69. case class User(id: @@[Int, UserId], email: String, fullName: String, inboxProject: @@[Int, ProjectId], timezone: TimeZone, startPageQuery: String, weekStartDay: DayOfWeek, postponeTo: DayOfWeek, timeFormat: TimeFormat, dateFormat: DateFormat, projectsSortOrder: ProjectsSortOrder, hasPushReminders: Boolean, defaultReminder: Option[ReminderService], autoReminder: Option[Int], mobileNumber: Option[String], mobileHost: Option[String], totalCompletedTasksCount: Int, todayCompletedTasksCount: Int, karma: Double, premiumUntil: Option[Date], isBusinessAccountAdmin: Boolean, businessAccountId: Option[Int], isBeta: Boolean, isDummy: Boolean, dateJoined: Date, theme: Theme, avatars: UserAvatars) extends Product with Serializable

    Permalink
  70. case class UserAvatars(small: Option[String], medium: Option[String], big: Option[String], s640: Option[String]) extends Product with Serializable

    Permalink

Value Members

  1. object CommandSuccess extends SingleCommandStatus with Product with Serializable

    Permalink
  2. object Completed extends UploadState with Product with Serializable

    Permalink
  3. object DateFormat extends Serializable

    Permalink
  4. object DateLanguage extends Serializable

    Permalink
  5. object DayOfWeek extends Serializable

    Permalink
  6. object External extends UploadState with Product with Serializable

    Permalink
  7. object Indent extends Serializable

    Permalink
  8. object LabelColor extends Serializable

    Permalink
  9. object LocationBasedReminder extends Serializable

    Permalink
  10. object Pending extends UploadState with Product with Serializable

    Permalink
  11. object Priority extends Serializable

    Permalink
  12. object ProjectColor extends Serializable

    Permalink
  13. object ProjectsSortOrder extends Serializable

    Permalink
  14. object ReminderPeriod extends Serializable

    Permalink
  15. object ReminderService

    Permalink
  16. object Theme extends Serializable

    Permalink
  17. object TimeFormat extends Serializable

    Permalink
  18. object TodoistDate

    Permalink
  19. object TokenScope

    Permalink
  20. object UploadState

    Permalink
  21. package util

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped