gitlab-haskell-0.2.3: A Haskell library for the GitLab web API

Copyright(c) Rob Stewart Heriot-Watt University 2019
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.Types

Description

 
Synopsis

Documentation

type GitLab a = ReaderT GitLabState IO a Source #

type synonym for all GitLab actions.

data GitLabState Source #

state used by GitLab actions, used internally.

data GitLabServerConfig Source #

configuration data specific to a GitLab server.

Constructors

GitLabServerConfig 

Fields

defaultGitLabServer :: GitLabServerConfig Source #

default settings, the url and token values will need to be overwritten.

data ArchiveFormat Source #

archive format for file archives of repositories. See getFileArchive in Repositories.

Constructors

TarGz

".tar.gz"

TarBz2

".tar.bz2"

Tbz

".tbz"

Tbz2

".tbz2"

Tb2

".tb2"

Bz2

".bz2"

Tar

".tar"

Zip

".zip"

Instances
Show ArchiveFormat Source # 
Instance details

Defined in GitLab.Types

data Member Source #

member of a project.

Instances
Show Member Source # 
Instance details

Defined in GitLab.Types

Generic Member Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Member :: Type -> Type #

Methods

from :: Member -> Rep Member x #

to :: Rep Member x -> Member #

FromJSON Member Source # 
Instance details

Defined in GitLab.Types

type Rep Member Source # 
Instance details

Defined in GitLab.Types

data Namespace Source #

namespaces.

Instances
Show Namespace Source # 
Instance details

Defined in GitLab.Types

Generic Namespace Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Namespace :: Type -> Type #

FromJSON Namespace Source # 
Instance details

Defined in GitLab.Types

type Rep Namespace Source # 
Instance details

Defined in GitLab.Types

data Links Source #

links.

data Owner Source #

owners.

Instances
Show Owner Source # 
Instance details

Defined in GitLab.Types

Methods

showsPrec :: Int -> Owner -> ShowS #

show :: Owner -> String #

showList :: [Owner] -> ShowS #

Generic Owner Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Owner :: Type -> Type #

Methods

from :: Owner -> Rep Owner x #

to :: Rep Owner x -> Owner #

FromJSON Owner Source # 
Instance details

Defined in GitLab.Types

type Rep Owner Source # 
Instance details

Defined in GitLab.Types

data Permissions Source #

permissions.

Instances
Show Permissions Source # 
Instance details

Defined in GitLab.Types

Generic Permissions Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Permissions :: Type -> Type #

FromJSON Permissions Source # 
Instance details

Defined in GitLab.Types

type Rep Permissions Source # 
Instance details

Defined in GitLab.Types

