using System; namespace Octokit.Reactive { /// /// A client for GitHub's Dependency Submission API. /// /// /// See the Dependency Submission API documentation for more details. /// public interface IObservableDependencySubmissionClient { /// /// Creates a new dependency snapshot. /// /// /// See the API documentation for more information. /// /// The repository's owner /// The repository's name /// The dependency snapshot to create /// Thrown when a general API error occurs /// A instance for the created snapshot IObservable Create(string owner, string name, NewDependencySnapshot snapshot); /// /// Creates a new dependency snapshot. /// /// /// See the API documentation for more information. /// /// The Id of the repository /// The dependency snapshot to create /// Thrown when a general API error occurs /// A instance for the created snapshot IObservable Create(long repositoryId, NewDependencySnapshot snapshot); } }