Skip to content

Commit 4251b30

Browse files
committed
Merge branch 'fix/ts' into 'master' (merge request !14)
fix: 优化d.ts
2 parents 99b33b2 + e156ab3 commit 4251b30

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

index.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,16 @@ declare namespace COS {
422422
}
423423
/** getBucket 接口返回值 */
424424
interface GetBucketResult extends GeneralResult {
425+
/** 存储桶的名称,格式为<BucketName-APPID>,例如examplebucket-1250000000 */
426+
Name: string;
427+
/** 对象键匹配前缀,对应请求中的 prefix 参数 */
428+
Prefix: string;
429+
/** 起始对象键标记,从该标记之后(不含)按照 UTF-8 字典序返回对象键条目,对应请求中的 marker 参数 */
430+
Marker: string;
431+
/** 单次响应返回结果的最大条目数量,对应请求中的 max-keys 参数 */
432+
MaxKeys: string;
433+
/** 编码格式,对应请求中的 encoding-type 参数,且仅当请求中指定了 encoding-type 参数才会返回该节点 */
434+
EncodingType?: string;
425435
/** 对象条目 */
426436
Contents: CosObject[];
427437
/** 从 prefix 或从头(如未指定 prefix)到首个 delimiter 之间相同的部分,定义为 Common Prefix。仅当请求中指定了 delimiter 参数才有可能返回该节点 */

0 commit comments

Comments
 (0)