type Rep Permissions = D1 (MetaData "Permissions" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Permissions" PrefixI True) (S1 (MetaSel (Just "project_access") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Object)) :*: S1 (MetaSel (Just "group_access") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Object))))

type ProjectId = Int Source #

alias for project id

data Project Source #

projects.

Instances
Show Project Source # 
Instance details

Defined in GitLab.Types

Generic Project Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Project :: Type -> Type #

Methods

from :: Project -> Rep Project x #

to :: Rep Project x -> Project #

FromJSON Project Source # 
Instance details

Defined in GitLab.Types

type Rep Project Source # 
Instance details

Defined in GitLab.Types

type Rep Project = D1 (MetaData "Project" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Project" PrefixI True) (((((S1 (MetaSel (Just "project_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "description") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "project_name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "name_with_namespace") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "project_path") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "project_path_with_namespace") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "project_created_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "default_branch") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "tag_list") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [Text]) :*: (S1 (MetaSel (Just "ssh_url_to_repo") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "http_url_to_repo") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text))))) :*: (((S1 (MetaSel (Just "project_web_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "readme_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "project_avatar_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "star_count") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "forks_count") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "last_activity_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "namespace") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Namespace) :*: S1 (MetaSel (Just "_links") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Links)))) :*: (S1 (MetaSel (Just "archived") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "visibility") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "owner") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Owner))))))) :*: ((((S1 (MetaSel (Just "resolve_outdated_diff_discussions") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "container_registry_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "issues_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "merge_requests_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "wiki_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "jobs_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "snippets_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "shared_runners_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "lfs_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "creator_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "forked_from_project") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Project)))))) :*: (((S1 (MetaSel (Just "import_status") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe String)) :*: (S1 (MetaSel (Just "open_issues_count") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "public_jobs") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "ci_config_path") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "shared_with_groups") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [Object])) :*: S1 (MetaSel (Just "only_allow_merge_if_pipeline_succeeds") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "request_access_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "only_allow_merge_if_all_discussions_are_resolved") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "printing_merge_request_link_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "merge_method") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "permissions") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Permissions)) :*: S1 (MetaSel (Just "project_stats") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe ProjectStats)))))))))

data ProjectStats Source #

project statistics.

Instances
Show ProjectStats Source # 
Instance details

Defined in GitLab.Types

Generic ProjectStats Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep ProjectStats :: Type -> Type #

FromJSON ProjectStats Source # 
Instance details

Defined in GitLab.Types

type Rep ProjectStats Source # 
Instance details

Defined in GitLab.Types

data User Source #

registered users.

Instances
Show User Source # 
Instance details

Defined in GitLab.Types

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

FromJSON User Source # 
Instance details

Defined in GitLab.Types

type Rep User Source # 
Instance details

Defined in GitLab.Types

data Milestone Source #

milestones.

Instances
Show Milestone Source # 
Instance details

Defined in GitLab.Types

Generic Milestone Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Milestone :: Type -> Type #

FromJSON Milestone Source # 
Instance details

Defined in GitLab.Types

type Rep Milestone Source # 
Instance details

Defined in GitLab.Types

data MilestoneState Source #

milestone state.

Constructors

MSActive 
MSClosed 

data TimeStats Source #

time stats.

Instances
Show TimeStats Source # 
Instance details

Defined in GitLab.Types

Generic TimeStats Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep TimeStats :: Type -> Type #

FromJSON TimeStats Source # 
Instance details

Defined in GitLab.Types

type Rep TimeStats Source # 
Instance details

Defined in GitLab.Types

type Rep TimeStats = D1 (MetaData "TimeStats" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "TimeStats" PrefixI True) ((S1 (MetaSel (Just "time_estimate") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "total_time_spent") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "humane_time_estimate") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "human_total_time_spent") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)))))

type IssueId = Int Source #

alias for issue id

data Issue Source #

project issues.

Instances
Show Issue Source # 
Instance details

Defined in GitLab.Types

Methods

showsPrec :: Int -> Issue -> ShowS #

show :: Issue -> String #

showList :: [Issue] -> ShowS #

Generic Issue Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Issue :: Type -> Type #

Methods

from :: Issue -> Rep Issue x #

to :: Rep Issue x -> Issue #

FromJSON Issue Source # 
Instance details

Defined in GitLab.Types

type Rep Issue Source # 
Instance details

Defined in GitLab.Types

type Rep Issue = D1 (MetaData "Issue" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Issue" PrefixI True) ((((S1 (MetaSel (Just "issue_state") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "issue_description") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "issue_author") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 User))) :*: (S1 (MetaSel (Just "milestone") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Milestone)) :*: (S1 (MetaSel (Just "issue_project_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 ProjectId) :*: S1 (MetaSel (Just "assignees") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [User]))))) :*: ((S1 (MetaSel (Just "assignee") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe User)) :*: (S1 (MetaSel (Just "updated_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "closed_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "closed_by") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe User)) :*: (S1 (MetaSel (Just "issue_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 IssueId) :*: S1 (MetaSel (Just "issue_title") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text))))) :*: (((S1 (MetaSel (Just "issue_created_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "iid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "issue_labels") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [Text]))) :*: (S1 (MetaSel (Just "upvotes") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "downvotes") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "user_notes_count") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "issue_due_date") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "issue_web_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "confidential") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool))) :*: (S1 (MetaSel (Just "weight") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "discussion_locked") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "time_stats") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 TimeStats)))))))

data Pipeline Source #

project pipelines

Instances
Show Pipeline Source # 
Instance details

