diff --git a/profiles/latest/cognitiveservices/face/models.go b/profiles/latest/cognitiveservices/face/models.go index 614952509e9c..cfc5cb1cc981 100644 --- a/profiles/latest/cognitiveservices/face/models.go +++ b/profiles/latest/cognitiveservices/face/models.go @@ -74,9 +74,8 @@ const ( type Gender = original.Gender const ( - Female Gender = original.Female - Genderless Gender = original.Genderless - Male Gender = original.Male + Female Gender = original.Female + Male Gender = original.Male ) type GlassesType = original.GlassesType diff --git a/profiles/preview/cognitiveservices/face/models.go b/profiles/preview/cognitiveservices/face/models.go index 71bb8182fb4d..636de6d4386f 100644 --- a/profiles/preview/cognitiveservices/face/models.go +++ b/profiles/preview/cognitiveservices/face/models.go @@ -74,9 +74,8 @@ const ( type Gender = original.Gender const ( - Female Gender = original.Female - Genderless Gender = original.Genderless - Male Gender = original.Male + Female Gender = original.Female + Male Gender = original.Male ) type GlassesType = original.GlassesType diff --git a/services/cognitiveservices/v1.0/face/models.go b/services/cognitiveservices/v1.0/face/models.go index f1d917fc436e..78cfc6c0b9c2 100644 --- a/services/cognitiveservices/v1.0/face/models.go +++ b/services/cognitiveservices/v1.0/face/models.go @@ -137,15 +137,13 @@ type Gender string const ( // Female ... Female Gender = "female" - // Genderless ... - Genderless Gender = "genderless" // Male ... Male Gender = "male" ) // PossibleGenderValues returns an array of possible values for the Gender const type. func PossibleGenderValues() []Gender { - return []Gender{Female, Genderless, Male} + return []Gender{Female, Male} } // GlassesType enumerates the values for glasses type. @@ -306,7 +304,7 @@ type ApplySnapshotRequest struct { type Attributes struct { // Age - Age in years Age *float64 `json:"age,omitempty"` - // Gender - Possible gender of the face. Possible values include: 'Male', 'Female', 'Genderless' + // Gender - Possible gender of the face. Possible values include: 'Male', 'Female' Gender Gender `json:"gender,omitempty"` // Smile - Smile intensity, a number between [0,1] Smile *float64 `json:"smile,omitempty"`