github4s.free

algebra

package algebra

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AuthOp[A] extends AnyRef

    Auths ops ADT

  2. class AuthOps[F[_]] extends AnyRef

    Exposes Auths operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  3. final case class AuthorizeUrl(client_id: String, redirect_uri: String, scopes: List[String]) extends AuthOp[GHResponse[Authorize]] with Product with Serializable

  4. final case class CreateIssue(owner: String, repo: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], accessToken: Option[String] = scala.None) extends IssueOp[GHResponse[Issue]] with Product with Serializable

  5. final case class EditIssue(owner: String, repo: String, issue: Int, state: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], accessToken: Option[String] = scala.None) extends IssueOp[GHResponse[Issue]] with Product with Serializable

  6. final case class GetAccessToken(client_id: String, client_secret: String, code: String, redirect_uri: String, state: String) extends AuthOp[GHResponse[OAuthToken]] with Product with Serializable

  7. final case class GetAuthUser(accessToken: Option[String] = scala.None) extends UserOp[GHResponse[User]] with Product with Serializable

  8. final case class GetRepo(owner: String, repo: String, accessToken: Option[String] = scala.None) extends RepositoryOp[GHResponse[Repository]] with Product with Serializable

  9. final case class GetUser(username: String, accessToken: Option[String] = scala.None) extends UserOp[GHResponse[User]] with Product with Serializable

  10. final case class GetUsers(since: Int, pagination: Option[Pagination] = scala.None, accessToken: Option[String] = scala.None) extends UserOp[GHResponse[List[User]]] with Product with Serializable

  11. sealed trait GistOp[A] extends AnyRef

    Gist ops ADT

  12. class GistOps[F[_]] extends AnyRef

    Exposes Gists operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  13. sealed trait IssueOp[A] extends AnyRef

    Issues ops ADT

  14. class IssueOps[F[_]] extends AnyRef

    Exposes Issue operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  15. final case class ListCommits(owner: String, repo: String, sha: Option[String] = scala.None, path: Option[String] = scala.None, author: Option[String] = scala.None, since: Option[String] = scala.None, until: Option[String] = scala.None, pagination: Option[Pagination] = scala.None, accessToken: Option[String] = scala.None) extends RepositoryOp[GHResponse[List[Commit]]] with Product with Serializable

  16. final case class ListContributors(owner: String, repo: String, anon: Option[String] = scala.None, accessToken: Option[String] = scala.None) extends RepositoryOp[GHResponse[List[User]]] with Product with Serializable

  17. final case class ListIssues(owner: String, repo: String, accessToken: Option[String] = scala.None) extends IssueOp[GHResponse[List[Issue]]] with Product with Serializable

  18. final case class NewAuth(username: String, password: String, scopes: List[String], note: String, client_id: String, client_secret: String) extends AuthOp[GHResponse[Authorization]] with Product with Serializable

  19. final case class NewGist(description: String, public: Boolean, files: Map[String, GistFile], accessToken: Option[String] = scala.None) extends GistOp[GHResponse[Gist]] with Product with Serializable

  20. sealed trait RepositoryOp[A] extends AnyRef

    Repositories ops ADT

  21. class RepositoryOps[F[_]] extends AnyRef

    Exposes Repositories operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  22. final case class SearchIssues(query: String, searchParams: List[SearchParam], accessToken: Option[String] = scala.None) extends IssueOp[GHResponse[SearchIssuesResult]] with Product with Serializable

  23. sealed trait UserOp[A] extends AnyRef

    Users ops ADT

  24. class UserOps[F[_]] extends AnyRef

    Exposes Users operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

Value Members

  1. object AuthOps

    Default implicit based DI factory from which instances of the AuthOps may be obtained

  2. object GistOps

    Default implicit based DI factory from which instances of the GistOps may be obtained

  3. object IssueOps

    Default implicit based DI factory from which instances of the IssueOps may be obtained

  4. object RepositoryOps

    Default implicit based DI factory from which instances of the RepositoryOps may be obtained

  5. object UserOps

    Default implicit based DI factory from which instances of the UserOps may be obtained

Ungrouped