Click or drag to resize
CopyObjectRequest Class
指定拷贝Object的请求参数
Inheritance Hierarchy
SystemObject
  Aliyun.OpenServices.OpenStorageServiceCopyObjectRequest

Namespace: Aliyun.OpenServices.OpenStorageService
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 1.0.5492.31618
Syntax
public class CopyObjectRequest

The CopyObjectRequest type exposes the following members.

Constructors
  NameDescription
Public methodCopyObjectRequest
构造一个新的CopyObjectRequest 实例
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDestinationBucketName
获取或者设置目标Object所在的Bucket的名称。
Public propertyDestinationKey
获取或者设置目标Object的Key。
Public propertyMatchingETagConstraints
如果源Object的ETAG值和用户提供的ETAG相等,则执行拷贝操作;否则返回412 HTTP错误码(预处理失败)。
Public propertyModifiedSinceConstraint
如果源Object自从用户指定的时间以后被修改过,则执行拷贝操作; 否则返回412 HTTP错误码(预处理失败)。
Public propertyNewObjectMetaData
获取或者设置目标Object的Metadata信息。
Public propertyNonmatchingETagConstraints
如果源Object的ETAG值和用户提供的ETAG不相等,则执行拷贝操作;否则返回412 HTTP错误码(预处理失败)。
Public propertySourceBucketName
获取或者设置源Object所在的Bucket的名称。
Public propertySourceKey
获取或者设置源Object的Key。
Public propertyUnmodifiedSinceConstraint
如果传入参数中的时间等于或者晚于文件实际修改时间,则正常传输文件,并返回200 OK; 否则返回412 precondition failed错误
Top
See Also