def primary_language : String | Nil
#
struct Repo::Metadata
- Repo::Metadata
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
fetchers/github_api.crrepo.cr
Constructors
- .new(forks_count : Int32 | Nil = nil, stargazers_count : Int32 | Nil = nil, watchers_count : Int32 | Nil = nil, created_at : Time | Nil = nil, description : String | Nil = nil, issues_enabled : Bool | Nil = nil, wiki_enabled : Bool | Nil = nil, homepage_url : String | Nil = nil, archived : Bool | Nil = nil, fork : Bool | Nil = nil, mirror : Bool | Nil = nil, license : String | Nil = nil, primary_language : String | Nil = nil, pushed_at : Time | Nil = nil, closed_issues_count : Int32 | Nil = nil, open_issues_count : Int32 | Nil = nil, closed_pull_requests_count : Int32 | Nil = nil, open_pull_requests_count : Int32 | Nil = nil, merged_pull_requests_count : Int32 | Nil = nil, topics : Array(String) | Nil = nil)
- .new(github_pull pull : JSON::PullParser)
Instance Method Summary
- #archived : Bool | Nil
- #clone
- #closed_issues_count : Int32 | Nil
- #closed_pull_requests_count : Int32 | Nil
- #copy_with(forks_count _forks_count = @forks_count, stargazers_count _stargazers_count = @stargazers_count, watchers_count _watchers_count = @watchers_count, created_at _created_at = @created_at, description _description = @description, issues_enabled _issues_enabled = @issues_enabled, wiki_enabled _wiki_enabled = @wiki_enabled, homepage_url _homepage_url = @homepage_url, archived _archived = @archived, fork _fork = @fork, mirror _mirror = @mirror, license _license = @license, primary_language _primary_language = @primary_language, pushed_at _pushed_at = @pushed_at, closed_issues_count _closed_issues_count = @closed_issues_count, open_issues_count _open_issues_count = @open_issues_count, closed_pull_requests_count _closed_pull_requests_count = @closed_pull_requests_count, open_pull_requests_count _open_pull_requests_count = @open_pull_requests_count, merged_pull_requests_count _merged_pull_requests_count = @merged_pull_requests_count, topics _topics = @topics)
- #created_at : Time | Nil
- #description : String | Nil
- #fork : Bool | Nil
- #forks_count : Int32 | Nil
- #homepage_url : String | Nil
- #issues_enabled : Bool | Nil
- #license : String | Nil
- #merged_pull_requests_count : Int32 | Nil
- #mirror : Bool | Nil
- #open_issues_count : Int32 | Nil
- #open_pull_requests_count : Int32 | Nil
- #primary_language : String | Nil
- #pushed_at : Time | Nil
- #stargazers_count : Int32 | Nil
- #topics : Array(String) | Nil
- #watchers_count : Int32 | Nil
- #wiki_enabled : Bool | Nil
Constructor Detail
def self.new(forks_count : Int32 | Nil = nil, stargazers_count : Int32 | Nil = nil, watchers_count : Int32 | Nil = nil, created_at : Time | Nil = nil, description : String | Nil = nil, issues_enabled : Bool | Nil = nil, wiki_enabled : Bool | Nil = nil, homepage_url : String | Nil = nil, archived : Bool | Nil = nil, fork : Bool | Nil = nil, mirror : Bool | Nil = nil, license : String | Nil = nil, primary_language : String | Nil = nil, pushed_at : Time | Nil = nil, closed_issues_count : Int32 | Nil = nil, open_issues_count : Int32 | Nil = nil, closed_pull_requests_count : Int32 | Nil = nil, open_pull_requests_count : Int32 | Nil = nil, merged_pull_requests_count : Int32 | Nil = nil, topics : Array(String) | Nil = nil)
#
Instance Method Detail
def copy_with(forks_count _forks_count = @forks_count, stargazers_count _stargazers_count = @stargazers_count, watchers_count _watchers_count = @watchers_count, created_at _created_at = @created_at, description _description = @description, issues_enabled _issues_enabled = @issues_enabled, wiki_enabled _wiki_enabled = @wiki_enabled, homepage_url _homepage_url = @homepage_url, archived _archived = @archived, fork _fork = @fork, mirror _mirror = @mirror, license _license = @license, primary_language _primary_language = @primary_language, pushed_at _pushed_at = @pushed_at, closed_issues_count _closed_issues_count = @closed_issues_count, open_issues_count _open_issues_count = @open_issues_count, closed_pull_requests_count _closed_pull_requests_count = @closed_pull_requests_count, open_pull_requests_count _open_pull_requests_count = @open_pull_requests_count, merged_pull_requests_count _merged_pull_requests_count = @merged_pull_requests_count, topics _topics = @topics)
#