vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
@@ -0,0 +1,184 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package computervision
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/computervision"
type BaseClient = original.BaseClient
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type Details = original.Details
const (
Celebrities Details = original.Celebrities
Landmarks Details = original.Landmarks
)
type DomainModels = original.DomainModels
const (
DomainModelsCelebrities DomainModels = original.DomainModelsCelebrities
DomainModelsLandmarks DomainModels = original.DomainModelsLandmarks
)
type ErrorCodes = original.ErrorCodes
const (
BadArgument ErrorCodes = original.BadArgument
FailedToProcess ErrorCodes = original.FailedToProcess
InternalServerError ErrorCodes = original.InternalServerError
InvalidDetails ErrorCodes = original.InvalidDetails
InvalidImageFormat ErrorCodes = original.InvalidImageFormat
InvalidImageSize ErrorCodes = original.InvalidImageSize
InvalidImageURL ErrorCodes = original.InvalidImageURL
NotSupportedImage ErrorCodes = original.NotSupportedImage
NotSupportedLanguage ErrorCodes = original.NotSupportedLanguage
NotSupportedVisualFeature ErrorCodes = original.NotSupportedVisualFeature
StorageException ErrorCodes = original.StorageException
Timeout ErrorCodes = original.Timeout
Unspecified ErrorCodes = original.Unspecified
)
type Gender = original.Gender
const (
Female Gender = original.Female
Male Gender = original.Male
)
type Language1 = original.Language1
const (
En Language1 = original.En
Zh Language1 = original.Zh
)
type OcrLanguages = original.OcrLanguages
const (
OcrLanguagesAr OcrLanguages = original.OcrLanguagesAr
OcrLanguagesCs OcrLanguages = original.OcrLanguagesCs
OcrLanguagesDa OcrLanguages = original.OcrLanguagesDa
OcrLanguagesDe OcrLanguages = original.OcrLanguagesDe
OcrLanguagesEl OcrLanguages = original.OcrLanguagesEl
OcrLanguagesEn OcrLanguages = original.OcrLanguagesEn
OcrLanguagesEs OcrLanguages = original.OcrLanguagesEs
OcrLanguagesFi OcrLanguages = original.OcrLanguagesFi
OcrLanguagesFr OcrLanguages = original.OcrLanguagesFr
OcrLanguagesHu OcrLanguages = original.OcrLanguagesHu
OcrLanguagesIt OcrLanguages = original.OcrLanguagesIt
OcrLanguagesJa OcrLanguages = original.OcrLanguagesJa
OcrLanguagesKo OcrLanguages = original.OcrLanguagesKo
OcrLanguagesNb OcrLanguages = original.OcrLanguagesNb
OcrLanguagesNl OcrLanguages = original.OcrLanguagesNl
OcrLanguagesPl OcrLanguages = original.OcrLanguagesPl
OcrLanguagesPt OcrLanguages = original.OcrLanguagesPt
OcrLanguagesRo OcrLanguages = original.OcrLanguagesRo
OcrLanguagesRu OcrLanguages = original.OcrLanguagesRu
OcrLanguagesSk OcrLanguages = original.OcrLanguagesSk
OcrLanguagesSrCyrl OcrLanguages = original.OcrLanguagesSrCyrl
OcrLanguagesSrLatn OcrLanguages = original.OcrLanguagesSrLatn
OcrLanguagesSv OcrLanguages = original.OcrLanguagesSv
OcrLanguagesTr OcrLanguages = original.OcrLanguagesTr
OcrLanguagesUnk OcrLanguages = original.OcrLanguagesUnk
OcrLanguagesZhHans OcrLanguages = original.OcrLanguagesZhHans
OcrLanguagesZhHant OcrLanguages = original.OcrLanguagesZhHant
)
type TextOperationStatusCodes = original.TextOperationStatusCodes
const (
Failed TextOperationStatusCodes = original.Failed
NotStarted TextOperationStatusCodes = original.NotStarted
Running TextOperationStatusCodes = original.Running
Succeeded TextOperationStatusCodes = original.Succeeded
)
type VisualFeatureTypes = original.VisualFeatureTypes
const (
VisualFeatureTypesAdult VisualFeatureTypes = original.VisualFeatureTypesAdult
VisualFeatureTypesCategories VisualFeatureTypes = original.VisualFeatureTypesCategories
VisualFeatureTypesColor VisualFeatureTypes = original.VisualFeatureTypesColor
VisualFeatureTypesDescription VisualFeatureTypes = original.VisualFeatureTypesDescription
VisualFeatureTypesFaces VisualFeatureTypes = original.VisualFeatureTypesFaces
VisualFeatureTypesImageType VisualFeatureTypes = original.VisualFeatureTypesImageType
VisualFeatureTypesTags VisualFeatureTypes = original.VisualFeatureTypesTags
)
type AdultInfo = original.AdultInfo
type Category = original.Category
type CategoryDetail = original.CategoryDetail
type CelebritiesModel = original.CelebritiesModel
type ColorInfo = original.ColorInfo
type DomainModelResult = original.DomainModelResult
type DomainModelResults = original.DomainModelResults
type Error = original.Error
type FaceDescription = original.FaceDescription
type FaceRectangle = original.FaceRectangle
type ImageAnalysis = original.ImageAnalysis
type ImageCaption = original.ImageCaption
type ImageDescription = original.ImageDescription
type ImageDescriptionDetails = original.ImageDescriptionDetails
type ImageMetadata = original.ImageMetadata
type ImageTag = original.ImageTag
type ImageType = original.ImageType
type ImageURL = original.ImageURL
type Line = original.Line
type ListModelsResult = original.ListModelsResult
type ModelDescription = original.ModelDescription
type OcrLine = original.OcrLine
type OcrRegion = original.OcrRegion
type OcrResult = original.OcrResult
type OcrWord = original.OcrWord
type ReadCloser = original.ReadCloser
type RecognitionResult = original.RecognitionResult
type TagResult = original.TagResult
type TextOperationResult = original.TextOperationResult
type Word = original.Word
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
@@ -0,0 +1,161 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package contentmoderator
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/contentmoderator"
type BaseClient = original.BaseClient
type ListManagementImageClient = original.ListManagementImageClient
type ListManagementImageListsClient = original.ListManagementImageListsClient
type ListManagementTermClient = original.ListManagementTermClient
type ReviewsClient = original.ReviewsClient
type ImageModerationClient = original.ImageModerationClient
type ListManagementTermListsClient = original.ListManagementTermListsClient
type AzureRegionBaseURL = original.AzureRegionBaseURL
const (
Australiaeastapicognitivemicrosoftcom AzureRegionBaseURL = original.Australiaeastapicognitivemicrosoftcom
Brazilsouthapicognitivemicrosoftcom AzureRegionBaseURL = original.Brazilsouthapicognitivemicrosoftcom
ContentmoderatortestazureApinet AzureRegionBaseURL = original.ContentmoderatortestazureApinet
Eastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastasiaapicognitivemicrosoftcom
Eastus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Eastus2apicognitivemicrosoftcom
Eastusapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastusapicognitivemicrosoftcom
Northeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Northeuropeapicognitivemicrosoftcom
Southcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Southcentralusapicognitivemicrosoftcom
Southeastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Southeastasiaapicognitivemicrosoftcom
Westcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westcentralusapicognitivemicrosoftcom
Westeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Westeuropeapicognitivemicrosoftcom
Westus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Westus2apicognitivemicrosoftcom
Westusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westusapicognitivemicrosoftcom
)
type StatusEnum = original.StatusEnum
const (
Complete StatusEnum = original.Complete
Pending StatusEnum = original.Pending
Unpublished StatusEnum = original.Unpublished
)
type Type = original.Type
const (
TypeImage Type = original.TypeImage
TypeText Type = original.TypeText
)
type Address = original.Address
type APIError = original.APIError
type Body = original.Body
type BodyMetadata = original.BodyMetadata
type BodyModel = original.BodyModel
type Candidate = original.Candidate
type Classification = original.Classification
type Content = original.Content
type CreateReviewBodyItem = original.CreateReviewBodyItem
type CreateReviewBodyItemMetadataItem = original.CreateReviewBodyItemMetadataItem
type CreateVideoReviewsBodyItem = original.CreateVideoReviewsBodyItem
type CreateVideoReviewsBodyItemMetadataItem = original.CreateVideoReviewsBodyItemMetadataItem
type CreateVideoReviewsBodyItemVideoFramesItem = original.CreateVideoReviewsBodyItemVideoFramesItem
type CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = original.CreateVideoReviewsBodyItemVideoFramesItemMetadataItem
type CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = original.CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem
type DetectedLanguage = original.DetectedLanguage
type DetectedTerms = original.DetectedTerms
type Email = original.Email
type Error = original.Error
type Evaluate = original.Evaluate
type Face = original.Face
type FoundFaces = original.FoundFaces
type Frame = original.Frame
type Frames = original.Frames
type Image = original.Image
type ImageAdditionalInfoItem = original.ImageAdditionalInfoItem
type ImageIds = original.ImageIds
type ImageList = original.ImageList
type ImageListMetadata = original.ImageListMetadata
type IPA = original.IPA
type Job = original.Job
type JobExecutionReportDetails = original.JobExecutionReportDetails
type JobID = original.JobID
type JobListResult = original.JobListResult
type KeyValuePair = original.KeyValuePair
type ListImageList = original.ListImageList
type ListString = original.ListString
type ListTermList = original.ListTermList
type Match = original.Match
type MatchResponse = original.MatchResponse
type OCR = original.OCR
type Phone = original.Phone
type PII = original.PII
type RefreshIndex = original.RefreshIndex
type RefreshIndexAdvancedInfoItem = original.RefreshIndexAdvancedInfoItem
type Review = original.Review
type Screen = original.Screen
type SetObject = original.SetObject
type Status = original.Status
type String = original.String
type Tag = original.Tag
type TermList = original.TermList
type TermListMetadata = original.TermListMetadata
type Terms = original.Terms
type TermsData = original.TermsData
type TermsInList = original.TermsInList
type TermsPaging = original.TermsPaging
type TranscriptModerationBodyItem = original.TranscriptModerationBodyItem
type TranscriptModerationBodyItemTermsItem = original.TranscriptModerationBodyItemTermsItem
type VideoFrameBodyItem = original.VideoFrameBodyItem
type VideoFrameBodyItemMetadataItem = original.VideoFrameBodyItemMetadataItem
type VideoFrameBodyItemReviewerResultTagsItem = original.VideoFrameBodyItemReviewerResultTagsItem
type TextModerationClient = original.TextModerationClient
func NewImageModerationClient(baseURL AzureRegionBaseURL) ImageModerationClient {
return original.NewImageModerationClient(baseURL)
}
func NewListManagementTermListsClient(baseURL AzureRegionBaseURL) ListManagementTermListsClient {
return original.NewListManagementTermListsClient(baseURL)
}
func NewTextModerationClient(baseURL AzureRegionBaseURL) TextModerationClient {
return original.NewTextModerationClient(baseURL)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func New(baseURL AzureRegionBaseURL) BaseClient {
return original.New(baseURL)
}
func NewWithoutDefaults(baseURL AzureRegionBaseURL) BaseClient {
return original.NewWithoutDefaults(baseURL)
}
func NewListManagementImageClient(baseURL AzureRegionBaseURL) ListManagementImageClient {
return original.NewListManagementImageClient(baseURL)
}
func NewListManagementImageListsClient(baseURL AzureRegionBaseURL) ListManagementImageListsClient {
return original.NewListManagementImageListsClient(baseURL)
}
func NewListManagementTermClient(baseURL AzureRegionBaseURL) ListManagementTermClient {
return original.NewListManagementTermClient(baseURL)
}
func NewReviewsClient(baseURL AzureRegionBaseURL) ReviewsClient {
return original.NewReviewsClient(baseURL)
}
@@ -0,0 +1,130 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package customsearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/customsearch"
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeCreativeWork Type = original.TypeCreativeWork
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSearchResponse Type = original.TypeSearchResponse
TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer
TypeThing Type = original.TypeThing
TypeWebPage Type = original.TypeWebPage
TypeWebWebAnswer Type = original.TypeWebWebAnswer
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type Query = original.Query
type QueryContext = original.QueryContext
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type SearchResponse = original.SearchResponse
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicThing = original.BasicThing
type Thing = original.Thing
type WebMetaTag = original.WebMetaTag
type WebPage = original.WebPage
type WebWebAnswer = original.WebWebAnswer
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type CustomInstanceClient = original.CustomInstanceClient
func NewCustomInstanceClient() CustomInstanceClient {
return original.NewCustomInstanceClient()
}
func NewCustomInstanceClientWithBaseURI(baseURI string) CustomInstanceClient {
return original.NewCustomInstanceClientWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
@@ -0,0 +1,271 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package entitysearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/entitysearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type EntitiesClient = original.EntitiesClient
type AnswerType = original.AnswerType
const (
AnswerTypeEntities AnswerType = original.AnswerTypeEntities
AnswerTypePlaces AnswerType = original.AnswerTypePlaces
)
type EntityQueryScenario = original.EntityQueryScenario
const (
Disambiguation EntityQueryScenario = original.Disambiguation
DominantEntity EntityQueryScenario = original.DominantEntity
DominantEntityWithDisambiguation EntityQueryScenario = original.DominantEntityWithDisambiguation
List EntityQueryScenario = original.List
ListWithPivot EntityQueryScenario = original.ListWithPivot
)
type EntityScenario = original.EntityScenario
const (
EntityScenarioDisambiguationItem EntityScenario = original.EntityScenarioDisambiguationItem
EntityScenarioDominantEntity EntityScenario = original.EntityScenarioDominantEntity
EntityScenarioListItem EntityScenario = original.EntityScenarioListItem
)
type EntityType = original.EntityType
const (
EntityTypeActor EntityType = original.EntityTypeActor
EntityTypeAnimal EntityType = original.EntityTypeAnimal
EntityTypeArtist EntityType = original.EntityTypeArtist
EntityTypeAttorney EntityType = original.EntityTypeAttorney
EntityTypeAttraction EntityType = original.EntityTypeAttraction
EntityTypeBook EntityType = original.EntityTypeBook
EntityTypeCar EntityType = original.EntityTypeCar
EntityTypeCity EntityType = original.EntityTypeCity
EntityTypeCollegeOrUniversity EntityType = original.EntityTypeCollegeOrUniversity
EntityTypeComposition EntityType = original.EntityTypeComposition
EntityTypeContinent EntityType = original.EntityTypeContinent
EntityTypeCountry EntityType = original.EntityTypeCountry
EntityTypeDrug EntityType = original.EntityTypeDrug
EntityTypeEvent EntityType = original.EntityTypeEvent
EntityTypeFood EntityType = original.EntityTypeFood
EntityTypeGeneric EntityType = original.EntityTypeGeneric
EntityTypeHotel EntityType = original.EntityTypeHotel
EntityTypeHouse EntityType = original.EntityTypeHouse
EntityTypeLocalBusiness EntityType = original.EntityTypeLocalBusiness
EntityTypeLocality EntityType = original.EntityTypeLocality
EntityTypeMedia EntityType = original.EntityTypeMedia
EntityTypeMinorRegion EntityType = original.EntityTypeMinorRegion
EntityTypeMovie EntityType = original.EntityTypeMovie
EntityTypeMusicAlbum EntityType = original.EntityTypeMusicAlbum
EntityTypeMusicGroup EntityType = original.EntityTypeMusicGroup
EntityTypeMusicRecording EntityType = original.EntityTypeMusicRecording
EntityTypeNeighborhood EntityType = original.EntityTypeNeighborhood
EntityTypeOrganization EntityType = original.EntityTypeOrganization
EntityTypeOther EntityType = original.EntityTypeOther
EntityTypePerson EntityType = original.EntityTypePerson
EntityTypePlace EntityType = original.EntityTypePlace
EntityTypePointOfInterest EntityType = original.EntityTypePointOfInterest
EntityTypePostalCode EntityType = original.EntityTypePostalCode
EntityTypeProduct EntityType = original.EntityTypeProduct
EntityTypeRadioStation EntityType = original.EntityTypeRadioStation
EntityTypeRegion EntityType = original.EntityTypeRegion
EntityTypeRestaurant EntityType = original.EntityTypeRestaurant
EntityTypeSchool EntityType = original.EntityTypeSchool
EntityTypeSpeciality EntityType = original.EntityTypeSpeciality
EntityTypeSportsTeam EntityType = original.EntityTypeSportsTeam
EntityTypeState EntityType = original.EntityTypeState
EntityTypeStreetAddress EntityType = original.EntityTypeStreetAddress
EntityTypeSubRegion EntityType = original.EntityTypeSubRegion
EntityTypeTelevisionSeason EntityType = original.EntityTypeTelevisionSeason
EntityTypeTelevisionShow EntityType = original.EntityTypeTelevisionShow
EntityTypeTheaterPlay EntityType = original.EntityTypeTheaterPlay
EntityTypeTouristAttraction EntityType = original.EntityTypeTouristAttraction
EntityTypeTravel EntityType = original.EntityTypeTravel
EntityTypeVideoGame EntityType = original.EntityTypeVideoGame
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type ResponseFormat = original.ResponseFormat
const (
JSON ResponseFormat = original.JSON
JSONLd ResponseFormat = original.JSONLd
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type Type = original.Type
const (
TypeContractualRulesAttribution Type = original.TypeContractualRulesAttribution
TypeContractualRulesContractualRule Type = original.TypeContractualRulesContractualRule
TypeContractualRulesLicenseAttribution Type = original.TypeContractualRulesLicenseAttribution
TypeContractualRulesLinkAttribution Type = original.TypeContractualRulesLinkAttribution
TypeContractualRulesMediaAttribution Type = original.TypeContractualRulesMediaAttribution
TypeContractualRulesTextAttribution Type = original.TypeContractualRulesTextAttribution
)
type TypeBasicResponseBase = original.TypeBasicResponseBase
const (
TypeAirport TypeBasicResponseBase = original.TypeAirport
TypeAnswer TypeBasicResponseBase = original.TypeAnswer
TypeCivicStructure TypeBasicResponseBase = original.TypeCivicStructure
TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork
TypeEntertainmentBusiness TypeBasicResponseBase = original.TypeEntertainmentBusiness
TypeEntities TypeBasicResponseBase = original.TypeEntities
TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse
TypeFoodEstablishment TypeBasicResponseBase = original.TypeFoodEstablishment
TypeHotel TypeBasicResponseBase = original.TypeHotel
TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable
TypeImageObject TypeBasicResponseBase = original.TypeImageObject
TypeIntangible TypeBasicResponseBase = original.TypeIntangible
TypeLicense TypeBasicResponseBase = original.TypeLicense
TypeLocalBusiness TypeBasicResponseBase = original.TypeLocalBusiness
TypeLodgingBusiness TypeBasicResponseBase = original.TypeLodgingBusiness
TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject
TypeMovieTheater TypeBasicResponseBase = original.TypeMovieTheater
TypeOrganization TypeBasicResponseBase = original.TypeOrganization
TypePlace TypeBasicResponseBase = original.TypePlace
TypePlaces TypeBasicResponseBase = original.TypePlaces
TypePostalAddress TypeBasicResponseBase = original.TypePostalAddress
TypeResponse TypeBasicResponseBase = original.TypeResponse
TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase
TypeRestaurant TypeBasicResponseBase = original.TypeRestaurant
TypeSearchResponse TypeBasicResponseBase = original.TypeSearchResponse
TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue
TypeThing TypeBasicResponseBase = original.TypeThing
TypeTouristAttraction TypeBasicResponseBase = original.TypeTouristAttraction
)
type Airport = original.Airport
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCivicStructure = original.BasicCivicStructure
type CivicStructure = original.CivicStructure
type BasicContractualRulesAttribution = original.BasicContractualRulesAttribution
type ContractualRulesAttribution = original.ContractualRulesAttribution
type BasicContractualRulesContractualRule = original.BasicContractualRulesContractualRule
type ContractualRulesContractualRule = original.ContractualRulesContractualRule
type ContractualRulesLicenseAttribution = original.ContractualRulesLicenseAttribution
type ContractualRulesLinkAttribution = original.ContractualRulesLinkAttribution
type ContractualRulesMediaAttribution = original.ContractualRulesMediaAttribution
type ContractualRulesTextAttribution = original.ContractualRulesTextAttribution
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type BasicEntertainmentBusiness = original.BasicEntertainmentBusiness
type EntertainmentBusiness = original.EntertainmentBusiness
type Entities = original.Entities
type EntitiesEntityPresentationInfo = original.EntitiesEntityPresentationInfo
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicFoodEstablishment = original.BasicFoodEstablishment
type FoodEstablishment = original.FoodEstablishment
type Hotel = original.Hotel
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type BasicIntangible = original.BasicIntangible
type Intangible = original.Intangible
type License = original.License
type BasicLocalBusiness = original.BasicLocalBusiness
type LocalBusiness = original.LocalBusiness
type BasicLodgingBusiness = original.BasicLodgingBusiness
type LodgingBusiness = original.LodgingBusiness
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type MovieTheater = original.MovieTheater
type Organization = original.Organization
type BasicPlace = original.BasicPlace
type Place = original.Place
type Places = original.Places
type PostalAddress = original.PostalAddress
type QueryContext = original.QueryContext
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type Restaurant = original.Restaurant
type SearchResponse = original.SearchResponse
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicStructuredValue = original.BasicStructuredValue
type StructuredValue = original.StructuredValue
type BasicThing = original.BasicThing
type Thing = original.Thing
type TouristAttraction = original.TouristAttraction
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func NewEntitiesClient() EntitiesClient {
return original.NewEntitiesClient()
}
func NewEntitiesClientWithBaseURI(baseURI string) EntitiesClient {
return original.NewEntitiesClientWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
@@ -0,0 +1,193 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package face
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face"
type ListClient = original.ListClient
type AttributeTypes = original.AttributeTypes
const (
AttributeTypesAccessories AttributeTypes = original.AttributeTypesAccessories
AttributeTypesAge AttributeTypes = original.AttributeTypesAge
AttributeTypesBlur AttributeTypes = original.AttributeTypesBlur
AttributeTypesEmotion AttributeTypes = original.AttributeTypesEmotion
AttributeTypesExposure AttributeTypes = original.AttributeTypesExposure
AttributeTypesFacialHair AttributeTypes = original.AttributeTypesFacialHair
AttributeTypesGender AttributeTypes = original.AttributeTypesGender
AttributeTypesGlasses AttributeTypes = original.AttributeTypesGlasses
AttributeTypesHair AttributeTypes = original.AttributeTypesHair
AttributeTypesHeadPose AttributeTypes = original.AttributeTypesHeadPose
AttributeTypesMakeup AttributeTypes = original.AttributeTypesMakeup
AttributeTypesNoise AttributeTypes = original.AttributeTypesNoise
AttributeTypesOcclusion AttributeTypes = original.AttributeTypesOcclusion
AttributeTypesSmile AttributeTypes = original.AttributeTypesSmile
)
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type BlurLevels = original.BlurLevels
const (
High BlurLevels = original.High
Low BlurLevels = original.Low
Medium BlurLevels = original.Medium
)
type ExposureLevels = original.ExposureLevels
const (
GoodExposure ExposureLevels = original.GoodExposure
OverExposure ExposureLevels = original.OverExposure
UnderExposure ExposureLevels = original.UnderExposure
)
type Gender = original.Gender
const (
Female Gender = original.Female
Genderless Gender = original.Genderless
Male Gender = original.Male
)
type GlassesTypes = original.GlassesTypes
const (
NoGlasses GlassesTypes = original.NoGlasses
ReadingGlasses GlassesTypes = original.ReadingGlasses
Sunglasses GlassesTypes = original.Sunglasses
SwimmingGoggles GlassesTypes = original.SwimmingGoggles
)
type MatchingMode = original.MatchingMode
const (
MatchFace MatchingMode = original.MatchFace
MatchPerson MatchingMode = original.MatchPerson
)
type NoiseLevels = original.NoiseLevels
const (
NoiseLevelsHigh NoiseLevels = original.NoiseLevelsHigh
NoiseLevelsLow NoiseLevels = original.NoiseLevelsLow
NoiseLevelsMedium NoiseLevels = original.NoiseLevelsMedium
)
type TrainingStatusType = original.TrainingStatusType
const (
Failed TrainingStatusType = original.Failed
Nonstarted TrainingStatusType = original.Nonstarted
Running TrainingStatusType = original.Running
Succeeded TrainingStatusType = original.Succeeded
)
type AccessoryItem = original.AccessoryItem
type APIError = original.APIError
type Attributes = original.Attributes
type BlurProperties = original.BlurProperties
type ColorProperty = original.ColorProperty
type CreateFaceListRequest = original.CreateFaceListRequest
type CreatePersonGroupRequest = original.CreatePersonGroupRequest
type CreatePersonRequest = original.CreatePersonRequest
type CreatePersonResult = original.CreatePersonResult
type DetectedFace = original.DetectedFace
type EmotionProperties = original.EmotionProperties
type Error = original.Error
type ExposureProperties = original.ExposureProperties
type FacialHairProperties = original.FacialHairProperties
type FindSimilarRequest = original.FindSimilarRequest
type GetFaceListResult = original.GetFaceListResult
type GroupRequest = original.GroupRequest
type GroupResponse = original.GroupResponse
type HairProperties = original.HairProperties
type HeadPoseProperties = original.HeadPoseProperties
type IdentifyRequest = original.IdentifyRequest
type IdentifyResultCandidate = original.IdentifyResultCandidate
type IdentifyResultItem = original.IdentifyResultItem
type ImageURL = original.ImageURL
type Landmarks = original.Landmarks
type ListDetectedFace = original.ListDetectedFace
type ListGetFaceListResult = original.ListGetFaceListResult
type ListIdentifyResultItem = original.ListIdentifyResultItem
type ListPersonGroupResult = original.ListPersonGroupResult
type ListPersonResult = original.ListPersonResult
type ListSimilarFaceResult = original.ListSimilarFaceResult
type MakeupProperties = original.MakeupProperties
type NoiseProperties = original.NoiseProperties
type OcclusionProperties = original.OcclusionProperties
type PersistedFaceResult = original.PersistedFaceResult
type PersonFaceResult = original.PersonFaceResult
type PersonGroupResult = original.PersonGroupResult
type PersonResult = original.PersonResult
type Position = original.Position
type Rectangle = original.Rectangle
type SimilarFaceResult = original.SimilarFaceResult
type TrainingStatus = original.TrainingStatus
type UpdatePersonFaceDataRequest = original.UpdatePersonFaceDataRequest
type VerifyPersonGroupRequest = original.VerifyPersonGroupRequest
type VerifyRequest = original.VerifyRequest
type VerifyResult = original.VerifyResult
type PersonClient = original.PersonClient
type PersonGroupClient = original.PersonGroupClient
type BaseClient = original.BaseClient
type Client = original.Client
func NewPersonClient(azureRegion AzureRegions) PersonClient {
return original.NewPersonClient(azureRegion)
}
func NewPersonGroupClient(azureRegion AzureRegions) PersonGroupClient {
return original.NewPersonGroupClient(azureRegion)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func NewClient(azureRegion AzureRegions) Client {
return original.NewClient(azureRegion)
}
func NewListClient(azureRegion AzureRegions) ListClient {
return original.NewListClient(azureRegion)
}
@@ -0,0 +1,460 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package imagesearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/imagesearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ImagesClient = original.ImagesClient
type Currency = original.Currency
const (
AED Currency = original.AED
AFN Currency = original.AFN
ALL Currency = original.ALL
AMD Currency = original.AMD
ANG Currency = original.ANG
AOA Currency = original.AOA
ARS Currency = original.ARS
AUD Currency = original.AUD
AWG Currency = original.AWG
AZN Currency = original.AZN
BAM Currency = original.BAM
BBD Currency = original.BBD
BDT Currency = original.BDT
BGN Currency = original.BGN
BHD Currency = original.BHD
BIF Currency = original.BIF
BMD Currency = original.BMD
BND Currency = original.BND
BOB Currency = original.BOB
BOV Currency = original.BOV
BRL Currency = original.BRL
BSD Currency = original.BSD
BTN Currency = original.BTN
BWP Currency = original.BWP
BYR Currency = original.BYR
BZD Currency = original.BZD
CAD Currency = original.CAD
CDF Currency = original.CDF
CHE Currency = original.CHE
CHF Currency = original.CHF
CHW Currency = original.CHW
CLF Currency = original.CLF
CLP Currency = original.CLP
CNY Currency = original.CNY
COP Currency = original.COP
COU Currency = original.COU
CRC Currency = original.CRC
CUC Currency = original.CUC
CUP Currency = original.CUP
CVE Currency = original.CVE
CZK Currency = original.CZK
DJF Currency = original.DJF
DKK Currency = original.DKK
DOP Currency = original.DOP
DZD Currency = original.DZD
EGP Currency = original.EGP
ERN Currency = original.ERN
ETB Currency = original.ETB
EUR Currency = original.EUR
FJD Currency = original.FJD
FKP Currency = original.FKP
GBP Currency = original.GBP
GEL Currency = original.GEL
GHS Currency = original.GHS
GIP Currency = original.GIP
GMD Currency = original.GMD
GNF Currency = original.GNF
GTQ Currency = original.GTQ
GYD Currency = original.GYD
HKD Currency = original.HKD
HNL Currency = original.HNL
HRK Currency = original.HRK
HTG Currency = original.HTG
HUF Currency = original.HUF
IDR Currency = original.IDR
ILS Currency = original.ILS
INR Currency = original.INR
IQD Currency = original.IQD
IRR Currency = original.IRR
ISK Currency = original.ISK
JMD Currency = original.JMD
JOD Currency = original.JOD
JPY Currency = original.JPY
KES Currency = original.KES
KGS Currency = original.KGS
KHR Currency = original.KHR
KMF Currency = original.KMF
KPW Currency = original.KPW
KRW Currency = original.KRW
KWD Currency = original.KWD
KYD Currency = original.KYD
KZT Currency = original.KZT
LAK Currency = original.LAK
LBP Currency = original.LBP
LKR Currency = original.LKR
LRD Currency = original.LRD
LSL Currency = original.LSL
LYD Currency = original.LYD
MAD Currency = original.MAD
MDL Currency = original.MDL
MGA Currency = original.MGA
MKD Currency = original.MKD
MMK Currency = original.MMK
MNT Currency = original.MNT
MOP Currency = original.MOP
MRO Currency = original.MRO
MUR Currency = original.MUR
MVR Currency = original.MVR
MWK Currency = original.MWK
MXN Currency = original.MXN
MXV Currency = original.MXV
MYR Currency = original.MYR
MZN Currency = original.MZN
NAD Currency = original.NAD
NGN Currency = original.NGN
NIO Currency = original.NIO
NOK Currency = original.NOK
NPR Currency = original.NPR
NZD Currency = original.NZD
OMR Currency = original.OMR
PAB Currency = original.PAB
PEN Currency = original.PEN
PGK Currency = original.PGK
PHP Currency = original.PHP
PKR Currency = original.PKR
PLN Currency = original.PLN
PYG Currency = original.PYG
QAR Currency = original.QAR
RON Currency = original.RON
RSD Currency = original.RSD
RUB Currency = original.RUB
RWF Currency = original.RWF
SAR Currency = original.SAR
SBD Currency = original.SBD
SCR Currency = original.SCR
SDG Currency = original.SDG
SEK Currency = original.SEK
SGD Currency = original.SGD
SHP Currency = original.SHP
SLL Currency = original.SLL
SOS Currency = original.SOS
SRD Currency = original.SRD
SSP Currency = original.SSP
STD Currency = original.STD
SYP Currency = original.SYP
SZL Currency = original.SZL
THB Currency = original.THB
TJS Currency = original.TJS
TMT Currency = original.TMT
TND Currency = original.TND
TOP Currency = original.TOP
TRY Currency = original.TRY
TTD Currency = original.TTD
TWD Currency = original.TWD
TZS Currency = original.TZS
UAH Currency = original.UAH
UGX Currency = original.UGX
USD Currency = original.USD
UYU Currency = original.UYU
UZS Currency = original.UZS
VEF Currency = original.VEF
VND Currency = original.VND
VUV Currency = original.VUV
WST Currency = original.WST
XAF Currency = original.XAF
XCD Currency = original.XCD
XOF Currency = original.XOF
XPF Currency = original.XPF
YER Currency = original.YER
ZAR Currency = original.ZAR
ZMW Currency = original.ZMW
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type ImageAspect = original.ImageAspect
const (
All ImageAspect = original.All
Square ImageAspect = original.Square
Tall ImageAspect = original.Tall
Wide ImageAspect = original.Wide
)
type ImageColor = original.ImageColor
const (
Black ImageColor = original.Black
Blue ImageColor = original.Blue
Brown ImageColor = original.Brown
ColorOnly ImageColor = original.ColorOnly
Gray ImageColor = original.Gray
Green ImageColor = original.Green
Monochrome ImageColor = original.Monochrome
Orange ImageColor = original.Orange
Pink ImageColor = original.Pink
Purple ImageColor = original.Purple
Red ImageColor = original.Red
Teal ImageColor = original.Teal
White ImageColor = original.White
Yellow ImageColor = original.Yellow
)
type ImageContent = original.ImageContent
const (
Face ImageContent = original.Face
Portrait ImageContent = original.Portrait
)
type ImageCropType = original.ImageCropType
const (
Rectangular ImageCropType = original.Rectangular
)
type ImageInsightModule = original.ImageInsightModule
const (
ImageInsightModuleAll ImageInsightModule = original.ImageInsightModuleAll
ImageInsightModuleBRQ ImageInsightModule = original.ImageInsightModuleBRQ
ImageInsightModuleCaption ImageInsightModule = original.ImageInsightModuleCaption
ImageInsightModuleCollections ImageInsightModule = original.ImageInsightModuleCollections
ImageInsightModulePagesIncluding ImageInsightModule = original.ImageInsightModulePagesIncluding
ImageInsightModuleRecipes ImageInsightModule = original.ImageInsightModuleRecipes
ImageInsightModuleRecognizedEntities ImageInsightModule = original.ImageInsightModuleRecognizedEntities
ImageInsightModuleRelatedSearches ImageInsightModule = original.ImageInsightModuleRelatedSearches
ImageInsightModuleShoppingSources ImageInsightModule = original.ImageInsightModuleShoppingSources
ImageInsightModuleSimilarImages ImageInsightModule = original.ImageInsightModuleSimilarImages
ImageInsightModuleSimilarProducts ImageInsightModule = original.ImageInsightModuleSimilarProducts
ImageInsightModuleTags ImageInsightModule = original.ImageInsightModuleTags
)
type ImageLicense = original.ImageLicense
const (
ImageLicenseAll ImageLicense = original.ImageLicenseAll
ImageLicenseAny ImageLicense = original.ImageLicenseAny
ImageLicenseModify ImageLicense = original.ImageLicenseModify
ImageLicenseModifyCommercially ImageLicense = original.ImageLicenseModifyCommercially
ImageLicensePublic ImageLicense = original.ImageLicensePublic
ImageLicenseShare ImageLicense = original.ImageLicenseShare
ImageLicenseShareCommercially ImageLicense = original.ImageLicenseShareCommercially
)
type ImageSize = original.ImageSize
const (
ImageSizeAll ImageSize = original.ImageSizeAll
ImageSizeLarge ImageSize = original.ImageSizeLarge
ImageSizeMedium ImageSize = original.ImageSizeMedium
ImageSizeSmall ImageSize = original.ImageSizeSmall
ImageSizeWallpaper ImageSize = original.ImageSizeWallpaper
)
type ImageType = original.ImageType
const (
AnimatedGif ImageType = original.AnimatedGif
Clipart ImageType = original.Clipart
Line ImageType = original.Line
Photo ImageType = original.Photo
Shopping ImageType = original.Shopping
Transparent ImageType = original.Transparent
)
type ItemAvailability = original.ItemAvailability
const (
Discontinued ItemAvailability = original.Discontinued
InStock ItemAvailability = original.InStock
InStoreOnly ItemAvailability = original.InStoreOnly
LimitedAvailability ItemAvailability = original.LimitedAvailability
OnlineOnly ItemAvailability = original.OnlineOnly
OutOfStock ItemAvailability = original.OutOfStock
PreOrder ItemAvailability = original.PreOrder
SoldOut ItemAvailability = original.SoldOut
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type Type = original.Type
const (
TypeAggregateRating Type = original.TypeAggregateRating
TypePropertiesItem Type = original.TypePropertiesItem
TypeRating Type = original.TypeRating
)
type TypeBasicResponseBase = original.TypeBasicResponseBase
const (
TypeAggregateOffer TypeBasicResponseBase = original.TypeAggregateOffer
TypeAnswer TypeBasicResponseBase = original.TypeAnswer
TypeCollectionPage TypeBasicResponseBase = original.TypeCollectionPage
TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork
TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse
TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable
TypeImageGallery TypeBasicResponseBase = original.TypeImageGallery
TypeImageInsights TypeBasicResponseBase = original.TypeImageInsights
TypeImageObject TypeBasicResponseBase = original.TypeImageObject
TypeImages TypeBasicResponseBase = original.TypeImages
TypeIntangible TypeBasicResponseBase = original.TypeIntangible
TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject
TypeNormalizedRectangle TypeBasicResponseBase = original.TypeNormalizedRectangle
TypeOffer TypeBasicResponseBase = original.TypeOffer
TypeOrganization TypeBasicResponseBase = original.TypeOrganization
TypePerson TypeBasicResponseBase = original.TypePerson
TypeRecipe TypeBasicResponseBase = original.TypeRecipe
TypeRecognizedEntity TypeBasicResponseBase = original.TypeRecognizedEntity
TypeRecognizedEntityRegion TypeBasicResponseBase = original.TypeRecognizedEntityRegion
TypeResponse TypeBasicResponseBase = original.TypeResponse
TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase
TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue
TypeThing TypeBasicResponseBase = original.TypeThing
TypeTrendingImages TypeBasicResponseBase = original.TypeTrendingImages
TypeWebPage TypeBasicResponseBase = original.TypeWebPage
)
type AggregateOffer = original.AggregateOffer
type AggregateRating = original.AggregateRating
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCollectionPage = original.BasicCollectionPage
type CollectionPage = original.CollectionPage
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageGallery = original.ImageGallery
type ImageInsights = original.ImageInsights
type ImageInsightsImageCaption = original.ImageInsightsImageCaption
type ImageObject = original.ImageObject
type Images = original.Images
type ImagesImageMetadata = original.ImagesImageMetadata
type ImagesModule = original.ImagesModule
type ImageTagsModule = original.ImageTagsModule
type InsightsTag = original.InsightsTag
type BasicIntangible = original.BasicIntangible
type Intangible = original.Intangible
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type NormalizedRectangle = original.NormalizedRectangle
type BasicOffer = original.BasicOffer
type Offer = original.Offer
type Organization = original.Organization
type Person = original.Person
type PivotSuggestions = original.PivotSuggestions
type BasicPropertiesItem = original.BasicPropertiesItem
type PropertiesItem = original.PropertiesItem
type Query = original.Query
type BasicRating = original.BasicRating
type Rating = original.Rating
type Recipe = original.Recipe
type RecipesModule = original.RecipesModule
type RecognizedEntitiesModule = original.RecognizedEntitiesModule
type RecognizedEntity = original.RecognizedEntity
type RecognizedEntityGroup = original.RecognizedEntityGroup
type RecognizedEntityRegion = original.RecognizedEntityRegion
type RelatedCollectionsModule = original.RelatedCollectionsModule
type RelatedSearchesModule = original.RelatedSearchesModule
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicStructuredValue = original.BasicStructuredValue
type StructuredValue = original.StructuredValue
type BasicThing = original.BasicThing
type Thing = original.Thing
type TrendingImages = original.TrendingImages
type TrendingImagesCategory = original.TrendingImagesCategory
type TrendingImagesTile = original.TrendingImagesTile
type BasicWebPage = original.BasicWebPage
type WebPage = original.WebPage
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func NewImagesClient() ImagesClient {
return original.NewImagesClient()
}
func NewImagesClientWithBaseURI(baseURI string) ImagesClient {
return original.NewImagesClientWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
@@ -0,0 +1,67 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package runtime
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/luis/v2.0/runtime"
type BaseClient = original.BaseClient
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type APIError = original.APIError
type CompositeChildModel = original.CompositeChildModel
type CompositeEntityModel = original.CompositeEntityModel
type EntityModel = original.EntityModel
type EntityWithResolution = original.EntityWithResolution
type EntityWithScore = original.EntityWithScore
type IntentModel = original.IntentModel
type LuisResult = original.LuisResult
type PredictionClient = original.PredictionClient
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func NewPredictionClient(azureRegion AzureRegions) PredictionClient {
return original.NewPredictionClient(azureRegion)
}
@@ -0,0 +1,155 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package cognitiveservices
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices"
type KeyName = original.KeyName
const (
Key1 KeyName = original.Key1
Key2 KeyName = original.Key2
)
type Kind = original.Kind
const (
Academic Kind = original.Academic
BingAutosuggest Kind = original.BingAutosuggest
BingAutosuggestv7 Kind = original.BingAutosuggestv7
BingCustomSearch Kind = original.BingCustomSearch
BingSearch Kind = original.BingSearch
BingSearchv7 Kind = original.BingSearchv7
BingSpeech Kind = original.BingSpeech
BingSpellCheck Kind = original.BingSpellCheck
BingSpellCheckv7 Kind = original.BingSpellCheckv7
ComputerVision Kind = original.ComputerVision
ContentModerator Kind = original.ContentModerator
CustomSpeech Kind = original.CustomSpeech
Emotion Kind = original.Emotion
Face Kind = original.Face
LUIS Kind = original.LUIS
Recommendations Kind = original.Recommendations
SpeakerRecognition Kind = original.SpeakerRecognition
Speech Kind = original.Speech
SpeechTranslation Kind = original.SpeechTranslation
TextAnalytics Kind = original.TextAnalytics
TextTranslation Kind = original.TextTranslation
WebLM Kind = original.WebLM
)
type ProvisioningState = original.ProvisioningState
const (
Creating ProvisioningState = original.Creating
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Moving ProvisioningState = original.Moving
ResolvingDNS ProvisioningState = original.ResolvingDNS
Succeeded ProvisioningState = original.Succeeded
)
type SkuName = original.SkuName
const (
F0 SkuName = original.F0
P0 SkuName = original.P0
P1 SkuName = original.P1
P2 SkuName = original.P2
S0 SkuName = original.S0
S1 SkuName = original.S1
S2 SkuName = original.S2
S3 SkuName = original.S3
S4 SkuName = original.S4
S5 SkuName = original.S5
S6 SkuName = original.S6
)
type SkuTier = original.SkuTier
const (
Free SkuTier = original.Free
Premium SkuTier = original.Premium
Standard SkuTier = original.Standard
)
type Account = original.Account
type AccountCreateParameters = original.AccountCreateParameters
type AccountEnumerateSkusResult = original.AccountEnumerateSkusResult
type AccountKeys = original.AccountKeys
type AccountListResult = original.AccountListResult
type AccountListResultIterator = original.AccountListResultIterator
type AccountListResultPage = original.AccountListResultPage
type AccountProperties = original.AccountProperties
type AccountUpdateParameters = original.AccountUpdateParameters
type CheckSkuAvailabilityParameter = original.CheckSkuAvailabilityParameter
type CheckSkuAvailabilityResult = original.CheckSkuAvailabilityResult
type CheckSkuAvailabilityResultList = original.CheckSkuAvailabilityResultList
type Error = original.Error
type ErrorBody = original.ErrorBody
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationEntity = original.OperationEntity
type OperationEntityListResult = original.OperationEntityListResult
type OperationEntityListResultIterator = original.OperationEntityListResultIterator
type OperationEntityListResultPage = original.OperationEntityListResultPage
type RegenerateKeyParameters = original.RegenerateKeyParameters
type ResourceAndSku = original.ResourceAndSku
type Sku = original.Sku
type OperationsClient = original.OperationsClient
type AccountsClient = original.AccountsClient
type CheckSkuAvailabilityClient = original.CheckSkuAvailabilityClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewCheckSkuAvailabilityClient(subscriptionID string) CheckSkuAvailabilityClient {
return original.NewCheckSkuAvailabilityClient(subscriptionID)
}
func NewCheckSkuAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckSkuAvailabilityClient {
return original.NewCheckSkuAvailabilityClientWithBaseURI(baseURI, subscriptionID)
}
@@ -0,0 +1,149 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package newssearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/newssearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeArticle Type = original.TypeArticle
TypeCreativeWork Type = original.TypeCreativeWork
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeImageObject Type = original.TypeImageObject
TypeMediaObject Type = original.TypeMediaObject
TypeNews Type = original.TypeNews
TypeNewsArticle Type = original.TypeNewsArticle
TypeNewsTopic Type = original.TypeNewsTopic
TypeOrganization Type = original.TypeOrganization
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer
TypeThing Type = original.TypeThing
TypeTrendingTopics Type = original.TypeTrendingTopics
TypeVideoObject Type = original.TypeVideoObject
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicArticle = original.BasicArticle
type Article = original.Article
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type News = original.News
type NewsArticle = original.NewsArticle
type NewsTopic = original.NewsTopic
type Organization = original.Organization
type Query = original.Query
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicThing = original.BasicThing
type Thing = original.Thing
type TrendingTopics = original.TrendingTopics
type VideoObject = original.VideoObject
type NewsClient = original.NewsClient
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func NewNewsClient() NewsClient {
return original.NewNewsClient()
}
func NewNewsClientWithBaseURI(baseURI string) NewsClient {
return original.NewNewsClientWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
@@ -0,0 +1,107 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package spellcheck
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/spellcheck"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ActionType = original.ActionType
const (
Edit ActionType = original.Edit
Load ActionType = original.Load
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type ErrorType = original.ErrorType
const (
RepeatedToken ErrorType = original.RepeatedToken
UnknownToken ErrorType = original.UnknownToken
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSpellCheck Type = original.TypeSpellCheck
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type SpellCheck = original.SpellCheck
type SpellingFlaggedToken = original.SpellingFlaggedToken
type SpellingTokenSuggestion = original.SpellingTokenSuggestion
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
@@ -0,0 +1,69 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package textanalytics
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/textanalytics"
type BaseClient = original.BaseClient
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type BatchInput = original.BatchInput
type DetectedLanguage = original.DetectedLanguage
type ErrorRecord = original.ErrorRecord
type ErrorResponse = original.ErrorResponse
type Input = original.Input
type InternalError = original.InternalError
type KeyPhraseBatchResult = original.KeyPhraseBatchResult
type KeyPhraseBatchResultItem = original.KeyPhraseBatchResultItem
type LanguageBatchResult = original.LanguageBatchResult
type LanguageBatchResultItem = original.LanguageBatchResultItem
type MultiLanguageBatchInput = original.MultiLanguageBatchInput
type MultiLanguageInput = original.MultiLanguageInput
type SentimentBatchResult = original.SentimentBatchResult
type SentimentBatchResultItem = original.SentimentBatchResultItem
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
@@ -0,0 +1,189 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package videosearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/videosearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeCreativeWork Type = original.TypeCreativeWork
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeImageObject Type = original.TypeImageObject
TypeMediaObject Type = original.TypeMediaObject
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer
TypeThing Type = original.TypeThing
TypeTrendingVideos Type = original.TypeTrendingVideos
TypeVideoDetails Type = original.TypeVideoDetails
TypeVideoObject Type = original.TypeVideoObject
TypeVideos Type = original.TypeVideos
)
type VideoInsightModule = original.VideoInsightModule
const (
All VideoInsightModule = original.All
RelatedVideos VideoInsightModule = original.RelatedVideos
VideoResult VideoInsightModule = original.VideoResult
)
type VideoLength = original.VideoLength
const (
VideoLengthAll VideoLength = original.VideoLengthAll
VideoLengthLong VideoLength = original.VideoLengthLong
VideoLengthMedium VideoLength = original.VideoLengthMedium
VideoLengthShort VideoLength = original.VideoLengthShort
)
type VideoPricing = original.VideoPricing
const (
VideoPricingAll VideoPricing = original.VideoPricingAll
VideoPricingFree VideoPricing = original.VideoPricingFree
VideoPricingPaid VideoPricing = original.VideoPricingPaid
)
type VideoQueryScenario = original.VideoQueryScenario
const (
List VideoQueryScenario = original.List
SingleDominantVideo VideoQueryScenario = original.SingleDominantVideo
)
type VideoResolution = original.VideoResolution
const (
VideoResolutionAll VideoResolution = original.VideoResolutionAll
VideoResolutionHD1080p VideoResolution = original.VideoResolutionHD1080p
VideoResolutionHD720p VideoResolution = original.VideoResolutionHD720p
VideoResolutionSD480p VideoResolution = original.VideoResolutionSD480p
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type PivotSuggestions = original.PivotSuggestions
type Query = original.Query
type QueryContext = original.QueryContext
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicThing = original.BasicThing
type Thing = original.Thing
type TrendingVideos = original.TrendingVideos
type TrendingVideosCategory = original.TrendingVideosCategory
type TrendingVideosSubcategory = original.TrendingVideosSubcategory
type TrendingVideosTile = original.TrendingVideosTile
type VideoDetails = original.VideoDetails
type VideoObject = original.VideoObject
type Videos = original.Videos
type VideosModule = original.VideosModule
type VideosClient = original.VideosClient
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewVideosClient() VideosClient {
return original.NewVideosClient()
}
func NewVideosClientWithBaseURI(baseURI string) VideosClient {
return original.NewVideosClientWithBaseURI(baseURI)
}
@@ -0,0 +1,195 @@
// +build go1.9
// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
// commit ID: 2014fbbf031942474ad27a5a66dffaed5347f3fb
package websearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/websearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type AnswerType = original.AnswerType
const (
AnswerTypeComputation AnswerType = original.AnswerTypeComputation
AnswerTypeImages AnswerType = original.AnswerTypeImages
AnswerTypeNews AnswerType = original.AnswerTypeNews
AnswerTypeRelatedSearches AnswerType = original.AnswerTypeRelatedSearches
AnswerTypeSpellSuggestions AnswerType = original.AnswerTypeSpellSuggestions
AnswerTypeTimeZone AnswerType = original.AnswerTypeTimeZone
AnswerTypeVideos AnswerType = original.AnswerTypeVideos
AnswerTypeWebPages AnswerType = original.AnswerTypeWebPages
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeWebWebGrouping Type = original.TypeWebWebGrouping
)
type TypeBasicResponseBase = original.TypeBasicResponseBase
const (
TypeAnswer TypeBasicResponseBase = original.TypeAnswer
TypeArticle TypeBasicResponseBase = original.TypeArticle
TypeComputation TypeBasicResponseBase = original.TypeComputation
TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork
TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse
TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable
TypeImageObject TypeBasicResponseBase = original.TypeImageObject
TypeImages TypeBasicResponseBase = original.TypeImages
TypeIntangible TypeBasicResponseBase = original.TypeIntangible
TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject
TypeNews TypeBasicResponseBase = original.TypeNews
TypeNewsArticle TypeBasicResponseBase = original.TypeNewsArticle
TypePlaces TypeBasicResponseBase = original.TypePlaces
TypeRelatedSearchesRelatedSearchAnswer TypeBasicResponseBase = original.TypeRelatedSearchesRelatedSearchAnswer
TypeResponse TypeBasicResponseBase = original.TypeResponse
TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase
TypeSearchResponse TypeBasicResponseBase = original.TypeSearchResponse
TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
TypeSpellSuggestions TypeBasicResponseBase = original.TypeSpellSuggestions
TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue
TypeThing TypeBasicResponseBase = original.TypeThing
TypeTimeZone TypeBasicResponseBase = original.TypeTimeZone
TypeVideoObject TypeBasicResponseBase = original.TypeVideoObject
TypeVideos TypeBasicResponseBase = original.TypeVideos
TypeWebPage TypeBasicResponseBase = original.TypeWebPage
TypeWebWebAnswer TypeBasicResponseBase = original.TypeWebWebAnswer
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicArticle = original.BasicArticle
type Article = original.Article
type Computation = original.Computation
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type Images = original.Images
type BasicIntangible = original.BasicIntangible
type Intangible = original.Intangible
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type News = original.News
type NewsArticle = original.NewsArticle
type Places = original.Places
type Query = original.Query
type QueryContext = original.QueryContext
type RankingRankingGroup = original.RankingRankingGroup
type RankingRankingItem = original.RankingRankingItem
type RankingRankingResponse = original.RankingRankingResponse
type RelatedSearchesRelatedSearchAnswer = original.RelatedSearchesRelatedSearchAnswer
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type SearchResponse = original.SearchResponse
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type SpellSuggestions = original.SpellSuggestions
type StructuredValue = original.StructuredValue
type BasicThing = original.BasicThing
type Thing = original.Thing
type TimeZone = original.TimeZone
type TimeZoneTimeZoneInformation = original.TimeZoneTimeZoneInformation
type VideoObject = original.VideoObject
type Videos = original.Videos
type WebMetaTag = original.WebMetaTag
type WebPage = original.WebPage
type WebWebAnswer = original.WebWebAnswer
type BasicWebWebGrouping = original.BasicWebWebGrouping
type WebWebGrouping = original.WebWebGrouping
type WebClient = original.WebClient
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewWebClient() WebClient {
return original.NewWebClient()
}
func NewWebClientWithBaseURI(baseURI string) WebClient {
return original.NewWebClientWithBaseURI(baseURI)
}