From fb12c6e9b67074f9058beefca015c77704f28ae9 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 26 Nov 2020 03:48:35 +0000 Subject: [PATCH] CodeGen from PR 11728 in Azure/azure-rest-api-specs python track2 (#11728) --- .../mgmt/2017-12-30-preview/consumption/models.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/services/preview/consumption/mgmt/2017-12-30-preview/consumption/models.go b/services/preview/consumption/mgmt/2017-12-30-preview/consumption/models.go index 44ad41934ebc..c23850a22dca 100644 --- a/services/preview/consumption/mgmt/2017-12-30-preview/consumption/models.go +++ b/services/preview/consumption/mgmt/2017-12-30-preview/consumption/models.go @@ -154,7 +154,8 @@ func (bp BudgetProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// BudgetsListResult result of listing budgets. It contains a list of available budgets in the scope provided. +// BudgetsListResult result of listing budgets. It contains a list of available budgets in the scope +// provided. type BudgetsListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The list of budgets. @@ -386,8 +387,11 @@ func (page OperationListResultPage) Values() []Operation { } // Creates a new instance of the OperationListResultPage type. -func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { - return OperationListResultPage{fn: getNextPage} +func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { + return OperationListResultPage{ + fn: getNextPage, + olr: cur, + } } // ProxyResource the Resource model definition.