gs2 1.3.228 → 1.3.230
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/exchange/model/Await.d.ts +8 -0
- package/exchange/model/Await.js +28 -0
- package/exchange/model/Await.js.map +1 -1
- package/exchange/model/Await.ts +28 -0
- package/exchange/model/RateModel.d.ts +0 -8
- package/exchange/model/RateModel.js +0 -34
- package/exchange/model/RateModel.js.map +1 -1
- package/exchange/model/RateModel.ts +0 -36
- package/exchange/model/RateModelMaster.d.ts +0 -8
- package/exchange/model/RateModelMaster.js +0 -34
- package/exchange/model/RateModelMaster.js.map +1 -1
- package/exchange/model/RateModelMaster.ts +0 -36
- package/exchange/request/CreateRateModelMasterRequest.d.ts +0 -8
- package/exchange/request/CreateRateModelMasterRequest.js +0 -34
- package/exchange/request/CreateRateModelMasterRequest.js.map +1 -1
- package/exchange/request/CreateRateModelMasterRequest.ts +0 -36
- package/exchange/request/SkipByStampSheetRequest.d.ts +25 -0
- package/exchange/request/SkipByStampSheetRequest.js +83 -0
- package/exchange/request/SkipByStampSheetRequest.js.map +1 -0
- package/exchange/request/SkipByStampSheetRequest.ts +90 -0
- package/exchange/request/SkipByUserIdRequest.d.ts +12 -5
- package/exchange/request/SkipByUserIdRequest.js +37 -17
- package/exchange/request/SkipByUserIdRequest.js.map +1 -1
- package/exchange/request/SkipByUserIdRequest.ts +37 -17
- package/exchange/request/UpdateRateModelMasterRequest.d.ts +0 -8
- package/exchange/request/UpdateRateModelMasterRequest.js +0 -34
- package/exchange/request/UpdateRateModelMasterRequest.js.map +1 -1
- package/exchange/request/UpdateRateModelMasterRequest.ts +0 -36
- package/exchange/request/index.d.ts +2 -2
- package/exchange/request/index.js +4 -4
- package/exchange/request/index.js.map +1 -1
- package/exchange/request/index.ts +2 -2
- package/exchange/rest.d.ts +1 -1
- package/exchange/rest.js +37 -46
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +34 -43
- package/exchange/result/CreateAwaitByStampSheetResult.d.ts +0 -4
- package/exchange/result/CreateAwaitByStampSheetResult.js +1 -15
- package/exchange/result/CreateAwaitByStampSheetResult.js.map +1 -1
- package/exchange/result/CreateAwaitByStampSheetResult.ts +1 -18
- package/exchange/result/CreateAwaitByUserIdResult.d.ts +0 -4
- package/exchange/result/CreateAwaitByUserIdResult.js +1 -15
- package/exchange/result/CreateAwaitByUserIdResult.js.map +1 -1
- package/exchange/result/CreateAwaitByUserIdResult.ts +1 -18
- package/exchange/result/SkipByStampSheetResult.d.ts +14 -0
- package/exchange/result/SkipByStampSheetResult.js +48 -0
- package/exchange/result/SkipByStampSheetResult.js.map +1 -0
- package/exchange/result/SkipByStampSheetResult.ts +47 -0
- package/exchange/result/SkipByUserIdResult.d.ts +0 -16
- package/exchange/result/SkipByUserIdResult.js +1 -57
- package/exchange/result/SkipByUserIdResult.js.map +1 -1
- package/exchange/result/SkipByUserIdResult.ts +1 -69
- package/exchange/result/index.d.ts +2 -2
- package/exchange/result/index.js +4 -4
- package/exchange/result/index.js.map +1 -1
- package/exchange/result/index.ts +2 -2
- package/matchmaking/request/EarlyCompleteByUserIdRequest.d.ts +37 -0
- package/matchmaking/request/EarlyCompleteByUserIdRequest.js +123 -0
- package/matchmaking/request/EarlyCompleteByUserIdRequest.js.map +1 -0
- package/matchmaking/request/EarlyCompleteByUserIdRequest.ts +133 -0
- package/matchmaking/request/EarlyCompleteRequest.d.ts +33 -0
- package/matchmaking/request/EarlyCompleteRequest.js +109 -0
- package/matchmaking/request/EarlyCompleteRequest.js.map +1 -0
- package/matchmaking/request/EarlyCompleteRequest.ts +119 -0
- package/matchmaking/request/index.d.ts +3 -1
- package/matchmaking/request/index.js +5 -1
- package/matchmaking/request/index.js.map +1 -1
- package/matchmaking/request/index.ts +4 -0
- package/matchmaking/rest.d.ts +2 -0
- package/matchmaking/rest.js +59 -0
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +67 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.d.ts +14 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.js +48 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.js.map +1 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.ts +47 -0
- package/matchmaking/result/EarlyCompleteResult.d.ts +14 -0
- package/matchmaking/result/EarlyCompleteResult.js +48 -0
- package/matchmaking/result/EarlyCompleteResult.js.map +1 -0
- package/matchmaking/result/EarlyCompleteResult.ts +47 -0
- package/matchmaking/result/index.d.ts +3 -1
- package/matchmaking/result/index.js +5 -1
- package/matchmaking/result/index.js.map +1 -1
- package/matchmaking/result/index.ts +4 -0
- package/package.json +1 -1
- package/watch/model/FormationForm.d.ts +2 -2
- package/watch/model/FormationForm.js +13 -13
- package/watch/model/FormationForm.js.map +1 -1
- package/watch/model/FormationForm.ts +13 -13
- package/watch/model/FormationMold.d.ts +6 -6
- package/watch/model/FormationMold.js +21 -21
- package/watch/model/FormationMold.js.map +1 -1
- package/watch/model/FormationMold.ts +21 -21
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.d.ts +4 -4
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js +9 -9
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js.map +1 -1
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.ts +9 -9
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.d.ts +4 -4
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js +9 -9
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js.map +1 -1
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.ts +9 -9
- package/watch/request/DescribeFormationFormMetricsRequest.d.ts +4 -4
- package/watch/request/DescribeFormationFormMetricsRequest.js +9 -9
- package/watch/request/DescribeFormationFormMetricsRequest.js.map +1 -1
- package/watch/request/DescribeFormationFormMetricsRequest.ts +9 -9
- package/watch/rest.js +2 -2
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +2 -2
|
@@ -32,11 +32,11 @@ import FormationFormUsageDistributionSegment from './FormationFormUsageDistribut
|
|
|
32
32
|
import FormationFormUsageDistribution from './FormationFormUsageDistribution';
|
|
33
33
|
import FormationFormDistributions from './FormationFormDistributions';
|
|
34
34
|
import FormationForm from './FormationForm';
|
|
35
|
-
const grnFormat: string = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{
|
|
35
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:watch:metrics:{year}:{month}:{day}:formation:namespace:{namespaceName}:mold:{moldModelName}";
|
|
36
36
|
|
|
37
37
|
export default class FormationMold implements IModel {
|
|
38
38
|
private moldId: string|null = null;
|
|
39
|
-
private
|
|
39
|
+
private moldModelName: string|null = null;
|
|
40
40
|
private statistics: FormationMoldStatistics|null = null;
|
|
41
41
|
private distributions: FormationMoldDistributions|null = null;
|
|
42
42
|
private forms: FormationForm[]|null = null;
|
|
@@ -49,7 +49,7 @@ export default class FormationMold implements IModel {
|
|
|
49
49
|
.replace('{month}', '.*')
|
|
50
50
|
.replace('{day}', '.*')
|
|
51
51
|
.replace('{namespaceName}', '.*')
|
|
52
|
-
.replace('{
|
|
52
|
+
.replace('{moldModelName}', '.*')
|
|
53
53
|
);
|
|
54
54
|
if (match) {
|
|
55
55
|
return match[1];
|
|
@@ -65,7 +65,7 @@ export default class FormationMold implements IModel {
|
|
|
65
65
|
.replace('{month}', '.*')
|
|
66
66
|
.replace('{day}', '.*')
|
|
67
67
|
.replace('{namespaceName}', '.*')
|
|
68
|
-
.replace('{
|
|
68
|
+
.replace('{moldModelName}', '.*')
|
|
69
69
|
);
|
|
70
70
|
if (match) {
|
|
71
71
|
return match[1];
|
|
@@ -81,7 +81,7 @@ export default class FormationMold implements IModel {
|
|
|
81
81
|
.replace('{month}', '.*')
|
|
82
82
|
.replace('{day}', '.*')
|
|
83
83
|
.replace('{namespaceName}', '.*')
|
|
84
|
-
.replace('{
|
|
84
|
+
.replace('{moldModelName}', '.*')
|
|
85
85
|
);
|
|
86
86
|
if (match) {
|
|
87
87
|
return match[1];
|
|
@@ -97,7 +97,7 @@ export default class FormationMold implements IModel {
|
|
|
97
97
|
.replace('{month}', '(.*)')
|
|
98
98
|
.replace('{day}', '.*')
|
|
99
99
|
.replace('{namespaceName}', '.*')
|
|
100
|
-
.replace('{
|
|
100
|
+
.replace('{moldModelName}', '.*')
|
|
101
101
|
);
|
|
102
102
|
if (match) {
|
|
103
103
|
return match[1];
|
|
@@ -113,7 +113,7 @@ export default class FormationMold implements IModel {
|
|
|
113
113
|
.replace('{month}', '.*')
|
|
114
114
|
.replace('{day}', '(.*)')
|
|
115
115
|
.replace('{namespaceName}', '.*')
|
|
116
|
-
.replace('{
|
|
116
|
+
.replace('{moldModelName}', '.*')
|
|
117
117
|
);
|
|
118
118
|
if (match) {
|
|
119
119
|
return match[1];
|
|
@@ -129,7 +129,7 @@ export default class FormationMold implements IModel {
|
|
|
129
129
|
.replace('{month}', '.*')
|
|
130
130
|
.replace('{day}', '.*')
|
|
131
131
|
.replace('{namespaceName}', '(.*)')
|
|
132
|
-
.replace('{
|
|
132
|
+
.replace('{moldModelName}', '.*')
|
|
133
133
|
);
|
|
134
134
|
if (match) {
|
|
135
135
|
return match[1];
|
|
@@ -137,7 +137,7 @@ export default class FormationMold implements IModel {
|
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
public static
|
|
140
|
+
public static getMoldModelName(grn: string): string|null {
|
|
141
141
|
const match = grn.match(grnFormat
|
|
142
142
|
.replace('{region}', '.*')
|
|
143
143
|
.replace('{ownerId}', '.*')
|
|
@@ -145,7 +145,7 @@ export default class FormationMold implements IModel {
|
|
|
145
145
|
.replace('{month}', '.*')
|
|
146
146
|
.replace('{day}', '.*')
|
|
147
147
|
.replace('{namespaceName}', '.*')
|
|
148
|
-
.replace('{
|
|
148
|
+
.replace('{moldModelName}', '(.*)')
|
|
149
149
|
);
|
|
150
150
|
if (match) {
|
|
151
151
|
return match[1];
|
|
@@ -172,7 +172,7 @@ export default class FormationMold implements IModel {
|
|
|
172
172
|
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
173
173
|
return false;
|
|
174
174
|
}
|
|
175
|
-
if (this.
|
|
175
|
+
if (this.getMoldModelName(grn) == null || this.getMoldModelName(grn) === '') {
|
|
176
176
|
return false;
|
|
177
177
|
}
|
|
178
178
|
return true;
|
|
@@ -185,7 +185,7 @@ export default class FormationMold implements IModel {
|
|
|
185
185
|
month: string|null,
|
|
186
186
|
day: string|null,
|
|
187
187
|
namespaceName: string|null,
|
|
188
|
-
|
|
188
|
+
moldModelName: string|null,
|
|
189
189
|
): string|null {
|
|
190
190
|
return grnFormat
|
|
191
191
|
.replace('{region}', region ?? '')
|
|
@@ -194,7 +194,7 @@ export default class FormationMold implements IModel {
|
|
|
194
194
|
.replace('{month}', month ?? '')
|
|
195
195
|
.replace('{day}', day ?? '')
|
|
196
196
|
.replace('{namespaceName}', namespaceName ?? '')
|
|
197
|
-
.replace('{
|
|
197
|
+
.replace('{moldModelName}', moldModelName ?? '');
|
|
198
198
|
}
|
|
199
199
|
public getMoldId(): string|null {
|
|
200
200
|
return this.moldId;
|
|
@@ -207,15 +207,15 @@ export default class FormationMold implements IModel {
|
|
|
207
207
|
this.moldId = moldId;
|
|
208
208
|
return this;
|
|
209
209
|
}
|
|
210
|
-
public
|
|
211
|
-
return this.
|
|
210
|
+
public getMoldModelName(): string|null {
|
|
211
|
+
return this.moldModelName;
|
|
212
212
|
}
|
|
213
|
-
public
|
|
214
|
-
this.
|
|
213
|
+
public setMoldModelName(moldModelName: string|null) {
|
|
214
|
+
this.moldModelName = moldModelName;
|
|
215
215
|
return this;
|
|
216
216
|
}
|
|
217
|
-
public
|
|
218
|
-
this.
|
|
217
|
+
public withMoldModelName(moldModelName: string|null): this {
|
|
218
|
+
this.moldModelName = moldModelName;
|
|
219
219
|
return this;
|
|
220
220
|
}
|
|
221
221
|
public getStatistics(): FormationMoldStatistics|null {
|
|
@@ -258,7 +258,7 @@ export default class FormationMold implements IModel {
|
|
|
258
258
|
}
|
|
259
259
|
return new FormationMold()
|
|
260
260
|
.withMoldId(data["moldId"])
|
|
261
|
-
.
|
|
261
|
+
.withMoldModelName(data["moldModelName"])
|
|
262
262
|
.withStatistics(FormationMoldStatistics.fromDict(data["statistics"]))
|
|
263
263
|
.withDistributions(FormationMoldDistributions.fromDict(data["distributions"]))
|
|
264
264
|
.withForms(data.forms ?
|
|
@@ -271,7 +271,7 @@ export default class FormationMold implements IModel {
|
|
|
271
271
|
public toDict(): {[key: string]: any} {
|
|
272
272
|
return {
|
|
273
273
|
"moldId": this.getMoldId(),
|
|
274
|
-
"
|
|
274
|
+
"moldModelName": this.getMoldModelName(),
|
|
275
275
|
"statistics": this.getStatistics()?.toDict(),
|
|
276
276
|
"distributions": this.getDistributions()?.toDict(),
|
|
277
277
|
"forms": this.getForms() ?
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
2
|
export default class FormationNamespaceIncreaseCapacityByMoldDistributionSegment implements IModel {
|
|
3
|
-
private
|
|
3
|
+
private moldModelName;
|
|
4
4
|
private count;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
getMoldModelName(): string | null;
|
|
6
|
+
setMoldModelName(moldModelName: string | null): this;
|
|
7
|
+
withMoldModelName(moldModelName: string | null): this;
|
|
8
8
|
getCount(): number | null;
|
|
9
9
|
setCount(count: number | null): this;
|
|
10
10
|
withCount(count: number | null): this;
|
|
@@ -17,18 +17,18 @@ permissions and limitations under the License.
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var FormationNamespaceIncreaseCapacityByMoldDistributionSegment = /** @class */ (function () {
|
|
19
19
|
function FormationNamespaceIncreaseCapacityByMoldDistributionSegment() {
|
|
20
|
-
this.
|
|
20
|
+
this.moldModelName = null;
|
|
21
21
|
this.count = null;
|
|
22
22
|
}
|
|
23
|
-
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.
|
|
24
|
-
return this.
|
|
23
|
+
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.getMoldModelName = function () {
|
|
24
|
+
return this.moldModelName;
|
|
25
25
|
};
|
|
26
|
-
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.
|
|
27
|
-
this.
|
|
26
|
+
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.setMoldModelName = function (moldModelName) {
|
|
27
|
+
this.moldModelName = moldModelName;
|
|
28
28
|
return this;
|
|
29
29
|
};
|
|
30
|
-
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.
|
|
31
|
-
this.
|
|
30
|
+
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.withMoldModelName = function (moldModelName) {
|
|
31
|
+
this.moldModelName = moldModelName;
|
|
32
32
|
return this;
|
|
33
33
|
};
|
|
34
34
|
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.getCount = function () {
|
|
@@ -47,12 +47,12 @@ var FormationNamespaceIncreaseCapacityByMoldDistributionSegment = /** @class */
|
|
|
47
47
|
return null;
|
|
48
48
|
}
|
|
49
49
|
return new FormationNamespaceIncreaseCapacityByMoldDistributionSegment()
|
|
50
|
-
.
|
|
50
|
+
.withMoldModelName(data["moldModelName"])
|
|
51
51
|
.withCount(data["count"]);
|
|
52
52
|
};
|
|
53
53
|
FormationNamespaceIncreaseCapacityByMoldDistributionSegment.prototype.toDict = function () {
|
|
54
54
|
return {
|
|
55
|
-
"
|
|
55
|
+
"moldModelName": this.getMoldModelName(),
|
|
56
56
|
"count": this.getCount(),
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js","sourceRoot":"","sources":["FormationNamespaceIncreaseCapacityByMoldDistributionSegment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,
|
|
1
|
+
{"version":3,"file":"FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js","sourceRoot":"","sources":["FormationNamespaceIncreaseCapacityByMoldDistributionSegment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,kBAAa,GAAgB,IAAI,CAAC;QAClC,UAAK,GAAgB,IAAI,CAAC;IAuCtC,CAAC;IAtCU,sFAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,sFAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uFAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8EAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,8EAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+EAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,oEAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,2DAA2D,EAAE;aACnE,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,4EAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,kEAAC;AAAD,CAAC,AAzCD,IAyCC"}
|
|
@@ -17,17 +17,17 @@ permissions and limitations under the License.
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
|
|
19
19
|
export default class FormationNamespaceIncreaseCapacityByMoldDistributionSegment implements IModel {
|
|
20
|
-
private
|
|
20
|
+
private moldModelName: string|null = null;
|
|
21
21
|
private count: number|null = null;
|
|
22
|
-
public
|
|
23
|
-
return this.
|
|
22
|
+
public getMoldModelName(): string|null {
|
|
23
|
+
return this.moldModelName;
|
|
24
24
|
}
|
|
25
|
-
public
|
|
26
|
-
this.
|
|
25
|
+
public setMoldModelName(moldModelName: string|null) {
|
|
26
|
+
this.moldModelName = moldModelName;
|
|
27
27
|
return this;
|
|
28
28
|
}
|
|
29
|
-
public
|
|
30
|
-
this.
|
|
29
|
+
public withMoldModelName(moldModelName: string|null): this {
|
|
30
|
+
this.moldModelName = moldModelName;
|
|
31
31
|
return this;
|
|
32
32
|
}
|
|
33
33
|
public getCount(): number|null {
|
|
@@ -47,13 +47,13 @@ export default class FormationNamespaceIncreaseCapacityByMoldDistributionSegment
|
|
|
47
47
|
return null;
|
|
48
48
|
}
|
|
49
49
|
return new FormationNamespaceIncreaseCapacityByMoldDistributionSegment()
|
|
50
|
-
.
|
|
50
|
+
.withMoldModelName(data["moldModelName"])
|
|
51
51
|
.withCount(data["count"]);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
public toDict(): {[key: string]: any} {
|
|
55
55
|
return {
|
|
56
|
-
"
|
|
56
|
+
"moldModelName": this.getMoldModelName(),
|
|
57
57
|
"count": this.getCount(),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
2
|
export default class FormationNamespaceUpdateByMoldDistributionSegment implements IModel {
|
|
3
|
-
private
|
|
3
|
+
private moldModelName;
|
|
4
4
|
private count;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
getMoldModelName(): string | null;
|
|
6
|
+
setMoldModelName(moldModelName: string | null): this;
|
|
7
|
+
withMoldModelName(moldModelName: string | null): this;
|
|
8
8
|
getCount(): number | null;
|
|
9
9
|
setCount(count: number | null): this;
|
|
10
10
|
withCount(count: number | null): this;
|
|
@@ -17,18 +17,18 @@ permissions and limitations under the License.
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var FormationNamespaceUpdateByMoldDistributionSegment = /** @class */ (function () {
|
|
19
19
|
function FormationNamespaceUpdateByMoldDistributionSegment() {
|
|
20
|
-
this.
|
|
20
|
+
this.moldModelName = null;
|
|
21
21
|
this.count = null;
|
|
22
22
|
}
|
|
23
|
-
FormationNamespaceUpdateByMoldDistributionSegment.prototype.
|
|
24
|
-
return this.
|
|
23
|
+
FormationNamespaceUpdateByMoldDistributionSegment.prototype.getMoldModelName = function () {
|
|
24
|
+
return this.moldModelName;
|
|
25
25
|
};
|
|
26
|
-
FormationNamespaceUpdateByMoldDistributionSegment.prototype.
|
|
27
|
-
this.
|
|
26
|
+
FormationNamespaceUpdateByMoldDistributionSegment.prototype.setMoldModelName = function (moldModelName) {
|
|
27
|
+
this.moldModelName = moldModelName;
|
|
28
28
|
return this;
|
|
29
29
|
};
|
|
30
|
-
FormationNamespaceUpdateByMoldDistributionSegment.prototype.
|
|
31
|
-
this.
|
|
30
|
+
FormationNamespaceUpdateByMoldDistributionSegment.prototype.withMoldModelName = function (moldModelName) {
|
|
31
|
+
this.moldModelName = moldModelName;
|
|
32
32
|
return this;
|
|
33
33
|
};
|
|
34
34
|
FormationNamespaceUpdateByMoldDistributionSegment.prototype.getCount = function () {
|
|
@@ -47,12 +47,12 @@ var FormationNamespaceUpdateByMoldDistributionSegment = /** @class */ (function
|
|
|
47
47
|
return null;
|
|
48
48
|
}
|
|
49
49
|
return new FormationNamespaceUpdateByMoldDistributionSegment()
|
|
50
|
-
.
|
|
50
|
+
.withMoldModelName(data["moldModelName"])
|
|
51
51
|
.withCount(data["count"]);
|
|
52
52
|
};
|
|
53
53
|
FormationNamespaceUpdateByMoldDistributionSegment.prototype.toDict = function () {
|
|
54
54
|
return {
|
|
55
|
-
"
|
|
55
|
+
"moldModelName": this.getMoldModelName(),
|
|
56
56
|
"count": this.getCount(),
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormationNamespaceUpdateByMoldDistributionSegment.js","sourceRoot":"","sources":["FormationNamespaceUpdateByMoldDistributionSegment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,
|
|
1
|
+
{"version":3,"file":"FormationNamespaceUpdateByMoldDistributionSegment.js","sourceRoot":"","sources":["FormationNamespaceUpdateByMoldDistributionSegment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,kBAAa,GAAgB,IAAI,CAAC;QAClC,UAAK,GAAgB,IAAI,CAAC;IAuCtC,CAAC;IAtCU,4EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,4EAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,6EAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oEAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,oEAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qEAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,0DAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,iDAAiD,EAAE;aACzD,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,kEAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,wDAAC;AAAD,CAAC,AAzCD,IAyCC"}
|
|
@@ -17,17 +17,17 @@ permissions and limitations under the License.
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
|
|
19
19
|
export default class FormationNamespaceUpdateByMoldDistributionSegment implements IModel {
|
|
20
|
-
private
|
|
20
|
+
private moldModelName: string|null = null;
|
|
21
21
|
private count: number|null = null;
|
|
22
|
-
public
|
|
23
|
-
return this.
|
|
22
|
+
public getMoldModelName(): string|null {
|
|
23
|
+
return this.moldModelName;
|
|
24
24
|
}
|
|
25
|
-
public
|
|
26
|
-
this.
|
|
25
|
+
public setMoldModelName(moldModelName: string|null) {
|
|
26
|
+
this.moldModelName = moldModelName;
|
|
27
27
|
return this;
|
|
28
28
|
}
|
|
29
|
-
public
|
|
30
|
-
this.
|
|
29
|
+
public withMoldModelName(moldModelName: string|null): this {
|
|
30
|
+
this.moldModelName = moldModelName;
|
|
31
31
|
return this;
|
|
32
32
|
}
|
|
33
33
|
public getCount(): number|null {
|
|
@@ -47,13 +47,13 @@ export default class FormationNamespaceUpdateByMoldDistributionSegment implement
|
|
|
47
47
|
return null;
|
|
48
48
|
}
|
|
49
49
|
return new FormationNamespaceUpdateByMoldDistributionSegment()
|
|
50
|
-
.
|
|
50
|
+
.withMoldModelName(data["moldModelName"])
|
|
51
51
|
.withCount(data["count"]);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
public toDict(): {[key: string]: any} {
|
|
55
55
|
return {
|
|
56
|
-
"
|
|
56
|
+
"moldModelName": this.getMoldModelName(),
|
|
57
57
|
"count": this.getCount(),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -3,7 +3,7 @@ export default class DescribeFormationFormMetricsRequest implements IRequest {
|
|
|
3
3
|
private requestId;
|
|
4
4
|
private contextStack;
|
|
5
5
|
private namespaceName;
|
|
6
|
-
private
|
|
6
|
+
private moldModelName;
|
|
7
7
|
getRequestId(): string | null;
|
|
8
8
|
setRequestId(requestId: string | null): this;
|
|
9
9
|
withRequestId(requestId: string | null): this;
|
|
@@ -13,9 +13,9 @@ export default class DescribeFormationFormMetricsRequest implements IRequest {
|
|
|
13
13
|
getNamespaceName(): string | null;
|
|
14
14
|
setNamespaceName(namespaceName: string | null): this;
|
|
15
15
|
withNamespaceName(namespaceName: string | null): this;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
getMoldModelName(): string | null;
|
|
17
|
+
setMoldModelName(moldModelName: string | null): this;
|
|
18
|
+
withMoldModelName(moldModelName: string | null): this;
|
|
19
19
|
static fromDict(data: {
|
|
20
20
|
[key: string]: any;
|
|
21
21
|
}): DescribeFormationFormMetricsRequest;
|
|
@@ -20,7 +20,7 @@ var DescribeFormationFormMetricsRequest = /** @class */ (function () {
|
|
|
20
20
|
this.requestId = null;
|
|
21
21
|
this.contextStack = null;
|
|
22
22
|
this.namespaceName = null;
|
|
23
|
-
this.
|
|
23
|
+
this.moldModelName = null;
|
|
24
24
|
}
|
|
25
25
|
DescribeFormationFormMetricsRequest.prototype.getRequestId = function () {
|
|
26
26
|
return this.requestId;
|
|
@@ -55,26 +55,26 @@ var DescribeFormationFormMetricsRequest = /** @class */ (function () {
|
|
|
55
55
|
this.namespaceName = namespaceName;
|
|
56
56
|
return this;
|
|
57
57
|
};
|
|
58
|
-
DescribeFormationFormMetricsRequest.prototype.
|
|
59
|
-
return this.
|
|
58
|
+
DescribeFormationFormMetricsRequest.prototype.getMoldModelName = function () {
|
|
59
|
+
return this.moldModelName;
|
|
60
60
|
};
|
|
61
|
-
DescribeFormationFormMetricsRequest.prototype.
|
|
62
|
-
this.
|
|
61
|
+
DescribeFormationFormMetricsRequest.prototype.setMoldModelName = function (moldModelName) {
|
|
62
|
+
this.moldModelName = moldModelName;
|
|
63
63
|
return this;
|
|
64
64
|
};
|
|
65
|
-
DescribeFormationFormMetricsRequest.prototype.
|
|
66
|
-
this.
|
|
65
|
+
DescribeFormationFormMetricsRequest.prototype.withMoldModelName = function (moldModelName) {
|
|
66
|
+
this.moldModelName = moldModelName;
|
|
67
67
|
return this;
|
|
68
68
|
};
|
|
69
69
|
DescribeFormationFormMetricsRequest.fromDict = function (data) {
|
|
70
70
|
return new DescribeFormationFormMetricsRequest()
|
|
71
71
|
.withNamespaceName(data["namespaceName"])
|
|
72
|
-
.
|
|
72
|
+
.withMoldModelName(data["moldModelName"]);
|
|
73
73
|
};
|
|
74
74
|
DescribeFormationFormMetricsRequest.prototype.toDict = function () {
|
|
75
75
|
return {
|
|
76
76
|
"namespaceName": this.getNamespaceName(),
|
|
77
|
-
"
|
|
77
|
+
"moldModelName": this.getMoldModelName(),
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
80
|
return DescribeFormationFormMetricsRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeFormationFormMetricsRequest.js","sourceRoot":"","sources":["DescribeFormationFormMetricsRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,
|
|
1
|
+
{"version":3,"file":"DescribeFormationFormMetricsRequest.js","sourceRoot":"","sources":["DescribeFormationFormMetricsRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,kBAAa,GAAgB,IAAI,CAAC;IAgE9C,CAAC;IA9DU,0DAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,0DAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,6DAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8DAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,8DAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+DAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,8DAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+DAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,4CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mCAAmC,EAAE;aAC3C,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,oDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,0CAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -23,7 +23,7 @@ export default class DescribeFormationFormMetricsRequest implements IRequest {
|
|
|
23
23
|
private requestId: string|null = null;
|
|
24
24
|
private contextStack: string|null = null;
|
|
25
25
|
private namespaceName: string|null = null;
|
|
26
|
-
private
|
|
26
|
+
private moldModelName: string|null = null;
|
|
27
27
|
|
|
28
28
|
public getRequestId(): string|null {
|
|
29
29
|
return this.requestId;
|
|
@@ -63,28 +63,28 @@ export default class DescribeFormationFormMetricsRequest implements IRequest {
|
|
|
63
63
|
this.namespaceName = namespaceName;
|
|
64
64
|
return this;
|
|
65
65
|
}
|
|
66
|
-
public
|
|
67
|
-
return this.
|
|
66
|
+
public getMoldModelName(): string|null {
|
|
67
|
+
return this.moldModelName;
|
|
68
68
|
}
|
|
69
|
-
public
|
|
70
|
-
this.
|
|
69
|
+
public setMoldModelName(moldModelName: string|null) {
|
|
70
|
+
this.moldModelName = moldModelName;
|
|
71
71
|
return this;
|
|
72
72
|
}
|
|
73
|
-
public
|
|
74
|
-
this.
|
|
73
|
+
public withMoldModelName(moldModelName: string|null): this {
|
|
74
|
+
this.moldModelName = moldModelName;
|
|
75
75
|
return this;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
public static fromDict(data: {[key: string]: any}): DescribeFormationFormMetricsRequest {
|
|
79
79
|
return new DescribeFormationFormMetricsRequest()
|
|
80
80
|
.withNamespaceName(data["namespaceName"])
|
|
81
|
-
.
|
|
81
|
+
.withMoldModelName(data["moldModelName"]);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
public toDict(): {[key: string]: any} {
|
|
85
85
|
return {
|
|
86
86
|
"namespaceName": this.getNamespaceName(),
|
|
87
|
-
"
|
|
87
|
+
"moldModelName": this.getMoldModelName(),
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
}
|
package/watch/rest.js
CHANGED
|
@@ -569,11 +569,11 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
569
569
|
};
|
|
570
570
|
Gs2WatchRestClient.prototype.describeFormationFormMetrics = function (request) {
|
|
571
571
|
var _a, _b, _c, _d, _e;
|
|
572
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold/{
|
|
572
|
+
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold/{moldModelName}/form')
|
|
573
573
|
.replace('{service}', 'watch')
|
|
574
574
|
.replace('{region}', this.session.region)
|
|
575
575
|
.replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
|
|
576
|
-
.replace('{
|
|
576
|
+
.replace('{moldModelName}', String((_c = request.getMoldModelName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getMoldModelName()) !== null && _d !== void 0 ? _d : 'null'));
|
|
577
577
|
var headers = this.createAuthorizedHeaders();
|
|
578
578
|
if (request.getRequestId()) {
|
|
579
579
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|