CompleteMultipartUploadResult class

完成分片上传操作的响应结果模型

该类表示调用 CompleteMultipartUpload 操作成功后阿里云OSS返回的结果。 它包含了已完成上传的文件的各种元数据信息,如存储空间、文件路径、访问 URL 等。

该类主要用于解析阿里云OSS返回的XML格式响应,并提供了便捷的访问方式。 它包含了从 XML 字符串创建实例的工厂方法,以及用于调试的字符串表示。

Constructors

CompleteMultipartUploadResult.new({String? encodingType, required String location, required String bucket, required String key, required String eTag})
构造函数
const
CompleteMultipartUploadResult.fromXmlString(String xmlString)
从 XML 字符串解析结果
factory

Properties

bucket String
存储空间名称
final
encodingType String?
编码类型
final
eTag String
文件的 ETag 值
final
hashCode int
The hash code for this object.
no setterinherited
key String
文件键值(路径)
final
location String
文件的访问 URL
final
publicUrl String
获取文件的公共URL
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
返回实例的字符串表示
override

Operators

operator ==(Object other) bool
The equality operator.
inherited