Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the slug field to the GitHubApp response object #2391

Merged
merged 1 commit into from
Jul 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Octokit/Models/Response/GitHubApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ public class GitHubApp
{
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;
Expand All @@ -29,6 +30,11 @@ public GitHubApp(long id, string name, User owner, string description, string ex
/// </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>
Expand Down