From a5589ac995fc80b2bdb6c981287767fcfb05b196 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 29 Oct 2020 04:59:25 +0000 Subject: [PATCH] Generated from b98a6cbb209b727e289eb904cc52dd4c9175ec47 --- .../databox/mgmt/2018-01-01/databox/models.go | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/services/databox/mgmt/2018-01-01/databox/models.go b/services/databox/mgmt/2018-01-01/databox/models.go index 83af43bce091..1e99d7725e77 100644 --- a/services/databox/mgmt/2018-01-01/databox/models.go +++ b/services/databox/mgmt/2018-01-01/databox/models.go @@ -322,8 +322,11 @@ func (page AvailableSkusResultPage) Values() []SkuInformation { } // Creates a new instance of the AvailableSkusResultPage type. -func NewAvailableSkusResultPage(getNextPage func(context.Context, AvailableSkusResult) (AvailableSkusResult, error)) AvailableSkusResultPage { - return AvailableSkusResultPage{fn: getNextPage} +func NewAvailableSkusResultPage(cur AvailableSkusResult, getNextPage func(context.Context, AvailableSkusResult) (AvailableSkusResult, error)) AvailableSkusResultPage { + return AvailableSkusResultPage{ + fn: getNextPage, + asr: cur, + } } // CancellationReason reason for cancellation. @@ -2233,8 +2236,11 @@ func (page JobResourceListPage) Values() []JobResource { } // Creates a new instance of the JobResourceListPage type. -func NewJobResourceListPage(getNextPage func(context.Context, JobResourceList) (JobResourceList, error)) JobResourceListPage { - return JobResourceListPage{fn: getNextPage} +func NewJobResourceListPage(cur JobResourceList, getNextPage func(context.Context, JobResourceList) (JobResourceList, error)) JobResourceListPage { + return JobResourceListPage{ + fn: getNextPage, + jrl: cur, + } } // JobResourceUpdateParameter the JobResourceUpdateParameter. @@ -2717,8 +2723,11 @@ func (page OperationListPage) Values() []Operation { } // Creates a new instance of the OperationListPage type. -func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage { - return OperationListPage{fn: getNextPage} +func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage { + return OperationListPage{ + fn: getNextPage, + ol: cur, + } } // PackageShippingDetails shipping details.