Defined in GitLab.Types

Generic Pipeline Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Pipeline :: Type -> Type #

Methods

from :: Pipeline -> Rep Pipeline x #

to :: Rep Pipeline x -> Pipeline #

FromJSON Pipeline Source # 
Instance details

Defined in GitLab.Types

type Rep Pipeline Source # 
Instance details

Defined in GitLab.Types

data Commit Source #

code commits.

Instances
Show Commit Source # 
Instance details

Defined in GitLab.Types

Generic Commit Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Commit :: Type -> Type #

Methods

from :: Commit -> Rep Commit x #

to :: Rep Commit x -> Commit #

FromJSON Commit Source # 
Instance details

Defined in GitLab.Types

type Rep Commit Source # 
Instance details

Defined in GitLab.Types

type Rep Commit = D1 (MetaData "Commit" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Commit" PrefixI True) (((S1 (MetaSel (Just "commit_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "short_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "title") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "author_name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "author_email") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "authored_date") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "committer_name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))) :*: (((S1 (MetaSel (Just "committer_email") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "committed_date") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "commit_created_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "message") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "commit_parent_ids") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [String])) :*: S1 (MetaSel (Just "last_pipeline") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Pipeline))) :*: (S1 (MetaSel (Just "commit_stats") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe CommitStats)) :*: S1 (MetaSel (Just "commit_status") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))))))

data CommitTodo Source #

summary of a code commit for TODOs.

Instances
Show CommitTodo Source # 
Instance details

Defined in GitLab.Types

Generic CommitTodo Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep CommitTodo :: Type -> Type #

FromJSON CommitTodo Source # 
Instance details

Defined in GitLab.Types

type Rep CommitTodo Source # 
Instance details

Defined in GitLab.Types

type Rep CommitTodo = D1 (MetaData "CommitTodo" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "CommitTodo" PrefixI True) ((S1 (MetaSel (Just "todo_commit_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "todo_commit_short_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "todo_commit_created_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "todo_parent_ids") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [String])))))

data CommitStats Source #

commit stats.

Constructors

Stats 

Fields

Instances
Show CommitStats Source # 
Instance details

Defined in GitLab.Types

Generic CommitStats Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep CommitStats :: Type -> Type #

FromJSON CommitStats Source # 
Instance details

Defined in GitLab.Types

type Rep CommitStats Source # 
Instance details

Defined in GitLab.Types

type Rep CommitStats = D1 (MetaData "CommitStats" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Stats" PrefixI True) (S1 (MetaSel (Just "additions") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "deletions") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "total") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int))))

data Diff Source #

diff between two commits.

Instances
Show Diff Source # 
Instance details

Defined in GitLab.Types

Methods

showsPrec :: Int -> Diff -> ShowS #

show :: Diff -> String #

showList :: [Diff] -> ShowS #

Generic Diff Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Diff :: Type -> Type #

Methods

from :: Diff -> Rep Diff x #

to :: Rep Diff x -> Diff #

FromJSON Diff Source # 
Instance details

Defined in GitLab.Types

type Rep Diff Source # 
Instance details

Defined in GitLab.Types

data Repository Source #

repositories.

Instances
Show Repository Source # 
Instance details

Defined in GitLab.Types

Generic Repository Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Repository :: Type -> Type #

FromJSON Repository Source # 
Instance details

Defined in GitLab.Types

type Rep Repository Source # 
Instance details

Defined in GitLab.Types

data Job Source #

jobs.

Instances
Show Job Source # 
Instance details

Defined in GitLab.Types

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Job :: Type -> Type #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

FromJSON Job Source # 
Instance details

Defined in GitLab.Types

type Rep Job Source # 
Instance details

Defined in GitLab.Types

type Rep Job = D1 (MetaData "Job" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Job" PrefixI True) ((((S1 (MetaSel (Just "job_commit") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Commit) :*: S1 (MetaSel (Just "job_coverage") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "job_created_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "job_started_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "job_finished_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "job_duration") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Double)) :*: (S1 (MetaSel (Just "job_artifacts_expire_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "job_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int)))) :*: (((S1 (MetaSel (Just "job_name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "job_pipeline") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Pipeline)) :*: (S1 (MetaSel (Just "job_ref") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "job_artifacts") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [Artifact]))) :*: ((S1 (MetaSel (Just "job_stage") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "job_status") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "job_tag") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool) :*: (S1 (MetaSel (Just "job_web_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "job_user") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 User)))))))

