struct Octokit::Models::Branch
- Octokit::Models::Branch
- Struct
- Value
- Object
Defined in:
octokit/models/repo_branches.crConstructors
- .new(name : String, commit : BranchCommit, protected __arg0 : Bool, protection : BranchProtection, protection_url : String)
- .new(__temp_3559 : JSON::PullParser)
Instance Method Summary
- #commit : BranchCommit
- #commit=(_commit : BranchCommit)
- #name : String
- #name=(_name : String)
- #protected : Bool
- #protected=(_protected : Bool)
- #protection : BranchProtection
- #protection=(_protection : BranchProtection)
- #protection_url : String
- #protection_url=(_protection_url : String)
- #to_json(json : JSON::Builder)
Constructor Detail
def self.new(name : String, commit : BranchCommit, protected __arg0 : Bool, protection : BranchProtection, protection_url : String)
#