-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c163d89
commit cfb528f
Showing
70 changed files
with
415 additions
and
412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* The version of the OpenAPI document: v2.7.0/15cf3fc | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.10.0 | ||
* Generator version: 7.11.0 | ||
*/ | ||
|
||
/** | ||
|
@@ -87,10 +87,10 @@ class MiscApi | |
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec | ||
*/ | ||
public function __construct( | ||
ClientInterface $client = null, | ||
Configuration $config = null, | ||
HeaderSelector $selector = null, | ||
$hostIndex = 0 | ||
?ClientInterface $client = null, | ||
?Configuration $config = null, | ||
?HeaderSelector $selector = null, | ||
int $hostIndex = 0 | ||
) { | ||
$this->client = $client ?: new Client(); | ||
$this->config = $config ?: Configuration::getDefaultConfiguration(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* The version of the OpenAPI document: v2.7.0/15cf3fc | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.10.0 | ||
* Generator version: 7.11.0 | ||
*/ | ||
|
||
/** | ||
|
@@ -102,10 +102,10 @@ class NotificationsApi | |
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec | ||
*/ | ||
public function __construct( | ||
ClientInterface $client = null, | ||
Configuration $config = null, | ||
HeaderSelector $selector = null, | ||
$hostIndex = 0 | ||
?ClientInterface $client = null, | ||
?Configuration $config = null, | ||
?HeaderSelector $selector = null, | ||
int $hostIndex = 0 | ||
) { | ||
$this->client = $client ?: new Client(); | ||
$this->config = $config ?: Configuration::getDefaultConfiguration(); | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* The version of the OpenAPI document: v2.7.0/15cf3fc | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.10.0 | ||
* Generator version: 7.11.0 | ||
*/ | ||
|
||
/** | ||
|
@@ -108,10 +108,10 @@ class TagsApi | |
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec | ||
*/ | ||
public function __construct( | ||
ClientInterface $client = null, | ||
Configuration $config = null, | ||
HeaderSelector $selector = null, | ||
$hostIndex = 0 | ||
?ClientInterface $client = null, | ||
?Configuration $config = null, | ||
?HeaderSelector $selector = null, | ||
int $hostIndex = 0 | ||
) { | ||
$this->client = $client ?: new Client(); | ||
$this->config = $config ?: Configuration::getDefaultConfiguration(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* The version of the OpenAPI document: v2.7.0/15cf3fc | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.10.0 | ||
* Generator version: 7.11.0 | ||
*/ | ||
|
||
/** | ||
|
@@ -105,10 +105,10 @@ class TeamsApi | |
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec | ||
*/ | ||
public function __construct( | ||
ClientInterface $client = null, | ||
Configuration $config = null, | ||
HeaderSelector $selector = null, | ||
$hostIndex = 0 | ||
?ClientInterface $client = null, | ||
?Configuration $config = null, | ||
?HeaderSelector $selector = null, | ||
int $hostIndex = 0 | ||
) { | ||
$this->client = $client ?: new Client(); | ||
$this->config = $config ?: Configuration::getDefaultConfiguration(); | ||
|
@@ -150,7 +150,7 @@ public function getConfig() | |
* Add a user to a team | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format | ||
|
@@ -168,7 +168,7 @@ public function addTeamMember($id, $user_identifier = null, string $contentType | |
* Add a user to a team | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format | ||
|
@@ -225,7 +225,7 @@ public function addTeamMemberWithHttpInfo($id, $user_identifier = null, string $ | |
* Add a user to a team | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -247,7 +247,7 @@ function ($response) { | |
* Add a user to a team | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -285,7 +285,7 @@ function ($exception) { | |
* Create request for operation 'addTeamMember' | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier User to be added (must be the ID, usernames cannot be used here) (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['addTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -1804,7 +1804,7 @@ public function joinTeamRequest($id, string $contentType = self::contentTypes['j | |
* | ||
* @param string $id The ID of the team (required) | ||
* @param string $id_username The ID or username of the user (required) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format | ||
|
@@ -1823,7 +1823,7 @@ public function modifyTeamMember($id, $id_username, $modify_team_member_body = n | |
* | ||
* @param string $id The ID of the team (required) | ||
* @param string $id_username The ID or username of the user (required) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format | ||
|
@@ -1881,7 +1881,7 @@ public function modifyTeamMemberWithHttpInfo($id, $id_username, $modify_team_mem | |
* | ||
* @param string $id The ID of the team (required) | ||
* @param string $id_username The ID or username of the user (required) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -1904,7 +1904,7 @@ function ($response) { | |
* | ||
* @param string $id The ID of the team (required) | ||
* @param string $id_username The ID or username of the user (required) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -1943,7 +1943,7 @@ function ($exception) { | |
* | ||
* @param string $id The ID of the team (required) | ||
* @param string $id_username The ID or username of the user (required) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody $modify_team_member_body Contents to be modified (optional) | ||
* @param \Aternos\ModrinthApi\Model\ModifyTeamMemberBody|null $modify_team_member_body Contents to be modified (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyTeamMember'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -2066,7 +2066,7 @@ public function modifyTeamMemberRequest($id, $id_username, $modify_team_member_b | |
* Transfer team's ownership to another user | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation | ||
* | ||
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format | ||
|
@@ -2084,7 +2084,7 @@ public function transferTeamOwnership($id, $user_identifier = null, string $cont | |
* Transfer team's ownership to another user | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation | ||
* | ||
* @throws \Aternos\ModrinthApi\ApiException on non-2xx response or if the response body is not in the expected format | ||
|
@@ -2141,7 +2141,7 @@ public function transferTeamOwnershipWithHttpInfo($id, $user_identifier = null, | |
* Transfer team's ownership to another user | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -2163,7 +2163,7 @@ function ($response) { | |
* Transfer team's ownership to another user | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
@@ -2201,7 +2201,7 @@ function ($exception) { | |
* Create request for operation 'transferTeamOwnership' | ||
* | ||
* @param string $id The ID of the team (required) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier $user_identifier New owner's ID (optional) | ||
* @param \Aternos\ModrinthApi\Model\UserIdentifier|null $user_identifier New owner's ID (optional) | ||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['transferTeamOwnership'] to see the possible values for this operation | ||
* | ||
* @throws \InvalidArgumentException | ||
|
Oops, something went wrong.