gs2 1.3.125 → 1.3.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/watch/model/AccountMetrics.d.ts +14 -0
- package/watch/model/AccountMetrics.js +56 -0
- package/watch/model/AccountMetrics.js.map +1 -0
- package/watch/model/AccountMetrics.ts +56 -0
- package/watch/model/AccountNamespace.d.ts +18 -0
- package/watch/model/AccountNamespace.js +70 -0
- package/watch/model/AccountNamespace.js.map +1 -0
- package/watch/model/AccountNamespace.ts +69 -0
- package/watch/model/AccountTakeOver.d.ts +17 -0
- package/watch/model/AccountTakeOver.js +62 -0
- package/watch/model/AccountTakeOver.js.map +1 -0
- package/watch/model/AccountTakeOver.ts +60 -0
- package/watch/model/ExchangeMetrics.d.ts +14 -0
- package/watch/model/ExchangeMetrics.js +56 -0
- package/watch/model/ExchangeMetrics.js.map +1 -0
- package/watch/model/ExchangeMetrics.ts +56 -0
- package/watch/model/ExchangeNamespace.d.ts +18 -0
- package/watch/model/ExchangeNamespace.js +70 -0
- package/watch/model/ExchangeNamespace.js.map +1 -0
- package/watch/model/ExchangeNamespace.ts +69 -0
- package/watch/model/ExchangeRate.d.ts +17 -0
- package/watch/model/ExchangeRate.js +62 -0
- package/watch/model/ExchangeRate.js.map +1 -0
- package/watch/model/ExchangeRate.ts +60 -0
- package/watch/model/ExperienceExperience.d.ts +18 -0
- package/watch/model/ExperienceExperience.js +70 -0
- package/watch/model/ExperienceExperience.js.map +1 -0
- package/watch/model/ExperienceExperience.ts +69 -0
- package/watch/model/ExperienceMetrics.d.ts +14 -0
- package/watch/model/ExperienceMetrics.js +56 -0
- package/watch/model/ExperienceMetrics.js.map +1 -0
- package/watch/model/ExperienceMetrics.ts +57 -0
- package/watch/model/ExperienceNamespace.d.ts +18 -0
- package/watch/model/ExperienceNamespace.js +70 -0
- package/watch/model/ExperienceNamespace.js.map +1 -0
- package/watch/model/ExperienceNamespace.ts +70 -0
- package/watch/model/ExperienceRankDistribution.d.ts +17 -0
- package/watch/model/ExperienceRankDistribution.js +62 -0
- package/watch/model/ExperienceRankDistribution.js.map +1 -0
- package/watch/model/ExperienceRankDistribution.ts +60 -0
- package/watch/model/FirstWeekLoginDays.d.ts +29 -0
- package/watch/model/FirstWeekLoginDays.js +104 -0
- package/watch/model/FirstWeekLoginDays.js.map +1 -0
- package/watch/model/FirstWeekLoginDays.ts +102 -0
- package/watch/model/GeneralMetrics.d.ts +42 -0
- package/watch/model/GeneralMetrics.js +139 -0
- package/watch/model/GeneralMetrics.js.map +1 -0
- package/watch/model/GeneralMetrics.ts +137 -0
- package/watch/model/InboxMetrics.d.ts +14 -0
- package/watch/model/InboxMetrics.js +56 -0
- package/watch/model/InboxMetrics.js.map +1 -0
- package/watch/model/InboxMetrics.ts +58 -0
- package/watch/model/InboxNamespace.d.ts +18 -0
- package/watch/model/InboxNamespace.js +65 -0
- package/watch/model/InboxNamespace.js.map +1 -0
- package/watch/model/InboxNamespace.ts +63 -0
- package/watch/model/InboxStatisticOpenMinutes.d.ts +29 -0
- package/watch/model/InboxStatisticOpenMinutes.js +104 -0
- package/watch/model/InboxStatisticOpenMinutes.js.map +1 -0
- package/watch/model/InboxStatisticOpenMinutes.ts +102 -0
- package/watch/model/InboxStatisticSummary.d.ts +21 -0
- package/watch/model/InboxStatisticSummary.js +76 -0
- package/watch/model/InboxStatisticSummary.js.map +1 -0
- package/watch/model/InboxStatisticSummary.ts +74 -0
- package/watch/model/InboxStatistics.d.ts +19 -0
- package/watch/model/InboxStatistics.js +66 -0
- package/watch/model/InboxStatistics.js.map +1 -0
- package/watch/model/InboxStatistics.ts +62 -0
- package/watch/model/InventoryInventory.d.ts +23 -0
- package/watch/model/InventoryInventory.js +91 -0
- package/watch/model/InventoryInventory.js.map +1 -0
- package/watch/model/InventoryInventory.ts +94 -0
- package/watch/model/InventoryInventoryStatistics.d.ts +17 -0
- package/watch/model/InventoryInventoryStatistics.js +62 -0
- package/watch/model/InventoryInventoryStatistics.js.map +1 -0
- package/watch/model/InventoryInventoryStatistics.ts +60 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.d.ts +21 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.js +76 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.js.map +1 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.ts +74 -0
- package/watch/model/InventoryItem.d.ts +23 -0
- package/watch/model/InventoryItem.js +86 -0
- package/watch/model/InventoryItem.js.map +1 -0
- package/watch/model/InventoryItem.ts +84 -0
- package/watch/model/InventoryItemDistribution.d.ts +21 -0
- package/watch/model/InventoryItemDistribution.js +76 -0
- package/watch/model/InventoryItemDistribution.js.map +1 -0
- package/watch/model/InventoryItemDistribution.ts +74 -0
- package/watch/model/InventoryItemStatistics.d.ts +21 -0
- package/watch/model/InventoryItemStatistics.js +76 -0
- package/watch/model/InventoryItemStatistics.js.map +1 -0
- package/watch/model/InventoryItemStatistics.ts +74 -0
- package/watch/model/InventoryMetrics.d.ts +14 -0
- package/watch/model/InventoryMetrics.js +56 -0
- package/watch/model/InventoryMetrics.js.map +1 -0
- package/watch/model/InventoryMetrics.ts +60 -0
- package/watch/model/InventoryNamespace.d.ts +18 -0
- package/watch/model/InventoryNamespace.js +70 -0
- package/watch/model/InventoryNamespace.js.map +1 -0
- package/watch/model/InventoryNamespace.ts +73 -0
- package/watch/model/LimitCounter.d.ts +18 -0
- package/watch/model/LimitCounter.js +70 -0
- package/watch/model/LimitCounter.js.map +1 -0
- package/watch/model/LimitCounter.ts +70 -0
- package/watch/model/LimitCounterDistribution.d.ts +18 -0
- package/watch/model/LimitCounterDistribution.js +70 -0
- package/watch/model/LimitCounterDistribution.js.map +1 -0
- package/watch/model/LimitCounterDistribution.ts +69 -0
- package/watch/model/LimitCounterDistributionUsage.d.ts +21 -0
- package/watch/model/LimitCounterDistributionUsage.js +76 -0
- package/watch/model/LimitCounterDistributionUsage.js.map +1 -0
- package/watch/model/LimitCounterDistributionUsage.ts +74 -0
- package/watch/model/LimitLimit.d.ts +18 -0
- package/watch/model/LimitLimit.js +70 -0
- package/watch/model/LimitLimit.js.map +1 -0
- package/watch/model/LimitLimit.ts +71 -0
- package/watch/model/LimitMetrics.d.ts +14 -0
- package/watch/model/LimitMetrics.js +56 -0
- package/watch/model/LimitMetrics.js.map +1 -0
- package/watch/model/LimitMetrics.ts +59 -0
- package/watch/model/LimitNamespace.d.ts +18 -0
- package/watch/model/LimitNamespace.js +70 -0
- package/watch/model/LimitNamespace.js.map +1 -0
- package/watch/model/LimitNamespace.ts +72 -0
- package/watch/model/MatchmakingDurationSeconds.d.ts +29 -0
- package/watch/model/MatchmakingDurationSeconds.js +104 -0
- package/watch/model/MatchmakingDurationSeconds.js.map +1 -0
- package/watch/model/MatchmakingDurationSeconds.ts +102 -0
- package/watch/model/MatchmakingMetrics.d.ts +14 -0
- package/watch/model/MatchmakingMetrics.js +56 -0
- package/watch/model/MatchmakingMetrics.js.map +1 -0
- package/watch/model/MatchmakingMetrics.ts +58 -0
- package/watch/model/MatchmakingNamespace.d.ts +23 -0
- package/watch/model/MatchmakingNamespace.js +86 -0
- package/watch/model/MatchmakingNamespace.js.map +1 -0
- package/watch/model/MatchmakingNamespace.ts +85 -0
- package/watch/model/MatchmakingRole.d.ts +30 -0
- package/watch/model/MatchmakingRole.js +107 -0
- package/watch/model/MatchmakingRole.js.map +1 -0
- package/watch/model/MatchmakingRole.ts +103 -0
- package/watch/model/MatchmakingStatistics.d.ts +26 -0
- package/watch/model/MatchmakingStatistics.js +93 -0
- package/watch/model/MatchmakingStatistics.js.map +1 -0
- package/watch/model/MatchmakingStatistics.ts +89 -0
- package/watch/model/MoneyBalanceDistribution.d.ts +21 -0
- package/watch/model/MoneyBalanceDistribution.js +76 -0
- package/watch/model/MoneyBalanceDistribution.js.map +1 -0
- package/watch/model/MoneyBalanceDistribution.ts +74 -0
- package/watch/model/MoneyBillingDistribution.d.ts +21 -0
- package/watch/model/MoneyBillingDistribution.js +76 -0
- package/watch/model/MoneyBillingDistribution.js.map +1 -0
- package/watch/model/MoneyBillingDistribution.ts +74 -0
- package/watch/model/MoneyMetrics.d.ts +14 -0
- package/watch/model/MoneyMetrics.js +56 -0
- package/watch/model/MoneyMetrics.js.map +1 -0
- package/watch/model/MoneyMetrics.ts +58 -0
- package/watch/model/MoneyNamespace.d.ts +28 -0
- package/watch/model/MoneyNamespace.js +107 -0
- package/watch/model/MoneyNamespace.js.map +1 -0
- package/watch/model/MoneyNamespace.ts +107 -0
- package/watch/model/MoneyStatistics.d.ts +21 -0
- package/watch/model/MoneyStatistics.js +76 -0
- package/watch/model/MoneyStatistics.js.map +1 -0
- package/watch/model/MoneyStatistics.ts +74 -0
- package/watch/model/MonthlyActiveUsers.d.ts +17 -0
- package/watch/model/MonthlyActiveUsers.js +62 -0
- package/watch/model/MonthlyActiveUsers.js.map +1 -0
- package/watch/model/MonthlyActiveUsers.ts +60 -0
- package/watch/model/QuestMetrics.d.ts +14 -0
- package/watch/model/QuestMetrics.js +56 -0
- package/watch/model/QuestMetrics.js.map +1 -0
- package/watch/model/QuestMetrics.ts +59 -0
- package/watch/model/QuestNamespace.d.ts +18 -0
- package/watch/model/QuestNamespace.js +70 -0
- package/watch/model/QuestNamespace.js.map +1 -0
- package/watch/model/QuestNamespace.ts +72 -0
- package/watch/model/QuestQuest.d.ts +18 -0
- package/watch/model/QuestQuest.js +65 -0
- package/watch/model/QuestQuest.js.map +1 -0
- package/watch/model/QuestQuest.ts +62 -0
- package/watch/model/QuestQuestDurationSeconds.d.ts +29 -0
- package/watch/model/QuestQuestDurationSeconds.js +104 -0
- package/watch/model/QuestQuestDurationSeconds.js.map +1 -0
- package/watch/model/QuestQuestDurationSeconds.ts +102 -0
- package/watch/model/QuestQuestGroup.d.ts +18 -0
- package/watch/model/QuestQuestGroup.js +70 -0
- package/watch/model/QuestQuestGroup.js.map +1 -0
- package/watch/model/QuestQuestGroup.ts +71 -0
- package/watch/model/QuestQuestReward.d.ts +26 -0
- package/watch/model/QuestQuestReward.js +93 -0
- package/watch/model/QuestQuestReward.js.map +1 -0
- package/watch/model/QuestQuestReward.ts +89 -0
- package/watch/model/QuestQuestRewardStatistics.d.ts +29 -0
- package/watch/model/QuestQuestRewardStatistics.js +104 -0
- package/watch/model/QuestQuestRewardStatistics.js.map +1 -0
- package/watch/model/QuestQuestRewardStatistics.ts +102 -0
- package/watch/model/QuestQuestStatistics.d.ts +22 -0
- package/watch/model/QuestQuestStatistics.js +79 -0
- package/watch/model/QuestQuestStatistics.js.map +1 -0
- package/watch/model/QuestQuestStatistics.ts +75 -0
- package/watch/model/RankingCategory.d.ts +18 -0
- package/watch/model/RankingCategory.js +70 -0
- package/watch/model/RankingCategory.js.map +1 -0
- package/watch/model/RankingCategory.ts +69 -0
- package/watch/model/RankingCategoryScoreDistribution.d.ts +21 -0
- package/watch/model/RankingCategoryScoreDistribution.js +76 -0
- package/watch/model/RankingCategoryScoreDistribution.js.map +1 -0
- package/watch/model/RankingCategoryScoreDistribution.ts +74 -0
- package/watch/model/RankingMetrics.d.ts +14 -0
- package/watch/model/RankingMetrics.js +56 -0
- package/watch/model/RankingMetrics.js.map +1 -0
- package/watch/model/RankingMetrics.ts +57 -0
- package/watch/model/RankingNamespace.d.ts +18 -0
- package/watch/model/RankingNamespace.js +70 -0
- package/watch/model/RankingNamespace.js.map +1 -0
- package/watch/model/RankingNamespace.ts +70 -0
- package/watch/model/ReturningUserRatio.d.ts +21 -0
- package/watch/model/ReturningUserRatio.js +76 -0
- package/watch/model/ReturningUserRatio.js.map +1 -0
- package/watch/model/ReturningUserRatio.ts +74 -0
- package/watch/model/SessionDuration.d.ts +19 -0
- package/watch/model/SessionDuration.js +72 -0
- package/watch/model/SessionDuration.js.map +1 -0
- package/watch/model/SessionDuration.ts +70 -0
- package/watch/model/SessionDurationDistribution.d.ts +21 -0
- package/watch/model/SessionDurationDistribution.js +76 -0
- package/watch/model/SessionDurationDistribution.js.map +1 -0
- package/watch/model/SessionDurationDistribution.ts +74 -0
- package/watch/model/SessionDurationStatistics.d.ts +29 -0
- package/watch/model/SessionDurationStatistics.js +104 -0
- package/watch/model/SessionDurationStatistics.js.map +1 -0
- package/watch/model/SessionDurationStatistics.ts +102 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.d.ts +21 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.js +76 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.js.map +1 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.ts +74 -0
- package/watch/model/ShowcaseDisplayItem.d.ts +18 -0
- package/watch/model/ShowcaseDisplayItem.js +70 -0
- package/watch/model/ShowcaseDisplayItem.js.map +1 -0
- package/watch/model/ShowcaseDisplayItem.ts +69 -0
- package/watch/model/ShowcaseMetrics.d.ts +14 -0
- package/watch/model/ShowcaseMetrics.js +56 -0
- package/watch/model/ShowcaseMetrics.js.map +1 -0
- package/watch/model/ShowcaseMetrics.ts +58 -0
- package/watch/model/ShowcaseNamespace.d.ts +18 -0
- package/watch/model/ShowcaseNamespace.js +70 -0
- package/watch/model/ShowcaseNamespace.js.map +1 -0
- package/watch/model/ShowcaseNamespace.ts +71 -0
- package/watch/model/ShowcaseShowcase.d.ts +18 -0
- package/watch/model/ShowcaseShowcase.js +70 -0
- package/watch/model/ShowcaseShowcase.js.map +1 -0
- package/watch/model/ShowcaseShowcase.ts +70 -0
- package/watch/model/WeeklyActiveUsers.d.ts +21 -0
- package/watch/model/WeeklyActiveUsers.js +76 -0
- package/watch/model/WeeklyActiveUsers.js.map +1 -0
- package/watch/model/WeeklyActiveUsers.ts +74 -0
- package/watch/model/index.d.ts +65 -1
- package/watch/model/index.js +130 -1
- package/watch/model/index.js.map +1 -1
- package/watch/model/index.ts +128 -0
- package/watch/request/GetAccountMetricsRequest.d.ts +17 -0
- package/watch/request/GetAccountMetricsRequest.js +54 -0
- package/watch/request/GetAccountMetricsRequest.js.map +1 -0
- package/watch/request/GetAccountMetricsRequest.ts +62 -0
- package/watch/request/GetExchangeMetricsRequest.d.ts +17 -0
- package/watch/request/GetExchangeMetricsRequest.js +54 -0
- package/watch/request/GetExchangeMetricsRequest.js.map +1 -0
- package/watch/request/GetExchangeMetricsRequest.ts +62 -0
- package/watch/request/GetExperienceMetricsRequest.d.ts +17 -0
- package/watch/request/GetExperienceMetricsRequest.js +54 -0
- package/watch/request/GetExperienceMetricsRequest.js.map +1 -0
- package/watch/request/GetExperienceMetricsRequest.ts +62 -0
- package/watch/request/GetGeneralMetricsRequest.d.ts +17 -0
- package/watch/request/GetGeneralMetricsRequest.js +54 -0
- package/watch/request/GetGeneralMetricsRequest.js.map +1 -0
- package/watch/request/GetGeneralMetricsRequest.ts +62 -0
- package/watch/request/GetInboxMetricsRequest.d.ts +17 -0
- package/watch/request/GetInboxMetricsRequest.js +54 -0
- package/watch/request/GetInboxMetricsRequest.js.map +1 -0
- package/watch/request/GetInboxMetricsRequest.ts +62 -0
- package/watch/request/GetInventoryMetricsRequest.d.ts +17 -0
- package/watch/request/GetInventoryMetricsRequest.js +54 -0
- package/watch/request/GetInventoryMetricsRequest.js.map +1 -0
- package/watch/request/GetInventoryMetricsRequest.ts +62 -0
- package/watch/request/GetLimitMetricsRequest.d.ts +17 -0
- package/watch/request/GetLimitMetricsRequest.js +54 -0
- package/watch/request/GetLimitMetricsRequest.js.map +1 -0
- package/watch/request/GetLimitMetricsRequest.ts +62 -0
- package/watch/request/GetMatchmakingMetricsRequest.d.ts +17 -0
- package/watch/request/GetMatchmakingMetricsRequest.js +54 -0
- package/watch/request/GetMatchmakingMetricsRequest.js.map +1 -0
- package/watch/request/GetMatchmakingMetricsRequest.ts +62 -0
- package/watch/request/GetMoneyMetricsRequest.d.ts +17 -0
- package/watch/request/GetMoneyMetricsRequest.js +54 -0
- package/watch/request/GetMoneyMetricsRequest.js.map +1 -0
- package/watch/request/GetMoneyMetricsRequest.ts +62 -0
- package/watch/request/GetQuestMetricsRequest.d.ts +17 -0
- package/watch/request/GetQuestMetricsRequest.js +54 -0
- package/watch/request/GetQuestMetricsRequest.js.map +1 -0
- package/watch/request/GetQuestMetricsRequest.ts +62 -0
- package/watch/request/GetRankingMetricsRequest.d.ts +17 -0
- package/watch/request/GetRankingMetricsRequest.js +54 -0
- package/watch/request/GetRankingMetricsRequest.js.map +1 -0
- package/watch/request/GetRankingMetricsRequest.ts +62 -0
- package/watch/request/GetShowcaseMetricsRequest.d.ts +17 -0
- package/watch/request/GetShowcaseMetricsRequest.js +54 -0
- package/watch/request/GetShowcaseMetricsRequest.js.map +1 -0
- package/watch/request/GetShowcaseMetricsRequest.ts +62 -0
- package/watch/request/index.d.ts +13 -1
- package/watch/request/index.js +25 -1
- package/watch/request/index.js.map +1 -1
- package/watch/request/index.ts +24 -0
- package/watch/rest.d.ts +12 -0
- package/watch/rest.js +252 -0
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +300 -0
- package/watch/result/GetAccountMetricsResult.d.ts +14 -0
- package/watch/result/GetAccountMetricsResult.js +48 -0
- package/watch/result/GetAccountMetricsResult.js.map +1 -0
- package/watch/result/GetAccountMetricsResult.ts +48 -0
- package/watch/result/GetExchangeMetricsResult.d.ts +14 -0
- package/watch/result/GetExchangeMetricsResult.js +48 -0
- package/watch/result/GetExchangeMetricsResult.js.map +1 -0
- package/watch/result/GetExchangeMetricsResult.ts +48 -0
- package/watch/result/GetExperienceMetricsResult.d.ts +14 -0
- package/watch/result/GetExperienceMetricsResult.js +48 -0
- package/watch/result/GetExperienceMetricsResult.js.map +1 -0
- package/watch/result/GetExperienceMetricsResult.ts +48 -0
- package/watch/result/GetGeneralMetricsResult.d.ts +14 -0
- package/watch/result/GetGeneralMetricsResult.js +48 -0
- package/watch/result/GetGeneralMetricsResult.js.map +1 -0
- package/watch/result/GetGeneralMetricsResult.ts +48 -0
- package/watch/result/GetInboxMetricsResult.d.ts +14 -0
- package/watch/result/GetInboxMetricsResult.js +48 -0
- package/watch/result/GetInboxMetricsResult.js.map +1 -0
- package/watch/result/GetInboxMetricsResult.ts +48 -0
- package/watch/result/GetInventoryMetricsResult.d.ts +14 -0
- package/watch/result/GetInventoryMetricsResult.js +48 -0
- package/watch/result/GetInventoryMetricsResult.js.map +1 -0
- package/watch/result/GetInventoryMetricsResult.ts +48 -0
- package/watch/result/GetLimitMetricsResult.d.ts +14 -0
- package/watch/result/GetLimitMetricsResult.js +48 -0
- package/watch/result/GetLimitMetricsResult.js.map +1 -0
- package/watch/result/GetLimitMetricsResult.ts +48 -0
- package/watch/result/GetMatchmakingMetricsResult.d.ts +14 -0
- package/watch/result/GetMatchmakingMetricsResult.js +48 -0
- package/watch/result/GetMatchmakingMetricsResult.js.map +1 -0
- package/watch/result/GetMatchmakingMetricsResult.ts +48 -0
- package/watch/result/GetMoneyMetricsResult.d.ts +14 -0
- package/watch/result/GetMoneyMetricsResult.js +48 -0
- package/watch/result/GetMoneyMetricsResult.js.map +1 -0
- package/watch/result/GetMoneyMetricsResult.ts +48 -0
- package/watch/result/GetQuestMetricsResult.d.ts +14 -0
- package/watch/result/GetQuestMetricsResult.js +48 -0
- package/watch/result/GetQuestMetricsResult.js.map +1 -0
- package/watch/result/GetQuestMetricsResult.ts +48 -0
- package/watch/result/GetRankingMetricsResult.d.ts +14 -0
- package/watch/result/GetRankingMetricsResult.js +48 -0
- package/watch/result/GetRankingMetricsResult.js.map +1 -0
- package/watch/result/GetRankingMetricsResult.ts +48 -0
- package/watch/result/GetShowcaseMetricsResult.d.ts +14 -0
- package/watch/result/GetShowcaseMetricsResult.js +48 -0
- package/watch/result/GetShowcaseMetricsResult.js.map +1 -0
- package/watch/result/GetShowcaseMetricsResult.ts +48 -0
- package/watch/result/index.d.ts +13 -1
- package/watch/result/index.js +25 -1
- package/watch/result/index.js.map +1 -1
- package/watch/result/index.ts +24 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var LimitCounterDistributionUsage_1 = tslib_1.__importDefault(require("./LimitCounterDistributionUsage"));
|
|
20
|
+
var LimitCounterDistribution = /** @class */ (function () {
|
|
21
|
+
function LimitCounterDistribution() {
|
|
22
|
+
this.maxValue = null;
|
|
23
|
+
this.usage = null;
|
|
24
|
+
}
|
|
25
|
+
LimitCounterDistribution.prototype.getMaxValue = function () {
|
|
26
|
+
return this.maxValue;
|
|
27
|
+
};
|
|
28
|
+
LimitCounterDistribution.prototype.setMaxValue = function (maxValue) {
|
|
29
|
+
this.maxValue = maxValue;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
LimitCounterDistribution.prototype.withMaxValue = function (maxValue) {
|
|
33
|
+
this.maxValue = maxValue;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
LimitCounterDistribution.prototype.getUsage = function () {
|
|
37
|
+
return this.usage;
|
|
38
|
+
};
|
|
39
|
+
LimitCounterDistribution.prototype.setUsage = function (usage) {
|
|
40
|
+
this.usage = usage;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
LimitCounterDistribution.prototype.withUsage = function (usage) {
|
|
44
|
+
this.usage = usage;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
LimitCounterDistribution.fromDict = function (data) {
|
|
48
|
+
if (data == undefined || data == null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return new LimitCounterDistribution()
|
|
52
|
+
.withMaxValue(data["maxValue"])
|
|
53
|
+
.withUsage(data.usage ?
|
|
54
|
+
data.usage.map(function (item) {
|
|
55
|
+
return LimitCounterDistributionUsage_1.default.fromDict(item);
|
|
56
|
+
}) : []);
|
|
57
|
+
};
|
|
58
|
+
LimitCounterDistribution.prototype.toDict = function () {
|
|
59
|
+
return {
|
|
60
|
+
"maxValue": this.getMaxValue(),
|
|
61
|
+
"usage": this.getUsage() ?
|
|
62
|
+
this.getUsage().map(function (item) {
|
|
63
|
+
return item.toDict();
|
|
64
|
+
}) : [],
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
return LimitCounterDistribution;
|
|
68
|
+
}());
|
|
69
|
+
exports.default = LimitCounterDistribution;
|
|
70
|
+
//# sourceMappingURL=LimitCounterDistribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LimitCounterDistribution.js","sourceRoot":"","sources":["LimitCounterDistribution.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0GAA4E;AAE5E;IAAA;QACY,aAAQ,GAAgB,IAAI,CAAC;QAC7B,UAAK,GAAyC,IAAI,CAAC;IA+C/D,CAAC;IA9CU,8CAAW,GAAlB;QACI,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACM,8CAAW,GAAlB,UAAmB,QAAqB;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAY,GAAnB,UAAoB,QAAqB;QACrC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,2CAAQ,GAAf,UAAgB,KAA2C;QACvD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4CAAS,GAAhB,UAAiB,KAA2C;QACxD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,wBAAwB,EAAE;aAChC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,uCAA6B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO;YACH,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAmC;oBACrD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AAjDD,IAiDC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import LimitCounterDistributionUsage from './LimitCounterDistributionUsage';
|
|
19
|
+
|
|
20
|
+
export default class LimitCounterDistribution implements IModel {
|
|
21
|
+
private maxValue: number|null = null;
|
|
22
|
+
private usage: LimitCounterDistributionUsage[]|null = null;
|
|
23
|
+
public getMaxValue(): number|null {
|
|
24
|
+
return this.maxValue;
|
|
25
|
+
}
|
|
26
|
+
public setMaxValue(maxValue: number|null) {
|
|
27
|
+
this.maxValue = maxValue;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withMaxValue(maxValue: number|null): this {
|
|
31
|
+
this.maxValue = maxValue;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public getUsage(): LimitCounterDistributionUsage[]|null {
|
|
35
|
+
return this.usage;
|
|
36
|
+
}
|
|
37
|
+
public setUsage(usage: LimitCounterDistributionUsage[]|null) {
|
|
38
|
+
this.usage = usage;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
public withUsage(usage: LimitCounterDistributionUsage[]|null): this {
|
|
42
|
+
this.usage = usage;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static fromDict(data: {[key: string]: any}): LimitCounterDistribution|null {
|
|
47
|
+
if (data == undefined || data == null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return new LimitCounterDistribution()
|
|
51
|
+
.withMaxValue(data["maxValue"])
|
|
52
|
+
.withUsage(data.usage ?
|
|
53
|
+
data.usage.map((item: {[key: string]: any}) => {
|
|
54
|
+
return LimitCounterDistributionUsage.fromDict(item);
|
|
55
|
+
}
|
|
56
|
+
) : []);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public toDict(): {[key: string]: any} {
|
|
60
|
+
return {
|
|
61
|
+
"maxValue": this.getMaxValue(),
|
|
62
|
+
"usage": this.getUsage() ?
|
|
63
|
+
this.getUsage()!.map((item: LimitCounterDistributionUsage) => {
|
|
64
|
+
return item.toDict();
|
|
65
|
+
}
|
|
66
|
+
) : [],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class LimitCounterDistributionUsage implements IModel {
|
|
3
|
+
private min;
|
|
4
|
+
private max;
|
|
5
|
+
private count;
|
|
6
|
+
getMin(): number | null;
|
|
7
|
+
setMin(min: number | null): this;
|
|
8
|
+
withMin(min: number | null): this;
|
|
9
|
+
getMax(): number | null;
|
|
10
|
+
setMax(max: number | null): this;
|
|
11
|
+
withMax(max: number | null): this;
|
|
12
|
+
getCount(): number | null;
|
|
13
|
+
setCount(count: number | null): this;
|
|
14
|
+
withCount(count: number | null): this;
|
|
15
|
+
static fromDict(data: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}): LimitCounterDistributionUsage | null;
|
|
18
|
+
toDict(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var LimitCounterDistributionUsage = /** @class */ (function () {
|
|
19
|
+
function LimitCounterDistributionUsage() {
|
|
20
|
+
this.min = null;
|
|
21
|
+
this.max = null;
|
|
22
|
+
this.count = null;
|
|
23
|
+
}
|
|
24
|
+
LimitCounterDistributionUsage.prototype.getMin = function () {
|
|
25
|
+
return this.min;
|
|
26
|
+
};
|
|
27
|
+
LimitCounterDistributionUsage.prototype.setMin = function (min) {
|
|
28
|
+
this.min = min;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
LimitCounterDistributionUsage.prototype.withMin = function (min) {
|
|
32
|
+
this.min = min;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
LimitCounterDistributionUsage.prototype.getMax = function () {
|
|
36
|
+
return this.max;
|
|
37
|
+
};
|
|
38
|
+
LimitCounterDistributionUsage.prototype.setMax = function (max) {
|
|
39
|
+
this.max = max;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
LimitCounterDistributionUsage.prototype.withMax = function (max) {
|
|
43
|
+
this.max = max;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
LimitCounterDistributionUsage.prototype.getCount = function () {
|
|
47
|
+
return this.count;
|
|
48
|
+
};
|
|
49
|
+
LimitCounterDistributionUsage.prototype.setCount = function (count) {
|
|
50
|
+
this.count = count;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
LimitCounterDistributionUsage.prototype.withCount = function (count) {
|
|
54
|
+
this.count = count;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
LimitCounterDistributionUsage.fromDict = function (data) {
|
|
58
|
+
if (data == undefined || data == null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return new LimitCounterDistributionUsage()
|
|
62
|
+
.withMin(data["min"])
|
|
63
|
+
.withMax(data["max"])
|
|
64
|
+
.withCount(data["count"]);
|
|
65
|
+
};
|
|
66
|
+
LimitCounterDistributionUsage.prototype.toDict = function () {
|
|
67
|
+
return {
|
|
68
|
+
"min": this.getMin(),
|
|
69
|
+
"max": this.getMax(),
|
|
70
|
+
"count": this.getCount(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
return LimitCounterDistributionUsage;
|
|
74
|
+
}());
|
|
75
|
+
exports.default = LimitCounterDistributionUsage;
|
|
76
|
+
//# sourceMappingURL=LimitCounterDistributionUsage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LimitCounterDistributionUsage.js","sourceRoot":"","sources":["LimitCounterDistributionUsage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,QAAG,GAAgB,IAAI,CAAC;QACxB,UAAK,GAAgB,IAAI,CAAC;IAoDtC,CAAC;IAnDU,8CAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,8CAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,8CAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,gDAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iDAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,6BAA6B,EAAE;aACrC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,8CAAM,GAAb;QACI,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,oCAAC;AAAD,CAAC,AAvDD,IAuDC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class LimitCounterDistributionUsage implements IModel {
|
|
20
|
+
private min: number|null = null;
|
|
21
|
+
private max: number|null = null;
|
|
22
|
+
private count: number|null = null;
|
|
23
|
+
public getMin(): number|null {
|
|
24
|
+
return this.min;
|
|
25
|
+
}
|
|
26
|
+
public setMin(min: number|null) {
|
|
27
|
+
this.min = min;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withMin(min: number|null): this {
|
|
31
|
+
this.min = min;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public getMax(): number|null {
|
|
35
|
+
return this.max;
|
|
36
|
+
}
|
|
37
|
+
public setMax(max: number|null) {
|
|
38
|
+
this.max = max;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
public withMax(max: number|null): this {
|
|
42
|
+
this.max = max;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
public getCount(): number|null {
|
|
46
|
+
return this.count;
|
|
47
|
+
}
|
|
48
|
+
public setCount(count: number|null) {
|
|
49
|
+
this.count = count;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
public withCount(count: number|null): this {
|
|
53
|
+
this.count = count;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public static fromDict(data: {[key: string]: any}): LimitCounterDistributionUsage|null {
|
|
58
|
+
if (data == undefined || data == null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return new LimitCounterDistributionUsage()
|
|
62
|
+
.withMin(data["min"])
|
|
63
|
+
.withMax(data["max"])
|
|
64
|
+
.withCount(data["count"]);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public toDict(): {[key: string]: any} {
|
|
68
|
+
return {
|
|
69
|
+
"min": this.getMin(),
|
|
70
|
+
"max": this.getMax(),
|
|
71
|
+
"count": this.getCount(),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import LimitCounter from './LimitCounter';
|
|
3
|
+
export default class LimitLimit implements IModel {
|
|
4
|
+
private limitName;
|
|
5
|
+
private counter;
|
|
6
|
+
getLimitName(): string | null;
|
|
7
|
+
setLimitName(limitName: string | null): this;
|
|
8
|
+
withLimitName(limitName: string | null): this;
|
|
9
|
+
getCounter(): LimitCounter[] | null;
|
|
10
|
+
setCounter(counter: LimitCounter[] | null): this;
|
|
11
|
+
withCounter(counter: LimitCounter[] | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): LimitLimit | null;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var LimitCounter_1 = tslib_1.__importDefault(require("./LimitCounter"));
|
|
20
|
+
var LimitLimit = /** @class */ (function () {
|
|
21
|
+
function LimitLimit() {
|
|
22
|
+
this.limitName = null;
|
|
23
|
+
this.counter = null;
|
|
24
|
+
}
|
|
25
|
+
LimitLimit.prototype.getLimitName = function () {
|
|
26
|
+
return this.limitName;
|
|
27
|
+
};
|
|
28
|
+
LimitLimit.prototype.setLimitName = function (limitName) {
|
|
29
|
+
this.limitName = limitName;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
LimitLimit.prototype.withLimitName = function (limitName) {
|
|
33
|
+
this.limitName = limitName;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
LimitLimit.prototype.getCounter = function () {
|
|
37
|
+
return this.counter;
|
|
38
|
+
};
|
|
39
|
+
LimitLimit.prototype.setCounter = function (counter) {
|
|
40
|
+
this.counter = counter;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
LimitLimit.prototype.withCounter = function (counter) {
|
|
44
|
+
this.counter = counter;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
LimitLimit.fromDict = function (data) {
|
|
48
|
+
if (data == undefined || data == null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return new LimitLimit()
|
|
52
|
+
.withLimitName(data["limitName"])
|
|
53
|
+
.withCounter(data.counter ?
|
|
54
|
+
data.counter.map(function (item) {
|
|
55
|
+
return LimitCounter_1.default.fromDict(item);
|
|
56
|
+
}) : []);
|
|
57
|
+
};
|
|
58
|
+
LimitLimit.prototype.toDict = function () {
|
|
59
|
+
return {
|
|
60
|
+
"limitName": this.getLimitName(),
|
|
61
|
+
"counter": this.getCounter() ?
|
|
62
|
+
this.getCounter().map(function (item) {
|
|
63
|
+
return item.toDict();
|
|
64
|
+
}) : [],
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
return LimitLimit;
|
|
68
|
+
}());
|
|
69
|
+
exports.default = LimitLimit;
|
|
70
|
+
//# sourceMappingURL=LimitLimit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LimitLimit.js","sourceRoot":"","sources":["LimitLimit.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAKH,wEAA0C;AAE1C;IAAA;QACY,cAAS,GAAgB,IAAI,CAAC;QAC9B,YAAO,GAAwB,IAAI,CAAC;IA+ChD,CAAC;IA9CU,iCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,iCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kCAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+BAAU,GAAjB;QACI,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IACM,+BAAU,GAAjB,UAAkB,OAA4B;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gCAAW,GAAlB,UAAmB,OAA4B;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,UAAU,EAAE;aAClB,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACxC,OAAO,sBAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACvC,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,2BAAM,GAAb;QACI,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;gBAC1B,IAAI,CAAC,UAAU,EAAG,CAAC,GAAG,CAAC,UAAC,IAAkB;oBACtC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,iBAAC;AAAD,CAAC,AAjDD,IAiDC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import LimitCounterDistributionUsage from './LimitCounterDistributionUsage';
|
|
19
|
+
import LimitCounterDistribution from './LimitCounterDistribution';
|
|
20
|
+
import LimitCounter from './LimitCounter';
|
|
21
|
+
|
|
22
|
+
export default class LimitLimit implements IModel {
|
|
23
|
+
private limitName: string|null = null;
|
|
24
|
+
private counter: LimitCounter[]|null = null;
|
|
25
|
+
public getLimitName(): string|null {
|
|
26
|
+
return this.limitName;
|
|
27
|
+
}
|
|
28
|
+
public setLimitName(limitName: string|null) {
|
|
29
|
+
this.limitName = limitName;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withLimitName(limitName: string|null): this {
|
|
33
|
+
this.limitName = limitName;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public getCounter(): LimitCounter[]|null {
|
|
37
|
+
return this.counter;
|
|
38
|
+
}
|
|
39
|
+
public setCounter(counter: LimitCounter[]|null) {
|
|
40
|
+
this.counter = counter;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public withCounter(counter: LimitCounter[]|null): this {
|
|
44
|
+
this.counter = counter;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public static fromDict(data: {[key: string]: any}): LimitLimit|null {
|
|
49
|
+
if (data == undefined || data == null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return new LimitLimit()
|
|
53
|
+
.withLimitName(data["limitName"])
|
|
54
|
+
.withCounter(data.counter ?
|
|
55
|
+
data.counter.map((item: {[key: string]: any}) => {
|
|
56
|
+
return LimitCounter.fromDict(item);
|
|
57
|
+
}
|
|
58
|
+
) : []);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public toDict(): {[key: string]: any} {
|
|
62
|
+
return {
|
|
63
|
+
"limitName": this.getLimitName(),
|
|
64
|
+
"counter": this.getCounter() ?
|
|
65
|
+
this.getCounter()!.map((item: LimitCounter) => {
|
|
66
|
+
return item.toDict();
|
|
67
|
+
}
|
|
68
|
+
) : [],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import LimitNamespace from './LimitNamespace';
|
|
3
|
+
export default class LimitMetrics implements IModel {
|
|
4
|
+
private namespaces;
|
|
5
|
+
getNamespaces(): LimitNamespace[] | null;
|
|
6
|
+
setNamespaces(namespaces: LimitNamespace[] | null): this;
|
|
7
|
+
withNamespaces(namespaces: LimitNamespace[] | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): LimitMetrics | null;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var LimitNamespace_1 = tslib_1.__importDefault(require("./LimitNamespace"));
|
|
20
|
+
var LimitMetrics = /** @class */ (function () {
|
|
21
|
+
function LimitMetrics() {
|
|
22
|
+
this.namespaces = null;
|
|
23
|
+
}
|
|
24
|
+
LimitMetrics.prototype.getNamespaces = function () {
|
|
25
|
+
return this.namespaces;
|
|
26
|
+
};
|
|
27
|
+
LimitMetrics.prototype.setNamespaces = function (namespaces) {
|
|
28
|
+
this.namespaces = namespaces;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
LimitMetrics.prototype.withNamespaces = function (namespaces) {
|
|
32
|
+
this.namespaces = namespaces;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
LimitMetrics.fromDict = function (data) {
|
|
36
|
+
if (data == undefined || data == null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return new LimitMetrics()
|
|
40
|
+
.withNamespaces(data.namespaces ?
|
|
41
|
+
data.namespaces.map(function (item) {
|
|
42
|
+
return LimitNamespace_1.default.fromDict(item);
|
|
43
|
+
}) : []);
|
|
44
|
+
};
|
|
45
|
+
LimitMetrics.prototype.toDict = function () {
|
|
46
|
+
return {
|
|
47
|
+
"namespaces": this.getNamespaces() ?
|
|
48
|
+
this.getNamespaces().map(function (item) {
|
|
49
|
+
return item.toDict();
|
|
50
|
+
}) : [],
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
return LimitMetrics;
|
|
54
|
+
}());
|
|
55
|
+
exports.default = LimitMetrics;
|
|
56
|
+
//# sourceMappingURL=LimitMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LimitMetrics.js","sourceRoot":"","sources":["LimitMetrics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAOH,4EAA8C;AAE9C;IAAA;QACY,eAAU,GAA0B,IAAI,CAAC;IAkCrD,CAAC;IAjCU,oCAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,oCAAa,GAApB,UAAqB,UAAiC;QAClD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qCAAc,GAArB,UAAsB,UAAiC;QACnD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,YAAY,EAAE;aACpB,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC7B,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,UAAC,IAA0B;gBAC3C,OAAO,wBAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACzC,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,6BAAM,GAAb;QACI,OAAO;YACH,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;gBAChC,IAAI,CAAC,aAAa,EAAG,CAAC,GAAG,CAAC,UAAC,IAAoB;oBAC3C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,mBAAC;AAAD,CAAC,AAnCD,IAmCC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import LimitCounterDistributionUsage from './LimitCounterDistributionUsage';
|
|
19
|
+
import LimitCounterDistribution from './LimitCounterDistribution';
|
|
20
|
+
import LimitCounter from './LimitCounter';
|
|
21
|
+
import LimitLimit from './LimitLimit';
|
|
22
|
+
import LimitNamespace from './LimitNamespace';
|
|
23
|
+
|
|
24
|
+
export default class LimitMetrics implements IModel {
|
|
25
|
+
private namespaces: LimitNamespace[]|null = null;
|
|
26
|
+
public getNamespaces(): LimitNamespace[]|null {
|
|
27
|
+
return this.namespaces;
|
|
28
|
+
}
|
|
29
|
+
public setNamespaces(namespaces: LimitNamespace[]|null) {
|
|
30
|
+
this.namespaces = namespaces;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
public withNamespaces(namespaces: LimitNamespace[]|null): this {
|
|
34
|
+
this.namespaces = namespaces;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): LimitMetrics|null {
|
|
39
|
+
if (data == undefined || data == null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return new LimitMetrics()
|
|
43
|
+
.withNamespaces(data.namespaces ?
|
|
44
|
+
data.namespaces.map((item: {[key: string]: any}) => {
|
|
45
|
+
return LimitNamespace.fromDict(item);
|
|
46
|
+
}
|
|
47
|
+
) : []);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public toDict(): {[key: string]: any} {
|
|
51
|
+
return {
|
|
52
|
+
"namespaces": this.getNamespaces() ?
|
|
53
|
+
this.getNamespaces()!.map((item: LimitNamespace) => {
|
|
54
|
+
return item.toDict();
|
|
55
|
+
}
|
|
56
|
+
) : [],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import LimitLimit from './LimitLimit';
|
|
3
|
+
export default class LimitNamespace implements IModel {
|
|
4
|
+
private namespaceName;
|
|
5
|
+
private limit;
|
|
6
|
+
getNamespaceName(): string | null;
|
|
7
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
8
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
9
|
+
getLimit(): LimitLimit[] | null;
|
|
10
|
+
setLimit(limit: LimitLimit[] | null): this;
|
|
11
|
+
withLimit(limit: LimitLimit[] | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): LimitNamespace | null;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|