using System.Collections.Generic; using System.Threading.Tasks; namespace Octokit { /// /// A client for GitHub's Organization Custom Property Values API. /// /// /// See Custom Properties API documentation for more information. /// public interface IOrganizationCustomPropertyValuesClient { /// /// Get all custom property values for repositories an organization. /// /// /// See the API documentation for more information. /// /// The name of the organization Task> 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 Task> 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. [ExcludeFromPaginationApiOptionsConventionTest("This API call uses the OrganizationCustomPropertyValuesRequest parameter for pagination")] Task> 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 Task CreateOrUpdate(string org, UpsertOrganizationCustomPropertyValues propertyValues); } }