using System; using System.Reactive; namespace Octokit.Reactive { /// /// A client for GitHub's Repository Custom Property Values API. /// /// /// See the Custom Properties API documentation for more information. /// public interface IObservableRepositoryCustomPropertiesClient { /// /// Get all custom property values for a repository. /// /// /// See the API documentation for more information. /// /// The owner of the repository. /// The name of the repository. IObservable GetAll(string owner, string repoName); /// /// Create new or update existing custom property values for a repository. Using a value of null for a custom property will remove or 'unset' the property value from the repository. /// /// /// See the API documentation for more information. /// /// The owner of the repository /// The name of the repository /// The custom property values to create or update IObservable CreateOrUpdate(string owner, string repoName, UpsertRepositoryCustomPropertyValues propertyValues); } }