/// <summary>
        /// Initializes a new GitHub Repos API client.
        /// </summary>
        /// <param name="apiConnection">An API connection</param>
        public RepositoriesClient(IApiConnection apiConnection) : base(apiConnection)
        {
            Status = new CommitStatusClient(apiConnection);
            Hooks = new RepositoryHooksClient(apiConnection);
            Forks = new RepositoryForksClient(apiConnection);
#pragma warning disable CS0618 // Type or member is obsolete
            RepoCollaborators = new RepoCollaboratorsClient(apiConnection);
#pragma warning restore CS0618 // Type or member is obsolete
            Collaborator = new RepoCollaboratorsClient(apiConnection);
            Statistics = new StatisticsClient(apiConnection);
            Deployment = new DeploymentsClient(apiConnection);
            PullRequest = new PullRequestsClient(apiConnection);
#pragma warning disable CS0618 // Type or member is obsolete
            RepositoryComments = new RepositoryCommentsClient(apiConnection);
#pragma warning restore CS0618 // Type or member is obsolete
            Comment = new RepositoryCommentsClient(apiConnection);
#pragma warning disable CS0618 // Type or member is obsolete
            Commits = new RepositoryCommitsClient(apiConnection);
#pragma warning restore CS0618 // Type or member is obsolete
            Commit = new RepositoryCommitsClient(apiConnection);
            Release = new ReleasesClient(apiConnection);
            DeployKeys = new RepositoryDeployKeysClient(apiConnection);
            Merging = new MergingClient(apiConnection);
            Content = new RepositoryContentsClient(apiConnection);
            Page = new RepositoryPagesClient(apiConnection);
        }
Example #2
0
        /// <summary>
        /// Initializes a new GitHub Repos API client.
        /// </summary>
        /// <param name="apiConnection">An API connection</param>
        public RepositoriesClient(IApiConnection apiConnection) : base(apiConnection)
        {
            Status = new CommitStatusClient(apiConnection);
            Hooks  = new RepositoryHooksClient(apiConnection);
            Forks  = new RepositoryForksClient(apiConnection);
#pragma warning disable CS0618 // Type or member is obsolete
            RepoCollaborators = new RepoCollaboratorsClient(apiConnection);
#pragma warning restore CS0618 // Type or member is obsolete
            Collaborator = new RepoCollaboratorsClient(apiConnection);
            Statistics   = new StatisticsClient(apiConnection);
            Deployment   = new DeploymentsClient(apiConnection);
            PullRequest  = new PullRequestsClient(apiConnection);
#pragma warning disable CS0618 // Type or member is obsolete
            RepositoryComments = new RepositoryCommentsClient(apiConnection);
#pragma warning restore CS0618 // Type or member is obsolete
            Comment = new RepositoryCommentsClient(apiConnection);
#pragma warning disable CS0618 // Type or member is obsolete
            Commits = new RepositoryCommitsClient(apiConnection);
#pragma warning restore CS0618 // Type or member is obsolete
            Commit     = new RepositoryCommitsClient(apiConnection);
            Release    = new ReleasesClient(apiConnection);
            DeployKeys = new RepositoryDeployKeysClient(apiConnection);
            Merging    = new MergingClient(apiConnection);
            Content    = new RepositoryContentsClient(apiConnection);
        }
Example #3
0
 /// <summary>
 /// Initializes a new GitHub Repos API client.
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public RepositoriesClient(IApiConnection apiConnection) : base(apiConnection)
 {
     CommitStatus       = new CommitStatusClient(apiConnection);
     RepoCollaborators  = new RepoCollaboratorsClient(apiConnection);
     Statistics         = new StatisticsClient(apiConnection);
     Deployment         = new DeploymentsClient(apiConnection);
     PullRequest        = new PullRequestsClient(apiConnection);
     RepositoryComments = new RepositoryCommentsClient(apiConnection);
     Commits            = new RepositoryCommitsClient(apiConnection);
     DeployKeys         = new RepositoryDeployKeysClient(apiConnection);
 }
Example #4
0
 /// <summary>
 /// Initializes a new GitHub Repos API client.
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public RepositoriesClient(IApiConnection apiConnection) : base(apiConnection)
 {
     CommitStatus = new CommitStatusClient(apiConnection);
     RepoCollaborators = new RepoCollaboratorsClient(apiConnection);
     Statistics = new StatisticsClient(apiConnection);
     Deployment = new DeploymentsClient(apiConnection);
     PullRequest = new PullRequestsClient(apiConnection);
     RepositoryComments = new RepositoryCommentsClient(apiConnection);
     Commits = new RepositoryCommitsClient(apiConnection);
     DeployKeys = new RepositoryDeployKeysClient(apiConnection);
 }
Example #5
0
 /// <summary>
 /// Initializes a new GitHub Repos API client.
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public RepositoriesClient(IApiConnection apiConnection) : base(apiConnection)
 {
     Status       = new CommitStatusClient(apiConnection);
     Hooks        = new RepositoryHooksClient(apiConnection);
     Forks        = new RepositoryForksClient(apiConnection);
     Collaborator = new RepoCollaboratorsClient(apiConnection);
     Statistics   = new StatisticsClient(apiConnection);
     Deployment   = new DeploymentsClient(apiConnection);
     PullRequest  = new PullRequestsClient(apiConnection);
     Comment      = new RepositoryCommentsClient(apiConnection);
     Commit       = new RepositoryCommitsClient(apiConnection);
     Release      = new ReleasesClient(apiConnection);
     DeployKeys   = new RepositoryDeployKeysClient(apiConnection);
     Merging      = new MergingClient(apiConnection);
     Content      = new RepositoryContentsClient(apiConnection);
     Page         = new RepositoryPagesClient(apiConnection);
     Invitation   = new RepositoryInvitationsClient(apiConnection);
 }
 /// <summary>
 /// Initializes a new GitHub Repos API client.
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public RepositoriesClient(IApiConnection apiConnection) : base(apiConnection)
 {
     Status = new CommitStatusClient(apiConnection);
     Hooks = new RepositoryHooksClient(apiConnection);
     Forks = new RepositoryForksClient(apiConnection);
     Collaborator = new RepoCollaboratorsClient(apiConnection);
     Statistics = new StatisticsClient(apiConnection);
     Deployment = new DeploymentsClient(apiConnection);
     PullRequest = new PullRequestsClient(apiConnection);
     Comment = new RepositoryCommentsClient(apiConnection);
     Commit = new RepositoryCommitsClient(apiConnection);
     Release = new ReleasesClient(apiConnection);
     DeployKeys = new RepositoryDeployKeysClient(apiConnection);
     Merging = new MergingClient(apiConnection);
     Content = new RepositoryContentsClient(apiConnection);
     Page = new RepositoryPagesClient(apiConnection);
     Invitation = new RepositoryInvitationsClient(apiConnection);
 }