GetObjectChunkId() public static method

public static GetObjectChunkId ( string objectId, int segment ) : string
objectId string
segment int
return string
コード例 #1
0
 /// <summary>
 /// Delete object chunk.
 /// Unfortunately no api support for DLO delete ([filter:dlo]).
 /// Deleting the manifest file won't delete the object segments.
 /// </summary>
 /// <param name="containerId"></param>
 /// <param name="objectId"></param>
 /// <param name="segment"></param>
 /// <returns></returns>
 public Task <SwiftResponse> DeleteObjectChunk(string containerId, string objectId, int segment)
 {
     return(DeleteObject(containerId, SwiftUrlBuilder.GetObjectChunkId(objectId, segment)));
 }
コード例 #2
0
 public Task <SwiftResponse> PutObjectChunk(string containerId, string objectId, byte[] data, int segment, Dictionary <string, string> headers = null, Dictionary <string, string> queryParams = null)
 {
     return(PutObject(containerId, SwiftUrlBuilder.GetObjectChunkId(objectId, segment), data, headers, queryParams));
 }