Skip to content

Commit

Permalink
[GitHubEnterpriseCloud] Update to 1.1.4-069f6f8cddd6137eb77177187c492…
Browse files Browse the repository at this point in the history
…ecb from 1.1.4-2bfc56a10e4f0ed2175059088ca3bc5e

Detected Schema changes:

                                                                                
starting work.

                                                                                
Building original model for commit 8179d6
{"time":"2023-12-08T16:32:50.908874803Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"}
{"time":"2023-12-08T16:32:50.908991001Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"}
{"time":"2023-12-08T16:32:51.966720193Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"}
{"time":"2023-12-08T16:32:51.966829949Z","level":"ERROR","msg":"unable to open the rolodex file, check specification references and base path","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"}

                                                                                
SPEC: extracted 1 commits from history

SUCCESS: No changes detected


                                                                                
DONE: completed

WARNING: warnings reported during processing
⚠️  Error thrown when comparing: component 'server-statistics-actions.yaml' does not exist in the specification
  • Loading branch information
WyriHaximus authored Dec 8, 2023
1 parent 04e65b9 commit a8721d5
Show file tree
Hide file tree
Showing 41 changed files with 3,151 additions and 91 deletions.
94 changes: 47 additions & 47 deletions etc/openapi-client-generator.state

Large diffs are not rendered by default.

190 changes: 190 additions & 0 deletions src/Internal/Hydrator/Operation/App/Installations/InstallationId.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_checks:

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

if ($value === null) {
$properties['codespaces'] = null;
goto after_codespaces;
}

$properties['codespaces'] = $value;

after_codespaces:

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

if ($value === null) {
Expand All @@ -371,6 +382,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_contents:

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

if ($value === null) {
$properties['dependabotSecrets'] = null;
goto after_dependabotSecrets;
}

$properties['dependabotSecrets'] = $value;

after_dependabotSecrets:

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

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

after_organizationAnnouncementBanners:

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

if ($value === null) {
$properties['organizationEvents'] = null;
goto after_organizationEvents;
}

$properties['organizationEvents'] = $value;

after_organizationEvents:

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

if ($value === null) {
Expand Down Expand Up @@ -744,6 +777,83 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
$properties['teamDiscussions'] = $value;

after_teamDiscussions:

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

if ($value === null) {
$properties['emailAddresses'] = null;
goto after_emailAddresses;
}

$properties['emailAddresses'] = $value;

after_emailAddresses:

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

if ($value === null) {
$properties['followers'] = null;
goto after_followers;
}

$properties['followers'] = $value;

after_followers:

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

if ($value === null) {
$properties['gitSshKeys'] = null;
goto after_gitSshKeys;
}

$properties['gitSshKeys'] = $value;

after_gitSshKeys:

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

if ($value === null) {
$properties['gpgKeys'] = null;
goto after_gpgKeys;
}

$properties['gpgKeys'] = $value;

after_gpgKeys:

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

if ($value === null) {
$properties['interactionLimits'] = null;
goto after_interactionLimits;
}

$properties['interactionLimits'] = $value;

after_interactionLimits:

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

if ($value === null) {
$properties['profile'] = null;
goto after_profile;
}

$properties['profile'] = $value;

after_profile:

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

if ($value === null) {
$properties['starring'] = null;
goto after_starring;
}

$properties['starring'] = $value;

after_starring:
} catch (Throwable $exception) {
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterpriseCloud\Schema\AppPermissions', $exception, stack: $this->hydrationStack);
}
Expand Down Expand Up @@ -1316,6 +1426,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou

after_checks: $result['checks'] = $checks;

$codespaces = $object->codespaces;

if ($codespaces === null) {
goto after_codespaces;
}

after_codespaces: $result['codespaces'] = $codespaces;

$contents = $object->contents;

if ($contents === null) {
Expand All @@ -1324,6 +1442,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou

after_contents: $result['contents'] = $contents;

$dependabotSecrets = $object->dependabotSecrets;

if ($dependabotSecrets === null) {
goto after_dependabotSecrets;
}

after_dependabotSecrets: $result['dependabot_secrets'] = $dependabotSecrets;

$deployments = $object->deployments;

if ($deployments === null) {
Expand Down Expand Up @@ -1516,6 +1642,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou

after_organizationAnnouncementBanners: $result['organization_announcement_banners'] = $organizationAnnouncementBanners;

$organizationEvents = $object->organizationEvents;

if ($organizationEvents === null) {
goto after_organizationEvents;
}

after_organizationEvents: $result['organization_events'] = $organizationEvents;

$organizationHooks = $object->organizationHooks;

if ($organizationHooks === null) {
Expand Down Expand Up @@ -1596,6 +1730,62 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou

after_teamDiscussions: $result['team_discussions'] = $teamDiscussions;

$emailAddresses = $object->emailAddresses;

if ($emailAddresses === null) {
goto after_emailAddresses;
}

after_emailAddresses: $result['email_addresses'] = $emailAddresses;

$followers = $object->followers;

if ($followers === null) {
goto after_followers;
}

after_followers: $result['followers'] = $followers;

$gitSshKeys = $object->gitSshKeys;

if ($gitSshKeys === null) {
goto after_gitSshKeys;
}

after_gitSshKeys: $result['git_ssh_keys'] = $gitSshKeys;

$gpgKeys = $object->gpgKeys;

if ($gpgKeys === null) {
goto after_gpgKeys;
}

after_gpgKeys: $result['gpg_keys'] = $gpgKeys;

$interactionLimits = $object->interactionLimits;

if ($interactionLimits === null) {
goto after_interactionLimits;
}

after_interactionLimits: $result['interaction_limits'] = $interactionLimits;

$profile = $object->profile;

if ($profile === null) {
goto after_profile;
}

after_profile: $result['profile'] = $profile;

$starring = $object->starring;

if ($starring === null) {
goto after_starring;
}

after_starring: $result['starring'] = $starring;

return $result;
}

Expand Down
Loading

0 comments on commit a8721d5

Please sign in to comment.