diff --git a/services/preview/billing/mgmt/2017-02-27-preview/billing/models.go b/services/preview/billing/mgmt/2017-02-27-preview/billing/models.go index 377c7ab46f76..93c695fd9e95 100644 --- a/services/preview/billing/mgmt/2017-02-27-preview/billing/models.go +++ b/services/preview/billing/mgmt/2017-02-27-preview/billing/models.go @@ -298,8 +298,11 @@ func (page InvoicesListResultPage) Values() []Invoice { } // Creates a new instance of the InvoicesListResultPage type. -func NewInvoicesListResultPage(getNextPage func(context.Context, InvoicesListResult) (InvoicesListResult, error)) InvoicesListResultPage { - return InvoicesListResultPage{fn: getNextPage} +func NewInvoicesListResultPage(cur InvoicesListResult, getNextPage func(context.Context, InvoicesListResult) (InvoicesListResult, error)) InvoicesListResultPage { + return InvoicesListResultPage{ + fn: getNextPage, + ilr: cur, + } } // Operation a Billing REST API operation @@ -329,8 +332,8 @@ type OperationDisplay struct { Operation *string `json:"operation,omitempty"` } -// OperationListResult result of the request to list billing operations. It contains a list of operations and a -// URL link to get the next set of results. +// OperationListResult result of the request to list billing operations. It contains a list of operations +// and a URL link to get the next set of results. type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of billing operations supported by the Microsoft.Billing resource provider. @@ -482,8 +485,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, + } } // Resource the Resource model definition.