data Artifact Source #

artifacts.

Constructors

Artifact 
Instances
Show Artifact Source # 
Instance details

Defined in GitLab.Types

Generic Artifact Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Artifact :: Type -> Type #

Methods

from :: Artifact -> Rep Artifact x #

to :: Rep Artifact x -> Artifact #

FromJSON Artifact Source # 
Instance details

Defined in GitLab.Types

type Rep Artifact Source # 
Instance details

Defined in GitLab.Types

data Group Source #

groups.

Instances
Show Group Source # 
Instance details

Defined in GitLab.Types

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

FromJSON Group Source # 
Instance details

Defined in GitLab.Types

type Rep Group Source # 
Instance details

Defined in GitLab.Types

type Rep Group = D1 (MetaData "Group" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Group" PrefixI True) (((S1 (MetaSel (Just "group_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "group_name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "group_path") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "group_description") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "group_visibility") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "group_lfs_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool)))) :*: ((S1 (MetaSel (Just "group_avatar_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "group_web_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "group_request_access_enabled") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool))) :*: ((S1 (MetaSel (Just "group_full_name") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "group_full_path") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "group_file_template_project_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "group_parent_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)))))))

data GroupShare Source #

response to sharing a project with a group.

Instances
Show GroupShare Source # 
Instance details

Defined in GitLab.Types

Generic GroupShare Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep GroupShare :: Type -> Type #

FromJSON GroupShare Source # 
Instance details

Defined in GitLab.Types

type Rep GroupShare Source # 
Instance details

Defined in GitLab.Types

data Branch Source #

code branches.

Instances
Show Branch Source # 
Instance details

Defined in GitLab.Types

Generic Branch Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Branch :: Type -> Type #

Methods

from :: Branch -> Rep Branch x #

to :: Rep Branch x -> Branch #

FromJSON Branch Source # 
Instance details

Defined in GitLab.Types

type Rep Branch Source # 
Instance details

Defined in GitLab.Types

data RepositoryFile Source #

files in a repository.

Instances
Show RepositoryFile Source # 
Instance details

Defined in GitLab.Types

Generic RepositoryFile Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep RepositoryFile :: Type -> Type #

FromJSON RepositoryFile Source # 
Instance details

Defined in GitLab.Types

type Rep RepositoryFile Source # 
Instance details

Defined in GitLab.Types

data MergeRequest Source #

project merge requests.

Constructors

MergeRequest 

Fields

Instances
Show MergeRequest Source # 
Instance details

Defined in GitLab.Types

Generic MergeRequest Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep MergeRequest :: Type -> Type #

FromJSON MergeRequest Source # 
Instance details

Defined in GitLab.Types

type Rep MergeRequest Source # 
Instance details

Defined in GitLab.Types

