|
1 | 1 | mutable struct Gist <: GitHubType
|
2 |
| - url::Nullable{HTTP.URI} |
3 |
| - forks_url::Nullable{HTTP.URI} |
4 |
| - commits_url::Nullable{HTTP.URI} |
5 |
| - id::Nullable{String} |
6 |
| - description::Nullable{String} |
7 |
| - public::Nullable{Bool} |
8 |
| - owner::Nullable{Owner} |
9 |
| - user::Nullable{Owner} |
10 |
| - truncated::Nullable{Bool} |
11 |
| - comments::Nullable{Int} |
12 |
| - comments_url::Nullable{HTTP.URI} |
13 |
| - html_url::Nullable{HTTP.URI} |
14 |
| - git_pull_url::Nullable{HTTP.URI} |
15 |
| - git_push_url::Nullable{HTTP.URI} |
16 |
| - created_at::Nullable{Dates.DateTime} |
17 |
| - updated_at::Nullable{Dates.DateTime} |
18 |
| - forks::Nullable{Vector{Gist}} |
19 |
| - files::Nullable{Dict} |
20 |
| - history::Nullable{Vector{Dict}} |
| 2 | + url::Union{HTTP.URI, Nothing} |
| 3 | + forks_url::Union{HTTP.URI, Nothing} |
| 4 | + commits_url::Union{HTTP.URI, Nothing} |
| 5 | + id::Union{String, Nothing} |
| 6 | + description::Union{String, Nothing} |
| 7 | + public::Union{Bool, Nothing} |
| 8 | + owner::Union{Owner, Nothing} |
| 9 | + user::Union{Owner, Nothing} |
| 10 | + truncated::Union{Bool, Nothing} |
| 11 | + comments::Union{Int, Nothing} |
| 12 | + comments_url::Union{HTTP.URI, Nothing} |
| 13 | + html_url::Union{HTTP.URI, Nothing} |
| 14 | + git_pull_url::Union{HTTP.URI, Nothing} |
| 15 | + git_push_url::Union{HTTP.URI, Nothing} |
| 16 | + created_at::Union{Dates.DateTime, Nothing} |
| 17 | + updated_at::Union{Dates.DateTime, Nothing} |
| 18 | + forks::Union{Vector{Gist}, Nothing} |
| 19 | + files::Union{Dict, Nothing} |
| 20 | + history::Union{Vector{Dict}, Nothing} |
21 | 21 | end
|
22 | 22 |
|
23 | 23 | Gist(data::Dict) = json2github(Gist, data)
|
|
0 commit comments