Skip to content

Commit

Permalink
Merge pull request #792 from Baros6647/main
Browse files Browse the repository at this point in the history
Rename PaginationToken to paginationToken
  • Loading branch information
abuzuhri authored Nov 15, 2024
2 parents a4df09e + 46d7763 commit 634b343
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public class ParameterListShipmentBase : PaginationParameter
{
public string InboundPlanId { get; set; }
public string ShipmentId { get; set; }
public string PaginationToken { get; set; }
public string paginationToken { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public async Task<List<Box>> ListShipmentBoxesAsync(ParameterListShipmentBase pa
var nextToken = response.Pagination.NextToken;
while (!string.IsNullOrEmpty(nextToken) && (!parameterListShipmentBase.maxPages.HasValue || totalPages < parameterListShipmentBase.maxPages.Value))
{
parameterListShipmentBase.PaginationToken = nextToken;
parameterListShipmentBase.paginationToken = nextToken;
var getItemNextPage = await ListShipmentBoxesByNextTokenAsync(parameterListShipmentBase, cancellationToken);
list.AddRange(getItemNextPage.Boxes);
nextToken = getItemNextPage.Pagination?.NextToken;
Expand Down Expand Up @@ -513,7 +513,7 @@ public async Task<List<ContentUpdatePreview>> ListShipmentContentUpdatePreviewsA
var nextToken = response.Pagination.NextToken;
while (!string.IsNullOrEmpty(nextToken) && (!parameterListShipmentBase.maxPages.HasValue || totalPages < parameterListShipmentBase.maxPages.Value))
{
parameterListShipmentBase.PaginationToken = nextToken;
parameterListShipmentBase.paginationToken = nextToken;
var getItemNextPage = await ListShipmentContentUpdatePreviewsByNextTokenAsync(parameterListShipmentBase, cancellationToken);
list.AddRange(getItemNextPage.ContentUpdatePreviews);
nextToken = getItemNextPage.Pagination?.NextToken;
Expand Down Expand Up @@ -596,7 +596,7 @@ public async Task<List<DeliveryWindowOption>> ListDeliveryWindowOptionsAsync(Par
var nextToken = response.Pagination.NextToken;
while (!string.IsNullOrEmpty(nextToken) && (!parameterListShipmentBase.maxPages.HasValue || totalPages < parameterListShipmentBase.maxPages.Value))
{
parameterListShipmentBase.PaginationToken = nextToken;
parameterListShipmentBase.paginationToken = nextToken;
var getItemNextPage = await ListDeliveryWindowOptionsByNextTokenAsync(parameterListShipmentBase, cancellationToken);
list.AddRange(getItemNextPage.DeliveryWindowOptions);
nextToken = getItemNextPage.Pagination?.NextToken;
Expand Down Expand Up @@ -646,7 +646,7 @@ public async Task<List<Item>> ListShipmentItemsAsync(ParameterListShipmentBase p
var nextToken = response.Pagination.NextToken;
while (!string.IsNullOrEmpty(nextToken) && (!parameterListShipmentBase.maxPages.HasValue || totalPages < parameterListShipmentBase.maxPages.Value))
{
parameterListShipmentBase.PaginationToken = nextToken;
parameterListShipmentBase.paginationToken = nextToken;
var getItemNextPage = await ListShipmentItemsByNextTokenAsync(parameterListShipmentBase, cancellationToken);
list.AddRange(getItemNextPage.Items);
nextToken = getItemNextPage.Pagination?.NextToken;
Expand Down Expand Up @@ -700,7 +700,7 @@ public async Task<List<Pallet>> ListShipmentPalletsAsync(ParameterListShipmentBa
var nextToken = response.Pagination.NextToken;
while (!string.IsNullOrEmpty(nextToken) && (!parameterListShipmentBase.maxPages.HasValue || totalPages < parameterListShipmentBase.maxPages.Value))
{
parameterListShipmentBase.PaginationToken = nextToken;
parameterListShipmentBase.paginationToken = nextToken;
var getItemNextPage = await ListShipmentPalletsByNextTokenAsync(parameterListShipmentBase, cancellationToken);
list.AddRange(getItemNextPage.Pallets);
nextToken = getItemNextPage.Pagination?.NextToken;
Expand Down Expand Up @@ -751,7 +751,7 @@ public async Task<List<SelfShipAppointmentSlotsAvailability>> GetSelfShipAppoint
var nextToken = response.Pagination.NextToken;
while (!string.IsNullOrEmpty(nextToken) && (!parameterListShipmentBase.maxPages.HasValue || totalPages < parameterListShipmentBase.maxPages.Value))
{
parameterListShipmentBase.PaginationToken = nextToken;
parameterListShipmentBase.paginationToken = nextToken;
var getItemNextPage = await GetSelfShipAppointmentSlotsByNextTokenAsync(parameterListShipmentBase, cancellationToken);
list.Add(getItemNextPage.SelfShipAppointmentSlotsAvailability);
nextToken = getItemNextPage.Pagination?.NextToken;
Expand Down

0 comments on commit 634b343

Please sign in to comment.