@@ -718,6 +718,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
718
718
719
719
after_checks:
720
720
721
+ $ value = $ payload ['codespaces ' ] ?? null ;
722
+
723
+ if ($ value === null ) {
724
+ $ properties ['codespaces ' ] = null ;
725
+ goto after_codespaces;
726
+ }
727
+
728
+ $ properties ['codespaces ' ] = $ value ;
729
+
730
+ after_codespaces:
731
+
721
732
$ value = $ payload ['contents ' ] ?? null ;
722
733
723
734
if ($ value === null ) {
@@ -729,6 +740,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
729
740
730
741
after_contents:
731
742
743
+ $ value = $ payload ['dependabot_secrets ' ] ?? null ;
744
+
745
+ if ($ value === null ) {
746
+ $ properties ['dependabotSecrets ' ] = null ;
747
+ goto after_dependabotSecrets;
748
+ }
749
+
750
+ $ properties ['dependabotSecrets ' ] = $ value ;
751
+
752
+ after_dependabotSecrets:
753
+
732
754
$ value = $ payload ['deployments ' ] ?? null ;
733
755
734
756
if ($ value === null ) {
@@ -960,6 +982,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
960
982
961
983
after_organizationAnnouncementBanners:
962
984
985
+ $ value = $ payload ['organization_events ' ] ?? null ;
986
+
987
+ if ($ value === null ) {
988
+ $ properties ['organizationEvents ' ] = null ;
989
+ goto after_organizationEvents;
990
+ }
991
+
992
+ $ properties ['organizationEvents ' ] = $ value ;
993
+
994
+ after_organizationEvents:
995
+
963
996
$ value = $ payload ['organization_hooks ' ] ?? null ;
964
997
965
998
if ($ value === null ) {
@@ -1069,6 +1102,83 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
1069
1102
$ properties ['teamDiscussions ' ] = $ value ;
1070
1103
1071
1104
after_teamDiscussions:
1105
+
1106
+ $ value = $ payload ['email_addresses ' ] ?? null ;
1107
+
1108
+ if ($ value === null ) {
1109
+ $ properties ['emailAddresses ' ] = null ;
1110
+ goto after_emailAddresses;
1111
+ }
1112
+
1113
+ $ properties ['emailAddresses ' ] = $ value ;
1114
+
1115
+ after_emailAddresses:
1116
+
1117
+ $ value = $ payload ['followers ' ] ?? null ;
1118
+
1119
+ if ($ value === null ) {
1120
+ $ properties ['followers ' ] = null ;
1121
+ goto after_followers;
1122
+ }
1123
+
1124
+ $ properties ['followers ' ] = $ value ;
1125
+
1126
+ after_followers:
1127
+
1128
+ $ value = $ payload ['git_ssh_keys ' ] ?? null ;
1129
+
1130
+ if ($ value === null ) {
1131
+ $ properties ['gitSshKeys ' ] = null ;
1132
+ goto after_gitSshKeys;
1133
+ }
1134
+
1135
+ $ properties ['gitSshKeys ' ] = $ value ;
1136
+
1137
+ after_gitSshKeys:
1138
+
1139
+ $ value = $ payload ['gpg_keys ' ] ?? null ;
1140
+
1141
+ if ($ value === null ) {
1142
+ $ properties ['gpgKeys ' ] = null ;
1143
+ goto after_gpgKeys;
1144
+ }
1145
+
1146
+ $ properties ['gpgKeys ' ] = $ value ;
1147
+
1148
+ after_gpgKeys:
1149
+
1150
+ $ value = $ payload ['interaction_limits ' ] ?? null ;
1151
+
1152
+ if ($ value === null ) {
1153
+ $ properties ['interactionLimits ' ] = null ;
1154
+ goto after_interactionLimits;
1155
+ }
1156
+
1157
+ $ properties ['interactionLimits ' ] = $ value ;
1158
+
1159
+ after_interactionLimits:
1160
+
1161
+ $ value = $ payload ['profile ' ] ?? null ;
1162
+
1163
+ if ($ value === null ) {
1164
+ $ properties ['profile ' ] = null ;
1165
+ goto after_profile;
1166
+ }
1167
+
1168
+ $ properties ['profile ' ] = $ value ;
1169
+
1170
+ after_profile:
1171
+
1172
+ $ value = $ payload ['starring ' ] ?? null ;
1173
+
1174
+ if ($ value === null ) {
1175
+ $ properties ['starring ' ] = null ;
1176
+ goto after_starring;
1177
+ }
1178
+
1179
+ $ properties ['starring ' ] = $ value ;
1180
+
1181
+ after_starring:
1072
1182
} catch (Throwable $ exception ) {
1073
1183
throw UnableToHydrateObject::dueToError ('ApiClients\Client\GitHubEnterprise\Schema\AppPermissions ' , $ exception , stack: $ this ->hydrationStack );
1074
1184
}
@@ -1480,6 +1590,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
1480
1590
1481
1591
after_checks: $ result ['checks ' ] = $ checks ;
1482
1592
1593
+ $ codespaces = $ object ->codespaces ;
1594
+
1595
+ if ($ codespaces === null ) {
1596
+ goto after_codespaces;
1597
+ }
1598
+
1599
+ after_codespaces: $ result ['codespaces ' ] = $ codespaces ;
1600
+
1483
1601
$ contents = $ object ->contents ;
1484
1602
1485
1603
if ($ contents === null ) {
@@ -1488,6 +1606,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
1488
1606
1489
1607
after_contents: $ result ['contents ' ] = $ contents ;
1490
1608
1609
+ $ dependabotSecrets = $ object ->dependabotSecrets ;
1610
+
1611
+ if ($ dependabotSecrets === null ) {
1612
+ goto after_dependabotSecrets;
1613
+ }
1614
+
1615
+ after_dependabotSecrets: $ result ['dependabot_secrets ' ] = $ dependabotSecrets ;
1616
+
1491
1617
$ deployments = $ object ->deployments ;
1492
1618
1493
1619
if ($ deployments === null ) {
@@ -1656,6 +1782,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
1656
1782
1657
1783
after_organizationAnnouncementBanners: $ result ['organization_announcement_banners ' ] = $ organizationAnnouncementBanners ;
1658
1784
1785
+ $ organizationEvents = $ object ->organizationEvents ;
1786
+
1787
+ if ($ organizationEvents === null ) {
1788
+ goto after_organizationEvents;
1789
+ }
1790
+
1791
+ after_organizationEvents: $ result ['organization_events ' ] = $ organizationEvents ;
1792
+
1659
1793
$ organizationHooks = $ object ->organizationHooks ;
1660
1794
1661
1795
if ($ organizationHooks === null ) {
@@ -1736,6 +1870,62 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
1736
1870
1737
1871
after_teamDiscussions: $ result ['team_discussions ' ] = $ teamDiscussions ;
1738
1872
1873
+ $ emailAddresses = $ object ->emailAddresses ;
1874
+
1875
+ if ($ emailAddresses === null ) {
1876
+ goto after_emailAddresses;
1877
+ }
1878
+
1879
+ after_emailAddresses: $ result ['email_addresses ' ] = $ emailAddresses ;
1880
+
1881
+ $ followers = $ object ->followers ;
1882
+
1883
+ if ($ followers === null ) {
1884
+ goto after_followers;
1885
+ }
1886
+
1887
+ after_followers: $ result ['followers ' ] = $ followers ;
1888
+
1889
+ $ gitSshKeys = $ object ->gitSshKeys ;
1890
+
1891
+ if ($ gitSshKeys === null ) {
1892
+ goto after_gitSshKeys;
1893
+ }
1894
+
1895
+ after_gitSshKeys: $ result ['git_ssh_keys ' ] = $ gitSshKeys ;
1896
+
1897
+ $ gpgKeys = $ object ->gpgKeys ;
1898
+
1899
+ if ($ gpgKeys === null ) {
1900
+ goto after_gpgKeys;
1901
+ }
1902
+
1903
+ after_gpgKeys: $ result ['gpg_keys ' ] = $ gpgKeys ;
1904
+
1905
+ $ interactionLimits = $ object ->interactionLimits ;
1906
+
1907
+ if ($ interactionLimits === null ) {
1908
+ goto after_interactionLimits;
1909
+ }
1910
+
1911
+ after_interactionLimits: $ result ['interaction_limits ' ] = $ interactionLimits ;
1912
+
1913
+ $ profile = $ object ->profile ;
1914
+
1915
+ if ($ profile === null ) {
1916
+ goto after_profile;
1917
+ }
1918
+
1919
+ after_profile: $ result ['profile ' ] = $ profile ;
1920
+
1921
+ $ starring = $ object ->starring ;
1922
+
1923
+ if ($ starring === null ) {
1924
+ goto after_starring;
1925
+ }
1926
+
1927
+ after_starring: $ result ['starring ' ] = $ starring ;
1928
+
1739
1929
return $ result ;
1740
1930
}
1741
1931
0 commit comments