Created
February 23, 2018 19:10
-
-
Save IsaAliev/fcc5f5a7993f57faeea011d17c4f28d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
struct GitHubRepo: Decodable { | |
var id: Int | |
var name: String | |
var `private`: Bool | |
var description: String | |
var url: URL | |
var hasIssues: Bool | |
enum CodingKeys: String, CodingKey { | |
case hasIssues = "has_issues" | |
case id | |
case name | |
case `private` | |
case description | |
case url | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment