struct Octokit::Models::CommitsComparison
- Octokit::Models::CommitsComparison
- Struct
- Value
- Object
Defined in:
octokit/models/repo_commits.crConstructors
- .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)
- .new(__temp_3108 : JSON::PullParser)
Instance Method Summary
- #ahead_by : Int32
- #ahead_by=(_ahead_by : Int32)
- #base_commit : RepositoryCommit
- #base_commit=(_base_commit : RepositoryCommit)
- #behind_by : Int32
- #behind_by=(_behind_by : Int32)
- #commits : Array(RepositoryCommit)
- #commits=(_commits : Array(RepositoryCommit))
- #diff_url : String
- #diff_url=(_diff_url : String)
- #files : Array(CommitFile)
- #files=(_files : Array(CommitFile))
- #html_url : String
- #html_url=(_html_url : String)
- #merge_base_commit : RepositoryCommit
- #merge_base_commit=(_merge_base_commit : RepositoryCommit)
- #patch_url : String
- #patch_url=(_patch_url : String)
- #permalink : String
- #permalink=(_permalink : String)
- #status : String
- #status=(_status : String)
- #to_json(json : JSON::Builder)
- #total_commits : Int32
- #total_commits=(_total_commits : Int32)
- #url : String
- #url=(_url : String)
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)
#