using System; using System.Diagnostics.CodeAnalysis; namespace Octokit.Reactive { /// /// A client for GitHub's Repository Pages API. /// /// /// See the Repository Pages API documentation for more information. /// public interface IObservableRepositoryPagesClient { /// /// Gets the page metadata for a given repository /// /// The owner of the repository /// The name of the repository /// /// See the API documentation for more information. /// /// A of representing page metadata of specified repository. [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")] IObservable Get(string owner, string name); /// /// Gets the page metadata for a given repository /// /// The ID of the repository /// /// See the API documentation for more information. /// /// A of representing page metadata of specified repository. [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")] IObservable Get(int repositoryId); /// /// Gets all build metadata for a given repository /// /// The owner of the repository /// The name of the repository /// /// See the API documentation for more information. /// /// A of s representing pages build metadata of specified repository. IObservable GetAll(string owner, string name); /// /// Gets all build metadata for a given repository /// /// The ID of the repository /// /// See the API documentation for more information. /// /// A of s representing pages build metadata of specified repository. IObservable GetAll(int repositoryId); /// /// Gets all build metadata for a given repository /// /// The owner of the repository /// The name of the repository /// Options to change the API response /// /// See the API documentation for more information. /// /// A of s representing pages build metadata of specified repository. IObservable GetAll(string owner, string name, ApiOptions options); /// /// Gets all build metadata for a given repository /// /// The ID of the repository /// Options to change the API response /// /// See the API documentation for more information. /// /// A of s representing pages build metadata of specified repository. IObservable GetAll(int repositoryId, ApiOptions options); /// /// Gets the build metadata for the last build for a given repository /// /// The owner of the repository /// The name of the repository /// /// See the API documentation for more information. /// /// A of representing latest pages build metadata of specified repository. IObservable GetLatest(string owner, string name); /// /// Gets the build metadata for the last build for a given repository /// /// The ID of the repository /// /// See the API documentation for more information. /// /// A of representing latest pages build metadata of specified repository. IObservable GetLatest(int repositoryId); } }