[feat] Adds the slug field to the GitHubApp response object

This commit is contained in:
Daniel
2022-07-13 19:52:05 +02:00
committed by GitHub
parent 0e469a9e3b
commit 7384b46772

View File

@@ -12,9 +12,10 @@ namespace Octokit
{
public GitHubApp() { }
public GitHubApp(long id, string name, User owner, string description, string externalUrl, string htmlUrl, DateTimeOffset createdAt, DateTimeOffset updatedAt)
public GitHubApp(long id, string slug, string name, User owner, string description, string externalUrl, string htmlUrl, DateTimeOffset createdAt, DateTimeOffset updatedAt)
{
Id = id;
Slug = slug;
Name = name;
Owner = owner;
Description = description;
@@ -29,6 +30,11 @@ namespace Octokit
/// </summary>
public long Id { get; protected set; }
/// <summary>
/// The url-friendly version of the repository name.
/// </summary>
public string Slug { get; protected set; }
/// <summary>
/// The Name of the GitHub App.
/// </summary>