struct Octokit::Models::Branch

Defined in:

octokit/models/repo_branches.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, commit : BranchCommit, protected __arg0 : Bool, protection : BranchProtection, protection_url : String) #

def self.new(__temp_3410 : JSON::PullParser) #

Instance Method Detail

def commit : BranchCommit #

def commit=(_commit : BranchCommit) #

def name : String #

def name=(_name : String) #

def protected : Bool #

def protected=(_protected : Bool) #

def protection : BranchProtection #

def protection=(_protection : BranchProtection) #

def protection_url : String #

def protection_url=(_protection_url : String) #

def to_json(json : JSON::Builder) #