OBSAbstractAppendObjectRequest Class Reference

Inherits from OBSBaseRequest : OBSAbstractModel : OBSMTLModel
Conforms to OBSAppendObjectProtocol
Declared in OBSAppendObjectModel.h
OBSAppendObjectModel.m

Overview

Parent class of the object upload request

  bucketName

Bucket name

@property (nonatomic, strong, nonnull) NSString *bucketName

Declared In

OBSAppendObjectModel.h

  objectKey

Object name

@property (nonatomic, strong, nonnull) NSString *objectKey

Declared In

OBSAppendObjectModel.h

  contentMD5

MD5 value of the object

@property (nonatomic, strong, nonnull) NSString *contentMD5

Declared In

OBSAppendObjectModel.h

  objectACLPolicy

Object ACL

@property (nonatomic, assign) OBSACLPolicy objectACLPolicy

Declared In

OBSAppendObjectModel.h

  storageClass

Object storage class

@property (nonatomic, assign) OBSStorageClass storageClass

Declared In

OBSAppendObjectModel.h

  metaDataDict

Object metadata dictionary

@property (nonatomic, strong, nullable) NSDictionary *metaDataDict

Declared In

OBSAppendObjectModel.h

  websiteRedirectLocation

Redirection address of the object

@property (nonatomic, strong, nonnull) NSString *websiteRedirectLocation

Declared In

OBSAppendObjectModel.h

  granteRead

When creating an object, you can use this header to authorize all users in the given domain the permission to read objects and obtain object metadata.

@property (nonatomic, strong, nonnull) NSString *granteRead

Declared In

OBSAppendObjectModel.h

  granteReadAcp

When creating an object, you can use this header to authorize all users in the given domain the permission to read objects and obtain object metadata.

@property (nonatomic, strong, nonnull) NSString *granteReadAcp

Declared In

OBSAppendObjectModel.h

  granteWriteAcp

When creating an object, you can use this header to authorize all users in the given domain the permission to write the object ACL.

@property (nonatomic, strong, nonnull) NSString *granteWriteAcp

Declared In

OBSAppendObjectModel.h

  granteFullControl

When creating an object, you can use this header to authorize all users in the given domain the permission to read objects, obtain object metadata, obtain the object ACL, and write the object ACL.

@property (nonatomic, strong, nonnull) NSString *granteFullControl

Declared In

OBSAppendObjectModel.h

  actionRedirect

The parameter value is a URL to which a successfully responded request is redirected.

@property (nonatomic, strong, nonnull) NSString *actionRedirect

Discussion

If the value is valid and the request is successful, status code “303” will be returned and the “location” header contains the bucket name, object name, and object ETag.

If the value is invalid, this parameter is ineffective, status code “204” will be returned, and the “location” header specifies the object address.

Declared In

OBSAppendObjectModel.h

  expires

Expiration time of an uploaded object, in days

@property (nonatomic, strong, nonnull) NSNumber *expires

Declared In

OBSAppendObjectModel.h

  position

Start position for next appending

@property (nonatomic, strong, nonnull) NSNumber *position

Declared In

OBSAppendObjectModel.h

  encryption

Encryption mode

@property (nonatomic, strong, nonnull) __kindof OBSAbstractEncryption *encryption

Declared In

OBSAppendObjectModel.h

  uploadProgressBlock

Callback function for uploading an object

@property (nonatomic, copy, nonnull) OBSNetworkingUploadProgressBlock uploadProgressBlock

Declared In

OBSAppendObjectModel.h