Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/jgaskins/github

    main

    Types

    • GitHub
      • API
        • BodyType
      • Account
      • Actor
      • App
        • Payload
      • AssignedIssues
      • AuthorAssociation
      • Base64Converter
      • Branch
        • Commit
          • GitCommit
        • Tree
      • BranchAPI
      • BranchProtection
      • BranchSummary
      • Branches
        • Merge
          • Commit
          • CommitAuthor
          • FileElement
          • MergeAuthor
          • Stats
          • Tree
          • Verification
      • CheckRun
        • Annotation
          • Level
        • Conclusion
        • Output
        • PullRequest
          • Ref
          • Repo
        • Status
        • Suite
      • CheckRunAPI
        • Annotations
      • CheckRunList
      • CheckRuns
        • Filter
        • Status
      • CheckRunsForCheckSuite
      • CheckRunsForRef
      • CheckSuite
        • Conclusion
        • Status
      • CheckSuiteAPI
      • Client
        • HTTP
      • Commit
      • CommitAPI
      • CommitDetail
      • CommitEntry
      • Deployment
        • Status
          • State
      • DeploymentAPI
        • Statuses
          • CreateRequest
      • Deployments
        • CreateDeploymentRequest
      • Diff
        • FilePatch
          • Status
        • Status
      • EmptyRepository
      • Environment
        • BranchPolicy
        • DeploymentBranchPolicy
        • ProtectionRule
        • RequiredReviewers
          • Reviewer
        • WaitTimer
      • Environments
        • ListResponse
      • Error
      • Event
        • Actor
        • CheckRun
          • Completed
          • Created
          • RequestedAction
            • RequestedAction
          • Rerequested
        • CheckSuite
          • Completed
          • Created
          • Rerequested
        • Deployment
          • Created
        • DeploymentStatus
          • Created
        • Installation
          • Created
          • Deleted
          • NewPermissionsAccepted
          • Repository
        • InstallationRepositories
          • Added
          • Removed
        • IssueComment
          • Created
          • Deleted
          • Edited
        • Issues
          • Closed
          • Created
          • Edited
            • Change
          • Opened
          • Reopened
        • Ping
        • PullRequest
          • Closed
          • Created
        • PullRequestReview
          • Deleted
          • Dismissed
          • Edited
          • Submitted
        • PullRequestReviewComment
          • Created
          • Deleted
        • UnknownType
      • Git
        • Blob
        • Commits
          • CreateRequest
        • Entry
          • Type
        • Refs
        • Tree
        • Trees
      • GraphQL
        • Client
        • Error
          • Location
        • ErrorResponse
        • RequestError
        • Resource
        • Response
      • Installation
        • List
        • Permissions
          • Permission
      • InstallationID
      • InstallationToken
        • Permission
      • Installations
      • Issue
        • AuthorAssociation
        • PullRequestMetadata
        • Reactions
        • State
      • IssueAPI
        • CommentAPI
          • Reactions
      • IssueComment
        • Reactions
      • IssueComments
      • Issues
        • Filter
      • Label
      • Labels
      • Organization
      • OrganizationAPI
        • OutsideCollaborators
      • Organizations
        • ForUser
        • ListItem
      • Pull
        • Comment
          • Replies
        • Comments
        • Review
          • Comments
      • PullRequest
        • Review
          • Comment
          • Link
          • Links
          • State
        • State
      • PullRequestListEntry
      • Pulls
      • RateLimit
      • Reaction
        • Content
      • Ref
        • Object
      • RefProperties
      • Repo
        • Contents
          • FileContent
      • Repos
        • Direction
        • List
        • Sort
        • Type
        • Visibility
      • Repository
        • Visibility
      • RequestError
      • RequiredStatusChecks
        • EnforcementLevel
      • Resource
      • Team
        • Parent
        • Permissions
      • TimeSpanConverter
      • Verification
        • Reason
      • Webhook
      • WorkflowRun
        • Repository
      • WorkflowRunAPI
    • URI
    struct

    GitHub::Event

    Inherits JSON::Serializable::Unmapped < MessagePack::Serializable < JSON::Serializable < GitHub::Resource < Struct < Value < Object

    Constructors

    new(pull : JSON::PullParser)
    Source
    new(pull : MessagePack::Unpacker)
    new(*, __pull_for_json_serializable pull : JSON::PullParser)

    Class methods

    [](type : String, data : String)
    Source
    register(type_name, type : Event.class = self)
    Source

    Instance methods

    action
    Source

    Macros

    action(type)
    Source
    actions
    Source
    define(type)
    Source

    Nested types

    • GitHub::Event::Actor
    • GitHub::Event::CheckRun
    • GitHub::Event::CheckSuite
    • GitHub::Event::Deployment
    • GitHub::Event::DeploymentStatus
    • GitHub::Event::Installation
    • GitHub::Event::InstallationRepositories
    • GitHub::Event::IssueComment
    • GitHub::Event::Issues
    • GitHub::Event::Ping
    • GitHub::Event::PullRequest
    • GitHub::Event::PullRequestReview
    • GitHub::Event::PullRequestReviewComment
    • GitHub::Event::UnknownType

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal Language

    The Bushido Collective builds and maintains this site. ยท Licensed under the Apache License 2.0