diff --git a/services/preview/billing/mgmt/2018-03-01-preview/billing/enrollmentaccounts.go b/services/preview/billing/mgmt/2018-03-01-preview/billing/enrollmentaccounts.go index 97ee7dd6f2b1..6f67cced2a54 100644 --- a/services/preview/billing/mgmt/2018-03-01-preview/billing/enrollmentaccounts.go +++ b/services/preview/billing/mgmt/2018-03-01-preview/billing/enrollmentaccounts.go @@ -107,7 +107,6 @@ func (client EnrollmentAccountsClient) GetSender(req *http.Request) (*http.Respo func (client EnrollmentAccountsClient) GetResponder(resp *http.Response) (result EnrollmentAccount, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -175,7 +174,6 @@ func (client EnrollmentAccountsClient) ListSender(req *http.Request) (*http.Resp func (client EnrollmentAccountsClient) ListResponder(resp *http.Response) (result EnrollmentAccountListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/billing/mgmt/2018-03-01-preview/billing/invoices.go b/services/preview/billing/mgmt/2018-03-01-preview/billing/invoices.go index 2adb22942bef..6d6da391c114 100644 --- a/services/preview/billing/mgmt/2018-03-01-preview/billing/invoices.go +++ b/services/preview/billing/mgmt/2018-03-01-preview/billing/invoices.go @@ -110,7 +110,6 @@ func (client InvoicesClient) GetSender(req *http.Request) (*http.Response, error func (client InvoicesClient) GetResponder(resp *http.Response) (result Invoice, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -183,7 +182,6 @@ func (client InvoicesClient) GetLatestSender(req *http.Request) (*http.Response, func (client InvoicesClient) GetLatestResponder(resp *http.Response) (result Invoice, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -289,7 +287,6 @@ func (client InvoicesClient) ListSender(req *http.Request) (*http.Response, erro func (client InvoicesClient) ListResponder(resp *http.Response) (result InvoicesListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/billing/mgmt/2018-03-01-preview/billing/operations.go b/services/preview/billing/mgmt/2018-03-01-preview/billing/operations.go index 7aba92ea4342..6e9b1902dcf9 100644 --- a/services/preview/billing/mgmt/2018-03-01-preview/billing/operations.go +++ b/services/preview/billing/mgmt/2018-03-01-preview/billing/operations.go @@ -101,7 +101,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/billing/mgmt/2018-03-01-preview/billing/periods.go b/services/preview/billing/mgmt/2018-03-01-preview/billing/periods.go index 2a8d2f0f340b..1a7870336be7 100644 --- a/services/preview/billing/mgmt/2018-03-01-preview/billing/periods.go +++ b/services/preview/billing/mgmt/2018-03-01-preview/billing/periods.go @@ -109,7 +109,6 @@ func (client PeriodsClient) GetSender(req *http.Request) (*http.Response, error) func (client PeriodsClient) GetResponder(resp *http.Response) (result Period, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -208,7 +207,6 @@ func (client PeriodsClient) ListSender(req *http.Request) (*http.Response, error func (client PeriodsClient) ListResponder(resp *http.Response) (result PeriodsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/billing/mgmt/2018-03-01-preview/billing/version.go b/services/preview/billing/mgmt/2018-03-01-preview/billing/version.go index 2f9d2bebaba6..58f4bd7b7a4e 100644 --- a/services/preview/billing/mgmt/2018-03-01-preview/billing/version.go +++ b/services/preview/billing/mgmt/2018-03-01-preview/billing/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " billing/2018-03-01-preview" + return "Azure-SDK-For-Go/" + Version() + " billing/2018-03-01-preview" } // Version returns the semantic version (see http://semver.org) of the client.