using System; using System.Reactive; namespace Octokit.Reactive { /// /// A client for GitHub's Organization Custom Property Values API. /// /// /// See Custom Properties API documentation for more information. /// public interface IObservableOrganizationCustomPropertyValuesClient { /// /// Get all custom property values for repositories an organization. /// /// /// See the API documentation for more information. /// /// The name of the organization IObservable GetAll(string org); /// /// Get all custom property values for repositories an organization. /// /// /// See the API documentation for more information. /// /// The name of the organization /// Options for changing the API response IObservable GetAll(string org, ApiOptions options); /// /// Get all custom property values for repositories an organization. /// /// /// See the API documentation for more information. /// /// The name of the organization /// Finds repositories in the organization with a query containing one or more search keywords and qualifiers. IObservable GetAll(string org, OrganizationCustomPropertyValuesRequest repositoryQuery); /// /// Create new or update existing custom property values for repositories an organization. /// Using a value of null for a custom property will remove or 'unset' the property value from the repository. /// A maximum of 30 repositories can be updated in a single request. /// /// /// See the API documentation for more information. /// /// The name of the organization /// The custom property values to create or update IObservable CreateOrUpdate(string org, UpsertOrganizationCustomPropertyValues propertyValues); } }