gitlab-haskell-0.1.1: 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 m a = ReaderT GitLabState m 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 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
Eq Namespace Source # 
Instance details

Defined in GitLab.Types

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
Eq Owner Source # 
Instance details

Defined in GitLab.Types

Methods

(==) :: Owner -> Owner -> Bool #

(/=) :: Owner -> Owner -> Bool #

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
Eq Permissions Source # 
Instance details

Defined in GitLab.Types

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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "Permissions" PrefixI True) (S1 (MetaSel (Just "project_access") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Object)) :*: S1 (MetaSel (Just "group_access") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Object))))

data Project Source #

projects.

Instances
Eq Project Source # 
Instance details

Defined in GitLab.Types

Methods

(==) :: Project -> Project -> Bool #

(/=) :: Project -> Project -> Bool #

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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "Project" PrefixI True) (((((S1 (MetaSel (Just "project_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "description") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "project_name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "name_with_namespace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "project_path") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "path_with_namespace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "project_created_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "default_branch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "tag_list") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text]) :*: (S1 (MetaSel (Just "ssh_url_to_repo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "http_url_to_repo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))) :*: (((S1 (MetaSel (Just "project_web_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "readme_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "project_avatar_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "star_count") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "forks_count") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "last_activity_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "namespace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Namespace) :*: S1 (MetaSel (Just "_links") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Links)))) :*: (S1 (MetaSel (Just "archived") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "visibility") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "owner") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Owner))))))) :*: ((((S1 (MetaSel (Just "resolve_outdated_diff_discussions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "container_registry_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "issues_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "merge_requests_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "wiki_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "jobs_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "snippets_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "shared_runners_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "lfs_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "creator_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "forked_from_project") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Project)))))) :*: (((S1 (MetaSel (Just "import_status") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String)) :*: (S1 (MetaSel (Just "open_issues_count") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "public_jobs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "ci_config_path") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "shared_with_groups") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Object])) :*: S1 (MetaSel (Just "only_allow_merge_if_pipeline_succeeds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "request_access_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "only_allow_merge_if_all_discussions_are_resolved") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "printing_merge_request_link_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "merge_method") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "permissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Permissions)) :*: S1 (MetaSel (Just "project_stats") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ProjectStats)))))))))

data ProjectStats Source #

Instances
Eq ProjectStats Source # 
Instance details

Defined in GitLab.Types

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
Eq User Source # 
Instance details

Defined in GitLab.Types

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

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 #

project milestones.

Instances
Eq Milestone Source # 
Instance details

Defined in GitLab.Types

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 TimeStats Source #

time stats.

Instances
Eq TimeStats Source # 
Instance details

Defined in GitLab.Types

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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "TimeStats" PrefixI True) ((S1 (MetaSel (Just "time_estimate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "total_time_spent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :*: (S1 (MetaSel (Just "humane_time_estimate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "human_total_time_spent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)))))

data Issue Source #

project issues.

Instances
Eq Issue Source # 
Instance details

Defined in GitLab.Types

Methods

(==) :: Issue -> Issue -> Bool #

(/=) :: Issue -> Issue -> Bool #

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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "Issue" PrefixI True) ((((S1 (MetaSel (Just "issue_state") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "issue_description") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "issue_author") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User))) :*: (S1 (MetaSel (Just "milestone") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Milestone)) :*: (S1 (MetaSel (Just "issue_project_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "assignees") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [User]))))) :*: ((S1 (MetaSel (Just "assignee") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User)) :*: (S1 (MetaSel (Just "updated_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "closed_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "closed_by") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User)) :*: (S1 (MetaSel (Just "issue_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "issue_title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))) :*: (((S1 (MetaSel (Just "issue_created_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "iid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "issue_labels") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text]))) :*: (S1 (MetaSel (Just "upvotes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "downvotes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "user_notes_count") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "issue_due_date") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "issue_web_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "confidential") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) :*: (S1 (MetaSel (Just "weight") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "discussion_locked") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "time_stats") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "Commit" PrefixI True) (((S1 (MetaSel (Just "commit_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "short_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "author_name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "author_email") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "authored_date") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "committer_name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) :*: (((S1 (MetaSel (Just "committer_email") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "committed_date") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "commit_created_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "message") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "parent_ids") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "last_pipeline") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Pipeline))) :*: (S1 (MetaSel (Just "commit_stats") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CommitStats)) :*: S1 (MetaSel (Just "commit_status") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))))))

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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "Stats" PrefixI True) (S1 (MetaSel (Just "additions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "deletions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "total") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))))

data Diff Source #

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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "Job" PrefixI True) ((((S1 (MetaSel (Just "commit") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Commit) :*: S1 (MetaSel (Just "coverage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "created_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "started_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "finished_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "duration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)) :*: (S1 (MetaSel (Just "artifacts_expire_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) :*: (((S1 (MetaSel (Just "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "pipeline") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Pipeline)) :*: (S1 (MetaSel (Just "job_ref") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "artifacts") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Artifact]))) :*: ((S1 (MetaSel (Just "stage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "status") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "tag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: (S1 (MetaSel (Just "job_web_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "user") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "Group" PrefixI True) (((S1 (MetaSel (Just "group_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "group_name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "group_path") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: (S1 (MetaSel (Just "group_description") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "group_visibility") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "group_lfs_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))) :*: ((S1 (MetaSel (Just "group_avatar_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "group_web_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "group_request_access_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) :*: ((S1 (MetaSel (Just "group_full_name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "group_full_path") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "group_file_template_project_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "group_parent_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (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

type Rep GroupShare = D1 (MetaData "GroupShare" "GitLab.Types" "gitlab-haskell-0.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "GroupShare" PrefixI True) ((S1 (MetaSel (Just "share_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "share_project_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :*: (S1 (MetaSel (Just "share_group_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "share_group_access") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "share_expires_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))))

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.

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.1.1-8Y2OGznZ1xY34zwjYClttK" False) (C1 (MetaCons "MergeRequest" PrefixI True) (((((S1 (MetaSel (Just "merge_request_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "merge_request_iid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :*: (S1 (MetaSel (Just "merge_request_project_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "merge_request_title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "merge_request_description") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_state") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "merge_request_merged_by") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User)) :*: S1 (MetaSel (Just "merge_request_merged_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))) :*: (((S1 (MetaSel (Just "merge_request_closed_by") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User)) :*: S1 (MetaSel (Just "merge_request_closed_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "merge_request_created_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_updated_at") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "merge_request_target_branch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_source_branch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "merge_request_upvotes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "merge_request_downvotes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "merge_request_author") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User)))))) :*: ((((S1 (MetaSel (Just "merge_request_assignee") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User)) :*: S1 (MetaSel (Just "merge_request_source_project_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :*: (S1 (MetaSel (Just "merge_request_target_project_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "merge_request_labels") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text]))) :*: ((S1 (MetaSel (Just "merge_request_work_in_progress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "merge_request_milestone") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Milestone))) :*: (S1 (MetaSel (Just "merge_request_merge_when_pipeline_succeeds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: (S1 (MetaSel (Just "merge_request_merge_status") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "merge_request_sha") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))) :*: (((S1 (MetaSel (Just "merge_request_merge_commit_sha") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "merge_request_user_notes_count") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :*: (S1 (MetaSel (Just "merge_request_discussion_locked") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "merge_request_should_remove_source_branch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "merge_request_force_remove_source_branch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "merge_request_web_url") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "merge_request_time_stats") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TimeStats) :*: (S1 (MetaSel (Just "merge_request_squash") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "merge_request_approvals_before_merge") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))))))))