Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "2fbd62855475472c85084c56b4a4c6c5",
"specHash": "96301d732a1a9fa2ec272adc08c795bd",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -416,7 +416,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/BaseGist.php",
"hash": "9d636b124c21ad6980e59aedf9b43faf"
"hash": "115c320754394036b15ffbf2b7c0b3e7"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/PublicUser.php",
Expand All @@ -428,7 +428,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GistSimple.php",
"hash": "fdeb1df9a0109a2007fc2ac2f2ea6693"
"hash": "7d3c107dcdaa9f6f3ff0a9ebfa459fe5"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GistComment.php",
Expand Down Expand Up @@ -2820,7 +2820,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GistSimple\/ForkOf.php",
"hash": "2952f75792119676cd5de5bb035d69c4"
"hash": "d0f646cd95a9cb930375cde8f59d5392"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GistSimple\/Files.php",
Expand Down Expand Up @@ -26940,7 +26940,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists.php",
"hash": "1ffec6db01bc1109f6e514e1ec788e9d"
"hash": "3705773d2720f55ec9a49299e14b28bd"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/Public_.php",
Expand All @@ -26952,7 +26952,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId.php",
"hash": "7a3aca4b3b262a6a65b84adabe9b7deb"
"hash": "4dd3c17b8551c8f05c67259bf0332d49"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Comments.php",
Expand All @@ -26968,15 +26968,15 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Forks.php",
"hash": "14b1cdc9e3ca85b54103070031a5e727"
"hash": "5e9955e82a204d84179ebc485d057cae"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Star.php",
"hash": "f728c9eae05a72ba1dbeb759dd889c8b"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Sha.php",
"hash": "e4cf411e40e11eae7e57ed428ca465a6"
"hash": "d4ba8fd324847004504a74606a88079a"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gitignore\/Templates\/Name.php",
Expand Down Expand Up @@ -34184,7 +34184,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/PrivateRegistries.php",
"hash": "e7fa41e48b636fb72ffb9fc10b8422cb"
"hash": "602de4953cecb9eb083620b1a7f8ab73"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/PrivateRegistries.php",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -564,6 +575,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -1310,6 +1332,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou

after_comments: $result['comments'] = $comments;

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down Expand Up @@ -1399,6 +1429,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
$comments = $object->comments;
after_comments: $result['comments'] = $comments;

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -505,6 +516,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -1389,6 +1411,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou

after_comments: $result['comments'] = $comments;

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down Expand Up @@ -1478,6 +1508,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
$comments = $object->comments;
after_comments: $result['comments'] = $comments;

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -905,6 +916,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
$comments = $object->comments;
after_comments: $result['comments'] = $comments;

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -501,6 +512,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -1270,6 +1292,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou

after_comments: $result['comments'] = $comments;

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down Expand Up @@ -1359,6 +1389,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
$comments = $object->comments;
after_comments: $result['comments'] = $comments;

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
7 changes: 6 additions & 1 deletion clients/GitHubEnterpriseCloud/src/Schema/BaseGist.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@
"comments": {
"type": "integer"
},
"comments_enabled": {
"type": "boolean"
},
"user": {
"anyOf": [
{
Expand Down Expand Up @@ -487,6 +490,7 @@
"updated_at": "1970-01-01T00:00:00+00:00",
"description": "generated",
"comments": 8,
"comments_enabled": false,
"user": {
"name": "generated",
"email": "generated",
Expand Down Expand Up @@ -558,7 +562,8 @@ public function __construct(public string $url, #[MapFrom('forks_url')]
public string $gitPushUrl, #[MapFrom('html_url')]
public string $htmlUrl, public Schema\BaseGist\Files $files, public bool $public, #[MapFrom('created_at')]
public string $createdAt, #[MapFrom('updated_at')]
public string $updatedAt, public string|null $description, public int $comments, public Schema\SimpleUser|null $user, #[MapFrom('comments_url')]
public string $updatedAt, public string|null $description, public int $comments, #[MapFrom('comments_enabled')]
public bool|null $commentsEnabled, public Schema\SimpleUser|null $user, #[MapFrom('comments_url')]
public string $commentsUrl, public Schema\SimpleUser|null $owner, public bool|null $truncated, public array|null $forks, public array|null $history,)
{
}
Expand Down
11 changes: 10 additions & 1 deletion clients/GitHubEnterpriseCloud/src/Schema/GistSimple.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,9 @@
"comments": {
"type": "integer"
},
"comments_enabled": {
"type": "boolean"
},
"user": {
"anyOf": [
{
Expand Down Expand Up @@ -1038,6 +1041,9 @@
"comments": {
"type": "integer"
},
"comments_enabled": {
"type": "boolean"
},
"user": {
"type": [
"string",
Expand Down Expand Up @@ -1241,6 +1247,7 @@
"updated_at": "1970-01-01T00:00:00+00:00",
"description": "generated",
"comments": 8,
"comments_enabled": false,
"user": {
"name": "generated",
"email": "generated",
Expand Down Expand Up @@ -1314,6 +1321,7 @@
"updated_at": "generated",
"description": "generated",
"comments": 8,
"comments_enabled": false,
"user": "generated",
"comments_url": "generated",
"owner": {
Expand Down Expand Up @@ -1356,7 +1364,8 @@ public function __construct(public array|null $forks, public array|null $history
public string|null $gitPushUrl, #[MapFrom('html_url')]
public string|null $htmlUrl, public Schema\GistSimple\Files|null $files, public bool|null $public, #[MapFrom('created_at')]
public string|null $createdAt, #[MapFrom('updated_at')]
public string|null $updatedAt, public string|null $description, public int|null $comments, public string|null $user, #[MapFrom('comments_url')]
public string|null $updatedAt, public string|null $description, public int|null $comments, #[MapFrom('comments_enabled')]
public bool|null $commentsEnabled, public string|null $user, #[MapFrom('comments_url')]
public string|null $commentsUrl, public Schema\SimpleUser|null $owner, public bool|null $truncated,)
{
}
Expand Down
Loading
Loading