@huaweicloud/huaweicloud-sdk-swr 3.0.50-rc → 3.0.53-rc

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-swr",
3
- "version": "3.0.50-rc",
3
+ "version": "3.0.53-rc",
4
4
  "description": "Huaweicloud SDK for swr",
5
5
  "main": "huaweicloud-sdk-swr.js",
6
6
  "typings": "huaweicloud-sdk-swr.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.0.50-rc"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.0.53-rc"
18
18
  }
19
19
  }
package/v2/SwrClient.d.ts CHANGED
@@ -239,7 +239,7 @@ export declare class SwrClient {
239
239
  * @summary 删除组织权限
240
240
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json
241
241
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
242
- * @param {Array<string>} deleteNamespaceAuthRequestBody 删除权限需要的信息
242
+ * @param {Array<string>} deleteNamespaceAuthRequestBody 需要删除权限的用户id列表,需要从IAM服务获取
243
243
  * @param {*} [options] Override http request option.
244
244
  * @throws {RequiredError}
245
245
  */
@@ -369,6 +369,7 @@ export declare class SwrClient {
369
369
  * @summary 查询组织列表
370
370
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
371
371
  * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
372
+ * @param {string} [filter] 应填写namespace::{namespace}|mode::{mode}。其中{namespace}是组织名称,{mode}如果不设置,查看有权限的组织列表;设置为visible,查看可见的组织列表(部分组织:仓库有权限,组织没有权限)。
372
373
  * @param {*} [options] Override http request option.
373
374
  * @throws {RequiredError}
374
375
  */
@@ -410,7 +411,11 @@ export declare class SwrClient {
410
411
  * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
411
412
  * @param {string} [name] 镜像仓库名称
412
413
  * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。
413
- * @param {string} [filter] 注意:至少要传递一个filter参数。其中{center}为self或thirdparty,自己的镜像或第三方镜像,默认值为self。{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
414
+ * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
415
+ * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
416
+ * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
417
+ * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
418
+ * @param {string} [filter] 注意:至少要传递一个filter参数。其中{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
414
419
  * @param {*} [options] Override http request option.
415
420
  * @throws {RequiredError}
416
421
  */
@@ -425,11 +430,12 @@ export declare class SwrClient {
425
430
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
426
431
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
427
432
  * @param {string} repository 镜像仓库名称
428
- * @param {string} [offset] 起始索引。**注意:offset和limit参数需要配套使用**
429
- * @param {string} [limit] 返回条数。**注意:offset和limit参数需要配套使用*
430
- * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)
431
- * @param {'desc' | 'asc'} [orderType] 排序类型,可设置为desc(降序)、asc(升序)
432
- * @param {string} [tag] 镜像版本名
433
+ * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
434
+ * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
435
+ * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
436
+ * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
437
+ * @param {string} [tag] 镜像版本名。
438
+ * @param {string} [filter] 应填写 offset::{offset}|limit::{limit}|order_column::{order_column}|order_type::{order_type}|tag::{tag} ,其中{limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。 {order_column}为按列排序,可设置为updated_at(按更新时间排序),{order_type}为排序类型,可设置为desc(降序)、asc(升序),{tag}为镜像版本名。
433
439
  * @param {*} [options] Override http request option.
434
440
  * @throws {RequiredError}
435
441
  */
@@ -444,8 +450,7 @@ export declare class SwrClient {
444
450
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
445
451
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
446
452
  * @param {string} repository 镜像仓库名称
447
- * @param {string} [offset] 起始索引。**注意:offset和limit参数需要配套使用**
448
- * @param {string} [limit] 返回条数。**注意:offset和limit参数需要配套使用**
453
+ * @param {string} [filter] 应填写 limit::{limit}|offset::{offset}, 其中{limit}为返回条数,{offset}为起始索引, 注意:offset和limit参数需要配套使用
449
454
  * @param {*} [options] Override http request option.
450
455
  * @throws {RequiredError}
451
456
  */
@@ -472,7 +477,14 @@ export declare class SwrClient {
472
477
  *
473
478
  * @summary 查询共享镜像列表
474
479
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
475
- * @param {string} [filter] 应填写 center::{center}|limit::{limit}|offset::{offset}|order_column::{order_column}|order_type::{order_type} ,其中{limit}为返回条数,{offset}为起始索引, {order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型,可设置为desc(降序)、asc(升序)
480
+ * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
481
+ * @param {string} [name] 镜像仓库名称
482
+ * @param {string} [center] self: 我共享的镜像。thirdparty: 他人共享给我的镜像
483
+ * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
484
+ * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
485
+ * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
486
+ * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
487
+ * @param {string} [filter] 应填写 center::{center}|name::{name}|limit::{limit}|offset::{offset}|namespace::{namespace}|order_column::{order_column}|order_type::{order_type} ,其中 {center}可选为self: 我共享的镜像。thirdparty: 他人共享给我的镜像,namespace为组织名称,name为镜像仓库名称, {limit}为返回条数,{offset}为起始索引,{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型,可设置为desc(降序)、asc(升序)
476
488
  * @param {*} [options] Override http request option.
477
489
  * @throws {RequiredError}
478
490
  */
@@ -571,7 +583,7 @@ export declare class SwrClient {
571
583
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
572
584
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
573
585
  * @param {string} repository 镜像仓库名称
574
- * @param {string} filter 应填写 limit::{limit}|offset::{offset}|order::{order} ,其中{limit}为返回条数,{offset}为起始索引,{order}为排序类型,可设置为desc(降序)、asc(升序)
586
+ * @param {string} filter 应填写 limit::{limit}|offset::{offset}|order::{order} ,其中{limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用,且必选。{order}为排序类型(可选),可设置为desc(降序)、asc(升序)
575
587
  * @param {*} [options] Override http request option.
576
588
  * @throws {RequiredError}
577
589
  */
@@ -620,7 +632,7 @@ export declare class SwrClient {
620
632
  */
621
633
  updateNamespaceAuth(updateNamespaceAuthRequest?: UpdateNamespaceAuthRequest): Promise<void>;
622
634
  /**
623
- * 更新租户命名空间下的镜像概要信息,包括镜像类型、是否公有、描述信息
635
+ * 更新租户组织下的镜像概要信息,包括镜像类型、是否公有、描述信息
624
636
  *
625
637
  * 详细说明请参考华为云API Explorer。
626
638
  * Please refer to Huawei cloud API Explorer for details.
@@ -1295,7 +1307,7 @@ export declare const ParamCreater: () => {
1295
1307
  data: {};
1296
1308
  };
1297
1309
  /**
1298
- * 更新租户命名空间下的镜像概要信息,包括镜像类型、是否公有、描述信息
1310
+ * 更新租户组织下的镜像概要信息,包括镜像类型、是否公有、描述信息
1299
1311
  *
1300
1312
  * 详细说明请参考华为云API Explorer。
1301
1313
  * Please refer to Huawei cloud API Explorer for details.
package/v2/SwrClient.js CHANGED
@@ -222,7 +222,7 @@ var SwrClient = /** @class */ (function () {
222
222
  */
223
223
  SwrClient.prototype.createSecret = function (createSecretRequest) {
224
224
  var options = (0, exports.ParamCreater)().createSecret(createSecretRequest);
225
- options['responseHeaders'] = [''];
225
+ options['responseHeaders'] = ['X-Swr-Dockerlogin'];
226
226
  // @ts-ignore
227
227
  return this.hcClient.sendRequest(options);
228
228
  };
@@ -295,7 +295,7 @@ var SwrClient = /** @class */ (function () {
295
295
  * @summary 删除组织权限
296
296
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
297
297
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
298
- * @param {Array<string>} deleteNamespaceAuthRequestBody 删除权限需要的信息
298
+ * @param {Array<string>} deleteNamespaceAuthRequestBody 需要删除权限的用户id列表,需要从IAM服务获取
299
299
  * @param {*} [options] Override http request option.
300
300
  * @throws {RequiredError}
301
301
  */
@@ -470,6 +470,7 @@ var SwrClient = /** @class */ (function () {
470
470
  * @summary 查询组织列表
471
471
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
472
472
  * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
473
+ * @param {string} [filter] 应填写namespace::{namespace}|mode::{mode}。其中{namespace}是组织名称,{mode}如果不设置,查看有权限的组织列表;设置为visible,查看可见的组织列表(部分组织:仓库有权限,组织没有权限)。
473
474
  * @param {*} [options] Override http request option.
474
475
  * @throws {RequiredError}
475
476
  */
@@ -526,7 +527,11 @@ var SwrClient = /** @class */ (function () {
526
527
  * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
527
528
  * @param {string} [name] 镜像仓库名称
528
529
  * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。
529
- * @param {string} [filter] 注意:至少要传递一个filter参数。其中{center}为self或thirdparty,自己的镜像或第三方镜像,默认值为self。{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
530
+ * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
531
+ * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
532
+ * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
533
+ * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
534
+ * @param {string} [filter] 注意:至少要传递一个filter参数。其中{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
530
535
  * @param {*} [options] Override http request option.
531
536
  * @throws {RequiredError}
532
537
  */
@@ -546,17 +551,18 @@ var SwrClient = /** @class */ (function () {
546
551
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
547
552
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
548
553
  * @param {string} repository 镜像仓库名称
549
- * @param {string} [offset] 起始索引。**注意:offset和limit参数需要配套使用**
550
- * @param {string} [limit] 返回条数。**注意:offset和limit参数需要配套使用*
551
- * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)
552
- * @param {'desc' | 'asc'} [orderType] 排序类型,可设置为desc(降序)、asc(升序)
553
- * @param {string} [tag] 镜像版本名
554
+ * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
555
+ * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
556
+ * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
557
+ * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
558
+ * @param {string} [tag] 镜像版本名。
559
+ * @param {string} [filter] 应填写 offset::{offset}|limit::{limit}|order_column::{order_column}|order_type::{order_type}|tag::{tag} ,其中{limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。 {order_column}为按列排序,可设置为updated_at(按更新时间排序),{order_type}为排序类型,可设置为desc(降序)、asc(升序),{tag}为镜像版本名。
554
560
  * @param {*} [options] Override http request option.
555
561
  * @throws {RequiredError}
556
562
  */
557
563
  SwrClient.prototype.listRepositoryTags = function (listRepositoryTagsRequest) {
558
564
  var options = (0, exports.ParamCreater)().listRepositoryTags(listRepositoryTagsRequest);
559
- options['responseHeaders'] = [''];
565
+ options['responseHeaders'] = ['Content-Range'];
560
566
  // @ts-ignore
561
567
  return this.hcClient.sendRequest(options);
562
568
  };
@@ -570,8 +576,7 @@ var SwrClient = /** @class */ (function () {
570
576
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
571
577
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
572
578
  * @param {string} repository 镜像仓库名称
573
- * @param {string} [offset] 起始索引。**注意:offset和limit参数需要配套使用**
574
- * @param {string} [limit] 返回条数。**注意:offset和limit参数需要配套使用**
579
+ * @param {string} [filter] 应填写 limit::{limit}|offset::{offset}, 其中{limit}为返回条数,{offset}为起始索引, 注意:offset和limit参数需要配套使用
575
580
  * @param {*} [options] Override http request option.
576
581
  * @throws {RequiredError}
577
582
  */
@@ -608,7 +613,14 @@ var SwrClient = /** @class */ (function () {
608
613
  *
609
614
  * @summary 查询共享镜像列表
610
615
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
611
- * @param {string} [filter] 应填写 center::{center}|limit::{limit}|offset::{offset}|order_column::{order_column}|order_type::{order_type} ,其中{limit}为返回条数,{offset}为起始索引, {order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型,可设置为desc(降序)、asc(升序)
616
+ * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
617
+ * @param {string} [name] 镜像仓库名称
618
+ * @param {string} [center] self: 我共享的镜像。thirdparty: 他人共享给我的镜像
619
+ * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
620
+ * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
621
+ * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
622
+ * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
623
+ * @param {string} [filter] 应填写 center::{center}|name::{name}|limit::{limit}|offset::{offset}|namespace::{namespace}|order_column::{order_column}|order_type::{order_type} ,其中 {center}可选为self: 我共享的镜像。thirdparty: 他人共享给我的镜像,namespace为组织名称,name为镜像仓库名称, {limit}为返回条数,{offset}为起始索引,{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型,可设置为desc(降序)、asc(升序)
612
624
  * @param {*} [options] Override http request option.
613
625
  * @throws {RequiredError}
614
626
  */
@@ -742,13 +754,13 @@ var SwrClient = /** @class */ (function () {
742
754
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
743
755
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
744
756
  * @param {string} repository 镜像仓库名称
745
- * @param {string} filter 应填写 limit::{limit}|offset::{offset}|order::{order} ,其中{limit}为返回条数,{offset}为起始索引,{order}为排序类型,可设置为desc(降序)、asc(升序)
757
+ * @param {string} filter 应填写 limit::{limit}|offset::{offset}|order::{order} ,其中{limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用,且必选。{order}为排序类型(可选),可设置为desc(降序)、asc(升序)
746
758
  * @param {*} [options] Override http request option.
747
759
  * @throws {RequiredError}
748
760
  */
749
761
  SwrClient.prototype.showSyncJob = function (showSyncJobRequest) {
750
762
  var options = (0, exports.ParamCreater)().showSyncJob(showSyncJobRequest);
751
- options['responseHeaders'] = [''];
763
+ options['responseHeaders'] = ['Content-Range'];
752
764
  // @ts-ignore
753
765
  return this.hcClient.sendRequest(options);
754
766
  };
@@ -811,7 +823,7 @@ var SwrClient = /** @class */ (function () {
811
823
  return this.hcClient.sendRequest(options);
812
824
  };
813
825
  /**
814
- * 更新租户命名空间下的镜像概要信息,包括镜像类型、是否公有、描述信息
826
+ * 更新租户组织下的镜像概要信息,包括镜像类型、是否公有、描述信息
815
827
  *
816
828
  * 详细说明请参考华为云API Explorer。
817
829
  * Please refer to Huawei cloud API Explorer for details.
@@ -1951,19 +1963,25 @@ var ParamCreater = function () {
1951
1963
  var localVarQueryParameter = {};
1952
1964
  var contentType;
1953
1965
  var namespace;
1966
+ var filter;
1954
1967
  if (listNamespacesRequest !== null && listNamespacesRequest !== undefined) {
1955
1968
  if (listNamespacesRequest instanceof ListNamespacesRequest_1.ListNamespacesRequest) {
1956
1969
  contentType = listNamespacesRequest.contentType;
1957
1970
  namespace = listNamespacesRequest.namespace;
1971
+ filter = listNamespacesRequest.filter;
1958
1972
  }
1959
1973
  else {
1960
1974
  contentType = listNamespacesRequest['Content-Type'];
1961
1975
  namespace = listNamespacesRequest['namespace'];
1976
+ filter = listNamespacesRequest['filter'];
1962
1977
  }
1963
1978
  }
1964
1979
  if (namespace !== null && namespace !== undefined) {
1965
1980
  localVarQueryParameter['namespace'] = namespace;
1966
1981
  }
1982
+ if (filter !== null && filter !== undefined) {
1983
+ localVarQueryParameter['filter'] = filter;
1984
+ }
1967
1985
  if (contentType !== undefined && contentType !== null) {
1968
1986
  localVarHeaderParameter['Content-Type'] = String(contentType);
1969
1987
  }
@@ -2070,6 +2088,10 @@ var ParamCreater = function () {
2070
2088
  var namespace;
2071
2089
  var name;
2072
2090
  var category;
2091
+ var limit;
2092
+ var offset;
2093
+ var orderColumn;
2094
+ var orderType;
2073
2095
  var filter;
2074
2096
  if (listReposDetailsRequest !== null && listReposDetailsRequest !== undefined) {
2075
2097
  if (listReposDetailsRequest instanceof ListReposDetailsRequest_1.ListReposDetailsRequest) {
@@ -2077,6 +2099,10 @@ var ParamCreater = function () {
2077
2099
  namespace = listReposDetailsRequest.namespace;
2078
2100
  name = listReposDetailsRequest.name;
2079
2101
  category = listReposDetailsRequest.category;
2102
+ limit = listReposDetailsRequest.limit;
2103
+ offset = listReposDetailsRequest.offset;
2104
+ orderColumn = listReposDetailsRequest.orderColumn;
2105
+ orderType = listReposDetailsRequest.orderType;
2080
2106
  filter = listReposDetailsRequest.filter;
2081
2107
  }
2082
2108
  else {
@@ -2084,6 +2110,10 @@ var ParamCreater = function () {
2084
2110
  namespace = listReposDetailsRequest['namespace'];
2085
2111
  name = listReposDetailsRequest['name'];
2086
2112
  category = listReposDetailsRequest['category'];
2113
+ limit = listReposDetailsRequest['limit'];
2114
+ offset = listReposDetailsRequest['offset'];
2115
+ orderColumn = listReposDetailsRequest['order_column'];
2116
+ orderType = listReposDetailsRequest['order_type'];
2087
2117
  filter = listReposDetailsRequest['filter'];
2088
2118
  }
2089
2119
  }
@@ -2096,6 +2126,18 @@ var ParamCreater = function () {
2096
2126
  if (category !== null && category !== undefined) {
2097
2127
  localVarQueryParameter['category'] = category;
2098
2128
  }
2129
+ if (limit !== null && limit !== undefined) {
2130
+ localVarQueryParameter['limit'] = limit;
2131
+ }
2132
+ if (offset !== null && offset !== undefined) {
2133
+ localVarQueryParameter['offset'] = offset;
2134
+ }
2135
+ if (orderColumn !== null && orderColumn !== undefined) {
2136
+ localVarQueryParameter['order_column'] = orderColumn;
2137
+ }
2138
+ if (orderType !== null && orderType !== undefined) {
2139
+ localVarQueryParameter['order_type'] = orderType;
2140
+ }
2099
2141
  if (filter !== null && filter !== undefined) {
2100
2142
  localVarQueryParameter['filter'] = filter;
2101
2143
  }
@@ -2127,31 +2169,34 @@ var ParamCreater = function () {
2127
2169
  var contentType;
2128
2170
  var namespace;
2129
2171
  var repository;
2130
- var offset;
2131
2172
  var limit;
2173
+ var offset;
2132
2174
  var orderColumn;
2133
2175
  var orderType;
2134
2176
  var tag;
2177
+ var filter;
2135
2178
  if (listRepositoryTagsRequest !== null && listRepositoryTagsRequest !== undefined) {
2136
2179
  if (listRepositoryTagsRequest instanceof ListRepositoryTagsRequest_1.ListRepositoryTagsRequest) {
2137
2180
  contentType = listRepositoryTagsRequest.contentType;
2138
2181
  namespace = listRepositoryTagsRequest.namespace;
2139
2182
  repository = listRepositoryTagsRequest.repository;
2140
- offset = listRepositoryTagsRequest.offset;
2141
2183
  limit = listRepositoryTagsRequest.limit;
2184
+ offset = listRepositoryTagsRequest.offset;
2142
2185
  orderColumn = listRepositoryTagsRequest.orderColumn;
2143
2186
  orderType = listRepositoryTagsRequest.orderType;
2144
2187
  tag = listRepositoryTagsRequest.tag;
2188
+ filter = listRepositoryTagsRequest.filter;
2145
2189
  }
2146
2190
  else {
2147
2191
  contentType = listRepositoryTagsRequest['Content-Type'];
2148
2192
  namespace = listRepositoryTagsRequest['namespace'];
2149
2193
  repository = listRepositoryTagsRequest['repository'];
2150
- offset = listRepositoryTagsRequest['offset'];
2151
2194
  limit = listRepositoryTagsRequest['limit'];
2195
+ offset = listRepositoryTagsRequest['offset'];
2152
2196
  orderColumn = listRepositoryTagsRequest['order_column'];
2153
2197
  orderType = listRepositoryTagsRequest['order_type'];
2154
2198
  tag = listRepositoryTagsRequest['tag'];
2199
+ filter = listRepositoryTagsRequest['filter'];
2155
2200
  }
2156
2201
  }
2157
2202
  if (namespace === null || namespace === undefined) {
@@ -2160,12 +2205,12 @@ var ParamCreater = function () {
2160
2205
  if (repository === null || repository === undefined) {
2161
2206
  throw new RequiredError('repository', 'Required parameter repository was null or undefined when calling listRepositoryTags.');
2162
2207
  }
2163
- if (offset !== null && offset !== undefined) {
2164
- localVarQueryParameter['offset'] = offset;
2165
- }
2166
2208
  if (limit !== null && limit !== undefined) {
2167
2209
  localVarQueryParameter['limit'] = limit;
2168
2210
  }
2211
+ if (offset !== null && offset !== undefined) {
2212
+ localVarQueryParameter['offset'] = offset;
2213
+ }
2169
2214
  if (orderColumn !== null && orderColumn !== undefined) {
2170
2215
  localVarQueryParameter['order_column'] = orderColumn;
2171
2216
  }
@@ -2175,6 +2220,9 @@ var ParamCreater = function () {
2175
2220
  if (tag !== null && tag !== undefined) {
2176
2221
  localVarQueryParameter['tag'] = tag;
2177
2222
  }
2223
+ if (filter !== null && filter !== undefined) {
2224
+ localVarQueryParameter['filter'] = filter;
2225
+ }
2178
2226
  if (contentType !== undefined && contentType !== null) {
2179
2227
  localVarHeaderParameter['Content-Type'] = String(contentType);
2180
2228
  }
@@ -2204,22 +2252,19 @@ var ParamCreater = function () {
2204
2252
  var contentType;
2205
2253
  var namespace;
2206
2254
  var repository;
2207
- var offset;
2208
- var limit;
2255
+ var filter;
2209
2256
  if (listRetentionHistoriesRequest !== null && listRetentionHistoriesRequest !== undefined) {
2210
2257
  if (listRetentionHistoriesRequest instanceof ListRetentionHistoriesRequest_1.ListRetentionHistoriesRequest) {
2211
2258
  contentType = listRetentionHistoriesRequest.contentType;
2212
2259
  namespace = listRetentionHistoriesRequest.namespace;
2213
2260
  repository = listRetentionHistoriesRequest.repository;
2214
- offset = listRetentionHistoriesRequest.offset;
2215
- limit = listRetentionHistoriesRequest.limit;
2261
+ filter = listRetentionHistoriesRequest.filter;
2216
2262
  }
2217
2263
  else {
2218
2264
  contentType = listRetentionHistoriesRequest['Content-Type'];
2219
2265
  namespace = listRetentionHistoriesRequest['namespace'];
2220
2266
  repository = listRetentionHistoriesRequest['repository'];
2221
- offset = listRetentionHistoriesRequest['offset'];
2222
- limit = listRetentionHistoriesRequest['limit'];
2267
+ filter = listRetentionHistoriesRequest['filter'];
2223
2268
  }
2224
2269
  }
2225
2270
  if (namespace === null || namespace === undefined) {
@@ -2228,11 +2273,8 @@ var ParamCreater = function () {
2228
2273
  if (repository === null || repository === undefined) {
2229
2274
  throw new RequiredError('repository', 'Required parameter repository was null or undefined when calling listRetentionHistories.');
2230
2275
  }
2231
- if (offset !== null && offset !== undefined) {
2232
- localVarQueryParameter['offset'] = offset;
2233
- }
2234
- if (limit !== null && limit !== undefined) {
2235
- localVarQueryParameter['limit'] = limit;
2276
+ if (filter !== null && filter !== undefined) {
2277
+ localVarQueryParameter['filter'] = filter;
2236
2278
  }
2237
2279
  if (contentType !== undefined && contentType !== null) {
2238
2280
  localVarHeaderParameter['Content-Type'] = String(contentType);
@@ -2306,17 +2348,59 @@ var ParamCreater = function () {
2306
2348
  var localVarHeaderParameter = {};
2307
2349
  var localVarQueryParameter = {};
2308
2350
  var contentType;
2351
+ var namespace;
2352
+ var name;
2353
+ var center;
2354
+ var limit;
2355
+ var offset;
2356
+ var orderColumn;
2357
+ var orderType;
2309
2358
  var filter;
2310
2359
  if (listSharedReposDetailsRequest !== null && listSharedReposDetailsRequest !== undefined) {
2311
2360
  if (listSharedReposDetailsRequest instanceof ListSharedReposDetailsRequest_1.ListSharedReposDetailsRequest) {
2312
2361
  contentType = listSharedReposDetailsRequest.contentType;
2362
+ namespace = listSharedReposDetailsRequest.namespace;
2363
+ name = listSharedReposDetailsRequest.name;
2364
+ center = listSharedReposDetailsRequest.center;
2365
+ limit = listSharedReposDetailsRequest.limit;
2366
+ offset = listSharedReposDetailsRequest.offset;
2367
+ orderColumn = listSharedReposDetailsRequest.orderColumn;
2368
+ orderType = listSharedReposDetailsRequest.orderType;
2313
2369
  filter = listSharedReposDetailsRequest.filter;
2314
2370
  }
2315
2371
  else {
2316
2372
  contentType = listSharedReposDetailsRequest['Content-Type'];
2373
+ namespace = listSharedReposDetailsRequest['namespace'];
2374
+ name = listSharedReposDetailsRequest['name'];
2375
+ center = listSharedReposDetailsRequest['center'];
2376
+ limit = listSharedReposDetailsRequest['limit'];
2377
+ offset = listSharedReposDetailsRequest['offset'];
2378
+ orderColumn = listSharedReposDetailsRequest['order_column'];
2379
+ orderType = listSharedReposDetailsRequest['order_type'];
2317
2380
  filter = listSharedReposDetailsRequest['filter'];
2318
2381
  }
2319
2382
  }
2383
+ if (namespace !== null && namespace !== undefined) {
2384
+ localVarQueryParameter['namespace'] = namespace;
2385
+ }
2386
+ if (name !== null && name !== undefined) {
2387
+ localVarQueryParameter['name'] = name;
2388
+ }
2389
+ if (center !== null && center !== undefined) {
2390
+ localVarQueryParameter['center'] = center;
2391
+ }
2392
+ if (limit !== null && limit !== undefined) {
2393
+ localVarQueryParameter['limit'] = limit;
2394
+ }
2395
+ if (offset !== null && offset !== undefined) {
2396
+ localVarQueryParameter['offset'] = offset;
2397
+ }
2398
+ if (orderColumn !== null && orderColumn !== undefined) {
2399
+ localVarQueryParameter['order_column'] = orderColumn;
2400
+ }
2401
+ if (orderType !== null && orderType !== undefined) {
2402
+ localVarQueryParameter['order_type'] = orderType;
2403
+ }
2320
2404
  if (filter !== null && filter !== undefined) {
2321
2405
  localVarQueryParameter['filter'] = filter;
2322
2406
  }
@@ -2797,7 +2881,7 @@ var ParamCreater = function () {
2797
2881
  return options;
2798
2882
  },
2799
2883
  /**
2800
- * 更新租户命名空间下的镜像概要信息,包括镜像类型、是否公有、描述信息
2884
+ * 更新租户组织下的镜像概要信息,包括镜像类型、是否公有、描述信息
2801
2885
  *
2802
2886
  * 详细说明请参考华为云API Explorer。
2803
2887
  * Please refer to Huawei cloud API Explorer for details.
@@ -4,8 +4,12 @@ export declare class CreateSecretResponse extends SdkResponse {
4
4
  auths?: {
5
5
  [key: string]: AuthInfo;
6
6
  };
7
+ private 'X-Swr-Dockerlogin'?;
7
8
  constructor();
8
9
  withAuths(auths: {
9
10
  [key: string]: AuthInfo;
10
11
  }): CreateSecretResponse;
12
+ withXSwrDockerlogin(xSwrDockerlogin: string): CreateSecretResponse;
13
+ set xSwrDockerlogin(xSwrDockerlogin: string | undefined);
14
+ get xSwrDockerlogin(): string | undefined;
11
15
  }
@@ -26,6 +26,20 @@ var CreateSecretResponse = /** @class */ (function (_super) {
26
26
  this['auths'] = auths;
27
27
  return this;
28
28
  };
29
+ CreateSecretResponse.prototype.withXSwrDockerlogin = function (xSwrDockerlogin) {
30
+ this['X-Swr-Dockerlogin'] = xSwrDockerlogin;
31
+ return this;
32
+ };
33
+ Object.defineProperty(CreateSecretResponse.prototype, "xSwrDockerlogin", {
34
+ get: function () {
35
+ return this['X-Swr-Dockerlogin'];
36
+ },
37
+ set: function (xSwrDockerlogin) {
38
+ this['X-Swr-Dockerlogin'] = xSwrDockerlogin;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
29
43
  return CreateSecretResponse;
30
44
  }(SdkResponse_1.SdkResponse));
31
45
  exports.CreateSecretResponse = CreateSecretResponse;
@@ -1,11 +1,13 @@
1
1
  export declare class ListNamespacesRequest {
2
2
  private 'Content-Type';
3
3
  namespace?: string;
4
+ filter?: string;
4
5
  constructor(contentType?: any);
5
6
  withContentType(contentType: ListNamespacesRequestContentTypeEnum): ListNamespacesRequest;
6
7
  set contentType(contentType: ListNamespacesRequestContentTypeEnum | undefined);
7
8
  get contentType(): ListNamespacesRequestContentTypeEnum | undefined;
8
9
  withNamespace(namespace: string): ListNamespacesRequest;
10
+ withFilter(filter: string): ListNamespacesRequest;
9
11
  }
10
12
  /**
11
13
  * @export
@@ -23,6 +23,10 @@ var ListNamespacesRequest = /** @class */ (function () {
23
23
  this['namespace'] = namespace;
24
24
  return this;
25
25
  };
26
+ ListNamespacesRequest.prototype.withFilter = function (filter) {
27
+ this['filter'] = filter;
28
+ return this;
29
+ };
26
30
  return ListNamespacesRequest;
27
31
  }());
28
32
  exports.ListNamespacesRequest = ListNamespacesRequest;
@@ -3,6 +3,10 @@ export declare class ListReposDetailsRequest {
3
3
  namespace?: string;
4
4
  name?: string;
5
5
  category?: string;
6
+ limit?: string;
7
+ offset?: string;
8
+ private 'order_column'?;
9
+ private 'order_type'?;
6
10
  filter?: string;
7
11
  constructor(contentType?: any);
8
12
  withContentType(contentType: ListReposDetailsRequestContentTypeEnum): ListReposDetailsRequest;
@@ -11,6 +15,14 @@ export declare class ListReposDetailsRequest {
11
15
  withNamespace(namespace: string): ListReposDetailsRequest;
12
16
  withName(name: string): ListReposDetailsRequest;
13
17
  withCategory(category: string): ListReposDetailsRequest;
18
+ withLimit(limit: string): ListReposDetailsRequest;
19
+ withOffset(offset: string): ListReposDetailsRequest;
20
+ withOrderColumn(orderColumn: string): ListReposDetailsRequest;
21
+ set orderColumn(orderColumn: string | undefined);
22
+ get orderColumn(): string | undefined;
23
+ withOrderType(orderType: string): ListReposDetailsRequest;
24
+ set orderType(orderType: string | undefined);
25
+ get orderType(): string | undefined;
14
26
  withFilter(filter: string): ListReposDetailsRequest;
15
27
  }
16
28
  /**
@@ -31,6 +31,42 @@ var ListReposDetailsRequest = /** @class */ (function () {
31
31
  this['category'] = category;
32
32
  return this;
33
33
  };
34
+ ListReposDetailsRequest.prototype.withLimit = function (limit) {
35
+ this['limit'] = limit;
36
+ return this;
37
+ };
38
+ ListReposDetailsRequest.prototype.withOffset = function (offset) {
39
+ this['offset'] = offset;
40
+ return this;
41
+ };
42
+ ListReposDetailsRequest.prototype.withOrderColumn = function (orderColumn) {
43
+ this['order_column'] = orderColumn;
44
+ return this;
45
+ };
46
+ Object.defineProperty(ListReposDetailsRequest.prototype, "orderColumn", {
47
+ get: function () {
48
+ return this['order_column'];
49
+ },
50
+ set: function (orderColumn) {
51
+ this['order_column'] = orderColumn;
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ ListReposDetailsRequest.prototype.withOrderType = function (orderType) {
57
+ this['order_type'] = orderType;
58
+ return this;
59
+ };
60
+ Object.defineProperty(ListReposDetailsRequest.prototype, "orderType", {
61
+ get: function () {
62
+ return this['order_type'];
63
+ },
64
+ set: function (orderType) {
65
+ this['order_type'] = orderType;
66
+ },
67
+ enumerable: false,
68
+ configurable: true
69
+ });
34
70
  ListReposDetailsRequest.prototype.withFilter = function (filter) {
35
71
  this['filter'] = filter;
36
72
  return this;
@@ -2,26 +2,28 @@ export declare class ListRepositoryTagsRequest {
2
2
  private 'Content-Type';
3
3
  namespace: string;
4
4
  repository: string;
5
- offset?: string;
6
5
  limit?: string;
6
+ offset?: string;
7
7
  private 'order_column'?;
8
8
  private 'order_type'?;
9
9
  tag?: string;
10
+ filter?: string;
10
11
  constructor(contentType?: any, namespace?: any, repository?: any);
11
12
  withContentType(contentType: ListRepositoryTagsRequestContentTypeEnum): ListRepositoryTagsRequest;
12
13
  set contentType(contentType: ListRepositoryTagsRequestContentTypeEnum | undefined);
13
14
  get contentType(): ListRepositoryTagsRequestContentTypeEnum | undefined;
14
15
  withNamespace(namespace: string): ListRepositoryTagsRequest;
15
16
  withRepository(repository: string): ListRepositoryTagsRequest;
16
- withOffset(offset: string): ListRepositoryTagsRequest;
17
17
  withLimit(limit: string): ListRepositoryTagsRequest;
18
+ withOffset(offset: string): ListRepositoryTagsRequest;
18
19
  withOrderColumn(orderColumn: string): ListRepositoryTagsRequest;
19
20
  set orderColumn(orderColumn: string | undefined);
20
21
  get orderColumn(): string | undefined;
21
- withOrderType(orderType: ListRepositoryTagsRequestOrderTypeEnum): ListRepositoryTagsRequest;
22
- set orderType(orderType: ListRepositoryTagsRequestOrderTypeEnum | undefined);
23
- get orderType(): ListRepositoryTagsRequestOrderTypeEnum | undefined;
22
+ withOrderType(orderType: string): ListRepositoryTagsRequest;
23
+ set orderType(orderType: string | undefined);
24
+ get orderType(): string | undefined;
24
25
  withTag(tag: string): ListRepositoryTagsRequest;
26
+ withFilter(filter: string): ListRepositoryTagsRequest;
25
27
  }
26
28
  /**
27
29
  * @export
@@ -31,11 +33,3 @@ export declare enum ListRepositoryTagsRequestContentTypeEnum {
31
33
  APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
32
34
  APPLICATION_JSON = "application/json"
33
35
  }
34
- /**
35
- * @export
36
- * @enum {string}
37
- */
38
- export declare enum ListRepositoryTagsRequestOrderTypeEnum {
39
- DESC = "desc",
40
- ASC = "asc"
41
- }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListRepositoryTagsRequestOrderTypeEnum = exports.ListRepositoryTagsRequestContentTypeEnum = exports.ListRepositoryTagsRequest = void 0;
3
+ exports.ListRepositoryTagsRequestContentTypeEnum = exports.ListRepositoryTagsRequest = void 0;
4
4
  var ListRepositoryTagsRequest = /** @class */ (function () {
5
5
  function ListRepositoryTagsRequest(contentType, namespace, repository) {
6
6
  this['Content-Type'] = contentType;
@@ -29,14 +29,14 @@ var ListRepositoryTagsRequest = /** @class */ (function () {
29
29
  this['repository'] = repository;
30
30
  return this;
31
31
  };
32
- ListRepositoryTagsRequest.prototype.withOffset = function (offset) {
33
- this['offset'] = offset;
34
- return this;
35
- };
36
32
  ListRepositoryTagsRequest.prototype.withLimit = function (limit) {
37
33
  this['limit'] = limit;
38
34
  return this;
39
35
  };
36
+ ListRepositoryTagsRequest.prototype.withOffset = function (offset) {
37
+ this['offset'] = offset;
38
+ return this;
39
+ };
40
40
  ListRepositoryTagsRequest.prototype.withOrderColumn = function (orderColumn) {
41
41
  this['order_column'] = orderColumn;
42
42
  return this;
@@ -69,6 +69,10 @@ var ListRepositoryTagsRequest = /** @class */ (function () {
69
69
  this['tag'] = tag;
70
70
  return this;
71
71
  };
72
+ ListRepositoryTagsRequest.prototype.withFilter = function (filter) {
73
+ this['filter'] = filter;
74
+ return this;
75
+ };
72
76
  return ListRepositoryTagsRequest;
73
77
  }());
74
78
  exports.ListRepositoryTagsRequest = ListRepositoryTagsRequest;
@@ -81,12 +85,3 @@ var ListRepositoryTagsRequestContentTypeEnum;
81
85
  ListRepositoryTagsRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
82
86
  ListRepositoryTagsRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
83
87
  })(ListRepositoryTagsRequestContentTypeEnum = exports.ListRepositoryTagsRequestContentTypeEnum || (exports.ListRepositoryTagsRequestContentTypeEnum = {}));
84
- /**
85
- * @export
86
- * @enum {string}
87
- */
88
- var ListRepositoryTagsRequestOrderTypeEnum;
89
- (function (ListRepositoryTagsRequestOrderTypeEnum) {
90
- ListRepositoryTagsRequestOrderTypeEnum["DESC"] = "desc";
91
- ListRepositoryTagsRequestOrderTypeEnum["ASC"] = "asc";
92
- })(ListRepositoryTagsRequestOrderTypeEnum = exports.ListRepositoryTagsRequestOrderTypeEnum || (exports.ListRepositoryTagsRequestOrderTypeEnum = {}));
@@ -2,6 +2,10 @@ import { ShowReposTagResp } from './ShowReposTagResp';
2
2
  import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
3
  export declare class ListRepositoryTagsResponse extends SdkResponse {
4
4
  body?: Array<ShowReposTagResp>;
5
+ private 'Content-Range'?;
5
6
  constructor();
6
7
  withBody(body: Array<ShowReposTagResp>): ListRepositoryTagsResponse;
8
+ withContentRange(contentRange: string): ListRepositoryTagsResponse;
9
+ set contentRange(contentRange: string | undefined);
10
+ get contentRange(): string | undefined;
7
11
  }
@@ -26,6 +26,20 @@ var ListRepositoryTagsResponse = /** @class */ (function (_super) {
26
26
  this['body'] = body;
27
27
  return this;
28
28
  };
29
+ ListRepositoryTagsResponse.prototype.withContentRange = function (contentRange) {
30
+ this['Content-Range'] = contentRange;
31
+ return this;
32
+ };
33
+ Object.defineProperty(ListRepositoryTagsResponse.prototype, "contentRange", {
34
+ get: function () {
35
+ return this['Content-Range'];
36
+ },
37
+ set: function (contentRange) {
38
+ this['Content-Range'] = contentRange;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
29
43
  return ListRepositoryTagsResponse;
30
44
  }(SdkResponse_1.SdkResponse));
31
45
  exports.ListRepositoryTagsResponse = ListRepositoryTagsResponse;
@@ -2,16 +2,14 @@ export declare class ListRetentionHistoriesRequest {
2
2
  private 'Content-Type';
3
3
  namespace: string;
4
4
  repository: string;
5
- offset?: string;
6
- limit?: string;
5
+ filter?: string;
7
6
  constructor(contentType?: any, namespace?: any, repository?: any);
8
7
  withContentType(contentType: ListRetentionHistoriesRequestContentTypeEnum): ListRetentionHistoriesRequest;
9
8
  set contentType(contentType: ListRetentionHistoriesRequestContentTypeEnum | undefined);
10
9
  get contentType(): ListRetentionHistoriesRequestContentTypeEnum | undefined;
11
10
  withNamespace(namespace: string): ListRetentionHistoriesRequest;
12
11
  withRepository(repository: string): ListRetentionHistoriesRequest;
13
- withOffset(offset: string): ListRetentionHistoriesRequest;
14
- withLimit(limit: string): ListRetentionHistoriesRequest;
12
+ withFilter(filter: string): ListRetentionHistoriesRequest;
15
13
  }
16
14
  /**
17
15
  * @export
@@ -29,12 +29,8 @@ var ListRetentionHistoriesRequest = /** @class */ (function () {
29
29
  this['repository'] = repository;
30
30
  return this;
31
31
  };
32
- ListRetentionHistoriesRequest.prototype.withOffset = function (offset) {
33
- this['offset'] = offset;
34
- return this;
35
- };
36
- ListRetentionHistoriesRequest.prototype.withLimit = function (limit) {
37
- this['limit'] = limit;
32
+ ListRetentionHistoriesRequest.prototype.withFilter = function (filter) {
33
+ this['filter'] = filter;
38
34
  return this;
39
35
  };
40
36
  return ListRetentionHistoriesRequest;
@@ -1,10 +1,28 @@
1
1
  export declare class ListSharedReposDetailsRequest {
2
2
  private 'Content-Type';
3
+ namespace?: string;
4
+ name?: string;
5
+ center?: string;
6
+ limit?: string;
7
+ offset?: string;
8
+ private 'order_column'?;
9
+ private 'order_type'?;
3
10
  filter?: string;
4
11
  constructor(contentType?: any);
5
12
  withContentType(contentType: ListSharedReposDetailsRequestContentTypeEnum): ListSharedReposDetailsRequest;
6
13
  set contentType(contentType: ListSharedReposDetailsRequestContentTypeEnum | undefined);
7
14
  get contentType(): ListSharedReposDetailsRequestContentTypeEnum | undefined;
15
+ withNamespace(namespace: string): ListSharedReposDetailsRequest;
16
+ withName(name: string): ListSharedReposDetailsRequest;
17
+ withCenter(center: string): ListSharedReposDetailsRequest;
18
+ withLimit(limit: string): ListSharedReposDetailsRequest;
19
+ withOffset(offset: string): ListSharedReposDetailsRequest;
20
+ withOrderColumn(orderColumn: string): ListSharedReposDetailsRequest;
21
+ set orderColumn(orderColumn: string | undefined);
22
+ get orderColumn(): string | undefined;
23
+ withOrderType(orderType: string): ListSharedReposDetailsRequest;
24
+ set orderType(orderType: string | undefined);
25
+ get orderType(): string | undefined;
8
26
  withFilter(filter: string): ListSharedReposDetailsRequest;
9
27
  }
10
28
  /**
@@ -19,6 +19,54 @@ var ListSharedReposDetailsRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ ListSharedReposDetailsRequest.prototype.withNamespace = function (namespace) {
23
+ this['namespace'] = namespace;
24
+ return this;
25
+ };
26
+ ListSharedReposDetailsRequest.prototype.withName = function (name) {
27
+ this['name'] = name;
28
+ return this;
29
+ };
30
+ ListSharedReposDetailsRequest.prototype.withCenter = function (center) {
31
+ this['center'] = center;
32
+ return this;
33
+ };
34
+ ListSharedReposDetailsRequest.prototype.withLimit = function (limit) {
35
+ this['limit'] = limit;
36
+ return this;
37
+ };
38
+ ListSharedReposDetailsRequest.prototype.withOffset = function (offset) {
39
+ this['offset'] = offset;
40
+ return this;
41
+ };
42
+ ListSharedReposDetailsRequest.prototype.withOrderColumn = function (orderColumn) {
43
+ this['order_column'] = orderColumn;
44
+ return this;
45
+ };
46
+ Object.defineProperty(ListSharedReposDetailsRequest.prototype, "orderColumn", {
47
+ get: function () {
48
+ return this['order_column'];
49
+ },
50
+ set: function (orderColumn) {
51
+ this['order_column'] = orderColumn;
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ ListSharedReposDetailsRequest.prototype.withOrderType = function (orderType) {
57
+ this['order_type'] = orderType;
58
+ return this;
59
+ };
60
+ Object.defineProperty(ListSharedReposDetailsRequest.prototype, "orderType", {
61
+ get: function () {
62
+ return this['order_type'];
63
+ },
64
+ set: function (orderType) {
65
+ this['order_type'] = orderType;
66
+ },
67
+ enumerable: false,
68
+ configurable: true
69
+ });
22
70
  ListSharedReposDetailsRequest.prototype.withFilter = function (filter) {
23
71
  this['filter'] = filter;
24
72
  return this;
@@ -2,6 +2,10 @@ import { SyncJob } from './SyncJob';
2
2
  import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
3
  export declare class ShowSyncJobResponse extends SdkResponse {
4
4
  body?: Array<SyncJob>;
5
+ private 'Content-Range'?;
5
6
  constructor();
6
7
  withBody(body: Array<SyncJob>): ShowSyncJobResponse;
8
+ withContentRange(contentRange: string): ShowSyncJobResponse;
9
+ set contentRange(contentRange: string | undefined);
10
+ get contentRange(): string | undefined;
7
11
  }
@@ -26,6 +26,20 @@ var ShowSyncJobResponse = /** @class */ (function (_super) {
26
26
  this['body'] = body;
27
27
  return this;
28
28
  };
29
+ ShowSyncJobResponse.prototype.withContentRange = function (contentRange) {
30
+ this['Content-Range'] = contentRange;
31
+ return this;
32
+ };
33
+ Object.defineProperty(ShowSyncJobResponse.prototype, "contentRange", {
34
+ get: function () {
35
+ return this['Content-Range'];
36
+ },
37
+ set: function (contentRange) {
38
+ this['Content-Range'] = contentRange;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
29
43
  return ShowSyncJobResponse;
30
44
  }(SdkResponse_1.SdkResponse));
31
45
  exports.ShowSyncJobResponse = ShowSyncJobResponse;