OBSGetObjectResponse Class Reference

Inherits from OBSCORSResponse : OBSServiceResponse : OBSBaseResponse : OBSAbstractModel : OBSMTLModel
Declared in OBSGetObjectModel.h
OBSGetObjectModel.m

Overview

Response to an object download request

  etag

Object ETag

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

Declared In

OBSGetObjectModel.h

  expiration

If the object is configured with expiration time, the expiration time will be returned.

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

Declared In

OBSGetObjectModel.h

  lastModified

Last modification time of the object

@property (nonatomic, strong, nonnull) NSDate *lastModified

Declared In

OBSGetObjectModel.h

  websiteRedirectLocation

Redirected-to location. If the bucket is configured with website hosting, this property can be set so that the request will be redirected to another object in the same bucket or an external URL specified by this property.

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

Declared In

OBSGetObjectModel.h

  deleteMarker

Whether the object is a delete marker

@property (nonatomic, assign) BOOL deleteMarker

Declared In

OBSGetObjectModel.h

  versionID

Object version ID, which will be returned only when a version ID is specified in the request

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

Declared In

OBSGetObjectModel.h

  encryption

Encryption mode

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

Declared In

OBSGetObjectModel.h

  storageClass

Object storage class

@property (nonatomic, assign) OBSStorageClass storageClass

Declared In

OBSGetObjectModel.h

  metaDataDict

Customized metadata of the object

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

Declared In

OBSGetObjectModel.h

  objectData

Object data

@property (nonatomic, strong, nonnull) NSData *objectData

Declared In

OBSGetObjectModel.h