From 896d16baed691f61bb12fb19f287feb9c7487101 Mon Sep 17 00:00:00 2001 From: dofusdude Date: Fri, 29 Nov 2024 22:13:11 +0000 Subject: [PATCH] Update from https://github.com/dofusdude/api-docs/commit/4f00dd4d3c123a9398dcec77968f8176971d577a --- .github/workflows/publish.yml | 2 +- .openapi-generator/FILES | 174 +- .openapi-generator/VERSION | 2 +- Dofusdude.Api.sln | 10 +- README.md | 160 +- api/openapi.yaml | 3940 ++++++----------- docs/{AlmanaxEntry.md => Almanax.md} | 6 +- docs/AlmanaxApi.md | 24 +- .../{AlmanaxEntryBonus.md => AlmanaxBonus.md} | 2 +- ...manaxEntryTribute.md => AlmanaxTribute.md} | 4 +- ...ryTributeItem.md => AlmanaxTributeItem.md} | 4 +- docs/AlmanaxWebhook.md | 4 +- docs/{ConditionEntry.md => Condition.md} | 4 +- ...{ConditionTreeLeaf.md => ConditionLeaf.md} | 4 +- ...{ConditionTreeNode.md => ConditionNode.md} | 6 +- ...onTreeRelation.md => ConditionRelation.md} | 4 +- docs/ConsumablesApi.md | 88 +- docs/CosmeticsApi.md | 90 +- docs/CreateAlmanaxWebhook.md | 4 +- docs/{EffectsEntry.md => Effect.md} | 4 +- .../{SetEffectsEntryType.md => EffectType.md} | 6 +- docs/Equipment.md | 13 +- docs/EquipmentApi.md | 90 +- docs/Error.md | 14 + docs/GameApi.md | 56 +- docs/{MountListEntry.md => GameSearch.md} | 7 +- docs/GameSearchItem.md | 12 + docs/{ResourceType.md => GameSearchType.md} | 5 +- docs/GetGameSearch200ResponseInner.md | 12 - docs/{ImageUrls.md => Images.md} | 10 +- docs/ItemListEntry.md | 28 - .../{ItemListEntryRange.md => ItemSubtype.md} | 6 +- docs/ItemsListEntryTyped.md | 15 - docs/ItemsListPaged.md | 11 - docs/ListItem.md | 26 + docs/ListItemGeneral.md | 15 + docs/ListItems.md | 11 + docs/ListMounts.md | 11 + docs/{SetListEntry.md => ListSet.md} | 4 +- docs/ListSets.md | 11 + docs/MetaApi.md | 28 +- ...aVersion200Response.md => ModelVersion.md} | 2 +- docs/Mount.md | 6 +- ...emListEntryParentSet.md => MountFamily.md} | 6 +- docs/MountsApi.md | 76 +- docs/MountsListPaged.md | 11 - docs/{LinksPaged.md => PagedLinks.md} | 2 +- docs/PutAlmanaxWebhook.md | 4 +- docs/QuestItemsApi.md | 82 +- docs/{WeaponRange.md => Range.md} | 2 +- docs/{RecipeEntry.md => Recipe.md} | 2 +- docs/Resource.md | 11 +- docs/ResourcesApi.md | 90 +- docs/{EquipmentSet.md => Set.md} | 4 +- docs/SetEffectsEntry.md | 16 - docs/SetsApi.md | 92 +- docs/SetsListPaged.md | 11 - ...sListEntryTypedType.md => TranslatedId.md} | 6 +- docs/Weapon.md | 16 +- docs/WebhooksApi.md | 36 +- src/Dofusdude.Api.Test/Api/AlmanaxApiTests.cs | 8 +- .../Api/ConsumablesApiTests.cs | 25 +- .../Api/CosmeticsApiTests.cs | 25 +- .../Api/EquipmentApiTests.cs | 25 +- src/Dofusdude.Api.Test/Api/GameApiTests.cs | 19 +- src/Dofusdude.Api.Test/Api/MetaApiTests.cs | 6 +- src/Dofusdude.Api.Test/Api/MountsApiTests.cs | 16 +- .../Api/QuestItemsApiTests.cs | 20 +- .../Api/ResourcesApiTests.cs | 25 +- src/Dofusdude.Api.Test/Api/SetsApiTests.cs | 22 +- .../Api/WebhooksApiTests.cs | 4 +- .../Model/AlmanaxBonusTests.cs | 76 + .../Model/AlmanaxEntryBonusTests.cs | 76 - .../Model/AlmanaxEntryTests.cs | 94 - .../Model/AlmanaxEntryTributeItemTests.cs | 94 - .../Model/AlmanaxEntryTributeTests.cs | 76 - src/Dofusdude.Api.Test/Model/AlmanaxTests.cs | 94 + .../Model/AlmanaxTributeItemTests.cs | 94 + .../Model/AlmanaxTributeTests.cs | 76 + .../Model/AlmanaxWebhookDailySettingsTests.cs | 4 +- .../Model/AlmanaxWebhookTests.cs | 4 +- .../Model/ConditionEntryTests.cs | 85 - .../Model/ConditionLeafTests.cs | 76 + .../Model/ConditionNodeTests.cs | 94 + .../Model/ConditionRelationTests.cs | 85 + .../Model/ConditionTests.cs | 85 + .../Model/ConditionTreeLeafTests.cs | 76 - .../Model/ConditionTreeNodeTests.cs | 94 - .../Model/ConditionTreeRelationTests.cs | 85 - .../CreateAlmanaxWebhookDailySettingsTests.cs | 4 +- ...teAlmanaxWebhookMentionsValueInnerTests.cs | 4 +- .../Model/CreateAlmanaxWebhookTests.cs | 4 +- .../Model/CreateRSSWebhookTests.cs | 4 +- .../Model/CreateTwitterWebhookTests.cs | 4 +- src/Dofusdude.Api.Test/Model/EffectTests.cs | 112 + .../Model/EffectTypeTests.cs | 94 + .../Model/EffectsEntryTests.cs | 112 - .../Model/EquipmentSetTests.cs | 112 - .../Model/EquipmentTests.cs | 13 +- src/Dofusdude.Api.Test/Model/ErrorTests.cs | 103 + .../Model/GameSearchItemTests.cs | 85 + .../Model/GameSearchTests.cs | 94 + .../Model/GameSearchTypeTests.cs | 67 + .../GetGameSearch200ResponseInnerTests.cs | 85 - ...MetaAlmanaxBonuses200ResponseInnerTests.cs | 4 +- .../Model/GetMetaVersion200ResponseTests.cs | 85 - .../GetMetaWebhooksTwitter200ResponseTests.cs | 4 +- .../Model/ImageUrlsTests.cs | 94 - src/Dofusdude.Api.Test/Model/ImagesTests.cs | 94 + .../Model/ItemListEntryParentSetTests.cs | 76 - .../Model/ItemListEntryRangeTests.cs | 76 - .../Model/ItemSubtypeTests.cs | 76 + .../Model/ItemsListEntryTypedTests.cs | 112 - .../Model/ItemsListEntryTypedTypeTests.cs | 76 - .../Model/ItemsListPagedTests.cs | 76 - .../Model/LinksPagedTests.cs | 94 - .../Model/ListItemGeneralTests.cs | 112 + ...ItemListEntryTests.cs => ListItemTests.cs} | 44 +- .../Model/ListItemsTests.cs | 76 + .../Model/ListMountsTests.cs | 76 + src/Dofusdude.Api.Test/Model/ListSetTests.cs | 121 + src/Dofusdude.Api.Test/Model/ListSetsTests.cs | 76 + .../Model/ModelVersionTests.cs | 85 + .../Model/MountFamilyTests.cs | 76 + .../Model/MountListEntryTests.cs | 103 - src/Dofusdude.Api.Test/Model/MountTests.cs | 10 +- .../Model/MountsListPagedTests.cs | 76 - .../Model/PagedLinksTests.cs | 94 + .../Model/PutAlmanaxWebhookTests.cs | 4 +- .../Model/PutRSSWebhookTests.cs | 4 +- .../Model/PutTwitterWebhookTests.cs | 4 +- src/Dofusdude.Api.Test/Model/RangeTests.cs | 76 + .../Model/RecipeEntryTests.cs | 85 - src/Dofusdude.Api.Test/Model/RecipeTests.cs | 85 + src/Dofusdude.Api.Test/Model/ResourceTests.cs | 13 +- .../Model/ResourceTypeTests.cs | 76 - .../Model/RssWebhookTests.cs | 4 +- .../Model/SetEffectsEntryTests.cs | 121 - .../Model/SetEffectsEntryTypeTests.cs | 94 - .../Model/SetListEntryTests.cs | 121 - src/Dofusdude.Api.Test/Model/SetTests.cs | 112 + .../Model/SetsListPagedTests.cs | 76 - .../Model/TranslatedIdTests.cs | 76 + .../Model/TwitterWebhookTests.cs | 4 +- .../Model/WeaponRangeTests.cs | 76 - src/Dofusdude.Api.Test/Model/WeaponTests.cs | 22 +- src/Dofusdude.Api/Api/AlmanaxApi.cs | 84 +- src/Dofusdude.Api/Api/ConsumablesApi.cs | 312 +- src/Dofusdude.Api/Api/CosmeticsApi.cs | 312 +- src/Dofusdude.Api/Api/EquipmentApi.cs | 312 +- src/Dofusdude.Api/Api/GameApi.cs | 220 +- src/Dofusdude.Api/Api/MetaApi.cs | 96 +- src/Dofusdude.Api/Api/MountsApi.cs | 232 +- src/Dofusdude.Api/Api/QuestItemsApi.cs | 272 +- src/Dofusdude.Api/Api/ResourcesApi.cs | 312 +- src/Dofusdude.Api/Api/SetsApi.cs | 308 +- src/Dofusdude.Api/Api/WebhooksApi.cs | 148 +- src/Dofusdude.Api/Client/ApiClient.cs | 10 +- src/Dofusdude.Api/Client/ApiException.cs | 4 +- src/Dofusdude.Api/Client/ApiResponse.cs | 4 +- src/Dofusdude.Api/Client/ClientUtils.cs | 4 +- src/Dofusdude.Api/Client/Configuration.cs | 18 +- src/Dofusdude.Api/Client/ExceptionFactory.cs | 4 +- .../Client/GlobalConfiguration.cs | 4 +- src/Dofusdude.Api/Client/HttpMethod.cs | 4 +- src/Dofusdude.Api/Client/IApiAccessor.cs | 4 +- .../Client/IAsynchronousClient.cs | 4 +- .../Client/IReadableConfiguration.cs | 8 +- .../Client/ISynchronousClient.cs | 4 +- src/Dofusdude.Api/Client/Multimap.cs | 4 +- .../Client/OpenAPIDateConverter.cs | 4 +- src/Dofusdude.Api/Client/RequestOptions.cs | 4 +- .../Client/RetryConfiguration.cs | 4 +- src/Dofusdude.Api/Dofusdude.Api.csproj | 2 +- .../Model/AbstractOpenAPISchema.cs | 4 +- .../Model/{AlmanaxEntry.cs => Almanax.cs} | 20 +- src/Dofusdude.Api/Model/AlmanaxBonus.cs | 92 + src/Dofusdude.Api/Model/AlmanaxEntryBonus.cs | 92 - .../Model/AlmanaxEntryTribute.cs | 92 - src/Dofusdude.Api/Model/AlmanaxTribute.cs | 92 + ...ryTributeItem.cs => AlmanaxTributeItem.cs} | 18 +- src/Dofusdude.Api/Model/AlmanaxWebhook.cs | 16 +- .../Model/AlmanaxWebhookDailySettings.cs | 4 +- .../Model/{ConditionEntry.cs => Condition.cs} | 18 +- ...{ConditionTreeLeaf.cs => ConditionLeaf.cs} | 18 +- ...{ConditionTreeNode.cs => ConditionNode.cs} | 96 +- ...onTreeRelation.cs => ConditionRelation.cs} | 18 +- .../Model/CreateAlmanaxWebhook.cs | 16 +- .../CreateAlmanaxWebhookDailySettings.cs | 4 +- .../CreateAlmanaxWebhookMentionsValueInner.cs | 4 +- src/Dofusdude.Api/Model/CreateRSSWebhook.cs | 4 +- .../Model/CreateTwitterWebhook.cs | 4 +- .../Model/{EffectsEntry.cs => Effect.cs} | 18 +- .../{SetEffectsEntryType.cs => EffectType.cs} | 48 +- src/Dofusdude.Api/Model/Equipment.cs | 28 +- src/Dofusdude.Api/Model/Error.cs | 124 + src/Dofusdude.Api/Model/GameSearch.cs | 110 + src/Dofusdude.Api/Model/GameSearchItem.cs | 101 + src/Dofusdude.Api/Model/GameSearchType.cs | 83 + .../Model/GetGameSearch200ResponseInner.cs | 104 - .../GetMetaAlmanaxBonuses200ResponseInner.cs | 4 +- .../GetMetaWebhooksTwitter200Response.cs | 4 +- src/Dofusdude.Api/Model/ImageUrls.cs | 114 - src/Dofusdude.Api/Model/Images.cs | 114 + .../Model/ItemListEntryParentSet.cs | 92 - src/Dofusdude.Api/Model/ItemListEntryRange.cs | 92 - src/Dofusdude.Api/Model/ItemSubtype.cs | 93 + .../Model/ItemsListEntryTypedType.cs | 92 - src/Dofusdude.Api/Model/ItemsListPaged.cs | 92 - .../Model/{ItemListEntry.cs => ListItem.cs} | 51 +- ...msListEntryTyped.cs => ListItemGeneral.cs} | 27 +- src/Dofusdude.Api/Model/ListItems.cs | 92 + src/Dofusdude.Api/Model/ListMounts.cs | 92 + .../Model/{SetListEntry.cs => ListSet.cs} | 20 +- src/Dofusdude.Api/Model/ListSets.cs | 92 + ...aVersion200Response.cs => ModelVersion.cs} | 16 +- src/Dofusdude.Api/Model/Mount.cs | 22 +- src/Dofusdude.Api/Model/MountFamily.cs | 93 + src/Dofusdude.Api/Model/MountListEntry.cs | 119 - src/Dofusdude.Api/Model/MountsListPaged.cs | 92 - .../Model/{LinksPaged.cs => PagedLinks.cs} | 16 +- src/Dofusdude.Api/Model/PutAlmanaxWebhook.cs | 16 +- src/Dofusdude.Api/Model/PutRSSWebhook.cs | 4 +- src/Dofusdude.Api/Model/PutTwitterWebhook.cs | 4 +- src/Dofusdude.Api/Model/Range.cs | 92 + .../Model/{RecipeEntry.cs => Recipe.cs} | 16 +- src/Dofusdude.Api/Model/Resource.cs | 26 +- src/Dofusdude.Api/Model/ResourceType.cs | 98 - src/Dofusdude.Api/Model/RssWebhook.cs | 4 +- .../Model/{EquipmentSet.cs => Set.cs} | 20 +- src/Dofusdude.Api/Model/SetEffectsEntry.cs | 143 - src/Dofusdude.Api/Model/SetsListPaged.cs | 92 - src/Dofusdude.Api/Model/TranslatedId.cs | 94 + src/Dofusdude.Api/Model/TwitterWebhook.cs | 4 +- src/Dofusdude.Api/Model/Weapon.cs | 39 +- src/Dofusdude.Api/Model/WeaponRange.cs | 92 - 236 files changed, 7551 insertions(+), 9279 deletions(-) rename docs/{AlmanaxEntry.md => Almanax.md} (68%) rename docs/{AlmanaxEntryBonus.md => AlmanaxBonus.md} (91%) rename docs/{AlmanaxEntryTribute.md => AlmanaxTribute.md} (71%) rename docs/{AlmanaxEntryTributeItem.md => AlmanaxTributeItem.md} (78%) rename docs/{ConditionEntry.md => Condition.md} (73%) rename docs/{ConditionTreeLeaf.md => ConditionLeaf.md} (77%) rename docs/{ConditionTreeNode.md => ConditionNode.md} (70%) rename docs/{ConditionTreeRelation.md => ConditionRelation.md} (77%) rename docs/{EffectsEntry.md => Effect.md} (89%) rename docs/{SetEffectsEntryType.md => EffectType.md} (94%) create mode 100644 docs/Error.md rename docs/{MountListEntry.md => GameSearch.md} (61%) create mode 100644 docs/GameSearchItem.md rename docs/{ResourceType.md => GameSearchType.md} (71%) delete mode 100644 docs/GetGameSearch200ResponseInner.md rename docs/{ImageUrls.md => Images.md} (62%) delete mode 100644 docs/ItemListEntry.md rename docs/{ItemListEntryRange.md => ItemSubtype.md} (69%) delete mode 100644 docs/ItemsListEntryTyped.md delete mode 100644 docs/ItemsListPaged.md create mode 100644 docs/ListItem.md create mode 100644 docs/ListItemGeneral.md create mode 100644 docs/ListItems.md create mode 100644 docs/ListMounts.md rename docs/{SetListEntry.md => ListSet.md} (82%) create mode 100644 docs/ListSets.md rename docs/{GetMetaVersion200Response.md => ModelVersion.md} (89%) rename docs/{ItemListEntryParentSet.md => MountFamily.md} (68%) delete mode 100644 docs/MountsListPaged.md rename docs/{LinksPaged.md => PagedLinks.md} (92%) rename docs/{WeaponRange.md => Range.md} (91%) rename docs/{RecipeEntry.md => Recipe.md} (92%) rename docs/{EquipmentSet.md => Set.md} (82%) delete mode 100644 docs/SetEffectsEntry.md delete mode 100644 docs/SetsListPaged.md rename docs/{ItemsListEntryTypedType.md => TranslatedId.md} (68%) create mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxBonusTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxEntryBonusTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxEntryTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeItemTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxTributeItemTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/AlmanaxTributeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ConditionEntryTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ConditionLeafTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ConditionNodeTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ConditionRelationTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ConditionTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ConditionTreeLeafTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ConditionTreeNodeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ConditionTreeRelationTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/EffectTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/EffectTypeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/EffectsEntryTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/EquipmentSetTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ErrorTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/GameSearchItemTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/GameSearchTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/GameSearchTypeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/GetGameSearch200ResponseInnerTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/GetMetaVersion200ResponseTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ImageUrlsTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ImagesTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ItemListEntryParentSetTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ItemListEntryRangeTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ItemSubtypeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTypeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ItemsListPagedTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/LinksPagedTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ListItemGeneralTests.cs rename src/Dofusdude.Api.Test/Model/{ItemListEntryTests.cs => ListItemTests.cs} (58%) create mode 100644 src/Dofusdude.Api.Test/Model/ListItemsTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ListMountsTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ListSetTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ListSetsTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/ModelVersionTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/MountFamilyTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/MountListEntryTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/MountsListPagedTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/PagedLinksTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/RangeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/RecipeEntryTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/RecipeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/ResourceTypeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/SetEffectsEntryTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/SetEffectsEntryTypeTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/SetListEntryTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/SetTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/SetsListPagedTests.cs create mode 100644 src/Dofusdude.Api.Test/Model/TranslatedIdTests.cs delete mode 100644 src/Dofusdude.Api.Test/Model/WeaponRangeTests.cs rename src/Dofusdude.Api/Model/{AlmanaxEntry.cs => Almanax.cs} (54%) create mode 100644 src/Dofusdude.Api/Model/AlmanaxBonus.cs delete mode 100644 src/Dofusdude.Api/Model/AlmanaxEntryBonus.cs delete mode 100644 src/Dofusdude.Api/Model/AlmanaxEntryTribute.cs create mode 100644 src/Dofusdude.Api/Model/AlmanaxTribute.cs rename src/Dofusdude.Api/Model/{AlmanaxEntryTributeItem.cs => AlmanaxTributeItem.cs} (54%) rename src/Dofusdude.Api/Model/{ConditionEntry.cs => Condition.cs} (51%) rename src/Dofusdude.Api/Model/{ConditionTreeLeaf.cs => ConditionLeaf.cs} (50%) rename src/Dofusdude.Api/Model/{ConditionTreeNode.cs => ConditionNode.cs} (54%) rename src/Dofusdude.Api/Model/{ConditionTreeRelation.cs => ConditionRelation.cs} (54%) rename src/Dofusdude.Api/Model/{EffectsEntry.cs => Effect.cs} (65%) rename src/Dofusdude.Api/Model/{SetEffectsEntryType.cs => EffectType.cs} (60%) create mode 100644 src/Dofusdude.Api/Model/Error.cs create mode 100644 src/Dofusdude.Api/Model/GameSearch.cs create mode 100644 src/Dofusdude.Api/Model/GameSearchItem.cs create mode 100644 src/Dofusdude.Api/Model/GameSearchType.cs delete mode 100644 src/Dofusdude.Api/Model/GetGameSearch200ResponseInner.cs delete mode 100644 src/Dofusdude.Api/Model/ImageUrls.cs create mode 100644 src/Dofusdude.Api/Model/Images.cs delete mode 100644 src/Dofusdude.Api/Model/ItemListEntryParentSet.cs delete mode 100644 src/Dofusdude.Api/Model/ItemListEntryRange.cs create mode 100644 src/Dofusdude.Api/Model/ItemSubtype.cs delete mode 100644 src/Dofusdude.Api/Model/ItemsListEntryTypedType.cs delete mode 100644 src/Dofusdude.Api/Model/ItemsListPaged.cs rename src/Dofusdude.Api/Model/{ItemListEntry.cs => ListItem.cs} (61%) rename src/Dofusdude.Api/Model/{ItemsListEntryTyped.cs => ListItemGeneral.cs} (51%) create mode 100644 src/Dofusdude.Api/Model/ListItems.cs create mode 100644 src/Dofusdude.Api/Model/ListMounts.cs rename src/Dofusdude.Api/Model/{SetListEntry.cs => ListSet.cs} (58%) create mode 100644 src/Dofusdude.Api/Model/ListSets.cs rename src/Dofusdude.Api/Model/{GetMetaVersion200Response.cs => ModelVersion.cs} (51%) create mode 100644 src/Dofusdude.Api/Model/MountFamily.cs delete mode 100644 src/Dofusdude.Api/Model/MountListEntry.cs delete mode 100644 src/Dofusdude.Api/Model/MountsListPaged.cs rename src/Dofusdude.Api/Model/{LinksPaged.cs => PagedLinks.cs} (55%) create mode 100644 src/Dofusdude.Api/Model/Range.cs rename src/Dofusdude.Api/Model/{RecipeEntry.cs => Recipe.cs} (52%) delete mode 100644 src/Dofusdude.Api/Model/ResourceType.cs rename src/Dofusdude.Api/Model/{EquipmentSet.cs => Set.cs} (57%) delete mode 100644 src/Dofusdude.Api/Model/SetEffectsEntry.cs delete mode 100644 src/Dofusdude.Api/Model/SetsListPaged.cs create mode 100644 src/Dofusdude.Api/Model/TranslatedId.cs delete mode 100644 src/Dofusdude.Api/Model/WeaponRange.cs diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bc82585..82463c0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,4 +18,4 @@ jobs: - name: Publish env: NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}} - run: dotnet nuget push --api-key "$NUGET_AUTH_TOKEN" --source https://api.nuget.org/v3/index.json src/Dofusdude.Api/bin/Release/Dofusdude.Api.0.9.4.nupkg + run: dotnet nuget push --api-key "$NUGET_AUTH_TOKEN" --source https://api.nuget.org/v3/index.json src/Dofusdude.Api/bin/Release/Dofusdude.Api.1.0.0-rc.2.nupkg diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 7ffd2a0..42bd888 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,17 +4,17 @@ Dofusdude.Api.sln README.md api/openapi.yaml appveyor.yml +docs/Almanax.md docs/AlmanaxApi.md -docs/AlmanaxEntry.md -docs/AlmanaxEntryBonus.md -docs/AlmanaxEntryTribute.md -docs/AlmanaxEntryTributeItem.md +docs/AlmanaxBonus.md +docs/AlmanaxTribute.md +docs/AlmanaxTributeItem.md docs/AlmanaxWebhook.md docs/AlmanaxWebhookDailySettings.md -docs/ConditionEntry.md -docs/ConditionTreeLeaf.md -docs/ConditionTreeNode.md -docs/ConditionTreeRelation.md +docs/Condition.md +docs/ConditionLeaf.md +docs/ConditionNode.md +docs/ConditionRelation.md docs/ConsumablesApi.md docs/CosmeticsApi.md docs/CreateAlmanaxWebhook.md @@ -22,45 +22,45 @@ docs/CreateAlmanaxWebhookDailySettings.md docs/CreateAlmanaxWebhookMentionsValueInner.md docs/CreateRSSWebhook.md docs/CreateTwitterWebhook.md -docs/EffectsEntry.md +docs/Effect.md +docs/EffectType.md docs/Equipment.md docs/EquipmentApi.md -docs/EquipmentSet.md +docs/Error.md docs/GameApi.md -docs/GetGameSearch200ResponseInner.md +docs/GameSearch.md +docs/GameSearchItem.md +docs/GameSearchType.md docs/GetMetaAlmanaxBonuses200ResponseInner.md -docs/GetMetaVersion200Response.md docs/GetMetaWebhooksTwitter200Response.md -docs/ImageUrls.md -docs/ItemListEntry.md -docs/ItemListEntryParentSet.md -docs/ItemListEntryRange.md -docs/ItemsListEntryTyped.md -docs/ItemsListEntryTypedType.md -docs/ItemsListPaged.md -docs/LinksPaged.md +docs/Images.md +docs/ItemSubtype.md +docs/ListItem.md +docs/ListItemGeneral.md +docs/ListItems.md +docs/ListMounts.md +docs/ListSet.md +docs/ListSets.md docs/MetaApi.md +docs/ModelVersion.md docs/Mount.md -docs/MountListEntry.md +docs/MountFamily.md docs/MountsApi.md -docs/MountsListPaged.md +docs/PagedLinks.md docs/PutAlmanaxWebhook.md docs/PutRSSWebhook.md docs/PutTwitterWebhook.md docs/QuestItemsApi.md -docs/RecipeEntry.md +docs/Range.md +docs/Recipe.md docs/Resource.md -docs/ResourceType.md docs/ResourcesApi.md docs/RssWebhook.md -docs/SetEffectsEntry.md -docs/SetEffectsEntryType.md -docs/SetListEntry.md +docs/Set.md docs/SetsApi.md -docs/SetsListPaged.md +docs/TranslatedId.md docs/TwitterWebhook.md docs/Weapon.md -docs/WeaponRange.md docs/WebhooksApi.md git_push.sh src/Dofusdude.Api.Test/Api/AlmanaxApiTests.cs @@ -75,52 +75,52 @@ src/Dofusdude.Api.Test/Api/ResourcesApiTests.cs src/Dofusdude.Api.Test/Api/SetsApiTests.cs src/Dofusdude.Api.Test/Api/WebhooksApiTests.cs src/Dofusdude.Api.Test/Dofusdude.Api.Test.csproj -src/Dofusdude.Api.Test/Model/AlmanaxEntryBonusTests.cs -src/Dofusdude.Api.Test/Model/AlmanaxEntryTests.cs -src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeItemTests.cs -src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeTests.cs +src/Dofusdude.Api.Test/Model/AlmanaxBonusTests.cs +src/Dofusdude.Api.Test/Model/AlmanaxTests.cs +src/Dofusdude.Api.Test/Model/AlmanaxTributeItemTests.cs +src/Dofusdude.Api.Test/Model/AlmanaxTributeTests.cs src/Dofusdude.Api.Test/Model/AlmanaxWebhookDailySettingsTests.cs src/Dofusdude.Api.Test/Model/AlmanaxWebhookTests.cs -src/Dofusdude.Api.Test/Model/ConditionEntryTests.cs -src/Dofusdude.Api.Test/Model/ConditionTreeLeafTests.cs -src/Dofusdude.Api.Test/Model/ConditionTreeNodeTests.cs -src/Dofusdude.Api.Test/Model/ConditionTreeRelationTests.cs +src/Dofusdude.Api.Test/Model/ConditionLeafTests.cs +src/Dofusdude.Api.Test/Model/ConditionNodeTests.cs +src/Dofusdude.Api.Test/Model/ConditionRelationTests.cs +src/Dofusdude.Api.Test/Model/ConditionTests.cs src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookDailySettingsTests.cs src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookMentionsValueInnerTests.cs src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookTests.cs src/Dofusdude.Api.Test/Model/CreateRSSWebhookTests.cs src/Dofusdude.Api.Test/Model/CreateTwitterWebhookTests.cs -src/Dofusdude.Api.Test/Model/EffectsEntryTests.cs -src/Dofusdude.Api.Test/Model/EquipmentSetTests.cs +src/Dofusdude.Api.Test/Model/EffectTests.cs +src/Dofusdude.Api.Test/Model/EffectTypeTests.cs src/Dofusdude.Api.Test/Model/EquipmentTests.cs -src/Dofusdude.Api.Test/Model/GetGameSearch200ResponseInnerTests.cs +src/Dofusdude.Api.Test/Model/ErrorTests.cs +src/Dofusdude.Api.Test/Model/GameSearchItemTests.cs +src/Dofusdude.Api.Test/Model/GameSearchTests.cs +src/Dofusdude.Api.Test/Model/GameSearchTypeTests.cs src/Dofusdude.Api.Test/Model/GetMetaAlmanaxBonuses200ResponseInnerTests.cs -src/Dofusdude.Api.Test/Model/GetMetaVersion200ResponseTests.cs src/Dofusdude.Api.Test/Model/GetMetaWebhooksTwitter200ResponseTests.cs -src/Dofusdude.Api.Test/Model/ImageUrlsTests.cs -src/Dofusdude.Api.Test/Model/ItemListEntryParentSetTests.cs -src/Dofusdude.Api.Test/Model/ItemListEntryRangeTests.cs -src/Dofusdude.Api.Test/Model/ItemListEntryTests.cs -src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTests.cs -src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTypeTests.cs -src/Dofusdude.Api.Test/Model/ItemsListPagedTests.cs -src/Dofusdude.Api.Test/Model/LinksPagedTests.cs -src/Dofusdude.Api.Test/Model/MountListEntryTests.cs +src/Dofusdude.Api.Test/Model/ImagesTests.cs +src/Dofusdude.Api.Test/Model/ItemSubtypeTests.cs +src/Dofusdude.Api.Test/Model/ListItemGeneralTests.cs +src/Dofusdude.Api.Test/Model/ListItemTests.cs +src/Dofusdude.Api.Test/Model/ListItemsTests.cs +src/Dofusdude.Api.Test/Model/ListMountsTests.cs +src/Dofusdude.Api.Test/Model/ListSetTests.cs +src/Dofusdude.Api.Test/Model/ListSetsTests.cs +src/Dofusdude.Api.Test/Model/ModelVersionTests.cs +src/Dofusdude.Api.Test/Model/MountFamilyTests.cs src/Dofusdude.Api.Test/Model/MountTests.cs -src/Dofusdude.Api.Test/Model/MountsListPagedTests.cs +src/Dofusdude.Api.Test/Model/PagedLinksTests.cs src/Dofusdude.Api.Test/Model/PutAlmanaxWebhookTests.cs src/Dofusdude.Api.Test/Model/PutRSSWebhookTests.cs src/Dofusdude.Api.Test/Model/PutTwitterWebhookTests.cs -src/Dofusdude.Api.Test/Model/RecipeEntryTests.cs +src/Dofusdude.Api.Test/Model/RangeTests.cs +src/Dofusdude.Api.Test/Model/RecipeTests.cs src/Dofusdude.Api.Test/Model/ResourceTests.cs -src/Dofusdude.Api.Test/Model/ResourceTypeTests.cs src/Dofusdude.Api.Test/Model/RssWebhookTests.cs -src/Dofusdude.Api.Test/Model/SetEffectsEntryTests.cs -src/Dofusdude.Api.Test/Model/SetEffectsEntryTypeTests.cs -src/Dofusdude.Api.Test/Model/SetListEntryTests.cs -src/Dofusdude.Api.Test/Model/SetsListPagedTests.cs +src/Dofusdude.Api.Test/Model/SetTests.cs +src/Dofusdude.Api.Test/Model/TranslatedIdTests.cs src/Dofusdude.Api.Test/Model/TwitterWebhookTests.cs -src/Dofusdude.Api.Test/Model/WeaponRangeTests.cs src/Dofusdude.Api.Test/Model/WeaponTests.cs src/Dofusdude.Api/Api/AlmanaxApi.cs src/Dofusdude.Api/Api/ConsumablesApi.cs @@ -151,50 +151,50 @@ src/Dofusdude.Api/Client/RequestOptions.cs src/Dofusdude.Api/Client/RetryConfiguration.cs src/Dofusdude.Api/Dofusdude.Api.csproj src/Dofusdude.Api/Model/AbstractOpenAPISchema.cs -src/Dofusdude.Api/Model/AlmanaxEntry.cs -src/Dofusdude.Api/Model/AlmanaxEntryBonus.cs -src/Dofusdude.Api/Model/AlmanaxEntryTribute.cs -src/Dofusdude.Api/Model/AlmanaxEntryTributeItem.cs +src/Dofusdude.Api/Model/Almanax.cs +src/Dofusdude.Api/Model/AlmanaxBonus.cs +src/Dofusdude.Api/Model/AlmanaxTribute.cs +src/Dofusdude.Api/Model/AlmanaxTributeItem.cs src/Dofusdude.Api/Model/AlmanaxWebhook.cs src/Dofusdude.Api/Model/AlmanaxWebhookDailySettings.cs -src/Dofusdude.Api/Model/ConditionEntry.cs -src/Dofusdude.Api/Model/ConditionTreeLeaf.cs -src/Dofusdude.Api/Model/ConditionTreeNode.cs -src/Dofusdude.Api/Model/ConditionTreeRelation.cs +src/Dofusdude.Api/Model/Condition.cs +src/Dofusdude.Api/Model/ConditionLeaf.cs +src/Dofusdude.Api/Model/ConditionNode.cs +src/Dofusdude.Api/Model/ConditionRelation.cs src/Dofusdude.Api/Model/CreateAlmanaxWebhook.cs src/Dofusdude.Api/Model/CreateAlmanaxWebhookDailySettings.cs src/Dofusdude.Api/Model/CreateAlmanaxWebhookMentionsValueInner.cs src/Dofusdude.Api/Model/CreateRSSWebhook.cs src/Dofusdude.Api/Model/CreateTwitterWebhook.cs -src/Dofusdude.Api/Model/EffectsEntry.cs +src/Dofusdude.Api/Model/Effect.cs +src/Dofusdude.Api/Model/EffectType.cs src/Dofusdude.Api/Model/Equipment.cs -src/Dofusdude.Api/Model/EquipmentSet.cs -src/Dofusdude.Api/Model/GetGameSearch200ResponseInner.cs +src/Dofusdude.Api/Model/Error.cs +src/Dofusdude.Api/Model/GameSearch.cs +src/Dofusdude.Api/Model/GameSearchItem.cs +src/Dofusdude.Api/Model/GameSearchType.cs src/Dofusdude.Api/Model/GetMetaAlmanaxBonuses200ResponseInner.cs -src/Dofusdude.Api/Model/GetMetaVersion200Response.cs src/Dofusdude.Api/Model/GetMetaWebhooksTwitter200Response.cs -src/Dofusdude.Api/Model/ImageUrls.cs -src/Dofusdude.Api/Model/ItemListEntry.cs -src/Dofusdude.Api/Model/ItemListEntryParentSet.cs -src/Dofusdude.Api/Model/ItemListEntryRange.cs -src/Dofusdude.Api/Model/ItemsListEntryTyped.cs -src/Dofusdude.Api/Model/ItemsListEntryTypedType.cs -src/Dofusdude.Api/Model/ItemsListPaged.cs -src/Dofusdude.Api/Model/LinksPaged.cs +src/Dofusdude.Api/Model/Images.cs +src/Dofusdude.Api/Model/ItemSubtype.cs +src/Dofusdude.Api/Model/ListItem.cs +src/Dofusdude.Api/Model/ListItemGeneral.cs +src/Dofusdude.Api/Model/ListItems.cs +src/Dofusdude.Api/Model/ListMounts.cs +src/Dofusdude.Api/Model/ListSet.cs +src/Dofusdude.Api/Model/ListSets.cs +src/Dofusdude.Api/Model/ModelVersion.cs src/Dofusdude.Api/Model/Mount.cs -src/Dofusdude.Api/Model/MountListEntry.cs -src/Dofusdude.Api/Model/MountsListPaged.cs +src/Dofusdude.Api/Model/MountFamily.cs +src/Dofusdude.Api/Model/PagedLinks.cs src/Dofusdude.Api/Model/PutAlmanaxWebhook.cs src/Dofusdude.Api/Model/PutRSSWebhook.cs src/Dofusdude.Api/Model/PutTwitterWebhook.cs -src/Dofusdude.Api/Model/RecipeEntry.cs +src/Dofusdude.Api/Model/Range.cs +src/Dofusdude.Api/Model/Recipe.cs src/Dofusdude.Api/Model/Resource.cs -src/Dofusdude.Api/Model/ResourceType.cs src/Dofusdude.Api/Model/RssWebhook.cs -src/Dofusdude.Api/Model/SetEffectsEntry.cs -src/Dofusdude.Api/Model/SetEffectsEntryType.cs -src/Dofusdude.Api/Model/SetListEntry.cs -src/Dofusdude.Api/Model/SetsListPaged.cs +src/Dofusdude.Api/Model/Set.cs +src/Dofusdude.Api/Model/TranslatedId.cs src/Dofusdude.Api/Model/TwitterWebhook.cs src/Dofusdude.Api/Model/Weapon.cs -src/Dofusdude.Api/Model/WeaponRange.cs diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 6935482..8841191 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.10.0-SNAPSHOT +7.11.0-SNAPSHOT diff --git a/Dofusdude.Api.sln b/Dofusdude.Api.sln index 4231aa6..c938a43 100644 --- a/Dofusdude.Api.sln +++ b/Dofusdude.Api.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 VisualStudioVersion = 12.0.0.0 MinimumVisualStudioVersion = 10.0.0.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api", "src\Dofusdude.Api\Dofusdude.Api.csproj", "{2FE827E2-9489-471B-84AD-A7D1C690FD58}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api", "src\Dofusdude.Api\Dofusdude.Api.csproj", "{24B4D870-7DA0-4792-BA85-ECACF5277C1E}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api.Test", "src\Dofusdude.Api.Test\Dofusdude.Api.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2FE827E2-9489-471B-84AD-A7D1C690FD58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2FE827E2-9489-471B-84AD-A7D1C690FD58}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2FE827E2-9489-471B-84AD-A7D1C690FD58}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2FE827E2-9489-471B-84AD-A7D1C690FD58}.Release|Any CPU.Build.0 = Release|Any CPU + {24B4D870-7DA0-4792-BA85-ECACF5277C1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {24B4D870-7DA0-4792-BA85-ECACF5277C1E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {24B4D870-7DA0-4792-BA85-ECACF5277C1E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {24B4D870-7DA0-4792-BA85-ECACF5277C1E}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/README.md b/README.md index f519a42..d9d366c 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,18 @@ # Dofusdude.Api - the C# library for the dofusdude -# A project for you - the developer. +# Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. +## Versions +- [Dofus 2](https://docs.dofusdu.de/dofus2/) +- [Dofus 3](https://docs.dofusdu.de/dofus3/) + - v1 [latest] (you are here) + ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` -- [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. @@ -20,26 +24,24 @@ Your favorite language is missing? Please let me know! - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. -- 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. +- 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. -- 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. +- 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. -- 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. +- 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. -- 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - -- 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. +- 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 0.9.4 -- SDK version: 0.9.4 -- Generator version: 7.10.0-SNAPSHOT +- API version: 1.0.0-rc.2 +- SDK version: 1.0.0-rc.2 +- Generator version: 7.11.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.CSharpClientCodegen For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h) @@ -127,7 +129,7 @@ namespace Example try { // Single Almanax Date - AlmanaxEntry result = apiInstance.GetAlmanaxDate(language, date); + Almanax result = apiInstance.GetAlmanaxDate(language, date); Debug.WriteLine(result); } catch (ApiException e) @@ -149,44 +151,44 @@ All URIs are relative to *https://api.dofusdu.de* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AlmanaxApi* | [**GetAlmanaxDate**](docs/AlmanaxApi.md#getalmanaxdate) | **GET** /dofus2/{language}/almanax/{date} | Single Almanax Date -*AlmanaxApi* | [**GetAlmanaxRange**](docs/AlmanaxApi.md#getalmanaxrange) | **GET** /dofus2/{language}/almanax | Almanax Range -*ConsumablesApi* | [**GetAllItemsConsumablesList**](docs/ConsumablesApi.md#getallitemsconsumableslist) | **GET** /{game}/{language}/items/consumables/all | List All Consumables -*ConsumablesApi* | [**GetItemsConsumablesList**](docs/ConsumablesApi.md#getitemsconsumableslist) | **GET** /{game}/{language}/items/consumables | List Consumables -*ConsumablesApi* | [**GetItemsConsumablesSearch**](docs/ConsumablesApi.md#getitemsconsumablessearch) | **GET** /{game}/{language}/items/consumables/search | Search Consumables -*ConsumablesApi* | [**GetItemsConsumablesSingle**](docs/ConsumablesApi.md#getitemsconsumablessingle) | **GET** /{game}/{language}/items/consumables/{ankama_id} | Single Consumables -*CosmeticsApi* | [**GetAllCosmeticsList**](docs/CosmeticsApi.md#getallcosmeticslist) | **GET** /{game}/{language}/items/cosmetics/all | List All Cosmetics -*CosmeticsApi* | [**GetCosmeticsList**](docs/CosmeticsApi.md#getcosmeticslist) | **GET** /{game}/{language}/items/cosmetics | List Cosmetics -*CosmeticsApi* | [**GetCosmeticsSearch**](docs/CosmeticsApi.md#getcosmeticssearch) | **GET** /{game}/{language}/items/cosmetics/search | Search Cosmetics -*CosmeticsApi* | [**GetCosmeticsSingle**](docs/CosmeticsApi.md#getcosmeticssingle) | **GET** /{game}/{language}/items/cosmetics/{ankama_id} | Single Cosmetics -*EquipmentApi* | [**GetAllItemsEquipmentList**](docs/EquipmentApi.md#getallitemsequipmentlist) | **GET** /{game}/{language}/items/equipment/all | List All Equipment -*EquipmentApi* | [**GetItemsEquipmentList**](docs/EquipmentApi.md#getitemsequipmentlist) | **GET** /{game}/{language}/items/equipment | List Equipment -*EquipmentApi* | [**GetItemsEquipmentSearch**](docs/EquipmentApi.md#getitemsequipmentsearch) | **GET** /{game}/{language}/items/equipment/search | Search Equipment -*EquipmentApi* | [**GetItemsEquipmentSingle**](docs/EquipmentApi.md#getitemsequipmentsingle) | **GET** /{game}/{language}/items/equipment/{ankama_id} | Single Equipment -*GameApi* | [**GetGameSearch**](docs/GameApi.md#getgamesearch) | **GET** /{game}/{language}/search | Game Search -*GameApi* | [**GetItemsAllSearch**](docs/GameApi.md#getitemsallsearch) | **GET** /{game}/{language}/items/search | Search All Items -*MetaApi* | [**GetGameSearchTypes**](docs/MetaApi.md#getgamesearchtypes) | **GET** /dofus2/meta/search/types | Available Game Search Types -*MetaApi* | [**GetItemTypes**](docs/MetaApi.md#getitemtypes) | **GET** /dofus2/meta/items/types | Available Item Types -*MetaApi* | [**GetMetaAlmanaxBonuses**](docs/MetaApi.md#getmetaalmanaxbonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses -*MetaApi* | [**GetMetaAlmanaxBonusesSearch**](docs/MetaApi.md#getmetaalmanaxbonusessearch) | **GET** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses -*MetaApi* | [**GetMetaElements**](docs/MetaApi.md#getmetaelements) | **GET** /dofus2/meta/elements | Effects and Condition Elements -*MetaApi* | [**GetMetaVersion**](docs/MetaApi.md#getmetaversion) | **GET** /dofus2/meta/version | Game Version -*MountsApi* | [**GetAllMountsList**](docs/MountsApi.md#getallmountslist) | **GET** /{game}/{language}/mounts/all | List All Mounts -*MountsApi* | [**GetMountsList**](docs/MountsApi.md#getmountslist) | **GET** /{game}/{language}/mounts | List Mounts -*MountsApi* | [**GetMountsSearch**](docs/MountsApi.md#getmountssearch) | **GET** /{game}/{language}/mounts/search | Search Mounts -*MountsApi* | [**GetMountsSingle**](docs/MountsApi.md#getmountssingle) | **GET** /{game}/{language}/mounts/{ankama_id} | Single Mounts -*QuestItemsApi* | [**GetAllItemsQuestList**](docs/QuestItemsApi.md#getallitemsquestlist) | **GET** /{game}/{language}/items/quest/all | List All Quest Items -*QuestItemsApi* | [**GetItemQuestSingle**](docs/QuestItemsApi.md#getitemquestsingle) | **GET** /{game}/{language}/items/quest/{ankama_id} | Single Quest Items -*QuestItemsApi* | [**GetItemsQuestList**](docs/QuestItemsApi.md#getitemsquestlist) | **GET** /{game}/{language}/items/quest | List Quest Items -*QuestItemsApi* | [**GetItemsQuestSearch**](docs/QuestItemsApi.md#getitemsquestsearch) | **GET** /{game}/{language}/items/quest/search | Search Quest Items -*ResourcesApi* | [**GetAllItemsResourcesList**](docs/ResourcesApi.md#getallitemsresourceslist) | **GET** /{game}/{language}/items/resources/all | List All Resources -*ResourcesApi* | [**GetItemsResourceSearch**](docs/ResourcesApi.md#getitemsresourcesearch) | **GET** /{game}/{language}/items/resources/search | Search Resources -*ResourcesApi* | [**GetItemsResourcesList**](docs/ResourcesApi.md#getitemsresourceslist) | **GET** /{game}/{language}/items/resources | List Resources -*ResourcesApi* | [**GetItemsResourcesSingle**](docs/ResourcesApi.md#getitemsresourcessingle) | **GET** /{game}/{language}/items/resources/{ankama_id} | Single Resources -*SetsApi* | [**GetAllSetsList**](docs/SetsApi.md#getallsetslist) | **GET** /{game}/{language}/sets/all | List All Sets -*SetsApi* | [**GetSetsList**](docs/SetsApi.md#getsetslist) | **GET** /{game}/{language}/sets | List Sets -*SetsApi* | [**GetSetsSearch**](docs/SetsApi.md#getsetssearch) | **GET** /{game}/{language}/sets/search | Search Sets -*SetsApi* | [**GetSetsSingle**](docs/SetsApi.md#getsetssingle) | **GET** /{game}/{language}/sets/{ankama_id} | Single Sets +*AlmanaxApi* | [**GetAlmanaxDate**](docs/AlmanaxApi.md#getalmanaxdate) | **GET** /dofus3/{language}/almanax/{date} | Single Almanax Date +*AlmanaxApi* | [**GetAlmanaxRange**](docs/AlmanaxApi.md#getalmanaxrange) | **GET** /dofus3/{language}/almanax | Almanax Range +*ConsumablesApi* | [**GetAllItemsConsumablesList**](docs/ConsumablesApi.md#getallitemsconsumableslist) | **GET** /{game}/v1/{language}/items/consumables/all | List All Consumables +*ConsumablesApi* | [**GetItemsConsumablesList**](docs/ConsumablesApi.md#getitemsconsumableslist) | **GET** /{game}/v1/{language}/items/consumables | List Consumables +*ConsumablesApi* | [**GetItemsConsumablesSearch**](docs/ConsumablesApi.md#getitemsconsumablessearch) | **GET** /{game}/v1/{language}/items/consumables/search | Search Consumables +*ConsumablesApi* | [**GetItemsConsumablesSingle**](docs/ConsumablesApi.md#getitemsconsumablessingle) | **GET** /{game}/v1/{language}/items/consumables/{ankama_id} | Single Consumables +*CosmeticsApi* | [**GetAllCosmeticsList**](docs/CosmeticsApi.md#getallcosmeticslist) | **GET** /{game}/v1/{language}/items/cosmetics/all | List All Cosmetics +*CosmeticsApi* | [**GetCosmeticsList**](docs/CosmeticsApi.md#getcosmeticslist) | **GET** /{game}/v1/{language}/items/cosmetics | List Cosmetics +*CosmeticsApi* | [**GetCosmeticsSearch**](docs/CosmeticsApi.md#getcosmeticssearch) | **GET** /{game}/v1/{language}/items/cosmetics/search | Search Cosmetics +*CosmeticsApi* | [**GetCosmeticsSingle**](docs/CosmeticsApi.md#getcosmeticssingle) | **GET** /{game}/v1/{language}/items/cosmetics/{ankama_id} | Single Cosmetics +*EquipmentApi* | [**GetAllItemsEquipmentList**](docs/EquipmentApi.md#getallitemsequipmentlist) | **GET** /{game}/v1/{language}/items/equipment/all | List All Equipment +*EquipmentApi* | [**GetItemsEquipmentList**](docs/EquipmentApi.md#getitemsequipmentlist) | **GET** /{game}/v1/{language}/items/equipment | List Equipment +*EquipmentApi* | [**GetItemsEquipmentSearch**](docs/EquipmentApi.md#getitemsequipmentsearch) | **GET** /{game}/v1/{language}/items/equipment/search | Search Equipment +*EquipmentApi* | [**GetItemsEquipmentSingle**](docs/EquipmentApi.md#getitemsequipmentsingle) | **GET** /{game}/v1/{language}/items/equipment/{ankama_id} | Single Equipment +*GameApi* | [**GetGameSearch**](docs/GameApi.md#getgamesearch) | **GET** /{game}/v1/{language}/search | Game Search +*GameApi* | [**GetItemsAllSearch**](docs/GameApi.md#getitemsallsearch) | **GET** /{game}/v1/{language}/items/search | Search All Items +*MetaApi* | [**GetGameSearchTypes**](docs/MetaApi.md#getgamesearchtypes) | **GET** /dofus3/meta/search/types | Available Game Search Types +*MetaApi* | [**GetItemTypes**](docs/MetaApi.md#getitemtypes) | **GET** /dofus3/meta/items/types | Available Item Types +*MetaApi* | [**GetMetaAlmanaxBonuses**](docs/MetaApi.md#getmetaalmanaxbonuses) | **GET** /dofus3/meta/{language}/almanax/bonuses | Available Almanax Bonuses +*MetaApi* | [**GetMetaAlmanaxBonusesSearch**](docs/MetaApi.md#getmetaalmanaxbonusessearch) | **GET** /dofus3/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses +*MetaApi* | [**GetMetaElements**](docs/MetaApi.md#getmetaelements) | **GET** /dofus3/meta/elements | Effects and Condition Elements +*MetaApi* | [**GetMetaVersion**](docs/MetaApi.md#getmetaversion) | **GET** /dofus3/meta/version | Game Version +*MountsApi* | [**GetAllMountsList**](docs/MountsApi.md#getallmountslist) | **GET** /{game}/v1/{language}/mounts/all | List All Mounts +*MountsApi* | [**GetMountsList**](docs/MountsApi.md#getmountslist) | **GET** /{game}/v1/{language}/mounts | List Mounts +*MountsApi* | [**GetMountsSearch**](docs/MountsApi.md#getmountssearch) | **GET** /{game}/v1/{language}/mounts/search | Search Mounts +*MountsApi* | [**GetMountsSingle**](docs/MountsApi.md#getmountssingle) | **GET** /{game}/v1/{language}/mounts/{ankama_id} | Single Mounts +*QuestItemsApi* | [**GetAllItemsQuestList**](docs/QuestItemsApi.md#getallitemsquestlist) | **GET** /{game}/v1/{language}/items/quest/all | List All Quest Items +*QuestItemsApi* | [**GetItemQuestSingle**](docs/QuestItemsApi.md#getitemquestsingle) | **GET** /{game}/v1/{language}/items/quest/{ankama_id} | Single Quest Items +*QuestItemsApi* | [**GetItemsQuestList**](docs/QuestItemsApi.md#getitemsquestlist) | **GET** /{game}/v1/{language}/items/quest | List Quest Items +*QuestItemsApi* | [**GetItemsQuestSearch**](docs/QuestItemsApi.md#getitemsquestsearch) | **GET** /{game}/v1/{language}/items/quest/search | Search Quest Items +*ResourcesApi* | [**GetAllItemsResourcesList**](docs/ResourcesApi.md#getallitemsresourceslist) | **GET** /{game}/v1/{language}/items/resources/all | List All Resources +*ResourcesApi* | [**GetItemsResourceSearch**](docs/ResourcesApi.md#getitemsresourcesearch) | **GET** /{game}/v1/{language}/items/resources/search | Search Resources +*ResourcesApi* | [**GetItemsResourcesList**](docs/ResourcesApi.md#getitemsresourceslist) | **GET** /{game}/v1/{language}/items/resources | List Resources +*ResourcesApi* | [**GetItemsResourcesSingle**](docs/ResourcesApi.md#getitemsresourcessingle) | **GET** /{game}/v1/{language}/items/resources/{ankama_id} | Single Resources +*SetsApi* | [**GetAllSetsList**](docs/SetsApi.md#getallsetslist) | **GET** /{game}/v1/{language}/sets/all | List All Sets +*SetsApi* | [**GetSetsList**](docs/SetsApi.md#getsetslist) | **GET** /{game}/v1/{language}/sets | List Sets +*SetsApi* | [**GetSetsSearch**](docs/SetsApi.md#getsetssearch) | **GET** /{game}/v1/{language}/sets/search | Search Sets +*SetsApi* | [**GetSetsSingle**](docs/SetsApi.md#getsetssingle) | **GET** /{game}/v1/{language}/sets/{ankama_id} | Single Sets *WebhooksApi* | [**DeleteWebhooksAlmanaxId**](docs/WebhooksApi.md#deletewebhooksalmanaxid) | **DELETE** /webhooks/almanax/{id} | Unregister Almanax Hook *WebhooksApi* | [**DeleteWebhooksRssId**](docs/WebhooksApi.md#deletewebhooksrssid) | **DELETE** /webhooks/rss/{id} | Unregister RSS Hook *WebhooksApi* | [**DeleteWebhooksTwitterId**](docs/WebhooksApi.md#deletewebhookstwitterid) | **DELETE** /webhooks/twitter/{id} | Unregister Twitter Hook @@ -207,53 +209,53 @@ Class | Method | HTTP request | Description ## Documentation for Models - - [Model.AlmanaxEntry](docs/AlmanaxEntry.md) - - [Model.AlmanaxEntryBonus](docs/AlmanaxEntryBonus.md) - - [Model.AlmanaxEntryTribute](docs/AlmanaxEntryTribute.md) - - [Model.AlmanaxEntryTributeItem](docs/AlmanaxEntryTributeItem.md) + - [Model.Almanax](docs/Almanax.md) + - [Model.AlmanaxBonus](docs/AlmanaxBonus.md) + - [Model.AlmanaxTribute](docs/AlmanaxTribute.md) + - [Model.AlmanaxTributeItem](docs/AlmanaxTributeItem.md) - [Model.AlmanaxWebhook](docs/AlmanaxWebhook.md) - [Model.AlmanaxWebhookDailySettings](docs/AlmanaxWebhookDailySettings.md) - - [Model.ConditionEntry](docs/ConditionEntry.md) - - [Model.ConditionTreeLeaf](docs/ConditionTreeLeaf.md) - - [Model.ConditionTreeNode](docs/ConditionTreeNode.md) - - [Model.ConditionTreeRelation](docs/ConditionTreeRelation.md) + - [Model.Condition](docs/Condition.md) + - [Model.ConditionLeaf](docs/ConditionLeaf.md) + - [Model.ConditionNode](docs/ConditionNode.md) + - [Model.ConditionRelation](docs/ConditionRelation.md) - [Model.CreateAlmanaxWebhook](docs/CreateAlmanaxWebhook.md) - [Model.CreateAlmanaxWebhookDailySettings](docs/CreateAlmanaxWebhookDailySettings.md) - [Model.CreateAlmanaxWebhookMentionsValueInner](docs/CreateAlmanaxWebhookMentionsValueInner.md) - [Model.CreateRSSWebhook](docs/CreateRSSWebhook.md) - [Model.CreateTwitterWebhook](docs/CreateTwitterWebhook.md) - - [Model.EffectsEntry](docs/EffectsEntry.md) + - [Model.Effect](docs/Effect.md) + - [Model.EffectType](docs/EffectType.md) - [Model.Equipment](docs/Equipment.md) - - [Model.EquipmentSet](docs/EquipmentSet.md) - - [Model.GetGameSearch200ResponseInner](docs/GetGameSearch200ResponseInner.md) + - [Model.Error](docs/Error.md) + - [Model.GameSearch](docs/GameSearch.md) + - [Model.GameSearchItem](docs/GameSearchItem.md) + - [Model.GameSearchType](docs/GameSearchType.md) - [Model.GetMetaAlmanaxBonuses200ResponseInner](docs/GetMetaAlmanaxBonuses200ResponseInner.md) - - [Model.GetMetaVersion200Response](docs/GetMetaVersion200Response.md) - [Model.GetMetaWebhooksTwitter200Response](docs/GetMetaWebhooksTwitter200Response.md) - - [Model.ImageUrls](docs/ImageUrls.md) - - [Model.ItemListEntry](docs/ItemListEntry.md) - - [Model.ItemListEntryParentSet](docs/ItemListEntryParentSet.md) - - [Model.ItemListEntryRange](docs/ItemListEntryRange.md) - - [Model.ItemsListEntryTyped](docs/ItemsListEntryTyped.md) - - [Model.ItemsListEntryTypedType](docs/ItemsListEntryTypedType.md) - - [Model.ItemsListPaged](docs/ItemsListPaged.md) - - [Model.LinksPaged](docs/LinksPaged.md) + - [Model.Images](docs/Images.md) + - [Model.ItemSubtype](docs/ItemSubtype.md) + - [Model.ListItem](docs/ListItem.md) + - [Model.ListItemGeneral](docs/ListItemGeneral.md) + - [Model.ListItems](docs/ListItems.md) + - [Model.ListMounts](docs/ListMounts.md) + - [Model.ListSet](docs/ListSet.md) + - [Model.ListSets](docs/ListSets.md) + - [Model.ModelVersion](docs/ModelVersion.md) - [Model.Mount](docs/Mount.md) - - [Model.MountListEntry](docs/MountListEntry.md) - - [Model.MountsListPaged](docs/MountsListPaged.md) + - [Model.MountFamily](docs/MountFamily.md) + - [Model.PagedLinks](docs/PagedLinks.md) - [Model.PutAlmanaxWebhook](docs/PutAlmanaxWebhook.md) - [Model.PutRSSWebhook](docs/PutRSSWebhook.md) - [Model.PutTwitterWebhook](docs/PutTwitterWebhook.md) - - [Model.RecipeEntry](docs/RecipeEntry.md) + - [Model.Range](docs/Range.md) + - [Model.Recipe](docs/Recipe.md) - [Model.Resource](docs/Resource.md) - - [Model.ResourceType](docs/ResourceType.md) - [Model.RssWebhook](docs/RssWebhook.md) - - [Model.SetEffectsEntry](docs/SetEffectsEntry.md) - - [Model.SetEffectsEntryType](docs/SetEffectsEntryType.md) - - [Model.SetListEntry](docs/SetListEntry.md) - - [Model.SetsListPaged](docs/SetsListPaged.md) + - [Model.Set](docs/Set.md) + - [Model.TranslatedId](docs/TranslatedId.md) - [Model.TwitterWebhook](docs/TwitterWebhook.md) - [Model.Weapon](docs/Weapon.md) - - [Model.WeaponRange](docs/WeaponRange.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 6651e70..1773b44 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -4,59 +4,63 @@ info: email: stelzo@steado.de name: Survival url: https://discord.gg/3EtHskZD8h - description: | - # A project for you - the developer. - The all-in-one toolbelt for your next Ankama related project. - - ## Client SDKs - - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - - [PHP](https://github.com/dofusdude/dofusdude-php) - - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup - - Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. - - Your favorite language is missing? Please let me know! - - # Main Features - - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - - - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - - - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - - - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - - - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - - - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - - - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - - - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. - - ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + description: "# Open Ankama Developer Community\nThe all-in-one toolbelt for your\ + \ next Ankama related project.\n\n## Versions\n- [Dofus 2](https://docs.dofusdu.de/dofus2/)\n\ + - [Dofus 3](https://docs.dofusdu.de/dofus3/)\n - v1 [latest] (you are here) \n\ + \n## Client SDKs\n- [Javascript](https://github.com/dofusdude/dofusdude-js) `npm\ + \ i dofusdude-js --save`\n- [Typescript](https://github.com/dofusdude/dofusdude-ts)\ + \ `npm i dofusdude-ts --save`\n- [Go](https://github.com/dofusdude/dodugo) `go\ + \ get -u github.com/dofusdude/dodugo`\n- [Python](https://github.com/dofusdude/dofusdude-py)\ + \ `pip install dofusdude`\n- [Java](https://github.com/dofusdude/dofusdude-java)\ + \ Maven with GitHub packages setup\n\nEverything, including this site, is generated\ + \ out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the\ + \ Single Source of Truth. If there is a problem with the SDKs, create an issue\ + \ there.\n\nYour favorite language is missing? Please let me know!\n\n# Main Features\n\ + - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version\ + \ is released and serving it within 10 minutes with atomic data source switching.\ + \ No downtime and no effects for the user, just always up-to-date.\n\n- ⚡ **Blazingly\ + \ Fast** all data in-memory, aggressive caching over short time spans, HTTP/2\ + \ multiplexing, written in Go, optimized for low latency, hosted on bare metal\ + \ in 🇩🇪.\n\n- 📨 **Almanax Discord Integration** Use the endpoints as a dev\ + \ or the official [Web Client](https://discord.dofusdude.com) as a user.\n\n-\ + \ 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta.\n\ + \n- 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_.\n\n- 🧠 **Search\ + \ by Relevance** allowing typos in name and description, handled by language specific\ + \ text analysis and indexing.\n\n- 🕵️ **Official Sources** generated from actual\ + \ data from the game.\n\n... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).\n" + license: + name: GPL-3.0 + url: https://github.com/dofusdude/doduapi/blob/main/LICENSE title: dofusdude - version: 0.9.4 + version: 1.0.0-rc.2 servers: - description: API url: https://api.dofusdu.de tags: -- name: almanax -- name: consumables -- name: cosmetics -- name: equipment -- name: game -- name: meta -- name: mounts -- name: quest items -- name: resources -- name: sets -- name: webhooks +- description: The Dofus Almanax + name: almanax +- description: Consumable Items + name: consumables +- description: Cosmetic Equipment + name: cosmetics +- description: Weapons and Equipment + name: equipment +- description: General Overview Endpoints + name: game +- description: Metadata for using the API more efficiently + name: meta +- description: Mounts + name: mounts +- description: Quest Items + name: quest items +- description: Resources + name: resources +- description: Sets + name: sets +- description: Actively calling you for updates for various events + name: webhooks paths: - /{game}/{language}/items/search: + /{game}/v1/{language}/items/search: get: description: Search in all names and descriptions of Dofus items (including all subtypes) with a query. @@ -80,15 +84,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -100,15 +105,6 @@ paths: example: atcham type: string style: form - - description: only results with the translated type name across all item_subtypes - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Bottes - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -149,7 +145,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -163,55 +159,30 @@ paths: "200": content: application/json: - examples: - query "apple": - value: - - ankama_id: 21445 - name: Apple Core - type: - name: Event - id: 12 - item_subtype: quest - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/126095.png - sd: https://api.dofusdu.de/dofus2/img/item/126095-200.png - hq: https://api.dofusdu.de/dofus2/img/item/126095-400.png - hd: https://api.dofusdu.de/dofus2/img/item/126095-800.png - - ankama_id: 18332 - name: Crate of Apis - type: - name: Ohwymi - item_subtype: quest - level: 80 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/15056.png - sd: https://api.dofusdu.de/dofus2/img/item/15056-200.png - hq: https://api.dofusdu.de/dofus2/img/item/15056-400.png - hd: https://api.dofusdu.de/dofus2/img/item/15056-800.png + examples: {} schema: items: - $ref: '#/components/schemas/Items-List-Entry-Typed' + $ref: '#/components/schemas/ListItemGeneral' type: array - description: Items Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search All Items tags: - game x-stoplight: id: eeoi1h7wagrmw - /{game}/{language}/mounts/search: + /{game}/v1/{language}/mounts/search: get: description: Search in all names and descriptions of mounts with a query. operationId: get-mounts-search @@ -234,15 +205,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -279,48 +251,30 @@ paths: "200": content: application/json: - examples: - almond rhineetle: - value: - - ankama_id: 199 - name: Almond and Indigo Rhineetle - family_name: Rhineetle - image_urls: - icon: https://api.dofusdu.de/dofus2/img/mount/199.png - sd: https://api.dofusdu.de/dofus2/img/mount/199-200.png - hq: https://api.dofusdu.de/dofus2/img/mount/199-400.png - hd: https://api.dofusdu.de/dofus2/img/mount/199-800.png - - ankama_id: 198 - name: Almond and Orchid Rhineetle - family_name: Rhineetle - image_urls: - icon: https://api.dofusdu.de/dofus2/img/mount/198.png - sd: https://api.dofusdu.de/dofus2/img/mount/198-200.png - hq: https://api.dofusdu.de/dofus2/img/mount/198-400.png - hd: https://api.dofusdu.de/dofus2/img/mount/198-800.png + examples: {} schema: items: - $ref: '#/components/schemas/Mount-List-Entry' + $ref: '#/components/schemas/Mount' type: array - description: Mounts Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search Mounts tags: - mounts x-stoplight: id: 55fkjddmfhh7n - /{game}/{language}/sets/search: + /{game}/v1/{language}/sets/search: get: description: Search in all names and descriptions of sets with a query. operationId: get-sets-search @@ -342,15 +296,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -413,44 +368,30 @@ paths: "200": content: application/json: - examples: - Bouftou: - value: - - ankama_id: 4 - name: Panoplie du Bouftou Royal - items: 7 - level: 32 - - ankama_id: 1 - name: Panoplie du Bouftou - items: 7 - level: 20 - - ankama_id: 43 - name: Panoplie du Boufcoul - items: 7 - level: 55 + examples: {} schema: items: - $ref: '#/components/schemas/Set-List-Entry' + $ref: '#/components/schemas/ListSet' type: array - description: Sets Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search Sets tags: - sets x-stoplight: id: 7pwfbuzuxnnuq - /{game}/{language}/items/quest/search: + /{game}/v1/{language}/items/quest/search: get: description: Search in all names and descriptions of quest items with a query. operationId: get-items-quest-search @@ -473,15 +414,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -556,53 +498,29 @@ paths: "200": content: application/json: - examples: - kouto: - value: - - ankama_id: 18114 - name: Koutoulou Moth - type: - name: Sufokia - id: 7 - level: 200 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/15936.png - sd: https://api.dofusdu.de/dofus2/img/item/15936-200.png - hq: https://api.dofusdu.de/dofus2/img/item/15936-400.png - hd: https://api.dofusdu.de/dofus2/img/item/15936-800.png - - ankama_id: 18109 - name: P'Koutoulou Zothoth - type: - name: Sufokia - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/8019.png - sd: https://api.dofusdu.de/dofus2/img/item/8019-200.png - hq: https://api.dofusdu.de/dofus2/img/item/8019-400.png - hd: https://api.dofusdu.de/dofus2/img/item/8019-800.png schema: items: - $ref: '#/components/schemas/Item-List-Entry' + $ref: '#/components/schemas/ListItem' type: array description: Quest Items Found "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search Quest Items tags: - quest items x-stoplight: id: e7dmshthuyg5m - /{game}/{language}/items/consumables/search: + /{game}/v1/{language}/items/consumables/search: get: description: Search in all names and descriptions of consumable items with a query. @@ -625,15 +543,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -645,15 +564,6 @@ paths: example: Wholewrite type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Bread - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -694,7 +604,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -708,53 +618,30 @@ paths: "200": content: application/json: - examples: - query "bar", filter[type_name] "beer": - value: - - ankama_id: 19954 - name: Barbeerd - type: - name: Beer - id: 5 - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/37004.png - sd: https://api.dofusdu.de/dofus2/img/item/37004-200.png - hq: https://api.dofusdu.de/dofus2/img/item/37004-400.png - hd: https://api.dofusdu.de/dofus2/img/item/37004-800.png - - ankama_id: 24042 - name: Barroll Brewski - type: - name: Beer - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/164790.png - sd: https://api.dofusdu.de/dofus2/img/item/164790-200.png - hq: https://api.dofusdu.de/dofus2/img/item/164790-400.png - hd: https://api.dofusdu.de/dofus2/img/item/164790-800.png + examples: {} schema: items: - $ref: '#/components/schemas/Item-List-Entry' + $ref: '#/components/schemas/ListItem' type: array description: Consumables Found "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search Consumables tags: - consumables x-stoplight: id: 6ogh4aj4k3vns - /{game}/{language}/items/resources/search: + /{game}/v1/{language}/items/resources/search: get: description: Search in all names and descriptions of resource items with a query. operationId: get-items-resource-search @@ -776,15 +663,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -796,15 +684,6 @@ paths: example: snowdew type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: plant - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -845,7 +724,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -859,56 +738,33 @@ paths: "200": content: application/json: - examples: - query "tiwabbit", filter[type_name] "hair": - value: - - ankama_id: 14459 - name: Tiwabbit Whiskers - type: - name: Hair - id: 3 - level: 45 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/54693.png - sd: https://api.dofusdu.de/dofus2/img/item/54693-200.png - hq: https://api.dofusdu.de/dofus2/img/item/54693-400.png - hd: https://api.dofusdu.de/dofus2/img/item/54693-800.png - - ankama_id: 646 - name: Black Tiwabbit Hair - type: - name: Hair - level: 46 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/54195.png - sd: https://api.dofusdu.de/dofus2/img/item/54195-200.png - hq: https://api.dofusdu.de/dofus2/img/item/54195-400.png - hd: https://api.dofusdu.de/dofus2/img/item/54195-800.png + examples: {} schema: items: - $ref: '#/components/schemas/Item-List-Entry' + $ref: '#/components/schemas/ListItem' type: array - description: Resources Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search Resources tags: - resources x-stoplight: id: l2f1uw9hdicac - /{game}/{language}/search: + /{game}/v1/{language}/search: get: description: Search in all names and descriptions of all supported types in - the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + the game. For the list of supported types see the endpoint /dofus3/meta/search/types. operationId: get-game-search parameters: - description: a valid language code @@ -928,15 +784,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: search query @@ -951,7 +808,7 @@ paths: - description: only results with all specific type explode: false in: query - name: "filter[type]" + name: "filter[search_index]" required: false schema: example: @@ -1004,7 +861,7 @@ paths: \ and exclude with \"-wood\"." explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -1018,21 +875,10 @@ paths: "200": content: application/json: - examples: - query "paztek", filter[type] "beer": - value: - - name: Paztek Sandals - ankama_id: 20463 - type: items-equipment - - name: Paztek Mask - ankama_id: 20465 - type: items-equipment - - name: Paztek Cloak - ankama_id: 20464 - type: items-equipment + examples: {} schema: items: - $ref: '#/components/schemas/get_game_search_200_response_inner' + $ref: '#/components/schemas/GameSearch' type: array x-examples: Example 1: @@ -1045,26 +891,25 @@ paths: - name: Paztek Cloak ankama_id: 20464 type: items-equipment - description: Game Search Result + description: "" "400": - description: | - Bad Request - - Possibilities: - - empty or no query - - filter[type] does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Game Search tags: - game x-stoplight: id: zxx3tt0z25gz8 - /{game}/{language}/items/equipment/search: + /{game}/v1/{language}/items/equipment/search: get: description: Search in all names and descriptions of equipment items with a query. @@ -1087,15 +932,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -1107,15 +953,6 @@ paths: example: nidas type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: boots - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -1156,7 +993,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -1170,53 +1007,30 @@ paths: "200": content: application/json: - examples: - query "hat": - value: - - ankama_id: 8630 - name: Hatter Lily - type: - name: Hat - id: 9 - level: 40 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/16177.png - sd: https://api.dofusdu.de/dofus2/img/item/16177-200.png - hq: https://api.dofusdu.de/dofus2/img/item/16177-400.png - hd: https://api.dofusdu.de/dofus2/img/item/16177-800.png - - ankama_id: 8629 - name: Hat Tsokey - type: - name: Hat - level: 40 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/16179.png - sd: https://api.dofusdu.de/dofus2/img/item/16179-200.png - hq: https://api.dofusdu.de/dofus2/img/item/16179-400.png - hd: https://api.dofusdu.de/dofus2/img/item/16179-800.png + examples: {} schema: items: - $ref: '#/components/schemas/Item-List-Entry' + $ref: '#/components/schemas/ListItem' type: array - description: Equipment Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search Equipment tags: - equipment x-stoplight: id: 4lzcb55gkjj2z - /{game}/{language}/items/cosmetics/search: + /{game}/v1/{language}/items/cosmetics/search: get: description: Search in all names and descriptions of cosmetic items with a query. operationId: get-cosmetics-search @@ -1238,15 +1052,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: case sensitive search query @@ -1258,15 +1073,6 @@ paths: example: nedora type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Wings - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -1307,7 +1113,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -1321,53 +1127,30 @@ paths: "200": content: application/json: - examples: - query "fal": - value: - - ankama_id: 23711 - name: Falcodove - type: - name: Ceremonial petsmount - id: 19 - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/121061.png - sd: https://api.dofusdu.de/dofus2/img/item/121061-200.png - hq: https://api.dofusdu.de/dofus2/img/item/121061-400.png - hd: https://api.dofusdu.de/dofus2/img/item/121061-800.png - - ankama_id: 21400 - name: Bone Falchion - type: - name: Ceremonial weapon - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/6741.png - sd: https://api.dofusdu.de/dofus2/img/item/6741-200.png - hq: https://api.dofusdu.de/dofus2/img/item/6741-400.png - hd: https://api.dofusdu.de/dofus2/img/item/6741-800.png + examples: {} schema: items: - $ref: '#/components/schemas/Item-List-Entry' + $ref: '#/components/schemas/ListItem' type: array - description: Cosmetics found + description: "" "400": - description: | - Bad Request - - Possibilities: - - empty or no query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - no hits for query + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Search Cosmetics tags: - cosmetics x-stoplight: id: mw8gyg65z17wf - /{game}/{language}/items/cosmetics/{ankama_id}: + /{game}/v1/{language}/items/cosmetics/{ankama_id}: get: description: Retrieve a specific cosmetic item with id. operationId: get-cosmetics-single @@ -1398,83 +1181,45 @@ paths: example: 24132 type: integer style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple responses: "200": content: application/json: - examples: - Master Tor: - value: - ankama_id: 24132 - name: Master Tor Toise's Shell - description: "Weighing at least 20 kilo-pods, this shell is used\ - \ for muscle strengthening during Master Tor Toise's training\ - \ sessions." - type: - name: Ceremonial cape - id: 18 - is_weapon: false - level: 180 - pods: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/17481.png - sd: https://api.dofusdu.de/dofus2/img/item/17481-200.png - hq: https://api.dofusdu.de/dofus2/img/item/17481-400.png - hd: https://api.dofusdu.de/dofus2/img/item/17481-800.png - effects: - - int_minimum: 0 - int_maximum: 0 - type: - name: 'Exchangeable:' - id: 0 - is_meta: false - is_active: false - ignore_int_min: true - ignore_int_max: true - formatted: "Exchangeable: 0" - - int_minimum: 0 - int_maximum: 0 - type: - name: 'Compatible with:' - id: 1 - is_meta: false - is_active: false - ignore_int_min: true - ignore_int_max: true - formatted: "Compatible with: 0" + examples: {} schema: $ref: '#/components/schemas/Equipment' - description: Cosmetic Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - invalid ankama id format + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - nothing found for this ankama_id + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Single Cosmetics tags: - cosmetics x-internal: false x-stoplight: id: a0ks17l0zqqaj - /{game}/{language}/items/resources/{ankama_id}: + /{game}/v1/{language}/items/resources/{ankama_id}: get: description: Retrieve a specific resource item with id. operationId: get-items-resources-single @@ -1505,66 +1250,44 @@ paths: example: 7295 type: integer style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple responses: "200": content: application/json: - examples: - Levadura de panadero: - value: - ankama_id: 286 - name: Levadura de panadero - description: Es un ingrediente indispensable para la fermentación - del pan. - type: - name: Polvo - id: 156 - level: 1 - pods: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/48137.png - sd: https://api.dofusdu.de/dofus2/img/item/48137-200.png - hq: https://api.dofusdu.de/dofus2/img/item/48137-400.png - hd: https://api.dofusdu.de/dofus2/img/item/48137-800.png - recipe: - - item_ankama_id: 519 - item_subtype: resources - quantity: 1 - - item_ankama_id: 311 - item_subtype: resources - quantity: 1 + examples: {} schema: $ref: '#/components/schemas/Resource' - description: Resource Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - invalid ankama id format + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - nothing found for this ankama_id + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Single Resources tags: - resources x-stoplight: id: viqn5ujmwoi9s - /{game}/{language}/items/equipment/{ankama_id}: + /{game}/v1/{language}/items/equipment/{ankama_id}: get: description: Retrieve a specific equipment item with id. operationId: get-items-equipment-single @@ -1595,468 +1318,44 @@ paths: example: 26009 type: integer style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple responses: "200": content: application/json: - examples: - Weapon: - value: - ankama_id: 26011 - name: Chaotic Scythe - description: |- - "Actual life was chaos, but there was something terribly logical in the imagination." - - — Oskar Wyld - type: - name: Scythe - id: 163 - is_weapon: true - level: 200 - pods: 10 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/22009.png - sd: https://api.dofusdu.de/dofus2/img/item/22009-200.png - hq: https://api.dofusdu.de/dofus2/img/item/22009-400.png - hd: https://api.dofusdu.de/dofus2/img/item/22009-800.png - effects: - - int_minimum: 201 - int_maximum: 300 - type: - name: Initiative - id: 24 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 201 to 300 Initiative - - int_minimum: 301 - int_maximum: 350 - type: - name: Vitality - id: 9 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 301 to 350 Vitality - - int_minimum: 31 - int_maximum: 40 - type: - name: Intelligence - id: 13 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 31 to 40 Intelligence - - int_minimum: 31 - int_maximum: 40 - type: - name: Chance - id: 22 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 31 to 40 Chance - - int_minimum: 16 - int_maximum: 20 - type: - name: Power - id: 32 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 16 to 20 Power - - int_minimum: 26 - int_maximum: 35 - type: - name: Wisdom - id: 10 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 26 to 35 Wisdom - - int_minimum: 9 - int_maximum: 12 - type: - name: Lock - id: 26 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 9 to 12 Lock - - int_minimum: 14 - int_maximum: 18 - type: - name: Fire Damage - id: 61 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 14 to 18 Fire Damage - - int_minimum: 14 - int_maximum: 18 - type: - name: Water Damage - id: 27 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 14 to 18 Water Damage - - int_minimum: 7 - int_maximum: 10 - type: - name: '% Water Resistance' - id: 17 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 7 to 10% Water Resistance - - int_minimum: 9 - int_maximum: 12 - type: - name: Heals - id: 11 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 9 to 12 Heals - - int_minimum: -15 - int_maximum: 0 - type: - name: Critical Damage - id: 38 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: -15 Critical Damage - - int_minimum: -1 - int_maximum: 0 - type: - name: Range - id: 31 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: -1 Range - - int_minimum: 1 - int_maximum: 0 - type: - name: MP - id: 8 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 1 MP - - int_minimum: 21 - int_maximum: 25 - type: - name: (Neutral damage) - id: 168 - is_meta: false - is_active: true - ignore_int_min: false - ignore_int_max: false - formatted: 21 to 25 (Neutral damage) - - int_minimum: 16 - int_maximum: 20 - type: - name: (Fire steal) - id: 174 - is_meta: false - is_active: true - ignore_int_min: false - ignore_int_max: false - formatted: 16 to 20 (Fire steal) - - int_minimum: 16 - int_maximum: 20 - type: - name: (Water steal) - id: 175 - is_meta: false - is_active: true - ignore_int_min: false - ignore_int_max: false - formatted: 16 to 20 (Water steal) - conditions: - - operator: < - int_value: 12 - element: - name: AP - id: 12 - condition_tree: - condition: - operator: < - int_value: 12 - element: - name: AP - id: 12 - is_operand: true - critical_hit_probability: 10 - critical_hit_bonus: 3 - is_two_handed: false - max_cast_per_turn: 1 - ap_cost: 5 - range: - min: 1 - max: 2 - recipe: - - item_ankama_id: 26033 - item_subtype: resources - quantity: 71 - - item_ankama_id: 26035 - item_subtype: resources - quantity: 16 - - item_ankama_id: 26036 - item_subtype: resources - quantity: 7 - - item_ankama_id: 25181 - item_subtype: resources - quantity: 4 - - item_ankama_id: 22204 - item_subtype: resources - quantity: 4 - - item_ankama_id: 26037 - item_subtype: resources - quantity: 2 - - item_ankama_id: 12728 - item_subtype: resources - quantity: 2 - - item_ankama_id: 24144 - item_subtype: resources - quantity: 2 - Equipment: - value: - ankama_id: 14076 - name: Count Harebourg's Hat - description: "Count Harebourg was forced to become a recluse after\ - \ the big freeze, but even back then, no living soul had ever\ - \ seen his face. What is he hiding behind this hat, and what\ - \ transformations has that face undergone after all these years?" - type: - name: Hat - id: 27 - is_weapon: false - level: 200 - pods: 10 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/16362.png - sd: https://api.dofusdu.de/dofus2/img/item/16362-200.png - hq: https://api.dofusdu.de/dofus2/img/item/16362-400.png - hd: https://api.dofusdu.de/dofus2/img/item/16362-800.png - effects: - - int_minimum: 451 - int_maximum: 500 - type: - name: Vitality - id: 9 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 451 to 500 Vitality - - int_minimum: 71 - int_maximum: 100 - type: - name: Strength - id: 45 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 71 to 100 Strength - - int_minimum: 41 - int_maximum: 60 - type: - name: Wisdom - id: 10 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 41 to 60 Wisdom - - int_minimum: 1 - int_maximum: 0 - type: - name: Range - id: 31 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 1 Range - - int_minimum: 21 - int_maximum: 30 - type: - name: Prospecting - id: 25 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 21 to 30 Prospecting - - int_minimum: 16 - int_maximum: 20 - type: - name: Neutral Damage - id: 49 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 16 to 20 Neutral Damage - - int_minimum: 16 - int_maximum: 20 - type: - name: Earth Damage - id: 48 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 16 to 20 Earth Damage - - int_minimum: -4 - int_maximum: -5 - type: - name: '% Neutral Resistance' - id: 34 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: -4 to -5% Neutral Resistance - - int_minimum: -4 - int_maximum: -5 - type: - name: '% Earth Resistance' - id: 63 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: -4 to -5% Earth Resistance - - int_minimum: -4 - int_maximum: -5 - type: - name: '% Fire Resistance' - id: 37 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: -4 to -5% Fire Resistance - - int_minimum: -4 - int_maximum: -5 - type: - name: '% Water Resistance' - id: 17 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: -4 to -5% Water Resistance - - int_minimum: -4 - int_maximum: -5 - type: - name: '% Air Resistance' - id: 16 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: -4 to -5% Air Resistance - - int_minimum: 6 - int_maximum: 8 - type: - name: AP Reduction - id: 64 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 6 to 8 AP Reduction - - int_minimum: 16 - int_maximum: 20 - type: - name: Lock - id: 26 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 16 to 20 Lock - recipe: - - item_ankama_id: 13990 - item_subtype: resources - quantity: 30 - - item_ankama_id: 13993 - item_subtype: resources - quantity: 4 - - item_ankama_id: 13914 - item_subtype: resources - quantity: 5 - - item_ankama_id: 13995 - item_subtype: resources - quantity: 1 - - item_ankama_id: 13982 - item_subtype: resources - quantity: 4 - - item_ankama_id: 13168 - item_subtype: resources - quantity: 5 - - item_ankama_id: 14145 - item_subtype: resources - quantity: 1 - - item_ankama_id: 12740 - item_subtype: resources - quantity: 3 - parent_set: - id: 270 - name: Count Harebourg Set + examples: {} schema: $ref: '#/components/schemas/Weapon' - description: Equipment Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - invalid ankama id format + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - nothing found for this ankama_id + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Single Equipment tags: - equipment x-stoplight: id: e2j6pr8n8112g - /{game}/{language}/items/consumables/{ankama_id}: + /{game}/v1/{language}/items/consumables/{ankama_id}: get: description: Retrieve a specific consumable item with id. operationId: get-items-consumables-single @@ -2087,79 +1386,44 @@ paths: example: 17206 type: integer style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple responses: "200": content: application/json: - examples: - Superior Health Flask: - value: - ankama_id: 282 - name: Superior Health Flask - description: This flask restores some Health Points. - type: - name: Potion - id: 96 - level: 60 - pods: 2 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/12039.png - sd: https://api.dofusdu.de/dofus2/img/item/12039-200.png - hq: https://api.dofusdu.de/dofus2/img/item/12039-400.png - hd: https://api.dofusdu.de/dofus2/img/item/12039-800.png - effects: - - int_minimum: 70 - int_maximum: 0 - type: - name: HP - id: 21 - is_meta: false - is_active: true - ignore_int_min: false - ignore_int_max: true - formatted: 70 HP - recipe: - - item_ankama_id: 380 - item_subtype: resources - quantity: 5 - - item_ankama_id: 1731 - item_subtype: resources - quantity: 1 - - item_ankama_id: 533 - item_subtype: resources - quantity: 1 + examples: {} schema: $ref: '#/components/schemas/Resource' - description: Consumable Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - invalid ankama id format + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - nothing found for this ankama_id + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Single Consumables tags: - consumables x-stoplight: id: n40tefsprc7oq - /{game}/{language}/items/quest/{ankama_id}: + /{game}/v1/{language}/items/quest/{ankama_id}: get: description: Retrieve a specific quest item with id. operationId: get-item-quest-single @@ -2190,60 +1454,44 @@ paths: example: 25256 type: integer style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple responses: "200": content: application/json: - examples: - Modulo di Rapporto Vergine: - value: - ankama_id: 2105 - name: Modulo di Rapporto Vergine - description: |- - Modulo di rapporto vergine. - Pronto per essere riempito da Welloy Cab - type: - name: Varie - id: 110 - level: 1 - pods: 0 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/24041.png - sd: https://api.dofusdu.de/dofus2/img/item/24041-200.png - hq: https://api.dofusdu.de/dofus2/img/item/24041-400.png - hd: https://api.dofusdu.de/dofus2/img/item/24041-800.png + examples: {} schema: $ref: '#/components/schemas/Resource' - description: Quest Item Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - invalid ankama id format + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - nothing found for this ankama_id + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Single Quest Items tags: - quest items x-stoplight: id: 74dxhpw46pxzc - /{game}/{language}/mounts/{ankama_id}: + /{game}/v1/{language}/mounts/{ankama_id}: get: description: Retrieve a specific mount with id. operationId: get-mounts-single @@ -2274,84 +1522,44 @@ paths: example: 180 type: integer style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple responses: "200": content: application/json: - examples: - Dragoperu amêndoa e dourado: - value: - ankama_id: 33 - name: Dragoperu amêndoa e dourado - family_name: Dragoperu - image_urls: - icon: https://api.dofusdu.de/dofus2/img/mount/33.png - sd: https://api.dofusdu.de/dofus2/img/mount/33-200.png - hq: https://api.dofusdu.de/dofus2/img/mount/33-400.png - hd: https://api.dofusdu.de/dofus2/img/mount/33-800.png - effects: - - int_minimum: 0 - int_maximum: 300 - type: - name: Vitalidade - id: 9 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 0 a 300 Vitalidade - - int_minimum: 0 - int_maximum: 1 - type: - name: invocaç - id: 28 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 0 a 1 invocaç - - int_minimum: 0 - int_maximum: 1000 - type: - name: Iniciativa - id: 24 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: false - formatted: 0 a 1000 Iniciativa + examples: {} schema: $ref: '#/components/schemas/Mount' - description: Mount Found + description: "" "400": - description: | - Bad Request - - Possibilities: - - invalid ankama id format + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: |- - Not Found - - Possibilities: - - nothing found for this ankama_id + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Single Mounts tags: - mounts x-stoplight: id: pzqoy2btp2qkn - /{game}/{language}/sets/{ankama_id}: + /{game}/v1/{language}/sets/{ankama_id}: get: description: Retrieve a specific set with id. operationId: get-sets-single @@ -2382,170 +1590,44 @@ paths: example: 499 type: integer style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple responses: "200": content: application/json: - examples: - Atcham: - value: - ankama_id: 406 - name: Atcham-Set - equipment_ids: - - 17584 - - 17585 - - 17586 - effects: - - - int_minimum: 30 - int_maximum: 0 - type: - name: Intelligenz - id: 13 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 30 Intelligenz - item_combination: 2 - - int_minimum: 30 - int_maximum: 0 - type: - name: Flinkheit - id: 36 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 30 Flinkheit - item_combination: 2 - - int_minimum: 30 - int_maximum: 0 - type: - name: Glück - id: 22 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 30 Glück - item_combination: 2 - - int_minimum: 5 - int_maximum: 0 - type: - name: AP-Entzug - id: 64 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 5 AP-Entzug - item_combination: 2 - - int_minimum: 10 - int_maximum: 0 - type: - name: Kritischer Schaden - id: 38 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 10 Kritischer Schaden - item_combination: 2 - - - int_minimum: 30 - int_maximum: 0 - type: - name: Intelligenz - id: 13 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 30 Intelligenz - item_combination: 3 - - int_minimum: 30 - int_maximum: 0 - type: - name: Flinkheit - id: 36 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 30 Flinkheit - item_combination: 3 - - int_minimum: 30 - int_maximum: 0 - type: - name: Glück - id: 22 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 30 Glück - item_combination: 3 - - int_minimum: 5 - int_maximum: 0 - type: - name: AP-Entzug - id: 64 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 5 AP-Entzug - item_combination: 3 - - int_minimum: 10 - int_maximum: 0 - type: - name: Kritischer Schaden - id: 38 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 10 Kritischer Schaden - item_combination: 3 - - int_minimum: 1 - int_maximum: 0 - type: - name: AP - id: 12 - is_meta: false - is_active: false - ignore_int_min: false - ignore_int_max: true - formatted: 1 AP - item_combination: 3 - highest_equipment_level: 200 + examples: {} schema: - $ref: '#/components/schemas/Equipment-Set' - description: Set Found + $ref: '#/components/schemas/Set' + description: "" "400": - description: | - Bad Request - - Possibilities: - - invalid ankama id format + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: Single Sets tags: - sets x-stoplight: id: 7h3o04n689qab - /{game}/{language}/sets: + /{game}/v1/{language}/sets: get: description: Retrieve a list of sets. operationId: get-sets-list @@ -2567,15 +1649,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -2661,7 +1744,15 @@ paths: \ If true, the item ids are for the cosmetic endpoints instead of equipment." explode: true in: query - name: "filter[is_cosmetic]" + name: "filter[contains_cosmetics_only]" + required: false + schema: + type: boolean + style: form + - description: filter sets based on if they got cosmetic items in it. + explode: true + in: query + name: "filter[contains_cosmetics]" required: false schema: type: boolean @@ -2674,10 +1765,10 @@ paths: filter[min_highest_equipment_level] >= 150, sort[level] "desc": value: _links: - first: https://api.dofusdu.de/dofus2/fr/sets/?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D16 + first: https://api.dofusdu.de/dofus3/fr/sets/?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D16 prev: "" - next: https://api.dofusdu.de/dofus2/fr/sets/?page%5Bnumber%5D%3D2%26page%5Bsize%5D%3D16 - last: https://api.dofusdu.de/dofus2/fr/sets/?page%5Bnumber%5D%3D11%26page%5Bsize%5D%3D16 + next: https://api.dofusdu.de/dofus3/fr/sets/?page%5Bnumber%5D%3D2%26page%5Bsize%5D%3D16 + last: https://api.dofusdu.de/dofus3/fr/sets/?page%5Bnumber%5D%3D11%26page%5Bsize%5D%3D16 sets: - ankama_id: 406 name: Panoplie d'Atcham @@ -2744,19 +1835,26 @@ paths: items: 3 level: 200 schema: - $ref: '#/components/schemas/Sets-List-Paged' - description: Set Found + $ref: '#/components/schemas/ListSets' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List Sets tags: - sets x-stoplight: id: s3zlet293u7sh - /{game}/{language}/mounts: + /{game}/v1/{language}/mounts: get: description: Retrieve a list of mounts. operationId: get-mounts-list @@ -2778,21 +1876,22 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: only results with the translated family name explode: true in: query - name: "filter[family_name]" + name: "filter[family.name]" required: false schema: example: Dragoturkey @@ -2836,57 +1935,40 @@ paths: type: array uniqueItems: true style: form + - description: only results with the unique family id + explode: true + in: query + name: "filter[family.id]" + required: false + schema: + type: integer + style: form responses: "200": content: application/json: - examples: - page[size] 3: - value: - _links: - first: https://api.dofusdu.de/dofus2/es/mounts/?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D3 - prev: "" - next: https://api.dofusdu.de/dofus2/es/mounts/?page%5Bnumber%5D%3D2%26page%5Bsize%5D%3D3 - last: https://api.dofusdu.de/dofus2/es/mounts/?page%5Bnumber%5D%3D89%26page%5Bsize%5D%3D3 - mounts: - - ankama_id: 1 - name: Dragopavo almendrado salvaje - family_name: Dragopavo - image_urls: - icon: https://api.dofusdu.de/dofus2/img/mount/1.png - sd: https://api.dofusdu.de/dofus2/img/mount/1-200.png - hq: https://api.dofusdu.de/dofus2/img/mount/1-400.png - hd: https://api.dofusdu.de/dofus2/img/mount/1-800.png - - ankama_id: 3 - name: Dragopavo ébano - family_name: Dragopavo - image_urls: - icon: https://api.dofusdu.de/dofus2/img/mount/3.png - sd: https://api.dofusdu.de/dofus2/img/mount/3-200.png - hq: https://api.dofusdu.de/dofus2/img/mount/3-400.png - hd: https://api.dofusdu.de/dofus2/img/mount/3-800.png - - ankama_id: 6 - name: Dragopavo pelirrojo salvaje - family_name: Dragopavo - image_urls: - icon: https://api.dofusdu.de/dofus2/img/mount/6.png - sd: https://api.dofusdu.de/dofus2/img/mount/6-200.png - hq: https://api.dofusdu.de/dofus2/img/mount/6-400.png - hd: https://api.dofusdu.de/dofus2/img/mount/6-800.png + examples: {} schema: - $ref: '#/components/schemas/Mounts-List-Paged' - description: Mounts Found + $ref: '#/components/schemas/ListMounts' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List Mounts tags: - mounts x-stoplight: id: gy9ldukmg67hy - /{game}/{language}/items/equipment: + /{game}/v1/{language}/items/equipment: get: description: Retrieve a list of equipment items. operationId: get-items-equipment-list @@ -2909,15 +1991,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -2932,15 +2015,6 @@ paths: example: desc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Sword - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -3002,7 +2076,6 @@ paths: - parent_set - critical_hit_probability - critical_hit_bonus - - is_two_handed - max_cast_per_turn - ap_cost - range @@ -3014,7 +2087,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -3028,51 +2101,27 @@ paths: "200": content: application/json: - examples: - page[size] 3, sort[level] desc: - value: - _links: - first: https://api.dofusdu.de/dofus2/es/items/equipment?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D3 - prev: null - next: https://api.dofusdu.de/dofus2/es/items/equipment?page%5Bnumber%5D%3D2%26page%5Bsize%5D%3D3 - last: https://api.dofusdu.de/dofus2/es/items/equipment?page%5Bnumber%5D%3D1241%26page%5Bsize%5D%3D3 - items: - - ankama_id: 19244 - name: Amuleto del Corazón Sangriento - type: - name: Amuleto - id: 18 - level: 200 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/1299.png - sd: https://api.dofusdu.de/dofus2/img/item/1299-200.png - hq: https://api.dofusdu.de/dofus2/img/item/1299-400.png - hd: https://api.dofusdu.de/dofus2/img/item/1299-800.png - - ankama_id: 15696 - name: Capachalote - type: - name: Capa - id: 72 - level: 200 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/17331.png - sd: https://api.dofusdu.de/dofus2/img/item/17331-200.png - hq: https://api.dofusdu.de/dofus2/img/item/17331-400.png - hd: https://api.dofusdu.de/dofus2/img/item/17331-800.png schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Equipment Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List Equipment tags: - equipment x-stoplight: id: z7ihi4fuba4rk - /{game}/{language}/items/resources: + /{game}/v1/{language}/items/resources: get: description: Retrieve a list of resource items. operationId: get-items-resources-list @@ -3094,15 +2143,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -3117,15 +2167,6 @@ paths: example: desc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: miscellaneous resources - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -3195,7 +2236,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -3209,44 +2250,27 @@ paths: "200": content: application/json: - examples: - page[size] 2: - value: - _links: - first: https://api.dofusdu.de/dofus2/de/items/resources?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D2 - prev: null - next: https://api.dofusdu.de/dofus2/de/items/resources?page%5Bnumber%5D%3D2%26page%5Bsize%5D%3D2 - last: https://api.dofusdu.de/dofus2/de/items/resources?page%5Bnumber%5D%3D1534%26page%5Bsize%5D%3D2 - items: - - ankama_id: 274 - name: Stück des Klauenpuzzles - type: - name: Rohstein - id: 92 - level: 43 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/51267.png - - ankama_id: 276 - name: Münze des Schatzes von Badoul - type: - name: Verschiedene Ressourcen - id: 1 - level: 43 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/15268.png schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Resources Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List Resources tags: - resources x-stoplight: id: z2jx5o5pjumhs - /{game}/{language}/items/consumables: + /{game}/v1/{language}/items/consumables: get: description: Retrieve a list of consumable items. operationId: get-items-consumables-list @@ -3268,15 +2292,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -3291,15 +2316,6 @@ paths: example: asc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Chest - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -3363,7 +2379,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -3377,53 +2393,27 @@ paths: "200": content: application/json: - examples: - No query, just defaults: - value: - _links: - first: https://api.dofusdu.de/dofus2/en/items/consumables?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D16 - prev: null - next: https://api.dofusdu.de/dofus2/en/items/consumables?page%5Bnumber%5D%3D2%26page%5Bsize%5D%3D16 - last: https://api.dofusdu.de/dofus2/en/items/consumables?page%5Bnumber%5D%3D213%26page%5Bsize%5D%3D16 - items: - - ankama_id: 281 - name: Api - type: - name: Treat - id: 6 - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/42001.png - - ankama_id: 282 - name: Superior Health Flask - type: - name: Potion - id: 42 - level: 60 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/12039.png - - ankama_id: 283 - name: Health Flask - type: - name: Potion - id: 42 - level: 40 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/12003.png schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Consumables Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List Consumables tags: - consumables x-stoplight: id: g2xcp6fribgyf - /{game}/{language}/items/quest: + /{game}/v1/{language}/items/quest: get: description: Retrieve a list of quest items. operationId: get-items-quest-list @@ -3446,15 +2436,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -3469,15 +2460,6 @@ paths: example: desc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Sufokia - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -3547,7 +2529,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -3561,45 +2543,27 @@ paths: "200": content: application/json: - examples: - sort[level] asc, page[number] 5, page[size] 2: - value: - _links: - first: https://api.dofusdu.de/dofus2/de/items/quest?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D2 - prev: https://api.dofusdu.de/dofus2/de/items/quest?page%5Bnumber%5D%3D4%26page%5Bsize%5D%3D2 - next: https://api.dofusdu.de/dofus2/de/items/quest?page%5Bnumber%5D%3D6%26page%5Bsize%5D%3D2 - last: https://api.dofusdu.de/dofus2/de/items/quest?page%5Bnumber%5D%3D1454%26page%5Bsize%5D%3D2 - items: - - ankama_id: 7349 - name: Liebesbrief für Poochan - type: - name: Pandala - id: 4 - level: 0 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/24050.png - - ankama_id: 7348 - name: Feudala-Dojo-Siegerurkunde - type: - name: Pandala - id: 4 - level: 0 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/24255.png schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Quest Items Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List Quest Items tags: - quest items x-stoplight: id: qsq51akecj0r0 - /{game}/{language}/items/cosmetics: + /{game}/v1/{language}/items/cosmetics: get: description: Retrieve a list of cosmetic items. operationId: get-cosmetics-list @@ -3622,15 +2586,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -3645,15 +2610,6 @@ paths: example: asc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Chapeau d'apparat - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -3714,7 +2670,6 @@ paths: - parent_set - critical_hit_probability - critical_hit_bonus - - is_two_handed - max_cast_per_turn - ap_cost - range @@ -3726,7 +2681,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: items: @@ -3738,45 +2693,27 @@ paths: "200": content: application/json: - examples: - page[size] 2: - value: - _links: - first: https://api.dofusdu.de/dofus2/fr/items/cosmetics?page%5Bnumber%5D%3D1%26page%5Bsize%5D%3D2 - prev: null - next: https://api.dofusdu.de/dofus2/fr/items/cosmetics?page%5Bnumber%5D%3D2%26page%5Bsize%5D%3D2 - last: https://api.dofusdu.de/dofus2/fr/items/cosmetics?page%5Bnumber%5D%3D704%26page%5Bsize%5D%3D2 - items: - - ankama_id: 1090 - name: Astrocoiffe - type: - name: Chapeau d'apparat - id: 11 - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/16027.png - - ankama_id: 1907 - name: Oreilles de Lapineupe - type: - name: Chapeau d'apparat - id: 11 - level: 1 - image_urls: - icon: https://api.dofusdu.de/dofus2/img/item/16030.png schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Cosmetics Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List Cosmetics tags: - cosmetics x-stoplight: id: mlmwp9s8utn2j - /{game}/{language}/mounts/all: + /{game}/v1/{language}/mounts/all: get: description: |- Retrieve all mounts with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. @@ -3809,21 +2746,22 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: only results with the translated family name explode: true in: query - name: "filter[family_name]" + name: "filter[family.name]" required: false schema: example: Dragoturkey @@ -3839,6 +2777,14 @@ paths: - gzip type: string style: simple + - description: only results with the unique family id + explode: true + in: query + name: "filter[family.id]" + required: false + schema: + type: integer + style: form responses: "200": content: @@ -3861,19 +2807,26 @@ paths: hq: string hd: string schema: - $ref: '#/components/schemas/Mounts-List-Paged' - description: Mounts Found + $ref: '#/components/schemas/ListMounts' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List All Mounts tags: - mounts x-stoplight: id: 35hwizajcz3g7 - /{game}/{language}/sets/all: + /{game}/v1/{language}/sets/all: get: description: |- Retrieve all sets with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. @@ -3906,15 +2859,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -3969,7 +2923,15 @@ paths: \ If true, the item ids are for the cosmetic endpoints instead of equipment." explode: true in: query - name: "filter[is_cosmetic]" + name: "filter[contains_cosmetics_only]" + required: false + schema: + type: boolean + style: form + - description: filter sets based on if they got cosmetic items in it. + explode: true + in: query + name: "filter[contains_cosmetics]" required: false schema: type: boolean @@ -3992,19 +2954,26 @@ paths: items: 0 level: 0 schema: - $ref: '#/components/schemas/Sets-List-Paged' - description: Set Found + $ref: '#/components/schemas/ListSets' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List All Sets tags: - sets x-stoplight: id: rzxp5sotapqe6 - /{game}/{language}/items/cosmetics/all: + /{game}/v1/{language}/items/cosmetics/all: get: description: |- Retrieve all cosmetic items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. @@ -4038,15 +3007,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -4061,15 +3031,6 @@ paths: example: asc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Chapeau d'apparat - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -4102,7 +3063,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -4116,43 +3077,27 @@ paths: "200": content: application/json: - examples: - defaults: - value: - _links: - first: null - prev: null - next: null - last: null - items: - - ankama_id: 0 - name: string - type: - name: string - level: 0 - image_urls: - icon: string - sd: string - hq: string - hd: string - recipe: - - item_ankama_id: 0 - item_subtype: string - quantity: 0 schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Cosmetics Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List All Cosmetics tags: - cosmetics x-stoplight: id: 07si7hjof1qpt - /{game}/{language}/items/quest/all: + /{game}/v1/{language}/items/quest/all: get: description: |- Retrieve all quest items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. @@ -4186,15 +3131,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -4209,15 +3155,6 @@ paths: example: desc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Sufokia - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -4256,7 +3193,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -4270,43 +3207,27 @@ paths: "200": content: application/json: - examples: - defaults: - value: - _links: - first: null - prev: null - next: null - last: null - items: - - ankama_id: 0 - name: string - type: - name: string - level: 0 - image_urls: - icon: string - sd: string - hq: string - hd: string - recipe: - - item_ankama_id: 0 - item_subtype: string - quantity: 0 schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Quest Items Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List All Quest Items tags: - quest items x-stoplight: id: mgmt97sgtrhja - /{game}/{language}/items/consumables/all: + /{game}/v1/{language}/items/consumables/all: get: description: |- Retrieve all consumable items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. @@ -4339,15 +3260,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -4362,15 +3284,6 @@ paths: example: asc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Chest - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -4403,7 +3316,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -4417,43 +3330,27 @@ paths: "200": content: application/json: - examples: - defaults: - value: - _links: - first: null - prev: null - next: null - last: null - items: - - ankama_id: 0 - name: string - type: - name: string - level: 0 - image_urls: - icon: string - sd: string - hq: string - hd: string - recipe: - - item_ankama_id: 0 - item_subtype: string - quantity: 0 schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Consumables Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List All Consumables tags: - consumables x-stoplight: id: llcg4hmp9wucr - /{game}/{language}/items/resources/all: + /{game}/v1/{language}/items/resources/all: get: description: |- Retrieve all resource items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. @@ -4486,15 +3383,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -4509,15 +3407,6 @@ paths: example: desc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: miscellaneous resources - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -4556,7 +3445,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -4570,42 +3459,27 @@ paths: "200": content: application/json: - examples: - defaults: - value: - _links: - first: null - prev: null - next: null - last: null - items: - - ankama_id: 0 - name: string - type: - name: string - level: 0 - image_urls: - icon: string - sd: string - hq: string - hd: string - recipe: - - item_ankama_id: 0 - item_subtype: string - quantity: 0 schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Resources Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List All Resources tags: - resources x-stoplight: id: 1wtcbwhh04jmq - /{game}/{language}/items/equipment/all: + /{game}/v1/{language}/items/equipment/all: get: description: |- Retrieve all equipment items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. @@ -4639,15 +3513,16 @@ paths: minLength: 2 type: string style: simple - - explode: false + - description: dofus3 | dofus3beta + explode: false in: path name: game required: true schema: enum: - - dofus2 - - dofus2beta - example: dofus2 + - dofus3 + - dofus3beta + example: dofus3 type: string style: simple - description: "sort the resulting list by level, default unsorted" @@ -4662,15 +3537,6 @@ paths: example: desc type: string style: form - - description: only results with the translated type name - explode: true - in: query - name: "filter[type_name]" - required: false - schema: - example: Sword - type: string - style: form - description: only results which level is equal or above this value explode: true in: query @@ -4704,7 +3570,7 @@ paths: or "+wood" and exclude with "-wood". explode: false in: query - name: "filter[type_enum]" + name: "filter[type.name_id]" required: false schema: example: @@ -4718,43 +3584,27 @@ paths: "200": content: application/json: - examples: - defaults: - value: - _links: - first: null - prev: null - next: null - last: null - items: - - ankama_id: 0 - name: string - type: - name: string - level: 0 - image_urls: - icon: string - sd: string - hq: string - hd: string - recipe: - - item_ankama_id: 0 - item_subtype: string - quantity: 0 schema: - $ref: '#/components/schemas/Items-List-Paged' - description: Equipment Found + $ref: '#/components/schemas/ListItems' + description: "" "400": - description: | - Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" "404": - description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + description: "" summary: List All Equipment tags: - equipment x-stoplight: id: wbxzhlcid1l0w - /dofus2/{language}/almanax: + /dofus3/{language}/almanax: get: description: "Get a range of dates, defaults to today + 6 following days but\ \ can specified by the query parameters. \n\nfilter[bonus_type] can be used\ @@ -4859,10 +3709,10 @@ paths: item: ankama_id: 14284 image_urls: - hd: https://api.dofusdu.de/dofus2/img/item/15247-800.png - hq: https://api.dofusdu.de/dofus2/img/item/15247-400.png - icon: https://api.dofusdu.de/dofus2/img/item/15247.png - sd: https://api.dofusdu.de/dofus2/img/item/15247-200.png + hd: https://api.dofusdu.de/dofus3/img/item/15247-800.png + hq: https://api.dofusdu.de/dofus3/img/item/15247-400.png + icon: https://api.dofusdu.de/dofus3/img/item/15247.png + sd: https://api.dofusdu.de/dofus3/img/item/15247-200.png name: Spectral Flame subtype: resources quantity: 2 @@ -4877,24 +3727,24 @@ paths: item: ankama_id: 423 image_urls: - hd: https://api.dofusdu.de/dofus2/img/item/34122-800.png - hq: https://api.dofusdu.de/dofus2/img/item/34122-400.png - icon: https://api.dofusdu.de/dofus2/img/item/34122.png - sd: https://api.dofusdu.de/dofus2/img/item/34122-200.png + hd: https://api.dofusdu.de/dofus3/img/item/34122-800.png + hq: https://api.dofusdu.de/dofus3/img/item/34122-400.png + icon: https://api.dofusdu.de/dofus3/img/item/34122.png + sd: https://api.dofusdu.de/dofus3/img/item/34122-200.png name: Flax subtype: resources quantity: 20 schema: items: - $ref: '#/components/schemas/Almanax-Entry' + $ref: '#/components/schemas/Almanax' type: array - description: OK + description: "" summary: Almanax Range tags: - almanax x-stoplight: id: fy8l7o3sz1jyo - /dofus2/{language}/almanax/{date}: + /dofus3/{language}/almanax/{date}: get: description: Get a single date. There are not more details in the returned object than the normal range endpoint. @@ -4947,22 +3797,22 @@ paths: item: ankama_id: 8362 image_urls: - hd: https://api.dofusdu.de/dofus2/img/item/59611-800.png - hq: https://api.dofusdu.de/dofus2/img/item/59611-400.png - icon: https://api.dofusdu.de/dofus2/img/item/59611.png - sd: https://api.dofusdu.de/dofus2/img/item/59611-200.png + hd: https://api.dofusdu.de/dofus3/img/item/59611-800.png + hq: https://api.dofusdu.de/dofus3/img/item/59611-400.png + icon: https://api.dofusdu.de/dofus3/img/item/59611.png + sd: https://api.dofusdu.de/dofus3/img/item/59611-200.png name: Peau de Dragnarok subtype: resources quantity: 2 schema: - $ref: '#/components/schemas/Almanax-Entry' - description: OK + $ref: '#/components/schemas/Almanax' + description: "" summary: Single Almanax Date tags: - almanax x-stoplight: id: d0000xjgaenyh - /dofus2/meta/elements: + /dofus3/meta/elements: get: description: Get the mappings for all specific elements that are linked in the dataset. All names are english. Translations are not needed because of a global @@ -4989,7 +3839,7 @@ paths: - meta x-stoplight: id: 4oyiu8nbwwgds - /dofus2/meta/version: + /dofus3/meta/version: get: description: The current game version of the hosted data. operationId: get-meta-version @@ -4998,23 +3848,18 @@ paths: "200": content: application/json: - examples: - Main: - value: - version: 2.73.3.5 - release: main - update_stamp: 2024-10-03T22:43:10.420677+02:00 + examples: {} schema: - $ref: '#/components/schemas/get_meta_version_200_response' - description: OK + $ref: '#/components/schemas/Version' + description: "" summary: Game Version tags: - meta x-stoplight: id: ha9mde87rn0in - /dofus2/meta/search/types: + /dofus3/meta/search/types: get: - description: "Get all types for /{game}/{lang}/search available for filtering.\ + description: "Get all types for /{game}/v1/{lang}/search available for filtering.\ \ All names are english for comparing them inside applications. Order is fixed\ \ so you can compare indices instead of strings." operationId: get-game-search-types @@ -5043,7 +3888,7 @@ paths: - meta x-stoplight: id: v67mknkhaif2h - /dofus2/meta/items/types: + /dofus3/meta/items/types: get: description: |- Get all types of all items. Primarily used for filtering more detailed types in listings or search endpoints. @@ -5075,13 +3920,14 @@ paths: - meta x-stoplight: id: j8a5zpi8i20xe - /dofus2/meta/{language}/almanax/bonuses: + /dofus3/meta/{language}/almanax/bonuses: get: description: Get all the available bonuses and their id for filtering them in the range endpoint. operationId: get-meta-almanax-bonuses parameters: - - explode: false + - description: a valid language code + explode: false in: path name: language required: true @@ -5126,7 +3972,7 @@ paths: - meta x-stoplight: id: y3rp6gd28quli - /dofus2/meta/{language}/almanax/bonuses/search: + /dofus3/meta/{language}/almanax/bonuses/search: get: description: Search all the available bonuses and their id for filtering them in the range endpoint. @@ -5258,7 +4104,8 @@ paths: description: Delete a Webhook from the service. operationId: delete-webhooks-rss-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5277,7 +4124,8 @@ paths: description: Retrieve details about an existing RSS Webhook with a given uuid. operationId: get-webhooks-rss-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5295,7 +4143,7 @@ paths: whitelist: null blacklist: null subscriptions: - - dofus2-fr-official-news + - dofus3-fr-official-news format: discord preview_length: 150 created_at: 2022-10-25T15:32:37.406281+02:00 @@ -5314,7 +4162,8 @@ paths: \ arrays will be overwritten, so always put all selected items of an array." operationId: put-webhooks-rss-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5345,7 +4194,7 @@ paths: whitelist: null blacklist: null subscriptions: - - dofus2-fr-official-news + - dofus3-fr-official-news format: discord preview_length: 150 created_at: 2022-10-25T15:32:37.406281+02:00 @@ -5364,7 +4213,8 @@ paths: description: Delete a Webhook from the service. operationId: delete-webhooks-twitter-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5384,7 +4234,8 @@ paths: uuid. operationId: get-webhooks-twitter-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5423,7 +4274,8 @@ paths: \ and arrays will be overwritten, so always put all selected items of an array." operationId: put-webhooks-twitter-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5440,7 +4292,7 @@ paths: - retro blacklist: null subscriptions: - - dofus2-en-official-changelog + - dofus3-en-official-changelog preview_length: null schema: $ref: '#/components/schemas/PutTwitterWebhook' @@ -5477,7 +4329,8 @@ paths: description: Delete a Webhook from the service. operationId: delete-webhooks-almanax-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5497,7 +4350,8 @@ paths: uuid. operationId: get-webhooks-almanax-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5519,7 +4373,7 @@ paths: - plenty-to-harvest bonus_blacklist: null subscriptions: - - dofus2_en + - dofus3_en iso_date: false mentions: kolossium-experience: @@ -5545,7 +4399,8 @@ paths: \ and arrays will be overwritten, so always put all selected items of an array." operationId: put-webhooks-almanax-id parameters: - - explode: false + - description: the ID returned from the API when creating the webhook + explode: false in: path name: id required: true @@ -5590,7 +4445,7 @@ paths: - plenty-to-harvest bonus_blacklist: null subscriptions: - - dofus2_en + - dofus3_en iso_date: false mentions: kolossium-experience: @@ -5625,7 +4480,7 @@ paths: - retro blacklist: null subscriptions: - - dofus2-en-official-news + - dofus3-en-official-news format: discord preview_length: 2000 callback: https://discord.com/api/webhooks/XYZ @@ -5682,7 +4537,7 @@ paths: bonus_whitelist: null bonus_blacklist: null subscriptions: - - dofus2_fr + - dofus3_fr format: discord callback: https://discord.com/api/webhooks/XYZ daily_settings: @@ -5710,10 +4565,12 @@ paths: id: rgb2d0j47fr0l components: schemas: - Items-List-Entry-Typed: + ListItemGeneral: example: - level: 1 - item_subtype: item_subtype + level: 5 + item_subtype: + name_id: name_id + ankama_id: 1 name: name image_urls: sd: sd @@ -5730,92 +4587,159 @@ components: name: type: string type: - $ref: '#/components/schemas/Items_List_Entry_Typed_type' + $ref: '#/components/schemas/TranslatedId' item_subtype: - description: The API item category. Can be used to build the request URL - for this particular item. Always english. - type: string + $ref: '#/components/schemas/ItemSubtype' level: type: integer image_urls: - $ref: '#/components/schemas/Image-Urls' + $ref: '#/components/schemas/Images' + title: ListItemGeneral type: object x-examples: {} x-stoplight: id: r5b3ia3ectz8q - Recipe-Entry: - example: - quantity: 5 - item_subtype: item_subtype - item_ankama_id: 1 - properties: - item_ankama_id: - type: integer - item_subtype: - type: string - quantity: - type: integer - title: "" - type: object - x-examples: {} - x-stoplight: - id: mb2ht06tym8se - Set-Effects-Entry: + ListItem: example: - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 + critical_hit_probability: 2 + parent_set: "" + level: 6 + is_weapon: true + recipe: + - quantity: 5 + item_subtype: item_subtype + item_ankama_id: 1 + - quantity: 5 + item_subtype: item_subtype + item_ankama_id: 1 + image_urls: + sd: sd + icon: icon + hq: hq + hd: hd + description: description + range: + min: 2 + max: 4 type: - is_meta: true - is_active: true name: name - id: 5 - int_minimum: 5 + id: 6 + effects: + - ignore_int_min: true + ignore_int_max: true + formatted: formatted + int_maximum: 5 + type: + is_active: true + is_meta: true + name: name + id: 5 + int_minimum: 1 + - ignore_int_min: true + ignore_int_max: true + formatted: formatted + int_maximum: 5 + type: + is_active: true + is_meta: true + name: name + id: 5 + int_minimum: 1 + max_cast_per_turn: 9 + name: name + ap_cost: 3 + pods: 5 + conditions: "" + critical_hit_bonus: 7 + ankama_id: 0 properties: - int_minimum: - description: "minimum int value, can be a single if ignore_int_max and no\ - \ ignore_int_min" - type: integer - int_maximum: - description: "maximum int value, if not ignore_int_max and not ignore_int_min,\ - \ the effect has a range value" + ankama_id: type: integer - type: - $ref: '#/components/schemas/Set_Effects_Entry_type' - ignore_int_min: - description: 'ignore the int min field because the actual value is a string. - For readability the templated field is the only important field in this - case. ' - type: boolean - ignore_int_max: - description: "ignore the int max field, if ignore_int_min is true, int min\ - \ is a single value" - type: boolean - formatted: - description: all fields from above encoded in a single string + name: type: string - item_combination: - description: how many items it needs to trigger this effect with the given - set + type: + $ref: '#/components/schemas/TranslatedId' + level: type: integer - type: object + image_urls: + $ref: '#/components/schemas/Images' + recipe: + items: + $ref: '#/components/schemas/Recipe' + nullable: true + type: array + description: + nullable: true + type: string + x-stoplight: + id: t04qfhnlgc4kw + conditions: + allOf: + - $ref: '#/components/schemas/ConditionNode' + nullable: true + effects: + items: + $ref: '#/components/schemas/Effect' + nullable: true + type: array + is_weapon: + nullable: true + type: boolean + pods: + nullable: true + type: integer + parent_set: + allOf: + - $ref: '#/components/schemas/TranslatedId' + nullable: true + critical_hit_probability: + nullable: true + type: integer + critical_hit_bonus: + nullable: true + type: integer + max_cast_per_turn: + nullable: true + type: integer + ap_cost: + nullable: true + type: integer + range: + $ref: '#/components/schemas/Range' + title: ListItem + type: object x-examples: {} - x-tags: - - meta - Effects-Entry: + x-stoplight: + id: t7g4fratmdgkx + Recipe: + example: + quantity: 5 + item_subtype: item_subtype + item_ankama_id: 1 + properties: + item_ankama_id: + type: integer + item_subtype: + type: string + quantity: + type: integer + title: Recipe + type: object + x-examples: {} + x-stoplight: + id: mb2ht06tym8se + Effect: example: ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 properties: int_minimum: description: "minimum int value, can be a single if ignore_int_max and no\ @@ -5826,7 +4750,7 @@ components: \ the effect has a range value" type: integer type: - $ref: '#/components/schemas/Set_Effects_Entry_type' + $ref: '#/components/schemas/EffectType' ignore_int_min: description: 'ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this @@ -5839,13 +4763,46 @@ components: formatted: description: all fields from above encoded in a single string type: string + title: Effect type: object x-examples: {} x-tags: - meta x-stoplight: id: frixo5s02x57v - Image-Urls: + EffectType: + example: + is_active: true + is_meta: true + name: name + id: 5 + properties: + id: + type: integer + x-stoplight: + id: 8tu8tzm9pnpyl + name: + type: string + x-stoplight: + id: 57dfic9du6d6s + is_active: + description: Affects target or source actively. + type: boolean + x-stoplight: + id: adhrzfp84g758 + is_meta: + description: "true if a type is generated from the Api instead of Ankama.\ + \ In that case, always prefer showing the templated string and omit everything\ + \ else. The \"name\" field will have an english description of the meta\ + \ type. An example for such effects are class sets effects." + type: boolean + x-stoplight: + id: 26vqqj1u5rff2 + title: EffectType + type: object + x-stoplight: + id: h9lje70zy2774 + Images: description: "All images except icon are rendered in the background which can\ \ take some time (up to hours if all data is completely generated from scratch).\ \ Because of this, they can be null if they are not yet rendered." @@ -5856,65 +4813,49 @@ components: hd: hd properties: icon: - description: "60x60 px, always available" + description: "64x64 px, always available" type: string sd: - description: 200x200 px + description: around 2x the resolution of icon nullable: true type: string hq: - description: 400x400 px + description: around 2x the resolution of sd nullable: true type: string hd: - description: 800x800 px + description: around 2x the resolution of hd nullable: true type: string - title: "" + title: Images type: object - x-examples: - All available: - icon: https://dofusdu.de/dofus/img/mount/1.png - sd: https://dofusdu.de/dofus/img/mount/1-200.png - hq: https://dofusdu.de/dofus/img/mount/1-400.png - hd: https://dofusdu.de/dofus/img/mount/1-800.png - HD not rendered: - icon: https://dofusdu.de/dofus/img/mount/1.png - sd: https://dofusdu.de/dofus/img/mount/1-200.png - hq: https://dofusdu.de/dofus/img/mount/1-400.png + x-examples: {} x-stoplight: id: ebvisb0pnf46t Resource: - description: "" example: effects: - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 - condition_tree: - children: - - null - - null - is_operand: false - relation: and - level: 1 + int_minimum: 1 + level: 6 name: name recipe: - quantity: 5 @@ -5929,21 +4870,11 @@ components: icon: icon hq: hq hd: hd - pods: 5 + pods: 1 type: name: name - id: 0 - conditions: - - operator: operator - int_value: 5 - element: - name: name - id: 6 - - operator: operator - int_value: 5 - element: - name: name - id: 6 + id: 6 + conditions: "" ankama_id: 0 properties: ankama_id: @@ -5953,218 +4884,57 @@ components: description: type: string type: - $ref: '#/components/schemas/Resource_type' + $ref: '#/components/schemas/TranslatedId' level: type: integer pods: type: integer image_urls: - $ref: '#/components/schemas/Image-Urls' + $ref: '#/components/schemas/Images' effects: items: - $ref: '#/components/schemas/Effects-Entry' + $ref: '#/components/schemas/Effect' nullable: true type: array conditions: - deprecated: true - items: - $ref: '#/components/schemas/Condition-Entry' + allOf: + - $ref: '#/components/schemas/ConditionNode' nullable: true - type: array - condition_tree: - $ref: '#/components/schemas/Condition-Tree-Node' recipe: items: - $ref: '#/components/schemas/Recipe-Entry' + $ref: '#/components/schemas/Recipe' nullable: true type: array + title: Resource type: object x-examples: {} x-stoplight: id: 10otndsm7bw3k - Item-List-Entry: - example: - critical_hit_probability: 9 - parent_set: - name: name - id: 7 - is_two_handed: true - level: 6 - is_weapon: true - recipe: - - quantity: 5 - item_subtype: item_subtype - item_ankama_id: 1 - - quantity: 5 - item_subtype: item_subtype - item_ankama_id: 1 - image_urls: - sd: sd - icon: icon - hq: hq - hd: hd - description: description - range: - min: 7 - max: 1 - type: - name: name - id: 6 - effects: - - ignore_int_min: true - ignore_int_max: true - formatted: formatted - int_maximum: 1 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 6 - - ignore_int_min: true - ignore_int_max: true - formatted: formatted - int_maximum: 1 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 6 - max_cast_per_turn: 2 - condition_tree: - children: - - null - - null - is_operand: false - relation: and - name: name - ap_cost: 4 - pods: 2 - conditions: - - operator: operator - int_value: 5 - element: - name: name - id: 6 - - operator: operator - int_value: 5 - element: - name: name - id: 6 - critical_hit_bonus: 3 - ankama_id: 0 - properties: - ankama_id: - type: integer - name: - type: string - type: - $ref: '#/components/schemas/Items_List_Entry_Typed_type' - level: - type: integer - image_urls: - $ref: '#/components/schemas/Image-Urls' - recipe: - items: - $ref: '#/components/schemas/Recipe-Entry' - nullable: true - type: array - description: - nullable: true - type: string - x-stoplight: - id: t04qfhnlgc4kw - conditions: - deprecated: true - items: - $ref: '#/components/schemas/Condition-Entry' - nullable: true - type: array - condition_tree: - $ref: '#/components/schemas/Condition-Tree-Node' - effects: - items: - $ref: '#/components/schemas/Effects-Entry' - nullable: true - type: array - is_weapon: - nullable: true - type: boolean - pods: - nullable: true - type: integer - parent_set: - $ref: '#/components/schemas/Item_List_Entry_parent_set' - critical_hit_probability: - nullable: true - type: integer - critical_hit_bonus: - nullable: true - type: integer - is_two_handed: - nullable: true - type: boolean - max_cast_per_turn: - nullable: true - type: integer - ap_cost: - nullable: true - type: integer - range: - $ref: '#/components/schemas/Item_List_Entry_range' - type: object - x-examples: {} - x-stoplight: - id: t7g4fratmdgkx - Equipment-Set: + Set: example: is_cosmetic: true effects: - - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 5 + key: - ignore_int_min: true ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true - name: name - id: 5 - int_minimum: 5 - - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: is_meta: true - is_active: true name: name id: 5 - int_minimum: 5 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 5 + int_minimum: 1 highest_equipment_level: 1 name: name equipment_ids: @@ -6181,74 +4951,57 @@ components: type: integer type: array effects: - items: + additionalProperties: items: - $ref: '#/components/schemas/Set-Effects-Entry' + $ref: '#/components/schemas/Effect' + minItems: 0 type: array - nullable: true - type: array + x-stoplight: + id: 9zr0rwo061q8o + title: SetEffects + type: object + x-stoplight: + id: kdx5a0h3kp09h highest_equipment_level: type: integer is_cosmetic: type: boolean x-stoplight: id: 7d1w5073pqtt7 + title: Set type: object x-stoplight: id: xmkp08r20yq44 - Set-List-Entry: + ListSet: example: is_cosmetic: true effects: - - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 5 + key: - ignore_int_min: true ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true - name: name - id: 5 - int_minimum: 5 - - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: is_meta: true - is_active: true name: name id: 5 - int_minimum: 5 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 5 + int_minimum: 1 level: 1 name: name equipment_ids: - - 7 - - 7 + - 5 + - 5 items: 6 ankama_id: 0 properties: @@ -6262,12 +5015,17 @@ components: level: type: integer effects: - items: + additionalProperties: items: - $ref: '#/components/schemas/Set-Effects-Entry' + $ref: '#/components/schemas/Effect' + minItems: 0 type: array - nullable: true - type: array + x-stoplight: + id: 9zr0rwo061q8o + title: SetEffects + type: object + x-stoplight: + id: kdx5a0h3kp09h equipment_ids: items: type: integer @@ -6277,6 +5035,7 @@ components: type: boolean x-stoplight: id: uztiykrx0bobf + title: ListSet type: object x-examples: {} x-stoplight: @@ -6287,100 +5046,52 @@ components: - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true - name: name - id: 5 - int_minimum: 6 - - ignore_int_min: true - ignore_int_max: true - formatted: formatted - int_maximum: 1 - type: is_meta: true - is_active: true name: name id: 5 - int_minimum: 6 - name: name - image_urls: - sd: sd - icon: icon - hq: hq - hd: hd - family_name: family_name - ankama_id: 0 - properties: - ankama_id: - type: integer - name: - type: string - family_name: - type: string - image_urls: - $ref: '#/components/schemas/Image-Urls' - effects: - items: - $ref: '#/components/schemas/Effects-Entry' - nullable: true - type: array - title: "" - type: object - x-stoplight: - id: t56c7qu8hapx4 - Mount-List-Entry: - example: - effects: + int_minimum: 1 - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true - name: name - id: 5 - int_minimum: 6 - - ignore_int_min: true - ignore_int_max: true - formatted: formatted - int_maximum: 1 - type: is_meta: true - is_active: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 name: name image_urls: sd: sd icon: icon hq: hq hd: hd - family_name: family_name + family: + name: name + ankama_id: 6 ankama_id: 0 properties: ankama_id: type: integer name: type: string - family_name: - type: string + family: + $ref: '#/components/schemas/MountFamily' image_urls: - $ref: '#/components/schemas/Image-Urls' + $ref: '#/components/schemas/Images' effects: items: - $ref: '#/components/schemas/Effects-Entry' + $ref: '#/components/schemas/Effect' nullable: true type: array - title: "" + title: Mount type: object - x-examples: {} x-stoplight: - id: rie41mn8llctq - Items-List-Paged: + id: t56c7qu8hapx4 + ListItems: example: _links: next: next @@ -6388,11 +5099,8 @@ components: prev: prev first: first items: - - critical_hit_probability: 9 - parent_set: - name: name - id: 7 - is_two_handed: true + - critical_hit_probability: 2 + parent_set: "" level: 6 is_weapon: true recipe: @@ -6409,8 +5117,8 @@ components: hd: hd description: description range: - min: 7 - max: 1 + min: 2 + max: 4 type: name: name id: 6 @@ -6418,51 +5126,32 @@ components: - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 - max_cast_per_turn: 2 - condition_tree: - children: - - null - - null - is_operand: false - relation: and + int_minimum: 1 + max_cast_per_turn: 9 name: name - ap_cost: 4 - pods: 2 - conditions: - - operator: operator - int_value: 5 - element: - name: name - id: 6 - - operator: operator - int_value: 5 - element: - name: name - id: 6 - critical_hit_bonus: 3 + ap_cost: 3 + pods: 5 + conditions: "" + critical_hit_bonus: 7 ankama_id: 0 - - critical_hit_probability: 9 - parent_set: - name: name - id: 7 - is_two_handed: true + - critical_hit_probability: 2 + parent_set: "" level: 6 is_weapon: true recipe: @@ -6479,8 +5168,8 @@ components: hd: hd description: description range: - min: 7 - max: 1 + min: 2 + max: 4 type: name: name id: 6 @@ -6488,164 +5177,102 @@ components: - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 - max_cast_per_turn: 2 - condition_tree: - children: - - null - - null - is_operand: false - relation: and + int_minimum: 1 + max_cast_per_turn: 9 name: name - ap_cost: 4 - pods: 2 - conditions: - - operator: operator - int_value: 5 - element: - name: name - id: 6 - - operator: operator - int_value: 5 - element: - name: name - id: 6 - critical_hit_bonus: 3 + ap_cost: 3 + pods: 5 + conditions: "" + critical_hit_bonus: 7 ankama_id: 0 properties: _links: - $ref: '#/components/schemas/Links-Paged' + $ref: '#/components/schemas/PagedLinks' items: items: - $ref: '#/components/schemas/Item-List-Entry' + $ref: '#/components/schemas/ListItem' type: array - title: "" + title: ListItems type: object x-stoplight: id: wp54br61flkau - Sets-List-Paged: + ListSets: example: sets: - is_cosmetic: true effects: - - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 5 - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 5 - - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 5 + key: - ignore_int_min: true ignore_int_max: true - item_combination: 2 - formatted: formatted - int_maximum: 5 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 5 - level: 1 - name: name - equipment_ids: - - 7 - - 7 - items: 6 - ankama_id: 0 - - is_cosmetic: true - effects: - - - ignore_int_min: true - ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 5 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 5 - - - ignore_int_min: true + int_minimum: 1 + level: 1 + name: name + equipment_ids: + - 5 + - 5 + items: 6 + ankama_id: 0 + - is_cosmetic: true + effects: + key: + - ignore_int_min: true ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 5 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true - item_combination: 2 formatted: formatted int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 5 + int_minimum: 1 level: 1 name: name equipment_ids: - - 7 - - 7 + - 5 + - 5 items: 6 ankama_id: 0 _links: @@ -6655,15 +5282,16 @@ components: first: first properties: _links: - $ref: '#/components/schemas/Links-Paged' + $ref: '#/components/schemas/PagedLinks' sets: items: - $ref: '#/components/schemas/Set-List-Entry' + $ref: '#/components/schemas/ListSet' type: array + title: ListSetPaged type: object x-stoplight: id: kr369f842c2w9 - Mounts-List-Paged: + ListMounts: example: _links: next: next @@ -6675,72 +5303,76 @@ components: - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 name: name image_urls: sd: sd icon: icon hq: hq hd: hd - family_name: family_name + family: + name: name + ankama_id: 6 ankama_id: 0 - effects: - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 name: name image_urls: sd: sd icon: icon hq: hq hd: hd - family_name: family_name + family: + name: name + ankama_id: 6 ankama_id: 0 properties: _links: - $ref: '#/components/schemas/Links-Paged' + $ref: '#/components/schemas/PagedLinks' items: items: - $ref: '#/components/schemas/Mount-List-Entry' + $ref: '#/components/schemas/Mount' type: array - title: "" + title: ListMounts type: object x-stoplight: id: 67iikn0tj64zs - Links-Paged: + PagedLinks: example: next: next last: last @@ -6759,54 +5391,43 @@ components: last: nullable: true type: string - title: "" + title: PagedLinks type: object x-stoplight: id: 60s06npdim49u - Condition-Entry: - description: "" - example: - operator: operator - int_value: 5 - element: - name: name - id: 6 + Condition: properties: operator: type: string int_value: type: integer element: - $ref: '#/components/schemas/Items_List_Entry_Typed_type' + $ref: '#/components/schemas/TranslatedId' type: object x-stoplight: id: cfe46yvylz0b5 - Condition-Tree-Node: + ConditionNode: oneOf: - - $ref: '#/components/schemas/Condition-Tree-Relation' - - $ref: '#/components/schemas/Condition-Tree-Leaf' + - $ref: '#/components/schemas/ConditionRelation' + - $ref: '#/components/schemas/ConditionLeaf' + title: ConditionNode x-stoplight: id: kv2rib65himdt x-examples: {} - Condition-Tree-Leaf: + ConditionLeaf: properties: is_operand: default: true description: always "true" for the leaf of a tree type: boolean condition: - $ref: '#/components/schemas/Condition-Entry' + $ref: '#/components/schemas/Condition' type: object x-stoplight: id: qpb8of1ljcb4y x-examples: {} - Condition-Tree-Relation: - example: - children: - - null - - null - is_operand: false - relation: and + ConditionRelation: + description: "" properties: is_operand: default: false @@ -6819,19 +5440,45 @@ components: type: string children: items: - $ref: '#/components/schemas/Condition-Tree-Node' + allOf: + - $ref: '#/components/schemas/ConditionNode' + nullable: true + x-stoplight: + id: i3dqn2ib2hjfl + minItems: 0 type: array + title: ConditionRelation type: object x-stoplight: id: 1ubaw97npzw7b x-examples: {} Equipment: example: - parent_set: - name: name - id: 7 + effects: + - ignore_int_min: true + ignore_int_max: true + formatted: formatted + int_maximum: 5 + type: + is_active: true + is_meta: true + name: name + id: 5 + int_minimum: 1 + - ignore_int_min: true + ignore_int_max: true + formatted: formatted + int_maximum: 5 + type: + is_active: true + is_meta: true + name: name + id: 5 + int_minimum: 1 + parent_set: "" level: 6 is_weapon: true + name: name recipe: - quantity: 5 item_subtype: item_subtype @@ -6845,49 +5492,11 @@ components: icon: icon hq: hq hd: hd + pods: 1 type: name: name id: 6 - effects: - - ignore_int_min: true - ignore_int_max: true - formatted: formatted - int_maximum: 1 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 6 - - ignore_int_min: true - ignore_int_max: true - formatted: formatted - int_maximum: 1 - type: - is_meta: true - is_active: true - name: name - id: 5 - int_minimum: 6 - condition_tree: - children: - - null - - null - is_operand: false - relation: and - name: name - pods: 1 - conditions: - - operator: operator - int_value: 5 - element: - name: name - id: 6 - - operator: operator - int_value: 5 - element: - name: name - id: 6 + conditions: "" ankama_id: 0 properties: ankama_id: @@ -6897,7 +5506,7 @@ components: description: type: string type: - $ref: '#/components/schemas/Items_List_Entry_Typed_type' + $ref: '#/components/schemas/TranslatedId' is_weapon: type: boolean level: @@ -6905,27 +5514,25 @@ components: pods: type: integer image_urls: - $ref: '#/components/schemas/Image-Urls' + $ref: '#/components/schemas/Images' effects: items: - $ref: '#/components/schemas/Effects-Entry' + $ref: '#/components/schemas/Effect' nullable: true type: array conditions: - deprecated: true - items: - $ref: '#/components/schemas/Condition-Entry' + allOf: + - $ref: '#/components/schemas/ConditionNode' nullable: true - type: array - condition_tree: - $ref: '#/components/schemas/Condition-Tree-Node' recipe: items: - $ref: '#/components/schemas/Recipe-Entry' + $ref: '#/components/schemas/Recipe' nullable: true type: array parent_set: - $ref: '#/components/schemas/Item_List_Entry_parent_set' + allOf: + - $ref: '#/components/schemas/TranslatedId' + nullable: true type: object x-examples: {} x-stoplight: @@ -6933,10 +5540,7 @@ components: Weapon: example: critical_hit_probability: 5 - parent_set: - name: name - id: 7 - is_two_handed: true + parent_set: "" level: 6 is_weapon: true recipe: @@ -6953,8 +5557,8 @@ components: hq: hq hd: hd range: - min: 9 - max: 3 + min: 2 + max: 4 type: name: name id: 6 @@ -6962,44 +5566,28 @@ components: - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 - ignore_int_min: true ignore_int_max: true formatted: formatted - int_maximum: 1 + int_maximum: 5 type: - is_meta: true is_active: true + is_meta: true name: name id: 5 - int_minimum: 6 + int_minimum: 1 max_cast_per_turn: 2 - condition_tree: - children: - - null - - null - is_operand: false - relation: and name: name ap_cost: 7 pods: 1 - conditions: - - operator: operator - int_value: 5 - element: - name: name - id: 6 - - operator: operator - int_value: 5 - element: - name: name - id: 6 + conditions: "" critical_hit_bonus: 5 ankama_id: 0 properties: @@ -7010,7 +5598,7 @@ components: description: type: string type: - $ref: '#/components/schemas/Items_List_Entry_Typed_type' + $ref: '#/components/schemas/TranslatedId' is_weapon: description: always true when the item is a weapon. Many fields are now available. Always check for this flag first when getting single equipment @@ -7021,44 +5609,141 @@ components: pods: type: integer image_urls: - $ref: '#/components/schemas/Image-Urls' + $ref: '#/components/schemas/Images' effects: items: - $ref: '#/components/schemas/Effects-Entry' + $ref: '#/components/schemas/Effect' nullable: true type: array conditions: - deprecated: true - items: - $ref: '#/components/schemas/Condition-Entry' + allOf: + - $ref: '#/components/schemas/ConditionNode' nullable: true - type: array - condition_tree: - $ref: '#/components/schemas/Condition-Tree-Node' critical_hit_probability: type: integer critical_hit_bonus: type: integer - is_two_handed: - type: boolean max_cast_per_turn: type: integer ap_cost: type: integer range: - $ref: '#/components/schemas/Weapon_range' + $ref: '#/components/schemas/Range' recipe: items: - $ref: '#/components/schemas/Recipe-Entry' + $ref: '#/components/schemas/Recipe' nullable: true type: array parent_set: - $ref: '#/components/schemas/Item_List_Entry_parent_set' + allOf: + - $ref: '#/components/schemas/TranslatedId' + nullable: true type: object x-examples: {} x-stoplight: id: 904f1afmcifdp - Almanax-Entry: + ItemSubtype: + example: + name_id: name_id + ankama_id: 1 + properties: + ankama_id: + type: integer + x-stoplight: + id: n5cqko2t6q5kx + name_id: + description: unique + type: string + x-stoplight: + id: 914m1fu53jptk + title: ItemSubtype + type: object + x-stoplight: + id: vhpfmq2ovxmfg + SetEffects: + additionalProperties: + items: + $ref: '#/components/schemas/Effect' + minItems: 0 + type: array + x-stoplight: + id: 9zr0rwo061q8o + title: SetEffects + type: object + x-stoplight: + id: kdx5a0h3kp09h + TranslatedId: + example: + name: name + id: 6 + properties: + id: + description: unique + type: integer + x-stoplight: + id: t60hbquleeyuy + name: + description: localized name + type: string + x-stoplight: + id: isofaco3r3x4i + title: TranslatedId + type: object + MountFamily: + example: + name: name + ankama_id: 6 + properties: + ankama_id: + type: integer + x-stoplight: + id: ck57mmuv0bl4q + name: + description: localized name + type: string + title: MountFamily + type: object + x-stoplight: + id: 7v7yek19r0zo5 + Error: + example: + code: code + details: details + error: error + message: message + status: 5 + properties: + status: + description: HTTP status code + type: integer + x-stoplight: + id: 2m13q0eljxvuk + error: + description: HTTP status as text + type: string + x-stoplight: + id: f05elfa5kv7m6 + code: + description: API specific error identifier for switch-case handling + type: string + x-stoplight: + id: f29krod4og7ez + message: + description: "General, human-friendly error description" + type: string + x-stoplight: + id: jqri60r7fsgmj + details: + description: "Detailed, human-friendly problem description adopting specific\ + \ inputs of the request" + type: string + x-stoplight: + id: 32jtq681vde1v + title: Error + type: object + x-stoplight: + id: 5skvt5sqsw5ic + Almanax: example: date: date reward_kamas: 1 @@ -7080,11 +5765,11 @@ components: quantity: 6 properties: bonus: - $ref: '#/components/schemas/Almanax_Entry_bonus' + $ref: '#/components/schemas/Almanax_bonus' date: type: string tribute: - $ref: '#/components/schemas/Almanax_Entry_tribute' + $ref: '#/components/schemas/Almanax_tribute' reward_kamas: description: Amount of Kamas you get as reward for finishing this Almanax quest. @@ -7092,6 +5777,7 @@ components: type: integer x-stoplight: id: oneb4usnoodzz + title: Almanax type: object x-examples: {} x-stoplight: @@ -7220,7 +5906,7 @@ components: whitelist: - retro subscriptions: - - dofus2-en-official-news + - dofus3-en-official-news format: discord preview_length: 2000 callback: https://discord.com/api/webhooks/XYZ @@ -7316,7 +6002,7 @@ components: whitelist: - retro subscriptions: - - dofus2-en-official-changelog + - dofus3-en-official-changelog x-stoplight: id: omtuayunn9wfk CreateAlmanaxWebhook: @@ -7346,13 +6032,13 @@ components: - bonus_blacklist properties: bonus_whitelist: - description: "from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses" + description: "from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses" items: type: string nullable: true type: array bonus_blacklist: - description: "from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses" + description: "from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses" items: type: string nullable: true @@ -7431,7 +6117,7 @@ components: x-examples: Example: subscriptions: - - dofus2_fr + - dofus3_fr format: discord callback: https://discord.com/api/webhooks/XYZ daily_settings: @@ -7473,14 +6159,14 @@ components: properties: bonus_whitelist: description: |- - from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. + from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. items: type: string nullable: true type: array bonus_blacklist: - description: "from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses.\ + description: "from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses.\ \ Delete old entries with empty array []. Just null changes nothing." items: type: string @@ -7618,7 +6304,7 @@ components: Example: id: string subscriptions: - - dofus2-fr-official-news + - dofus3-fr-official-news format: discord preview_length: 150 created_at: 2022-10-25T15:32:37.406281+02:00 @@ -7739,7 +6425,7 @@ components: bonus_whitelist: description: |- Only post when these bonuses come up. - From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. + From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. items: type: string nullable: true @@ -7747,7 +6433,7 @@ components: bonus_blacklist: description: |- Skip the day when these bonuses come up. - From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses + From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses items: type: string nullable: true @@ -7825,7 +6511,7 @@ components: bonus_whitelist: - plenty-to-harvest subscriptions: - - dofus2_en + - dofus3_en iso_date: false mentions: kolossium-experience: @@ -7839,25 +6525,92 @@ components: updated_at: 2019-08-24T14:15:22Z x-stoplight: id: x3oc9iaxf57wv - get_game_search_200_response_inner: + Range: + example: + min: 2 + max: 4 + properties: + min: + type: integer + x-stoplight: + id: 0gn8zckrxbbr4 + max: + type: integer + x-stoplight: + id: ujqak9zy7cxer + title: Range + type: object + x-stoplight: + id: kan42tn0dy7yf + GameSearch: example: name: name - type: type + type: + name_id: name_id + item_fields: + level: 6 + image_urls: + sd: sd + icon: icon + hq: hq + hd: hd + type: + name_id: name_id ankama_id: 0 properties: - name: - description: Name of the hit. The query could still have matched with the - description only. - type: string ankama_id: - description: Ankama ID for retrieving more details in the type specific - endpoint. type: integer + x-stoplight: + id: qoe7ecpftg215 + name: + type: string + x-stoplight: + id: 8476cadtxa064 type: - description: Type classification + $ref: '#/components/schemas/GameSearchType' + item_fields: + $ref: '#/components/schemas/GameSearchItem' + title: GameSearch + type: object + x-stoplight: + id: u8xaaojb27p5j + GameSearchType: + example: + name_id: name_id + properties: + name_id: type: string + x-stoplight: + id: bc62jam7sk3ta + title: GameSearchType + type: object + x-stoplight: + id: ix89xa48iwyu1 + GameSearchItem: + example: + level: 6 + image_urls: + sd: sd + icon: icon + hq: hq + hd: hd + type: + name_id: name_id + properties: + type: + $ref: '#/components/schemas/GameSearchType' + level: + nullable: true + type: integer + x-stoplight: + id: e80w3jwdolhm5 + image_urls: + $ref: '#/components/schemas/Images' + title: GameSearchItem type: object - get_meta_version_200_response: + x-stoplight: + id: w969rujdj0538 + Version: example: release: release update_stamp: update_stamp @@ -7869,12 +6622,13 @@ components: type: string update_stamp: type: string + title: Version type: object x-examples: - Example 1: - version: 2.73.3.5 - release: main - update_stamp: 2024-10-03T22:43:10.420677+02:00 + Beta Release: + version: 3.0.5.9 + release: beta + update_stamp: 2024-11-28T22:25:42.062971457+01:00 get_meta_almanax_bonuses_200_response_inner: example: name: name @@ -7899,86 +6653,12 @@ components: x-examples: example-1: subscriptions: - - dofus2_en - - dofus2_fr - - dofus2_es - - dofus2_it - - dofus2_de - Items_List_Entry_Typed_type: - example: - name: name - id: 6 - properties: - name: - type: string - id: - type: integer - type: object - Set_Effects_Entry_type: - example: - is_meta: true - is_active: true - name: name - id: 5 - properties: - name: - type: string - id: - type: integer - is_meta: - description: "true if a type is generated from the Api instead of Ankama.\ - \ In that case, always prefer showing the templated string and omit everything\ - \ else. The \"name\" field will have an english description of the meta\ - \ type. An example for such effects are class sets effects." - type: boolean - is_active: - description: Affects target or source actively. - type: boolean - type: object - Resource_type: - example: - name: name - id: 0 - properties: - name: - type: string - id: - minimum: 0 - type: integer - type: object - Item_List_Entry_parent_set: - example: - name: name - id: 7 - nullable: true - properties: - id: - type: integer - name: - type: string - type: object - Item_List_Entry_range: - example: - min: 7 - max: 1 - nullable: true - properties: - min: - type: integer - max: - type: integer - type: object - Weapon_range: - example: - min: 9 - max: 3 - properties: - min: - type: integer - max: - type: integer - type: object - Almanax_Entry_bonus: + - dofus3_en + - dofus3_fr + - dofus3_es + - dofus3_it + - dofus3_de + Almanax_bonus: example: description: description type: @@ -7990,7 +6670,7 @@ components: type: $ref: '#/components/schemas/get_meta_almanax_bonuses_200_response_inner' type: object - Almanax_Entry_tribute_item: + Almanax_tribute_item: example: subtype: subtype name: name @@ -8004,13 +6684,13 @@ components: ankama_id: type: integer image_urls: - $ref: '#/components/schemas/Image-Urls' + $ref: '#/components/schemas/Images' name: type: string subtype: type: string type: object - Almanax_Entry_tribute: + Almanax_tribute: example: item: subtype: subtype @@ -8024,7 +6704,7 @@ components: quantity: 6 properties: item: - $ref: '#/components/schemas/Almanax_Entry_tribute_item' + $ref: '#/components/schemas/Almanax_tribute_item' quantity: type: integer type: object diff --git a/docs/AlmanaxEntry.md b/docs/Almanax.md similarity index 68% rename from docs/AlmanaxEntry.md rename to docs/Almanax.md index e273037..ca62a66 100644 --- a/docs/AlmanaxEntry.md +++ b/docs/Almanax.md @@ -1,12 +1,12 @@ -# Dofusdude.Api.Model.AlmanaxEntry +# Dofusdude.Api.Model.Almanax ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Bonus** | [**AlmanaxEntryBonus**](AlmanaxEntryBonus.md) | | [optional] +**Bonus** | [**AlmanaxBonus**](AlmanaxBonus.md) | | [optional] **Date** | **string** | | [optional] -**Tribute** | [**AlmanaxEntryTribute**](AlmanaxEntryTribute.md) | | [optional] +**Tribute** | [**AlmanaxTribute**](AlmanaxTribute.md) | | [optional] **RewardKamas** | **int?** | Amount of Kamas you get as reward for finishing this Almanax quest. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AlmanaxApi.md b/docs/AlmanaxApi.md index 5eb2eda..cb039bd 100644 --- a/docs/AlmanaxApi.md +++ b/docs/AlmanaxApi.md @@ -4,12 +4,12 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAlmanaxDate**](AlmanaxApi.md#getalmanaxdate) | **GET** /dofus2/{language}/almanax/{date} | Single Almanax Date | -| [**GetAlmanaxRange**](AlmanaxApi.md#getalmanaxrange) | **GET** /dofus2/{language}/almanax | Almanax Range | +| [**GetAlmanaxDate**](AlmanaxApi.md#getalmanaxdate) | **GET** /dofus3/{language}/almanax/{date} | Single Almanax Date | +| [**GetAlmanaxRange**](AlmanaxApi.md#getalmanaxrange) | **GET** /dofus3/{language}/almanax | Almanax Range | # **GetAlmanaxDate** -> AlmanaxEntry GetAlmanaxDate (string language, DateOnly date) +> Almanax GetAlmanaxDate (string language, DateOnly date) Single Almanax Date @@ -38,7 +38,7 @@ namespace Example try { // Single Almanax Date - AlmanaxEntry result = apiInstance.GetAlmanaxDate(language, date); + Almanax result = apiInstance.GetAlmanaxDate(language, date); Debug.WriteLine(result); } catch (ApiException e) @@ -59,7 +59,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Single Almanax Date - ApiResponse response = apiInstance.GetAlmanaxDateWithHttpInfo(language, date); + ApiResponse response = apiInstance.GetAlmanaxDateWithHttpInfo(language, date); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -81,7 +81,7 @@ catch (ApiException e) ### Return type -[**AlmanaxEntry**](AlmanaxEntry.md) +[**Almanax**](Almanax.md) ### Authorization @@ -96,13 +96,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetAlmanaxRange** -> List<AlmanaxEntry> GetAlmanaxRange (string language, string? filterBonusType = null, DateOnly? rangeFrom = null, DateOnly? rangeTo = null, int? rangeSize = null, string? timezone = null) +> List<Almanax> GetAlmanaxRange (string language, string? filterBonusType = null, DateOnly? rangeFrom = null, DateOnly? rangeTo = null, int? rangeSize = null, string? timezone = null) Almanax Range @@ -135,7 +135,7 @@ namespace Example try { // Almanax Range - List result = apiInstance.GetAlmanaxRange(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone); + List result = apiInstance.GetAlmanaxRange(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone); Debug.WriteLine(result); } catch (ApiException e) @@ -156,7 +156,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Almanax Range - ApiResponse> response = apiInstance.GetAlmanaxRangeWithHttpInfo(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone); + ApiResponse> response = apiInstance.GetAlmanaxRangeWithHttpInfo(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -182,7 +182,7 @@ catch (ApiException e) ### Return type -[**List<AlmanaxEntry>**](AlmanaxEntry.md) +[**List<Almanax>**](Almanax.md) ### Authorization @@ -197,7 +197,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/AlmanaxEntryBonus.md b/docs/AlmanaxBonus.md similarity index 91% rename from docs/AlmanaxEntryBonus.md rename to docs/AlmanaxBonus.md index 77e90c3..c7799a8 100644 --- a/docs/AlmanaxEntryBonus.md +++ b/docs/AlmanaxBonus.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.AlmanaxEntryBonus +# Dofusdude.Api.Model.AlmanaxBonus ## Properties diff --git a/docs/AlmanaxEntryTribute.md b/docs/AlmanaxTribute.md similarity index 71% rename from docs/AlmanaxEntryTribute.md rename to docs/AlmanaxTribute.md index ac18862..632d31c 100644 --- a/docs/AlmanaxEntryTribute.md +++ b/docs/AlmanaxTribute.md @@ -1,10 +1,10 @@ -# Dofusdude.Api.Model.AlmanaxEntryTribute +# Dofusdude.Api.Model.AlmanaxTribute ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Item** | [**AlmanaxEntryTributeItem**](AlmanaxEntryTributeItem.md) | | [optional] +**Item** | [**AlmanaxTributeItem**](AlmanaxTributeItem.md) | | [optional] **Quantity** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AlmanaxEntryTributeItem.md b/docs/AlmanaxTributeItem.md similarity index 78% rename from docs/AlmanaxEntryTributeItem.md rename to docs/AlmanaxTributeItem.md index e163a52..630d408 100644 --- a/docs/AlmanaxEntryTributeItem.md +++ b/docs/AlmanaxTributeItem.md @@ -1,11 +1,11 @@ -# Dofusdude.Api.Model.AlmanaxEntryTributeItem +# Dofusdude.Api.Model.AlmanaxTributeItem ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AnkamaId** | **int** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] **Name** | **string** | | [optional] **Subtype** | **string** | | [optional] diff --git a/docs/AlmanaxWebhook.md b/docs/AlmanaxWebhook.md index 313fc6a..00028cb 100644 --- a/docs/AlmanaxWebhook.md +++ b/docs/AlmanaxWebhook.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **Guid** | | [optional] **DailySettings** | [**AlmanaxWebhookDailySettings**](AlmanaxWebhookDailySettings.md) | | [optional] -**BonusWhitelist** | **List<string>** | Only post when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. | [optional] -**BonusBlacklist** | **List<string>** | Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses | [optional] +**BonusWhitelist** | **List<string>** | Only post when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. | [optional] +**BonusBlacklist** | **List<string>** | Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses | [optional] **Subscriptions** | **List<string>** | Get the available subscriptions with /meta/webhooks/almanax | [optional] **IsoDate** | **bool** | If false, it will use common local time formats and weekday translations. If true, the format is YYYY-MM-DD. | [optional] [default to false] **Mentions** | **Dictionary<string, List<CreateAlmanaxWebhookMentionsValueInner>>** | Almanax bonus ids mapped to array of mentions. | [optional] diff --git a/docs/ConditionEntry.md b/docs/Condition.md similarity index 73% rename from docs/ConditionEntry.md rename to docs/Condition.md index 234c09a..de569db 100644 --- a/docs/ConditionEntry.md +++ b/docs/Condition.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.ConditionEntry +# Dofusdude.Api.Model.Condition ## Properties @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Operator** | **string** | | [optional] **IntValue** | **int** | | [optional] -**Element** | [**ItemsListEntryTypedType**](ItemsListEntryTypedType.md) | | [optional] +**Element** | [**TranslatedId**](TranslatedId.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ConditionTreeLeaf.md b/docs/ConditionLeaf.md similarity index 77% rename from docs/ConditionTreeLeaf.md rename to docs/ConditionLeaf.md index 4dbe9b4..393b869 100644 --- a/docs/ConditionTreeLeaf.md +++ b/docs/ConditionLeaf.md @@ -1,11 +1,11 @@ -# Dofusdude.Api.Model.ConditionTreeLeaf +# Dofusdude.Api.Model.ConditionLeaf ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IsOperand** | **bool** | always \"true\" for the leaf of a tree | [optional] [default to true] -**Condition** | [**ConditionEntry**](ConditionEntry.md) | | [optional] +**Condition** | [**Condition**](Condition.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ConditionTreeNode.md b/docs/ConditionNode.md similarity index 70% rename from docs/ConditionTreeNode.md rename to docs/ConditionNode.md index 65fec92..2e2dd1f 100644 --- a/docs/ConditionTreeNode.md +++ b/docs/ConditionNode.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.ConditionTreeNode +# Dofusdude.Api.Model.ConditionNode ## Properties @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IsOperand** | **bool** | always \"true\" for the leaf of a tree | [optional] [default to true] **Relation** | **string** | \"and\", \"or\" | [optional] [default to "and"] -**Children** | [**List<ConditionTreeNode>**](ConditionTreeNode.md) | | [optional] -**Condition** | [**ConditionEntry**](ConditionEntry.md) | | [optional] +**Children** | [**List<ConditionNode>**](ConditionNode.md) | | [optional] +**Condition** | [**Condition**](Condition.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ConditionTreeRelation.md b/docs/ConditionRelation.md similarity index 77% rename from docs/ConditionTreeRelation.md rename to docs/ConditionRelation.md index c327235..0a6b1a2 100644 --- a/docs/ConditionTreeRelation.md +++ b/docs/ConditionRelation.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.ConditionTreeRelation +# Dofusdude.Api.Model.ConditionRelation ## Properties @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IsOperand** | **bool** | always \"false\" for relations | [optional] [default to false] **Relation** | **string** | \"and\", \"or\" | [optional] [default to "and"] -**Children** | [**List<ConditionTreeNode>**](ConditionTreeNode.md) | | [optional] +**Children** | [**List<ConditionNode>**](ConditionNode.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ConsumablesApi.md b/docs/ConsumablesApi.md index 3737ab8..90e3b16 100644 --- a/docs/ConsumablesApi.md +++ b/docs/ConsumablesApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAllItemsConsumablesList**](ConsumablesApi.md#getallitemsconsumableslist) | **GET** /{game}/{language}/items/consumables/all | List All Consumables | -| [**GetItemsConsumablesList**](ConsumablesApi.md#getitemsconsumableslist) | **GET** /{game}/{language}/items/consumables | List Consumables | -| [**GetItemsConsumablesSearch**](ConsumablesApi.md#getitemsconsumablessearch) | **GET** /{game}/{language}/items/consumables/search | Search Consumables | -| [**GetItemsConsumablesSingle**](ConsumablesApi.md#getitemsconsumablessingle) | **GET** /{game}/{language}/items/consumables/{ankama_id} | Single Consumables | +| [**GetAllItemsConsumablesList**](ConsumablesApi.md#getallitemsconsumableslist) | **GET** /{game}/v1/{language}/items/consumables/all | List All Consumables | +| [**GetItemsConsumablesList**](ConsumablesApi.md#getitemsconsumableslist) | **GET** /{game}/v1/{language}/items/consumables | List Consumables | +| [**GetItemsConsumablesSearch**](ConsumablesApi.md#getitemsconsumablessearch) | **GET** /{game}/v1/{language}/items/consumables/search | Search Consumables | +| [**GetItemsConsumablesSingle**](ConsumablesApi.md#getitemsconsumablessingle) | **GET** /{game}/v1/{language}/items/consumables/{ankama_id} | Single Consumables | # **GetAllItemsConsumablesList** -> ItemsListPaged GetAllItemsConsumablesList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeEnum = null) +> ListItems GetAllItemsConsumablesList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeNameId = null) List All Consumables @@ -35,18 +35,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new ConsumablesApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = asc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Chest; // string? | only results with the translated type name (optional) var filterMinLevel = 150; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 180; // int? | only results which level is equal or below this value (optional) var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List All Consumables - ItemsListPaged result = apiInstance.GetAllItemsConsumablesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ListItems result = apiInstance.GetAllItemsConsumablesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -67,7 +66,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List All Consumables - ApiResponse response = apiInstance.GetAllItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ApiResponse response = apiInstance.GetAllItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -85,17 +84,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -110,15 +108,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Consumables Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsConsumablesList** -> ItemsListPaged GetItemsConsumablesList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeEnum = null) +> ListItems GetItemsConsumablesList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeNameId = null) List Consumables @@ -142,20 +140,19 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new ConsumablesApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = asc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Chest; // string? | only results with the translated type name (optional) var filterMinLevel = 150; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 180; // int? | only results which level is equal or below this value (optional) var pageSize = 2; // int? | size of the results from the list. -1 disables pagination and gets all in one response. (optional) var pageNumber = 1; // int? | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) var fieldsItem = new List?(); // List? | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List Consumables - ItemsListPaged result = apiInstance.GetItemsConsumablesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ListItems result = apiInstance.GetItemsConsumablesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -176,7 +173,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List Consumables - ApiResponse response = apiInstance.GetItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ApiResponse response = apiInstance.GetItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -194,19 +191,18 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **pageSize** | **int?** | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] | | **pageNumber** | **int?** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] | | **fieldsItem** | [**List<string>?**](string.md) | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -221,15 +217,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Consumables Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsConsumablesSearch** -> List<ItemListEntry> GetItemsConsumablesSearch (string language, string game, string query, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeEnum = null) +> List<ListItem> GetItemsConsumablesSearch (string language, string game, string query, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeNameId = null) Search Consumables @@ -253,18 +249,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new ConsumablesApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = Wholewrite; // string | case sensitive search query - var filterTypeName = Bread; // string? | only results with the translated type name (optional) var filterMinLevel = 1; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 200; // int? | only results which level is equal or below this value (optional) var limit = 8; // int? | maximum number of returned results (optional) (default to 8) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // Search Consumables - List result = apiInstance.GetItemsConsumablesSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + List result = apiInstance.GetItemsConsumablesSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -285,7 +280,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search Consumables - ApiResponse> response = apiInstance.GetItemsConsumablesSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + ApiResponse> response = apiInstance.GetItemsConsumablesSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -303,17 +298,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **limit** | **int?** | maximum number of returned results | [optional] [default to 8] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**List<ItemListEntry>**](ItemListEntry.md) +[**List<ListItem>**](ListItem.md) ### Authorization @@ -329,8 +323,8 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Consumables Found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -361,7 +355,7 @@ namespace Example var apiInstance = new ConsumablesApi(config); var language = "en"; // string | a valid language code var ankamaId = 17206; // int | identifier - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta try { @@ -406,7 +400,7 @@ catch (ApiException e) |------|------|-------------|-------| | **language** | **string** | a valid language code | | | **ankamaId** | **int** | identifier | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | ### Return type @@ -425,9 +419,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Consumable Found | - | -| **400** | Bad Request Possibilities: - invalid ankama id format | - | -| **404** | Not Found Possibilities: - nothing found for this ankama_id | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/CosmeticsApi.md b/docs/CosmeticsApi.md index 9147d4b..1feb70d 100644 --- a/docs/CosmeticsApi.md +++ b/docs/CosmeticsApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAllCosmeticsList**](CosmeticsApi.md#getallcosmeticslist) | **GET** /{game}/{language}/items/cosmetics/all | List All Cosmetics | -| [**GetCosmeticsList**](CosmeticsApi.md#getcosmeticslist) | **GET** /{game}/{language}/items/cosmetics | List Cosmetics | -| [**GetCosmeticsSearch**](CosmeticsApi.md#getcosmeticssearch) | **GET** /{game}/{language}/items/cosmetics/search | Search Cosmetics | -| [**GetCosmeticsSingle**](CosmeticsApi.md#getcosmeticssingle) | **GET** /{game}/{language}/items/cosmetics/{ankama_id} | Single Cosmetics | +| [**GetAllCosmeticsList**](CosmeticsApi.md#getallcosmeticslist) | **GET** /{game}/v1/{language}/items/cosmetics/all | List All Cosmetics | +| [**GetCosmeticsList**](CosmeticsApi.md#getcosmeticslist) | **GET** /{game}/v1/{language}/items/cosmetics | List Cosmetics | +| [**GetCosmeticsSearch**](CosmeticsApi.md#getcosmeticssearch) | **GET** /{game}/v1/{language}/items/cosmetics/search | Search Cosmetics | +| [**GetCosmeticsSingle**](CosmeticsApi.md#getcosmeticssingle) | **GET** /{game}/v1/{language}/items/cosmetics/{ankama_id} | Single Cosmetics | # **GetAllCosmeticsList** -> ItemsListPaged GetAllCosmeticsList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeEnum = null) +> ListItems GetAllCosmeticsList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeNameId = null) List All Cosmetics @@ -35,18 +35,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new CosmeticsApi(config); var language = fr; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = asc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Chapeau d'apparat; // string? | only results with the translated type name (optional) var filterMinLevel = 1; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 5; // int? | only results which level is equal or below this value (optional) var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List All Cosmetics - ItemsListPaged result = apiInstance.GetAllCosmeticsList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ListItems result = apiInstance.GetAllCosmeticsList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -67,7 +66,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List All Cosmetics - ApiResponse response = apiInstance.GetAllCosmeticsListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ApiResponse response = apiInstance.GetAllCosmeticsListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -85,17 +84,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -110,15 +108,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Cosmetics Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetCosmeticsList** -> ItemsListPaged GetCosmeticsList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeEnum = null) +> ListItems GetCosmeticsList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeNameId = null) List Cosmetics @@ -142,20 +140,19 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new CosmeticsApi(config); var language = fr; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = asc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Chapeau d'apparat; // string? | only results with the translated type name (optional) var filterMinLevel = 1; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 5; // int? | only results which level is equal or below this value (optional) var pageSize = 5; // int? | size of the results from the list. -1 disables pagination and gets all in one response. (optional) var pageNumber = 1; // int? | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) var fieldsItem = new List?(); // List? | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List Cosmetics - ItemsListPaged result = apiInstance.GetCosmeticsList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ListItems result = apiInstance.GetCosmeticsList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -176,7 +173,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List Cosmetics - ApiResponse response = apiInstance.GetCosmeticsListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ApiResponse response = apiInstance.GetCosmeticsListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -194,19 +191,18 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **pageSize** | **int?** | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] | | **pageNumber** | **int?** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] | | **fieldsItem** | [**List<string>?**](string.md) | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -221,15 +217,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Cosmetics Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetCosmeticsSearch** -> List<ItemListEntry> GetCosmeticsSearch (string language, string game, string query, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeEnum = null) +> List<ListItem> GetCosmeticsSearch (string language, string game, string query, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeNameId = null) Search Cosmetics @@ -253,18 +249,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new CosmeticsApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = nedora; // string | case sensitive search query - var filterTypeName = Wings; // string? | only results with the translated type name (optional) var filterMinLevel = 1; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 2; // int? | only results which level is equal or below this value (optional) var limit = 8; // int? | maximum number of returned results (optional) (default to 8) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // Search Cosmetics - List result = apiInstance.GetCosmeticsSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + List result = apiInstance.GetCosmeticsSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -285,7 +280,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search Cosmetics - ApiResponse> response = apiInstance.GetCosmeticsSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + ApiResponse> response = apiInstance.GetCosmeticsSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -303,17 +298,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **limit** | **int?** | maximum number of returned results | [optional] [default to 8] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**List<ItemListEntry>**](ItemListEntry.md) +[**List<ListItem>**](ListItem.md) ### Authorization @@ -328,9 +322,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Cosmetics found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -361,7 +355,7 @@ namespace Example var apiInstance = new CosmeticsApi(config); var language = "en"; // string | a valid language code var ankamaId = 24132; // int | identifier - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta try { @@ -406,7 +400,7 @@ catch (ApiException e) |------|------|-------------|-------| | **language** | **string** | a valid language code | | | **ankamaId** | **int** | identifier | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | ### Return type @@ -425,9 +419,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Cosmetic Found | - | -| **400** | Bad Request Possibilities: - invalid ankama id format | - | -| **404** | Not Found Possibilities: - nothing found for this ankama_id | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/CreateAlmanaxWebhook.md b/docs/CreateAlmanaxWebhook.md index 57cee0f..357e8ae 100644 --- a/docs/CreateAlmanaxWebhook.md +++ b/docs/CreateAlmanaxWebhook.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**BonusWhitelist** | **List<string>** | from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses | [optional] -**BonusBlacklist** | **List<string>** | from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses | [optional] +**BonusWhitelist** | **List<string>** | from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses | [optional] +**BonusBlacklist** | **List<string>** | from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses | [optional] **Subscriptions** | **List<string>** | Get the available subscriptions with /meta/webhooks/almanax | **Format** | **string** | | **Callback** | **string** | Discord Webhook URL | diff --git a/docs/EffectsEntry.md b/docs/Effect.md similarity index 89% rename from docs/EffectsEntry.md rename to docs/Effect.md index 85c7b0e..06a2d60 100644 --- a/docs/EffectsEntry.md +++ b/docs/Effect.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.EffectsEntry +# Dofusdude.Api.Model.Effect ## Properties @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IntMinimum** | **int** | minimum int value, can be a single if ignore_int_max and no ignore_int_min | [optional] **IntMaximum** | **int** | maximum int value, if not ignore_int_max and not ignore_int_min, the effect has a range value | [optional] -**Type** | [**SetEffectsEntryType**](SetEffectsEntryType.md) | | [optional] +**Type** | [**EffectType**](EffectType.md) | | [optional] **IgnoreIntMin** | **bool** | ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this case. | [optional] **IgnoreIntMax** | **bool** | ignore the int max field, if ignore_int_min is true, int min is a single value | [optional] **Formatted** | **string** | all fields from above encoded in a single string | [optional] diff --git a/docs/SetEffectsEntryType.md b/docs/EffectType.md similarity index 94% rename from docs/SetEffectsEntryType.md rename to docs/EffectType.md index fc11937..1428615 100644 --- a/docs/SetEffectsEntryType.md +++ b/docs/EffectType.md @@ -1,13 +1,13 @@ -# Dofusdude.Api.Model.SetEffectsEntryType +# Dofusdude.Api.Model.EffectType ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Name** | **string** | | [optional] **Id** | **int** | | [optional] -**IsMeta** | **bool** | true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects. | [optional] +**Name** | **string** | | [optional] **IsActive** | **bool** | Affects target or source actively. | [optional] +**IsMeta** | **bool** | true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Equipment.md b/docs/Equipment.md index d52de9a..8e014ce 100644 --- a/docs/Equipment.md +++ b/docs/Equipment.md @@ -7,16 +7,15 @@ Name | Type | Description | Notes **AnkamaId** | **int** | | [optional] **Name** | **string** | | [optional] **Description** | **string** | | [optional] -**Type** | [**ItemsListEntryTypedType**](ItemsListEntryTypedType.md) | | [optional] +**Type** | [**TranslatedId**](TranslatedId.md) | | [optional] **IsWeapon** | **bool** | | [optional] **Level** | **int** | | [optional] **Pods** | **int** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] -**Effects** | [**List<EffectsEntry>**](EffectsEntry.md) | | [optional] -**Conditions** | [**List<ConditionEntry>**](ConditionEntry.md) | | [optional] -**ConditionTree** | [**ConditionTreeNode**](ConditionTreeNode.md) | | [optional] -**Recipe** | [**List<RecipeEntry>**](RecipeEntry.md) | | [optional] -**ParentSet** | [**ItemListEntryParentSet**](ItemListEntryParentSet.md) | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] +**Effects** | [**List<Effect>**](Effect.md) | | [optional] +**Conditions** | [**ConditionNode**](ConditionNode.md) | | [optional] +**Recipe** | [**List<Recipe>**](Recipe.md) | | [optional] +**ParentSet** | [**TranslatedId**](TranslatedId.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EquipmentApi.md b/docs/EquipmentApi.md index e7033e5..f54a66f 100644 --- a/docs/EquipmentApi.md +++ b/docs/EquipmentApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAllItemsEquipmentList**](EquipmentApi.md#getallitemsequipmentlist) | **GET** /{game}/{language}/items/equipment/all | List All Equipment | -| [**GetItemsEquipmentList**](EquipmentApi.md#getitemsequipmentlist) | **GET** /{game}/{language}/items/equipment | List Equipment | -| [**GetItemsEquipmentSearch**](EquipmentApi.md#getitemsequipmentsearch) | **GET** /{game}/{language}/items/equipment/search | Search Equipment | -| [**GetItemsEquipmentSingle**](EquipmentApi.md#getitemsequipmentsingle) | **GET** /{game}/{language}/items/equipment/{ankama_id} | Single Equipment | +| [**GetAllItemsEquipmentList**](EquipmentApi.md#getallitemsequipmentlist) | **GET** /{game}/v1/{language}/items/equipment/all | List All Equipment | +| [**GetItemsEquipmentList**](EquipmentApi.md#getitemsequipmentlist) | **GET** /{game}/v1/{language}/items/equipment | List Equipment | +| [**GetItemsEquipmentSearch**](EquipmentApi.md#getitemsequipmentsearch) | **GET** /{game}/v1/{language}/items/equipment/search | Search Equipment | +| [**GetItemsEquipmentSingle**](EquipmentApi.md#getitemsequipmentsingle) | **GET** /{game}/v1/{language}/items/equipment/{ankama_id} | Single Equipment | # **GetAllItemsEquipmentList** -> ItemsListPaged GetAllItemsEquipmentList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeEnum = null) +> ListItems GetAllItemsEquipmentList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeNameId = null) List All Equipment @@ -35,18 +35,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new EquipmentApi(config); var language = en; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = desc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Sword; // string? | only results with the translated type name (optional) var filterMinLevel = 10; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 60; // int? | only results which level is equal or below this value (optional) var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List All Equipment - ItemsListPaged result = apiInstance.GetAllItemsEquipmentList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ListItems result = apiInstance.GetAllItemsEquipmentList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -67,7 +66,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List All Equipment - ApiResponse response = apiInstance.GetAllItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ApiResponse response = apiInstance.GetAllItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -85,17 +84,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -110,15 +108,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Equipment Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsEquipmentList** -> ItemsListPaged GetItemsEquipmentList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeEnum = null) +> ListItems GetItemsEquipmentList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeNameId = null) List Equipment @@ -142,20 +140,19 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new EquipmentApi(config); var language = en; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = desc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Sword; // string? | only results with the translated type name (optional) var filterMinLevel = 10; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 60; // int? | only results which level is equal or below this value (optional) var pageSize = 5; // int? | size of the results from the list. -1 disables pagination and gets all in one response. (optional) var pageNumber = 1; // int? | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) var fieldsItem = new List?(); // List? | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List Equipment - ItemsListPaged result = apiInstance.GetItemsEquipmentList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ListItems result = apiInstance.GetItemsEquipmentList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -176,7 +173,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List Equipment - ApiResponse response = apiInstance.GetItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ApiResponse response = apiInstance.GetItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -194,19 +191,18 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **pageSize** | **int?** | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] | | **pageNumber** | **int?** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] | | **fieldsItem** | [**List<string>?**](string.md) | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -221,15 +217,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Equipment Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsEquipmentSearch** -> List<ItemListEntry> GetItemsEquipmentSearch (string language, string game, string query, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeEnum = null) +> List<ListItem> GetItemsEquipmentSearch (string language, string game, string query, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeNameId = null) Search Equipment @@ -253,18 +249,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new EquipmentApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = nidas; // string | case sensitive search query - var filterTypeName = boots; // string? | only results with the translated type name (optional) var filterMinLevel = 150; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 200; // int? | only results which level is equal or below this value (optional) var limit = 8; // int? | maximum number of returned results (optional) (default to 8) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // Search Equipment - List result = apiInstance.GetItemsEquipmentSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + List result = apiInstance.GetItemsEquipmentSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -285,7 +280,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search Equipment - ApiResponse> response = apiInstance.GetItemsEquipmentSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + ApiResponse> response = apiInstance.GetItemsEquipmentSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -303,17 +298,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **limit** | **int?** | maximum number of returned results | [optional] [default to 8] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**List<ItemListEntry>**](ItemListEntry.md) +[**List<ListItem>**](ListItem.md) ### Authorization @@ -328,9 +322,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Equipment Found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -361,7 +355,7 @@ namespace Example var apiInstance = new EquipmentApi(config); var language = "en"; // string | a valid language code var ankamaId = 26009; // int | identifier - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta try { @@ -406,7 +400,7 @@ catch (ApiException e) |------|------|-------------|-------| | **language** | **string** | a valid language code | | | **ankamaId** | **int** | identifier | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | ### Return type @@ -425,9 +419,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Equipment Found | - | -| **400** | Bad Request Possibilities: - invalid ankama id format | - | -| **404** | Not Found Possibilities: - nothing found for this ankama_id | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/Error.md b/docs/Error.md new file mode 100644 index 0000000..ebead46 --- /dev/null +++ b/docs/Error.md @@ -0,0 +1,14 @@ +# Dofusdude.Api.Model.Error + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | **int** | HTTP status code | [optional] +**VarError** | **string** | HTTP status as text | [optional] +**Code** | **string** | API specific error identifier for switch-case handling | [optional] +**Message** | **string** | General, human-friendly error description | [optional] +**Details** | **string** | Detailed, human-friendly problem description adopting specific inputs of the request | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/GameApi.md b/docs/GameApi.md index c1f66dc..b1e9e5c 100644 --- a/docs/GameApi.md +++ b/docs/GameApi.md @@ -4,16 +4,16 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetGameSearch**](GameApi.md#getgamesearch) | **GET** /{game}/{language}/search | Game Search | -| [**GetItemsAllSearch**](GameApi.md#getitemsallsearch) | **GET** /{game}/{language}/items/search | Search All Items | +| [**GetGameSearch**](GameApi.md#getgamesearch) | **GET** /{game}/v1/{language}/search | Game Search | +| [**GetItemsAllSearch**](GameApi.md#getitemsallsearch) | **GET** /{game}/v1/{language}/items/search | Search All Items | # **GetGameSearch** -> List<GetGameSearch200ResponseInner> GetGameSearch (string language, string game, string query, List? filterType = null, int? limit = null, List? fieldsItem = null, List? filterTypeEnum = null) +> List<GameSearch> GetGameSearch (string language, string game, string query, List? filterSearchIndex = null, int? limit = null, List? fieldsItem = null, List? filterTypeNameId = null) Game Search -Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. +Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. ### Example ```csharp @@ -33,17 +33,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new GameApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = paztek; // string | search query - var filterType = new List?(); // List? | only results with all specific type (optional) + var filterSearchIndex = new List?(); // List? | only results with all specific type (optional) var limit = 8; // int? | maximum number of returned results (optional) (default to 8) var fieldsItem = new List?(); // List? | adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // Game Search - List result = apiInstance.GetGameSearch(language, game, query, filterType, limit, fieldsItem, filterTypeEnum); + List result = apiInstance.GetGameSearch(language, game, query, filterSearchIndex, limit, fieldsItem, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -64,7 +64,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Game Search - ApiResponse> response = apiInstance.GetGameSearchWithHttpInfo(language, game, query, filterType, limit, fieldsItem, filterTypeEnum); + ApiResponse> response = apiInstance.GetGameSearchWithHttpInfo(language, game, query, filterSearchIndex, limit, fieldsItem, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -82,16 +82,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | search query | | -| **filterType** | [**List<string>?**](string.md) | only results with all specific type | [optional] | +| **filterSearchIndex** | [**List<string>?**](string.md) | only results with all specific type | [optional] | | **limit** | **int?** | maximum number of returned results | [optional] [default to 8] | | **fieldsItem** | [**List<string>?**](string.md) | adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**List<GetGameSearch200ResponseInner>**](GetGameSearch200ResponseInner.md) +[**List<GameSearch>**](GameSearch.md) ### Authorization @@ -106,15 +106,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Game Search Result | - | -| **400** | Bad Request Possibilities: - empty or no query - filter[type] does not exist | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsAllSearch** -> List<ItemsListEntryTyped> GetItemsAllSearch (string language, string game, string query, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeEnum = null) +> List<ListItemGeneral> GetItemsAllSearch (string language, string game, string query, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeNameId = null) Search All Items @@ -138,18 +138,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new GameApi(config); var language = fr; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = atcham; // string | case sensitive search query - var filterTypeName = Bottes; // string? | only results with the translated type name across all item_subtypes (optional) var filterMinLevel = 190; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 200; // int? | only results which level is equal or below this value (optional) var limit = 8; // int? | maximum number of returned results (optional) (default to 8) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // Search All Items - List result = apiInstance.GetItemsAllSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + List result = apiInstance.GetItemsAllSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -170,7 +169,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search All Items - ApiResponse> response = apiInstance.GetItemsAllSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + ApiResponse> response = apiInstance.GetItemsAllSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -188,17 +187,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | -| **filterTypeName** | **string?** | only results with the translated type name across all item_subtypes | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **limit** | **int?** | maximum number of returned results | [optional] [default to 8] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**List<ItemsListEntryTyped>**](ItemsListEntryTyped.md) +[**List<ListItemGeneral>**](ListItemGeneral.md) ### Authorization @@ -213,9 +211,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Items Found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/MountListEntry.md b/docs/GameSearch.md similarity index 61% rename from docs/MountListEntry.md rename to docs/GameSearch.md index d332e4f..7afbab1 100644 --- a/docs/MountListEntry.md +++ b/docs/GameSearch.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.MountListEntry +# Dofusdude.Api.Model.GameSearch ## Properties @@ -6,9 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AnkamaId** | **int** | | [optional] **Name** | **string** | | [optional] -**FamilyName** | **string** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] -**Effects** | [**List<EffectsEntry>**](EffectsEntry.md) | | [optional] +**Type** | [**GameSearchType**](GameSearchType.md) | | [optional] +**ItemFields** | [**GameSearchItem**](GameSearchItem.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GameSearchItem.md b/docs/GameSearchItem.md new file mode 100644 index 0000000..b341fb7 --- /dev/null +++ b/docs/GameSearchItem.md @@ -0,0 +1,12 @@ +# Dofusdude.Api.Model.GameSearchItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**GameSearchType**](GameSearchType.md) | | [optional] +**Level** | **int?** | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ResourceType.md b/docs/GameSearchType.md similarity index 71% rename from docs/ResourceType.md rename to docs/GameSearchType.md index fd31421..586cd8b 100644 --- a/docs/ResourceType.md +++ b/docs/GameSearchType.md @@ -1,11 +1,10 @@ -# Dofusdude.Api.Model.ResourceType +# Dofusdude.Api.Model.GameSearchType ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Name** | **string** | | [optional] -**Id** | **int** | | [optional] +**NameId** | **string** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetGameSearch200ResponseInner.md b/docs/GetGameSearch200ResponseInner.md deleted file mode 100644 index 1956080..0000000 --- a/docs/GetGameSearch200ResponseInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# Dofusdude.Api.Model.GetGameSearch200ResponseInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | **string** | Name of the hit. The query could still have matched with the description only. | [optional] -**AnkamaId** | **int** | Ankama ID for retrieving more details in the type specific endpoint. | [optional] -**Type** | **string** | Type classification | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/ImageUrls.md b/docs/Images.md similarity index 62% rename from docs/ImageUrls.md rename to docs/Images.md index 66310fc..a906886 100644 --- a/docs/ImageUrls.md +++ b/docs/Images.md @@ -1,14 +1,14 @@ -# Dofusdude.Api.Model.ImageUrls +# Dofusdude.Api.Model.Images All images except icon are rendered in the background which can take some time (up to hours if all data is completely generated from scratch). Because of this, they can be null if they are not yet rendered. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Icon** | **string** | 60x60 px, always available | [optional] -**Sd** | **string** | 200x200 px | [optional] -**Hq** | **string** | 400x400 px | [optional] -**Hd** | **string** | 800x800 px | [optional] +**Icon** | **string** | 64x64 px, always available | [optional] +**Sd** | **string** | around 2x the resolution of icon | [optional] +**Hq** | **string** | around 2x the resolution of sd | [optional] +**Hd** | **string** | around 2x the resolution of hd | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ItemListEntry.md b/docs/ItemListEntry.md deleted file mode 100644 index 912ef56..0000000 --- a/docs/ItemListEntry.md +++ /dev/null @@ -1,28 +0,0 @@ -# Dofusdude.Api.Model.ItemListEntry - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**AnkamaId** | **int** | | [optional] -**Name** | **string** | | [optional] -**Type** | [**ItemsListEntryTypedType**](ItemsListEntryTypedType.md) | | [optional] -**Level** | **int** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] -**Recipe** | [**List<RecipeEntry>**](RecipeEntry.md) | | [optional] -**Description** | **string** | | [optional] -**Conditions** | [**List<ConditionEntry>**](ConditionEntry.md) | | [optional] -**ConditionTree** | [**ConditionTreeNode**](ConditionTreeNode.md) | | [optional] -**Effects** | [**List<EffectsEntry>**](EffectsEntry.md) | | [optional] -**IsWeapon** | **bool?** | | [optional] -**Pods** | **int?** | | [optional] -**ParentSet** | [**ItemListEntryParentSet**](ItemListEntryParentSet.md) | | [optional] -**CriticalHitProbability** | **int?** | | [optional] -**CriticalHitBonus** | **int?** | | [optional] -**IsTwoHanded** | **bool?** | | [optional] -**MaxCastPerTurn** | **int?** | | [optional] -**ApCost** | **int?** | | [optional] -**Range** | [**ItemListEntryRange**](ItemListEntryRange.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/ItemListEntryRange.md b/docs/ItemSubtype.md similarity index 69% rename from docs/ItemListEntryRange.md rename to docs/ItemSubtype.md index cec23e6..9287d90 100644 --- a/docs/ItemListEntryRange.md +++ b/docs/ItemSubtype.md @@ -1,11 +1,11 @@ -# Dofusdude.Api.Model.ItemListEntryRange +# Dofusdude.Api.Model.ItemSubtype ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Min** | **int** | | [optional] -**Max** | **int** | | [optional] +**AnkamaId** | **int** | | [optional] +**NameId** | **string** | unique | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ItemsListEntryTyped.md b/docs/ItemsListEntryTyped.md deleted file mode 100644 index b862cad..0000000 --- a/docs/ItemsListEntryTyped.md +++ /dev/null @@ -1,15 +0,0 @@ -# Dofusdude.Api.Model.ItemsListEntryTyped - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**AnkamaId** | **int** | | [optional] -**Name** | **string** | | [optional] -**Type** | [**ItemsListEntryTypedType**](ItemsListEntryTypedType.md) | | [optional] -**ItemSubtype** | **string** | The API item category. Can be used to build the request URL for this particular item. Always english. | [optional] -**Level** | **int** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/ItemsListPaged.md b/docs/ItemsListPaged.md deleted file mode 100644 index 6066d81..0000000 --- a/docs/ItemsListPaged.md +++ /dev/null @@ -1,11 +0,0 @@ -# Dofusdude.Api.Model.ItemsListPaged - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Links** | [**LinksPaged**](LinksPaged.md) | | [optional] -**Items** | [**List<ItemListEntry>**](ItemListEntry.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/ListItem.md b/docs/ListItem.md new file mode 100644 index 0000000..4a31aa6 --- /dev/null +++ b/docs/ListItem.md @@ -0,0 +1,26 @@ +# Dofusdude.Api.Model.ListItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AnkamaId** | **int** | | [optional] +**Name** | **string** | | [optional] +**Type** | [**TranslatedId**](TranslatedId.md) | | [optional] +**Level** | **int** | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] +**Recipe** | [**List<Recipe>**](Recipe.md) | | [optional] +**Description** | **string** | | [optional] +**Conditions** | [**ConditionNode**](ConditionNode.md) | | [optional] +**Effects** | [**List<Effect>**](Effect.md) | | [optional] +**IsWeapon** | **bool?** | | [optional] +**Pods** | **int?** | | [optional] +**ParentSet** | [**TranslatedId**](TranslatedId.md) | | [optional] +**CriticalHitProbability** | **int?** | | [optional] +**CriticalHitBonus** | **int?** | | [optional] +**MaxCastPerTurn** | **int?** | | [optional] +**ApCost** | **int?** | | [optional] +**Range** | [**Range**](Range.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ListItemGeneral.md b/docs/ListItemGeneral.md new file mode 100644 index 0000000..1f831e8 --- /dev/null +++ b/docs/ListItemGeneral.md @@ -0,0 +1,15 @@ +# Dofusdude.Api.Model.ListItemGeneral + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AnkamaId** | **int** | | [optional] +**Name** | **string** | | [optional] +**Type** | [**TranslatedId**](TranslatedId.md) | | [optional] +**ItemSubtype** | [**ItemSubtype**](ItemSubtype.md) | | [optional] +**Level** | **int** | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ListItems.md b/docs/ListItems.md new file mode 100644 index 0000000..090ed92 --- /dev/null +++ b/docs/ListItems.md @@ -0,0 +1,11 @@ +# Dofusdude.Api.Model.ListItems + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**PagedLinks**](PagedLinks.md) | | [optional] +**Items** | [**List<ListItem>**](ListItem.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ListMounts.md b/docs/ListMounts.md new file mode 100644 index 0000000..ae1efc8 --- /dev/null +++ b/docs/ListMounts.md @@ -0,0 +1,11 @@ +# Dofusdude.Api.Model.ListMounts + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**PagedLinks**](PagedLinks.md) | | [optional] +**Items** | [**List<Mount>**](Mount.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/SetListEntry.md b/docs/ListSet.md similarity index 82% rename from docs/SetListEntry.md rename to docs/ListSet.md index 4768c98..e4fd022 100644 --- a/docs/SetListEntry.md +++ b/docs/ListSet.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.SetListEntry +# Dofusdude.Api.Model.ListSet ## Properties @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Name** | **string** | | [optional] **Items** | **int** | amount | [optional] **Level** | **int** | | [optional] -**Effects** | **List<List<SetEffectsEntry>>** | | [optional] +**Effects** | **Dictionary<string, List<Effect>>** | | [optional] **EquipmentIds** | **List<int>** | | [optional] **IsCosmetic** | **bool** | | [optional] diff --git a/docs/ListSets.md b/docs/ListSets.md new file mode 100644 index 0000000..af6b939 --- /dev/null +++ b/docs/ListSets.md @@ -0,0 +1,11 @@ +# Dofusdude.Api.Model.ListSets + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**PagedLinks**](PagedLinks.md) | | [optional] +**Sets** | [**List<ListSet>**](ListSet.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/MetaApi.md b/docs/MetaApi.md index c2e3120..cdbb968 100644 --- a/docs/MetaApi.md +++ b/docs/MetaApi.md @@ -4,12 +4,12 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetGameSearchTypes**](MetaApi.md#getgamesearchtypes) | **GET** /dofus2/meta/search/types | Available Game Search Types | -| [**GetItemTypes**](MetaApi.md#getitemtypes) | **GET** /dofus2/meta/items/types | Available Item Types | -| [**GetMetaAlmanaxBonuses**](MetaApi.md#getmetaalmanaxbonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses | -| [**GetMetaAlmanaxBonusesSearch**](MetaApi.md#getmetaalmanaxbonusessearch) | **GET** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses | -| [**GetMetaElements**](MetaApi.md#getmetaelements) | **GET** /dofus2/meta/elements | Effects and Condition Elements | -| [**GetMetaVersion**](MetaApi.md#getmetaversion) | **GET** /dofus2/meta/version | Game Version | +| [**GetGameSearchTypes**](MetaApi.md#getgamesearchtypes) | **GET** /dofus3/meta/search/types | Available Game Search Types | +| [**GetItemTypes**](MetaApi.md#getitemtypes) | **GET** /dofus3/meta/items/types | Available Item Types | +| [**GetMetaAlmanaxBonuses**](MetaApi.md#getmetaalmanaxbonuses) | **GET** /dofus3/meta/{language}/almanax/bonuses | Available Almanax Bonuses | +| [**GetMetaAlmanaxBonusesSearch**](MetaApi.md#getmetaalmanaxbonusessearch) | **GET** /dofus3/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses | +| [**GetMetaElements**](MetaApi.md#getmetaelements) | **GET** /dofus3/meta/elements | Effects and Condition Elements | +| [**GetMetaVersion**](MetaApi.md#getmetaversion) | **GET** /dofus3/meta/version | Game Version | # **GetGameSearchTypes** @@ -17,7 +17,7 @@ All URIs are relative to *https://api.dofusdu.de* Available Game Search Types -Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. +Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. ### Example ```csharp @@ -208,7 +208,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new MetaApi(config); - var language = fr; // string | + var language = fr; // string | a valid language code try { @@ -251,7 +251,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **language** | **string** | | | +| **language** | **string** | a valid language code | | ### Return type @@ -457,7 +457,7 @@ No authorization required # **GetMetaVersion** -> GetMetaVersion200Response GetMetaVersion () +> ModelVersion GetMetaVersion () Game Version @@ -484,7 +484,7 @@ namespace Example try { // Game Version - GetMetaVersion200Response result = apiInstance.GetMetaVersion(); + ModelVersion result = apiInstance.GetMetaVersion(); Debug.WriteLine(result); } catch (ApiException e) @@ -505,7 +505,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Game Version - ApiResponse response = apiInstance.GetMetaVersionWithHttpInfo(); + ApiResponse response = apiInstance.GetMetaVersionWithHttpInfo(); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -522,7 +522,7 @@ catch (ApiException e) This endpoint does not need any parameter. ### Return type -[**GetMetaVersion200Response**](GetMetaVersion200Response.md) +[**ModelVersion**](ModelVersion.md) ### Authorization @@ -537,7 +537,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/GetMetaVersion200Response.md b/docs/ModelVersion.md similarity index 89% rename from docs/GetMetaVersion200Response.md rename to docs/ModelVersion.md index 88870bd..31f7bda 100644 --- a/docs/GetMetaVersion200Response.md +++ b/docs/ModelVersion.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.GetMetaVersion200Response +# Dofusdude.Api.Model.ModelVersion ## Properties diff --git a/docs/Mount.md b/docs/Mount.md index 6e81a53..b006f76 100644 --- a/docs/Mount.md +++ b/docs/Mount.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AnkamaId** | **int** | | [optional] **Name** | **string** | | [optional] -**FamilyName** | **string** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] -**Effects** | [**List<EffectsEntry>**](EffectsEntry.md) | | [optional] +**Family** | [**MountFamily**](MountFamily.md) | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] +**Effects** | [**List<Effect>**](Effect.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ItemListEntryParentSet.md b/docs/MountFamily.md similarity index 68% rename from docs/ItemListEntryParentSet.md rename to docs/MountFamily.md index 0aedd48..7afa437 100644 --- a/docs/ItemListEntryParentSet.md +++ b/docs/MountFamily.md @@ -1,11 +1,11 @@ -# Dofusdude.Api.Model.ItemListEntryParentSet +# Dofusdude.Api.Model.MountFamily ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **int** | | [optional] -**Name** | **string** | | [optional] +**AnkamaId** | **int** | | [optional] +**Name** | **string** | localized name | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MountsApi.md b/docs/MountsApi.md index c25c2a0..cf169e4 100644 --- a/docs/MountsApi.md +++ b/docs/MountsApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAllMountsList**](MountsApi.md#getallmountslist) | **GET** /{game}/{language}/mounts/all | List All Mounts | -| [**GetMountsList**](MountsApi.md#getmountslist) | **GET** /{game}/{language}/mounts | List Mounts | -| [**GetMountsSearch**](MountsApi.md#getmountssearch) | **GET** /{game}/{language}/mounts/search | Search Mounts | -| [**GetMountsSingle**](MountsApi.md#getmountssingle) | **GET** /{game}/{language}/mounts/{ankama_id} | Single Mounts | +| [**GetAllMountsList**](MountsApi.md#getallmountslist) | **GET** /{game}/v1/{language}/mounts/all | List All Mounts | +| [**GetMountsList**](MountsApi.md#getmountslist) | **GET** /{game}/v1/{language}/mounts | List Mounts | +| [**GetMountsSearch**](MountsApi.md#getmountssearch) | **GET** /{game}/v1/{language}/mounts/search | Search Mounts | +| [**GetMountsSingle**](MountsApi.md#getmountssingle) | **GET** /{game}/v1/{language}/mounts/{ankama_id} | Single Mounts | # **GetAllMountsList** -> MountsListPaged GetAllMountsList (string language, string game, string? filterFamilyName = null, string? acceptEncoding = null) +> ListMounts GetAllMountsList (string language, string game, string? filterFamilyName = null, string? acceptEncoding = null, int? filterFamilyId = null) List All Mounts @@ -35,14 +35,15 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new MountsApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var filterFamilyName = Dragoturkey; // string? | only results with the translated family name (optional) var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional) + var filterFamilyId = 56; // int? | only results with the unique family id (optional) try { // List All Mounts - MountsListPaged result = apiInstance.GetAllMountsList(language, game, filterFamilyName, acceptEncoding); + ListMounts result = apiInstance.GetAllMountsList(language, game, filterFamilyName, acceptEncoding, filterFamilyId); Debug.WriteLine(result); } catch (ApiException e) @@ -63,7 +64,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List All Mounts - ApiResponse response = apiInstance.GetAllMountsListWithHttpInfo(language, game, filterFamilyName, acceptEncoding); + ApiResponse response = apiInstance.GetAllMountsListWithHttpInfo(language, game, filterFamilyName, acceptEncoding, filterFamilyId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -81,13 +82,14 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **filterFamilyName** | **string?** | only results with the translated family name | [optional] | | **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] | +| **filterFamilyId** | **int?** | only results with the unique family id | [optional] | ### Return type -[**MountsListPaged**](MountsListPaged.md) +[**ListMounts**](ListMounts.md) ### Authorization @@ -102,15 +104,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Mounts Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetMountsList** -> MountsListPaged GetMountsList (string language, string game, string? filterFamilyName = null, int? pageSize = null, int? pageNumber = null, List? fieldsMount = null) +> ListMounts GetMountsList (string language, string game, string? filterFamilyName = null, int? pageSize = null, int? pageNumber = null, List? fieldsMount = null, int? filterFamilyId = null) List Mounts @@ -134,16 +136,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new MountsApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var filterFamilyName = Dragoturkey; // string? | only results with the translated family name (optional) var pageSize = 10; // int? | size of the results from the list. -1 disables pagination and gets all in one response. (optional) var pageNumber = 1; // int? | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) var fieldsMount = new List?(); // List? | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + var filterFamilyId = 56; // int? | only results with the unique family id (optional) try { // List Mounts - MountsListPaged result = apiInstance.GetMountsList(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount); + ListMounts result = apiInstance.GetMountsList(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, filterFamilyId); Debug.WriteLine(result); } catch (ApiException e) @@ -164,7 +167,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List Mounts - ApiResponse response = apiInstance.GetMountsListWithHttpInfo(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount); + ApiResponse response = apiInstance.GetMountsListWithHttpInfo(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, filterFamilyId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -182,15 +185,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **filterFamilyName** | **string?** | only results with the translated family name | [optional] | | **pageSize** | **int?** | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] | | **pageNumber** | **int?** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] | | **fieldsMount** | [**List<string>?**](string.md) | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] | +| **filterFamilyId** | **int?** | only results with the unique family id | [optional] | ### Return type -[**MountsListPaged**](MountsListPaged.md) +[**ListMounts**](ListMounts.md) ### Authorization @@ -205,15 +209,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Mounts Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetMountsSearch** -> List<MountListEntry> GetMountsSearch (string language, string game, string query, string? filterFamilyName = null, int? limit = null) +> List<Mount> GetMountsSearch (string language, string game, string query, string? filterFamilyName = null, int? limit = null) Search Mounts @@ -237,7 +241,7 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new MountsApi(config); var language = fr; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = Dorée; // string | case sensitive search query var filterFamilyName = Dragodinde; // string? | only results with the translated family name (optional) var limit = 8; // int? | maximum number of returned results (optional) (default to 8) @@ -245,7 +249,7 @@ namespace Example try { // Search Mounts - List result = apiInstance.GetMountsSearch(language, game, query, filterFamilyName, limit); + List result = apiInstance.GetMountsSearch(language, game, query, filterFamilyName, limit); Debug.WriteLine(result); } catch (ApiException e) @@ -266,7 +270,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search Mounts - ApiResponse> response = apiInstance.GetMountsSearchWithHttpInfo(language, game, query, filterFamilyName, limit); + ApiResponse> response = apiInstance.GetMountsSearchWithHttpInfo(language, game, query, filterFamilyName, limit); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -284,14 +288,14 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | | **filterFamilyName** | **string?** | only results with the translated family name | [optional] | | **limit** | **int?** | maximum number of returned results | [optional] [default to 8] | ### Return type -[**List<MountListEntry>**](MountListEntry.md) +[**List<Mount>**](Mount.md) ### Authorization @@ -306,9 +310,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Mounts Found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -339,7 +343,7 @@ namespace Example var apiInstance = new MountsApi(config); var language = "en"; // string | a valid language code var ankamaId = 180; // int | identifier - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta try { @@ -384,7 +388,7 @@ catch (ApiException e) |------|------|-------------|-------| | **language** | **string** | a valid language code | | | **ankamaId** | **int** | identifier | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | ### Return type @@ -403,9 +407,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Mount Found | - | -| **400** | Bad Request Possibilities: - invalid ankama id format | - | -| **404** | Not Found Possibilities: - nothing found for this ankama_id | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/MountsListPaged.md b/docs/MountsListPaged.md deleted file mode 100644 index 7e73f15..0000000 --- a/docs/MountsListPaged.md +++ /dev/null @@ -1,11 +0,0 @@ -# Dofusdude.Api.Model.MountsListPaged - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Links** | [**LinksPaged**](LinksPaged.md) | | [optional] -**Items** | [**List<MountListEntry>**](MountListEntry.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/LinksPaged.md b/docs/PagedLinks.md similarity index 92% rename from docs/LinksPaged.md rename to docs/PagedLinks.md index 6bbc036..a06779a 100644 --- a/docs/LinksPaged.md +++ b/docs/PagedLinks.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.LinksPaged +# Dofusdude.Api.Model.PagedLinks ## Properties diff --git a/docs/PutAlmanaxWebhook.md b/docs/PutAlmanaxWebhook.md index cf06390..08149c8 100644 --- a/docs/PutAlmanaxWebhook.md +++ b/docs/PutAlmanaxWebhook.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**BonusWhitelist** | **List<string>** | from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. | [optional] -**BonusBlacklist** | **List<string>** | from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. | [optional] +**BonusWhitelist** | **List<string>** | from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. | [optional] +**BonusBlacklist** | **List<string>** | from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. | [optional] **Subscriptions** | **List<string>** | Get the available subscriptions with /meta/webhooks/almanax | [optional] **DailySettings** | [**CreateAlmanaxWebhookDailySettings**](CreateAlmanaxWebhookDailySettings.md) | | [optional] **IsoDate** | **bool?** | If false, it will use common local time formats and weekday translations. If true, the format is YYYY-MM-DD. | [optional] [default to false] diff --git a/docs/QuestItemsApi.md b/docs/QuestItemsApi.md index b90fc2f..2ff3d9a 100644 --- a/docs/QuestItemsApi.md +++ b/docs/QuestItemsApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAllItemsQuestList**](QuestItemsApi.md#getallitemsquestlist) | **GET** /{game}/{language}/items/quest/all | List All Quest Items | -| [**GetItemQuestSingle**](QuestItemsApi.md#getitemquestsingle) | **GET** /{game}/{language}/items/quest/{ankama_id} | Single Quest Items | -| [**GetItemsQuestList**](QuestItemsApi.md#getitemsquestlist) | **GET** /{game}/{language}/items/quest | List Quest Items | -| [**GetItemsQuestSearch**](QuestItemsApi.md#getitemsquestsearch) | **GET** /{game}/{language}/items/quest/search | Search Quest Items | +| [**GetAllItemsQuestList**](QuestItemsApi.md#getallitemsquestlist) | **GET** /{game}/v1/{language}/items/quest/all | List All Quest Items | +| [**GetItemQuestSingle**](QuestItemsApi.md#getitemquestsingle) | **GET** /{game}/v1/{language}/items/quest/{ankama_id} | Single Quest Items | +| [**GetItemsQuestList**](QuestItemsApi.md#getitemsquestlist) | **GET** /{game}/v1/{language}/items/quest | List Quest Items | +| [**GetItemsQuestSearch**](QuestItemsApi.md#getitemsquestsearch) | **GET** /{game}/v1/{language}/items/quest/search | Search Quest Items | # **GetAllItemsQuestList** -> ItemsListPaged GetAllItemsQuestList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeEnum = null) +> ListItems GetAllItemsQuestList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeNameId = null) List All Quest Items @@ -35,18 +35,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new QuestItemsApi(config); var language = fr; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = desc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Sufokia; // string? | only results with the translated type name (optional) var filterMinLevel = 1; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 50; // int? | only results which level is equal or below this value (optional) var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List All Quest Items - ItemsListPaged result = apiInstance.GetAllItemsQuestList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ListItems result = apiInstance.GetAllItemsQuestList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -67,7 +66,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List All Quest Items - ApiResponse response = apiInstance.GetAllItemsQuestListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ApiResponse response = apiInstance.GetAllItemsQuestListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -85,17 +84,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -110,9 +108,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Quest Items Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -143,7 +141,7 @@ namespace Example var apiInstance = new QuestItemsApi(config); var language = "en"; // string | a valid language code var ankamaId = 25256; // int | identifier - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta try { @@ -188,7 +186,7 @@ catch (ApiException e) |------|------|-------------|-------| | **language** | **string** | a valid language code | | | **ankamaId** | **int** | identifier | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | ### Return type @@ -207,15 +205,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Quest Item Found | - | -| **400** | Bad Request Possibilities: - invalid ankama id format | - | -| **404** | Not Found Possibilities: - nothing found for this ankama_id | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsQuestList** -> ItemsListPaged GetItemsQuestList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeEnum = null) +> ListItems GetItemsQuestList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeNameId = null) List Quest Items @@ -239,20 +237,19 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new QuestItemsApi(config); var language = fr; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = desc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = Sufokia; // string? | only results with the translated type name (optional) var filterMinLevel = 1; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 50; // int? | only results which level is equal or below this value (optional) var pageSize = 5; // int? | size of the results from the list. -1 disables pagination and gets all in one response. (optional) var pageNumber = 1; // int? | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) var fieldsItem = new List?(); // List? | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List Quest Items - ItemsListPaged result = apiInstance.GetItemsQuestList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ListItems result = apiInstance.GetItemsQuestList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -273,7 +270,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List Quest Items - ApiResponse response = apiInstance.GetItemsQuestListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ApiResponse response = apiInstance.GetItemsQuestListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -291,19 +288,18 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **pageSize** | **int?** | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] | | **pageNumber** | **int?** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] | | **fieldsItem** | [**List<string>?**](string.md) | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -318,15 +314,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Quest Items Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsQuestSearch** -> List<ItemListEntry> GetItemsQuestSearch (string language, string game, string query, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeEnum = null) +> List<ListItem> GetItemsQuestSearch (string language, string game, string query, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeEnum = null) Search Quest Items @@ -350,7 +346,7 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new QuestItemsApi(config); var language = es; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = Ficha; // string | case sensitive search query var filterTypeName = Justicieros; // string? | only results with the translated type name (optional) var filterMinLevel = 60; // int? | only results which level is equal or above this value (optional) @@ -361,7 +357,7 @@ namespace Example try { // Search Quest Items - List result = apiInstance.GetItemsQuestSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + List result = apiInstance.GetItemsQuestSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); Debug.WriteLine(result); } catch (ApiException e) @@ -382,7 +378,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search Quest Items - ApiResponse> response = apiInstance.GetItemsQuestSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + ApiResponse> response = apiInstance.GetItemsQuestSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -400,7 +396,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | | **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | @@ -410,7 +406,7 @@ catch (ApiException e) ### Return type -[**List<ItemListEntry>**](ItemListEntry.md) +[**List<ListItem>**](ListItem.md) ### Authorization @@ -426,8 +422,8 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Quest Items Found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/WeaponRange.md b/docs/Range.md similarity index 91% rename from docs/WeaponRange.md rename to docs/Range.md index 2f1c7f0..192a2d1 100644 --- a/docs/WeaponRange.md +++ b/docs/Range.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.WeaponRange +# Dofusdude.Api.Model.Range ## Properties diff --git a/docs/RecipeEntry.md b/docs/Recipe.md similarity index 92% rename from docs/RecipeEntry.md rename to docs/Recipe.md index 871a5ab..c1a5c64 100644 --- a/docs/RecipeEntry.md +++ b/docs/Recipe.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.RecipeEntry +# Dofusdude.Api.Model.Recipe ## Properties diff --git a/docs/Resource.md b/docs/Resource.md index 566fcd3..1e9bda6 100644 --- a/docs/Resource.md +++ b/docs/Resource.md @@ -7,14 +7,13 @@ Name | Type | Description | Notes **AnkamaId** | **int** | | [optional] **Name** | **string** | | [optional] **Description** | **string** | | [optional] -**Type** | [**ResourceType**](ResourceType.md) | | [optional] +**Type** | [**TranslatedId**](TranslatedId.md) | | [optional] **Level** | **int** | | [optional] **Pods** | **int** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] -**Effects** | [**List<EffectsEntry>**](EffectsEntry.md) | | [optional] -**Conditions** | [**List<ConditionEntry>**](ConditionEntry.md) | | [optional] -**ConditionTree** | [**ConditionTreeNode**](ConditionTreeNode.md) | | [optional] -**Recipe** | [**List<RecipeEntry>**](RecipeEntry.md) | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] +**Effects** | [**List<Effect>**](Effect.md) | | [optional] +**Conditions** | [**ConditionNode**](ConditionNode.md) | | [optional] +**Recipe** | [**List<Recipe>**](Recipe.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ResourcesApi.md b/docs/ResourcesApi.md index 4f7921d..88b9c94 100644 --- a/docs/ResourcesApi.md +++ b/docs/ResourcesApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAllItemsResourcesList**](ResourcesApi.md#getallitemsresourceslist) | **GET** /{game}/{language}/items/resources/all | List All Resources | -| [**GetItemsResourceSearch**](ResourcesApi.md#getitemsresourcesearch) | **GET** /{game}/{language}/items/resources/search | Search Resources | -| [**GetItemsResourcesList**](ResourcesApi.md#getitemsresourceslist) | **GET** /{game}/{language}/items/resources | List Resources | -| [**GetItemsResourcesSingle**](ResourcesApi.md#getitemsresourcessingle) | **GET** /{game}/{language}/items/resources/{ankama_id} | Single Resources | +| [**GetAllItemsResourcesList**](ResourcesApi.md#getallitemsresourceslist) | **GET** /{game}/v1/{language}/items/resources/all | List All Resources | +| [**GetItemsResourceSearch**](ResourcesApi.md#getitemsresourcesearch) | **GET** /{game}/v1/{language}/items/resources/search | Search Resources | +| [**GetItemsResourcesList**](ResourcesApi.md#getitemsresourceslist) | **GET** /{game}/v1/{language}/items/resources | List Resources | +| [**GetItemsResourcesSingle**](ResourcesApi.md#getitemsresourcessingle) | **GET** /{game}/v1/{language}/items/resources/{ankama_id} | Single Resources | # **GetAllItemsResourcesList** -> ItemsListPaged GetAllItemsResourcesList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeEnum = null) +> ListItems GetAllItemsResourcesList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List? filterTypeNameId = null) List All Resources @@ -35,18 +35,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new ResourcesApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = desc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = miscellaneous resources; // string? | only results with the translated type name (optional) var filterMinLevel = 160; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 190; // int? | only results which level is equal or below this value (optional) var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List All Resources - ItemsListPaged result = apiInstance.GetAllItemsResourcesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ListItems result = apiInstance.GetAllItemsResourcesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -67,7 +66,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List All Resources - ApiResponse response = apiInstance.GetAllItemsResourcesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + ApiResponse response = apiInstance.GetAllItemsResourcesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -85,17 +84,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -110,15 +108,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Resources Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsResourceSearch** -> List<ItemListEntry> GetItemsResourceSearch (string language, string game, string query, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeEnum = null) +> List<ListItem> GetItemsResourceSearch (string language, string game, string query, int? filterMinLevel = null, int? filterMaxLevel = null, int? limit = null, List? filterTypeNameId = null) Search Resources @@ -142,18 +140,17 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new ResourcesApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = snowdew; // string | case sensitive search query - var filterTypeName = plant; // string? | only results with the translated type name (optional) var filterMinLevel = 150; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 200; // int? | only results which level is equal or below this value (optional) var limit = 8; // int? | maximum number of returned results (optional) (default to 8) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // Search Resources - List result = apiInstance.GetItemsResourceSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + List result = apiInstance.GetItemsResourceSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -174,7 +171,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search Resources - ApiResponse> response = apiInstance.GetItemsResourceSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + ApiResponse> response = apiInstance.GetItemsResourceSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -192,17 +189,16 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **limit** | **int?** | maximum number of returned results | [optional] [default to 8] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**List<ItemListEntry>**](ItemListEntry.md) +[**List<ListItem>**](ListItem.md) ### Authorization @@ -217,15 +213,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Resources Found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetItemsResourcesList** -> ItemsListPaged GetItemsResourcesList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeEnum = null) +> ListItems GetItemsResourcesList (string language, string game, string? sortLevel = null, int? filterMinLevel = null, int? filterMaxLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsItem = null, List? filterTypeNameId = null) List Resources @@ -249,20 +245,19 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new ResourcesApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = desc; // string? | sort the resulting list by level, default unsorted (optional) - var filterTypeName = miscellaneous resources; // string? | only results with the translated type name (optional) var filterMinLevel = 160; // int? | only results which level is equal or above this value (optional) var filterMaxLevel = 190; // int? | only results which level is equal or below this value (optional) var pageSize = 10; // int? | size of the results from the list. -1 disables pagination and gets all in one response. (optional) var pageNumber = 1; // int? | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) var fieldsItem = new List?(); // List? | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - var filterTypeEnum = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + var filterTypeNameId = new List?(); // List? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) try { // List Resources - ItemsListPaged result = apiInstance.GetItemsResourcesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ListItems result = apiInstance.GetItemsResourcesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.WriteLine(result); } catch (ApiException e) @@ -283,7 +278,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List Resources - ApiResponse response = apiInstance.GetItemsResourcesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + ApiResponse response = apiInstance.GetItemsResourcesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -301,19 +296,18 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | -| **filterTypeName** | **string?** | only results with the translated type name | [optional] | | **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] | | **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] | | **pageSize** | **int?** | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] | | **pageNumber** | **int?** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] | | **fieldsItem** | [**List<string>?**](string.md) | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] | -| **filterTypeEnum** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | +| **filterTypeNameId** | [**List<string>?**](string.md) | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional] | ### Return type -[**ItemsListPaged**](ItemsListPaged.md) +[**ListItems**](ListItems.md) ### Authorization @@ -328,9 +322,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Resources Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -361,7 +355,7 @@ namespace Example var apiInstance = new ResourcesApi(config); var language = "en"; // string | a valid language code var ankamaId = 7295; // int | identifier - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta try { @@ -406,7 +400,7 @@ catch (ApiException e) |------|------|-------------|-------| | **language** | **string** | a valid language code | | | **ankamaId** | **int** | identifier | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | ### Return type @@ -425,9 +419,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Resource Found | - | -| **400** | Bad Request Possibilities: - invalid ankama id format | - | -| **404** | Not Found Possibilities: - nothing found for this ankama_id | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/EquipmentSet.md b/docs/Set.md similarity index 82% rename from docs/EquipmentSet.md rename to docs/Set.md index 0cd3d4c..c9a5ad5 100644 --- a/docs/EquipmentSet.md +++ b/docs/Set.md @@ -1,4 +1,4 @@ -# Dofusdude.Api.Model.EquipmentSet +# Dofusdude.Api.Model.Set ## Properties @@ -7,7 +7,7 @@ Name | Type | Description | Notes **AnkamaId** | **int** | | [optional] **Name** | **string** | | [optional] **EquipmentIds** | **List<int>** | | [optional] -**Effects** | **List<List<SetEffectsEntry>>** | | [optional] +**Effects** | **Dictionary<string, List<Effect>>** | | [optional] **HighestEquipmentLevel** | **int** | | [optional] **IsCosmetic** | **bool** | | [optional] diff --git a/docs/SetEffectsEntry.md b/docs/SetEffectsEntry.md deleted file mode 100644 index 9cb2d67..0000000 --- a/docs/SetEffectsEntry.md +++ /dev/null @@ -1,16 +0,0 @@ -# Dofusdude.Api.Model.SetEffectsEntry - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**IntMinimum** | **int** | minimum int value, can be a single if ignore_int_max and no ignore_int_min | [optional] -**IntMaximum** | **int** | maximum int value, if not ignore_int_max and not ignore_int_min, the effect has a range value | [optional] -**Type** | [**SetEffectsEntryType**](SetEffectsEntryType.md) | | [optional] -**IgnoreIntMin** | **bool** | ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this case. | [optional] -**IgnoreIntMax** | **bool** | ignore the int max field, if ignore_int_min is true, int min is a single value | [optional] -**Formatted** | **string** | all fields from above encoded in a single string | [optional] -**ItemCombination** | **int** | how many items it needs to trigger this effect with the given set | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/SetsApi.md b/docs/SetsApi.md index 8c7fe7b..7af731e 100644 --- a/docs/SetsApi.md +++ b/docs/SetsApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.dofusdu.de* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**GetAllSetsList**](SetsApi.md#getallsetslist) | **GET** /{game}/{language}/sets/all | List All Sets | -| [**GetSetsList**](SetsApi.md#getsetslist) | **GET** /{game}/{language}/sets | List Sets | -| [**GetSetsSearch**](SetsApi.md#getsetssearch) | **GET** /{game}/{language}/sets/search | Search Sets | -| [**GetSetsSingle**](SetsApi.md#getsetssingle) | **GET** /{game}/{language}/sets/{ankama_id} | Single Sets | +| [**GetAllSetsList**](SetsApi.md#getallsetslist) | **GET** /{game}/v1/{language}/sets/all | List All Sets | +| [**GetSetsList**](SetsApi.md#getsetslist) | **GET** /{game}/v1/{language}/sets | List Sets | +| [**GetSetsSearch**](SetsApi.md#getsetssearch) | **GET** /{game}/v1/{language}/sets/search | Search Sets | +| [**GetSetsSingle**](SetsApi.md#getsetssingle) | **GET** /{game}/v1/{language}/sets/{ankama_id} | Single Sets | # **GetAllSetsList** -> SetsListPaged GetAllSetsList (string language, string game, string? sortLevel = null, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, string? acceptEncoding = null, bool? filterIsCosmetic = null) +> ListSets GetAllSetsList (string language, string game, string? sortLevel = null, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, string? acceptEncoding = null, bool? filterContainsCosmeticsOnly = null, bool? filterContainsCosmetics = null) List All Sets @@ -35,17 +35,18 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new SetsApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = asc; // string? | sort the resulting list by level, default unsorted (optional) var filterMinHighestEquipmentLevel = 190; // int? | only results where the equipment with the highest level is above or equal to this value (optional) var filterMaxHighestEquipmentLevel = 200; // int? | only results where the equipment with the highest level is below or equal to this value (optional) var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional) - var filterIsCosmetic = true; // bool? | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + var filterContainsCosmeticsOnly = true; // bool? | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + var filterContainsCosmetics = true; // bool? | filter sets based on if they got cosmetic items in it. (optional) try { // List All Sets - SetsListPaged result = apiInstance.GetAllSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterIsCosmetic); + ListSets result = apiInstance.GetAllSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterContainsCosmeticsOnly, filterContainsCosmetics); Debug.WriteLine(result); } catch (ApiException e) @@ -66,7 +67,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List All Sets - ApiResponse response = apiInstance.GetAllSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterIsCosmetic); + ApiResponse response = apiInstance.GetAllSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterContainsCosmeticsOnly, filterContainsCosmetics); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -84,16 +85,17 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | | **filterMinHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is above or equal to this value | [optional] | | **filterMaxHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is below or equal to this value | [optional] | | **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] | -| **filterIsCosmetic** | **bool?** | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. | [optional] | +| **filterContainsCosmeticsOnly** | **bool?** | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. | [optional] | +| **filterContainsCosmetics** | **bool?** | filter sets based on if they got cosmetic items in it. | [optional] | ### Return type -[**SetsListPaged**](SetsListPaged.md) +[**ListSets**](ListSets.md) ### Authorization @@ -108,15 +110,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Set Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetSetsList** -> SetsListPaged GetSetsList (string language, string game, string? sortLevel = null, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsSet = null, bool? filterIsCosmetic = null) +> ListSets GetSetsList (string language, string game, string? sortLevel = null, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, int? pageSize = null, int? pageNumber = null, List? fieldsSet = null, bool? filterContainsCosmeticsOnly = null, bool? filterContainsCosmetics = null) List Sets @@ -140,19 +142,20 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new SetsApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var sortLevel = asc; // string? | sort the resulting list by level, default unsorted (optional) var filterMinHighestEquipmentLevel = 190; // int? | only results where the equipment with the highest level is above or equal to this value (optional) var filterMaxHighestEquipmentLevel = 200; // int? | only results where the equipment with the highest level is below or equal to this value (optional) var pageSize = 20; // int? | size of the results from the list. -1 disables pagination and gets all in one response. (optional) var pageNumber = 1; // int? | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) var fieldsSet = new List?(); // List? | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - var filterIsCosmetic = true; // bool? | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + var filterContainsCosmeticsOnly = true; // bool? | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + var filterContainsCosmetics = true; // bool? | filter sets based on if they got cosmetic items in it. (optional) try { // List Sets - SetsListPaged result = apiInstance.GetSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterIsCosmetic); + ListSets result = apiInstance.GetSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterContainsCosmeticsOnly, filterContainsCosmetics); Debug.WriteLine(result); } catch (ApiException e) @@ -173,7 +176,7 @@ This returns an ApiResponse object which contains the response data, status code try { // List Sets - ApiResponse response = apiInstance.GetSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterIsCosmetic); + ApiResponse response = apiInstance.GetSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterContainsCosmeticsOnly, filterContainsCosmetics); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -191,18 +194,19 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **sortLevel** | **string?** | sort the resulting list by level, default unsorted | [optional] | | **filterMinHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is above or equal to this value | [optional] | | **filterMaxHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is below or equal to this value | [optional] | | **pageSize** | **int?** | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] | | **pageNumber** | **int?** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] | | **fieldsSet** | [**List<string>?**](string.md) | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] | -| **filterIsCosmetic** | **bool?** | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. | [optional] | +| **filterContainsCosmeticsOnly** | **bool?** | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. | [optional] | +| **filterContainsCosmetics** | **bool?** | filter sets based on if they got cosmetic items in it. | [optional] | ### Return type -[**SetsListPaged**](SetsListPaged.md) +[**ListSets**](ListSets.md) ### Authorization @@ -217,15 +221,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Set Found | - | -| **400** | Bad Request | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetSetsSearch** -> List<SetListEntry> GetSetsSearch (string language, string game, string query, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, int? limit = null, bool? filterIsCosmetic = null) +> List<ListSet> GetSetsSearch (string language, string game, string query, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, int? limit = null, bool? filterIsCosmetic = null) Search Sets @@ -249,7 +253,7 @@ namespace Example config.BasePath = "https://api.dofusdu.de"; var apiInstance = new SetsApi(config); var language = "en"; // string | a valid language code - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta var query = Des; // string | case sensitive search query var filterMinHighestEquipmentLevel = 195; // int? | only results where the equipment with the highest level is above or equal to this value (optional) var filterMaxHighestEquipmentLevel = 200; // int? | only results where the equipment with the highest level is below or equal to this value (optional) @@ -259,7 +263,7 @@ namespace Example try { // Search Sets - List result = apiInstance.GetSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic); + List result = apiInstance.GetSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic); Debug.WriteLine(result); } catch (ApiException e) @@ -280,7 +284,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Search Sets - ApiResponse> response = apiInstance.GetSetsSearchWithHttpInfo(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic); + ApiResponse> response = apiInstance.GetSetsSearchWithHttpInfo(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -298,7 +302,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| | **language** | **string** | a valid language code | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | | **query** | **string** | case sensitive search query | | | **filterMinHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is above or equal to this value | [optional] | | **filterMaxHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is below or equal to this value | [optional] | @@ -307,7 +311,7 @@ catch (ApiException e) ### Return type -[**List<SetListEntry>**](SetListEntry.md) +[**List<ListSet>**](ListSet.md) ### Authorization @@ -322,15 +326,15 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Sets Found | - | -| **400** | Bad Request Possibilities: - empty or no query | - | -| **404** | Not Found Possibilities: - no hits for query | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetSetsSingle** -> EquipmentSet GetSetsSingle (string language, int ankamaId, string game) +> Set GetSetsSingle (string language, int ankamaId, string game) Single Sets @@ -355,12 +359,12 @@ namespace Example var apiInstance = new SetsApi(config); var language = "en"; // string | a valid language code var ankamaId = 499; // int | identifier - var game = dofus2; // string | + var game = dofus3; // string | dofus3 | dofus3beta try { // Single Sets - EquipmentSet result = apiInstance.GetSetsSingle(language, ankamaId, game); + Set result = apiInstance.GetSetsSingle(language, ankamaId, game); Debug.WriteLine(result); } catch (ApiException e) @@ -381,7 +385,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Single Sets - ApiResponse response = apiInstance.GetSetsSingleWithHttpInfo(language, ankamaId, game); + ApiResponse response = apiInstance.GetSetsSingleWithHttpInfo(language, ankamaId, game); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -400,11 +404,11 @@ catch (ApiException e) |------|------|-------------|-------| | **language** | **string** | a valid language code | | | **ankamaId** | **int** | identifier | | -| **game** | **string** | | | +| **game** | **string** | dofus3 | dofus3beta | | ### Return type -[**EquipmentSet**](EquipmentSet.md) +[**Set**](Set.md) ### Authorization @@ -419,9 +423,9 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Set Found | - | -| **400** | Bad Request Possibilities: - invalid ankama id format | - | -| **404** | Not Found | - | +| **200** | | - | +| **400** | | - | +| **404** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/SetsListPaged.md b/docs/SetsListPaged.md deleted file mode 100644 index 2a6d5c7..0000000 --- a/docs/SetsListPaged.md +++ /dev/null @@ -1,11 +0,0 @@ -# Dofusdude.Api.Model.SetsListPaged - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Links** | [**LinksPaged**](LinksPaged.md) | | [optional] -**Sets** | [**List<SetListEntry>**](SetListEntry.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/ItemsListEntryTypedType.md b/docs/TranslatedId.md similarity index 68% rename from docs/ItemsListEntryTypedType.md rename to docs/TranslatedId.md index 67e41e5..2e97ef3 100644 --- a/docs/ItemsListEntryTypedType.md +++ b/docs/TranslatedId.md @@ -1,11 +1,11 @@ -# Dofusdude.Api.Model.ItemsListEntryTypedType +# Dofusdude.Api.Model.TranslatedId ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Name** | **string** | | [optional] -**Id** | **int** | | [optional] +**Id** | **int** | unique | [optional] +**Name** | **string** | localized name | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Weapon.md b/docs/Weapon.md index 9996515..28714a8 100644 --- a/docs/Weapon.md +++ b/docs/Weapon.md @@ -7,22 +7,20 @@ Name | Type | Description | Notes **AnkamaId** | **int** | | [optional] **Name** | **string** | | [optional] **Description** | **string** | | [optional] -**Type** | [**ItemsListEntryTypedType**](ItemsListEntryTypedType.md) | | [optional] +**Type** | [**TranslatedId**](TranslatedId.md) | | [optional] **IsWeapon** | **bool** | always true when the item is a weapon. Many fields are now available. Always check for this flag first when getting single equipment items. | [optional] **Level** | **int** | | [optional] **Pods** | **int** | | [optional] -**ImageUrls** | [**ImageUrls**](ImageUrls.md) | | [optional] -**Effects** | [**List<EffectsEntry>**](EffectsEntry.md) | | [optional] -**Conditions** | [**List<ConditionEntry>**](ConditionEntry.md) | | [optional] -**ConditionTree** | [**ConditionTreeNode**](ConditionTreeNode.md) | | [optional] +**ImageUrls** | [**Images**](Images.md) | | [optional] +**Effects** | [**List<Effect>**](Effect.md) | | [optional] +**Conditions** | [**ConditionNode**](ConditionNode.md) | | [optional] **CriticalHitProbability** | **int** | | [optional] **CriticalHitBonus** | **int** | | [optional] -**IsTwoHanded** | **bool** | | [optional] **MaxCastPerTurn** | **int** | | [optional] **ApCost** | **int** | | [optional] -**Range** | [**WeaponRange**](WeaponRange.md) | | [optional] -**Recipe** | [**List<RecipeEntry>**](RecipeEntry.md) | | [optional] -**ParentSet** | [**ItemListEntryParentSet**](ItemListEntryParentSet.md) | | [optional] +**Range** | [**Range**](Range.md) | | [optional] +**Recipe** | [**List<Recipe>**](Recipe.md) | | [optional] +**ParentSet** | [**TranslatedId**](TranslatedId.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index 22a5a79..4645887 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -45,7 +45,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook try { @@ -84,7 +84,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | ### Return type @@ -132,7 +132,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook try { @@ -171,7 +171,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | ### Return type @@ -219,7 +219,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook try { @@ -258,7 +258,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | ### Return type @@ -564,7 +564,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook try { @@ -607,7 +607,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | ### Return type @@ -655,7 +655,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook try { @@ -698,7 +698,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | ### Return type @@ -746,7 +746,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook try { @@ -789,7 +789,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | ### Return type @@ -1098,7 +1098,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook var putAlmanaxWebhook = new PutAlmanaxWebhook?(); // PutAlmanaxWebhook? | (optional) try @@ -1142,7 +1142,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | | **putAlmanaxWebhook** | [**PutAlmanaxWebhook?**](PutAlmanaxWebhook?.md) | | [optional] | ### Return type @@ -1191,7 +1191,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook var putRSSWebhook = new PutRSSWebhook?(); // PutRSSWebhook? | (optional) try @@ -1235,7 +1235,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | | **putRSSWebhook** | [**PutRSSWebhook?**](PutRSSWebhook?.md) | | [optional] | ### Return type @@ -1284,7 +1284,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "https://api.dofusdu.de"; var apiInstance = new WebhooksApi(config); - var id = "id_example"; // string | + var id = "id_example"; // string | the ID returned from the API when creating the webhook var putTwitterWebhook = new PutTwitterWebhook?(); // PutTwitterWebhook? | (optional) try @@ -1328,7 +1328,7 @@ catch (ApiException e) | Name | Type | Description | Notes | |------|------|-------------|-------| -| **id** | **string** | | | +| **id** | **string** | the ID returned from the API when creating the webhook | | | **putTwitterWebhook** | [**PutTwitterWebhook?**](PutTwitterWebhook?.md) | | [optional] | ### Return type diff --git a/src/Dofusdude.Api.Test/Api/AlmanaxApiTests.cs b/src/Dofusdude.Api.Test/Api/AlmanaxApiTests.cs index 24d713e..a79a81b 100644 --- a/src/Dofusdude.Api.Test/Api/AlmanaxApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/AlmanaxApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,7 +65,7 @@ public void GetAlmanaxDateTest() //string language = null; //DateOnly date = null; //var response = instance.GetAlmanaxDate(language, date); - //Assert.IsType(response); + //Assert.IsType(response); } /// @@ -82,7 +82,7 @@ public void GetAlmanaxRangeTest() //int? rangeSize = null; //string? timezone = null; //var response = instance.GetAlmanaxRange(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone); - //Assert.IsType>(response); + //Assert.IsType>(response); } } } diff --git a/src/Dofusdude.Api.Test/Api/ConsumablesApiTests.cs b/src/Dofusdude.Api.Test/Api/ConsumablesApiTests.cs index ab961ba..60db726 100644 --- a/src/Dofusdude.Api.Test/Api/ConsumablesApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/ConsumablesApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,13 +65,12 @@ public void GetAllItemsConsumablesListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //string? acceptEncoding = null; - //List? filterTypeEnum = null; - //var response = instance.GetAllItemsConsumablesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetAllItemsConsumablesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); + //Assert.IsType(response); } /// @@ -84,15 +83,14 @@ public void GetItemsConsumablesListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? pageSize = null; //int? pageNumber = null; //List? fieldsItem = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsConsumablesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsConsumablesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); + //Assert.IsType(response); } /// @@ -105,13 +103,12 @@ public void GetItemsConsumablesSearchTest() //string language = null; //string game = null; //string query = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? limit = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsConsumablesSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); - //Assert.IsType>(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsConsumablesSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); + //Assert.IsType>(response); } /// diff --git a/src/Dofusdude.Api.Test/Api/CosmeticsApiTests.cs b/src/Dofusdude.Api.Test/Api/CosmeticsApiTests.cs index c8d518a..5514d18 100644 --- a/src/Dofusdude.Api.Test/Api/CosmeticsApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/CosmeticsApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,13 +65,12 @@ public void GetAllCosmeticsListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //string? acceptEncoding = null; - //List? filterTypeEnum = null; - //var response = instance.GetAllCosmeticsList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetAllCosmeticsList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); + //Assert.IsType(response); } /// @@ -84,15 +83,14 @@ public void GetCosmeticsListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? pageSize = null; //int? pageNumber = null; //List? fieldsItem = null; - //List? filterTypeEnum = null; - //var response = instance.GetCosmeticsList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetCosmeticsList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); + //Assert.IsType(response); } /// @@ -105,13 +103,12 @@ public void GetCosmeticsSearchTest() //string language = null; //string game = null; //string query = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? limit = null; - //List? filterTypeEnum = null; - //var response = instance.GetCosmeticsSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); - //Assert.IsType>(response); + //List? filterTypeNameId = null; + //var response = instance.GetCosmeticsSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); + //Assert.IsType>(response); } /// diff --git a/src/Dofusdude.Api.Test/Api/EquipmentApiTests.cs b/src/Dofusdude.Api.Test/Api/EquipmentApiTests.cs index a3bc668..31e09ad 100644 --- a/src/Dofusdude.Api.Test/Api/EquipmentApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/EquipmentApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,13 +65,12 @@ public void GetAllItemsEquipmentListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //string? acceptEncoding = null; - //List? filterTypeEnum = null; - //var response = instance.GetAllItemsEquipmentList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetAllItemsEquipmentList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); + //Assert.IsType(response); } /// @@ -84,15 +83,14 @@ public void GetItemsEquipmentListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? pageSize = null; //int? pageNumber = null; //List? fieldsItem = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsEquipmentList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsEquipmentList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); + //Assert.IsType(response); } /// @@ -105,13 +103,12 @@ public void GetItemsEquipmentSearchTest() //string language = null; //string game = null; //string query = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? limit = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsEquipmentSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); - //Assert.IsType>(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsEquipmentSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); + //Assert.IsType>(response); } /// diff --git a/src/Dofusdude.Api.Test/Api/GameApiTests.cs b/src/Dofusdude.Api.Test/Api/GameApiTests.cs index 5d69d33..3d97504 100644 --- a/src/Dofusdude.Api.Test/Api/GameApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/GameApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,12 +65,12 @@ public void GetGameSearchTest() //string language = null; //string game = null; //string query = null; - //List? filterType = null; + //List? filterSearchIndex = null; //int? limit = null; //List? fieldsItem = null; - //List? filterTypeEnum = null; - //var response = instance.GetGameSearch(language, game, query, filterType, limit, fieldsItem, filterTypeEnum); - //Assert.IsType>(response); + //List? filterTypeNameId = null; + //var response = instance.GetGameSearch(language, game, query, filterSearchIndex, limit, fieldsItem, filterTypeNameId); + //Assert.IsType>(response); } /// @@ -83,13 +83,12 @@ public void GetItemsAllSearchTest() //string language = null; //string game = null; //string query = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? limit = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsAllSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); - //Assert.IsType>(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsAllSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); + //Assert.IsType>(response); } } } diff --git a/src/Dofusdude.Api.Test/Api/MetaApiTests.cs b/src/Dofusdude.Api.Test/Api/MetaApiTests.cs index bbd1c18..ec2c827 100644 --- a/src/Dofusdude.Api.Test/Api/MetaApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/MetaApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -122,7 +122,7 @@ public void GetMetaVersionTest() { // TODO uncomment below to test the method and replace null with proper value //var response = instance.GetMetaVersion(); - //Assert.IsType(response); + //Assert.IsType(response); } } } diff --git a/src/Dofusdude.Api.Test/Api/MountsApiTests.cs b/src/Dofusdude.Api.Test/Api/MountsApiTests.cs index f107e13..265ef57 100644 --- a/src/Dofusdude.Api.Test/Api/MountsApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/MountsApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -66,8 +66,9 @@ public void GetAllMountsListTest() //string game = null; //string? filterFamilyName = null; //string? acceptEncoding = null; - //var response = instance.GetAllMountsList(language, game, filterFamilyName, acceptEncoding); - //Assert.IsType(response); + //int? filterFamilyId = null; + //var response = instance.GetAllMountsList(language, game, filterFamilyName, acceptEncoding, filterFamilyId); + //Assert.IsType(response); } /// @@ -83,8 +84,9 @@ public void GetMountsListTest() //int? pageSize = null; //int? pageNumber = null; //List? fieldsMount = null; - //var response = instance.GetMountsList(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount); - //Assert.IsType(response); + //int? filterFamilyId = null; + //var response = instance.GetMountsList(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, filterFamilyId); + //Assert.IsType(response); } /// @@ -100,7 +102,7 @@ public void GetMountsSearchTest() //string? filterFamilyName = null; //int? limit = null; //var response = instance.GetMountsSearch(language, game, query, filterFamilyName, limit); - //Assert.IsType>(response); + //Assert.IsType>(response); } /// diff --git a/src/Dofusdude.Api.Test/Api/QuestItemsApiTests.cs b/src/Dofusdude.Api.Test/Api/QuestItemsApiTests.cs index f446b5d..29a962a 100644 --- a/src/Dofusdude.Api.Test/Api/QuestItemsApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/QuestItemsApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,13 +65,12 @@ public void GetAllItemsQuestListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //string? acceptEncoding = null; - //List? filterTypeEnum = null; - //var response = instance.GetAllItemsQuestList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetAllItemsQuestList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); + //Assert.IsType(response); } /// @@ -98,15 +97,14 @@ public void GetItemsQuestListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? pageSize = null; //int? pageNumber = null; //List? fieldsItem = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsQuestList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsQuestList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); + //Assert.IsType(response); } /// @@ -125,7 +123,7 @@ public void GetItemsQuestSearchTest() //int? limit = null; //List? filterTypeEnum = null; //var response = instance.GetItemsQuestSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); - //Assert.IsType>(response); + //Assert.IsType>(response); } } } diff --git a/src/Dofusdude.Api.Test/Api/ResourcesApiTests.cs b/src/Dofusdude.Api.Test/Api/ResourcesApiTests.cs index a936267..6816598 100644 --- a/src/Dofusdude.Api.Test/Api/ResourcesApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/ResourcesApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,13 +65,12 @@ public void GetAllItemsResourcesListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //string? acceptEncoding = null; - //List? filterTypeEnum = null; - //var response = instance.GetAllItemsResourcesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetAllItemsResourcesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); + //Assert.IsType(response); } /// @@ -84,13 +83,12 @@ public void GetItemsResourceSearchTest() //string language = null; //string game = null; //string query = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? limit = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsResourceSearch(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); - //Assert.IsType>(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsResourceSearch(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); + //Assert.IsType>(response); } /// @@ -103,15 +101,14 @@ public void GetItemsResourcesListTest() //string language = null; //string game = null; //string? sortLevel = null; - //string? filterTypeName = null; //int? filterMinLevel = null; //int? filterMaxLevel = null; //int? pageSize = null; //int? pageNumber = null; //List? fieldsItem = null; - //List? filterTypeEnum = null; - //var response = instance.GetItemsResourcesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); - //Assert.IsType(response); + //List? filterTypeNameId = null; + //var response = instance.GetItemsResourcesList(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); + //Assert.IsType(response); } /// diff --git a/src/Dofusdude.Api.Test/Api/SetsApiTests.cs b/src/Dofusdude.Api.Test/Api/SetsApiTests.cs index 7abc837..e127ce3 100644 --- a/src/Dofusdude.Api.Test/Api/SetsApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/SetsApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -68,9 +68,10 @@ public void GetAllSetsListTest() //int? filterMinHighestEquipmentLevel = null; //int? filterMaxHighestEquipmentLevel = null; //string? acceptEncoding = null; - //bool? filterIsCosmetic = null; - //var response = instance.GetAllSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterIsCosmetic); - //Assert.IsType(response); + //bool? filterContainsCosmeticsOnly = null; + //bool? filterContainsCosmetics = null; + //var response = instance.GetAllSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterContainsCosmeticsOnly, filterContainsCosmetics); + //Assert.IsType(response); } /// @@ -88,9 +89,10 @@ public void GetSetsListTest() //int? pageSize = null; //int? pageNumber = null; //List? fieldsSet = null; - //bool? filterIsCosmetic = null; - //var response = instance.GetSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterIsCosmetic); - //Assert.IsType(response); + //bool? filterContainsCosmeticsOnly = null; + //bool? filterContainsCosmetics = null; + //var response = instance.GetSetsList(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterContainsCosmeticsOnly, filterContainsCosmetics); + //Assert.IsType(response); } /// @@ -108,7 +110,7 @@ public void GetSetsSearchTest() //int? limit = null; //bool? filterIsCosmetic = null; //var response = instance.GetSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic); - //Assert.IsType>(response); + //Assert.IsType>(response); } /// @@ -122,7 +124,7 @@ public void GetSetsSingleTest() //int ankamaId = null; //string game = null; //var response = instance.GetSetsSingle(language, ankamaId, game); - //Assert.IsType(response); + //Assert.IsType(response); } } } diff --git a/src/Dofusdude.Api.Test/Api/WebhooksApiTests.cs b/src/Dofusdude.Api.Test/Api/WebhooksApiTests.cs index 19e3911..551a907 100644 --- a/src/Dofusdude.Api.Test/Api/WebhooksApiTests.cs +++ b/src/Dofusdude.Api.Test/Api/WebhooksApiTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxBonusTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxBonusTests.cs new file mode 100644 index 0000000..8502671 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/AlmanaxBonusTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing AlmanaxBonus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AlmanaxBonusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AlmanaxBonus + //private AlmanaxBonus instance; + + public AlmanaxBonusTests() + { + // TODO uncomment below to create an instance of AlmanaxBonus + //instance = new AlmanaxBonus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AlmanaxBonus + /// + [Fact] + public void AlmanaxBonusInstanceTest() + { + // TODO uncomment below to test "IsType" AlmanaxBonus + //Assert.IsType(instance); + } + + /// + /// Test the property 'Description' + /// + [Fact] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxEntryBonusTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxEntryBonusTests.cs deleted file mode 100644 index 0b82792..0000000 --- a/src/Dofusdude.Api.Test/Model/AlmanaxEntryBonusTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing AlmanaxEntryBonus - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class AlmanaxEntryBonusTests : IDisposable - { - // TODO uncomment below to declare an instance variable for AlmanaxEntryBonus - //private AlmanaxEntryBonus instance; - - public AlmanaxEntryBonusTests() - { - // TODO uncomment below to create an instance of AlmanaxEntryBonus - //instance = new AlmanaxEntryBonus(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of AlmanaxEntryBonus - /// - [Fact] - public void AlmanaxEntryBonusInstanceTest() - { - // TODO uncomment below to test "IsType" AlmanaxEntryBonus - //Assert.IsType(instance); - } - - /// - /// Test the property 'Description' - /// - [Fact] - public void DescriptionTest() - { - // TODO unit test for the property 'Description' - } - - /// - /// Test the property 'Type' - /// - [Fact] - public void TypeTest() - { - // TODO unit test for the property 'Type' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxEntryTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxEntryTests.cs deleted file mode 100644 index f7faa0b..0000000 --- a/src/Dofusdude.Api.Test/Model/AlmanaxEntryTests.cs +++ /dev/null @@ -1,94 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing AlmanaxEntry - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class AlmanaxEntryTests : IDisposable - { - // TODO uncomment below to declare an instance variable for AlmanaxEntry - //private AlmanaxEntry instance; - - public AlmanaxEntryTests() - { - // TODO uncomment below to create an instance of AlmanaxEntry - //instance = new AlmanaxEntry(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of AlmanaxEntry - /// - [Fact] - public void AlmanaxEntryInstanceTest() - { - // TODO uncomment below to test "IsType" AlmanaxEntry - //Assert.IsType(instance); - } - - /// - /// Test the property 'Bonus' - /// - [Fact] - public void BonusTest() - { - // TODO unit test for the property 'Bonus' - } - - /// - /// Test the property 'Date' - /// - [Fact] - public void DateTest() - { - // TODO unit test for the property 'Date' - } - - /// - /// Test the property 'Tribute' - /// - [Fact] - public void TributeTest() - { - // TODO unit test for the property 'Tribute' - } - - /// - /// Test the property 'RewardKamas' - /// - [Fact] - public void RewardKamasTest() - { - // TODO unit test for the property 'RewardKamas' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeItemTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeItemTests.cs deleted file mode 100644 index 49394df..0000000 --- a/src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeItemTests.cs +++ /dev/null @@ -1,94 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing AlmanaxEntryTributeItem - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class AlmanaxEntryTributeItemTests : IDisposable - { - // TODO uncomment below to declare an instance variable for AlmanaxEntryTributeItem - //private AlmanaxEntryTributeItem instance; - - public AlmanaxEntryTributeItemTests() - { - // TODO uncomment below to create an instance of AlmanaxEntryTributeItem - //instance = new AlmanaxEntryTributeItem(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of AlmanaxEntryTributeItem - /// - [Fact] - public void AlmanaxEntryTributeItemInstanceTest() - { - // TODO uncomment below to test "IsType" AlmanaxEntryTributeItem - //Assert.IsType(instance); - } - - /// - /// Test the property 'AnkamaId' - /// - [Fact] - public void AnkamaIdTest() - { - // TODO unit test for the property 'AnkamaId' - } - - /// - /// Test the property 'ImageUrls' - /// - [Fact] - public void ImageUrlsTest() - { - // TODO unit test for the property 'ImageUrls' - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'Subtype' - /// - [Fact] - public void SubtypeTest() - { - // TODO unit test for the property 'Subtype' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeTests.cs deleted file mode 100644 index b5e5b5a..0000000 --- a/src/Dofusdude.Api.Test/Model/AlmanaxEntryTributeTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing AlmanaxEntryTribute - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class AlmanaxEntryTributeTests : IDisposable - { - // TODO uncomment below to declare an instance variable for AlmanaxEntryTribute - //private AlmanaxEntryTribute instance; - - public AlmanaxEntryTributeTests() - { - // TODO uncomment below to create an instance of AlmanaxEntryTribute - //instance = new AlmanaxEntryTribute(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of AlmanaxEntryTribute - /// - [Fact] - public void AlmanaxEntryTributeInstanceTest() - { - // TODO uncomment below to test "IsType" AlmanaxEntryTribute - //Assert.IsType(instance); - } - - /// - /// Test the property 'Item' - /// - [Fact] - public void ItemTest() - { - // TODO unit test for the property 'Item' - } - - /// - /// Test the property 'Quantity' - /// - [Fact] - public void QuantityTest() - { - // TODO unit test for the property 'Quantity' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxTests.cs new file mode 100644 index 0000000..ef14486 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/AlmanaxTests.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Almanax + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AlmanaxTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Almanax + //private Almanax instance; + + public AlmanaxTests() + { + // TODO uncomment below to create an instance of Almanax + //instance = new Almanax(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Almanax + /// + [Fact] + public void AlmanaxInstanceTest() + { + // TODO uncomment below to test "IsType" Almanax + //Assert.IsType(instance); + } + + /// + /// Test the property 'Bonus' + /// + [Fact] + public void BonusTest() + { + // TODO unit test for the property 'Bonus' + } + + /// + /// Test the property 'Date' + /// + [Fact] + public void DateTest() + { + // TODO unit test for the property 'Date' + } + + /// + /// Test the property 'Tribute' + /// + [Fact] + public void TributeTest() + { + // TODO unit test for the property 'Tribute' + } + + /// + /// Test the property 'RewardKamas' + /// + [Fact] + public void RewardKamasTest() + { + // TODO unit test for the property 'RewardKamas' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxTributeItemTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxTributeItemTests.cs new file mode 100644 index 0000000..bc4908b --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/AlmanaxTributeItemTests.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing AlmanaxTributeItem + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AlmanaxTributeItemTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AlmanaxTributeItem + //private AlmanaxTributeItem instance; + + public AlmanaxTributeItemTests() + { + // TODO uncomment below to create an instance of AlmanaxTributeItem + //instance = new AlmanaxTributeItem(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AlmanaxTributeItem + /// + [Fact] + public void AlmanaxTributeItemInstanceTest() + { + // TODO uncomment below to test "IsType" AlmanaxTributeItem + //Assert.IsType(instance); + } + + /// + /// Test the property 'AnkamaId' + /// + [Fact] + public void AnkamaIdTest() + { + // TODO unit test for the property 'AnkamaId' + } + + /// + /// Test the property 'ImageUrls' + /// + [Fact] + public void ImageUrlsTest() + { + // TODO unit test for the property 'ImageUrls' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + /// + /// Test the property 'Subtype' + /// + [Fact] + public void SubtypeTest() + { + // TODO unit test for the property 'Subtype' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxTributeTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxTributeTests.cs new file mode 100644 index 0000000..2a13729 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/AlmanaxTributeTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing AlmanaxTribute + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AlmanaxTributeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AlmanaxTribute + //private AlmanaxTribute instance; + + public AlmanaxTributeTests() + { + // TODO uncomment below to create an instance of AlmanaxTribute + //instance = new AlmanaxTribute(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AlmanaxTribute + /// + [Fact] + public void AlmanaxTributeInstanceTest() + { + // TODO uncomment below to test "IsType" AlmanaxTribute + //Assert.IsType(instance); + } + + /// + /// Test the property 'Item' + /// + [Fact] + public void ItemTest() + { + // TODO unit test for the property 'Item' + } + + /// + /// Test the property 'Quantity' + /// + [Fact] + public void QuantityTest() + { + // TODO unit test for the property 'Quantity' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxWebhookDailySettingsTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxWebhookDailySettingsTests.cs index 0669909..97d5113 100644 --- a/src/Dofusdude.Api.Test/Model/AlmanaxWebhookDailySettingsTests.cs +++ b/src/Dofusdude.Api.Test/Model/AlmanaxWebhookDailySettingsTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/AlmanaxWebhookTests.cs b/src/Dofusdude.Api.Test/Model/AlmanaxWebhookTests.cs index f0f8150..892048d 100644 --- a/src/Dofusdude.Api.Test/Model/AlmanaxWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/AlmanaxWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/ConditionEntryTests.cs b/src/Dofusdude.Api.Test/Model/ConditionEntryTests.cs deleted file mode 100644 index 6e19979..0000000 --- a/src/Dofusdude.Api.Test/Model/ConditionEntryTests.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ConditionEntry - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ConditionEntryTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ConditionEntry - //private ConditionEntry instance; - - public ConditionEntryTests() - { - // TODO uncomment below to create an instance of ConditionEntry - //instance = new ConditionEntry(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ConditionEntry - /// - [Fact] - public void ConditionEntryInstanceTest() - { - // TODO uncomment below to test "IsType" ConditionEntry - //Assert.IsType(instance); - } - - /// - /// Test the property 'Operator' - /// - [Fact] - public void OperatorTest() - { - // TODO unit test for the property 'Operator' - } - - /// - /// Test the property 'IntValue' - /// - [Fact] - public void IntValueTest() - { - // TODO unit test for the property 'IntValue' - } - - /// - /// Test the property 'Element' - /// - [Fact] - public void ElementTest() - { - // TODO unit test for the property 'Element' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ConditionLeafTests.cs b/src/Dofusdude.Api.Test/Model/ConditionLeafTests.cs new file mode 100644 index 0000000..b637822 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ConditionLeafTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ConditionLeaf + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ConditionLeafTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ConditionLeaf + //private ConditionLeaf instance; + + public ConditionLeafTests() + { + // TODO uncomment below to create an instance of ConditionLeaf + //instance = new ConditionLeaf(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ConditionLeaf + /// + [Fact] + public void ConditionLeafInstanceTest() + { + // TODO uncomment below to test "IsType" ConditionLeaf + //Assert.IsType(instance); + } + + /// + /// Test the property 'IsOperand' + /// + [Fact] + public void IsOperandTest() + { + // TODO unit test for the property 'IsOperand' + } + + /// + /// Test the property 'Condition' + /// + [Fact] + public void ConditionTest() + { + // TODO unit test for the property 'Condition' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ConditionNodeTests.cs b/src/Dofusdude.Api.Test/Model/ConditionNodeTests.cs new file mode 100644 index 0000000..ba94241 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ConditionNodeTests.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ConditionNode + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ConditionNodeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ConditionNode + //private ConditionNode instance; + + public ConditionNodeTests() + { + // TODO uncomment below to create an instance of ConditionNode + //instance = new ConditionNode(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ConditionNode + /// + [Fact] + public void ConditionNodeInstanceTest() + { + // TODO uncomment below to test "IsType" ConditionNode + //Assert.IsType(instance); + } + + /// + /// Test the property 'IsOperand' + /// + [Fact] + public void IsOperandTest() + { + // TODO unit test for the property 'IsOperand' + } + + /// + /// Test the property 'Relation' + /// + [Fact] + public void RelationTest() + { + // TODO unit test for the property 'Relation' + } + + /// + /// Test the property 'Children' + /// + [Fact] + public void ChildrenTest() + { + // TODO unit test for the property 'Children' + } + + /// + /// Test the property 'Condition' + /// + [Fact] + public void ConditionTest() + { + // TODO unit test for the property 'Condition' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ConditionRelationTests.cs b/src/Dofusdude.Api.Test/Model/ConditionRelationTests.cs new file mode 100644 index 0000000..f95046b --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ConditionRelationTests.cs @@ -0,0 +1,85 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ConditionRelation + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ConditionRelationTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ConditionRelation + //private ConditionRelation instance; + + public ConditionRelationTests() + { + // TODO uncomment below to create an instance of ConditionRelation + //instance = new ConditionRelation(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ConditionRelation + /// + [Fact] + public void ConditionRelationInstanceTest() + { + // TODO uncomment below to test "IsType" ConditionRelation + //Assert.IsType(instance); + } + + /// + /// Test the property 'IsOperand' + /// + [Fact] + public void IsOperandTest() + { + // TODO unit test for the property 'IsOperand' + } + + /// + /// Test the property 'Relation' + /// + [Fact] + public void RelationTest() + { + // TODO unit test for the property 'Relation' + } + + /// + /// Test the property 'Children' + /// + [Fact] + public void ChildrenTest() + { + // TODO unit test for the property 'Children' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ConditionTests.cs b/src/Dofusdude.Api.Test/Model/ConditionTests.cs new file mode 100644 index 0000000..af5ca07 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ConditionTests.cs @@ -0,0 +1,85 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Condition + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ConditionTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Condition + //private Condition instance; + + public ConditionTests() + { + // TODO uncomment below to create an instance of Condition + //instance = new Condition(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Condition + /// + [Fact] + public void ConditionInstanceTest() + { + // TODO uncomment below to test "IsType" Condition + //Assert.IsType(instance); + } + + /// + /// Test the property 'Operator' + /// + [Fact] + public void OperatorTest() + { + // TODO unit test for the property 'Operator' + } + + /// + /// Test the property 'IntValue' + /// + [Fact] + public void IntValueTest() + { + // TODO unit test for the property 'IntValue' + } + + /// + /// Test the property 'Element' + /// + [Fact] + public void ElementTest() + { + // TODO unit test for the property 'Element' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ConditionTreeLeafTests.cs b/src/Dofusdude.Api.Test/Model/ConditionTreeLeafTests.cs deleted file mode 100644 index ff9abd3..0000000 --- a/src/Dofusdude.Api.Test/Model/ConditionTreeLeafTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ConditionTreeLeaf - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ConditionTreeLeafTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ConditionTreeLeaf - //private ConditionTreeLeaf instance; - - public ConditionTreeLeafTests() - { - // TODO uncomment below to create an instance of ConditionTreeLeaf - //instance = new ConditionTreeLeaf(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ConditionTreeLeaf - /// - [Fact] - public void ConditionTreeLeafInstanceTest() - { - // TODO uncomment below to test "IsType" ConditionTreeLeaf - //Assert.IsType(instance); - } - - /// - /// Test the property 'IsOperand' - /// - [Fact] - public void IsOperandTest() - { - // TODO unit test for the property 'IsOperand' - } - - /// - /// Test the property 'Condition' - /// - [Fact] - public void ConditionTest() - { - // TODO unit test for the property 'Condition' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ConditionTreeNodeTests.cs b/src/Dofusdude.Api.Test/Model/ConditionTreeNodeTests.cs deleted file mode 100644 index e6f8116..0000000 --- a/src/Dofusdude.Api.Test/Model/ConditionTreeNodeTests.cs +++ /dev/null @@ -1,94 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ConditionTreeNode - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ConditionTreeNodeTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ConditionTreeNode - //private ConditionTreeNode instance; - - public ConditionTreeNodeTests() - { - // TODO uncomment below to create an instance of ConditionTreeNode - //instance = new ConditionTreeNode(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ConditionTreeNode - /// - [Fact] - public void ConditionTreeNodeInstanceTest() - { - // TODO uncomment below to test "IsType" ConditionTreeNode - //Assert.IsType(instance); - } - - /// - /// Test the property 'IsOperand' - /// - [Fact] - public void IsOperandTest() - { - // TODO unit test for the property 'IsOperand' - } - - /// - /// Test the property 'Relation' - /// - [Fact] - public void RelationTest() - { - // TODO unit test for the property 'Relation' - } - - /// - /// Test the property 'Children' - /// - [Fact] - public void ChildrenTest() - { - // TODO unit test for the property 'Children' - } - - /// - /// Test the property 'Condition' - /// - [Fact] - public void ConditionTest() - { - // TODO unit test for the property 'Condition' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ConditionTreeRelationTests.cs b/src/Dofusdude.Api.Test/Model/ConditionTreeRelationTests.cs deleted file mode 100644 index ebffa92..0000000 --- a/src/Dofusdude.Api.Test/Model/ConditionTreeRelationTests.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ConditionTreeRelation - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ConditionTreeRelationTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ConditionTreeRelation - //private ConditionTreeRelation instance; - - public ConditionTreeRelationTests() - { - // TODO uncomment below to create an instance of ConditionTreeRelation - //instance = new ConditionTreeRelation(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ConditionTreeRelation - /// - [Fact] - public void ConditionTreeRelationInstanceTest() - { - // TODO uncomment below to test "IsType" ConditionTreeRelation - //Assert.IsType(instance); - } - - /// - /// Test the property 'IsOperand' - /// - [Fact] - public void IsOperandTest() - { - // TODO unit test for the property 'IsOperand' - } - - /// - /// Test the property 'Relation' - /// - [Fact] - public void RelationTest() - { - // TODO unit test for the property 'Relation' - } - - /// - /// Test the property 'Children' - /// - [Fact] - public void ChildrenTest() - { - // TODO unit test for the property 'Children' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookDailySettingsTests.cs b/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookDailySettingsTests.cs index 9951c05..addcb97 100644 --- a/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookDailySettingsTests.cs +++ b/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookDailySettingsTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookMentionsValueInnerTests.cs b/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookMentionsValueInnerTests.cs index bc6d3fd..66add83 100644 --- a/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookMentionsValueInnerTests.cs +++ b/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookMentionsValueInnerTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookTests.cs b/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookTests.cs index b1c2de2..33b8bfc 100644 --- a/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/CreateAlmanaxWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/CreateRSSWebhookTests.cs b/src/Dofusdude.Api.Test/Model/CreateRSSWebhookTests.cs index 9025ae6..836c756 100644 --- a/src/Dofusdude.Api.Test/Model/CreateRSSWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/CreateRSSWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/CreateTwitterWebhookTests.cs b/src/Dofusdude.Api.Test/Model/CreateTwitterWebhookTests.cs index eb7e20d..d502c2e 100644 --- a/src/Dofusdude.Api.Test/Model/CreateTwitterWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/CreateTwitterWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/EffectTests.cs b/src/Dofusdude.Api.Test/Model/EffectTests.cs new file mode 100644 index 0000000..acf6a9e --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/EffectTests.cs @@ -0,0 +1,112 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Effect + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class EffectTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Effect + //private Effect instance; + + public EffectTests() + { + // TODO uncomment below to create an instance of Effect + //instance = new Effect(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Effect + /// + [Fact] + public void EffectInstanceTest() + { + // TODO uncomment below to test "IsType" Effect + //Assert.IsType(instance); + } + + /// + /// Test the property 'IntMinimum' + /// + [Fact] + public void IntMinimumTest() + { + // TODO unit test for the property 'IntMinimum' + } + + /// + /// Test the property 'IntMaximum' + /// + [Fact] + public void IntMaximumTest() + { + // TODO unit test for the property 'IntMaximum' + } + + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + + /// + /// Test the property 'IgnoreIntMin' + /// + [Fact] + public void IgnoreIntMinTest() + { + // TODO unit test for the property 'IgnoreIntMin' + } + + /// + /// Test the property 'IgnoreIntMax' + /// + [Fact] + public void IgnoreIntMaxTest() + { + // TODO unit test for the property 'IgnoreIntMax' + } + + /// + /// Test the property 'Formatted' + /// + [Fact] + public void FormattedTest() + { + // TODO unit test for the property 'Formatted' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/EffectTypeTests.cs b/src/Dofusdude.Api.Test/Model/EffectTypeTests.cs new file mode 100644 index 0000000..a7880f6 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/EffectTypeTests.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing EffectType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class EffectTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for EffectType + //private EffectType instance; + + public EffectTypeTests() + { + // TODO uncomment below to create an instance of EffectType + //instance = new EffectType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of EffectType + /// + [Fact] + public void EffectTypeInstanceTest() + { + // TODO uncomment below to test "IsType" EffectType + //Assert.IsType(instance); + } + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + /// + /// Test the property 'IsActive' + /// + [Fact] + public void IsActiveTest() + { + // TODO unit test for the property 'IsActive' + } + + /// + /// Test the property 'IsMeta' + /// + [Fact] + public void IsMetaTest() + { + // TODO unit test for the property 'IsMeta' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/EffectsEntryTests.cs b/src/Dofusdude.Api.Test/Model/EffectsEntryTests.cs deleted file mode 100644 index b6a4a29..0000000 --- a/src/Dofusdude.Api.Test/Model/EffectsEntryTests.cs +++ /dev/null @@ -1,112 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing EffectsEntry - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class EffectsEntryTests : IDisposable - { - // TODO uncomment below to declare an instance variable for EffectsEntry - //private EffectsEntry instance; - - public EffectsEntryTests() - { - // TODO uncomment below to create an instance of EffectsEntry - //instance = new EffectsEntry(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of EffectsEntry - /// - [Fact] - public void EffectsEntryInstanceTest() - { - // TODO uncomment below to test "IsType" EffectsEntry - //Assert.IsType(instance); - } - - /// - /// Test the property 'IntMinimum' - /// - [Fact] - public void IntMinimumTest() - { - // TODO unit test for the property 'IntMinimum' - } - - /// - /// Test the property 'IntMaximum' - /// - [Fact] - public void IntMaximumTest() - { - // TODO unit test for the property 'IntMaximum' - } - - /// - /// Test the property 'Type' - /// - [Fact] - public void TypeTest() - { - // TODO unit test for the property 'Type' - } - - /// - /// Test the property 'IgnoreIntMin' - /// - [Fact] - public void IgnoreIntMinTest() - { - // TODO unit test for the property 'IgnoreIntMin' - } - - /// - /// Test the property 'IgnoreIntMax' - /// - [Fact] - public void IgnoreIntMaxTest() - { - // TODO unit test for the property 'IgnoreIntMax' - } - - /// - /// Test the property 'Formatted' - /// - [Fact] - public void FormattedTest() - { - // TODO unit test for the property 'Formatted' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/EquipmentSetTests.cs b/src/Dofusdude.Api.Test/Model/EquipmentSetTests.cs deleted file mode 100644 index 75bc5c2..0000000 --- a/src/Dofusdude.Api.Test/Model/EquipmentSetTests.cs +++ /dev/null @@ -1,112 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing EquipmentSet - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class EquipmentSetTests : IDisposable - { - // TODO uncomment below to declare an instance variable for EquipmentSet - //private EquipmentSet instance; - - public EquipmentSetTests() - { - // TODO uncomment below to create an instance of EquipmentSet - //instance = new EquipmentSet(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of EquipmentSet - /// - [Fact] - public void EquipmentSetInstanceTest() - { - // TODO uncomment below to test "IsType" EquipmentSet - //Assert.IsType(instance); - } - - /// - /// Test the property 'AnkamaId' - /// - [Fact] - public void AnkamaIdTest() - { - // TODO unit test for the property 'AnkamaId' - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'EquipmentIds' - /// - [Fact] - public void EquipmentIdsTest() - { - // TODO unit test for the property 'EquipmentIds' - } - - /// - /// Test the property 'Effects' - /// - [Fact] - public void EffectsTest() - { - // TODO unit test for the property 'Effects' - } - - /// - /// Test the property 'HighestEquipmentLevel' - /// - [Fact] - public void HighestEquipmentLevelTest() - { - // TODO unit test for the property 'HighestEquipmentLevel' - } - - /// - /// Test the property 'IsCosmetic' - /// - [Fact] - public void IsCosmeticTest() - { - // TODO unit test for the property 'IsCosmetic' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/EquipmentTests.cs b/src/Dofusdude.Api.Test/Model/EquipmentTests.cs index 80bfb07..9e5c5d2 100644 --- a/src/Dofusdude.Api.Test/Model/EquipmentTests.cs +++ b/src/Dofusdude.Api.Test/Model/EquipmentTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -145,15 +145,6 @@ public void ConditionsTest() // TODO unit test for the property 'Conditions' } - /// - /// Test the property 'ConditionTree' - /// - [Fact] - public void ConditionTreeTest() - { - // TODO unit test for the property 'ConditionTree' - } - /// /// Test the property 'Recipe' /// diff --git a/src/Dofusdude.Api.Test/Model/ErrorTests.cs b/src/Dofusdude.Api.Test/Model/ErrorTests.cs new file mode 100644 index 0000000..007a1af --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ErrorTests.cs @@ -0,0 +1,103 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Error + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ErrorTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Error + //private Error instance; + + public ErrorTests() + { + // TODO uncomment below to create an instance of Error + //instance = new Error(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Error + /// + [Fact] + public void ErrorInstanceTest() + { + // TODO uncomment below to test "IsType" Error + //Assert.IsType(instance); + } + + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + + /// + /// Test the property 'VarError' + /// + [Fact] + public void VarErrorTest() + { + // TODO unit test for the property 'VarError' + } + + /// + /// Test the property 'Code' + /// + [Fact] + public void CodeTest() + { + // TODO unit test for the property 'Code' + } + + /// + /// Test the property 'Message' + /// + [Fact] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + + /// + /// Test the property 'Details' + /// + [Fact] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/GameSearchItemTests.cs b/src/Dofusdude.Api.Test/Model/GameSearchItemTests.cs new file mode 100644 index 0000000..78c59bd --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/GameSearchItemTests.cs @@ -0,0 +1,85 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing GameSearchItem + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GameSearchItemTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GameSearchItem + //private GameSearchItem instance; + + public GameSearchItemTests() + { + // TODO uncomment below to create an instance of GameSearchItem + //instance = new GameSearchItem(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GameSearchItem + /// + [Fact] + public void GameSearchItemInstanceTest() + { + // TODO uncomment below to test "IsType" GameSearchItem + //Assert.IsType(instance); + } + + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + + /// + /// Test the property 'Level' + /// + [Fact] + public void LevelTest() + { + // TODO unit test for the property 'Level' + } + + /// + /// Test the property 'ImageUrls' + /// + [Fact] + public void ImageUrlsTest() + { + // TODO unit test for the property 'ImageUrls' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/GameSearchTests.cs b/src/Dofusdude.Api.Test/Model/GameSearchTests.cs new file mode 100644 index 0000000..a2341c9 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/GameSearchTests.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing GameSearch + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GameSearchTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GameSearch + //private GameSearch instance; + + public GameSearchTests() + { + // TODO uncomment below to create an instance of GameSearch + //instance = new GameSearch(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GameSearch + /// + [Fact] + public void GameSearchInstanceTest() + { + // TODO uncomment below to test "IsType" GameSearch + //Assert.IsType(instance); + } + + /// + /// Test the property 'AnkamaId' + /// + [Fact] + public void AnkamaIdTest() + { + // TODO unit test for the property 'AnkamaId' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + + /// + /// Test the property 'ItemFields' + /// + [Fact] + public void ItemFieldsTest() + { + // TODO unit test for the property 'ItemFields' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/GameSearchTypeTests.cs b/src/Dofusdude.Api.Test/Model/GameSearchTypeTests.cs new file mode 100644 index 0000000..fa55edb --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/GameSearchTypeTests.cs @@ -0,0 +1,67 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing GameSearchType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GameSearchTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GameSearchType + //private GameSearchType instance; + + public GameSearchTypeTests() + { + // TODO uncomment below to create an instance of GameSearchType + //instance = new GameSearchType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GameSearchType + /// + [Fact] + public void GameSearchTypeInstanceTest() + { + // TODO uncomment below to test "IsType" GameSearchType + //Assert.IsType(instance); + } + + /// + /// Test the property 'NameId' + /// + [Fact] + public void NameIdTest() + { + // TODO unit test for the property 'NameId' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/GetGameSearch200ResponseInnerTests.cs b/src/Dofusdude.Api.Test/Model/GetGameSearch200ResponseInnerTests.cs deleted file mode 100644 index e2d4160..0000000 --- a/src/Dofusdude.Api.Test/Model/GetGameSearch200ResponseInnerTests.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing GetGameSearch200ResponseInner - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class GetGameSearch200ResponseInnerTests : IDisposable - { - // TODO uncomment below to declare an instance variable for GetGameSearch200ResponseInner - //private GetGameSearch200ResponseInner instance; - - public GetGameSearch200ResponseInnerTests() - { - // TODO uncomment below to create an instance of GetGameSearch200ResponseInner - //instance = new GetGameSearch200ResponseInner(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of GetGameSearch200ResponseInner - /// - [Fact] - public void GetGameSearch200ResponseInnerInstanceTest() - { - // TODO uncomment below to test "IsType" GetGameSearch200ResponseInner - //Assert.IsType(instance); - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'AnkamaId' - /// - [Fact] - public void AnkamaIdTest() - { - // TODO unit test for the property 'AnkamaId' - } - - /// - /// Test the property 'Type' - /// - [Fact] - public void TypeTest() - { - // TODO unit test for the property 'Type' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/GetMetaAlmanaxBonuses200ResponseInnerTests.cs b/src/Dofusdude.Api.Test/Model/GetMetaAlmanaxBonuses200ResponseInnerTests.cs index 364cd40..af3d5ba 100644 --- a/src/Dofusdude.Api.Test/Model/GetMetaAlmanaxBonuses200ResponseInnerTests.cs +++ b/src/Dofusdude.Api.Test/Model/GetMetaAlmanaxBonuses200ResponseInnerTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/GetMetaVersion200ResponseTests.cs b/src/Dofusdude.Api.Test/Model/GetMetaVersion200ResponseTests.cs deleted file mode 100644 index b678b7b..0000000 --- a/src/Dofusdude.Api.Test/Model/GetMetaVersion200ResponseTests.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing GetMetaVersion200Response - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class GetMetaVersion200ResponseTests : IDisposable - { - // TODO uncomment below to declare an instance variable for GetMetaVersion200Response - //private GetMetaVersion200Response instance; - - public GetMetaVersion200ResponseTests() - { - // TODO uncomment below to create an instance of GetMetaVersion200Response - //instance = new GetMetaVersion200Response(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of GetMetaVersion200Response - /// - [Fact] - public void GetMetaVersion200ResponseInstanceTest() - { - // TODO uncomment below to test "IsType" GetMetaVersion200Response - //Assert.IsType(instance); - } - - /// - /// Test the property 'VarVersion' - /// - [Fact] - public void VarVersionTest() - { - // TODO unit test for the property 'VarVersion' - } - - /// - /// Test the property 'Release' - /// - [Fact] - public void ReleaseTest() - { - // TODO unit test for the property 'Release' - } - - /// - /// Test the property 'UpdateStamp' - /// - [Fact] - public void UpdateStampTest() - { - // TODO unit test for the property 'UpdateStamp' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/GetMetaWebhooksTwitter200ResponseTests.cs b/src/Dofusdude.Api.Test/Model/GetMetaWebhooksTwitter200ResponseTests.cs index 199569b..67f366e 100644 --- a/src/Dofusdude.Api.Test/Model/GetMetaWebhooksTwitter200ResponseTests.cs +++ b/src/Dofusdude.Api.Test/Model/GetMetaWebhooksTwitter200ResponseTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/ImageUrlsTests.cs b/src/Dofusdude.Api.Test/Model/ImageUrlsTests.cs deleted file mode 100644 index c84d928..0000000 --- a/src/Dofusdude.Api.Test/Model/ImageUrlsTests.cs +++ /dev/null @@ -1,94 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ImageUrls - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ImageUrlsTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ImageUrls - //private ImageUrls instance; - - public ImageUrlsTests() - { - // TODO uncomment below to create an instance of ImageUrls - //instance = new ImageUrls(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ImageUrls - /// - [Fact] - public void ImageUrlsInstanceTest() - { - // TODO uncomment below to test "IsType" ImageUrls - //Assert.IsType(instance); - } - - /// - /// Test the property 'Icon' - /// - [Fact] - public void IconTest() - { - // TODO unit test for the property 'Icon' - } - - /// - /// Test the property 'Sd' - /// - [Fact] - public void SdTest() - { - // TODO unit test for the property 'Sd' - } - - /// - /// Test the property 'Hq' - /// - [Fact] - public void HqTest() - { - // TODO unit test for the property 'Hq' - } - - /// - /// Test the property 'Hd' - /// - [Fact] - public void HdTest() - { - // TODO unit test for the property 'Hd' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ImagesTests.cs b/src/Dofusdude.Api.Test/Model/ImagesTests.cs new file mode 100644 index 0000000..2d808ef --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ImagesTests.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Images + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ImagesTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Images + //private Images instance; + + public ImagesTests() + { + // TODO uncomment below to create an instance of Images + //instance = new Images(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Images + /// + [Fact] + public void ImagesInstanceTest() + { + // TODO uncomment below to test "IsType" Images + //Assert.IsType(instance); + } + + /// + /// Test the property 'Icon' + /// + [Fact] + public void IconTest() + { + // TODO unit test for the property 'Icon' + } + + /// + /// Test the property 'Sd' + /// + [Fact] + public void SdTest() + { + // TODO unit test for the property 'Sd' + } + + /// + /// Test the property 'Hq' + /// + [Fact] + public void HqTest() + { + // TODO unit test for the property 'Hq' + } + + /// + /// Test the property 'Hd' + /// + [Fact] + public void HdTest() + { + // TODO unit test for the property 'Hd' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ItemListEntryParentSetTests.cs b/src/Dofusdude.Api.Test/Model/ItemListEntryParentSetTests.cs deleted file mode 100644 index 6875242..0000000 --- a/src/Dofusdude.Api.Test/Model/ItemListEntryParentSetTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ItemListEntryParentSet - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ItemListEntryParentSetTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ItemListEntryParentSet - //private ItemListEntryParentSet instance; - - public ItemListEntryParentSetTests() - { - // TODO uncomment below to create an instance of ItemListEntryParentSet - //instance = new ItemListEntryParentSet(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ItemListEntryParentSet - /// - [Fact] - public void ItemListEntryParentSetInstanceTest() - { - // TODO uncomment below to test "IsType" ItemListEntryParentSet - //Assert.IsType(instance); - } - - /// - /// Test the property 'Id' - /// - [Fact] - public void IdTest() - { - // TODO unit test for the property 'Id' - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ItemListEntryRangeTests.cs b/src/Dofusdude.Api.Test/Model/ItemListEntryRangeTests.cs deleted file mode 100644 index e872e22..0000000 --- a/src/Dofusdude.Api.Test/Model/ItemListEntryRangeTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ItemListEntryRange - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ItemListEntryRangeTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ItemListEntryRange - //private ItemListEntryRange instance; - - public ItemListEntryRangeTests() - { - // TODO uncomment below to create an instance of ItemListEntryRange - //instance = new ItemListEntryRange(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ItemListEntryRange - /// - [Fact] - public void ItemListEntryRangeInstanceTest() - { - // TODO uncomment below to test "IsType" ItemListEntryRange - //Assert.IsType(instance); - } - - /// - /// Test the property 'Min' - /// - [Fact] - public void MinTest() - { - // TODO unit test for the property 'Min' - } - - /// - /// Test the property 'Max' - /// - [Fact] - public void MaxTest() - { - // TODO unit test for the property 'Max' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ItemSubtypeTests.cs b/src/Dofusdude.Api.Test/Model/ItemSubtypeTests.cs new file mode 100644 index 0000000..0e80b8f --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ItemSubtypeTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ItemSubtype + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ItemSubtypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ItemSubtype + //private ItemSubtype instance; + + public ItemSubtypeTests() + { + // TODO uncomment below to create an instance of ItemSubtype + //instance = new ItemSubtype(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ItemSubtype + /// + [Fact] + public void ItemSubtypeInstanceTest() + { + // TODO uncomment below to test "IsType" ItemSubtype + //Assert.IsType(instance); + } + + /// + /// Test the property 'AnkamaId' + /// + [Fact] + public void AnkamaIdTest() + { + // TODO unit test for the property 'AnkamaId' + } + + /// + /// Test the property 'NameId' + /// + [Fact] + public void NameIdTest() + { + // TODO unit test for the property 'NameId' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTests.cs b/src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTests.cs deleted file mode 100644 index b21c1af..0000000 --- a/src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTests.cs +++ /dev/null @@ -1,112 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ItemsListEntryTyped - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ItemsListEntryTypedTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ItemsListEntryTyped - //private ItemsListEntryTyped instance; - - public ItemsListEntryTypedTests() - { - // TODO uncomment below to create an instance of ItemsListEntryTyped - //instance = new ItemsListEntryTyped(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ItemsListEntryTyped - /// - [Fact] - public void ItemsListEntryTypedInstanceTest() - { - // TODO uncomment below to test "IsType" ItemsListEntryTyped - //Assert.IsType(instance); - } - - /// - /// Test the property 'AnkamaId' - /// - [Fact] - public void AnkamaIdTest() - { - // TODO unit test for the property 'AnkamaId' - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'Type' - /// - [Fact] - public void TypeTest() - { - // TODO unit test for the property 'Type' - } - - /// - /// Test the property 'ItemSubtype' - /// - [Fact] - public void ItemSubtypeTest() - { - // TODO unit test for the property 'ItemSubtype' - } - - /// - /// Test the property 'Level' - /// - [Fact] - public void LevelTest() - { - // TODO unit test for the property 'Level' - } - - /// - /// Test the property 'ImageUrls' - /// - [Fact] - public void ImageUrlsTest() - { - // TODO unit test for the property 'ImageUrls' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTypeTests.cs b/src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTypeTests.cs deleted file mode 100644 index a9caa68..0000000 --- a/src/Dofusdude.Api.Test/Model/ItemsListEntryTypedTypeTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ItemsListEntryTypedType - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ItemsListEntryTypedTypeTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ItemsListEntryTypedType - //private ItemsListEntryTypedType instance; - - public ItemsListEntryTypedTypeTests() - { - // TODO uncomment below to create an instance of ItemsListEntryTypedType - //instance = new ItemsListEntryTypedType(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ItemsListEntryTypedType - /// - [Fact] - public void ItemsListEntryTypedTypeInstanceTest() - { - // TODO uncomment below to test "IsType" ItemsListEntryTypedType - //Assert.IsType(instance); - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'Id' - /// - [Fact] - public void IdTest() - { - // TODO unit test for the property 'Id' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ItemsListPagedTests.cs b/src/Dofusdude.Api.Test/Model/ItemsListPagedTests.cs deleted file mode 100644 index 635a456..0000000 --- a/src/Dofusdude.Api.Test/Model/ItemsListPagedTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ItemsListPaged - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ItemsListPagedTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ItemsListPaged - //private ItemsListPaged instance; - - public ItemsListPagedTests() - { - // TODO uncomment below to create an instance of ItemsListPaged - //instance = new ItemsListPaged(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ItemsListPaged - /// - [Fact] - public void ItemsListPagedInstanceTest() - { - // TODO uncomment below to test "IsType" ItemsListPaged - //Assert.IsType(instance); - } - - /// - /// Test the property 'Links' - /// - [Fact] - public void LinksTest() - { - // TODO unit test for the property 'Links' - } - - /// - /// Test the property 'Items' - /// - [Fact] - public void ItemsTest() - { - // TODO unit test for the property 'Items' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/LinksPagedTests.cs b/src/Dofusdude.Api.Test/Model/LinksPagedTests.cs deleted file mode 100644 index d733ad0..0000000 --- a/src/Dofusdude.Api.Test/Model/LinksPagedTests.cs +++ /dev/null @@ -1,94 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing LinksPaged - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class LinksPagedTests : IDisposable - { - // TODO uncomment below to declare an instance variable for LinksPaged - //private LinksPaged instance; - - public LinksPagedTests() - { - // TODO uncomment below to create an instance of LinksPaged - //instance = new LinksPaged(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of LinksPaged - /// - [Fact] - public void LinksPagedInstanceTest() - { - // TODO uncomment below to test "IsType" LinksPaged - //Assert.IsType(instance); - } - - /// - /// Test the property 'First' - /// - [Fact] - public void FirstTest() - { - // TODO unit test for the property 'First' - } - - /// - /// Test the property 'Prev' - /// - [Fact] - public void PrevTest() - { - // TODO unit test for the property 'Prev' - } - - /// - /// Test the property 'Next' - /// - [Fact] - public void NextTest() - { - // TODO unit test for the property 'Next' - } - - /// - /// Test the property 'Last' - /// - [Fact] - public void LastTest() - { - // TODO unit test for the property 'Last' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/ListItemGeneralTests.cs b/src/Dofusdude.Api.Test/Model/ListItemGeneralTests.cs new file mode 100644 index 0000000..f761ea9 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ListItemGeneralTests.cs @@ -0,0 +1,112 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ListItemGeneral + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListItemGeneralTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListItemGeneral + //private ListItemGeneral instance; + + public ListItemGeneralTests() + { + // TODO uncomment below to create an instance of ListItemGeneral + //instance = new ListItemGeneral(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListItemGeneral + /// + [Fact] + public void ListItemGeneralInstanceTest() + { + // TODO uncomment below to test "IsType" ListItemGeneral + //Assert.IsType(instance); + } + + /// + /// Test the property 'AnkamaId' + /// + [Fact] + public void AnkamaIdTest() + { + // TODO unit test for the property 'AnkamaId' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + + /// + /// Test the property 'ItemSubtype' + /// + [Fact] + public void ItemSubtypeTest() + { + // TODO unit test for the property 'ItemSubtype' + } + + /// + /// Test the property 'Level' + /// + [Fact] + public void LevelTest() + { + // TODO unit test for the property 'Level' + } + + /// + /// Test the property 'ImageUrls' + /// + [Fact] + public void ImageUrlsTest() + { + // TODO unit test for the property 'ImageUrls' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ItemListEntryTests.cs b/src/Dofusdude.Api.Test/Model/ListItemTests.cs similarity index 58% rename from src/Dofusdude.Api.Test/Model/ItemListEntryTests.cs rename to src/Dofusdude.Api.Test/Model/ListItemTests.cs index a6b5a37..c608c44 100644 --- a/src/Dofusdude.Api.Test/Model/ItemListEntryTests.cs +++ b/src/Dofusdude.Api.Test/Model/ListItemTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -23,21 +23,21 @@ namespace Dofusdude.Api.Test.Model { /// - /// Class for testing ItemListEntry + /// Class for testing ListItem /// /// /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// - public class ItemListEntryTests : IDisposable + public class ListItemTests : IDisposable { - // TODO uncomment below to declare an instance variable for ItemListEntry - //private ItemListEntry instance; + // TODO uncomment below to declare an instance variable for ListItem + //private ListItem instance; - public ItemListEntryTests() + public ListItemTests() { - // TODO uncomment below to create an instance of ItemListEntry - //instance = new ItemListEntry(); + // TODO uncomment below to create an instance of ListItem + //instance = new ListItem(); } public void Dispose() @@ -46,13 +46,13 @@ public void Dispose() } /// - /// Test an instance of ItemListEntry + /// Test an instance of ListItem /// [Fact] - public void ItemListEntryInstanceTest() + public void ListItemInstanceTest() { - // TODO uncomment below to test "IsType" ItemListEntry - //Assert.IsType(instance); + // TODO uncomment below to test "IsType" ListItem + //Assert.IsType(instance); } /// @@ -127,15 +127,6 @@ public void ConditionsTest() // TODO unit test for the property 'Conditions' } - /// - /// Test the property 'ConditionTree' - /// - [Fact] - public void ConditionTreeTest() - { - // TODO unit test for the property 'ConditionTree' - } - /// /// Test the property 'Effects' /// @@ -190,15 +181,6 @@ public void CriticalHitBonusTest() // TODO unit test for the property 'CriticalHitBonus' } - /// - /// Test the property 'IsTwoHanded' - /// - [Fact] - public void IsTwoHandedTest() - { - // TODO unit test for the property 'IsTwoHanded' - } - /// /// Test the property 'MaxCastPerTurn' /// diff --git a/src/Dofusdude.Api.Test/Model/ListItemsTests.cs b/src/Dofusdude.Api.Test/Model/ListItemsTests.cs new file mode 100644 index 0000000..c41396d --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ListItemsTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ListItems + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListItemsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListItems + //private ListItems instance; + + public ListItemsTests() + { + // TODO uncomment below to create an instance of ListItems + //instance = new ListItems(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListItems + /// + [Fact] + public void ListItemsInstanceTest() + { + // TODO uncomment below to test "IsType" ListItems + //Assert.IsType(instance); + } + + /// + /// Test the property 'Links' + /// + [Fact] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + /// + /// Test the property 'Items' + /// + [Fact] + public void ItemsTest() + { + // TODO unit test for the property 'Items' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ListMountsTests.cs b/src/Dofusdude.Api.Test/Model/ListMountsTests.cs new file mode 100644 index 0000000..5b26359 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ListMountsTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ListMounts + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListMountsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListMounts + //private ListMounts instance; + + public ListMountsTests() + { + // TODO uncomment below to create an instance of ListMounts + //instance = new ListMounts(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListMounts + /// + [Fact] + public void ListMountsInstanceTest() + { + // TODO uncomment below to test "IsType" ListMounts + //Assert.IsType(instance); + } + + /// + /// Test the property 'Links' + /// + [Fact] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + /// + /// Test the property 'Items' + /// + [Fact] + public void ItemsTest() + { + // TODO unit test for the property 'Items' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ListSetTests.cs b/src/Dofusdude.Api.Test/Model/ListSetTests.cs new file mode 100644 index 0000000..02d89f3 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ListSetTests.cs @@ -0,0 +1,121 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ListSet + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListSetTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListSet + //private ListSet instance; + + public ListSetTests() + { + // TODO uncomment below to create an instance of ListSet + //instance = new ListSet(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListSet + /// + [Fact] + public void ListSetInstanceTest() + { + // TODO uncomment below to test "IsType" ListSet + //Assert.IsType(instance); + } + + /// + /// Test the property 'AnkamaId' + /// + [Fact] + public void AnkamaIdTest() + { + // TODO unit test for the property 'AnkamaId' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + /// + /// Test the property 'Items' + /// + [Fact] + public void ItemsTest() + { + // TODO unit test for the property 'Items' + } + + /// + /// Test the property 'Level' + /// + [Fact] + public void LevelTest() + { + // TODO unit test for the property 'Level' + } + + /// + /// Test the property 'Effects' + /// + [Fact] + public void EffectsTest() + { + // TODO unit test for the property 'Effects' + } + + /// + /// Test the property 'EquipmentIds' + /// + [Fact] + public void EquipmentIdsTest() + { + // TODO unit test for the property 'EquipmentIds' + } + + /// + /// Test the property 'IsCosmetic' + /// + [Fact] + public void IsCosmeticTest() + { + // TODO unit test for the property 'IsCosmetic' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ListSetsTests.cs b/src/Dofusdude.Api.Test/Model/ListSetsTests.cs new file mode 100644 index 0000000..68f43d5 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ListSetsTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ListSets + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListSetsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListSets + //private ListSets instance; + + public ListSetsTests() + { + // TODO uncomment below to create an instance of ListSets + //instance = new ListSets(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListSets + /// + [Fact] + public void ListSetsInstanceTest() + { + // TODO uncomment below to test "IsType" ListSets + //Assert.IsType(instance); + } + + /// + /// Test the property 'Links' + /// + [Fact] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + /// + /// Test the property 'Sets' + /// + [Fact] + public void SetsTest() + { + // TODO unit test for the property 'Sets' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ModelVersionTests.cs b/src/Dofusdude.Api.Test/Model/ModelVersionTests.cs new file mode 100644 index 0000000..42be839 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/ModelVersionTests.cs @@ -0,0 +1,85 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing ModelVersion + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ModelVersionTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ModelVersion + //private ModelVersion instance; + + public ModelVersionTests() + { + // TODO uncomment below to create an instance of ModelVersion + //instance = new ModelVersion(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ModelVersion + /// + [Fact] + public void ModelVersionInstanceTest() + { + // TODO uncomment below to test "IsType" ModelVersion + //Assert.IsType(instance); + } + + /// + /// Test the property 'VarVersion' + /// + [Fact] + public void VarVersionTest() + { + // TODO unit test for the property 'VarVersion' + } + + /// + /// Test the property 'Release' + /// + [Fact] + public void ReleaseTest() + { + // TODO unit test for the property 'Release' + } + + /// + /// Test the property 'UpdateStamp' + /// + [Fact] + public void UpdateStampTest() + { + // TODO unit test for the property 'UpdateStamp' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/MountFamilyTests.cs b/src/Dofusdude.Api.Test/Model/MountFamilyTests.cs new file mode 100644 index 0000000..a00a056 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/MountFamilyTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing MountFamily + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class MountFamilyTests : IDisposable + { + // TODO uncomment below to declare an instance variable for MountFamily + //private MountFamily instance; + + public MountFamilyTests() + { + // TODO uncomment below to create an instance of MountFamily + //instance = new MountFamily(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of MountFamily + /// + [Fact] + public void MountFamilyInstanceTest() + { + // TODO uncomment below to test "IsType" MountFamily + //Assert.IsType(instance); + } + + /// + /// Test the property 'AnkamaId' + /// + [Fact] + public void AnkamaIdTest() + { + // TODO unit test for the property 'AnkamaId' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/MountListEntryTests.cs b/src/Dofusdude.Api.Test/Model/MountListEntryTests.cs deleted file mode 100644 index ac38ff2..0000000 --- a/src/Dofusdude.Api.Test/Model/MountListEntryTests.cs +++ /dev/null @@ -1,103 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing MountListEntry - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class MountListEntryTests : IDisposable - { - // TODO uncomment below to declare an instance variable for MountListEntry - //private MountListEntry instance; - - public MountListEntryTests() - { - // TODO uncomment below to create an instance of MountListEntry - //instance = new MountListEntry(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of MountListEntry - /// - [Fact] - public void MountListEntryInstanceTest() - { - // TODO uncomment below to test "IsType" MountListEntry - //Assert.IsType(instance); - } - - /// - /// Test the property 'AnkamaId' - /// - [Fact] - public void AnkamaIdTest() - { - // TODO unit test for the property 'AnkamaId' - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'FamilyName' - /// - [Fact] - public void FamilyNameTest() - { - // TODO unit test for the property 'FamilyName' - } - - /// - /// Test the property 'ImageUrls' - /// - [Fact] - public void ImageUrlsTest() - { - // TODO unit test for the property 'ImageUrls' - } - - /// - /// Test the property 'Effects' - /// - [Fact] - public void EffectsTest() - { - // TODO unit test for the property 'Effects' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/MountTests.cs b/src/Dofusdude.Api.Test/Model/MountTests.cs index 39a7c34..f8d9c69 100644 --- a/src/Dofusdude.Api.Test/Model/MountTests.cs +++ b/src/Dofusdude.Api.Test/Model/MountTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -74,12 +74,12 @@ public void NameTest() } /// - /// Test the property 'FamilyName' + /// Test the property 'Family' /// [Fact] - public void FamilyNameTest() + public void FamilyTest() { - // TODO unit test for the property 'FamilyName' + // TODO unit test for the property 'Family' } /// diff --git a/src/Dofusdude.Api.Test/Model/MountsListPagedTests.cs b/src/Dofusdude.Api.Test/Model/MountsListPagedTests.cs deleted file mode 100644 index 5efdd63..0000000 --- a/src/Dofusdude.Api.Test/Model/MountsListPagedTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing MountsListPaged - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class MountsListPagedTests : IDisposable - { - // TODO uncomment below to declare an instance variable for MountsListPaged - //private MountsListPaged instance; - - public MountsListPagedTests() - { - // TODO uncomment below to create an instance of MountsListPaged - //instance = new MountsListPaged(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of MountsListPaged - /// - [Fact] - public void MountsListPagedInstanceTest() - { - // TODO uncomment below to test "IsType" MountsListPaged - //Assert.IsType(instance); - } - - /// - /// Test the property 'Links' - /// - [Fact] - public void LinksTest() - { - // TODO unit test for the property 'Links' - } - - /// - /// Test the property 'Items' - /// - [Fact] - public void ItemsTest() - { - // TODO unit test for the property 'Items' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/PagedLinksTests.cs b/src/Dofusdude.Api.Test/Model/PagedLinksTests.cs new file mode 100644 index 0000000..44f1db7 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/PagedLinksTests.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing PagedLinks + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PagedLinksTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PagedLinks + //private PagedLinks instance; + + public PagedLinksTests() + { + // TODO uncomment below to create an instance of PagedLinks + //instance = new PagedLinks(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PagedLinks + /// + [Fact] + public void PagedLinksInstanceTest() + { + // TODO uncomment below to test "IsType" PagedLinks + //Assert.IsType(instance); + } + + /// + /// Test the property 'First' + /// + [Fact] + public void FirstTest() + { + // TODO unit test for the property 'First' + } + + /// + /// Test the property 'Prev' + /// + [Fact] + public void PrevTest() + { + // TODO unit test for the property 'Prev' + } + + /// + /// Test the property 'Next' + /// + [Fact] + public void NextTest() + { + // TODO unit test for the property 'Next' + } + + /// + /// Test the property 'Last' + /// + [Fact] + public void LastTest() + { + // TODO unit test for the property 'Last' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/PutAlmanaxWebhookTests.cs b/src/Dofusdude.Api.Test/Model/PutAlmanaxWebhookTests.cs index a91a66f..dfd5207 100644 --- a/src/Dofusdude.Api.Test/Model/PutAlmanaxWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/PutAlmanaxWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/PutRSSWebhookTests.cs b/src/Dofusdude.Api.Test/Model/PutRSSWebhookTests.cs index 516e61b..1d6e6a8 100644 --- a/src/Dofusdude.Api.Test/Model/PutRSSWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/PutRSSWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/PutTwitterWebhookTests.cs b/src/Dofusdude.Api.Test/Model/PutTwitterWebhookTests.cs index 59f0df7..77995c5 100644 --- a/src/Dofusdude.Api.Test/Model/PutTwitterWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/PutTwitterWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/RangeTests.cs b/src/Dofusdude.Api.Test/Model/RangeTests.cs new file mode 100644 index 0000000..a8691c5 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/RangeTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Range + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class RangeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Range + //private Range instance; + + public RangeTests() + { + // TODO uncomment below to create an instance of Range + //instance = new Range(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Range + /// + [Fact] + public void RangeInstanceTest() + { + // TODO uncomment below to test "IsType" Range + //Assert.IsType(instance); + } + + /// + /// Test the property 'Min' + /// + [Fact] + public void MinTest() + { + // TODO unit test for the property 'Min' + } + + /// + /// Test the property 'Max' + /// + [Fact] + public void MaxTest() + { + // TODO unit test for the property 'Max' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/RecipeEntryTests.cs b/src/Dofusdude.Api.Test/Model/RecipeEntryTests.cs deleted file mode 100644 index c111465..0000000 --- a/src/Dofusdude.Api.Test/Model/RecipeEntryTests.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing RecipeEntry - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class RecipeEntryTests : IDisposable - { - // TODO uncomment below to declare an instance variable for RecipeEntry - //private RecipeEntry instance; - - public RecipeEntryTests() - { - // TODO uncomment below to create an instance of RecipeEntry - //instance = new RecipeEntry(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of RecipeEntry - /// - [Fact] - public void RecipeEntryInstanceTest() - { - // TODO uncomment below to test "IsType" RecipeEntry - //Assert.IsType(instance); - } - - /// - /// Test the property 'ItemAnkamaId' - /// - [Fact] - public void ItemAnkamaIdTest() - { - // TODO unit test for the property 'ItemAnkamaId' - } - - /// - /// Test the property 'ItemSubtype' - /// - [Fact] - public void ItemSubtypeTest() - { - // TODO unit test for the property 'ItemSubtype' - } - - /// - /// Test the property 'Quantity' - /// - [Fact] - public void QuantityTest() - { - // TODO unit test for the property 'Quantity' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/RecipeTests.cs b/src/Dofusdude.Api.Test/Model/RecipeTests.cs new file mode 100644 index 0000000..37536f3 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/RecipeTests.cs @@ -0,0 +1,85 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Recipe + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class RecipeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Recipe + //private Recipe instance; + + public RecipeTests() + { + // TODO uncomment below to create an instance of Recipe + //instance = new Recipe(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Recipe + /// + [Fact] + public void RecipeInstanceTest() + { + // TODO uncomment below to test "IsType" Recipe + //Assert.IsType(instance); + } + + /// + /// Test the property 'ItemAnkamaId' + /// + [Fact] + public void ItemAnkamaIdTest() + { + // TODO unit test for the property 'ItemAnkamaId' + } + + /// + /// Test the property 'ItemSubtype' + /// + [Fact] + public void ItemSubtypeTest() + { + // TODO unit test for the property 'ItemSubtype' + } + + /// + /// Test the property 'Quantity' + /// + [Fact] + public void QuantityTest() + { + // TODO unit test for the property 'Quantity' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/ResourceTests.cs b/src/Dofusdude.Api.Test/Model/ResourceTests.cs index 0e5c137..376fa24 100644 --- a/src/Dofusdude.Api.Test/Model/ResourceTests.cs +++ b/src/Dofusdude.Api.Test/Model/ResourceTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -136,15 +136,6 @@ public void ConditionsTest() // TODO unit test for the property 'Conditions' } - /// - /// Test the property 'ConditionTree' - /// - [Fact] - public void ConditionTreeTest() - { - // TODO unit test for the property 'ConditionTree' - } - /// /// Test the property 'Recipe' /// diff --git a/src/Dofusdude.Api.Test/Model/ResourceTypeTests.cs b/src/Dofusdude.Api.Test/Model/ResourceTypeTests.cs deleted file mode 100644 index ebf3087..0000000 --- a/src/Dofusdude.Api.Test/Model/ResourceTypeTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing ResourceType - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class ResourceTypeTests : IDisposable - { - // TODO uncomment below to declare an instance variable for ResourceType - //private ResourceType instance; - - public ResourceTypeTests() - { - // TODO uncomment below to create an instance of ResourceType - //instance = new ResourceType(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of ResourceType - /// - [Fact] - public void ResourceTypeInstanceTest() - { - // TODO uncomment below to test "IsType" ResourceType - //Assert.IsType(instance); - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'Id' - /// - [Fact] - public void IdTest() - { - // TODO unit test for the property 'Id' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/RssWebhookTests.cs b/src/Dofusdude.Api.Test/Model/RssWebhookTests.cs index 4c4b767..4647dae 100644 --- a/src/Dofusdude.Api.Test/Model/RssWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/RssWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/SetEffectsEntryTests.cs b/src/Dofusdude.Api.Test/Model/SetEffectsEntryTests.cs deleted file mode 100644 index 5a105cc..0000000 --- a/src/Dofusdude.Api.Test/Model/SetEffectsEntryTests.cs +++ /dev/null @@ -1,121 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing SetEffectsEntry - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class SetEffectsEntryTests : IDisposable - { - // TODO uncomment below to declare an instance variable for SetEffectsEntry - //private SetEffectsEntry instance; - - public SetEffectsEntryTests() - { - // TODO uncomment below to create an instance of SetEffectsEntry - //instance = new SetEffectsEntry(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of SetEffectsEntry - /// - [Fact] - public void SetEffectsEntryInstanceTest() - { - // TODO uncomment below to test "IsType" SetEffectsEntry - //Assert.IsType(instance); - } - - /// - /// Test the property 'IntMinimum' - /// - [Fact] - public void IntMinimumTest() - { - // TODO unit test for the property 'IntMinimum' - } - - /// - /// Test the property 'IntMaximum' - /// - [Fact] - public void IntMaximumTest() - { - // TODO unit test for the property 'IntMaximum' - } - - /// - /// Test the property 'Type' - /// - [Fact] - public void TypeTest() - { - // TODO unit test for the property 'Type' - } - - /// - /// Test the property 'IgnoreIntMin' - /// - [Fact] - public void IgnoreIntMinTest() - { - // TODO unit test for the property 'IgnoreIntMin' - } - - /// - /// Test the property 'IgnoreIntMax' - /// - [Fact] - public void IgnoreIntMaxTest() - { - // TODO unit test for the property 'IgnoreIntMax' - } - - /// - /// Test the property 'Formatted' - /// - [Fact] - public void FormattedTest() - { - // TODO unit test for the property 'Formatted' - } - - /// - /// Test the property 'ItemCombination' - /// - [Fact] - public void ItemCombinationTest() - { - // TODO unit test for the property 'ItemCombination' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/SetEffectsEntryTypeTests.cs b/src/Dofusdude.Api.Test/Model/SetEffectsEntryTypeTests.cs deleted file mode 100644 index 0a3e2d7..0000000 --- a/src/Dofusdude.Api.Test/Model/SetEffectsEntryTypeTests.cs +++ /dev/null @@ -1,94 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing SetEffectsEntryType - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class SetEffectsEntryTypeTests : IDisposable - { - // TODO uncomment below to declare an instance variable for SetEffectsEntryType - //private SetEffectsEntryType instance; - - public SetEffectsEntryTypeTests() - { - // TODO uncomment below to create an instance of SetEffectsEntryType - //instance = new SetEffectsEntryType(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of SetEffectsEntryType - /// - [Fact] - public void SetEffectsEntryTypeInstanceTest() - { - // TODO uncomment below to test "IsType" SetEffectsEntryType - //Assert.IsType(instance); - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'Id' - /// - [Fact] - public void IdTest() - { - // TODO unit test for the property 'Id' - } - - /// - /// Test the property 'IsMeta' - /// - [Fact] - public void IsMetaTest() - { - // TODO unit test for the property 'IsMeta' - } - - /// - /// Test the property 'IsActive' - /// - [Fact] - public void IsActiveTest() - { - // TODO unit test for the property 'IsActive' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/SetListEntryTests.cs b/src/Dofusdude.Api.Test/Model/SetListEntryTests.cs deleted file mode 100644 index 12dac2d..0000000 --- a/src/Dofusdude.Api.Test/Model/SetListEntryTests.cs +++ /dev/null @@ -1,121 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing SetListEntry - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class SetListEntryTests : IDisposable - { - // TODO uncomment below to declare an instance variable for SetListEntry - //private SetListEntry instance; - - public SetListEntryTests() - { - // TODO uncomment below to create an instance of SetListEntry - //instance = new SetListEntry(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of SetListEntry - /// - [Fact] - public void SetListEntryInstanceTest() - { - // TODO uncomment below to test "IsType" SetListEntry - //Assert.IsType(instance); - } - - /// - /// Test the property 'AnkamaId' - /// - [Fact] - public void AnkamaIdTest() - { - // TODO unit test for the property 'AnkamaId' - } - - /// - /// Test the property 'Name' - /// - [Fact] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - - /// - /// Test the property 'Items' - /// - [Fact] - public void ItemsTest() - { - // TODO unit test for the property 'Items' - } - - /// - /// Test the property 'Level' - /// - [Fact] - public void LevelTest() - { - // TODO unit test for the property 'Level' - } - - /// - /// Test the property 'Effects' - /// - [Fact] - public void EffectsTest() - { - // TODO unit test for the property 'Effects' - } - - /// - /// Test the property 'EquipmentIds' - /// - [Fact] - public void EquipmentIdsTest() - { - // TODO unit test for the property 'EquipmentIds' - } - - /// - /// Test the property 'IsCosmetic' - /// - [Fact] - public void IsCosmeticTest() - { - // TODO unit test for the property 'IsCosmetic' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/SetTests.cs b/src/Dofusdude.Api.Test/Model/SetTests.cs new file mode 100644 index 0000000..23c74e3 --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/SetTests.cs @@ -0,0 +1,112 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing Set + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class SetTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Set + //private Set instance; + + public SetTests() + { + // TODO uncomment below to create an instance of Set + //instance = new Set(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Set + /// + [Fact] + public void SetInstanceTest() + { + // TODO uncomment below to test "IsType" Set + //Assert.IsType(instance); + } + + /// + /// Test the property 'AnkamaId' + /// + [Fact] + public void AnkamaIdTest() + { + // TODO unit test for the property 'AnkamaId' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + /// + /// Test the property 'EquipmentIds' + /// + [Fact] + public void EquipmentIdsTest() + { + // TODO unit test for the property 'EquipmentIds' + } + + /// + /// Test the property 'Effects' + /// + [Fact] + public void EffectsTest() + { + // TODO unit test for the property 'Effects' + } + + /// + /// Test the property 'HighestEquipmentLevel' + /// + [Fact] + public void HighestEquipmentLevelTest() + { + // TODO unit test for the property 'HighestEquipmentLevel' + } + + /// + /// Test the property 'IsCosmetic' + /// + [Fact] + public void IsCosmeticTest() + { + // TODO unit test for the property 'IsCosmetic' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/SetsListPagedTests.cs b/src/Dofusdude.Api.Test/Model/SetsListPagedTests.cs deleted file mode 100644 index 6225867..0000000 --- a/src/Dofusdude.Api.Test/Model/SetsListPagedTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing SetsListPaged - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class SetsListPagedTests : IDisposable - { - // TODO uncomment below to declare an instance variable for SetsListPaged - //private SetsListPaged instance; - - public SetsListPagedTests() - { - // TODO uncomment below to create an instance of SetsListPaged - //instance = new SetsListPaged(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of SetsListPaged - /// - [Fact] - public void SetsListPagedInstanceTest() - { - // TODO uncomment below to test "IsType" SetsListPaged - //Assert.IsType(instance); - } - - /// - /// Test the property 'Links' - /// - [Fact] - public void LinksTest() - { - // TODO unit test for the property 'Links' - } - - /// - /// Test the property 'Sets' - /// - [Fact] - public void SetsTest() - { - // TODO unit test for the property 'Sets' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/TranslatedIdTests.cs b/src/Dofusdude.Api.Test/Model/TranslatedIdTests.cs new file mode 100644 index 0000000..6f270ef --- /dev/null +++ b/src/Dofusdude.Api.Test/Model/TranslatedIdTests.cs @@ -0,0 +1,76 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Dofusdude.Api.Model; +using Dofusdude.Api.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Dofusdude.Api.Test.Model +{ + /// + /// Class for testing TranslatedId + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class TranslatedIdTests : IDisposable + { + // TODO uncomment below to declare an instance variable for TranslatedId + //private TranslatedId instance; + + public TranslatedIdTests() + { + // TODO uncomment below to create an instance of TranslatedId + //instance = new TranslatedId(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of TranslatedId + /// + [Fact] + public void TranslatedIdInstanceTest() + { + // TODO uncomment below to test "IsType" TranslatedId + //Assert.IsType(instance); + } + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + } +} diff --git a/src/Dofusdude.Api.Test/Model/TwitterWebhookTests.cs b/src/Dofusdude.Api.Test/Model/TwitterWebhookTests.cs index 128d464..1f28a3e 100644 --- a/src/Dofusdude.Api.Test/Model/TwitterWebhookTests.cs +++ b/src/Dofusdude.Api.Test/Model/TwitterWebhookTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api.Test/Model/WeaponRangeTests.cs b/src/Dofusdude.Api.Test/Model/WeaponRangeTests.cs deleted file mode 100644 index c0ffaec..0000000 --- a/src/Dofusdude.Api.Test/Model/WeaponRangeTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using Xunit; - -using System; -using System.Linq; -using System.IO; -using System.Collections.Generic; -using Dofusdude.Api.Model; -using Dofusdude.Api.Client; -using System.Reflection; -using Newtonsoft.Json; - -namespace Dofusdude.Api.Test.Model -{ - /// - /// Class for testing WeaponRange - /// - /// - /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. - /// - public class WeaponRangeTests : IDisposable - { - // TODO uncomment below to declare an instance variable for WeaponRange - //private WeaponRange instance; - - public WeaponRangeTests() - { - // TODO uncomment below to create an instance of WeaponRange - //instance = new WeaponRange(); - } - - public void Dispose() - { - // Cleanup when everything is done. - } - - /// - /// Test an instance of WeaponRange - /// - [Fact] - public void WeaponRangeInstanceTest() - { - // TODO uncomment below to test "IsType" WeaponRange - //Assert.IsType(instance); - } - - /// - /// Test the property 'Min' - /// - [Fact] - public void MinTest() - { - // TODO unit test for the property 'Min' - } - - /// - /// Test the property 'Max' - /// - [Fact] - public void MaxTest() - { - // TODO unit test for the property 'Max' - } - } -} diff --git a/src/Dofusdude.Api.Test/Model/WeaponTests.cs b/src/Dofusdude.Api.Test/Model/WeaponTests.cs index b2c34a4..122f44c 100644 --- a/src/Dofusdude.Api.Test/Model/WeaponTests.cs +++ b/src/Dofusdude.Api.Test/Model/WeaponTests.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -145,15 +145,6 @@ public void ConditionsTest() // TODO unit test for the property 'Conditions' } - /// - /// Test the property 'ConditionTree' - /// - [Fact] - public void ConditionTreeTest() - { - // TODO unit test for the property 'ConditionTree' - } - /// /// Test the property 'CriticalHitProbability' /// @@ -172,15 +163,6 @@ public void CriticalHitBonusTest() // TODO unit test for the property 'CriticalHitBonus' } - /// - /// Test the property 'IsTwoHanded' - /// - [Fact] - public void IsTwoHandedTest() - { - // TODO unit test for the property 'IsTwoHanded' - } - /// /// Test the property 'MaxCastPerTurn' /// diff --git a/src/Dofusdude.Api/Api/AlmanaxApi.cs b/src/Dofusdude.Api/Api/AlmanaxApi.cs index 8c36f4d..78fb02c 100644 --- a/src/Dofusdude.Api/Api/AlmanaxApi.cs +++ b/src/Dofusdude.Api/Api/AlmanaxApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -37,8 +37,8 @@ public interface IAlmanaxApiSync : IApiAccessor /// code /// yyyy-mm-dd /// Index associated with the operation. - /// AlmanaxEntry - AlmanaxEntry GetAlmanaxDate(string language, DateOnly date, int operationIndex = 0); + /// Almanax + Almanax GetAlmanaxDate(string language, DateOnly date, int operationIndex = 0); /// /// Single Almanax Date @@ -50,8 +50,8 @@ public interface IAlmanaxApiSync : IApiAccessor /// code /// yyyy-mm-dd /// Index associated with the operation. - /// ApiResponse of AlmanaxEntry - ApiResponse GetAlmanaxDateWithHttpInfo(string language, DateOnly date, int operationIndex = 0); + /// ApiResponse of Almanax + ApiResponse GetAlmanaxDateWithHttpInfo(string language, DateOnly date, int operationIndex = 0); /// /// Almanax Range /// @@ -66,8 +66,8 @@ public interface IAlmanaxApiSync : IApiAccessor /// size of the returned range (optional) /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. - /// List<AlmanaxEntry> - List GetAlmanaxRange(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0); + /// List<Almanax> + List GetAlmanaxRange(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0); /// /// Almanax Range @@ -83,8 +83,8 @@ public interface IAlmanaxApiSync : IApiAccessor /// size of the returned range (optional) /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. - /// ApiResponse of List<AlmanaxEntry> - ApiResponse> GetAlmanaxRangeWithHttpInfo(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0); + /// ApiResponse of List<Almanax> + ApiResponse> GetAlmanaxRangeWithHttpInfo(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0); #endregion Synchronous Operations } @@ -105,8 +105,8 @@ public interface IAlmanaxApiAsync : IApiAccessor /// yyyy-mm-dd /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of AlmanaxEntry - System.Threading.Tasks.Task GetAlmanaxDateAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of Almanax + System.Threading.Tasks.Task GetAlmanaxDateAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Almanax Date @@ -119,8 +119,8 @@ public interface IAlmanaxApiAsync : IApiAccessor /// yyyy-mm-dd /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (AlmanaxEntry) - System.Threading.Tasks.Task> GetAlmanaxDateWithHttpInfoAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (Almanax) + System.Threading.Tasks.Task> GetAlmanaxDateWithHttpInfoAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Almanax Range /// @@ -136,8 +136,8 @@ public interface IAlmanaxApiAsync : IApiAccessor /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<AlmanaxEntry> - System.Threading.Tasks.Task> GetAlmanaxRangeAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<Almanax> + System.Threading.Tasks.Task> GetAlmanaxRangeAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Almanax Range @@ -154,8 +154,8 @@ public interface IAlmanaxApiAsync : IApiAccessor /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<AlmanaxEntry>) - System.Threading.Tasks.Task>> GetAlmanaxRangeWithHttpInfoAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<Almanax>) + System.Threading.Tasks.Task>> GetAlmanaxRangeWithHttpInfoAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -283,10 +283,10 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// code /// yyyy-mm-dd /// Index associated with the operation. - /// AlmanaxEntry - public AlmanaxEntry GetAlmanaxDate(string language, DateOnly date, int operationIndex = 0) + /// Almanax + public Almanax GetAlmanaxDate(string language, DateOnly date, int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAlmanaxDateWithHttpInfo(language, date); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAlmanaxDateWithHttpInfo(language, date); return localVarResponse.Data; } @@ -297,8 +297,8 @@ public AlmanaxEntry GetAlmanaxDate(string language, DateOnly date, int operation /// code /// yyyy-mm-dd /// Index associated with the operation. - /// ApiResponse of AlmanaxEntry - public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo(string language, DateOnly date, int operationIndex = 0) + /// ApiResponse of Almanax + public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo(string language, DateOnly date, int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -336,7 +336,7 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo // make the HTTP request - var localVarResponse = this.Client.Get("/dofus2/{language}/almanax/{date}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/dofus3/{language}/almanax/{date}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAlmanaxDate", localVarResponse); @@ -357,10 +357,10 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo /// yyyy-mm-dd /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of AlmanaxEntry - public async System.Threading.Tasks.Task GetAlmanaxDateAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of Almanax + public async System.Threading.Tasks.Task GetAlmanaxDateAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAlmanaxDateWithHttpInfoAsync(language, date, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAlmanaxDateWithHttpInfoAsync(language, date, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -372,8 +372,8 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo /// yyyy-mm-dd /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (AlmanaxEntry) - public async System.Threading.Tasks.Task> GetAlmanaxDateWithHttpInfoAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (Almanax) + public async System.Threading.Tasks.Task> GetAlmanaxDateWithHttpInfoAsync(string language, DateOnly date, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -412,7 +412,7 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/dofus2/{language}/almanax/{date}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/dofus3/{language}/almanax/{date}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -437,10 +437,10 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo /// size of the returned range (optional) /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. - /// List<AlmanaxEntry> - public List GetAlmanaxRange(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0) + /// List<Almanax> + public List GetAlmanaxRange(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetAlmanaxRangeWithHttpInfo(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetAlmanaxRangeWithHttpInfo(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone); return localVarResponse.Data; } @@ -455,8 +455,8 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo /// size of the returned range (optional) /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. - /// ApiResponse of List<AlmanaxEntry> - public Dofusdude.Api.Client.ApiResponse> GetAlmanaxRangeWithHttpInfo(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0) + /// ApiResponse of List<Almanax> + public Dofusdude.Api.Client.ApiResponse> GetAlmanaxRangeWithHttpInfo(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -513,7 +513,7 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo // make the HTTP request - var localVarResponse = this.Client.Get>("/dofus2/{language}/almanax", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/dofus3/{language}/almanax", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAlmanaxRange", localVarResponse); @@ -538,10 +538,10 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<AlmanaxEntry> - public async System.Threading.Tasks.Task> GetAlmanaxRangeAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<Almanax> + public async System.Threading.Tasks.Task> GetAlmanaxRangeAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetAlmanaxRangeWithHttpInfoAsync(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetAlmanaxRangeWithHttpInfoAsync(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -557,8 +557,8 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo /// determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. (optional, default to "Europe/Paris") /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<AlmanaxEntry>) - public async System.Threading.Tasks.Task>> GetAlmanaxRangeWithHttpInfoAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<Almanax>) + public async System.Threading.Tasks.Task>> GetAlmanaxRangeWithHttpInfoAsync(string language, string? filterBonusType = default(string?), DateOnly? rangeFrom = default(DateOnly?), DateOnly? rangeTo = default(DateOnly?), int? rangeSize = default(int?), string? timezone = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -616,7 +616,7 @@ public Dofusdude.Api.Client.ApiResponse GetAlmanaxDateWithHttpInfo // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus2/{language}/almanax", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus3/{language}/almanax", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/ConsumablesApi.cs b/src/Dofusdude.Api/Api/ConsumablesApi.cs index a84e567..0589226 100644 --- a/src/Dofusdude.Api/Api/ConsumablesApi.cs +++ b/src/Dofusdude.Api/Api/ConsumablesApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,16 +35,15 @@ public interface IConsumablesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetAllItemsConsumablesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetAllItemsConsumablesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List All Consumables @@ -54,16 +53,15 @@ public interface IConsumablesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetAllItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetAllItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Consumables /// @@ -72,18 +70,17 @@ public interface IConsumablesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetItemsConsumablesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetItemsConsumablesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Consumables @@ -93,18 +90,17 @@ public interface IConsumablesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Consumables /// @@ -113,16 +109,15 @@ public interface IConsumablesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - List GetItemsConsumablesSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// List<ListItem> + List GetItemsConsumablesSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Consumables @@ -132,16 +127,15 @@ public interface IConsumablesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - ApiResponse> GetItemsConsumablesSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of List<ListItem> + ApiResponse> GetItemsConsumablesSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Single Consumables /// @@ -151,7 +145,7 @@ public interface IConsumablesApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Resource Resource GetItemsConsumablesSingle(string language, int ankamaId, string game, int operationIndex = 0); @@ -165,7 +159,7 @@ public interface IConsumablesApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Resource ApiResponse GetItemsConsumablesSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); @@ -186,17 +180,16 @@ public interface IConsumablesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetAllItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetAllItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List All Consumables @@ -206,17 +199,16 @@ public interface IConsumablesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetAllItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetAllItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Consumables /// @@ -225,19 +217,18 @@ public interface IConsumablesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Consumables @@ -247,19 +238,18 @@ public interface IConsumablesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Consumables /// @@ -268,17 +258,16 @@ public interface IConsumablesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - System.Threading.Tasks.Task> GetItemsConsumablesSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<ListItem> + System.Threading.Tasks.Task> GetItemsConsumablesSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Consumables @@ -288,17 +277,16 @@ public interface IConsumablesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - System.Threading.Tasks.Task>> GetItemsConsumablesSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<ListItem>) + System.Threading.Tasks.Task>> GetItemsConsumablesSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Consumables /// @@ -308,7 +296,7 @@ public interface IConsumablesApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Resource @@ -323,7 +311,7 @@ public interface IConsumablesApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Resource) @@ -453,18 +441,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetAllItemsConsumablesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetAllItemsConsumablesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); return localVarResponse.Data; } @@ -473,16 +460,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetAllItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetAllItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -524,10 +510,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -536,9 +518,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -550,7 +532,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/consumables/all", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/consumables/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllItemsConsumablesList", localVarResponse); @@ -568,19 +550,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetAllItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetAllItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsConsumablesListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsConsumablesListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -589,17 +570,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetAllItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetAllItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -642,10 +622,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -654,9 +630,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -668,7 +644,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/consumables/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/consumables/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -687,20 +663,19 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetItemsConsumablesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetItemsConsumablesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); return localVarResponse.Data; } @@ -709,18 +684,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetItemsConsumablesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -762,10 +736,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -786,9 +756,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ConsumablesApi.GetItemsConsumablesList"; @@ -796,7 +766,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/consumables", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/consumables", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsConsumablesList", localVarResponse); @@ -814,21 +784,20 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetItemsConsumablesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsConsumablesListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsConsumablesListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -837,19 +806,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetItemsConsumablesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -892,10 +860,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -916,9 +880,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ConsumablesApi.GetItemsConsumablesList"; @@ -926,7 +890,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/consumables", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/consumables", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -945,18 +909,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - public List GetItemsConsumablesSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// List<ListItem> + public List GetItemsConsumablesSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsConsumablesSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsConsumablesSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); return localVarResponse.Data; } @@ -965,16 +928,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - public Dofusdude.Api.Client.ApiResponse> GetItemsConsumablesSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of List<ListItem> + public Dofusdude.Api.Client.ApiResponse> GetItemsConsumablesSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -1019,10 +981,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1035,9 +993,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ConsumablesApi.GetItemsConsumablesSearch"; @@ -1045,7 +1003,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/items/consumables/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/items/consumables/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsConsumablesSearch", localVarResponse); @@ -1063,19 +1021,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - public async System.Threading.Tasks.Task> GetItemsConsumablesSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ListItem> + public async System.Threading.Tasks.Task> GetItemsConsumablesSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsConsumablesSearchWithHttpInfoAsync(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsConsumablesSearchWithHttpInfoAsync(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1084,17 +1041,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - public async System.Threading.Tasks.Task>> GetItemsConsumablesSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ListItem>) + public async System.Threading.Tasks.Task>> GetItemsConsumablesSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1140,10 +1096,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1156,9 +1108,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ConsumablesApi.GetItemsConsumablesSearch"; @@ -1166,7 +1118,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/items/consumables/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/items/consumables/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1186,7 +1138,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Resource public Resource GetItemsConsumablesSingle(string language, int ankamaId, string game, int operationIndex = 0) @@ -1201,7 +1153,7 @@ public Resource GetItemsConsumablesSingle(string language, int ankamaId, string /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Resource public Dofusdude.Api.Client.ApiResponse GetItemsConsumablesSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) @@ -1249,7 +1201,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsConsumablesSingleWithH // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/consumables/{ankama_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/consumables/{ankama_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsConsumablesSingle", localVarResponse); @@ -1268,7 +1220,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsConsumablesSingleWithH /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Resource @@ -1284,7 +1236,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsConsumablesSingleWithH /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Resource) @@ -1334,7 +1286,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsConsumablesSingleWithH // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/consumables/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/consumables/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/CosmeticsApi.cs b/src/Dofusdude.Api/Api/CosmeticsApi.cs index adea7e4..6e5d5a7 100644 --- a/src/Dofusdude.Api/Api/CosmeticsApi.cs +++ b/src/Dofusdude.Api/Api/CosmeticsApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,16 +35,15 @@ public interface ICosmeticsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetAllCosmeticsList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetAllCosmeticsList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List All Cosmetics @@ -54,16 +53,15 @@ public interface ICosmeticsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetAllCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetAllCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Cosmetics /// @@ -72,18 +70,17 @@ public interface ICosmeticsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetCosmeticsList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetCosmeticsList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Cosmetics @@ -93,18 +90,17 @@ public interface ICosmeticsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Cosmetics /// @@ -113,16 +109,15 @@ public interface ICosmeticsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - List GetCosmeticsSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// List<ListItem> + List GetCosmeticsSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Cosmetics @@ -132,16 +127,15 @@ public interface ICosmeticsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - ApiResponse> GetCosmeticsSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of List<ListItem> + ApiResponse> GetCosmeticsSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Single Cosmetics /// @@ -151,7 +145,7 @@ public interface ICosmeticsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Equipment Equipment GetCosmeticsSingle(string language, int ankamaId, string game, int operationIndex = 0); @@ -165,7 +159,7 @@ public interface ICosmeticsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Equipment ApiResponse GetCosmeticsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); @@ -186,17 +180,16 @@ public interface ICosmeticsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetAllCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetAllCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List All Cosmetics @@ -206,17 +199,16 @@ public interface ICosmeticsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetAllCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetAllCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Cosmetics /// @@ -225,19 +217,18 @@ public interface ICosmeticsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Cosmetics @@ -247,19 +238,18 @@ public interface ICosmeticsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Cosmetics /// @@ -268,17 +258,16 @@ public interface ICosmeticsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - System.Threading.Tasks.Task> GetCosmeticsSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<ListItem> + System.Threading.Tasks.Task> GetCosmeticsSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Cosmetics @@ -288,17 +277,16 @@ public interface ICosmeticsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - System.Threading.Tasks.Task>> GetCosmeticsSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<ListItem>) + System.Threading.Tasks.Task>> GetCosmeticsSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Cosmetics /// @@ -308,7 +296,7 @@ public interface ICosmeticsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Equipment @@ -323,7 +311,7 @@ public interface ICosmeticsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Equipment) @@ -453,18 +441,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetAllCosmeticsList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetAllCosmeticsList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllCosmeticsListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllCosmeticsListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); return localVarResponse.Data; } @@ -473,16 +460,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetAllCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetAllCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -524,10 +510,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -536,9 +518,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -550,7 +532,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/cosmetics/all", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/cosmetics/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllCosmeticsList", localVarResponse); @@ -568,19 +550,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetAllCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetAllCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllCosmeticsListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllCosmeticsListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -589,17 +570,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetAllCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetAllCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -642,10 +622,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -654,9 +630,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -668,7 +644,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/cosmetics/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/cosmetics/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -687,20 +663,19 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetCosmeticsList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetCosmeticsList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetCosmeticsListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetCosmeticsListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); return localVarResponse.Data; } @@ -709,18 +684,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetCosmeticsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -762,10 +736,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -786,9 +756,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "CosmeticsApi.GetCosmeticsList"; @@ -796,7 +766,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/cosmetics", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/cosmetics", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCosmeticsList", localVarResponse); @@ -814,21 +784,20 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetCosmeticsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetCosmeticsListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetCosmeticsListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -837,19 +806,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetCosmeticsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -892,10 +860,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -916,9 +880,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "CosmeticsApi.GetCosmeticsList"; @@ -926,7 +890,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/cosmetics", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/cosmetics", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -945,18 +909,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - public List GetCosmeticsSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// List<ListItem> + public List GetCosmeticsSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetCosmeticsSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetCosmeticsSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); return localVarResponse.Data; } @@ -965,16 +928,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - public Dofusdude.Api.Client.ApiResponse> GetCosmeticsSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of List<ListItem> + public Dofusdude.Api.Client.ApiResponse> GetCosmeticsSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -1019,10 +981,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1035,9 +993,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "CosmeticsApi.GetCosmeticsSearch"; @@ -1045,7 +1003,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/items/cosmetics/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/items/cosmetics/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCosmeticsSearch", localVarResponse); @@ -1063,19 +1021,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - public async System.Threading.Tasks.Task> GetCosmeticsSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ListItem> + public async System.Threading.Tasks.Task> GetCosmeticsSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetCosmeticsSearchWithHttpInfoAsync(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetCosmeticsSearchWithHttpInfoAsync(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1084,17 +1041,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - public async System.Threading.Tasks.Task>> GetCosmeticsSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ListItem>) + public async System.Threading.Tasks.Task>> GetCosmeticsSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1140,10 +1096,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1156,9 +1108,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "CosmeticsApi.GetCosmeticsSearch"; @@ -1166,7 +1118,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/items/cosmetics/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/items/cosmetics/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1186,7 +1138,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Equipment public Equipment GetCosmeticsSingle(string language, int ankamaId, string game, int operationIndex = 0) @@ -1201,7 +1153,7 @@ public Equipment GetCosmeticsSingle(string language, int ankamaId, string game, /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Equipment public Dofusdude.Api.Client.ApiResponse GetCosmeticsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) @@ -1249,7 +1201,7 @@ public Dofusdude.Api.Client.ApiResponse GetCosmeticsSingleWithHttpInf // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/cosmetics/{ankama_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/cosmetics/{ankama_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetCosmeticsSingle", localVarResponse); @@ -1268,7 +1220,7 @@ public Dofusdude.Api.Client.ApiResponse GetCosmeticsSingleWithHttpInf /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Equipment @@ -1284,7 +1236,7 @@ public Dofusdude.Api.Client.ApiResponse GetCosmeticsSingleWithHttpInf /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Equipment) @@ -1334,7 +1286,7 @@ public Dofusdude.Api.Client.ApiResponse GetCosmeticsSingleWithHttpInf // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/cosmetics/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/cosmetics/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/EquipmentApi.cs b/src/Dofusdude.Api/Api/EquipmentApi.cs index c48c757..804c0c3 100644 --- a/src/Dofusdude.Api/Api/EquipmentApi.cs +++ b/src/Dofusdude.Api/Api/EquipmentApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,16 +35,15 @@ public interface IEquipmentApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetAllItemsEquipmentList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetAllItemsEquipmentList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List All Equipment @@ -54,16 +53,15 @@ public interface IEquipmentApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetAllItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetAllItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Equipment /// @@ -72,18 +70,17 @@ public interface IEquipmentApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetItemsEquipmentList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetItemsEquipmentList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Equipment @@ -93,18 +90,17 @@ public interface IEquipmentApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Equipment /// @@ -113,16 +109,15 @@ public interface IEquipmentApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - List GetItemsEquipmentSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// List<ListItem> + List GetItemsEquipmentSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Equipment @@ -132,16 +127,15 @@ public interface IEquipmentApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - ApiResponse> GetItemsEquipmentSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of List<ListItem> + ApiResponse> GetItemsEquipmentSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Single Equipment /// @@ -151,7 +145,7 @@ public interface IEquipmentApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Weapon Weapon GetItemsEquipmentSingle(string language, int ankamaId, string game, int operationIndex = 0); @@ -165,7 +159,7 @@ public interface IEquipmentApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Weapon ApiResponse GetItemsEquipmentSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); @@ -186,17 +180,16 @@ public interface IEquipmentApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetAllItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetAllItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List All Equipment @@ -206,17 +199,16 @@ public interface IEquipmentApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetAllItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetAllItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Equipment /// @@ -225,19 +217,18 @@ public interface IEquipmentApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Equipment @@ -247,19 +238,18 @@ public interface IEquipmentApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Equipment /// @@ -268,17 +258,16 @@ public interface IEquipmentApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - System.Threading.Tasks.Task> GetItemsEquipmentSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<ListItem> + System.Threading.Tasks.Task> GetItemsEquipmentSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Equipment @@ -288,17 +277,16 @@ public interface IEquipmentApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - System.Threading.Tasks.Task>> GetItemsEquipmentSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<ListItem>) + System.Threading.Tasks.Task>> GetItemsEquipmentSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Equipment /// @@ -308,7 +296,7 @@ public interface IEquipmentApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Weapon @@ -323,7 +311,7 @@ public interface IEquipmentApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Weapon) @@ -453,18 +441,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetAllItemsEquipmentList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetAllItemsEquipmentList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); return localVarResponse.Data; } @@ -473,16 +460,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetAllItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetAllItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -524,10 +510,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -536,9 +518,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -550,7 +532,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/equipment/all", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/equipment/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllItemsEquipmentList", localVarResponse); @@ -568,19 +550,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetAllItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetAllItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsEquipmentListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsEquipmentListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -589,17 +570,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetAllItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetAllItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -642,10 +622,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -654,9 +630,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -668,7 +644,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/equipment/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/equipment/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -687,20 +663,19 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetItemsEquipmentList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetItemsEquipmentList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); return localVarResponse.Data; } @@ -709,18 +684,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetItemsEquipmentListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -762,10 +736,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -786,9 +756,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "EquipmentApi.GetItemsEquipmentList"; @@ -796,7 +766,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/equipment", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/equipment", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsEquipmentList", localVarResponse); @@ -814,21 +784,20 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetItemsEquipmentListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsEquipmentListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsEquipmentListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -837,19 +806,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetItemsEquipmentListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -892,10 +860,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -916,9 +880,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "EquipmentApi.GetItemsEquipmentList"; @@ -926,7 +890,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/equipment", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/equipment", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -945,18 +909,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - public List GetItemsEquipmentSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// List<ListItem> + public List GetItemsEquipmentSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsEquipmentSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsEquipmentSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); return localVarResponse.Data; } @@ -965,16 +928,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - public Dofusdude.Api.Client.ApiResponse> GetItemsEquipmentSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of List<ListItem> + public Dofusdude.Api.Client.ApiResponse> GetItemsEquipmentSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -1019,10 +981,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1035,9 +993,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "EquipmentApi.GetItemsEquipmentSearch"; @@ -1045,7 +1003,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/items/equipment/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/items/equipment/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsEquipmentSearch", localVarResponse); @@ -1063,19 +1021,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - public async System.Threading.Tasks.Task> GetItemsEquipmentSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ListItem> + public async System.Threading.Tasks.Task> GetItemsEquipmentSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsEquipmentSearchWithHttpInfoAsync(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsEquipmentSearchWithHttpInfoAsync(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1084,17 +1041,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - public async System.Threading.Tasks.Task>> GetItemsEquipmentSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ListItem>) + public async System.Threading.Tasks.Task>> GetItemsEquipmentSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1140,10 +1096,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1156,9 +1108,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "EquipmentApi.GetItemsEquipmentSearch"; @@ -1166,7 +1118,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/items/equipment/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/items/equipment/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1186,7 +1138,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Weapon public Weapon GetItemsEquipmentSingle(string language, int ankamaId, string game, int operationIndex = 0) @@ -1201,7 +1153,7 @@ public Weapon GetItemsEquipmentSingle(string language, int ankamaId, string game /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Weapon public Dofusdude.Api.Client.ApiResponse GetItemsEquipmentSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) @@ -1249,7 +1201,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsEquipmentSingleWithHttpI // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/equipment/{ankama_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/equipment/{ankama_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsEquipmentSingle", localVarResponse); @@ -1268,7 +1220,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsEquipmentSingleWithHttpI /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Weapon @@ -1284,7 +1236,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsEquipmentSingleWithHttpI /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Weapon) @@ -1334,7 +1286,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsEquipmentSingleWithHttpI // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/equipment/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/equipment/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/GameApi.cs b/src/Dofusdude.Api/Api/GameApi.cs index 29cff73..3f51dad 100644 --- a/src/Dofusdude.Api/Api/GameApi.cs +++ b/src/Dofusdude.Api/Api/GameApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -31,37 +31,37 @@ public interface IGameApiSync : IApiAccessor /// Game Search /// /// - /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<GetGameSearch200ResponseInner> - List GetGameSearch(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// List<GameSearch> + List GetGameSearch(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Game Search /// /// - /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<GetGameSearch200ResponseInner> - ApiResponse> GetGameSearchWithHttpInfo(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of List<GameSearch> + ApiResponse> GetGameSearchWithHttpInfo(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search All Items /// @@ -70,16 +70,15 @@ public interface IGameApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemsListEntryTyped> - List GetItemsAllSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// List<ListItemGeneral> + List GetItemsAllSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search All Items @@ -89,16 +88,15 @@ public interface IGameApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemsListEntryTyped> - ApiResponse> GetItemsAllSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of List<ListItemGeneral> + ApiResponse> GetItemsAllSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); #endregion Synchronous Operations } @@ -112,39 +110,39 @@ public interface IGameApiAsync : IApiAccessor /// Game Search /// /// - /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<GetGameSearch200ResponseInner> - System.Threading.Tasks.Task> GetGameSearchAsync(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<GameSearch> + System.Threading.Tasks.Task> GetGameSearchAsync(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Game Search /// /// - /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<GetGameSearch200ResponseInner>) - System.Threading.Tasks.Task>> GetGameSearchWithHttpInfoAsync(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<GameSearch>) + System.Threading.Tasks.Task>> GetGameSearchWithHttpInfoAsync(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search All Items /// @@ -153,17 +151,16 @@ public interface IGameApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemsListEntryTyped> - System.Threading.Tasks.Task> GetItemsAllSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<ListItemGeneral> + System.Threading.Tasks.Task> GetItemsAllSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search All Items @@ -173,17 +170,16 @@ public interface IGameApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemsListEntryTyped>) - System.Threading.Tasks.Task>> GetItemsAllSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<ListItemGeneral>) + System.Threading.Tasks.Task>> GetItemsAllSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -305,38 +301,38 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory } /// - /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<GetGameSearch200ResponseInner> - public List GetGameSearch(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// List<GameSearch> + public List GetGameSearch(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetGameSearchWithHttpInfo(language, game, query, filterType, limit, fieldsItem, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetGameSearchWithHttpInfo(language, game, query, filterSearchIndex, limit, fieldsItem, filterTypeNameId); return localVarResponse.Data; } /// - /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<GetGameSearch200ResponseInner> - public Dofusdude.Api.Client.ApiResponse> GetGameSearchWithHttpInfo(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of List<GameSearch> + public Dofusdude.Api.Client.ApiResponse> GetGameSearchWithHttpInfo(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -381,9 +377,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterType != null) + if (filterSearchIndex != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type]", filterType)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[search_index]", filterSearchIndex)); } if (limit != null) { @@ -393,9 +389,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "GameApi.GetGameSearch"; @@ -403,7 +399,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetGameSearch", localVarResponse); @@ -417,40 +413,40 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory } /// - /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<GetGameSearch200ResponseInner> - public async System.Threading.Tasks.Task> GetGameSearchAsync(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<GameSearch> + public async System.Threading.Tasks.Task> GetGameSearchAsync(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetGameSearchWithHttpInfoAsync(language, game, query, filterType, limit, fieldsItem, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetGameSearchWithHttpInfoAsync(language, game, query, filterSearchIndex, limit, fieldsItem, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus2/meta/search/types. + /// Game Search Search in all names and descriptions of all supported types in the game. For the list of supported types see the endpoint /dofus3/meta/search/types. /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// search query - /// only results with all specific type (optional) + /// only results with all specific type (optional) /// maximum number of returned results (optional, default to 8) /// adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<GetGameSearch200ResponseInner>) - public async System.Threading.Tasks.Task>> GetGameSearchWithHttpInfoAsync(string language, string game, string query, List? filterType = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<GameSearch>) + public async System.Threading.Tasks.Task>> GetGameSearchWithHttpInfoAsync(string language, string game, string query, List? filterSearchIndex = default(List?), int? limit = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -496,9 +492,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterType != null) + if (filterSearchIndex != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type]", filterType)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[search_index]", filterSearchIndex)); } if (limit != null) { @@ -508,9 +504,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "GameApi.GetGameSearch"; @@ -518,7 +514,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -537,18 +533,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemsListEntryTyped> - public List GetItemsAllSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// List<ListItemGeneral> + public List GetItemsAllSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsAllSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsAllSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); return localVarResponse.Data; } @@ -557,16 +552,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemsListEntryTyped> - public Dofusdude.Api.Client.ApiResponse> GetItemsAllSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of List<ListItemGeneral> + public Dofusdude.Api.Client.ApiResponse> GetItemsAllSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -611,10 +605,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -627,9 +617,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "GameApi.GetItemsAllSearch"; @@ -637,7 +627,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/items/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/items/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsAllSearch", localVarResponse); @@ -655,19 +645,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemsListEntryTyped> - public async System.Threading.Tasks.Task> GetItemsAllSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ListItemGeneral> + public async System.Threading.Tasks.Task> GetItemsAllSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsAllSearchWithHttpInfoAsync(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsAllSearchWithHttpInfoAsync(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -676,17 +665,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name across all item_subtypes (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemsListEntryTyped>) - public async System.Threading.Tasks.Task>> GetItemsAllSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ListItemGeneral>) + public async System.Threading.Tasks.Task>> GetItemsAllSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -732,10 +720,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -748,9 +732,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "GameApi.GetItemsAllSearch"; @@ -758,7 +742,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/items/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/items/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/MetaApi.cs b/src/Dofusdude.Api/Api/MetaApi.cs index ef77c25..6c202a8 100644 --- a/src/Dofusdude.Api/Api/MetaApi.cs +++ b/src/Dofusdude.Api/Api/MetaApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -31,7 +31,7 @@ public interface IMetaApiSync : IApiAccessor /// Available Game Search Types /// /// - /// Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -42,7 +42,7 @@ public interface IMetaApiSync : IApiAccessor /// Available Game Search Types /// /// - /// Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -76,7 +76,7 @@ public interface IMetaApiSync : IApiAccessor /// Get all the available bonuses and their id for filtering them in the range endpoint. /// /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// List<GetMetaAlmanaxBonuses200ResponseInner> List GetMetaAlmanaxBonuses(string language, int operationIndex = 0); @@ -88,7 +88,7 @@ public interface IMetaApiSync : IApiAccessor /// Get all the available bonuses and their id for filtering them in the range endpoint. /// /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// ApiResponse of List<GetMetaAlmanaxBonuses200ResponseInner> ApiResponse> GetMetaAlmanaxBonusesWithHttpInfo(string language, int operationIndex = 0); @@ -148,8 +148,8 @@ public interface IMetaApiSync : IApiAccessor /// /// Thrown when fails to make API call /// Index associated with the operation. - /// GetMetaVersion200Response - GetMetaVersion200Response GetMetaVersion(int operationIndex = 0); + /// ModelVersion + ModelVersion GetMetaVersion(int operationIndex = 0); /// /// Game Version @@ -159,8 +159,8 @@ public interface IMetaApiSync : IApiAccessor /// /// Thrown when fails to make API call /// Index associated with the operation. - /// ApiResponse of GetMetaVersion200Response - ApiResponse GetMetaVersionWithHttpInfo(int operationIndex = 0); + /// ApiResponse of ModelVersion + ApiResponse GetMetaVersionWithHttpInfo(int operationIndex = 0); #endregion Synchronous Operations } @@ -174,7 +174,7 @@ public interface IMetaApiAsync : IApiAccessor /// Available Game Search Types /// /// - /// Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -186,7 +186,7 @@ public interface IMetaApiAsync : IApiAccessor /// Available Game Search Types /// /// - /// Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -223,7 +223,7 @@ public interface IMetaApiAsync : IApiAccessor /// Get all the available bonuses and their id for filtering them in the range endpoint. /// /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<GetMetaAlmanaxBonuses200ResponseInner> @@ -236,7 +236,7 @@ public interface IMetaApiAsync : IApiAccessor /// Get all the available bonuses and their id for filtering them in the range endpoint. /// /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GetMetaAlmanaxBonuses200ResponseInner>) @@ -302,8 +302,8 @@ public interface IMetaApiAsync : IApiAccessor /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of GetMetaVersion200Response - System.Threading.Tasks.Task GetMetaVersionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ModelVersion + System.Threading.Tasks.Task GetMetaVersionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Game Version @@ -314,8 +314,8 @@ public interface IMetaApiAsync : IApiAccessor /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetMetaVersion200Response) - System.Threading.Tasks.Task> GetMetaVersionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ModelVersion) + System.Threading.Tasks.Task> GetMetaVersionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -437,7 +437,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory } /// - /// Available Game Search Types Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Available Game Search Types Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -449,7 +449,7 @@ public List GetGameSearchTypes(int operationIndex = 0) } /// - /// Available Game Search Types Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Available Game Search Types Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -484,7 +484,7 @@ public Dofusdude.Api.Client.ApiResponse> GetGameSearchTypesWithHttp // make the HTTP request - var localVarResponse = this.Client.Get>("/dofus2/meta/search/types", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/dofus3/meta/search/types", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetGameSearchTypes", localVarResponse); @@ -498,7 +498,7 @@ public Dofusdude.Api.Client.ApiResponse> GetGameSearchTypesWithHttp } /// - /// Available Game Search Types Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Available Game Search Types Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -511,7 +511,7 @@ public Dofusdude.Api.Client.ApiResponse> GetGameSearchTypesWithHttp } /// - /// Available Game Search Types Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. + /// Available Game Search Types Get all types for /{game}/v1/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings. /// /// Thrown when fails to make API call /// Index associated with the operation. @@ -548,7 +548,7 @@ public Dofusdude.Api.Client.ApiResponse> GetGameSearchTypesWithHttp // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus2/meta/search/types", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus3/meta/search/types", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -610,7 +610,7 @@ public Dofusdude.Api.Client.ApiResponse> GetItemTypesWithHttpInfo(i // make the HTTP request - var localVarResponse = this.Client.Get>("/dofus2/meta/items/types", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/dofus3/meta/items/types", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemTypes", localVarResponse); @@ -674,7 +674,7 @@ public Dofusdude.Api.Client.ApiResponse> GetItemTypesWithHttpInfo(i // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus2/meta/items/types", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus3/meta/items/types", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -692,7 +692,7 @@ public Dofusdude.Api.Client.ApiResponse> GetItemTypesWithHttpInfo(i /// Available Almanax Bonuses Get all the available bonuses and their id for filtering them in the range endpoint. /// /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// List<GetMetaAlmanaxBonuses200ResponseInner> public List GetMetaAlmanaxBonuses(string language, int operationIndex = 0) @@ -705,7 +705,7 @@ public List GetMetaAlmanaxBonuses(string /// Available Almanax Bonuses Get all the available bonuses and their id for filtering them in the range endpoint. /// /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// ApiResponse of List<GetMetaAlmanaxBonuses200ResponseInner> public Dofusdude.Api.Client.ApiResponse> GetMetaAlmanaxBonusesWithHttpInfo(string language, int operationIndex = 0) @@ -745,7 +745,7 @@ public Dofusdude.Api.Client.ApiResponse>("/dofus2/meta/{language}/almanax/bonuses", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/dofus3/meta/{language}/almanax/bonuses", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMetaAlmanaxBonuses", localVarResponse); @@ -762,7 +762,7 @@ public Dofusdude.Api.Client.ApiResponse /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<GetMetaAlmanaxBonuses200ResponseInner> @@ -776,7 +776,7 @@ public Dofusdude.Api.Client.ApiResponse /// Thrown when fails to make API call - /// + /// a valid language code /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GetMetaAlmanaxBonuses200ResponseInner>) @@ -818,7 +818,7 @@ public Dofusdude.Api.Client.ApiResponse>("/dofus2/meta/{language}/almanax/bonuses", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus3/meta/{language}/almanax/bonuses", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -904,7 +904,7 @@ public Dofusdude.Api.Client.ApiResponse>("/dofus2/meta/{language}/almanax/bonuses/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/dofus3/meta/{language}/almanax/bonuses/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMetaAlmanaxBonusesSearch", localVarResponse); @@ -992,7 +992,7 @@ public Dofusdude.Api.Client.ApiResponse>("/dofus2/meta/{language}/almanax/bonuses/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus3/meta/{language}/almanax/bonuses/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1054,7 +1054,7 @@ public Dofusdude.Api.Client.ApiResponse> GetMetaElementsWithHttpInf // make the HTTP request - var localVarResponse = this.Client.Get>("/dofus2/meta/elements", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/dofus3/meta/elements", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMetaElements", localVarResponse); @@ -1118,7 +1118,7 @@ public Dofusdude.Api.Client.ApiResponse> GetMetaElementsWithHttpInf // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus2/meta/elements", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/dofus3/meta/elements", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1137,10 +1137,10 @@ public Dofusdude.Api.Client.ApiResponse> GetMetaElementsWithHttpInf /// /// Thrown when fails to make API call /// Index associated with the operation. - /// GetMetaVersion200Response - public GetMetaVersion200Response GetMetaVersion(int operationIndex = 0) + /// ModelVersion + public ModelVersion GetMetaVersion(int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetMetaVersionWithHttpInfo(); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetMetaVersionWithHttpInfo(); return localVarResponse.Data; } @@ -1149,8 +1149,8 @@ public GetMetaVersion200Response GetMetaVersion(int operationIndex = 0) /// /// Thrown when fails to make API call /// Index associated with the operation. - /// ApiResponse of GetMetaVersion200Response - public Dofusdude.Api.Client.ApiResponse GetMetaVersionWithHttpInfo(int operationIndex = 0) + /// ApiResponse of ModelVersion + public Dofusdude.Api.Client.ApiResponse GetMetaVersionWithHttpInfo(int operationIndex = 0) { Dofusdude.Api.Client.RequestOptions localVarRequestOptions = new Dofusdude.Api.Client.RequestOptions(); @@ -1180,7 +1180,7 @@ public Dofusdude.Api.Client.ApiResponse GetMetaVersio // make the HTTP request - var localVarResponse = this.Client.Get("/dofus2/meta/version", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/dofus3/meta/version", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMetaVersion", localVarResponse); @@ -1199,10 +1199,10 @@ public Dofusdude.Api.Client.ApiResponse GetMetaVersio /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of GetMetaVersion200Response - public async System.Threading.Tasks.Task GetMetaVersionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ModelVersion + public async System.Threading.Tasks.Task GetMetaVersionAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetMetaVersionWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetMetaVersionWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1212,8 +1212,8 @@ public Dofusdude.Api.Client.ApiResponse GetMetaVersio /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetMetaVersion200Response) - public async System.Threading.Tasks.Task> GetMetaVersionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ModelVersion) + public async System.Threading.Tasks.Task> GetMetaVersionWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Dofusdude.Api.Client.RequestOptions localVarRequestOptions = new Dofusdude.Api.Client.RequestOptions(); @@ -1244,7 +1244,7 @@ public Dofusdude.Api.Client.ApiResponse GetMetaVersio // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/dofus2/meta/version", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/dofus3/meta/version", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/MountsApi.cs b/src/Dofusdude.Api/Api/MountsApi.cs index 7f2dc0a..a3b89f8 100644 --- a/src/Dofusdude.Api/Api/MountsApi.cs +++ b/src/Dofusdude.Api/Api/MountsApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,12 +35,13 @@ public interface IMountsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// MountsListPaged - MountsListPaged GetAllMountsList(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0); + /// ListMounts + ListMounts GetAllMountsList(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0); /// /// List All Mounts @@ -50,12 +51,13 @@ public interface IMountsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// ApiResponse of MountsListPaged - ApiResponse GetAllMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0); + /// ApiResponse of ListMounts + ApiResponse GetAllMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0); /// /// List Mounts /// @@ -64,14 +66,15 @@ public interface IMountsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// MountsListPaged - MountsListPaged GetMountsList(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0); + /// ListMounts + ListMounts GetMountsList(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0); /// /// List Mounts @@ -81,14 +84,15 @@ public interface IMountsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// ApiResponse of MountsListPaged - ApiResponse GetMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0); + /// ApiResponse of ListMounts + ApiResponse GetMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0); /// /// Search Mounts /// @@ -97,13 +101,13 @@ public interface IMountsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. - /// List<MountListEntry> - List GetMountsSearch(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0); + /// List<Mount> + List GetMountsSearch(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0); /// /// Search Mounts @@ -113,13 +117,13 @@ public interface IMountsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. - /// ApiResponse of List<MountListEntry> - ApiResponse> GetMountsSearchWithHttpInfo(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0); + /// ApiResponse of List<Mount> + ApiResponse> GetMountsSearchWithHttpInfo(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0); /// /// Single Mounts /// @@ -129,7 +133,7 @@ public interface IMountsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Mount Mount GetMountsSingle(string language, int ankamaId, string game, int operationIndex = 0); @@ -143,7 +147,7 @@ public interface IMountsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Mount ApiResponse GetMountsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); @@ -164,13 +168,14 @@ public interface IMountsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of MountsListPaged - System.Threading.Tasks.Task GetAllMountsListAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListMounts + System.Threading.Tasks.Task GetAllMountsListAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List All Mounts @@ -180,13 +185,14 @@ public interface IMountsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (MountsListPaged) - System.Threading.Tasks.Task> GetAllMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListMounts) + System.Threading.Tasks.Task> GetAllMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Mounts /// @@ -195,15 +201,16 @@ public interface IMountsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of MountsListPaged - System.Threading.Tasks.Task GetMountsListAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListMounts + System.Threading.Tasks.Task GetMountsListAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Mounts @@ -213,15 +220,16 @@ public interface IMountsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (MountsListPaged) - System.Threading.Tasks.Task> GetMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListMounts) + System.Threading.Tasks.Task> GetMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Mounts /// @@ -230,14 +238,14 @@ public interface IMountsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<MountListEntry> - System.Threading.Tasks.Task> GetMountsSearchAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<Mount> + System.Threading.Tasks.Task> GetMountsSearchAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Mounts @@ -247,14 +255,14 @@ public interface IMountsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<MountListEntry>) - System.Threading.Tasks.Task>> GetMountsSearchWithHttpInfoAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<Mount>) + System.Threading.Tasks.Task>> GetMountsSearchWithHttpInfoAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Mounts /// @@ -264,7 +272,7 @@ public interface IMountsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Mount @@ -279,7 +287,7 @@ public interface IMountsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Mount) @@ -409,14 +417,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// MountsListPaged - public MountsListPaged GetAllMountsList(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0) + /// ListMounts + public ListMounts GetAllMountsList(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllMountsListWithHttpInfo(language, game, filterFamilyName, acceptEncoding); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllMountsListWithHttpInfo(language, game, filterFamilyName, acceptEncoding, filterFamilyId); return localVarResponse.Data; } @@ -425,12 +434,13 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// ApiResponse of MountsListPaged - public Dofusdude.Api.Client.ApiResponse GetAllMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0) + /// ApiResponse of ListMounts + public Dofusdude.Api.Client.ApiResponse GetAllMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -470,7 +480,11 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter if (filterFamilyName != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family_name]", filterFamilyName)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.name]", filterFamilyName)); + } + if (filterFamilyId != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.id]", filterFamilyId)); } if (acceptEncoding != null) { @@ -482,7 +496,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/mounts/all", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/mounts/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllMountsList", localVarResponse); @@ -500,15 +514,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of MountsListPaged - public async System.Threading.Tasks.Task GetAllMountsListAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListMounts + public async System.Threading.Tasks.Task GetAllMountsListAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllMountsListWithHttpInfoAsync(language, game, filterFamilyName, acceptEncoding, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllMountsListWithHttpInfoAsync(language, game, filterFamilyName, acceptEncoding, filterFamilyId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -517,13 +532,14 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// optional compression for saving bandwidth (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (MountsListPaged) - public async System.Threading.Tasks.Task> GetAllMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListMounts) + public async System.Threading.Tasks.Task> GetAllMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), string? acceptEncoding = default(string?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -564,7 +580,11 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter if (filterFamilyName != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family_name]", filterFamilyName)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.name]", filterFamilyName)); + } + if (filterFamilyId != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.id]", filterFamilyId)); } if (acceptEncoding != null) { @@ -576,7 +596,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/mounts/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/mounts/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -595,16 +615,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// MountsListPaged - public MountsListPaged GetMountsList(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0) + /// ListMounts + public ListMounts GetMountsList(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetMountsListWithHttpInfo(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetMountsListWithHttpInfo(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, filterFamilyId); return localVarResponse.Data; } @@ -613,14 +634,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. - /// ApiResponse of MountsListPaged - public Dofusdude.Api.Client.ApiResponse GetMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0) + /// ApiResponse of ListMounts + public Dofusdude.Api.Client.ApiResponse GetMountsListWithHttpInfo(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -660,7 +682,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter if (filterFamilyName != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family_name]", filterFamilyName)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.name]", filterFamilyName)); } if (pageSize != null) { @@ -674,13 +696,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[mount]", fieldsMount)); } + if (filterFamilyId != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.id]", filterFamilyId)); + } localVarRequestOptions.Operation = "MountsApi.GetMountsList"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/mounts", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/mounts", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMountsList", localVarResponse); @@ -698,17 +724,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of MountsListPaged - public async System.Threading.Tasks.Task GetMountsListAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListMounts + public async System.Threading.Tasks.Task GetMountsListAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetMountsListWithHttpInfoAsync(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetMountsListWithHttpInfoAsync(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, filterFamilyId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -717,15 +744,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// only results with the translated family name (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + /// only results with the unique family id (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (MountsListPaged) - public async System.Threading.Tasks.Task> GetMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListMounts) + public async System.Threading.Tasks.Task> GetMountsListWithHttpInfoAsync(string language, string game, string? filterFamilyName = default(string?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsMount = default(List?), int? filterFamilyId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -766,7 +794,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter if (filterFamilyName != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family_name]", filterFamilyName)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.name]", filterFamilyName)); } if (pageSize != null) { @@ -780,13 +808,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[mount]", fieldsMount)); } + if (filterFamilyId != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[family.id]", filterFamilyId)); + } localVarRequestOptions.Operation = "MountsApi.GetMountsList"; localVarRequestOptions.OperationIndex = operationIndex; // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/mounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/mounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -805,15 +837,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. - /// List<MountListEntry> - public List GetMountsSearch(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0) + /// List<Mount> + public List GetMountsSearch(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetMountsSearchWithHttpInfo(language, game, query, filterFamilyName, limit); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetMountsSearchWithHttpInfo(language, game, query, filterFamilyName, limit); return localVarResponse.Data; } @@ -822,13 +854,13 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. - /// ApiResponse of List<MountListEntry> - public Dofusdude.Api.Client.ApiResponse> GetMountsSearchWithHttpInfo(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0) + /// ApiResponse of List<Mount> + public Dofusdude.Api.Client.ApiResponse> GetMountsSearchWithHttpInfo(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -887,7 +919,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/mounts/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/mounts/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMountsSearch", localVarResponse); @@ -905,16 +937,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<MountListEntry> - public async System.Threading.Tasks.Task> GetMountsSearchAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<Mount> + public async System.Threading.Tasks.Task> GetMountsSearchAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetMountsSearchWithHttpInfoAsync(language, game, query, filterFamilyName, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetMountsSearchWithHttpInfoAsync(language, game, query, filterFamilyName, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -923,14 +955,14 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated family name (optional) /// maximum number of returned results (optional, default to 8) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<MountListEntry>) - public async System.Threading.Tasks.Task>> GetMountsSearchWithHttpInfoAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<Mount>) + public async System.Threading.Tasks.Task>> GetMountsSearchWithHttpInfoAsync(string language, string game, string query, string? filterFamilyName = default(string?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -990,7 +1022,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/mounts/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/mounts/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1010,7 +1042,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Mount public Mount GetMountsSingle(string language, int ankamaId, string game, int operationIndex = 0) @@ -1025,7 +1057,7 @@ public Mount GetMountsSingle(string language, int ankamaId, string game, int ope /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Mount public Dofusdude.Api.Client.ApiResponse GetMountsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) @@ -1073,7 +1105,7 @@ public Dofusdude.Api.Client.ApiResponse GetMountsSingleWithHttpInfo(strin // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/mounts/{ankama_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/mounts/{ankama_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetMountsSingle", localVarResponse); @@ -1092,7 +1124,7 @@ public Dofusdude.Api.Client.ApiResponse GetMountsSingleWithHttpInfo(strin /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Mount @@ -1108,7 +1140,7 @@ public Dofusdude.Api.Client.ApiResponse GetMountsSingleWithHttpInfo(strin /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Mount) @@ -1158,7 +1190,7 @@ public Dofusdude.Api.Client.ApiResponse GetMountsSingleWithHttpInfo(strin // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/mounts/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/mounts/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/QuestItemsApi.cs b/src/Dofusdude.Api/Api/QuestItemsApi.cs index bb594f2..e73868d 100644 --- a/src/Dofusdude.Api/Api/QuestItemsApi.cs +++ b/src/Dofusdude.Api/Api/QuestItemsApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,16 +35,15 @@ public interface IQuestItemsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetAllItemsQuestList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetAllItemsQuestList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List All Quest Items @@ -54,16 +53,15 @@ public interface IQuestItemsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetAllItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetAllItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Single Quest Items /// @@ -73,7 +71,7 @@ public interface IQuestItemsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Resource Resource GetItemQuestSingle(string language, int ankamaId, string game, int operationIndex = 0); @@ -87,7 +85,7 @@ public interface IQuestItemsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Resource ApiResponse GetItemQuestSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); @@ -99,18 +97,17 @@ public interface IQuestItemsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetItemsQuestList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetItemsQuestList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Quest Items @@ -120,18 +117,17 @@ public interface IQuestItemsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Quest Items /// @@ -140,7 +136,7 @@ public interface IQuestItemsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -148,8 +144,8 @@ public interface IQuestItemsApiSync : IApiAccessor /// maximum number of returned results (optional, default to 8) /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - List GetItemsQuestSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// List<ListItem> + List GetItemsQuestSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); /// /// Search Quest Items @@ -159,7 +155,7 @@ public interface IQuestItemsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -167,8 +163,8 @@ public interface IQuestItemsApiSync : IApiAccessor /// maximum number of returned results (optional, default to 8) /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - ApiResponse> GetItemsQuestSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of List<ListItem> + ApiResponse> GetItemsQuestSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); #endregion Synchronous Operations } @@ -186,17 +182,16 @@ public interface IQuestItemsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetAllItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetAllItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List All Quest Items @@ -206,17 +201,16 @@ public interface IQuestItemsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetAllItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetAllItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Quest Items /// @@ -226,7 +220,7 @@ public interface IQuestItemsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Resource @@ -241,7 +235,7 @@ public interface IQuestItemsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Resource) @@ -254,19 +248,18 @@ public interface IQuestItemsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Quest Items @@ -276,19 +269,18 @@ public interface IQuestItemsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Quest Items /// @@ -297,7 +289,7 @@ public interface IQuestItemsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -306,8 +298,8 @@ public interface IQuestItemsApiAsync : IApiAccessor /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - System.Threading.Tasks.Task> GetItemsQuestSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<ListItem> + System.Threading.Tasks.Task> GetItemsQuestSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Quest Items @@ -317,7 +309,7 @@ public interface IQuestItemsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -326,8 +318,8 @@ public interface IQuestItemsApiAsync : IApiAccessor /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - System.Threading.Tasks.Task>> GetItemsQuestSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<ListItem>) + System.Threading.Tasks.Task>> GetItemsQuestSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -453,18 +445,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetAllItemsQuestList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetAllItemsQuestList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsQuestListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsQuestListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); return localVarResponse.Data; } @@ -473,16 +464,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetAllItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetAllItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -524,10 +514,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -536,9 +522,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -550,7 +536,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/quest/all", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/quest/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllItemsQuestList", localVarResponse); @@ -568,19 +554,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetAllItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetAllItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsQuestListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsQuestListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -589,17 +574,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetAllItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetAllItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -642,10 +626,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -654,9 +634,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -668,7 +648,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/quest/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/quest/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -688,7 +668,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Resource public Resource GetItemQuestSingle(string language, int ankamaId, string game, int operationIndex = 0) @@ -703,7 +683,7 @@ public Resource GetItemQuestSingle(string language, int ankamaId, string game, i /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Resource public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) @@ -751,7 +731,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/quest/{ankama_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/quest/{ankama_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemQuestSingle", localVarResponse); @@ -770,7 +750,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Resource @@ -786,7 +766,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Resource) @@ -836,7 +816,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/quest/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/quest/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -855,20 +835,19 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetItemsQuestList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetItemsQuestList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsQuestListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsQuestListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); return localVarResponse.Data; } @@ -877,18 +856,17 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetItemsQuestListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -930,10 +908,6 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -954,9 +928,9 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "QuestItemsApi.GetItemsQuestList"; @@ -964,7 +938,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/quest", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/quest", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsQuestList", localVarResponse); @@ -982,21 +956,20 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetItemsQuestListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsQuestListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsQuestListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1005,19 +978,18 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetItemsQuestListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1060,10 +1032,6 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1084,9 +1052,9 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "QuestItemsApi.GetItemsQuestList"; @@ -1094,7 +1062,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/quest", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/quest", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1113,7 +1081,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -1121,10 +1089,10 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// maximum number of returned results (optional, default to 8) /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - public List GetItemsQuestSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// List<ListItem> + public List GetItemsQuestSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsQuestSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsQuestSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); return localVarResponse.Data; } @@ -1133,7 +1101,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -1141,8 +1109,8 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// maximum number of returned results (optional, default to 8) /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - public Dofusdude.Api.Client.ApiResponse> GetItemsQuestSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of List<ListItem> + public Dofusdude.Api.Client.ApiResponse> GetItemsQuestSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -1213,7 +1181,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/items/quest/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/items/quest/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsQuestSearch", localVarResponse); @@ -1231,7 +1199,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -1240,10 +1208,10 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - public async System.Threading.Tasks.Task> GetItemsQuestSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ListItem> + public async System.Threading.Tasks.Task> GetItemsQuestSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsQuestSearchWithHttpInfoAsync(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsQuestSearchWithHttpInfoAsync(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1252,7 +1220,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) @@ -1261,8 +1229,8 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - public async System.Threading.Tasks.Task>> GetItemsQuestSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ListItem>) + public async System.Threading.Tasks.Task>> GetItemsQuestSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1334,7 +1302,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemQuestSingleWithHttpInfo // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/items/quest/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/items/quest/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/ResourcesApi.cs b/src/Dofusdude.Api/Api/ResourcesApi.cs index 0ae7d57..51932e8 100644 --- a/src/Dofusdude.Api/Api/ResourcesApi.cs +++ b/src/Dofusdude.Api/Api/ResourcesApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,16 +35,15 @@ public interface IResourcesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetAllItemsResourcesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetAllItemsResourcesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List All Resources @@ -54,16 +53,15 @@ public interface IResourcesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetAllItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetAllItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Resources /// @@ -72,16 +70,15 @@ public interface IResourcesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - List GetItemsResourceSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// List<ListItem> + List GetItemsResourceSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Search Resources @@ -91,16 +88,15 @@ public interface IResourcesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - ApiResponse> GetItemsResourceSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of List<ListItem> + ApiResponse> GetItemsResourceSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Resources /// @@ -109,18 +105,17 @@ public interface IResourcesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - ItemsListPaged GetItemsResourcesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ListItems + ListItems GetItemsResourcesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// List Resources @@ -130,18 +125,17 @@ public interface IResourcesApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - ApiResponse GetItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0); + /// ApiResponse of ListItems + ApiResponse GetItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0); /// /// Single Resources /// @@ -151,7 +145,7 @@ public interface IResourcesApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Resource Resource GetItemsResourcesSingle(string language, int ankamaId, string game, int operationIndex = 0); @@ -165,7 +159,7 @@ public interface IResourcesApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Resource ApiResponse GetItemsResourcesSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); @@ -186,17 +180,16 @@ public interface IResourcesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetAllItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetAllItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List All Resources @@ -206,17 +199,16 @@ public interface IResourcesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetAllItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetAllItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Resources /// @@ -225,17 +217,16 @@ public interface IResourcesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - System.Threading.Tasks.Task> GetItemsResourceSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<ListItem> + System.Threading.Tasks.Task> GetItemsResourceSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Resources @@ -245,17 +236,16 @@ public interface IResourcesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - System.Threading.Tasks.Task>> GetItemsResourceSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<ListItem>) + System.Threading.Tasks.Task>> GetItemsResourceSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Resources /// @@ -264,19 +254,18 @@ public interface IResourcesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - System.Threading.Tasks.Task GetItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListItems + System.Threading.Tasks.Task GetItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Resources @@ -286,19 +275,18 @@ public interface IResourcesApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - System.Threading.Tasks.Task> GetItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListItems) + System.Threading.Tasks.Task> GetItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Resources /// @@ -308,7 +296,7 @@ public interface IResourcesApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Resource @@ -323,7 +311,7 @@ public interface IResourcesApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Resource) @@ -453,18 +441,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetAllItemsResourcesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetAllItemsResourcesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsResourcesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllItemsResourcesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId); return localVarResponse.Data; } @@ -473,16 +460,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetAllItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetAllItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -524,10 +510,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -536,9 +518,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -550,7 +532,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/resources/all", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/resources/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllItemsResourcesList", localVarResponse); @@ -568,19 +550,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetAllItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetAllItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsResourcesListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllItemsResourcesListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -589,17 +570,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// optional compression for saving bandwidth (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetAllItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetAllItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), string? acceptEncoding = default(string?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -642,10 +622,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -654,9 +630,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_level]", filterMaxLevel)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } if (acceptEncoding != null) { @@ -668,7 +644,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/resources/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/resources/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -687,18 +663,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// List<ItemListEntry> - public List GetItemsResourceSearch(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// List<ListItem> + public List GetItemsResourceSearch(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsResourceSearchWithHttpInfo(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetItemsResourceSearchWithHttpInfo(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId); return localVarResponse.Data; } @@ -707,16 +682,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of List<ItemListEntry> - public Dofusdude.Api.Client.ApiResponse> GetItemsResourceSearchWithHttpInfo(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of List<ListItem> + public Dofusdude.Api.Client.ApiResponse> GetItemsResourceSearchWithHttpInfo(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -761,10 +735,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -777,9 +747,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ResourcesApi.GetItemsResourceSearch"; @@ -787,7 +757,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/items/resources/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/items/resources/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsResourceSearch", localVarResponse); @@ -805,19 +775,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<ItemListEntry> - public async System.Threading.Tasks.Task> GetItemsResourceSearchAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ListItem> + public async System.Threading.Tasks.Task> GetItemsResourceSearchAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsResourceSearchWithHttpInfoAsync(language, game, query, filterTypeName, filterMinLevel, filterMaxLevel, limit, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetItemsResourceSearchWithHttpInfoAsync(language, game, query, filterMinLevel, filterMaxLevel, limit, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -826,17 +795,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// maximum number of returned results (optional, default to 8) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<ItemListEntry>) - public async System.Threading.Tasks.Task>> GetItemsResourceSearchWithHttpInfoAsync(string language, string game, string query, string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ListItem>) + public async System.Threading.Tasks.Task>> GetItemsResourceSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? limit = default(int?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -882,10 +850,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory localVarRequestOptions.PathParameters.Add("language", Dofusdude.Api.Client.ClientUtils.ParameterToString(language)); // path parameter localVarRequestOptions.PathParameters.Add("game", Dofusdude.Api.Client.ClientUtils.ParameterToString(game)); // path parameter localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "query", query)); - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -898,9 +862,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ResourcesApi.GetItemsResourceSearch"; @@ -908,7 +872,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/items/resources/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/items/resources/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -927,20 +891,19 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ItemsListPaged - public ItemsListPaged GetItemsResourcesList(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ListItems + public ListItems GetItemsResourcesList(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsResourcesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetItemsResourcesListWithHttpInfo(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId); return localVarResponse.Data; } @@ -949,18 +912,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. - /// ApiResponse of ItemsListPaged - public Dofusdude.Api.Client.ApiResponse GetItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0) + /// ApiResponse of ListItems + public Dofusdude.Api.Client.ApiResponse GetItemsResourcesListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -1002,10 +964,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1026,9 +984,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ResourcesApi.GetItemsResourcesList"; @@ -1036,7 +994,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/resources", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/resources", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsResourcesList", localVarResponse); @@ -1054,21 +1012,20 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ItemsListPaged - public async System.Threading.Tasks.Task GetItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListItems + public async System.Threading.Tasks.Task GetItemsResourcesListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsResourcesListWithHttpInfoAsync(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeEnum, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetItemsResourcesListWithHttpInfoAsync(language, game, sortLevel, filterMinLevel, filterMaxLevel, pageSize, pageNumber, fieldsItem, filterTypeNameId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1077,19 +1034,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) - /// only results with the translated type name (optional) /// only results which level is equal or above this value (optional) /// only results which level is equal or below this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) + /// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ItemsListPaged) - public async System.Threading.Tasks.Task> GetItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), string? filterTypeName = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeEnum = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListItems) + public async System.Threading.Tasks.Task> GetItemsResourcesListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinLevel = default(int?), int? filterMaxLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsItem = default(List?), List? filterTypeNameId = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1132,10 +1088,6 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "sort[level]", sortLevel)); } - if (filterTypeName != null) - { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[type_name]", filterTypeName)); - } if (filterMinLevel != null) { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[min_level]", filterMinLevel)); @@ -1156,9 +1108,9 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[item]", fieldsItem)); } - if (filterTypeEnum != null) + if (filterTypeNameId != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type_enum]", filterTypeEnum)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "filter[type.name_id]", filterTypeNameId)); } localVarRequestOptions.Operation = "ResourcesApi.GetItemsResourcesList"; @@ -1166,7 +1118,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/resources", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1186,7 +1138,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Resource public Resource GetItemsResourcesSingle(string language, int ankamaId, string game, int operationIndex = 0) @@ -1201,7 +1153,7 @@ public Resource GetItemsResourcesSingle(string language, int ankamaId, string ga /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// ApiResponse of Resource public Dofusdude.Api.Client.ApiResponse GetItemsResourcesSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) @@ -1249,7 +1201,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsResourcesSingleWithHtt // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/items/resources/{ankama_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/items/resources/{ankama_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetItemsResourcesSingle", localVarResponse); @@ -1268,7 +1220,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsResourcesSingleWithHtt /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Resource @@ -1284,7 +1236,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsResourcesSingleWithHtt /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Resource) @@ -1334,7 +1286,7 @@ public Dofusdude.Api.Client.ApiResponse GetItemsResourcesSingleWithHtt // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/items/resources/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/items/resources/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/SetsApi.cs b/src/Dofusdude.Api/Api/SetsApi.cs index c66b801..e343b6a 100644 --- a/src/Dofusdude.Api/Api/SetsApi.cs +++ b/src/Dofusdude.Api/Api/SetsApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,15 +35,16 @@ public interface ISetsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// SetsListPaged - SetsListPaged GetAllSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); + /// ListSets + ListSets GetAllSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0); /// /// List All Sets @@ -53,15 +54,16 @@ public interface ISetsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// ApiResponse of SetsListPaged - ApiResponse GetAllSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); + /// ApiResponse of ListSets + ApiResponse GetAllSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0); /// /// List Sets /// @@ -70,17 +72,18 @@ public interface ISetsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// SetsListPaged - SetsListPaged GetSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); + /// ListSets + ListSets GetSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0); /// /// List Sets @@ -90,17 +93,18 @@ public interface ISetsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// ApiResponse of SetsListPaged - ApiResponse GetSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); + /// ApiResponse of ListSets + ApiResponse GetSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0); /// /// Search Sets /// @@ -109,15 +113,15 @@ public interface ISetsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// maximum number of returned results (optional, default to 8) /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. - /// List<SetListEntry> - List GetSetsSearch(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); + /// List<ListSet> + List GetSetsSearch(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); /// /// Search Sets @@ -127,15 +131,15 @@ public interface ISetsApiSync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// maximum number of returned results (optional, default to 8) /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. - /// ApiResponse of List<SetListEntry> - ApiResponse> GetSetsSearchWithHttpInfo(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); + /// ApiResponse of List<ListSet> + ApiResponse> GetSetsSearchWithHttpInfo(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0); /// /// Single Sets /// @@ -145,10 +149,10 @@ public interface ISetsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. - /// EquipmentSet - EquipmentSet GetSetsSingle(string language, int ankamaId, string game, int operationIndex = 0); + /// Set + Set GetSetsSingle(string language, int ankamaId, string game, int operationIndex = 0); /// /// Single Sets @@ -159,10 +163,10 @@ public interface ISetsApiSync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. - /// ApiResponse of EquipmentSet - ApiResponse GetSetsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); + /// ApiResponse of Set + ApiResponse GetSetsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0); #endregion Synchronous Operations } @@ -180,16 +184,17 @@ public interface ISetsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of SetsListPaged - System.Threading.Tasks.Task GetAllSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListSets + System.Threading.Tasks.Task GetAllSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List All Sets @@ -199,16 +204,17 @@ public interface ISetsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (SetsListPaged) - System.Threading.Tasks.Task> GetAllSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListSets) + System.Threading.Tasks.Task> GetAllSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Sets /// @@ -217,18 +223,19 @@ public interface ISetsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of SetsListPaged - System.Threading.Tasks.Task GetSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ListSets + System.Threading.Tasks.Task GetSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// List Sets @@ -238,18 +245,19 @@ public interface ISetsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (SetsListPaged) - System.Threading.Tasks.Task> GetSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (ListSets) + System.Threading.Tasks.Task> GetSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Sets /// @@ -258,7 +266,7 @@ public interface ISetsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) @@ -266,8 +274,8 @@ public interface ISetsApiAsync : IApiAccessor /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<SetListEntry> - System.Threading.Tasks.Task> GetSetsSearchAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of List<ListSet> + System.Threading.Tasks.Task> GetSetsSearchAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Search Sets @@ -277,7 +285,7 @@ public interface ISetsApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) @@ -285,8 +293,8 @@ public interface ISetsApiAsync : IApiAccessor /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<SetListEntry>) - System.Threading.Tasks.Task>> GetSetsSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (List<ListSet>) + System.Threading.Tasks.Task>> GetSetsSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Sets /// @@ -296,11 +304,11 @@ public interface ISetsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of EquipmentSet - System.Threading.Tasks.Task GetSetsSingleAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of Set + System.Threading.Tasks.Task GetSetsSingleAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Single Sets @@ -311,11 +319,11 @@ public interface ISetsApiAsync : IApiAccessor /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (EquipmentSet) - System.Threading.Tasks.Task> GetSetsSingleWithHttpInfoAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + /// Task of ApiResponse (Set) + System.Threading.Tasks.Task> GetSetsSingleWithHttpInfoAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -441,17 +449,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// SetsListPaged - public SetsListPaged GetAllSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) + /// ListSets + public ListSets GetAllSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterIsCosmetic); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetAllSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterContainsCosmeticsOnly, filterContainsCosmetics); return localVarResponse.Data; } @@ -460,15 +469,16 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// ApiResponse of SetsListPaged - public Dofusdude.Api.Client.ApiResponse GetAllSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) + /// ApiResponse of ListSets + public Dofusdude.Api.Client.ApiResponse GetAllSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -518,9 +528,13 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_highest_equipment_level]", filterMaxHighestEquipmentLevel)); } - if (filterIsCosmetic != null) + if (filterContainsCosmeticsOnly != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[is_cosmetic]", filterIsCosmetic)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics_only]", filterContainsCosmeticsOnly)); + } + if (filterContainsCosmetics != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics]", filterContainsCosmetics)); } if (acceptEncoding != null) { @@ -532,7 +546,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/sets/all", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/sets/all", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetAllSetsList", localVarResponse); @@ -550,18 +564,19 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of SetsListPaged - public async System.Threading.Tasks.Task GetAllSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListSets + public async System.Threading.Tasks.Task GetAllSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllSetsListWithHttpInfoAsync(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterIsCosmetic, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetAllSetsListWithHttpInfoAsync(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, acceptEncoding, filterContainsCosmeticsOnly, filterContainsCosmetics, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -570,16 +585,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// optional compression for saving bandwidth (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (SetsListPaged) - public async System.Threading.Tasks.Task> GetAllSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListSets) + public async System.Threading.Tasks.Task> GetAllSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), string? acceptEncoding = default(string?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -630,9 +646,13 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[max_highest_equipment_level]", filterMaxHighestEquipmentLevel)); } - if (filterIsCosmetic != null) + if (filterContainsCosmeticsOnly != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[is_cosmetic]", filterIsCosmetic)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics_only]", filterContainsCosmeticsOnly)); + } + if (filterContainsCosmetics != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics]", filterContainsCosmetics)); } if (acceptEncoding != null) { @@ -644,7 +664,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/sets/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/sets/all", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -663,19 +683,20 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// SetsListPaged - public SetsListPaged GetSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) + /// ListSets + public ListSets GetSetsList(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterIsCosmetic); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetSetsListWithHttpInfo(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterContainsCosmeticsOnly, filterContainsCosmetics); return localVarResponse.Data; } @@ -684,17 +705,18 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. - /// ApiResponse of SetsListPaged - public Dofusdude.Api.Client.ApiResponse GetSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) + /// ApiResponse of ListSets + public Dofusdude.Api.Client.ApiResponse GetSetsListWithHttpInfo(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -756,9 +778,13 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[set]", fieldsSet)); } - if (filterIsCosmetic != null) + if (filterContainsCosmeticsOnly != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[is_cosmetic]", filterIsCosmetic)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics_only]", filterContainsCosmeticsOnly)); + } + if (filterContainsCosmetics != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics]", filterContainsCosmetics)); } localVarRequestOptions.Operation = "SetsApi.GetSetsList"; @@ -766,7 +792,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/sets", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/sets", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetSetsList", localVarResponse); @@ -784,20 +810,21 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of SetsListPaged - public async System.Threading.Tasks.Task GetSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ListSets + public async System.Threading.Tasks.Task GetSetsListAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetSetsListWithHttpInfoAsync(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterIsCosmetic, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetSetsListWithHttpInfoAsync(language, game, sortLevel, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, pageSize, pageNumber, fieldsSet, filterContainsCosmeticsOnly, filterContainsCosmetics, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -806,18 +833,19 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// sort the resulting list by level, default unsorted (optional) /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// size of the results from the list. -1 disables pagination and gets all in one response. (optional) /// page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) /// adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) - /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) + /// filter sets based on if they got cosmetic items in it. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (SetsListPaged) - public async System.Threading.Tasks.Task> GetSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (ListSets) + public async System.Threading.Tasks.Task> GetSetsListWithHttpInfoAsync(string language, string game, string? sortLevel = default(string?), int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? pageSize = default(int?), int? pageNumber = default(int?), List? fieldsSet = default(List?), bool? filterContainsCosmeticsOnly = default(bool?), bool? filterContainsCosmetics = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -880,9 +908,13 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory { localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("csv", "fields[set]", fieldsSet)); } - if (filterIsCosmetic != null) + if (filterContainsCosmeticsOnly != null) { - localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[is_cosmetic]", filterIsCosmetic)); + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics_only]", filterContainsCosmeticsOnly)); + } + if (filterContainsCosmetics != null) + { + localVarRequestOptions.QueryParameters.Add(Dofusdude.Api.Client.ClientUtils.ParameterToMultiMap("", "filter[contains_cosmetics]", filterContainsCosmetics)); } localVarRequestOptions.Operation = "SetsApi.GetSetsList"; @@ -890,7 +922,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/sets", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/sets", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -909,17 +941,17 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// maximum number of returned results (optional, default to 8) /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. - /// List<SetListEntry> - public List GetSetsSearch(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) + /// List<ListSet> + public List GetSetsSearch(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = GetSetsSearchWithHttpInfo(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic); + Dofusdude.Api.Client.ApiResponse> localVarResponse = GetSetsSearchWithHttpInfo(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic); return localVarResponse.Data; } @@ -928,15 +960,15 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) /// maximum number of returned results (optional, default to 8) /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. - /// ApiResponse of List<SetListEntry> - public Dofusdude.Api.Client.ApiResponse> GetSetsSearchWithHttpInfo(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) + /// ApiResponse of List<ListSet> + public Dofusdude.Api.Client.ApiResponse> GetSetsSearchWithHttpInfo(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -1003,7 +1035,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = this.Client.Get>("/{game}/{language}/sets/search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/{game}/v1/{language}/sets/search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetSetsSearch", localVarResponse); @@ -1021,7 +1053,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) @@ -1029,10 +1061,10 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<SetListEntry> - public async System.Threading.Tasks.Task> GetSetsSearchAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ListSet> + public async System.Threading.Tasks.Task> GetSetsSearchAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetSetsSearchWithHttpInfoAsync(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse> localVarResponse = await GetSetsSearchWithHttpInfoAsync(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1041,7 +1073,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// /// Thrown when fails to make API call /// a valid language code - /// + /// dofus3 | dofus3beta /// case sensitive search query /// only results where the equipment with the highest level is above or equal to this value (optional) /// only results where the equipment with the highest level is below or equal to this value (optional) @@ -1049,8 +1081,8 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<SetListEntry>) - public async System.Threading.Tasks.Task>> GetSetsSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ListSet>) + public async System.Threading.Tasks.Task>> GetSetsSearchWithHttpInfoAsync(string language, string game, string query, int? filterMinHighestEquipmentLevel = default(int?), int? filterMaxHighestEquipmentLevel = default(int?), int? limit = default(int?), bool? filterIsCosmetic = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1118,7 +1150,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/{language}/sets/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/{game}/v1/{language}/sets/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1138,12 +1170,12 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. - /// EquipmentSet - public EquipmentSet GetSetsSingle(string language, int ankamaId, string game, int operationIndex = 0) + /// Set + public Set GetSetsSingle(string language, int ankamaId, string game, int operationIndex = 0) { - Dofusdude.Api.Client.ApiResponse localVarResponse = GetSetsSingleWithHttpInfo(language, ankamaId, game); + Dofusdude.Api.Client.ApiResponse localVarResponse = GetSetsSingleWithHttpInfo(language, ankamaId, game); return localVarResponse.Data; } @@ -1153,10 +1185,10 @@ public EquipmentSet GetSetsSingle(string language, int ankamaId, string game, in /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. - /// ApiResponse of EquipmentSet - public Dofusdude.Api.Client.ApiResponse GetSetsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) + /// ApiResponse of Set + public Dofusdude.Api.Client.ApiResponse GetSetsSingleWithHttpInfo(string language, int ankamaId, string game, int operationIndex = 0) { // verify the required parameter 'language' is set if (language == null) @@ -1201,7 +1233,7 @@ public Dofusdude.Api.Client.ApiResponse GetSetsSingleWithHttpInfo( // make the HTTP request - var localVarResponse = this.Client.Get("/{game}/{language}/sets/{ankama_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/{game}/v1/{language}/sets/{ankama_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetSetsSingle", localVarResponse); @@ -1220,13 +1252,13 @@ public Dofusdude.Api.Client.ApiResponse GetSetsSingleWithHttpInfo( /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of EquipmentSet - public async System.Threading.Tasks.Task GetSetsSingleAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of Set + public async System.Threading.Tasks.Task GetSetsSingleAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Dofusdude.Api.Client.ApiResponse localVarResponse = await GetSetsSingleWithHttpInfoAsync(language, ankamaId, game, operationIndex, cancellationToken).ConfigureAwait(false); + Dofusdude.Api.Client.ApiResponse localVarResponse = await GetSetsSingleWithHttpInfoAsync(language, ankamaId, game, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1236,11 +1268,11 @@ public Dofusdude.Api.Client.ApiResponse GetSetsSingleWithHttpInfo( /// Thrown when fails to make API call /// a valid language code /// identifier - /// + /// dofus3 | dofus3beta /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (EquipmentSet) - public async System.Threading.Tasks.Task> GetSetsSingleWithHttpInfoAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (Set) + public async System.Threading.Tasks.Task> GetSetsSingleWithHttpInfoAsync(string language, int ankamaId, string game, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'language' is set if (language == null) @@ -1286,7 +1318,7 @@ public Dofusdude.Api.Client.ApiResponse GetSetsSingleWithHttpInfo( // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/{language}/sets/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/{game}/v1/{language}/sets/{ankama_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { diff --git a/src/Dofusdude.Api/Api/WebhooksApi.cs b/src/Dofusdude.Api/Api/WebhooksApi.cs index 66d8771..7fa21a4 100644 --- a/src/Dofusdude.Api/Api/WebhooksApi.cs +++ b/src/Dofusdude.Api/Api/WebhooksApi.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -34,7 +34,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// void DeleteWebhooksAlmanaxId(string id, int operationIndex = 0); @@ -46,7 +46,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of Object(void) ApiResponse DeleteWebhooksAlmanaxIdWithHttpInfo(string id, int operationIndex = 0); @@ -57,7 +57,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// void DeleteWebhooksRssId(string id, int operationIndex = 0); @@ -69,7 +69,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of Object(void) ApiResponse DeleteWebhooksRssIdWithHttpInfo(string id, int operationIndex = 0); @@ -80,7 +80,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// void DeleteWebhooksTwitterId(string id, int operationIndex = 0); @@ -92,7 +92,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of Object(void) ApiResponse DeleteWebhooksTwitterIdWithHttpInfo(string id, int operationIndex = 0); @@ -166,7 +166,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// AlmanaxWebhook AlmanaxWebhook GetWebhooksAlmanaxId(string id, int operationIndex = 0); @@ -178,7 +178,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of AlmanaxWebhook ApiResponse GetWebhooksAlmanaxIdWithHttpInfo(string id, int operationIndex = 0); @@ -189,7 +189,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// RssWebhook RssWebhook GetWebhooksRssId(string id, int operationIndex = 0); @@ -201,7 +201,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of RssWebhook ApiResponse GetWebhooksRssIdWithHttpInfo(string id, int operationIndex = 0); @@ -212,7 +212,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// TwitterWebhook TwitterWebhook GetWebhooksTwitterId(string id, int operationIndex = 0); @@ -224,7 +224,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of TwitterWebhook ApiResponse GetWebhooksTwitterIdWithHttpInfo(string id, int operationIndex = 0); @@ -304,7 +304,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// AlmanaxWebhook @@ -317,7 +317,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// ApiResponse of AlmanaxWebhook @@ -329,7 +329,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// RssWebhook @@ -342,7 +342,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// ApiResponse of RssWebhook @@ -354,7 +354,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// TwitterWebhook @@ -367,7 +367,7 @@ public interface IWebhooksApiSync : IApiAccessor /// Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// ApiResponse of TwitterWebhook @@ -388,7 +388,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -401,7 +401,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -413,7 +413,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -426,7 +426,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -438,7 +438,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -451,7 +451,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -532,7 +532,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of AlmanaxWebhook @@ -545,7 +545,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (AlmanaxWebhook) @@ -557,7 +557,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of RssWebhook @@ -570,7 +570,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (RssWebhook) @@ -582,7 +582,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of TwitterWebhook @@ -595,7 +595,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (TwitterWebhook) @@ -682,7 +682,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -696,7 +696,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -709,7 +709,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -723,7 +723,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -736,7 +736,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -750,7 +750,7 @@ public interface IWebhooksApiAsync : IApiAccessor /// Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -880,7 +880,7 @@ public Dofusdude.Api.Client.ExceptionFactory ExceptionFactory /// Unregister Almanax Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// public void DeleteWebhooksAlmanaxId(string id, int operationIndex = 0) @@ -892,7 +892,7 @@ public void DeleteWebhooksAlmanaxId(string id, int operationIndex = 0) /// Unregister Almanax Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of Object(void) public Dofusdude.Api.Client.ApiResponse DeleteWebhooksAlmanaxIdWithHttpInfo(string id, int operationIndex = 0) @@ -948,7 +948,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksAlmanaxIdWithHttpI /// Unregister Almanax Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -961,7 +961,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksAlmanaxIdWithHttpI /// Unregister Almanax Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1020,7 +1020,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksAlmanaxIdWithHttpI /// Unregister RSS Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// public void DeleteWebhooksRssId(string id, int operationIndex = 0) @@ -1032,7 +1032,7 @@ public void DeleteWebhooksRssId(string id, int operationIndex = 0) /// Unregister RSS Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of Object(void) public Dofusdude.Api.Client.ApiResponse DeleteWebhooksRssIdWithHttpInfo(string id, int operationIndex = 0) @@ -1088,7 +1088,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksRssIdWithHttpInfo( /// Unregister RSS Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -1101,7 +1101,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksRssIdWithHttpInfo( /// Unregister RSS Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1160,7 +1160,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksRssIdWithHttpInfo( /// Unregister Twitter Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// public void DeleteWebhooksTwitterId(string id, int operationIndex = 0) @@ -1172,7 +1172,7 @@ public void DeleteWebhooksTwitterId(string id, int operationIndex = 0) /// Unregister Twitter Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of Object(void) public Dofusdude.Api.Client.ApiResponse DeleteWebhooksTwitterIdWithHttpInfo(string id, int operationIndex = 0) @@ -1228,7 +1228,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksTwitterIdWithHttpI /// Unregister Twitter Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -1241,7 +1241,7 @@ public Dofusdude.Api.Client.ApiResponse DeleteWebhooksTwitterIdWithHttpI /// Unregister Twitter Hook Delete a Webhook from the service. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1678,7 +1678,7 @@ public Dofusdude.Api.Client.ApiResponse GetMe /// Get Almanax Hook Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// AlmanaxWebhook public AlmanaxWebhook GetWebhooksAlmanaxId(string id, int operationIndex = 0) @@ -1691,7 +1691,7 @@ public AlmanaxWebhook GetWebhooksAlmanaxId(string id, int operationIndex = 0) /// Get Almanax Hook Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of AlmanaxWebhook public Dofusdude.Api.Client.ApiResponse GetWebhooksAlmanaxIdWithHttpInfo(string id, int operationIndex = 0) @@ -1748,7 +1748,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksAlmanaxIdWith /// Get Almanax Hook Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of AlmanaxWebhook @@ -1762,7 +1762,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksAlmanaxIdWith /// Get Almanax Hook Retrieve details about an existing Almanax Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (AlmanaxWebhook) @@ -1822,7 +1822,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksAlmanaxIdWith /// Get RSS Hook Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// RssWebhook public RssWebhook GetWebhooksRssId(string id, int operationIndex = 0) @@ -1835,7 +1835,7 @@ public RssWebhook GetWebhooksRssId(string id, int operationIndex = 0) /// Get RSS Hook Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of RssWebhook public Dofusdude.Api.Client.ApiResponse GetWebhooksRssIdWithHttpInfo(string id, int operationIndex = 0) @@ -1892,7 +1892,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksRssIdWithHttpInfo /// Get RSS Hook Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of RssWebhook @@ -1906,7 +1906,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksRssIdWithHttpInfo /// Get RSS Hook Retrieve details about an existing RSS Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (RssWebhook) @@ -1966,7 +1966,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksRssIdWithHttpInfo /// Get Twitter Hook Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// TwitterWebhook public TwitterWebhook GetWebhooksTwitterId(string id, int operationIndex = 0) @@ -1979,7 +1979,7 @@ public TwitterWebhook GetWebhooksTwitterId(string id, int operationIndex = 0) /// Get Twitter Hook Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// ApiResponse of TwitterWebhook public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWithHttpInfo(string id, int operationIndex = 0) @@ -2036,7 +2036,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Get Twitter Hook Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of TwitterWebhook @@ -2050,7 +2050,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Get Twitter Hook Retrieve details about an existing Twitter Webhook with a given uuid. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (TwitterWebhook) @@ -2500,7 +2500,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Almanax Hook Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// AlmanaxWebhook @@ -2514,7 +2514,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Almanax Hook Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// ApiResponse of AlmanaxWebhook @@ -2574,7 +2574,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Almanax Hook Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2589,7 +2589,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Almanax Hook Update the details of an Almanax Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2652,7 +2652,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update RSS Hook Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// RssWebhook @@ -2666,7 +2666,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update RSS Hook Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// ApiResponse of RssWebhook @@ -2726,7 +2726,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update RSS Hook Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2741,7 +2741,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update RSS Hook Update the details of a RSS Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2804,7 +2804,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Twitter Hook Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// TwitterWebhook @@ -2818,7 +2818,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Twitter Hook Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// ApiResponse of TwitterWebhook @@ -2878,7 +2878,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Twitter Hook Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2893,7 +2893,7 @@ public Dofusdude.Api.Client.ApiResponse GetWebhooksTwitterIdWith /// Update Twitter Hook Update the details of a Twitter Webhook. All fields are optional and arrays will be overwritten, so always put all selected items of an array. /// /// Thrown when fails to make API call - /// + /// the ID returned from the API when creating the webhook /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. diff --git a/src/Dofusdude.Api/Client/ApiClient.cs b/src/Dofusdude.Api/Client/ApiClient.cs index d085451..817f814 100644 --- a/src/Dofusdude.Api/Client/ApiClient.cs +++ b/src/Dofusdude.Api/Client/ApiClient.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -110,7 +110,7 @@ internal object Deserialize(RestResponse response, Type type) if (response.Headers != null) { var filePath = string.IsNullOrEmpty(_configuration.TempFolderPath) - ? Path.GetTempPath() + ? global::System.IO.Path.GetTempPath() : _configuration.TempFolderPath; var regex = new Regex(@"Content-Disposition=.*filename=['""]?([^'""\s]+)['""]?$"); foreach (var header in response.Headers) @@ -377,7 +377,7 @@ private RestRequest NewRequest( var bytes = ClientUtils.ReadAsBytes(file); var fileStream = file as FileStream; if (fileStream != null) - request.AddFile(fileParam.Key, bytes, Path.GetFileName(fileStream.Name)); + request.AddFile(fileParam.Key, bytes, global::System.IO.Path.GetFileName(fileStream.Name)); else request.AddFile(fileParam.Key, bytes, "no_file_name_provided"); } @@ -455,7 +455,7 @@ private async Task> ExecClientAsync(Func /// Version of the package. - public const string Version = "0.9.4"; + public const string Version = "1.0.0-rc.2"; /// /// Identifier for ISO 8601 DateTime Format @@ -118,7 +118,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/0.9.4/csharp"); + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.0.0-rc.2/csharp"); BasePath = "https://api.dofusdu.de"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -137,7 +137,7 @@ public Configuration() }; // Setting Timeout has side effects (forces ApiClient creation). - Timeout = 100000; + Timeout = TimeSpan.FromSeconds(100); } /// @@ -221,9 +221,9 @@ public virtual IDictionary DefaultHeader public virtual IDictionary DefaultHeaders { get; set; } /// - /// Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. + /// Gets or sets the HTTP timeout of ApiClient. Defaults to 100 seconds. /// - public virtual int Timeout { get; set; } + public virtual TimeSpan Timeout { get; set; } /// /// Gets or sets the proxy @@ -540,8 +540,8 @@ public static string ToDebugReport() string report = "C# SDK (Dofusdude.Api) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 0.9.4\n"; - report += " SDK Package Version: 0.9.4\n"; + report += " Version of the API: 1.0.0-rc.2\n"; + report += " SDK Package Version: 1.0.0-rc.2\n"; return report; } diff --git a/src/Dofusdude.Api/Client/ExceptionFactory.cs b/src/Dofusdude.Api/Client/ExceptionFactory.cs index 426fc50..f6349a6 100644 --- a/src/Dofusdude.Api/Client/ExceptionFactory.cs +++ b/src/Dofusdude.Api/Client/ExceptionFactory.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/GlobalConfiguration.cs b/src/Dofusdude.Api/Client/GlobalConfiguration.cs index ee923e0..31f9f7e 100644 --- a/src/Dofusdude.Api/Client/GlobalConfiguration.cs +++ b/src/Dofusdude.Api/Client/GlobalConfiguration.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/HttpMethod.cs b/src/Dofusdude.Api/Client/HttpMethod.cs index e5c87ef..8d54d78 100644 --- a/src/Dofusdude.Api/Client/HttpMethod.cs +++ b/src/Dofusdude.Api/Client/HttpMethod.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/IApiAccessor.cs b/src/Dofusdude.Api/Client/IApiAccessor.cs index 165524b..3919afb 100644 --- a/src/Dofusdude.Api/Client/IApiAccessor.cs +++ b/src/Dofusdude.Api/Client/IApiAccessor.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/IAsynchronousClient.cs b/src/Dofusdude.Api/Client/IAsynchronousClient.cs index fc58299..4a37f79 100644 --- a/src/Dofusdude.Api/Client/IAsynchronousClient.cs +++ b/src/Dofusdude.Api/Client/IAsynchronousClient.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/IReadableConfiguration.cs b/src/Dofusdude.Api/Client/IReadableConfiguration.cs index 5cc981e..880092e 100644 --- a/src/Dofusdude.Api/Client/IReadableConfiguration.cs +++ b/src/Dofusdude.Api/Client/IReadableConfiguration.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -72,10 +72,10 @@ public interface IReadableConfiguration string TempFolderPath { get; } /// - /// Gets the HTTP connection timeout (in milliseconds) + /// Gets the HTTP connection timeout. /// /// HTTP connection timeout. - int Timeout { get; } + TimeSpan Timeout { get; } /// /// Gets the proxy. diff --git a/src/Dofusdude.Api/Client/ISynchronousClient.cs b/src/Dofusdude.Api/Client/ISynchronousClient.cs index 5c7ab26..c7505cf 100644 --- a/src/Dofusdude.Api/Client/ISynchronousClient.cs +++ b/src/Dofusdude.Api/Client/ISynchronousClient.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/Multimap.cs b/src/Dofusdude.Api/Client/Multimap.cs index b3792cf..15289be 100644 --- a/src/Dofusdude.Api/Client/Multimap.cs +++ b/src/Dofusdude.Api/Client/Multimap.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/OpenAPIDateConverter.cs b/src/Dofusdude.Api/Client/OpenAPIDateConverter.cs index c6ff861..eb5361e 100644 --- a/src/Dofusdude.Api/Client/OpenAPIDateConverter.cs +++ b/src/Dofusdude.Api/Client/OpenAPIDateConverter.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/RequestOptions.cs b/src/Dofusdude.Api/Client/RequestOptions.cs index af6eb54..04f9115 100644 --- a/src/Dofusdude.Api/Client/RequestOptions.cs +++ b/src/Dofusdude.Api/Client/RequestOptions.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Client/RetryConfiguration.cs b/src/Dofusdude.Api/Client/RetryConfiguration.cs index 824e801..15880b0 100644 --- a/src/Dofusdude.Api/Client/RetryConfiguration.cs +++ b/src/Dofusdude.Api/Client/RetryConfiguration.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Dofusdude.Api.csproj b/src/Dofusdude.Api/Dofusdude.Api.csproj index 0445940..a6dd6eb 100644 --- a/src/Dofusdude.Api/Dofusdude.Api.csproj +++ b/src/Dofusdude.Api/Dofusdude.Api.csproj @@ -12,7 +12,7 @@ A project for you - the developer. No Copyright Dofusdude.Api - 0.9.4 + 1.0.0-rc.2 bin\$(Configuration)\$(TargetFramework)\Dofusdude.Api.xml https://github.com/dofusdude/dofusdude-csharp.git git diff --git a/src/Dofusdude.Api/Model/AbstractOpenAPISchema.cs b/src/Dofusdude.Api/Model/AbstractOpenAPISchema.cs index 7880854..138bed3 100644 --- a/src/Dofusdude.Api/Model/AbstractOpenAPISchema.cs +++ b/src/Dofusdude.Api/Model/AbstractOpenAPISchema.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/AlmanaxEntry.cs b/src/Dofusdude.Api/Model/Almanax.cs similarity index 54% rename from src/Dofusdude.Api/Model/AlmanaxEntry.cs rename to src/Dofusdude.Api/Model/Almanax.cs index 570e05e..4f2881a 100644 --- a/src/Dofusdude.Api/Model/AlmanaxEntry.cs +++ b/src/Dofusdude.Api/Model/Almanax.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,19 +27,19 @@ namespace Dofusdude.Api.Model { /// - /// AlmanaxEntry + /// Almanax /// - [DataContract(Name = "Almanax-Entry")] - public partial class AlmanaxEntry : IValidatableObject + [DataContract(Name = "Almanax")] + public partial class Almanax : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// bonus. /// date. /// tribute. /// Amount of Kamas you get as reward for finishing this Almanax quest.. - public AlmanaxEntry(AlmanaxEntryBonus bonus = default(AlmanaxEntryBonus), string date = default(string), AlmanaxEntryTribute tribute = default(AlmanaxEntryTribute), int? rewardKamas = default(int?)) + public Almanax(AlmanaxBonus bonus = default(AlmanaxBonus), string date = default(string), AlmanaxTribute tribute = default(AlmanaxTribute), int? rewardKamas = default(int?)) { this.Bonus = bonus; this.Date = date; @@ -51,7 +51,7 @@ public partial class AlmanaxEntry : IValidatableObject /// Gets or Sets Bonus /// [DataMember(Name = "bonus", EmitDefaultValue = false)] - public AlmanaxEntryBonus Bonus { get; set; } + public AlmanaxBonus Bonus { get; set; } /// /// Gets or Sets Date @@ -63,7 +63,7 @@ public partial class AlmanaxEntry : IValidatableObject /// Gets or Sets Tribute /// [DataMember(Name = "tribute", EmitDefaultValue = false)] - public AlmanaxEntryTribute Tribute { get; set; } + public AlmanaxTribute Tribute { get; set; } /// /// Amount of Kamas you get as reward for finishing this Almanax quest. @@ -79,7 +79,7 @@ public partial class AlmanaxEntry : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class AlmanaxEntry {\n"); + sb.Append("class Almanax {\n"); sb.Append(" Bonus: ").Append(Bonus).Append("\n"); sb.Append(" Date: ").Append(Date).Append("\n"); sb.Append(" Tribute: ").Append(Tribute).Append("\n"); diff --git a/src/Dofusdude.Api/Model/AlmanaxBonus.cs b/src/Dofusdude.Api/Model/AlmanaxBonus.cs new file mode 100644 index 0000000..e0708eb --- /dev/null +++ b/src/Dofusdude.Api/Model/AlmanaxBonus.cs @@ -0,0 +1,92 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// AlmanaxBonus + /// + [DataContract(Name = "Almanax_bonus")] + public partial class AlmanaxBonus : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// description. + /// type. + public AlmanaxBonus(string description = default(string), GetMetaAlmanaxBonuses200ResponseInner type = default(GetMetaAlmanaxBonuses200ResponseInner)) + { + this.Description = description; + this.Type = type; + } + + /// + /// Gets or Sets Description + /// + [DataMember(Name = "description", EmitDefaultValue = false)] + public string Description { get; set; } + + /// + /// Gets or Sets Type + /// + [DataMember(Name = "type", EmitDefaultValue = false)] + public GetMetaAlmanaxBonuses200ResponseInner Type { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class AlmanaxBonus {\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/AlmanaxEntryBonus.cs b/src/Dofusdude.Api/Model/AlmanaxEntryBonus.cs deleted file mode 100644 index 5d5d7ac..0000000 --- a/src/Dofusdude.Api/Model/AlmanaxEntryBonus.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// AlmanaxEntryBonus - /// - [DataContract(Name = "Almanax_Entry_bonus")] - public partial class AlmanaxEntryBonus : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// description. - /// type. - public AlmanaxEntryBonus(string description = default(string), GetMetaAlmanaxBonuses200ResponseInner type = default(GetMetaAlmanaxBonuses200ResponseInner)) - { - this.Description = description; - this.Type = type; - } - - /// - /// Gets or Sets Description - /// - [DataMember(Name = "description", EmitDefaultValue = false)] - public string Description { get; set; } - - /// - /// Gets or Sets Type - /// - [DataMember(Name = "type", EmitDefaultValue = false)] - public GetMetaAlmanaxBonuses200ResponseInner Type { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class AlmanaxEntryBonus {\n"); - sb.Append(" Description: ").Append(Description).Append("\n"); - sb.Append(" Type: ").Append(Type).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/AlmanaxEntryTribute.cs b/src/Dofusdude.Api/Model/AlmanaxEntryTribute.cs deleted file mode 100644 index 823956d..0000000 --- a/src/Dofusdude.Api/Model/AlmanaxEntryTribute.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// AlmanaxEntryTribute - /// - [DataContract(Name = "Almanax_Entry_tribute")] - public partial class AlmanaxEntryTribute : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// item. - /// quantity. - public AlmanaxEntryTribute(AlmanaxEntryTributeItem item = default(AlmanaxEntryTributeItem), int quantity = default(int)) - { - this.Item = item; - this.Quantity = quantity; - } - - /// - /// Gets or Sets Item - /// - [DataMember(Name = "item", EmitDefaultValue = false)] - public AlmanaxEntryTributeItem Item { get; set; } - - /// - /// Gets or Sets Quantity - /// - [DataMember(Name = "quantity", EmitDefaultValue = false)] - public int Quantity { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class AlmanaxEntryTribute {\n"); - sb.Append(" Item: ").Append(Item).Append("\n"); - sb.Append(" Quantity: ").Append(Quantity).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/AlmanaxTribute.cs b/src/Dofusdude.Api/Model/AlmanaxTribute.cs new file mode 100644 index 0000000..ccc5467 --- /dev/null +++ b/src/Dofusdude.Api/Model/AlmanaxTribute.cs @@ -0,0 +1,92 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// AlmanaxTribute + /// + [DataContract(Name = "Almanax_tribute")] + public partial class AlmanaxTribute : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// item. + /// quantity. + public AlmanaxTribute(AlmanaxTributeItem item = default(AlmanaxTributeItem), int quantity = default(int)) + { + this.Item = item; + this.Quantity = quantity; + } + + /// + /// Gets or Sets Item + /// + [DataMember(Name = "item", EmitDefaultValue = false)] + public AlmanaxTributeItem Item { get; set; } + + /// + /// Gets or Sets Quantity + /// + [DataMember(Name = "quantity", EmitDefaultValue = false)] + public int Quantity { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class AlmanaxTribute {\n"); + sb.Append(" Item: ").Append(Item).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/AlmanaxEntryTributeItem.cs b/src/Dofusdude.Api/Model/AlmanaxTributeItem.cs similarity index 54% rename from src/Dofusdude.Api/Model/AlmanaxEntryTributeItem.cs rename to src/Dofusdude.Api/Model/AlmanaxTributeItem.cs index 9ecb202..aabb156 100644 --- a/src/Dofusdude.Api/Model/AlmanaxEntryTributeItem.cs +++ b/src/Dofusdude.Api/Model/AlmanaxTributeItem.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,19 +27,19 @@ namespace Dofusdude.Api.Model { /// - /// AlmanaxEntryTributeItem + /// AlmanaxTributeItem /// - [DataContract(Name = "Almanax_Entry_tribute_item")] - public partial class AlmanaxEntryTributeItem : IValidatableObject + [DataContract(Name = "Almanax_tribute_item")] + public partial class AlmanaxTributeItem : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// ankamaId. /// imageUrls. /// name. /// subtype. - public AlmanaxEntryTributeItem(int ankamaId = default(int), ImageUrls imageUrls = default(ImageUrls), string name = default(string), string subtype = default(string)) + public AlmanaxTributeItem(int ankamaId = default(int), Images imageUrls = default(Images), string name = default(string), string subtype = default(string)) { this.AnkamaId = ankamaId; this.ImageUrls = imageUrls; @@ -57,7 +57,7 @@ public partial class AlmanaxEntryTributeItem : IValidatableObject /// Gets or Sets ImageUrls /// [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } + public Images ImageUrls { get; set; } /// /// Gets or Sets Name @@ -78,7 +78,7 @@ public partial class AlmanaxEntryTributeItem : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class AlmanaxEntryTributeItem {\n"); + sb.Append("class AlmanaxTributeItem {\n"); sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); diff --git a/src/Dofusdude.Api/Model/AlmanaxWebhook.cs b/src/Dofusdude.Api/Model/AlmanaxWebhook.cs index 9603676..cab44a6 100644 --- a/src/Dofusdude.Api/Model/AlmanaxWebhook.cs +++ b/src/Dofusdude.Api/Model/AlmanaxWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -122,8 +122,8 @@ public enum WeeklyWeekdayEnum /// /// id. /// dailySettings. - /// Only post when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses.. - /// Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. + /// Only post when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses.. + /// Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. /// Get the available subscriptions with /meta/webhooks/almanax. /// If false, it will use common local time formats and weekday translations. If true, the format is YYYY-MM-DD. (default to false). /// Almanax bonus ids mapped to array of mentions.. @@ -161,16 +161,16 @@ public enum WeeklyWeekdayEnum public AlmanaxWebhookDailySettings DailySettings { get; set; } /// - /// Only post when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. + /// Only post when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. /// - /// Only post when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. + /// Only post when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. [DataMember(Name = "bonus_whitelist", EmitDefaultValue = true)] public List BonusWhitelist { get; set; } /// - /// Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses + /// Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses /// - /// Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses + /// Skip the day when these bonuses come up. From all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses [DataMember(Name = "bonus_blacklist", EmitDefaultValue = true)] public List BonusBlacklist { get; set; } diff --git a/src/Dofusdude.Api/Model/AlmanaxWebhookDailySettings.cs b/src/Dofusdude.Api/Model/AlmanaxWebhookDailySettings.cs index b6a9c02..2bf7441 100644 --- a/src/Dofusdude.Api/Model/AlmanaxWebhookDailySettings.cs +++ b/src/Dofusdude.Api/Model/AlmanaxWebhookDailySettings.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/ConditionEntry.cs b/src/Dofusdude.Api/Model/Condition.cs similarity index 51% rename from src/Dofusdude.Api/Model/ConditionEntry.cs rename to src/Dofusdude.Api/Model/Condition.cs index 7604676..5ed1dc2 100644 --- a/src/Dofusdude.Api/Model/ConditionEntry.cs +++ b/src/Dofusdude.Api/Model/Condition.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,18 +27,18 @@ namespace Dofusdude.Api.Model { /// - /// ConditionEntry + /// Condition /// - [DataContract(Name = "Condition-Entry")] - public partial class ConditionEntry : IValidatableObject + [DataContract(Name = "Condition")] + public partial class Condition : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// varOperator. /// intValue. /// element. - public ConditionEntry(string varOperator = default(string), int intValue = default(int), ItemsListEntryTypedType element = default(ItemsListEntryTypedType)) + public Condition(string varOperator = default(string), int intValue = default(int), TranslatedId element = default(TranslatedId)) { this.Operator = varOperator; this.IntValue = intValue; @@ -61,7 +61,7 @@ public partial class ConditionEntry : IValidatableObject /// Gets or Sets Element /// [DataMember(Name = "element", EmitDefaultValue = false)] - public ItemsListEntryTypedType Element { get; set; } + public TranslatedId Element { get; set; } /// /// Returns the string presentation of the object @@ -70,7 +70,7 @@ public partial class ConditionEntry : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ConditionEntry {\n"); + sb.Append("class Condition {\n"); sb.Append(" Operator: ").Append(Operator).Append("\n"); sb.Append(" IntValue: ").Append(IntValue).Append("\n"); sb.Append(" Element: ").Append(Element).Append("\n"); diff --git a/src/Dofusdude.Api/Model/ConditionTreeLeaf.cs b/src/Dofusdude.Api/Model/ConditionLeaf.cs similarity index 50% rename from src/Dofusdude.Api/Model/ConditionTreeLeaf.cs rename to src/Dofusdude.Api/Model/ConditionLeaf.cs index dbbee16..6270277 100644 --- a/src/Dofusdude.Api/Model/ConditionTreeLeaf.cs +++ b/src/Dofusdude.Api/Model/ConditionLeaf.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,17 +27,17 @@ namespace Dofusdude.Api.Model { /// - /// ConditionTreeLeaf + /// ConditionLeaf /// - [DataContract(Name = "Condition-Tree-Leaf")] - public partial class ConditionTreeLeaf : IValidatableObject + [DataContract(Name = "ConditionLeaf")] + public partial class ConditionLeaf : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// always \"true\" for the leaf of a tree (default to true). /// condition. - public ConditionTreeLeaf(bool isOperand = true, ConditionEntry condition = default(ConditionEntry)) + public ConditionLeaf(bool isOperand = true, Condition condition = default(Condition)) { this.IsOperand = isOperand; this.Condition = condition; @@ -54,7 +54,7 @@ public partial class ConditionTreeLeaf : IValidatableObject /// Gets or Sets Condition /// [DataMember(Name = "condition", EmitDefaultValue = false)] - public ConditionEntry Condition { get; set; } + public Condition Condition { get; set; } /// /// Returns the string presentation of the object @@ -63,7 +63,7 @@ public partial class ConditionTreeLeaf : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ConditionTreeLeaf {\n"); + sb.Append("class ConditionLeaf {\n"); sb.Append(" IsOperand: ").Append(IsOperand).Append("\n"); sb.Append(" Condition: ").Append(Condition).Append("\n"); sb.Append("}\n"); diff --git a/src/Dofusdude.Api/Model/ConditionTreeNode.cs b/src/Dofusdude.Api/Model/ConditionNode.cs similarity index 54% rename from src/Dofusdude.Api/Model/ConditionTreeNode.cs rename to src/Dofusdude.Api/Model/ConditionNode.cs index e4220d8..bebe955 100644 --- a/src/Dofusdude.Api/Model/ConditionTreeNode.cs +++ b/src/Dofusdude.Api/Model/ConditionNode.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -28,18 +28,18 @@ namespace Dofusdude.Api.Model { /// - /// ConditionTreeNode + /// ConditionNode /// - [JsonConverter(typeof(ConditionTreeNodeJsonConverter))] - [DataContract(Name = "Condition-Tree-Node")] - public partial class ConditionTreeNode : AbstractOpenAPISchema, IValidatableObject + [JsonConverter(typeof(ConditionNodeJsonConverter))] + [DataContract(Name = "ConditionNode")] + public partial class ConditionNode : AbstractOpenAPISchema, IValidatableObject { /// - /// Initializes a new instance of the class - /// with the class + /// Initializes a new instance of the class + /// with the class /// - /// An instance of ConditionTreeRelation. - public ConditionTreeNode(ConditionTreeRelation actualInstance) + /// An instance of ConditionRelation. + public ConditionNode(ConditionRelation actualInstance) { this.IsNullable = false; this.SchemaType= "oneOf"; @@ -47,11 +47,11 @@ public ConditionTreeNode(ConditionTreeRelation actualInstance) } /// - /// Initializes a new instance of the class - /// with the class + /// Initializes a new instance of the class + /// with the class /// - /// An instance of ConditionTreeLeaf. - public ConditionTreeNode(ConditionTreeLeaf actualInstance) + /// An instance of ConditionLeaf. + public ConditionNode(ConditionLeaf actualInstance) { this.IsNullable = false; this.SchemaType= "oneOf"; @@ -72,39 +72,39 @@ public override Object ActualInstance } set { - if (value.GetType() == typeof(ConditionTreeLeaf) || value is ConditionTreeLeaf) + if (value.GetType() == typeof(ConditionLeaf) || value is ConditionLeaf) { this._actualInstance = value; } - else if (value.GetType() == typeof(ConditionTreeRelation) || value is ConditionTreeRelation) + else if (value.GetType() == typeof(ConditionRelation) || value is ConditionRelation) { this._actualInstance = value; } else { - throw new ArgumentException("Invalid instance found. Must be the following types: ConditionTreeLeaf, ConditionTreeRelation"); + throw new ArgumentException("Invalid instance found. Must be the following types: ConditionLeaf, ConditionRelation"); } } } /// - /// Get the actual instance of `ConditionTreeRelation`. If the actual instance is not `ConditionTreeRelation`, + /// Get the actual instance of `ConditionRelation`. If the actual instance is not `ConditionRelation`, /// the InvalidClassException will be thrown /// - /// An instance of ConditionTreeRelation - public ConditionTreeRelation GetConditionTreeRelation() + /// An instance of ConditionRelation + public ConditionRelation GetConditionRelation() { - return (ConditionTreeRelation)this.ActualInstance; + return (ConditionRelation)this.ActualInstance; } /// - /// Get the actual instance of `ConditionTreeLeaf`. If the actual instance is not `ConditionTreeLeaf`, + /// Get the actual instance of `ConditionLeaf`. If the actual instance is not `ConditionLeaf`, /// the InvalidClassException will be thrown /// - /// An instance of ConditionTreeLeaf - public ConditionTreeLeaf GetConditionTreeLeaf() + /// An instance of ConditionLeaf + public ConditionLeaf GetConditionLeaf() { - return (ConditionTreeLeaf)this.ActualInstance; + return (ConditionLeaf)this.ActualInstance; } /// @@ -114,7 +114,7 @@ public ConditionTreeLeaf GetConditionTreeLeaf() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class ConditionTreeNode {\n"); + sb.Append("class ConditionNode {\n"); sb.Append(" ActualInstance: ").Append(this.ActualInstance).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -126,21 +126,21 @@ public override string ToString() /// JSON string presentation of the object public override string ToJson() { - return JsonConvert.SerializeObject(this.ActualInstance, ConditionTreeNode.SerializerSettings); + return JsonConvert.SerializeObject(this.ActualInstance, ConditionNode.SerializerSettings); } /// - /// Converts the JSON string into an instance of ConditionTreeNode + /// Converts the JSON string into an instance of ConditionNode /// /// JSON string - /// An instance of ConditionTreeNode - public static ConditionTreeNode FromJson(string jsonString) + /// An instance of ConditionNode + public static ConditionNode FromJson(string jsonString) { - ConditionTreeNode newConditionTreeNode = null; + ConditionNode newConditionNode = null; if (string.IsNullOrEmpty(jsonString)) { - return newConditionTreeNode; + return newConditionNode; } int match = 0; List matchedTypes = new List(); @@ -148,41 +148,41 @@ public static ConditionTreeNode FromJson(string jsonString) try { // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize - if (typeof(ConditionTreeLeaf).GetProperty("AdditionalProperties") == null) + if (typeof(ConditionLeaf).GetProperty("AdditionalProperties") == null) { - newConditionTreeNode = new ConditionTreeNode(JsonConvert.DeserializeObject(jsonString, ConditionTreeNode.SerializerSettings)); + newConditionNode = new ConditionNode(JsonConvert.DeserializeObject(jsonString, ConditionNode.SerializerSettings)); } else { - newConditionTreeNode = new ConditionTreeNode(JsonConvert.DeserializeObject(jsonString, ConditionTreeNode.AdditionalPropertiesSerializerSettings)); + newConditionNode = new ConditionNode(JsonConvert.DeserializeObject(jsonString, ConditionNode.AdditionalPropertiesSerializerSettings)); } - matchedTypes.Add("ConditionTreeLeaf"); + matchedTypes.Add("ConditionLeaf"); match++; } catch (Exception exception) { // deserialization failed, try the next one - System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into ConditionTreeLeaf: {1}", jsonString, exception.ToString())); + System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into ConditionLeaf: {1}", jsonString, exception.ToString())); } try { // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize - if (typeof(ConditionTreeRelation).GetProperty("AdditionalProperties") == null) + if (typeof(ConditionRelation).GetProperty("AdditionalProperties") == null) { - newConditionTreeNode = new ConditionTreeNode(JsonConvert.DeserializeObject(jsonString, ConditionTreeNode.SerializerSettings)); + newConditionNode = new ConditionNode(JsonConvert.DeserializeObject(jsonString, ConditionNode.SerializerSettings)); } else { - newConditionTreeNode = new ConditionTreeNode(JsonConvert.DeserializeObject(jsonString, ConditionTreeNode.AdditionalPropertiesSerializerSettings)); + newConditionNode = new ConditionNode(JsonConvert.DeserializeObject(jsonString, ConditionNode.AdditionalPropertiesSerializerSettings)); } - matchedTypes.Add("ConditionTreeRelation"); + matchedTypes.Add("ConditionRelation"); match++; } catch (Exception exception) { // deserialization failed, try the next one - System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into ConditionTreeRelation: {1}", jsonString, exception.ToString())); + System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into ConditionRelation: {1}", jsonString, exception.ToString())); } if (match == 0) @@ -195,7 +195,7 @@ public static ConditionTreeNode FromJson(string jsonString) } // deserialization is considered successful at this point if no exception has been thrown. - return newConditionTreeNode; + return newConditionNode; } @@ -211,9 +211,9 @@ public static ConditionTreeNode FromJson(string jsonString) } /// - /// Custom JSON converter for ConditionTreeNode + /// Custom JSON converter for ConditionNode /// - public class ConditionTreeNodeJsonConverter : JsonConverter + public class ConditionNodeJsonConverter : JsonConverter { /// /// To write the JSON string @@ -223,7 +223,7 @@ public class ConditionTreeNodeJsonConverter : JsonConverter /// JSON Serializer public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { - writer.WriteRawValue((string)(typeof(ConditionTreeNode).GetMethod("ToJson").Invoke(value, null))); + writer.WriteRawValue((string)(typeof(ConditionNode).GetMethod("ToJson").Invoke(value, null))); } /// @@ -239,9 +239,9 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist switch(reader.TokenType) { case JsonToken.StartObject: - return ConditionTreeNode.FromJson(JObject.Load(reader).ToString(Formatting.None)); + return ConditionNode.FromJson(JObject.Load(reader).ToString(Formatting.None)); case JsonToken.StartArray: - return ConditionTreeNode.FromJson(JArray.Load(reader).ToString(Formatting.None)); + return ConditionNode.FromJson(JArray.Load(reader).ToString(Formatting.None)); default: return null; } diff --git a/src/Dofusdude.Api/Model/ConditionTreeRelation.cs b/src/Dofusdude.Api/Model/ConditionRelation.cs similarity index 54% rename from src/Dofusdude.Api/Model/ConditionTreeRelation.cs rename to src/Dofusdude.Api/Model/ConditionRelation.cs index 0d6b021..5a3071c 100644 --- a/src/Dofusdude.Api/Model/ConditionTreeRelation.cs +++ b/src/Dofusdude.Api/Model/ConditionRelation.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,18 +27,18 @@ namespace Dofusdude.Api.Model { /// - /// ConditionTreeRelation + /// ConditionRelation /// - [DataContract(Name = "Condition-Tree-Relation")] - public partial class ConditionTreeRelation : IValidatableObject + [DataContract(Name = "ConditionRelation")] + public partial class ConditionRelation : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// always \"false\" for relations (default to false). /// \"and\", \"or\" (default to "and"). /// children. - public ConditionTreeRelation(bool isOperand = false, string relation = @"and", List children = default(List)) + public ConditionRelation(bool isOperand = false, string relation = @"and", List children = default(List)) { this.IsOperand = isOperand; // use default value if no "relation" provided @@ -67,7 +67,7 @@ public partial class ConditionTreeRelation : IValidatableObject /// Gets or Sets Children /// [DataMember(Name = "children", EmitDefaultValue = false)] - public List Children { get; set; } + public List Children { get; set; } /// /// Returns the string presentation of the object @@ -76,7 +76,7 @@ public partial class ConditionTreeRelation : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ConditionTreeRelation {\n"); + sb.Append("class ConditionRelation {\n"); sb.Append(" IsOperand: ").Append(IsOperand).Append("\n"); sb.Append(" Relation: ").Append(Relation).Append("\n"); sb.Append(" Children: ").Append(Children).Append("\n"); diff --git a/src/Dofusdude.Api/Model/CreateAlmanaxWebhook.cs b/src/Dofusdude.Api/Model/CreateAlmanaxWebhook.cs index 50d6d93..0173f96 100644 --- a/src/Dofusdude.Api/Model/CreateAlmanaxWebhook.cs +++ b/src/Dofusdude.Api/Model/CreateAlmanaxWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -144,8 +144,8 @@ protected CreateAlmanaxWebhook() { } /// /// Initializes a new instance of the class. /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. /// Get the available subscriptions with /meta/webhooks/almanax (required). /// format (required). /// Discord Webhook URL (required). @@ -185,16 +185,16 @@ protected CreateAlmanaxWebhook() { } } /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses [DataMember(Name = "bonus_whitelist", EmitDefaultValue = true)] public List BonusWhitelist { get; set; } /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses [DataMember(Name = "bonus_blacklist", EmitDefaultValue = true)] public List BonusBlacklist { get; set; } diff --git a/src/Dofusdude.Api/Model/CreateAlmanaxWebhookDailySettings.cs b/src/Dofusdude.Api/Model/CreateAlmanaxWebhookDailySettings.cs index 040cc37..30a55ed 100644 --- a/src/Dofusdude.Api/Model/CreateAlmanaxWebhookDailySettings.cs +++ b/src/Dofusdude.Api/Model/CreateAlmanaxWebhookDailySettings.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/CreateAlmanaxWebhookMentionsValueInner.cs b/src/Dofusdude.Api/Model/CreateAlmanaxWebhookMentionsValueInner.cs index c480cd8..8d4878d 100644 --- a/src/Dofusdude.Api/Model/CreateAlmanaxWebhookMentionsValueInner.cs +++ b/src/Dofusdude.Api/Model/CreateAlmanaxWebhookMentionsValueInner.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/CreateRSSWebhook.cs b/src/Dofusdude.Api/Model/CreateRSSWebhook.cs index a803a00..103d786 100644 --- a/src/Dofusdude.Api/Model/CreateRSSWebhook.cs +++ b/src/Dofusdude.Api/Model/CreateRSSWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/CreateTwitterWebhook.cs b/src/Dofusdude.Api/Model/CreateTwitterWebhook.cs index c252f95..a3fe821 100644 --- a/src/Dofusdude.Api/Model/CreateTwitterWebhook.cs +++ b/src/Dofusdude.Api/Model/CreateTwitterWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/EffectsEntry.cs b/src/Dofusdude.Api/Model/Effect.cs similarity index 65% rename from src/Dofusdude.Api/Model/EffectsEntry.cs rename to src/Dofusdude.Api/Model/Effect.cs index 6de4a26..e47edd3 100644 --- a/src/Dofusdude.Api/Model/EffectsEntry.cs +++ b/src/Dofusdude.Api/Model/Effect.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,13 +27,13 @@ namespace Dofusdude.Api.Model { /// - /// EffectsEntry + /// Effect /// - [DataContract(Name = "Effects-Entry")] - public partial class EffectsEntry : IValidatableObject + [DataContract(Name = "Effect")] + public partial class Effect : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// minimum int value, can be a single if ignore_int_max and no ignore_int_min. /// maximum int value, if not ignore_int_max and not ignore_int_min, the effect has a range value. @@ -41,7 +41,7 @@ public partial class EffectsEntry : IValidatableObject /// ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this case. . /// ignore the int max field, if ignore_int_min is true, int min is a single value. /// all fields from above encoded in a single string. - public EffectsEntry(int intMinimum = default(int), int intMaximum = default(int), SetEffectsEntryType type = default(SetEffectsEntryType), bool ignoreIntMin = default(bool), bool ignoreIntMax = default(bool), string formatted = default(string)) + public Effect(int intMinimum = default(int), int intMaximum = default(int), EffectType type = default(EffectType), bool ignoreIntMin = default(bool), bool ignoreIntMax = default(bool), string formatted = default(string)) { this.IntMinimum = intMinimum; this.IntMaximum = intMaximum; @@ -69,7 +69,7 @@ public partial class EffectsEntry : IValidatableObject /// Gets or Sets Type /// [DataMember(Name = "type", EmitDefaultValue = false)] - public SetEffectsEntryType Type { get; set; } + public EffectType Type { get; set; } /// /// ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this case. @@ -99,7 +99,7 @@ public partial class EffectsEntry : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class EffectsEntry {\n"); + sb.Append("class Effect {\n"); sb.Append(" IntMinimum: ").Append(IntMinimum).Append("\n"); sb.Append(" IntMaximum: ").Append(IntMaximum).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Dofusdude.Api/Model/SetEffectsEntryType.cs b/src/Dofusdude.Api/Model/EffectType.cs similarity index 60% rename from src/Dofusdude.Api/Model/SetEffectsEntryType.cs rename to src/Dofusdude.Api/Model/EffectType.cs index f534e15..90b245c 100644 --- a/src/Dofusdude.Api/Model/SetEffectsEntryType.cs +++ b/src/Dofusdude.Api/Model/EffectType.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,32 +27,26 @@ namespace Dofusdude.Api.Model { /// - /// SetEffectsEntryType + /// EffectType /// - [DataContract(Name = "Set_Effects_Entry_type")] - public partial class SetEffectsEntryType : IValidatableObject + [DataContract(Name = "EffectType")] + public partial class EffectType : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - /// name. /// id. - /// true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects.. + /// name. /// Affects target or source actively.. - public SetEffectsEntryType(string name = default(string), int id = default(int), bool isMeta = default(bool), bool isActive = default(bool)) + /// true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects.. + public EffectType(int id = default(int), string name = default(string), bool isActive = default(bool), bool isMeta = default(bool)) { - this.Name = name; this.Id = id; - this.IsMeta = isMeta; + this.Name = name; this.IsActive = isActive; + this.IsMeta = isMeta; } - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", EmitDefaultValue = false)] - public string Name { get; set; } - /// /// Gets or Sets Id /// @@ -60,11 +54,10 @@ public partial class SetEffectsEntryType : IValidatableObject public int Id { get; set; } /// - /// true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects. + /// Gets or Sets Name /// - /// true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects. - [DataMember(Name = "is_meta", EmitDefaultValue = true)] - public bool IsMeta { get; set; } + [DataMember(Name = "name", EmitDefaultValue = false)] + public string Name { get; set; } /// /// Affects target or source actively. @@ -73,6 +66,13 @@ public partial class SetEffectsEntryType : IValidatableObject [DataMember(Name = "is_active", EmitDefaultValue = true)] public bool IsActive { get; set; } + /// + /// true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects. + /// + /// true if a type is generated from the Api instead of Ankama. In that case, always prefer showing the templated string and omit everything else. The \"name\" field will have an english description of the meta type. An example for such effects are class sets effects. + [DataMember(Name = "is_meta", EmitDefaultValue = true)] + public bool IsMeta { get; set; } + /// /// Returns the string presentation of the object /// @@ -80,11 +80,11 @@ public partial class SetEffectsEntryType : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class SetEffectsEntryType {\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("class EffectType {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" IsMeta: ").Append(IsMeta).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" IsActive: ").Append(IsActive).Append("\n"); + sb.Append(" IsMeta: ").Append(IsMeta).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Dofusdude.Api/Model/Equipment.cs b/src/Dofusdude.Api/Model/Equipment.cs index 30e5000..f1402a6 100644 --- a/src/Dofusdude.Api/Model/Equipment.cs +++ b/src/Dofusdude.Api/Model/Equipment.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -45,10 +45,9 @@ public partial class Equipment : IValidatableObject /// imageUrls. /// effects. /// conditions. - /// conditionTree. /// recipe. /// parentSet. - public Equipment(int ankamaId = default(int), string name = default(string), string description = default(string), ItemsListEntryTypedType type = default(ItemsListEntryTypedType), bool isWeapon = default(bool), int level = default(int), int pods = default(int), ImageUrls imageUrls = default(ImageUrls), List effects = default(List), List conditions = default(List), ConditionTreeNode conditionTree = default(ConditionTreeNode), List recipe = default(List), ItemListEntryParentSet parentSet = default(ItemListEntryParentSet)) + public Equipment(int ankamaId = default(int), string name = default(string), string description = default(string), TranslatedId type = default(TranslatedId), bool isWeapon = default(bool), int level = default(int), int pods = default(int), Images imageUrls = default(Images), List effects = default(List), ConditionNode conditions = default(ConditionNode), List recipe = default(List), TranslatedId parentSet = default(TranslatedId)) { this.AnkamaId = ankamaId; this.Name = name; @@ -60,7 +59,6 @@ public partial class Equipment : IValidatableObject this.ImageUrls = imageUrls; this.Effects = effects; this.Conditions = conditions; - this.ConditionTree = conditionTree; this.Recipe = recipe; this.ParentSet = parentSet; } @@ -87,7 +85,7 @@ public partial class Equipment : IValidatableObject /// Gets or Sets Type /// [DataMember(Name = "type", EmitDefaultValue = false)] - public ItemsListEntryTypedType Type { get; set; } + public TranslatedId Type { get; set; } /// /// Gets or Sets IsWeapon @@ -111,38 +109,31 @@ public partial class Equipment : IValidatableObject /// Gets or Sets ImageUrls /// [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } + public Images ImageUrls { get; set; } /// /// Gets or Sets Effects /// [DataMember(Name = "effects", EmitDefaultValue = true)] - public List Effects { get; set; } + public List Effects { get; set; } /// /// Gets or Sets Conditions /// [DataMember(Name = "conditions", EmitDefaultValue = true)] - [Obsolete] - public List Conditions { get; set; } - - /// - /// Gets or Sets ConditionTree - /// - [DataMember(Name = "condition_tree", EmitDefaultValue = false)] - public ConditionTreeNode ConditionTree { get; set; } + public ConditionNode Conditions { get; set; } /// /// Gets or Sets Recipe /// [DataMember(Name = "recipe", EmitDefaultValue = true)] - public List Recipe { get; set; } + public List Recipe { get; set; } /// /// Gets or Sets ParentSet /// [DataMember(Name = "parent_set", EmitDefaultValue = true)] - public ItemListEntryParentSet ParentSet { get; set; } + public TranslatedId ParentSet { get; set; } /// /// Returns the string presentation of the object @@ -162,7 +153,6 @@ public override string ToString() sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); sb.Append(" Effects: ").Append(Effects).Append("\n"); sb.Append(" Conditions: ").Append(Conditions).Append("\n"); - sb.Append(" ConditionTree: ").Append(ConditionTree).Append("\n"); sb.Append(" Recipe: ").Append(Recipe).Append("\n"); sb.Append(" ParentSet: ").Append(ParentSet).Append("\n"); sb.Append("}\n"); diff --git a/src/Dofusdude.Api/Model/Error.cs b/src/Dofusdude.Api/Model/Error.cs new file mode 100644 index 0000000..b28440b --- /dev/null +++ b/src/Dofusdude.Api/Model/Error.cs @@ -0,0 +1,124 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// Error + /// + [DataContract(Name = "Error")] + public partial class Error : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// HTTP status as text. + /// API specific error identifier for switch-case handling. + /// General, human-friendly error description. + /// Detailed, human-friendly problem description adopting specific inputs of the request. + public Error(int status = default(int), string varError = default(string), string code = default(string), string message = default(string), string details = default(string)) + { + this.Status = status; + this.VarError = varError; + this.Code = code; + this.Message = message; + this.Details = details; + } + + /// + /// HTTP status code + /// + /// HTTP status code + [DataMember(Name = "status", EmitDefaultValue = false)] + public int Status { get; set; } + + /// + /// HTTP status as text + /// + /// HTTP status as text + [DataMember(Name = "error", EmitDefaultValue = false)] + public string VarError { get; set; } + + /// + /// API specific error identifier for switch-case handling + /// + /// API specific error identifier for switch-case handling + [DataMember(Name = "code", EmitDefaultValue = false)] + public string Code { get; set; } + + /// + /// General, human-friendly error description + /// + /// General, human-friendly error description + [DataMember(Name = "message", EmitDefaultValue = false)] + public string Message { get; set; } + + /// + /// Detailed, human-friendly problem description adopting specific inputs of the request + /// + /// Detailed, human-friendly problem description adopting specific inputs of the request + [DataMember(Name = "details", EmitDefaultValue = false)] + public string Details { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class Error {\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" VarError: ").Append(VarError).Append("\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/GameSearch.cs b/src/Dofusdude.Api/Model/GameSearch.cs new file mode 100644 index 0000000..b9ebe65 --- /dev/null +++ b/src/Dofusdude.Api/Model/GameSearch.cs @@ -0,0 +1,110 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// GameSearch + /// + [DataContract(Name = "GameSearch")] + public partial class GameSearch : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ankamaId. + /// name. + /// type. + /// itemFields. + public GameSearch(int ankamaId = default(int), string name = default(string), GameSearchType type = default(GameSearchType), GameSearchItem itemFields = default(GameSearchItem)) + { + this.AnkamaId = ankamaId; + this.Name = name; + this.Type = type; + this.ItemFields = itemFields; + } + + /// + /// Gets or Sets AnkamaId + /// + [DataMember(Name = "ankama_id", EmitDefaultValue = false)] + public int AnkamaId { get; set; } + + /// + /// Gets or Sets Name + /// + [DataMember(Name = "name", EmitDefaultValue = false)] + public string Name { get; set; } + + /// + /// Gets or Sets Type + /// + [DataMember(Name = "type", EmitDefaultValue = false)] + public GameSearchType Type { get; set; } + + /// + /// Gets or Sets ItemFields + /// + [DataMember(Name = "item_fields", EmitDefaultValue = false)] + public GameSearchItem ItemFields { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GameSearch {\n"); + sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" ItemFields: ").Append(ItemFields).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/GameSearchItem.cs b/src/Dofusdude.Api/Model/GameSearchItem.cs new file mode 100644 index 0000000..f5dd017 --- /dev/null +++ b/src/Dofusdude.Api/Model/GameSearchItem.cs @@ -0,0 +1,101 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// GameSearchItem + /// + [DataContract(Name = "GameSearchItem")] + public partial class GameSearchItem : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// type. + /// level. + /// imageUrls. + public GameSearchItem(GameSearchType type = default(GameSearchType), int? level = default(int?), Images imageUrls = default(Images)) + { + this.Type = type; + this.Level = level; + this.ImageUrls = imageUrls; + } + + /// + /// Gets or Sets Type + /// + [DataMember(Name = "type", EmitDefaultValue = false)] + public GameSearchType Type { get; set; } + + /// + /// Gets or Sets Level + /// + [DataMember(Name = "level", EmitDefaultValue = true)] + public int? Level { get; set; } + + /// + /// Gets or Sets ImageUrls + /// + [DataMember(Name = "image_urls", EmitDefaultValue = false)] + public Images ImageUrls { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GameSearchItem {\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" Level: ").Append(Level).Append("\n"); + sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/GameSearchType.cs b/src/Dofusdude.Api/Model/GameSearchType.cs new file mode 100644 index 0000000..1a107fc --- /dev/null +++ b/src/Dofusdude.Api/Model/GameSearchType.cs @@ -0,0 +1,83 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// GameSearchType + /// + [DataContract(Name = "GameSearchType")] + public partial class GameSearchType : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// nameId. + public GameSearchType(string nameId = default(string)) + { + this.NameId = nameId; + } + + /// + /// Gets or Sets NameId + /// + [DataMember(Name = "name_id", EmitDefaultValue = false)] + public string NameId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GameSearchType {\n"); + sb.Append(" NameId: ").Append(NameId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/GetGameSearch200ResponseInner.cs b/src/Dofusdude.Api/Model/GetGameSearch200ResponseInner.cs deleted file mode 100644 index 6d6bb09..0000000 --- a/src/Dofusdude.Api/Model/GetGameSearch200ResponseInner.cs +++ /dev/null @@ -1,104 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// GetGameSearch200ResponseInner - /// - [DataContract(Name = "get_game_search_200_response_inner")] - public partial class GetGameSearch200ResponseInner : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// Name of the hit. The query could still have matched with the description only.. - /// Ankama ID for retrieving more details in the type specific endpoint.. - /// Type classification. - public GetGameSearch200ResponseInner(string name = default(string), int ankamaId = default(int), string type = default(string)) - { - this.Name = name; - this.AnkamaId = ankamaId; - this.Type = type; - } - - /// - /// Name of the hit. The query could still have matched with the description only. - /// - /// Name of the hit. The query could still have matched with the description only. - [DataMember(Name = "name", EmitDefaultValue = false)] - public string Name { get; set; } - - /// - /// Ankama ID for retrieving more details in the type specific endpoint. - /// - /// Ankama ID for retrieving more details in the type specific endpoint. - [DataMember(Name = "ankama_id", EmitDefaultValue = false)] - public int AnkamaId { get; set; } - - /// - /// Type classification - /// - /// Type classification - [DataMember(Name = "type", EmitDefaultValue = false)] - public string Type { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class GetGameSearch200ResponseInner {\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); - sb.Append(" Type: ").Append(Type).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/GetMetaAlmanaxBonuses200ResponseInner.cs b/src/Dofusdude.Api/Model/GetMetaAlmanaxBonuses200ResponseInner.cs index ed4f0ca..8de25b6 100644 --- a/src/Dofusdude.Api/Model/GetMetaAlmanaxBonuses200ResponseInner.cs +++ b/src/Dofusdude.Api/Model/GetMetaAlmanaxBonuses200ResponseInner.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/GetMetaWebhooksTwitter200Response.cs b/src/Dofusdude.Api/Model/GetMetaWebhooksTwitter200Response.cs index ee14970..ca3b61c 100644 --- a/src/Dofusdude.Api/Model/GetMetaWebhooksTwitter200Response.cs +++ b/src/Dofusdude.Api/Model/GetMetaWebhooksTwitter200Response.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/ImageUrls.cs b/src/Dofusdude.Api/Model/ImageUrls.cs deleted file mode 100644 index 2ee2916..0000000 --- a/src/Dofusdude.Api/Model/ImageUrls.cs +++ /dev/null @@ -1,114 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// All images except icon are rendered in the background which can take some time (up to hours if all data is completely generated from scratch). Because of this, they can be null if they are not yet rendered. - /// - [DataContract(Name = "Image-Urls")] - public partial class ImageUrls : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// 60x60 px, always available. - /// 200x200 px. - /// 400x400 px. - /// 800x800 px. - public ImageUrls(string icon = default(string), string sd = default(string), string hq = default(string), string hd = default(string)) - { - this.Icon = icon; - this.Sd = sd; - this.Hq = hq; - this.Hd = hd; - } - - /// - /// 60x60 px, always available - /// - /// 60x60 px, always available - [DataMember(Name = "icon", EmitDefaultValue = false)] - public string Icon { get; set; } - - /// - /// 200x200 px - /// - /// 200x200 px - [DataMember(Name = "sd", EmitDefaultValue = true)] - public string Sd { get; set; } - - /// - /// 400x400 px - /// - /// 400x400 px - [DataMember(Name = "hq", EmitDefaultValue = true)] - public string Hq { get; set; } - - /// - /// 800x800 px - /// - /// 800x800 px - [DataMember(Name = "hd", EmitDefaultValue = true)] - public string Hd { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ImageUrls {\n"); - sb.Append(" Icon: ").Append(Icon).Append("\n"); - sb.Append(" Sd: ").Append(Sd).Append("\n"); - sb.Append(" Hq: ").Append(Hq).Append("\n"); - sb.Append(" Hd: ").Append(Hd).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/Images.cs b/src/Dofusdude.Api/Model/Images.cs new file mode 100644 index 0000000..64e2802 --- /dev/null +++ b/src/Dofusdude.Api/Model/Images.cs @@ -0,0 +1,114 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// All images except icon are rendered in the background which can take some time (up to hours if all data is completely generated from scratch). Because of this, they can be null if they are not yet rendered. + /// + [DataContract(Name = "Images")] + public partial class Images : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// 64x64 px, always available. + /// around 2x the resolution of icon. + /// around 2x the resolution of sd. + /// around 2x the resolution of hd. + public Images(string icon = default(string), string sd = default(string), string hq = default(string), string hd = default(string)) + { + this.Icon = icon; + this.Sd = sd; + this.Hq = hq; + this.Hd = hd; + } + + /// + /// 64x64 px, always available + /// + /// 64x64 px, always available + [DataMember(Name = "icon", EmitDefaultValue = false)] + public string Icon { get; set; } + + /// + /// around 2x the resolution of icon + /// + /// around 2x the resolution of icon + [DataMember(Name = "sd", EmitDefaultValue = true)] + public string Sd { get; set; } + + /// + /// around 2x the resolution of sd + /// + /// around 2x the resolution of sd + [DataMember(Name = "hq", EmitDefaultValue = true)] + public string Hq { get; set; } + + /// + /// around 2x the resolution of hd + /// + /// around 2x the resolution of hd + [DataMember(Name = "hd", EmitDefaultValue = true)] + public string Hd { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class Images {\n"); + sb.Append(" Icon: ").Append(Icon).Append("\n"); + sb.Append(" Sd: ").Append(Sd).Append("\n"); + sb.Append(" Hq: ").Append(Hq).Append("\n"); + sb.Append(" Hd: ").Append(Hd).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/ItemListEntryParentSet.cs b/src/Dofusdude.Api/Model/ItemListEntryParentSet.cs deleted file mode 100644 index abec121..0000000 --- a/src/Dofusdude.Api/Model/ItemListEntryParentSet.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// ItemListEntryParentSet - /// - [DataContract(Name = "Item_List_Entry_parent_set")] - public partial class ItemListEntryParentSet : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// id. - /// name. - public ItemListEntryParentSet(int id = default(int), string name = default(string)) - { - this.Id = id; - this.Name = name; - } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public int Id { get; set; } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", EmitDefaultValue = false)] - public string Name { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ItemListEntryParentSet {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/ItemListEntryRange.cs b/src/Dofusdude.Api/Model/ItemListEntryRange.cs deleted file mode 100644 index adcca34..0000000 --- a/src/Dofusdude.Api/Model/ItemListEntryRange.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// ItemListEntryRange - /// - [DataContract(Name = "Item_List_Entry_range")] - public partial class ItemListEntryRange : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// min. - /// max. - public ItemListEntryRange(int min = default(int), int max = default(int)) - { - this.Min = min; - this.Max = max; - } - - /// - /// Gets or Sets Min - /// - [DataMember(Name = "min", EmitDefaultValue = false)] - public int Min { get; set; } - - /// - /// Gets or Sets Max - /// - [DataMember(Name = "max", EmitDefaultValue = false)] - public int Max { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ItemListEntryRange {\n"); - sb.Append(" Min: ").Append(Min).Append("\n"); - sb.Append(" Max: ").Append(Max).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/ItemSubtype.cs b/src/Dofusdude.Api/Model/ItemSubtype.cs new file mode 100644 index 0000000..5c265cd --- /dev/null +++ b/src/Dofusdude.Api/Model/ItemSubtype.cs @@ -0,0 +1,93 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// ItemSubtype + /// + [DataContract(Name = "ItemSubtype")] + public partial class ItemSubtype : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ankamaId. + /// unique. + public ItemSubtype(int ankamaId = default(int), string nameId = default(string)) + { + this.AnkamaId = ankamaId; + this.NameId = nameId; + } + + /// + /// Gets or Sets AnkamaId + /// + [DataMember(Name = "ankama_id", EmitDefaultValue = false)] + public int AnkamaId { get; set; } + + /// + /// unique + /// + /// unique + [DataMember(Name = "name_id", EmitDefaultValue = false)] + public string NameId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ItemSubtype {\n"); + sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); + sb.Append(" NameId: ").Append(NameId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/ItemsListEntryTypedType.cs b/src/Dofusdude.Api/Model/ItemsListEntryTypedType.cs deleted file mode 100644 index b984cf3..0000000 --- a/src/Dofusdude.Api/Model/ItemsListEntryTypedType.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// ItemsListEntryTypedType - /// - [DataContract(Name = "Items_List_Entry_Typed_type")] - public partial class ItemsListEntryTypedType : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// name. - /// id. - public ItemsListEntryTypedType(string name = default(string), int id = default(int)) - { - this.Name = name; - this.Id = id; - } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", EmitDefaultValue = false)] - public string Name { get; set; } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public int Id { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ItemsListEntryTypedType {\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/ItemsListPaged.cs b/src/Dofusdude.Api/Model/ItemsListPaged.cs deleted file mode 100644 index e2a2214..0000000 --- a/src/Dofusdude.Api/Model/ItemsListPaged.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// ItemsListPaged - /// - [DataContract(Name = "Items-List-Paged")] - public partial class ItemsListPaged : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// links. - /// items. - public ItemsListPaged(LinksPaged links = default(LinksPaged), List items = default(List)) - { - this.Links = links; - this.Items = items; - } - - /// - /// Gets or Sets Links - /// - [DataMember(Name = "_links", EmitDefaultValue = false)] - public LinksPaged Links { get; set; } - - /// - /// Gets or Sets Items - /// - [DataMember(Name = "items", EmitDefaultValue = false)] - public List Items { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ItemsListPaged {\n"); - sb.Append(" Links: ").Append(Links).Append("\n"); - sb.Append(" Items: ").Append(Items).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/ItemListEntry.cs b/src/Dofusdude.Api/Model/ListItem.cs similarity index 61% rename from src/Dofusdude.Api/Model/ItemListEntry.cs rename to src/Dofusdude.Api/Model/ListItem.cs index 71e91cd..99f1724 100644 --- a/src/Dofusdude.Api/Model/ItemListEntry.cs +++ b/src/Dofusdude.Api/Model/ListItem.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,13 +27,13 @@ namespace Dofusdude.Api.Model { /// - /// ItemListEntry + /// ListItem /// - [DataContract(Name = "Item-List-Entry")] - public partial class ItemListEntry : IValidatableObject + [DataContract(Name = "ListItem")] + public partial class ListItem : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// ankamaId. /// name. @@ -43,18 +43,16 @@ public partial class ItemListEntry : IValidatableObject /// recipe. /// description. /// conditions. - /// conditionTree. /// effects. /// isWeapon. /// pods. /// parentSet. /// criticalHitProbability. /// criticalHitBonus. - /// isTwoHanded. /// maxCastPerTurn. /// apCost. /// range. - public ItemListEntry(int ankamaId = default(int), string name = default(string), ItemsListEntryTypedType type = default(ItemsListEntryTypedType), int level = default(int), ImageUrls imageUrls = default(ImageUrls), List recipe = default(List), string description = default(string), List conditions = default(List), ConditionTreeNode conditionTree = default(ConditionTreeNode), List effects = default(List), bool? isWeapon = default(bool?), int? pods = default(int?), ItemListEntryParentSet parentSet = default(ItemListEntryParentSet), int? criticalHitProbability = default(int?), int? criticalHitBonus = default(int?), bool? isTwoHanded = default(bool?), int? maxCastPerTurn = default(int?), int? apCost = default(int?), ItemListEntryRange range = default(ItemListEntryRange)) + public ListItem(int ankamaId = default(int), string name = default(string), TranslatedId type = default(TranslatedId), int level = default(int), Images imageUrls = default(Images), List recipe = default(List), string description = default(string), ConditionNode conditions = default(ConditionNode), List effects = default(List), bool? isWeapon = default(bool?), int? pods = default(int?), TranslatedId parentSet = default(TranslatedId), int? criticalHitProbability = default(int?), int? criticalHitBonus = default(int?), int? maxCastPerTurn = default(int?), int? apCost = default(int?), Range range = default(Range)) { this.AnkamaId = ankamaId; this.Name = name; @@ -64,14 +62,12 @@ public partial class ItemListEntry : IValidatableObject this.Recipe = recipe; this.Description = description; this.Conditions = conditions; - this.ConditionTree = conditionTree; this.Effects = effects; this.IsWeapon = isWeapon; this.Pods = pods; this.ParentSet = parentSet; this.CriticalHitProbability = criticalHitProbability; this.CriticalHitBonus = criticalHitBonus; - this.IsTwoHanded = isTwoHanded; this.MaxCastPerTurn = maxCastPerTurn; this.ApCost = apCost; this.Range = range; @@ -93,7 +89,7 @@ public partial class ItemListEntry : IValidatableObject /// Gets or Sets Type /// [DataMember(Name = "type", EmitDefaultValue = false)] - public ItemsListEntryTypedType Type { get; set; } + public TranslatedId Type { get; set; } /// /// Gets or Sets Level @@ -105,13 +101,13 @@ public partial class ItemListEntry : IValidatableObject /// Gets or Sets ImageUrls /// [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } + public Images ImageUrls { get; set; } /// /// Gets or Sets Recipe /// [DataMember(Name = "recipe", EmitDefaultValue = true)] - public List Recipe { get; set; } + public List Recipe { get; set; } /// /// Gets or Sets Description @@ -123,20 +119,13 @@ public partial class ItemListEntry : IValidatableObject /// Gets or Sets Conditions /// [DataMember(Name = "conditions", EmitDefaultValue = true)] - [Obsolete] - public List Conditions { get; set; } - - /// - /// Gets or Sets ConditionTree - /// - [DataMember(Name = "condition_tree", EmitDefaultValue = false)] - public ConditionTreeNode ConditionTree { get; set; } + public ConditionNode Conditions { get; set; } /// /// Gets or Sets Effects /// [DataMember(Name = "effects", EmitDefaultValue = true)] - public List Effects { get; set; } + public List Effects { get; set; } /// /// Gets or Sets IsWeapon @@ -154,7 +143,7 @@ public partial class ItemListEntry : IValidatableObject /// Gets or Sets ParentSet /// [DataMember(Name = "parent_set", EmitDefaultValue = true)] - public ItemListEntryParentSet ParentSet { get; set; } + public TranslatedId ParentSet { get; set; } /// /// Gets or Sets CriticalHitProbability @@ -168,12 +157,6 @@ public partial class ItemListEntry : IValidatableObject [DataMember(Name = "critical_hit_bonus", EmitDefaultValue = true)] public int? CriticalHitBonus { get; set; } - /// - /// Gets or Sets IsTwoHanded - /// - [DataMember(Name = "is_two_handed", EmitDefaultValue = true)] - public bool? IsTwoHanded { get; set; } - /// /// Gets or Sets MaxCastPerTurn /// @@ -189,8 +172,8 @@ public partial class ItemListEntry : IValidatableObject /// /// Gets or Sets Range /// - [DataMember(Name = "range", EmitDefaultValue = true)] - public ItemListEntryRange Range { get; set; } + [DataMember(Name = "range", EmitDefaultValue = false)] + public Range Range { get; set; } /// /// Returns the string presentation of the object @@ -199,7 +182,7 @@ public partial class ItemListEntry : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ItemListEntry {\n"); + sb.Append("class ListItem {\n"); sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); @@ -208,14 +191,12 @@ public override string ToString() sb.Append(" Recipe: ").Append(Recipe).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append(" Conditions: ").Append(Conditions).Append("\n"); - sb.Append(" ConditionTree: ").Append(ConditionTree).Append("\n"); sb.Append(" Effects: ").Append(Effects).Append("\n"); sb.Append(" IsWeapon: ").Append(IsWeapon).Append("\n"); sb.Append(" Pods: ").Append(Pods).Append("\n"); sb.Append(" ParentSet: ").Append(ParentSet).Append("\n"); sb.Append(" CriticalHitProbability: ").Append(CriticalHitProbability).Append("\n"); sb.Append(" CriticalHitBonus: ").Append(CriticalHitBonus).Append("\n"); - sb.Append(" IsTwoHanded: ").Append(IsTwoHanded).Append("\n"); sb.Append(" MaxCastPerTurn: ").Append(MaxCastPerTurn).Append("\n"); sb.Append(" ApCost: ").Append(ApCost).Append("\n"); sb.Append(" Range: ").Append(Range).Append("\n"); diff --git a/src/Dofusdude.Api/Model/ItemsListEntryTyped.cs b/src/Dofusdude.Api/Model/ListItemGeneral.cs similarity index 51% rename from src/Dofusdude.Api/Model/ItemsListEntryTyped.cs rename to src/Dofusdude.Api/Model/ListItemGeneral.cs index ec7d97b..410d2f7 100644 --- a/src/Dofusdude.Api/Model/ItemsListEntryTyped.cs +++ b/src/Dofusdude.Api/Model/ListItemGeneral.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,21 +27,21 @@ namespace Dofusdude.Api.Model { /// - /// ItemsListEntryTyped + /// ListItemGeneral /// - [DataContract(Name = "Items-List-Entry-Typed")] - public partial class ItemsListEntryTyped : IValidatableObject + [DataContract(Name = "ListItemGeneral")] + public partial class ListItemGeneral : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// ankamaId. /// name. /// type. - /// The API item category. Can be used to build the request URL for this particular item. Always english.. + /// itemSubtype. /// level. /// imageUrls. - public ItemsListEntryTyped(int ankamaId = default(int), string name = default(string), ItemsListEntryTypedType type = default(ItemsListEntryTypedType), string itemSubtype = default(string), int level = default(int), ImageUrls imageUrls = default(ImageUrls)) + public ListItemGeneral(int ankamaId = default(int), string name = default(string), TranslatedId type = default(TranslatedId), ItemSubtype itemSubtype = default(ItemSubtype), int level = default(int), Images imageUrls = default(Images)) { this.AnkamaId = ankamaId; this.Name = name; @@ -67,14 +67,13 @@ public partial class ItemsListEntryTyped : IValidatableObject /// Gets or Sets Type /// [DataMember(Name = "type", EmitDefaultValue = false)] - public ItemsListEntryTypedType Type { get; set; } + public TranslatedId Type { get; set; } /// - /// The API item category. Can be used to build the request URL for this particular item. Always english. + /// Gets or Sets ItemSubtype /// - /// The API item category. Can be used to build the request URL for this particular item. Always english. [DataMember(Name = "item_subtype", EmitDefaultValue = false)] - public string ItemSubtype { get; set; } + public ItemSubtype ItemSubtype { get; set; } /// /// Gets or Sets Level @@ -86,7 +85,7 @@ public partial class ItemsListEntryTyped : IValidatableObject /// Gets or Sets ImageUrls /// [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } + public Images ImageUrls { get; set; } /// /// Returns the string presentation of the object @@ -95,7 +94,7 @@ public partial class ItemsListEntryTyped : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class ItemsListEntryTyped {\n"); + sb.Append("class ListItemGeneral {\n"); sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Dofusdude.Api/Model/ListItems.cs b/src/Dofusdude.Api/Model/ListItems.cs new file mode 100644 index 0000000..c27cb05 --- /dev/null +++ b/src/Dofusdude.Api/Model/ListItems.cs @@ -0,0 +1,92 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// ListItems + /// + [DataContract(Name = "ListItems")] + public partial class ListItems : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// links. + /// items. + public ListItems(PagedLinks links = default(PagedLinks), List items = default(List)) + { + this.Links = links; + this.Items = items; + } + + /// + /// Gets or Sets Links + /// + [DataMember(Name = "_links", EmitDefaultValue = false)] + public PagedLinks Links { get; set; } + + /// + /// Gets or Sets Items + /// + [DataMember(Name = "items", EmitDefaultValue = false)] + public List Items { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ListItems {\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/ListMounts.cs b/src/Dofusdude.Api/Model/ListMounts.cs new file mode 100644 index 0000000..e7d518d --- /dev/null +++ b/src/Dofusdude.Api/Model/ListMounts.cs @@ -0,0 +1,92 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// ListMounts + /// + [DataContract(Name = "ListMounts")] + public partial class ListMounts : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// links. + /// items. + public ListMounts(PagedLinks links = default(PagedLinks), List items = default(List)) + { + this.Links = links; + this.Items = items; + } + + /// + /// Gets or Sets Links + /// + [DataMember(Name = "_links", EmitDefaultValue = false)] + public PagedLinks Links { get; set; } + + /// + /// Gets or Sets Items + /// + [DataMember(Name = "items", EmitDefaultValue = false)] + public List Items { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ListMounts {\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/SetListEntry.cs b/src/Dofusdude.Api/Model/ListSet.cs similarity index 58% rename from src/Dofusdude.Api/Model/SetListEntry.cs rename to src/Dofusdude.Api/Model/ListSet.cs index 40bf0d7..ce35edb 100644 --- a/src/Dofusdude.Api/Model/SetListEntry.cs +++ b/src/Dofusdude.Api/Model/ListSet.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,13 +27,13 @@ namespace Dofusdude.Api.Model { /// - /// SetListEntry + /// ListSet /// - [DataContract(Name = "Set-List-Entry")] - public partial class SetListEntry : IValidatableObject + [DataContract(Name = "ListSet")] + public partial class ListSet : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// ankamaId. /// name. @@ -42,7 +42,7 @@ public partial class SetListEntry : IValidatableObject /// effects. /// equipmentIds. /// isCosmetic. - public SetListEntry(int ankamaId = default(int), string name = default(string), int items = default(int), int level = default(int), List> effects = default(List>), List equipmentIds = default(List), bool isCosmetic = default(bool)) + public ListSet(int ankamaId = default(int), string name = default(string), int items = default(int), int level = default(int), Dictionary> effects = default(Dictionary>), List equipmentIds = default(List), bool isCosmetic = default(bool)) { this.AnkamaId = ankamaId; this.Name = name; @@ -81,8 +81,8 @@ public partial class SetListEntry : IValidatableObject /// /// Gets or Sets Effects /// - [DataMember(Name = "effects", EmitDefaultValue = true)] - public List> Effects { get; set; } + [DataMember(Name = "effects", EmitDefaultValue = false)] + public Dictionary> Effects { get; set; } /// /// Gets or Sets EquipmentIds @@ -103,7 +103,7 @@ public partial class SetListEntry : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class SetListEntry {\n"); + sb.Append("class ListSet {\n"); sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Items: ").Append(Items).Append("\n"); diff --git a/src/Dofusdude.Api/Model/ListSets.cs b/src/Dofusdude.Api/Model/ListSets.cs new file mode 100644 index 0000000..58b9d4e --- /dev/null +++ b/src/Dofusdude.Api/Model/ListSets.cs @@ -0,0 +1,92 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// ListSets + /// + [DataContract(Name = "ListSets")] + public partial class ListSets : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// links. + /// sets. + public ListSets(PagedLinks links = default(PagedLinks), List sets = default(List)) + { + this.Links = links; + this.Sets = sets; + } + + /// + /// Gets or Sets Links + /// + [DataMember(Name = "_links", EmitDefaultValue = false)] + public PagedLinks Links { get; set; } + + /// + /// Gets or Sets Sets + /// + [DataMember(Name = "sets", EmitDefaultValue = false)] + public List Sets { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ListSets {\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" Sets: ").Append(Sets).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/GetMetaVersion200Response.cs b/src/Dofusdude.Api/Model/ModelVersion.cs similarity index 51% rename from src/Dofusdude.Api/Model/GetMetaVersion200Response.cs rename to src/Dofusdude.Api/Model/ModelVersion.cs index f58e2e4..068cbf8 100644 --- a/src/Dofusdude.Api/Model/GetMetaVersion200Response.cs +++ b/src/Dofusdude.Api/Model/ModelVersion.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,18 +27,18 @@ namespace Dofusdude.Api.Model { /// - /// GetMetaVersion200Response + /// ModelVersion /// - [DataContract(Name = "get_meta_version_200_response")] - public partial class GetMetaVersion200Response : IValidatableObject + [DataContract(Name = "varVersion")] + public partial class ModelVersion : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// varVersion. /// release. /// updateStamp. - public GetMetaVersion200Response(string varVersion = default(string), string release = default(string), string updateStamp = default(string)) + public ModelVersion(string varVersion = default(string), string release = default(string), string updateStamp = default(string)) { this.VarVersion = varVersion; this.Release = release; @@ -70,7 +70,7 @@ public partial class GetMetaVersion200Response : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class GetMetaVersion200Response {\n"); + sb.Append("class ModelVersion {\n"); sb.Append(" VarVersion: ").Append(VarVersion).Append("\n"); sb.Append(" Release: ").Append(Release).Append("\n"); sb.Append(" UpdateStamp: ").Append(UpdateStamp).Append("\n"); diff --git a/src/Dofusdude.Api/Model/Mount.cs b/src/Dofusdude.Api/Model/Mount.cs index 4319ef2..6cc7fe9 100644 --- a/src/Dofusdude.Api/Model/Mount.cs +++ b/src/Dofusdude.Api/Model/Mount.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -37,14 +37,14 @@ public partial class Mount : IValidatableObject /// /// ankamaId. /// name. - /// familyName. + /// family. /// imageUrls. /// effects. - public Mount(int ankamaId = default(int), string name = default(string), string familyName = default(string), ImageUrls imageUrls = default(ImageUrls), List effects = default(List)) + public Mount(int ankamaId = default(int), string name = default(string), MountFamily family = default(MountFamily), Images imageUrls = default(Images), List effects = default(List)) { this.AnkamaId = ankamaId; this.Name = name; - this.FamilyName = familyName; + this.Family = family; this.ImageUrls = imageUrls; this.Effects = effects; } @@ -62,22 +62,22 @@ public partial class Mount : IValidatableObject public string Name { get; set; } /// - /// Gets or Sets FamilyName + /// Gets or Sets Family /// - [DataMember(Name = "family_name", EmitDefaultValue = false)] - public string FamilyName { get; set; } + [DataMember(Name = "family", EmitDefaultValue = false)] + public MountFamily Family { get; set; } /// /// Gets or Sets ImageUrls /// [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } + public Images ImageUrls { get; set; } /// /// Gets or Sets Effects /// [DataMember(Name = "effects", EmitDefaultValue = true)] - public List Effects { get; set; } + public List Effects { get; set; } /// /// Returns the string presentation of the object @@ -89,7 +89,7 @@ public override string ToString() sb.Append("class Mount {\n"); sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" FamilyName: ").Append(FamilyName).Append("\n"); + sb.Append(" Family: ").Append(Family).Append("\n"); sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); sb.Append(" Effects: ").Append(Effects).Append("\n"); sb.Append("}\n"); diff --git a/src/Dofusdude.Api/Model/MountFamily.cs b/src/Dofusdude.Api/Model/MountFamily.cs new file mode 100644 index 0000000..5271963 --- /dev/null +++ b/src/Dofusdude.Api/Model/MountFamily.cs @@ -0,0 +1,93 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// MountFamily + /// + [DataContract(Name = "MountFamily")] + public partial class MountFamily : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ankamaId. + /// localized name. + public MountFamily(int ankamaId = default(int), string name = default(string)) + { + this.AnkamaId = ankamaId; + this.Name = name; + } + + /// + /// Gets or Sets AnkamaId + /// + [DataMember(Name = "ankama_id", EmitDefaultValue = false)] + public int AnkamaId { get; set; } + + /// + /// localized name + /// + /// localized name + [DataMember(Name = "name", EmitDefaultValue = false)] + public string Name { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class MountFamily {\n"); + sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/MountListEntry.cs b/src/Dofusdude.Api/Model/MountListEntry.cs deleted file mode 100644 index bcb4a72..0000000 --- a/src/Dofusdude.Api/Model/MountListEntry.cs +++ /dev/null @@ -1,119 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// MountListEntry - /// - [DataContract(Name = "Mount-List-Entry")] - public partial class MountListEntry : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// ankamaId. - /// name. - /// familyName. - /// imageUrls. - /// effects. - public MountListEntry(int ankamaId = default(int), string name = default(string), string familyName = default(string), ImageUrls imageUrls = default(ImageUrls), List effects = default(List)) - { - this.AnkamaId = ankamaId; - this.Name = name; - this.FamilyName = familyName; - this.ImageUrls = imageUrls; - this.Effects = effects; - } - - /// - /// Gets or Sets AnkamaId - /// - [DataMember(Name = "ankama_id", EmitDefaultValue = false)] - public int AnkamaId { get; set; } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", EmitDefaultValue = false)] - public string Name { get; set; } - - /// - /// Gets or Sets FamilyName - /// - [DataMember(Name = "family_name", EmitDefaultValue = false)] - public string FamilyName { get; set; } - - /// - /// Gets or Sets ImageUrls - /// - [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } - - /// - /// Gets or Sets Effects - /// - [DataMember(Name = "effects", EmitDefaultValue = true)] - public List Effects { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class MountListEntry {\n"); - sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" FamilyName: ").Append(FamilyName).Append("\n"); - sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); - sb.Append(" Effects: ").Append(Effects).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/MountsListPaged.cs b/src/Dofusdude.Api/Model/MountsListPaged.cs deleted file mode 100644 index f8580f3..0000000 --- a/src/Dofusdude.Api/Model/MountsListPaged.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// MountsListPaged - /// - [DataContract(Name = "Mounts-List-Paged")] - public partial class MountsListPaged : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// links. - /// items. - public MountsListPaged(LinksPaged links = default(LinksPaged), List items = default(List)) - { - this.Links = links; - this.Items = items; - } - - /// - /// Gets or Sets Links - /// - [DataMember(Name = "_links", EmitDefaultValue = false)] - public LinksPaged Links { get; set; } - - /// - /// Gets or Sets Items - /// - [DataMember(Name = "items", EmitDefaultValue = false)] - public List Items { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class MountsListPaged {\n"); - sb.Append(" Links: ").Append(Links).Append("\n"); - sb.Append(" Items: ").Append(Items).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/LinksPaged.cs b/src/Dofusdude.Api/Model/PagedLinks.cs similarity index 55% rename from src/Dofusdude.Api/Model/LinksPaged.cs rename to src/Dofusdude.Api/Model/PagedLinks.cs index ea9de93..875356f 100644 --- a/src/Dofusdude.Api/Model/LinksPaged.cs +++ b/src/Dofusdude.Api/Model/PagedLinks.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,19 +27,19 @@ namespace Dofusdude.Api.Model { /// - /// LinksPaged + /// PagedLinks /// - [DataContract(Name = "Links-Paged")] - public partial class LinksPaged : IValidatableObject + [DataContract(Name = "PagedLinks")] + public partial class PagedLinks : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// first. /// prev. /// next. /// last. - public LinksPaged(string first = default(string), string prev = default(string), string next = default(string), string last = default(string)) + public PagedLinks(string first = default(string), string prev = default(string), string next = default(string), string last = default(string)) { this.First = first; this.Prev = prev; @@ -78,7 +78,7 @@ public partial class LinksPaged : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class LinksPaged {\n"); + sb.Append("class PagedLinks {\n"); sb.Append(" First: ").Append(First).Append("\n"); sb.Append(" Prev: ").Append(Prev).Append("\n"); sb.Append(" Next: ").Append(Next).Append("\n"); diff --git a/src/Dofusdude.Api/Model/PutAlmanaxWebhook.cs b/src/Dofusdude.Api/Model/PutAlmanaxWebhook.cs index a4cb70b..c002292 100644 --- a/src/Dofusdude.Api/Model/PutAlmanaxWebhook.cs +++ b/src/Dofusdude.Api/Model/PutAlmanaxWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -120,8 +120,8 @@ public enum WeeklyWeekdayEnum /// /// Initializes a new instance of the class. /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing.. - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing.. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing.. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing.. /// Get the available subscriptions with /meta/webhooks/almanax. /// dailySettings. /// If false, it will use common local time formats and weekday translations. If true, the format is YYYY-MM-DD. (default to false). @@ -142,16 +142,16 @@ public enum WeeklyWeekdayEnum } /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. [DataMember(Name = "bonus_whitelist", EmitDefaultValue = true)] public List BonusWhitelist { get; set; } /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. /// - /// from all available bonuses (ids) from /dofus2/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. + /// from all available bonuses (ids) from /dofus3/meta/{language}/almanax/bonuses. Delete old entries with empty array []. Just null changes nothing. [DataMember(Name = "bonus_blacklist", EmitDefaultValue = true)] public List BonusBlacklist { get; set; } diff --git a/src/Dofusdude.Api/Model/PutRSSWebhook.cs b/src/Dofusdude.Api/Model/PutRSSWebhook.cs index c6d2f4a..06005c7 100644 --- a/src/Dofusdude.Api/Model/PutRSSWebhook.cs +++ b/src/Dofusdude.Api/Model/PutRSSWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/PutTwitterWebhook.cs b/src/Dofusdude.Api/Model/PutTwitterWebhook.cs index 71f5749..94df68a 100644 --- a/src/Dofusdude.Api/Model/PutTwitterWebhook.cs +++ b/src/Dofusdude.Api/Model/PutTwitterWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/Range.cs b/src/Dofusdude.Api/Model/Range.cs new file mode 100644 index 0000000..addfb86 --- /dev/null +++ b/src/Dofusdude.Api/Model/Range.cs @@ -0,0 +1,92 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// Range + /// + [DataContract(Name = "Range")] + public partial class Range : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// min. + /// max. + public Range(int min = default(int), int max = default(int)) + { + this.Min = min; + this.Max = max; + } + + /// + /// Gets or Sets Min + /// + [DataMember(Name = "min", EmitDefaultValue = false)] + public int Min { get; set; } + + /// + /// Gets or Sets Max + /// + [DataMember(Name = "max", EmitDefaultValue = false)] + public int Max { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class Range {\n"); + sb.Append(" Min: ").Append(Min).Append("\n"); + sb.Append(" Max: ").Append(Max).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/RecipeEntry.cs b/src/Dofusdude.Api/Model/Recipe.cs similarity index 52% rename from src/Dofusdude.Api/Model/RecipeEntry.cs rename to src/Dofusdude.Api/Model/Recipe.cs index 9b94118..10b1a24 100644 --- a/src/Dofusdude.Api/Model/RecipeEntry.cs +++ b/src/Dofusdude.Api/Model/Recipe.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,18 +27,18 @@ namespace Dofusdude.Api.Model { /// - /// RecipeEntry + /// Recipe /// - [DataContract(Name = "Recipe-Entry")] - public partial class RecipeEntry : IValidatableObject + [DataContract(Name = "Recipe")] + public partial class Recipe : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// itemAnkamaId. /// itemSubtype. /// quantity. - public RecipeEntry(int itemAnkamaId = default(int), string itemSubtype = default(string), int quantity = default(int)) + public Recipe(int itemAnkamaId = default(int), string itemSubtype = default(string), int quantity = default(int)) { this.ItemAnkamaId = itemAnkamaId; this.ItemSubtype = itemSubtype; @@ -70,7 +70,7 @@ public partial class RecipeEntry : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class RecipeEntry {\n"); + sb.Append("class Recipe {\n"); sb.Append(" ItemAnkamaId: ").Append(ItemAnkamaId).Append("\n"); sb.Append(" ItemSubtype: ").Append(ItemSubtype).Append("\n"); sb.Append(" Quantity: ").Append(Quantity).Append("\n"); diff --git a/src/Dofusdude.Api/Model/Resource.cs b/src/Dofusdude.Api/Model/Resource.cs index 18425ac..3333eaf 100644 --- a/src/Dofusdude.Api/Model/Resource.cs +++ b/src/Dofusdude.Api/Model/Resource.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -44,9 +44,8 @@ public partial class Resource : IValidatableObject /// imageUrls. /// effects. /// conditions. - /// conditionTree. /// recipe. - public Resource(int ankamaId = default(int), string name = default(string), string description = default(string), ResourceType type = default(ResourceType), int level = default(int), int pods = default(int), ImageUrls imageUrls = default(ImageUrls), List effects = default(List), List conditions = default(List), ConditionTreeNode conditionTree = default(ConditionTreeNode), List recipe = default(List)) + public Resource(int ankamaId = default(int), string name = default(string), string description = default(string), TranslatedId type = default(TranslatedId), int level = default(int), int pods = default(int), Images imageUrls = default(Images), List effects = default(List), ConditionNode conditions = default(ConditionNode), List recipe = default(List)) { this.AnkamaId = ankamaId; this.Name = name; @@ -57,7 +56,6 @@ public partial class Resource : IValidatableObject this.ImageUrls = imageUrls; this.Effects = effects; this.Conditions = conditions; - this.ConditionTree = conditionTree; this.Recipe = recipe; } @@ -83,7 +81,7 @@ public partial class Resource : IValidatableObject /// Gets or Sets Type /// [DataMember(Name = "type", EmitDefaultValue = false)] - public ResourceType Type { get; set; } + public TranslatedId Type { get; set; } /// /// Gets or Sets Level @@ -101,32 +99,25 @@ public partial class Resource : IValidatableObject /// Gets or Sets ImageUrls /// [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } + public Images ImageUrls { get; set; } /// /// Gets or Sets Effects /// [DataMember(Name = "effects", EmitDefaultValue = true)] - public List Effects { get; set; } + public List Effects { get; set; } /// /// Gets or Sets Conditions /// [DataMember(Name = "conditions", EmitDefaultValue = true)] - [Obsolete] - public List Conditions { get; set; } - - /// - /// Gets or Sets ConditionTree - /// - [DataMember(Name = "condition_tree", EmitDefaultValue = false)] - public ConditionTreeNode ConditionTree { get; set; } + public ConditionNode Conditions { get; set; } /// /// Gets or Sets Recipe /// [DataMember(Name = "recipe", EmitDefaultValue = true)] - public List Recipe { get; set; } + public List Recipe { get; set; } /// /// Returns the string presentation of the object @@ -145,7 +136,6 @@ public override string ToString() sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); sb.Append(" Effects: ").Append(Effects).Append("\n"); sb.Append(" Conditions: ").Append(Conditions).Append("\n"); - sb.Append(" ConditionTree: ").Append(ConditionTree).Append("\n"); sb.Append(" Recipe: ").Append(Recipe).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/src/Dofusdude.Api/Model/ResourceType.cs b/src/Dofusdude.Api/Model/ResourceType.cs deleted file mode 100644 index ad0e7ae..0000000 --- a/src/Dofusdude.Api/Model/ResourceType.cs +++ /dev/null @@ -1,98 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// ResourceType - /// - [DataContract(Name = "Resource_type")] - public partial class ResourceType : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// name. - /// id. - public ResourceType(string name = default(string), int id = default(int)) - { - this.Name = name; - this.Id = id; - } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", EmitDefaultValue = false)] - public string Name { get; set; } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public int Id { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ResourceType {\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - // Id (int) minimum - if (this.Id < (int)0) - { - yield return new ValidationResult("Invalid value for Id, must be a value greater than or equal to 0.", new [] { "Id" }); - } - - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/RssWebhook.cs b/src/Dofusdude.Api/Model/RssWebhook.cs index 51dce7a..374f284 100644 --- a/src/Dofusdude.Api/Model/RssWebhook.cs +++ b/src/Dofusdude.Api/Model/RssWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/EquipmentSet.cs b/src/Dofusdude.Api/Model/Set.cs similarity index 57% rename from src/Dofusdude.Api/Model/EquipmentSet.cs rename to src/Dofusdude.Api/Model/Set.cs index 06ee870..d57d249 100644 --- a/src/Dofusdude.Api/Model/EquipmentSet.cs +++ b/src/Dofusdude.Api/Model/Set.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -27,13 +27,13 @@ namespace Dofusdude.Api.Model { /// - /// EquipmentSet + /// Set /// - [DataContract(Name = "Equipment-Set")] - public partial class EquipmentSet : IValidatableObject + [DataContract(Name = "Set")] + public partial class Set : IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// ankamaId. /// name. @@ -41,7 +41,7 @@ public partial class EquipmentSet : IValidatableObject /// effects. /// highestEquipmentLevel. /// isCosmetic. - public EquipmentSet(int ankamaId = default(int), string name = default(string), List equipmentIds = default(List), List> effects = default(List>), int highestEquipmentLevel = default(int), bool isCosmetic = default(bool)) + public Set(int ankamaId = default(int), string name = default(string), List equipmentIds = default(List), Dictionary> effects = default(Dictionary>), int highestEquipmentLevel = default(int), bool isCosmetic = default(bool)) { this.AnkamaId = ankamaId; this.Name = name; @@ -72,8 +72,8 @@ public partial class EquipmentSet : IValidatableObject /// /// Gets or Sets Effects /// - [DataMember(Name = "effects", EmitDefaultValue = true)] - public List> Effects { get; set; } + [DataMember(Name = "effects", EmitDefaultValue = false)] + public Dictionary> Effects { get; set; } /// /// Gets or Sets HighestEquipmentLevel @@ -94,7 +94,7 @@ public partial class EquipmentSet : IValidatableObject public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.Append("class EquipmentSet {\n"); + sb.Append("class Set {\n"); sb.Append(" AnkamaId: ").Append(AnkamaId).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" EquipmentIds: ").Append(EquipmentIds).Append("\n"); diff --git a/src/Dofusdude.Api/Model/SetEffectsEntry.cs b/src/Dofusdude.Api/Model/SetEffectsEntry.cs deleted file mode 100644 index 37ac98c..0000000 --- a/src/Dofusdude.Api/Model/SetEffectsEntry.cs +++ /dev/null @@ -1,143 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// SetEffectsEntry - /// - [DataContract(Name = "Set-Effects-Entry")] - public partial class SetEffectsEntry : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// minimum int value, can be a single if ignore_int_max and no ignore_int_min. - /// maximum int value, if not ignore_int_max and not ignore_int_min, the effect has a range value. - /// type. - /// ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this case. . - /// ignore the int max field, if ignore_int_min is true, int min is a single value. - /// all fields from above encoded in a single string. - /// how many items it needs to trigger this effect with the given set. - public SetEffectsEntry(int intMinimum = default(int), int intMaximum = default(int), SetEffectsEntryType type = default(SetEffectsEntryType), bool ignoreIntMin = default(bool), bool ignoreIntMax = default(bool), string formatted = default(string), int itemCombination = default(int)) - { - this.IntMinimum = intMinimum; - this.IntMaximum = intMaximum; - this.Type = type; - this.IgnoreIntMin = ignoreIntMin; - this.IgnoreIntMax = ignoreIntMax; - this.Formatted = formatted; - this.ItemCombination = itemCombination; - } - - /// - /// minimum int value, can be a single if ignore_int_max and no ignore_int_min - /// - /// minimum int value, can be a single if ignore_int_max and no ignore_int_min - [DataMember(Name = "int_minimum", EmitDefaultValue = false)] - public int IntMinimum { get; set; } - - /// - /// maximum int value, if not ignore_int_max and not ignore_int_min, the effect has a range value - /// - /// maximum int value, if not ignore_int_max and not ignore_int_min, the effect has a range value - [DataMember(Name = "int_maximum", EmitDefaultValue = false)] - public int IntMaximum { get; set; } - - /// - /// Gets or Sets Type - /// - [DataMember(Name = "type", EmitDefaultValue = false)] - public SetEffectsEntryType Type { get; set; } - - /// - /// ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this case. - /// - /// ignore the int min field because the actual value is a string. For readability the templated field is the only important field in this case. - [DataMember(Name = "ignore_int_min", EmitDefaultValue = true)] - public bool IgnoreIntMin { get; set; } - - /// - /// ignore the int max field, if ignore_int_min is true, int min is a single value - /// - /// ignore the int max field, if ignore_int_min is true, int min is a single value - [DataMember(Name = "ignore_int_max", EmitDefaultValue = true)] - public bool IgnoreIntMax { get; set; } - - /// - /// all fields from above encoded in a single string - /// - /// all fields from above encoded in a single string - [DataMember(Name = "formatted", EmitDefaultValue = false)] - public string Formatted { get; set; } - - /// - /// how many items it needs to trigger this effect with the given set - /// - /// how many items it needs to trigger this effect with the given set - [DataMember(Name = "item_combination", EmitDefaultValue = false)] - public int ItemCombination { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class SetEffectsEntry {\n"); - sb.Append(" IntMinimum: ").Append(IntMinimum).Append("\n"); - sb.Append(" IntMaximum: ").Append(IntMaximum).Append("\n"); - sb.Append(" Type: ").Append(Type).Append("\n"); - sb.Append(" IgnoreIntMin: ").Append(IgnoreIntMin).Append("\n"); - sb.Append(" IgnoreIntMax: ").Append(IgnoreIntMax).Append("\n"); - sb.Append(" Formatted: ").Append(Formatted).Append("\n"); - sb.Append(" ItemCombination: ").Append(ItemCombination).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/SetsListPaged.cs b/src/Dofusdude.Api/Model/SetsListPaged.cs deleted file mode 100644 index 568782a..0000000 --- a/src/Dofusdude.Api/Model/SetsListPaged.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// SetsListPaged - /// - [DataContract(Name = "Sets-List-Paged")] - public partial class SetsListPaged : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// links. - /// sets. - public SetsListPaged(LinksPaged links = default(LinksPaged), List sets = default(List)) - { - this.Links = links; - this.Sets = sets; - } - - /// - /// Gets or Sets Links - /// - [DataMember(Name = "_links", EmitDefaultValue = false)] - public LinksPaged Links { get; set; } - - /// - /// Gets or Sets Sets - /// - [DataMember(Name = "sets", EmitDefaultValue = false)] - public List Sets { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class SetsListPaged {\n"); - sb.Append(" Links: ").Append(Links).Append("\n"); - sb.Append(" Sets: ").Append(Sets).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Dofusdude.Api/Model/TranslatedId.cs b/src/Dofusdude.Api/Model/TranslatedId.cs new file mode 100644 index 0000000..6c5b9ec --- /dev/null +++ b/src/Dofusdude.Api/Model/TranslatedId.cs @@ -0,0 +1,94 @@ +/* + * dofusdude + * + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * + * The version of the OpenAPI document: 1.0.0-rc.2 + * Contact: stelzo@steado.de + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; + +namespace Dofusdude.Api.Model +{ + /// + /// TranslatedId + /// + [DataContract(Name = "TranslatedId")] + public partial class TranslatedId : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// unique. + /// localized name. + public TranslatedId(int id = default(int), string name = default(string)) + { + this.Id = id; + this.Name = name; + } + + /// + /// unique + /// + /// unique + [DataMember(Name = "id", EmitDefaultValue = false)] + public int Id { get; set; } + + /// + /// localized name + /// + /// localized name + [DataMember(Name = "name", EmitDefaultValue = false)] + public string Name { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class TranslatedId {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Dofusdude.Api/Model/TwitterWebhook.cs b/src/Dofusdude.Api/Model/TwitterWebhook.cs index 6b806a4..786c6d0 100644 --- a/src/Dofusdude.Api/Model/TwitterWebhook.cs +++ b/src/Dofusdude.Api/Model/TwitterWebhook.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Dofusdude.Api/Model/Weapon.cs b/src/Dofusdude.Api/Model/Weapon.cs index ea6924e..503b377 100644 --- a/src/Dofusdude.Api/Model/Weapon.cs +++ b/src/Dofusdude.Api/Model/Weapon.cs @@ -1,9 +1,9 @@ /* * dofusdude * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 0.9.4 + * The version of the OpenAPI document: 1.0.0-rc.2 * Contact: stelzo@steado.de * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -45,16 +45,14 @@ public partial class Weapon : IValidatableObject /// imageUrls. /// effects. /// conditions. - /// conditionTree. /// criticalHitProbability. /// criticalHitBonus. - /// isTwoHanded. /// maxCastPerTurn. /// apCost. /// range. /// recipe. /// parentSet. - public Weapon(int ankamaId = default(int), string name = default(string), string description = default(string), ItemsListEntryTypedType type = default(ItemsListEntryTypedType), bool isWeapon = default(bool), int level = default(int), int pods = default(int), ImageUrls imageUrls = default(ImageUrls), List effects = default(List), List conditions = default(List), ConditionTreeNode conditionTree = default(ConditionTreeNode), int criticalHitProbability = default(int), int criticalHitBonus = default(int), bool isTwoHanded = default(bool), int maxCastPerTurn = default(int), int apCost = default(int), WeaponRange range = default(WeaponRange), List recipe = default(List), ItemListEntryParentSet parentSet = default(ItemListEntryParentSet)) + public Weapon(int ankamaId = default(int), string name = default(string), string description = default(string), TranslatedId type = default(TranslatedId), bool isWeapon = default(bool), int level = default(int), int pods = default(int), Images imageUrls = default(Images), List effects = default(List), ConditionNode conditions = default(ConditionNode), int criticalHitProbability = default(int), int criticalHitBonus = default(int), int maxCastPerTurn = default(int), int apCost = default(int), Range range = default(Range), List recipe = default(List), TranslatedId parentSet = default(TranslatedId)) { this.AnkamaId = ankamaId; this.Name = name; @@ -66,10 +64,8 @@ public partial class Weapon : IValidatableObject this.ImageUrls = imageUrls; this.Effects = effects; this.Conditions = conditions; - this.ConditionTree = conditionTree; this.CriticalHitProbability = criticalHitProbability; this.CriticalHitBonus = criticalHitBonus; - this.IsTwoHanded = isTwoHanded; this.MaxCastPerTurn = maxCastPerTurn; this.ApCost = apCost; this.Range = range; @@ -99,7 +95,7 @@ public partial class Weapon : IValidatableObject /// Gets or Sets Type /// [DataMember(Name = "type", EmitDefaultValue = false)] - public ItemsListEntryTypedType Type { get; set; } + public TranslatedId Type { get; set; } /// /// always true when the item is a weapon. Many fields are now available. Always check for this flag first when getting single equipment items. @@ -124,26 +120,19 @@ public partial class Weapon : IValidatableObject /// Gets or Sets ImageUrls /// [DataMember(Name = "image_urls", EmitDefaultValue = false)] - public ImageUrls ImageUrls { get; set; } + public Images ImageUrls { get; set; } /// /// Gets or Sets Effects /// [DataMember(Name = "effects", EmitDefaultValue = true)] - public List Effects { get; set; } + public List Effects { get; set; } /// /// Gets or Sets Conditions /// [DataMember(Name = "conditions", EmitDefaultValue = true)] - [Obsolete] - public List Conditions { get; set; } - - /// - /// Gets or Sets ConditionTree - /// - [DataMember(Name = "condition_tree", EmitDefaultValue = false)] - public ConditionTreeNode ConditionTree { get; set; } + public ConditionNode Conditions { get; set; } /// /// Gets or Sets CriticalHitProbability @@ -157,12 +146,6 @@ public partial class Weapon : IValidatableObject [DataMember(Name = "critical_hit_bonus", EmitDefaultValue = false)] public int CriticalHitBonus { get; set; } - /// - /// Gets or Sets IsTwoHanded - /// - [DataMember(Name = "is_two_handed", EmitDefaultValue = true)] - public bool IsTwoHanded { get; set; } - /// /// Gets or Sets MaxCastPerTurn /// @@ -179,19 +162,19 @@ public partial class Weapon : IValidatableObject /// Gets or Sets Range /// [DataMember(Name = "range", EmitDefaultValue = false)] - public WeaponRange Range { get; set; } + public Range Range { get; set; } /// /// Gets or Sets Recipe /// [DataMember(Name = "recipe", EmitDefaultValue = true)] - public List Recipe { get; set; } + public List Recipe { get; set; } /// /// Gets or Sets ParentSet /// [DataMember(Name = "parent_set", EmitDefaultValue = true)] - public ItemListEntryParentSet ParentSet { get; set; } + public TranslatedId ParentSet { get; set; } /// /// Returns the string presentation of the object @@ -211,10 +194,8 @@ public override string ToString() sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); sb.Append(" Effects: ").Append(Effects).Append("\n"); sb.Append(" Conditions: ").Append(Conditions).Append("\n"); - sb.Append(" ConditionTree: ").Append(ConditionTree).Append("\n"); sb.Append(" CriticalHitProbability: ").Append(CriticalHitProbability).Append("\n"); sb.Append(" CriticalHitBonus: ").Append(CriticalHitBonus).Append("\n"); - sb.Append(" IsTwoHanded: ").Append(IsTwoHanded).Append("\n"); sb.Append(" MaxCastPerTurn: ").Append(MaxCastPerTurn).Append("\n"); sb.Append(" ApCost: ").Append(ApCost).Append("\n"); sb.Append(" Range: ").Append(Range).Append("\n"); diff --git a/src/Dofusdude.Api/Model/WeaponRange.cs b/src/Dofusdude.Api/Model/WeaponRange.cs deleted file mode 100644 index 6bf0809..0000000 --- a/src/Dofusdude.Api/Model/WeaponRange.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - * dofusdude - * - * # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js - -save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts - -save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [PHP](https://github.com/dofusdude/dofusdude-php) - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). - * - * The version of the OpenAPI document: 0.9.4 - * Contact: stelzo@steado.de - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Dofusdude.Api.Client.OpenAPIDateConverter; - -namespace Dofusdude.Api.Model -{ - /// - /// WeaponRange - /// - [DataContract(Name = "Weapon_range")] - public partial class WeaponRange : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// min. - /// max. - public WeaponRange(int min = default(int), int max = default(int)) - { - this.Min = min; - this.Max = max; - } - - /// - /// Gets or Sets Min - /// - [DataMember(Name = "min", EmitDefaultValue = false)] - public int Min { get; set; } - - /// - /// Gets or Sets Max - /// - [DataMember(Name = "max", EmitDefaultValue = false)] - public int Max { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class WeaponRange {\n"); - sb.Append(" Min: ").Append(Min).Append("\n"); - sb.Append(" Max: ").Append(Max).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -}