Skip to content

Commit

Permalink
Update code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
SDKgen-Bot committed Jul 28, 2024
1 parent 8dab9b9 commit ddc06da
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 325 deletions.
2 changes: 1 addition & 1 deletion sdkgen.lock

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions src/Backend/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class Dashboard implements \JsonSerializable, \PSX\Record\RecordableInterface
protected ?StatisticChart $mostUsedOperations = null;
protected ?StatisticChart $timePerOperation = null;
protected ?StatisticChart $testCoverage = null;
protected ?DashboardApps $latestApps = null;
protected ?DashboardRequests $latestRequests = null;
protected ?DashboardUsers $latestUsers = null;
protected ?StatisticChart $mostUsedActivities = null;
protected ?StatisticChart $activitiesPerUser = null;
protected ?StatisticChart $userRegistrations = null;
public function setErrorsPerOperation(?StatisticChart $errorsPerOperation) : void
{
$this->errorsPerOperation = $errorsPerOperation;
Expand Down Expand Up @@ -64,29 +64,29 @@ public function getTestCoverage() : ?StatisticChart
{
return $this->testCoverage;
}
public function setLatestApps(?DashboardApps $latestApps) : void
public function setMostUsedActivities(?StatisticChart $mostUsedActivities) : void
{
$this->latestApps = $latestApps;
$this->mostUsedActivities = $mostUsedActivities;
}
public function getLatestApps() : ?DashboardApps
public function getMostUsedActivities() : ?StatisticChart
{
return $this->latestApps;
return $this->mostUsedActivities;
}
public function setLatestRequests(?DashboardRequests $latestRequests) : void
public function setActivitiesPerUser(?StatisticChart $activitiesPerUser) : void
{
$this->latestRequests = $latestRequests;
$this->activitiesPerUser = $activitiesPerUser;
}
public function getLatestRequests() : ?DashboardRequests
public function getActivitiesPerUser() : ?StatisticChart
{
return $this->latestRequests;
return $this->activitiesPerUser;
}
public function setLatestUsers(?DashboardUsers $latestUsers) : void
public function setUserRegistrations(?StatisticChart $userRegistrations) : void
{
$this->latestUsers = $latestUsers;
$this->userRegistrations = $userRegistrations;
}
public function getLatestUsers() : ?DashboardUsers
public function getUserRegistrations() : ?StatisticChart
{
return $this->latestUsers;
return $this->userRegistrations;
}
public function toRecord() : \PSX\Record\RecordInterface
{
Expand All @@ -98,9 +98,9 @@ public function toRecord() : \PSX\Record\RecordInterface
$record->put('mostUsedOperations', $this->mostUsedOperations);
$record->put('timePerOperation', $this->timePerOperation);
$record->put('testCoverage', $this->testCoverage);
$record->put('latestApps', $this->latestApps);
$record->put('latestRequests', $this->latestRequests);
$record->put('latestUsers', $this->latestUsers);
$record->put('mostUsedActivities', $this->mostUsedActivities);
$record->put('activitiesPerUser', $this->activitiesPerUser);
$record->put('userRegistrations', $this->userRegistrations);
return $record;
}
public function jsonSerialize() : object
Expand Down
51 changes: 0 additions & 51 deletions src/Backend/DashboardApp.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/Backend/DashboardApps.php

This file was deleted.

61 changes: 0 additions & 61 deletions src/Backend/DashboardRequest.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/Backend/DashboardRequests.php

This file was deleted.

81 changes: 0 additions & 81 deletions src/Backend/DashboardTransaction.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/Backend/DashboardTransactions.php

This file was deleted.

61 changes: 0 additions & 61 deletions src/Backend/DashboardUser.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/Backend/DashboardUsers.php

This file was deleted.

0 comments on commit ddc06da

Please sign in to comment.