Remove PreviousContinuationToken (#1490)
This commit is contained in:
parent
ecbead7761
commit
d1f6d13d1f
@ -31,6 +31,7 @@
|
||||
- Removed unused type `AccountResourceType` and `PathLeaseAction`.
|
||||
- Changed all previous `LeaseDuration` members to a new type named `LeaseDurationType`.
|
||||
- `startsOn` parameter for `GetUserDelegationKey` was changed to optional.
|
||||
- Removed `PreviousContinuationToken` from `ListFileSystemsSinglePageResult`.
|
||||
|
||||
### Other Changes and Improvements
|
||||
|
||||
|
||||
@ -37,7 +37,6 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { nam
|
||||
std::string RequestId;
|
||||
std::string ServiceEndpoint;
|
||||
std::string Prefix;
|
||||
Azure::Core::Nullable<std::string> PreviousContinuationToken;
|
||||
Azure::Core::Nullable<std::string> ContinuationToken;
|
||||
std::vector<FileSystemItem> Items;
|
||||
}; // struct ListFileSystemsSinglePageResult
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
- Added `ShareLeaseClient`, all lease related APIs are moved to `ShareLeaseClient`.
|
||||
- Changed lease duration to be `std::chrono::seconds`.
|
||||
- Added `RequestId` in each return types for REST API calls, except for concurrent APIs.
|
||||
- Removed `PreviousContinuationToken` from `ListFilesAndDirectoriesSinglePageResult` and `ListSharesSinglePageResult`.
|
||||
- Removed `c_` for constants: `c_FileDefaultTimeValue`, `c_FileCopySourceTime`, `c_FileInheritPermission`, `FilePreserveSmbProperties` and `FileAllHandles`.
|
||||
|
||||
### Other Changes and Improvements
|
||||
|
||||
@ -566,7 +566,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
std::string ShareSnapshot;
|
||||
std::string DirectoryPath;
|
||||
std::string Prefix;
|
||||
std::string PreviousContinuationToken;
|
||||
int32_t PageSizeHint = int32_t();
|
||||
FilesAndDirectoriesListSinglePage SinglePage;
|
||||
std::string ContinuationToken;
|
||||
@ -584,7 +583,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
{
|
||||
std::string ServiceEndpoint;
|
||||
std::string Prefix;
|
||||
std::string PreviousContinuationToken;
|
||||
int32_t PageSizeHint = int32_t();
|
||||
std::vector<ShareItem> Items;
|
||||
std::string ContinuationToken;
|
||||
@ -608,7 +606,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
{
|
||||
std::string ServiceEndpoint;
|
||||
std::string Prefix;
|
||||
std::string PreviousContinuationToken;
|
||||
int32_t PageSizeHint = int32_t();
|
||||
std::vector<ShareItem> Items;
|
||||
std::string ContinuationToken;
|
||||
@ -816,7 +813,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
std::string ShareSnapshot;
|
||||
std::string DirectoryPath;
|
||||
std::string Prefix;
|
||||
std::string PreviousContinuationToken;
|
||||
int32_t PageSizeHint = int32_t();
|
||||
FilesAndDirectoriesListSinglePage SinglePage;
|
||||
std::string ContinuationToken;
|
||||
@ -2375,7 +2371,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
enum class XmlTagName
|
||||
{
|
||||
EnumerationResults,
|
||||
Marker,
|
||||
MaxResults,
|
||||
NextMarker,
|
||||
Prefix,
|
||||
@ -2410,10 +2405,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
{
|
||||
path.emplace_back(XmlTagName::EnumerationResults);
|
||||
}
|
||||
else if (std::strcmp(node.Name, "Marker") == 0)
|
||||
{
|
||||
path.emplace_back(XmlTagName::Marker);
|
||||
}
|
||||
else if (std::strcmp(node.Name, "MaxResults") == 0)
|
||||
{
|
||||
path.emplace_back(XmlTagName::MaxResults);
|
||||
@ -2464,12 +2455,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
{
|
||||
result.Prefix = node.Value;
|
||||
}
|
||||
else if (
|
||||
path.size() == 2 && path[0] == XmlTagName::EnumerationResults
|
||||
&& path[1] == XmlTagName::Marker)
|
||||
{
|
||||
result.PreviousContinuationToken = node.Value;
|
||||
}
|
||||
}
|
||||
else if (node.Type == Storage::Details::XmlNodeType::Attribute)
|
||||
{
|
||||
@ -2489,7 +2474,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
ServiceListSharesSinglePageResult result;
|
||||
result.ServiceEndpoint = std::move(object.ServiceEndpoint);
|
||||
result.Prefix = std::move(object.Prefix);
|
||||
result.PreviousContinuationToken = std::move(object.PreviousContinuationToken);
|
||||
result.PageSizeHint = object.PageSizeHint;
|
||||
result.Items = std::move(object.Items);
|
||||
result.ContinuationToken = std::move(object.ContinuationToken);
|
||||
@ -4781,7 +4765,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
{
|
||||
Entries,
|
||||
EnumerationResults,
|
||||
Marker,
|
||||
MaxResults,
|
||||
NextMarker,
|
||||
Prefix,
|
||||
@ -4818,10 +4801,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
{
|
||||
path.emplace_back(XmlTagName::EnumerationResults);
|
||||
}
|
||||
else if (std::strcmp(node.Name, "Marker") == 0)
|
||||
{
|
||||
path.emplace_back(XmlTagName::Marker);
|
||||
}
|
||||
else if (std::strcmp(node.Name, "MaxResults") == 0)
|
||||
{
|
||||
path.emplace_back(XmlTagName::MaxResults);
|
||||
@ -4865,12 +4844,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
{
|
||||
result.Prefix = node.Value;
|
||||
}
|
||||
else if (
|
||||
path.size() == 2 && path[0] == XmlTagName::EnumerationResults
|
||||
&& path[1] == XmlTagName::Marker)
|
||||
{
|
||||
result.PreviousContinuationToken = node.Value;
|
||||
}
|
||||
}
|
||||
else if (node.Type == Storage::Details::XmlNodeType::Attribute)
|
||||
{
|
||||
@ -4912,7 +4885,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
result.ShareSnapshot = std::move(object.ShareSnapshot);
|
||||
result.DirectoryPath = std::move(object.DirectoryPath);
|
||||
result.Prefix = std::move(object.Prefix);
|
||||
result.PreviousContinuationToken = std::move(object.PreviousContinuationToken);
|
||||
result.PageSizeHint = object.PageSizeHint;
|
||||
result.SinglePage = std::move(object.SinglePage);
|
||||
result.ContinuationToken = std::move(object.ContinuationToken);
|
||||
|
||||
@ -83,7 +83,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { names
|
||||
std::string ShareSnapshot;
|
||||
std::string DirectoryPath;
|
||||
std::string Prefix;
|
||||
std::string PreviousContinuationToken;
|
||||
int32_t PageSizeHint = int32_t();
|
||||
std::string ContinuationToken;
|
||||
std::vector<DirectoryItem> DirectoryItems;
|
||||
|
||||
@ -285,7 +285,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
ret.ShareSnapshot = std::move(result->ShareSnapshot);
|
||||
ret.DirectoryPath = std::move(result->DirectoryPath);
|
||||
ret.Prefix = std::move(result->Prefix);
|
||||
ret.PreviousContinuationToken = std::move(result->PreviousContinuationToken);
|
||||
ret.PageSizeHint = result->PageSizeHint;
|
||||
ret.ContinuationToken = std::move(result->ContinuationToken);
|
||||
ret.DirectoryItems = std::move(result->SinglePage.DirectoryItems);
|
||||
|
||||
@ -320,7 +320,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
ret.ShareSnapshot = std::move(result->ShareSnapshot);
|
||||
ret.DirectoryPath = std::move(result->DirectoryPath);
|
||||
ret.Prefix = std::move(result->Prefix);
|
||||
ret.PreviousContinuationToken = std::move(result->PreviousContinuationToken);
|
||||
ret.PageSizeHint = result->PageSizeHint;
|
||||
ret.ContinuationToken = std::move(result->ContinuationToken);
|
||||
ret.DirectoryItems = std::move(result->SinglePage.DirectoryItems);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user