vendor: update all dependencies to latest versions
This commit is contained in:
Generated
Vendored
+2
@@ -1,6 +1,8 @@
|
||||
// Package face implements the Azure ARM Face service API version 1.0.
|
||||
//
|
||||
// An API for face detection, verification, and identification.
|
||||
//
|
||||
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services
|
||||
package face
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
|
||||
Generated
Vendored
+18
-6
@@ -103,7 +103,9 @@ func (client GroupClient) DetectPreparer(imageURL ImageURL, returnFaceID *bool,
|
||||
// DetectSender sends the Detect request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client GroupClient) DetectSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DetectResponder handles the response to the Detect request. The method always
|
||||
@@ -181,7 +183,9 @@ func (client GroupClient) DetectInStreamPreparer(imageParameter io.ReadCloser, r
|
||||
// DetectInStreamSender sends the DetectInStream request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client GroupClient) DetectInStreamSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DetectInStreamResponder handles the response to the DetectInStream request. The method always
|
||||
@@ -257,7 +261,9 @@ func (client GroupClient) FindSimilarPreparer(body FindSimilarRequest) (*http.Re
|
||||
// FindSimilarSender sends the FindSimilar request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client GroupClient) FindSimilarSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// FindSimilarResponder handles the response to the FindSimilar request. The method always
|
||||
@@ -323,7 +329,9 @@ func (client GroupClient) GroupPreparer(body GroupRequest) (*http.Request, error
|
||||
// GroupSender sends the Group request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client GroupClient) GroupSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GroupResponder handles the response to the Group request. The method always
|
||||
@@ -398,7 +406,9 @@ func (client GroupClient) IdentifyPreparer(body IdentifyRequest) (*http.Request,
|
||||
// IdentifySender sends the Identify request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client GroupClient) IdentifySender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// IdentifyResponder handles the response to the Identify request. The method always
|
||||
@@ -466,7 +476,9 @@ func (client GroupClient) VerifyPreparer(body VerifyRequest) (*http.Request, err
|
||||
// VerifySender sends the Verify request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client GroupClient) VerifySender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// VerifyResponder handles the response to the Verify request. The method always
|
||||
|
||||
Generated
Vendored
+24
-8
@@ -101,7 +101,9 @@ func (client ListGroupClient) AddFacePreparer(faceListID string, userData string
|
||||
// AddFaceSender sends the AddFace request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) AddFaceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// AddFaceResponder handles the response to the AddFace request. The method always
|
||||
@@ -183,7 +185,9 @@ func (client ListGroupClient) AddFaceFromStreamPreparer(faceListID string, userD
|
||||
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
|
||||
@@ -258,7 +262,9 @@ func (client ListGroupClient) CreatePreparer(faceListID string, body CreateFaceL
|
||||
// CreateSender sends the Create request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) CreateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// CreateResponder handles the response to the Create request. The method always
|
||||
@@ -327,7 +333,9 @@ func (client ListGroupClient) DeletePreparer(faceListID string) (*http.Request,
|
||||
// DeleteSender sends the Delete request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DeleteResponder handles the response to the Delete request. The method always
|
||||
@@ -397,7 +405,9 @@ func (client ListGroupClient) DeleteFacePreparer(faceListID string, persistedFac
|
||||
// DeleteFaceSender sends the DeleteFace request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
|
||||
@@ -465,7 +475,9 @@ func (client ListGroupClient) GetPreparer(faceListID string) (*http.Request, err
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -521,7 +533,9 @@ func (client ListGroupClient) ListPreparer() (*http.Request, error) {
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) ListSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// ListResponder handles the response to the List request. The method always
|
||||
@@ -592,7 +606,9 @@ func (client ListGroupClient) UpdatePreparer(faceListID string, body CreateFaceL
|
||||
// UpdateSender sends the Update request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ListGroupClient) UpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// UpdateResponder handles the response to the Update request. The method always
|
||||
|
||||
Generated
Vendored
+30
-10
@@ -96,7 +96,9 @@ func (client PersonClient) AddFacePreparer(personGroupID string, personID string
|
||||
// AddFaceSender sends the AddFace request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) AddFaceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// AddFaceResponder handles the response to the AddFace request. The method always
|
||||
@@ -173,7 +175,9 @@ func (client PersonClient) AddFaceFromStreamPreparer(personGroupID string, perso
|
||||
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
|
||||
@@ -245,7 +249,9 @@ func (client PersonClient) CreatePreparer(personGroupID string, body CreatePerso
|
||||
// CreateSender sends the Create request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) CreateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// CreateResponder handles the response to the Create request. The method always
|
||||
@@ -308,7 +314,9 @@ func (client PersonClient) DeletePreparer(personGroupID string, personID string)
|
||||
// DeleteSender sends the Delete request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DeleteResponder handles the response to the Delete request. The method always
|
||||
@@ -372,7 +380,9 @@ func (client PersonClient) DeleteFacePreparer(personGroupID string, personID str
|
||||
// DeleteFaceSender sends the DeleteFace request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
|
||||
@@ -434,7 +444,9 @@ func (client PersonClient) GetPreparer(personGroupID string, personID string) (*
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -500,7 +512,9 @@ func (client PersonClient) GetFacePreparer(personGroupID string, personID string
|
||||
// GetFaceSender sends the GetFace request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) GetFaceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetFaceResponder handles the response to the GetFace request. The method always
|
||||
@@ -563,7 +577,9 @@ func (client PersonClient) ListPreparer(personGroupID string) (*http.Request, er
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) ListSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// ListResponder handles the response to the List request. The method always
|
||||
@@ -629,7 +645,9 @@ func (client PersonClient) UpdatePreparer(personGroupID string, personID string,
|
||||
// UpdateSender sends the Update request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) UpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// UpdateResponder handles the response to the Update request. The method always
|
||||
@@ -695,7 +713,9 @@ func (client PersonClient) UpdateFacePreparer(personGroupID string, personID str
|
||||
// UpdateFaceSender sends the UpdateFace request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonClient) UpdateFaceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// UpdateFaceResponder handles the response to the UpdateFace request. The method always
|
||||
|
||||
Generated
Vendored
+21
-7
@@ -94,7 +94,9 @@ func (client PersonGroupClient) CreatePreparer(personGroupID string, body Create
|
||||
// CreateSender sends the Create request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonGroupClient) CreateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// CreateResponder handles the response to the Create request. The method always
|
||||
@@ -156,7 +158,9 @@ func (client PersonGroupClient) DeletePreparer(personGroupID string) (*http.Requ
|
||||
// DeleteSender sends the Delete request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonGroupClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DeleteResponder handles the response to the Delete request. The method always
|
||||
@@ -217,7 +221,9 @@ func (client PersonGroupClient) GetPreparer(personGroupID string) (*http.Request
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonGroupClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -279,7 +285,9 @@ func (client PersonGroupClient) GetTrainingStatusPreparer(personGroupID string)
|
||||
// GetTrainingStatusSender sends the GetTrainingStatus request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonGroupClient) GetTrainingStatusSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetTrainingStatusResponder handles the response to the GetTrainingStatus request. The method always
|
||||
@@ -358,7 +366,9 @@ func (client PersonGroupClient) ListPreparer(start string, top *int32) (*http.Re
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonGroupClient) ListSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// ListResponder handles the response to the List request. The method always
|
||||
@@ -420,7 +430,9 @@ func (client PersonGroupClient) TrainPreparer(personGroupID string) (*http.Reque
|
||||
// TrainSender sends the Train request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonGroupClient) TrainSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// TrainResponder handles the response to the Train request. The method always
|
||||
@@ -484,7 +496,9 @@ func (client PersonGroupClient) UpdatePreparer(personGroupID string, body Create
|
||||
// UpdateSender sends the Update request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client PersonGroupClient) UpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// UpdateResponder handles the response to the Update request. The method always
|
||||
|
||||
Generated
Vendored
+2
-2
@@ -19,10 +19,10 @@ package face
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-face/1.0"
|
||||
return "Azure-SDK-For-Go/v12.2.0-beta arm-face/1.0"
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return "v11.0.0-beta"
|
||||
return "v12.2.0-beta"
|
||||
}
|
||||
|
||||
Generated
Vendored
+11
-3
@@ -5,6 +5,8 @@
|
||||
// extraction and language detection. No training data is needed to use this API; just bring your text data. This API
|
||||
// uses advanced natural language processing techniques to deliver best in class predictions. Further documentation can
|
||||
// be found in https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview
|
||||
//
|
||||
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services
|
||||
package textanalytics
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
@@ -105,7 +107,9 @@ func (client ManagementClient) DetectLanguagePreparer(input BatchInput, numberOf
|
||||
// DetectLanguageSender sends the DetectLanguage request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementClient) DetectLanguageSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DetectLanguageResponder handles the response to the DetectLanguage request. The method always
|
||||
@@ -168,7 +172,9 @@ func (client ManagementClient) KeyPhrasesPreparer(input MultiLanguageBatchInput)
|
||||
// KeyPhrasesSender sends the KeyPhrases request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementClient) KeyPhrasesSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// KeyPhrasesResponder handles the response to the KeyPhrases request. The method always
|
||||
@@ -232,7 +238,9 @@ func (client ManagementClient) SentimentPreparer(input MultiLanguageBatchInput)
|
||||
// SentimentSender sends the Sentiment request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementClient) SentimentSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// SentimentResponder handles the response to the Sentiment request. The method always
|
||||
|
||||
Generated
Vendored
+2
-2
@@ -19,10 +19,10 @@ package textanalytics
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-textanalytics/v2.0"
|
||||
return "Azure-SDK-For-Go/v12.2.0-beta arm-textanalytics/v2.0"
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return "v11.0.0-beta"
|
||||
return "v12.2.0-beta"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user