AZSBlockListItem Class Reference

Inherits from NSObject
Declared in AZSBlockListItem.h
AZSBlockListItem.m

Overview

Represents a block in a list of blocks. The block can be either the result of a GetBlockList operation, or the input to a PutBlockList operation.

  blockListMode

The BlockListMode for this block item. For block items that are the result of a GetBlockList operation, this indicates whether this block is committed or uncommitted. For block items that are input to PutBlockList, this indicates whether the block on the service should be pulled from the committed block list, the uncommitted block list, or whichever is most recent.

@property AZSBlockListMode blockListMode

Discussion

The BlockListMode for this block item. For block items that are the result of a GetBlockList operation, this indicates whether this block is committed or uncommitted. For block items that are input to PutBlockList, this indicates whether the block on the service should be pulled from the committed block list, the uncommitted block list, or whichever is most recent.

Declared In

AZSBlockListItem.h

  blockID

The block ID for this block. Must be base-64 encoded.

@property (copy) NSString *blockID

Discussion

The block ID for this block. Must be base-64 encoded.

Declared In

AZSBlockListItem.h

  size

The size of the block. Only relevant for a GetBlockList operation.

@property NSInteger size

Discussion

The size of the block. Only relevant for a GetBlockList operation.

Declared In

AZSBlockListItem.h

– initWithBlockID:blockListMode:

Initializes a newly allocated AZSBlockListItem object.

- (instancetype)initWithBlockID:(NSString *)blockID blockListMode:(AZSBlockListMode)blockListMode

Parameters

blockID

The block ID for this block.

blockListMode

The BlockListMode for this block.

Return Value

The freshly allocated object.

Discussion

Initializes a newly allocated AZSBlockListItem object.

Declared In

AZSBlockListItem.h