Amazon.StorageGateway.Model.Internal.MarshallTransformations.DeleteSnapshotScheduleResponseUnmarshaller.UnmarshallResult C# (CSharp) Method

UnmarshallResult() private static method

private static UnmarshallResult ( JsonUnmarshallerContext context, DeleteSnapshotScheduleResponse response ) : void
context Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext
response Amazon.StorageGateway.Model.DeleteSnapshotScheduleResponse
return void
        private static void UnmarshallResult(JsonUnmarshallerContext context,DeleteSnapshotScheduleResponse response)
        {
          
            int originalDepth = context.CurrentDepth;
            int targetDepth = originalDepth + 1;
            while (context.Read())
            {
              
              if (context.TestExpression("VolumeARN", targetDepth))
              {
                context.Read();
                response.VolumeARN = StringUnmarshaller.GetInstance().Unmarshall(context);
                continue;
              }
  
                if (context.CurrentDepth <= originalDepth)
                {                   
                    return;
                }
            }
                        
            return;
        }