Files
octokit.net/Octokit/Models/Response/ActivityPayloads/StatusEventPayload.cs
Ryan Gribble c4774ffaf0 Release v0.29 - This Looks Serious (TLS) (#1765)
* Add release notes

* Fix failing integration test

* Run FormatCode build task to tidy up whitespace

* Remove "UnkownUser" from release notes contributors
2018-02-18 20:36:49 +10:00

72 lines
2.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class StatusEventPayload : ActivityPayload
{
/// <summary>
/// The name of the repository.
/// </summary>
public string Name { get; protected set; }
/// <summary>
/// The SHA of the reference.
/// </summary>
public string Sha { get; protected set; }
/// <summary>
/// The date the commit status was created.
/// </summary>
public DateTimeOffset CreatedAt { get; protected set; }
/// <summary>
/// The date the commit status was updated.
/// </summary>
public DateTimeOffset UpdatedAt { get; protected set; }
/// <summary>
/// The state of the commit
/// </summary>
public StringEnum<CommitState> State { get; protected set; }
/// <summary>
/// URL associated with this status. GitHub.com displays this URL as a link to allow users to easily see the
/// source of the Status.
/// </summary>
public string TargetUrl { get; protected set; }
/// <summary>
/// Short description of the status.
/// </summary>
public string Description { get; protected set; }
/// <summary>
/// A string label to differentiate this status from the status of other systems.
/// </summary>
public string Context { get; protected set; }
/// <summary>
/// The unique identifier of the status.
/// </summary>
public long Id { get; protected set; }
/// <summary>
/// The relevant commit.
/// </summary>
public GitHubCommit Commit { get; protected set; }
/// <summary>
/// The organization associated with the event.
/// </summary>
public Organization Organization { get; protected set; }
/// <summary>
/// The branches involved.
/// </summary>
public IReadOnlyList<Branch> Branches { get; protected set; }
}
}