Show / Hide Table of Contents

    Class GitHubEventResult.Event

    Actual GitHub Event type

    Inheritance
    System.Object
    GitHubEventResult.Event
    Implements
    IHaveRawContent
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Sloader.Result.Types
    Assembly: Sloader.Result.dll
    Syntax
    public class Event : IHaveRawContent

    Properties

    View Source

    Actor

    Who issued the event

    Declaration
    public string Actor { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    CreatedAt

    DateTime when the event happend

    Declaration
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    System.DateTime
    View Source

    Id

    Each GitHubEvent has its own unique ID

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Organization

    Defines the org on GitHub

    Declaration
    public string Organization { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    RawContent

    JSON serialized complete event data

    Declaration
    public string RawContent { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    RelatedAction

    Based on the Type a more descriptive and related action.

    e.g. IssueEvent occured and you need to know if the issue is opened, closed etc.

    On PullRequests: The closed and IsMerged=true property is handled as merged

    Declaration
    public string RelatedAction { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    RelatedBody

    Based on the Type some more information.

    e.g. Issue Descritpion etc.

    Declaration
    public string RelatedBody { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    RelatedDescription

    Based on the Type some more information.

    e.g. Issue Title etc.

    Declaration
    public string RelatedDescription { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    RelatedUrl

    Based on the Type the target url.

    Declaration
    public string RelatedUrl { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Repository

    Defines the repo on GitHub

    Declaration
    public string Repository { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Type

    GitHub Event Type, e.g. CommitEvent or CreateEvent

    Full reference: https://developer.github.com/v3/activity/events/types/

    Declaration
    public string Type { get; set; }
    Property Value
    Type Description
    System.String

    Implements

    IHaveRawContent
    • View Source
    Back to top Sloader - MIT License