GitHub REST API Client v0.0.7
  • Pages
  • Modules

    View Source GitHub.Repository.Ruleset (GitHub REST API Client v0.0.7)

    Provides struct and type for RepositoryRuleset

    Link to this section Summary

    Types

    t()

    Link to this section Types

    Link to this type

    t()

    View Source
    @type t() :: %GitHub.Repository.Ruleset{
      _links: map() | nil,
      bypass_actors: [GitHub.Repository.Ruleset.BypassActor.t()] | nil,
      bypass_mode: String.t() | nil,
      conditions:
        (GitHub.OrgRuleset.Conditions.t()
         | GitHub.Repository.Ruleset.Conditions.t())
        | nil,
      enforcement: String.t(),
      id: integer(),
      name: String.t(),
      node_id: String.t() | nil,
      rules:
        [
          GitHub.Repository.Rule.BranchNamePattern.t()
          | GitHub.Repository.Rule.CommitAuthorEmailPattern.t()
          | GitHub.Repository.Rule.CommitMessagePattern.t()
          | GitHub.Repository.Rule.CommitterEmailPattern.t()
          | GitHub.Repository.Rule.Creation.t()
          | GitHub.Repository.Rule.Deletion.t()
          | GitHub.Repository.Rule.NonFastForward.t()
          | GitHub.Repository.Rule.PullRequest.t()
          | GitHub.Repository.Rule.RequiredDeployments.t()
          | GitHub.Repository.Rule.RequiredLinearHistory.t()
          | GitHub.Repository.Rule.RequiredSignatures.t()
          | GitHub.Repository.Rule.RequiredStatusChecks.t()
          | GitHub.Repository.Rule.TagNamePattern.t()
          | GitHub.Repository.Rule.Update.t()
        ]
        | nil,
      source: String.t(),
      source_type: String.t() | nil,
      target: String.t() | nil
    }

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.29.1) for the Elixir programming language