Trait

ru.pavkin.todoist.api.core

ExecutedAuthorizedAPI

Related Doc: package core

Permalink

trait ExecutedAuthorizedAPI[F[_], L[_], P[_], Req, Base] extends AuthorizedAPI[F, P, Base] with ExecutedAPI[F, L, P, Req, Base]

Source
ExecutedAuthorizedAPI.scala
Linear Supertypes
ExecutedAPI[F, L, P, Req, Base], AuthorizedAPI[F, P, Base], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExecutedAuthorizedAPI
  2. ExecutedAPI
  3. AuthorizedAPI
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def F: Functor[L]

    Permalink
    Definition Classes
    ExecutedAPI
  2. abstract def executor: Aux[Req, L, Base]

    Permalink
    Definition Classes
    ExecutedAPI
  3. abstract def flattener: Flattener[F, L, P]

    Permalink
    Definition Classes
    ExecutedAPI
  4. abstract def requestFactory: Produce[RawRequest, Req]

    Permalink
    Definition Classes
    ExecutedAPI

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to any2stringadd[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ExecutedAuthorizedAPI[F, L, P, Req, Base], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to ArrowAssoc[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (ExecutedAuthorizedAPI[F, L, P, Req, Base]) ⇒ Boolean, msg: ⇒ Any): ExecutedAuthorizedAPI[F, L, P, Req, Base]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to Ensuring[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ExecutedAuthorizedAPI[F, L, P, Req, Base]) ⇒ Boolean): ExecutedAuthorizedAPI[F, L, P, Req, Base]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to Ensuring[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): ExecutedAuthorizedAPI[F, L, P, Req, Base]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to Ensuring[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ExecutedAuthorizedAPI[F, L, P, Req, Base]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to Ensuring[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to StringFormat[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. def get[R](implicit IR: HasRawRequest[R], parser: SingleResponseDecoder[P, Base, R]): SingleQueryDefinition[F, P, R, Base]

    Permalink

    Returns a single resource request definition, that after being executed will return the resource of type R

    Returns a single resource request definition, that after being executed will return the resource of type R

    Definition Classes
    ExecutedAuthorizedAPIAuthorizedAPI
  17. def getAll[R <: HList](implicit IR: HasRawRequest[R], ID: IsDistinctConstraint[R], parser: MultipleResponseDecoder[P, Base, R]): MultipleQueryDefinition[F, P, R, Base]

    Permalink

    Returns a multiple resources request definition, that after being executed will return an HList of resources, specified in phantom type parameter R

    Returns a multiple resources request definition, that after being executed will return an HList of resources, specified in phantom type parameter R

    Example usage:

    api.getAll[Projects :: Labels :: Tasks :: HNil]
    // will return List[Projects] :: List[Labels] :: List[Tasks] :: HNil upon execution

    Syntax helpers are available for working with multiple resources response. After handling the API effect, you can call these methods on the result:

    res.projects // returns List[Project]
    res.labels // returns List[Label]
    // ...
    // etc, but only for resources that were requested

    For syntax helpers to be available, you should import the syntax toolkit, for example:

    import ru.pavkin.todoist.api.dispatch.circe.default.syntax._
    Definition Classes
    ExecutedAuthorizedAPIAuthorizedAPI
    Note

    Doesn't allow to specify duplicate resources.

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def perform[C, R](command: C)(implicit trr: ToRawRequest[C], cr: Aux[C, R], parser: Aux[P, C, Base, R]): SingleCommandDefinition[F, P, C, R, Base]

    Permalink

    Returns a single command request definition, that when being executed performs a supplied command: C and returns command result of type R.

    Returns a single command request definition, that when being executed performs a supplied command: C and returns command result of type R.

    All command results are successors of ru.pavkin.todoist.api.core.model.TodoistCommandResult:

    - For ru.pavkin.todoist.api.core.model.SimpleCommand returns ru.pavkin.todoist.api.core.model.CommandResult - For ru.pavkin.todoist.api.core.model.TempIdCommand returns ru.pavkin.todoist.api.core.model.TempIdCommandResult

    command

    Command to execute within the request

    Definition Classes
    ExecutedAuthorizedAPIAuthorizedAPI
  25. def performAll[C <: HList, R <: HList, CR <: HList](commands: C)(implicit R: Aux[C, CR], trr: ToRawRequest[CR], cr: Aux[CR, R], parser: Aux[P, CR, Base, R]): MultipleCommandDefinition[F, P, CR, R, Base]

    Permalink

    Returns a multiple commands request definition, that when being executed performs all supplied commands and returns an HList of corresponding command results.

    Returns a multiple commands request definition, that when being executed performs all supplied commands and returns an HList of corresponding command results. See AuthorizedAPI.perform method docs for command results details

    Syntax helpers are available for multiple command results response. After handling the API effect, you can call these methods on the result:

    res.resultFor(_0) // returns strictly typed result of the first command on the list
    res.resultFor(_1) // returns strictly typed result of the seconds command on the list
    // ...
    // and so on, but only for the amount of commands that was actually sent
    
    res.resultFor(uuid:UUID) // tries to find result for command with specific uuid
    // returns an Option[TodoistCommandResult]

    For syntax helpers to be available, you should import the syntax toolkit, for example:

    import ru.pavkin.todoist.api.dispatch.circe.default.syntax._
    commands

    HList of commands to execute

    Definition Classes
    ExecutedAuthorizedAPIAuthorizedAPI
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (ExecutedAuthorizedAPI[F, L, P, Req, Base], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ExecutedAuthorizedAPI[F, L, P, Req, Base] to ArrowAssoc[ExecutedAuthorizedAPI[F, L, P, Req, Base]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ExecutedAPI[F, L, P, Req, Base]

Inherited from AuthorizedAPI[F, P, Base]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ExecutedAuthorizedAPI[F, L, P, Req, Base] to any2stringadd[ExecutedAuthorizedAPI[F, L, P, Req, Base]]

Inherited by implicit conversion StringFormat from ExecutedAuthorizedAPI[F, L, P, Req, Base] to StringFormat[ExecutedAuthorizedAPI[F, L, P, Req, Base]]

Inherited by implicit conversion Ensuring from ExecutedAuthorizedAPI[F, L, P, Req, Base] to Ensuring[ExecutedAuthorizedAPI[F, L, P, Req, Base]]

Inherited by implicit conversion ArrowAssoc from ExecutedAuthorizedAPI[F, L, P, Req, Base] to ArrowAssoc[ExecutedAuthorizedAPI[F, L, P, Req, Base]]

Ungrouped