1111
1212namespace Azure . Storage . DataMovement . Blobs
1313{
14- internal class BlobDestinationCheckpointData : StorageResourceCheckpointData
14+ internal class BlobDestinationCheckpointDetails : StorageResourceCheckpointDetails
1515 {
1616 public int Version ;
1717
@@ -66,7 +66,7 @@ internal class BlobDestinationCheckpointData : StorageResourceCheckpointData
6666
6767 public override int Length => CalculateLength ( ) ;
6868
69- public BlobDestinationCheckpointData (
69+ public BlobDestinationCheckpointDetails (
7070 DataTransferProperty < BlobType ? > blobType ,
7171 DataTransferProperty < string > contentType ,
7272 DataTransferProperty < string > contentEncoding ,
@@ -77,7 +77,7 @@ public BlobDestinationCheckpointData(
7777 DataTransferProperty < Metadata > metadata ,
7878 DataTransferProperty < Tags > tags )
7979 {
80- Version = DataMovementBlobConstants . DestinationCheckpointData . SchemaVersion ;
80+ Version = DataMovementBlobConstants . DestinationCheckpointDetails . SchemaVersion ;
8181 BlobType = blobType ;
8282 PreserveBlobType = blobType ? . Preserve ?? true ;
8383 BlobTypeValue = blobType ? . Value != default ? blobType . Value : default ;
@@ -117,7 +117,7 @@ protected override void Serialize(Stream stream)
117117 {
118118 Argument . AssertNotNull ( stream , nameof ( stream ) ) ;
119119
120- int currentVariableLengthIndex = DataMovementBlobConstants . DestinationCheckpointData . VariableLengthStartIndex ;
120+ int currentVariableLengthIndex = DataMovementBlobConstants . DestinationCheckpointDetails . VariableLengthStartIndex ;
121121 BinaryWriter writer = new BinaryWriter ( stream ) ;
122122
123123 // Version
@@ -258,15 +258,15 @@ protected override void Serialize(Stream stream)
258258 }
259259 }
260260
261- internal static BlobDestinationCheckpointData Deserialize ( Stream stream )
261+ internal static BlobDestinationCheckpointDetails Deserialize ( Stream stream )
262262 {
263263 Argument . AssertNotNull ( stream , nameof ( stream ) ) ;
264264
265265 BinaryReader reader = new BinaryReader ( stream ) ;
266266
267267 // Version
268268 int version = reader . ReadInt32 ( ) ;
269- if ( version != DataMovementBlobConstants . DestinationCheckpointData . SchemaVersion )
269+ if ( version != DataMovementBlobConstants . DestinationCheckpointDetails . SchemaVersion )
270270 {
271271 throw Errors . UnsupportedJobSchemaVersionHeader ( version ) ;
272272 }
@@ -376,7 +376,7 @@ internal static BlobDestinationCheckpointData Deserialize(Stream stream)
376376 tagsString = reader . ReadBytes ( tagsLength ) . AsString ( ) ;
377377 }
378378
379- return new BlobDestinationCheckpointData (
379+ return new BlobDestinationCheckpointDetails (
380380 blobType : preserveBlobType ? new ( preserveBlobType ) : new ( blobType ) ,
381381 contentType : preserveContentType ? new ( preserveContentType ) : new ( contentType ) ,
382382 contentEncoding : preserveContentEncoding ? new ( preserveContentEncoding ) : new ( contentEncoding ) ,
@@ -392,7 +392,7 @@ private int CalculateLength()
392392 {
393393 // Length is calculated based on whether the property is preserved.
394394 // If the property is preserved, the property's length is added to the total length.
395- int length = DataMovementBlobConstants . DestinationCheckpointData . VariableLengthStartIndex ;
395+ int length = DataMovementBlobConstants . DestinationCheckpointDetails . VariableLengthStartIndex ;
396396 if ( ! PreserveContentType )
397397 {
398398 length += ContentTypeBytes . Length ;
0 commit comments