Skip to content

Commit cd49a14

Browse files
committed
Added nested unknown schemas
1 parent 56cd733 commit cd49a14

File tree

305 files changed

+13500
-228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+13500
-228
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Alert;
4+
5+
final class PushProtectionBypassedBy
6+
{
7+
public const SCHEMA_JSON = '{"type":"null"}';
8+
public const SCHEMA_TITLE = 'Alert\\PushProtectionBypassedBy';
9+
public const SCHEMA_DESCRIPTION = '';
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Alert;
4+
5+
final class ResolvedBy
6+
{
7+
public const SCHEMA_JSON = '{"type":"null"}';
8+
public const SCHEMA_TITLE = 'Alert\\ResolvedBy';
9+
public const SCHEMA_DESCRIPTION = '';
10+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Alert;
4+
5+
final class Rule
6+
{
7+
public const SCHEMA_JSON = '{"required":["id","severity","description"],"type":"object","properties":{"description":{"type":"string","description":"A short description of the rule used to detect the alert."},"id":{"type":"string","description":"A unique identifier for the rule used to detect the alert."},"severity":{"enum":["none","note","warning","error",null],"type":["string","null"],"description":"The severity of the alert."}}}';
8+
public const SCHEMA_TITLE = 'Alert\\Rule';
9+
public const SCHEMA_DESCRIPTION = '';
10+
/**
11+
* A short description of the rule used to detect the alert.
12+
*/
13+
private string $description;
14+
/**
15+
* A unique identifier for the rule used to detect the alert.
16+
*/
17+
private string $id;
18+
/**
19+
* The severity of the alert.
20+
*/
21+
private $severity;
22+
/**
23+
* A short description of the rule used to detect the alert.
24+
*/
25+
public function description() : string
26+
{
27+
return $this->description;
28+
}
29+
/**
30+
* A unique identifier for the rule used to detect the alert.
31+
*/
32+
public function id() : string
33+
{
34+
return $this->id;
35+
}
36+
/**
37+
* The severity of the alert.
38+
*/
39+
public function severity()
40+
{
41+
return $this->severity;
42+
}
43+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Alert;
4+
5+
final class Tool
6+
{
7+
public const SCHEMA_JSON = '{"required":["name","version"],"type":"object","properties":{"name":{"type":"string","description":"The name of the tool used to generate the code scanning analysis alert."},"version":{"type":["string","null"],"description":"The version of the tool used to detect the alert."}}}';
8+
public const SCHEMA_TITLE = 'Alert\\Tool';
9+
public const SCHEMA_DESCRIPTION = '';
10+
/**
11+
* The name of the tool used to generate the code scanning analysis alert.
12+
*/
13+
private string $name;
14+
/**
15+
* The version of the tool used to detect the alert.
16+
*/
17+
private $version;
18+
/**
19+
* The name of the tool used to generate the code scanning analysis alert.
20+
*/
21+
public function name() : string
22+
{
23+
return $this->name;
24+
}
25+
/**
26+
* The version of the tool used to detect the alert.
27+
*/
28+
public function version()
29+
{
30+
return $this->version;
31+
}
32+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Answer;
4+
5+
final class Reactions
6+
{
7+
public const SCHEMA_JSON = '{"title":"Reactions","required":["url","total_count","+1","-1","laugh","confused","heart","hooray","eyes","rocket"],"type":"object","properties":{"+1":{"type":"integer"},"-1":{"type":"integer"},"confused":{"type":"integer"},"eyes":{"type":"integer"},"heart":{"type":"integer"},"hooray":{"type":"integer"},"laugh":{"type":"integer"},"rocket":{"type":"integer"},"total_count":{"type":"integer"},"url":{"type":"string","format":"uri"}}}';
8+
public const SCHEMA_TITLE = 'Reactions';
9+
public const SCHEMA_DESCRIPTION = '';
10+
private ?int $_PLUSES_1 = null;
11+
private ?int $_MINUS_1 = null;
12+
private int $confused;
13+
private int $eyes;
14+
private int $heart;
15+
private int $hooray;
16+
private int $laugh;
17+
private int $rocket;
18+
private int $total_count;
19+
private string $url;
20+
public function _PLUSES_1() : ?int
21+
{
22+
return $this->_PLUSES_1;
23+
}
24+
public function _MINUS_1() : ?int
25+
{
26+
return $this->_MINUS_1;
27+
}
28+
public function confused() : int
29+
{
30+
return $this->confused;
31+
}
32+
public function eyes() : int
33+
{
34+
return $this->eyes;
35+
}
36+
public function heart() : int
37+
{
38+
return $this->heart;
39+
}
40+
public function hooray() : int
41+
{
42+
return $this->hooray;
43+
}
44+
public function laugh() : int
45+
{
46+
return $this->laugh;
47+
}
48+
public function rocket() : int
49+
{
50+
return $this->rocket;
51+
}
52+
public function total_count() : int
53+
{
54+
return $this->total_count;
55+
}
56+
public function url() : string
57+
{
58+
return $this->url;
59+
}
60+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\App;
4+
5+
final class Events
6+
{
7+
public const SCHEMA_JSON = '{"enum":["branch_protection_rule","check_run","check_suite","code_scanning_alert","commit_comment","content_reference","create","delete","deployment","deployment_review","deployment_status","deploy_key","discussion","discussion_comment","fork","gollum","issues","issue_comment","label","member","membership","milestone","organization","org_block","page_build","project","project_card","project_column","public","pull_request","pull_request_review","pull_request_review_comment","push","registry_package","release","repository","repository_dispatch","secret_scanning_alert","star","status","team","team_add","watch","workflow_dispatch","workflow_run","pull_request_review_thread","merge_queue_entry","workflow_job"],"type":"string"}';
8+
public const SCHEMA_TITLE = 'App\\Events';
9+
public const SCHEMA_DESCRIPTION = '';
10+
}
Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\App;
4+
5+
final class Permissions
6+
{
7+
public const SCHEMA_JSON = '{"type":"object","properties":{"actions":{"enum":["read","write"],"type":"string"},"administration":{"enum":["read","write"],"type":"string"},"checks":{"enum":["read","write"],"type":"string"},"content_references":{"enum":["read","write"],"type":"string"},"contents":{"enum":["read","write"],"type":"string"},"deployments":{"enum":["read","write"],"type":"string"},"discussions":{"enum":["read","write"],"type":"string"},"emails":{"enum":["read","write"],"type":"string"},"environments":{"enum":["read","write"],"type":"string"},"issues":{"enum":["read","write"],"type":"string"},"keys":{"enum":["read","write"],"type":"string"},"members":{"enum":["read","write"],"type":"string"},"metadata":{"enum":["read","write"],"type":"string"},"organization_administration":{"enum":["read","write"],"type":"string"},"organization_hooks":{"enum":["read","write"],"type":"string"},"organization_packages":{"enum":["read","write"],"type":"string"},"organization_plan":{"enum":["read","write"],"type":"string"},"organization_projects":{"enum":["read","write","admin"],"type":"string"},"organization_secrets":{"enum":["read","write"],"type":"string"},"organization_self_hosted_runners":{"enum":["read","write"],"type":"string"},"organization_user_blocking":{"enum":["read","write"],"type":"string"},"packages":{"enum":["read","write"],"type":"string"},"pages":{"enum":["read","write"],"type":"string"},"pull_requests":{"enum":["read","write"],"type":"string"},"repository_hooks":{"enum":["read","write"],"type":"string"},"repository_projects":{"enum":["read","write","admin"],"type":"string"},"secret_scanning_alerts":{"enum":["read","write"],"type":"string"},"secrets":{"enum":["read","write"],"type":"string"},"security_events":{"enum":["read","write"],"type":"string"},"security_scanning_alert":{"enum":["read","write"],"type":"string"},"single_file":{"enum":["read","write"],"type":"string"},"statuses":{"enum":["read","write"],"type":"string"},"team_discussions":{"enum":["read","write"],"type":"string"},"vulnerability_alerts":{"enum":["read","write"],"type":"string"},"workflows":{"enum":["read","write"],"type":"string"}},"description":"The set of permissions for the GitHub app"}';
8+
public const SCHEMA_TITLE = 'App\\Permissions';
9+
public const SCHEMA_DESCRIPTION = 'The set of permissions for the GitHub app';
10+
private string $actions;
11+
private string $administration;
12+
private string $checks;
13+
private string $content_references;
14+
private string $contents;
15+
private string $deployments;
16+
private string $discussions;
17+
private string $emails;
18+
private string $environments;
19+
private string $issues;
20+
private string $keys;
21+
private string $members;
22+
private string $metadata;
23+
private string $organization_administration;
24+
private string $organization_hooks;
25+
private string $organization_packages;
26+
private string $organization_plan;
27+
private string $organization_projects;
28+
private string $organization_secrets;
29+
private string $organization_self_hosted_runners;
30+
private string $organization_user_blocking;
31+
private string $packages;
32+
private string $pages;
33+
private string $pull_requests;
34+
private string $repository_hooks;
35+
private string $repository_projects;
36+
private string $secret_scanning_alerts;
37+
private string $secrets;
38+
private string $security_events;
39+
private string $security_scanning_alert;
40+
private string $single_file;
41+
private string $statuses;
42+
private string $team_discussions;
43+
private string $vulnerability_alerts;
44+
private string $workflows;
45+
public function actions() : string
46+
{
47+
return $this->actions;
48+
}
49+
public function administration() : string
50+
{
51+
return $this->administration;
52+
}
53+
public function checks() : string
54+
{
55+
return $this->checks;
56+
}
57+
public function content_references() : string
58+
{
59+
return $this->content_references;
60+
}
61+
public function contents() : string
62+
{
63+
return $this->contents;
64+
}
65+
public function deployments() : string
66+
{
67+
return $this->deployments;
68+
}
69+
public function discussions() : string
70+
{
71+
return $this->discussions;
72+
}
73+
public function emails() : string
74+
{
75+
return $this->emails;
76+
}
77+
public function environments() : string
78+
{
79+
return $this->environments;
80+
}
81+
public function issues() : string
82+
{
83+
return $this->issues;
84+
}
85+
public function keys() : string
86+
{
87+
return $this->keys;
88+
}
89+
public function members() : string
90+
{
91+
return $this->members;
92+
}
93+
public function metadata() : string
94+
{
95+
return $this->metadata;
96+
}
97+
public function organization_administration() : string
98+
{
99+
return $this->organization_administration;
100+
}
101+
public function organization_hooks() : string
102+
{
103+
return $this->organization_hooks;
104+
}
105+
public function organization_packages() : string
106+
{
107+
return $this->organization_packages;
108+
}
109+
public function organization_plan() : string
110+
{
111+
return $this->organization_plan;
112+
}
113+
public function organization_projects() : string
114+
{
115+
return $this->organization_projects;
116+
}
117+
public function organization_secrets() : string
118+
{
119+
return $this->organization_secrets;
120+
}
121+
public function organization_self_hosted_runners() : string
122+
{
123+
return $this->organization_self_hosted_runners;
124+
}
125+
public function organization_user_blocking() : string
126+
{
127+
return $this->organization_user_blocking;
128+
}
129+
public function packages() : string
130+
{
131+
return $this->packages;
132+
}
133+
public function pages() : string
134+
{
135+
return $this->pages;
136+
}
137+
public function pull_requests() : string
138+
{
139+
return $this->pull_requests;
140+
}
141+
public function repository_hooks() : string
142+
{
143+
return $this->repository_hooks;
144+
}
145+
public function repository_projects() : string
146+
{
147+
return $this->repository_projects;
148+
}
149+
public function secret_scanning_alerts() : string
150+
{
151+
return $this->secret_scanning_alerts;
152+
}
153+
public function secrets() : string
154+
{
155+
return $this->secrets;
156+
}
157+
public function security_events() : string
158+
{
159+
return $this->security_events;
160+
}
161+
public function security_scanning_alert() : string
162+
{
163+
return $this->security_scanning_alert;
164+
}
165+
public function single_file() : string
166+
{
167+
return $this->single_file;
168+
}
169+
public function statuses() : string
170+
{
171+
return $this->statuses;
172+
}
173+
public function team_discussions() : string
174+
{
175+
return $this->team_discussions;
176+
}
177+
public function vulnerability_alerts() : string
178+
{
179+
return $this->vulnerability_alerts;
180+
}
181+
public function workflows() : string
182+
{
183+
return $this->workflows;
184+
}
185+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\Apps;
4+
5+
final class Events
6+
{
7+
public const SCHEMA_JSON = '{"type":"string"}';
8+
public const SCHEMA_TITLE = 'Apps\\Events';
9+
public const SCHEMA_DESCRIPTION = '';
10+
}

0 commit comments

Comments
 (0)