struct Octokit::Models::License
- Octokit::Models::License
- Struct
- Value
- Object
Defined in:
octokit/models/licenses.crConstructors
- .new(key : String, name : String, url : Union(String, Nil), spdx_id : String, html_url : Union(String, Nil), featured : Union(Bool, Nil), description : Union(String, Nil), implementation : Union(String, Nil), permissions : Union(Array(String), Nil), conditions : Union(Array(String), Nil), limitations : Union(Array(String), Nil), body : Union(String, Nil))
- .new(__temp_2097 : JSON::PullParser)
Instance Method Summary
- #body : Union(String, Nil)
- #body=(_body : Union(String, Nil))
- #conditions : Union(Array(String), Nil)
- #conditions=(_conditions : Union(Array(String), Nil))
- #description : Union(String, Nil)
- #description=(_description : Union(String, Nil))
- #featured : Union(Bool, Nil)
- #featured=(_featured : Union(Bool, Nil))
- #html_url : Union(String, Nil)
- #html_url=(_html_url : Union(String, Nil))
- #implementation : Union(String, Nil)
- #implementation=(_implementation : Union(String, Nil))
- #key : String
- #key=(_key : String)
- #limitations : Union(Array(String), Nil)
- #limitations=(_limitations : Union(Array(String), Nil))
- #name : String
- #name=(_name : String)
- #permissions : Union(Array(String), Nil)
- #permissions=(_permissions : Union(Array(String), Nil))
- #spdx_id : String
- #spdx_id=(_spdx_id : String)
- #to_json(json : JSON::Builder)
- #url : Union(String, Nil)
- #url=(_url : Union(String, Nil))
Constructor Detail
def self.new(key : String, name : String, url : Union(String, Nil), spdx_id : String, html_url : Union(String, Nil), featured : Union(Bool, Nil), description : Union(String, Nil), implementation : Union(String, Nil), permissions : Union(Array(String), Nil), conditions : Union(Array(String), Nil), limitations : Union(Array(String), Nil), body : Union(String, Nil))
#