type Rep MergeRequest = D1 (MetaData "MergeRequest" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "MergeRequest" PrefixI True) (((((S1 (MetaSel (Just "merge_request_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "merge_request_iid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "merge_request_project_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "merge_request_title") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_description") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "merge_request_state") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_merged_by") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe User))) :*: (S1 (MetaSel (Just "merge_request_merged_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "merge_request_closed_by") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe User)) :*: S1 (MetaSel (Just "merge_request_closed_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 (MetaSel (Just "merge_request_created_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_updated_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "merge_request_target_branch") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "merge_request_source_branch") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_upvotes") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "merge_request_downvotes") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "merge_request_author") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 User) :*: S1 (MetaSel (Just "merge_request_assignee") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe User)))) :*: (S1 (MetaSel (Just "merge_request_source_project_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "merge_request_target_project_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "merge_request_labels") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [Text])))))) :*: ((((S1 (MetaSel (Just "merge_request_work_in_progress") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "merge_request_milestone") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Milestone))) :*: (S1 (MetaSel (Just "merge_request_merge_when_pipeline_succeeds") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool) :*: (S1 (MetaSel (Just "merge_request_merge_status") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_sha") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "merge_request_merge_commit_sha") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "merge_request_user_notes_count") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "merge_request_discussion_locked") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "merge_request_should_remove_source_branch") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "merge_request_force_remove_source_branch") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "merge_request_allow_collaboration") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "merge_request_allow_maintainer_to_push") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "merge_request_web_url") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "merge_request_time_stats") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 TimeStats) :*: (S1 (MetaSel (Just "merge_request_squash") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "merge_request_changes_count") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 (MetaSel (Just "merge_request_pipeline") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Pipeline)) :*: (S1 (MetaSel (Just "merge_request_diverged_commits_count") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "merge_request_rebase_in_progress") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "merge_request_has_conflicts") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool) :*: (S1 (MetaSel (Just "merge_request_blocking_discussions_resolved") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "merge_request_approvals_before_merge") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool)))))))))

data Todo Source #

TODOs.

Instances
Show Todo Source # 
Instance details

Defined in GitLab.Types

Methods

showsPrec :: Int -> Todo -> ShowS #

show :: Todo -> String #

showList :: [Todo] -> ShowS #

FromJSON Todo Source # 
Instance details

Defined in GitLab.Types

data TodoProject Source #

A project TODO.

Instances
Show TodoProject Source # 
Instance details

Defined in GitLab.Types

Generic TodoProject Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep TodoProject :: Type -> Type #

FromJSON TodoProject Source # 
Instance details

Defined in GitLab.Types

type Rep TodoProject Source # 
Instance details

Defined in GitLab.Types

data TodoTarget Source #

TODO targets.

Instances
Show TodoTarget Source # 
Instance details

Defined in GitLab.Types

data TodoState Source #

TODO states.

Constructors

TSPending 
TSDone 
Instances
Show TodoState Source # 
Instance details

Defined in GitLab.Types

FromJSON TodoState Source # 
Instance details

Defined in GitLab.Types

data Version Source #

version of the GitLab instance.

Constructors

Version 

Fields

Instances
Show Version Source # 
Instance details

Defined in GitLab.Types

Generic Version Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep Version :: Type -> Type #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

FromJSON Version Source # 
Instance details

Defined in GitLab.Types

type Rep Version Source # 
Instance details

Defined in GitLab.Types

type Rep Version = D1 (MetaData "Version" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "Version" PrefixI True) (S1 (MetaSel (Just "version") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "revision") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))

type URL = Text Source #

URL is a synonym for Text.

data EditIssueReq Source #

An edit issue request.

Instances
Show EditIssueReq Source # 
Instance details

Defined in GitLab.Types

Generic EditIssueReq Source # 
Instance details

Defined in GitLab.Types

Associated Types

type Rep EditIssueReq :: Type -> Type #

ToJSON EditIssueReq Source # 
Instance details

Defined in GitLab.Types

type Rep EditIssueReq Source # 
Instance details

Defined in GitLab.Types

type Rep EditIssueReq = D1 (MetaData "EditIssueReq" "GitLab.Types" "gitlab-haskell-0.2.3-2bkPsYat0o37QfshmKgsVw" False) (C1 (MetaCons "EditIssueReq" PrefixI True) (((S1 (MetaSel (Just "edit_issue_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 ProjectId) :*: (S1 (MetaSel (Just "edit_issue_issue_iid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 IssueId) :*: S1 (MetaSel (Just "edit_issue_title") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "edit_issue_description") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "edit_issue_confidential") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "edit_issue_assignee_ids") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [Int])) :*: S1 (MetaSel (Just "edit_issue_milestone_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 (MetaSel (Just "edit_issue_labels") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "edit_issue_state_event") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "edit_issue_updated_at") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "edit_issue_due_date") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "edit_issue_weight") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "edit_issue_discussion_locked") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "edit_issue_epic_id") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "edit_issue_epic_iid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Int)))))))