struct Octokit::Models::CommitsComparison

Defined in:

octokit/models/repo_commits.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(base_commit : RepositoryCommit, merge_base_commit : RepositoryCommit, status : String, ahead_by : Int32, behind_by : Int32, total_commits : Int32, commits : Array(RepositoryCommit), files : Array(CommitFile), html_url : String, permalink : String, diff_url : String, patch_url : String, url : String) #

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

Instance Method Detail

def ahead_by : Int32 #

def ahead_by=(_ahead_by : Int32) #

def base_commit : RepositoryCommit #

def base_commit=(_base_commit : RepositoryCommit) #

def behind_by : Int32 #

def behind_by=(_behind_by : Int32) #

def commits : Array(RepositoryCommit) #

def commits=(_commits : Array(RepositoryCommit)) #

def diff_url : String #

def diff_url=(_diff_url : String) #

def files : Array(CommitFile) #

def files=(_files : Array(CommitFile)) #

def html_url : String #

def html_url=(_html_url : String) #

def merge_base_commit : RepositoryCommit #

def merge_base_commit=(_merge_base_commit : RepositoryCommit) #

def patch_url : String #

def patch_url=(_patch_url : String) #

def permalink : String #

def permalink=(_permalink : String) #

def status : String #

def status=(_status : String) #

def to_json(json : JSON::Builder) #

def total_commits : Int32 #

def total_commits=(_total_commits : Int32) #

def url : String #

def url=(_url : String) #