-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.py
94 lines (90 loc) · 3.23 KB
/
models.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
from typing import Any, List, Optional
from pydantic import BaseModel
class BaseRequestResponseItem(BaseModel):
"""
BaseRequestResponseItem:
Item which represents the base request response.
All fields required and statically typed except where explicitly listed
"""
id: Optional[int] = None
node_id: Optional[str] = None
name: Optional[str] = None
full_name: Optional[str] = None
private: Optional[bool] = None
owner: Optional[Any] = None
html_url: Optional[str] = None
description: Optional[str] = None
fork: Optional[bool] = None
url: Optional[str] = None
forks_url: Optional[str] = None
keys_url: Optional[str] = None
collaborators_url: Optional[str] = None
teams_url: Optional[str] = None
hooks_url: Optional[str] = None
issue_events_url: Optional[str] = None
events_url: Optional[str] = None
assignees_url: Optional[str] = None
branches_url: Optional[str] = None
tags_url: Optional[str] = None
blobs_url: Optional[str] = None
git_tags_url: Optional[str] = None
git_refs_url: Optional[str] = None
trees_url: Optional[str] = None
statuses_url: Optional[str] = None
languages_url: Optional[str] = None
stargazers_url: Optional[str] = None
contributors_url: Optional[str] = None
subscribers_url: Optional[str] = None
subscription_url: Optional[str] = None
commits_url: Optional[str] = None
git_commits_url: Optional[str] = None
comments_url: Optional[str] = None
issue_comment_url: Optional[str] = None
contents_url: Optional[str] = None
compare_url: Optional[str] = None
merges_url: Optional[str] = None
archive_url: Optional[str] = None
downloads_url: Optional[str] = None
issues_url: Optional[str] = None
pulls_url: Optional[str] = None
milestones_url: Optional[str] = None
notifications_url: Optional[str] = None
labels_url: Optional[str] = None
releases_url: Optional[str] = None
deployments_url: Optional[str] = None
created_at: Optional[str] = None
updated_at: Optional[str] = None
pushed_at: Optional[str] = None
git_url: Optional[str] = None
ssh_url: Optional[str] = None
clone_url: Optional[str] = None
svn_url: Optional[str] = None
homepage: Optional[str] = None
size: Optional[int] = None
stargazers_count: Optional[int] = None
watchers_count: Optional[int] = None
language: Optional[str] = None
has_issues: Optional[bool] = None
has_projects: Optional[bool] = None
has_downloads: Optional[bool] = None
has_wiki: Optional[bool] = None
has_pages: Optional[bool] = None
forks_count: Optional[int] = None
mirror_url: Optional[str] = None
archived: Optional[bool] = None
disabled: Optional[bool] = None
open_issues_count: Optional[int] = None
license: Optional[Any] = None
allow_forking: Optional[bool] = None
is_template: Optional[bool] = None
topics: Optional[list] = None
visibility: Optional[str] = None
forks: Optional[int] = None
open_issues: Optional[int] = None
watchers: Optional[int] = None
default_branch: Optional[str] = None
class BaseRequestResponse(BaseModel):
"""
BaseRequestResponse
"""
responses: List[BaseRequestResponseItem]