...

Source file src/github.com/Azure/azure-sdk-for-go/profiles/preview/cognitiveservices/entitysearch/models.go

Documentation: github.com/Azure/azure-sdk-for-go/profiles/preview/cognitiveservices/entitysearch

     1  //go:build go1.9
     2  // +build go1.9
     3  
     4  // Copyright (c) Microsoft Corporation. All rights reserved.
     5  // Licensed under the MIT License. See License.txt in the project root for license information.
     6  
     7  // This code was auto-generated by:
     8  // github.com/Azure/azure-sdk-for-go/eng/tools/profileBuilder
     9  
    10  package entitysearch
    11  
    12  import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/entitysearch"
    13  
    14  const (
    15  	DefaultEndpoint = original.DefaultEndpoint
    16  )
    17  
    18  type AnswerType = original.AnswerType
    19  
    20  const (
    21  	AnswerTypeEntities AnswerType = original.AnswerTypeEntities
    22  	AnswerTypePlaces   AnswerType = original.AnswerTypePlaces
    23  )
    24  
    25  type EntityQueryScenario = original.EntityQueryScenario
    26  
    27  const (
    28  	Disambiguation                   EntityQueryScenario = original.Disambiguation
    29  	DominantEntity                   EntityQueryScenario = original.DominantEntity
    30  	DominantEntityWithDisambiguation EntityQueryScenario = original.DominantEntityWithDisambiguation
    31  	List                             EntityQueryScenario = original.List
    32  	ListWithPivot                    EntityQueryScenario = original.ListWithPivot
    33  )
    34  
    35  type EntityScenario = original.EntityScenario
    36  
    37  const (
    38  	EntityScenarioDisambiguationItem EntityScenario = original.EntityScenarioDisambiguationItem
    39  	EntityScenarioDominantEntity     EntityScenario = original.EntityScenarioDominantEntity
    40  	EntityScenarioListItem           EntityScenario = original.EntityScenarioListItem
    41  )
    42  
    43  type EntityType = original.EntityType
    44  
    45  const (
    46  	EntityTypeActor               EntityType = original.EntityTypeActor
    47  	EntityTypeAnimal              EntityType = original.EntityTypeAnimal
    48  	EntityTypeArtist              EntityType = original.EntityTypeArtist
    49  	EntityTypeAttorney            EntityType = original.EntityTypeAttorney
    50  	EntityTypeAttraction          EntityType = original.EntityTypeAttraction
    51  	EntityTypeBook                EntityType = original.EntityTypeBook
    52  	EntityTypeCar                 EntityType = original.EntityTypeCar
    53  	EntityTypeCity                EntityType = original.EntityTypeCity
    54  	EntityTypeCollegeOrUniversity EntityType = original.EntityTypeCollegeOrUniversity
    55  	EntityTypeComposition         EntityType = original.EntityTypeComposition
    56  	EntityTypeContinent           EntityType = original.EntityTypeContinent
    57  	EntityTypeCountry             EntityType = original.EntityTypeCountry
    58  	EntityTypeDrug                EntityType = original.EntityTypeDrug
    59  	EntityTypeEvent               EntityType = original.EntityTypeEvent
    60  	EntityTypeFood                EntityType = original.EntityTypeFood
    61  	EntityTypeGeneric             EntityType = original.EntityTypeGeneric
    62  	EntityTypeHotel               EntityType = original.EntityTypeHotel
    63  	EntityTypeHouse               EntityType = original.EntityTypeHouse
    64  	EntityTypeLocalBusiness       EntityType = original.EntityTypeLocalBusiness
    65  	EntityTypeLocality            EntityType = original.EntityTypeLocality
    66  	EntityTypeMedia               EntityType = original.EntityTypeMedia
    67  	EntityTypeMinorRegion         EntityType = original.EntityTypeMinorRegion
    68  	EntityTypeMovie               EntityType = original.EntityTypeMovie
    69  	EntityTypeMusicAlbum          EntityType = original.EntityTypeMusicAlbum
    70  	EntityTypeMusicGroup          EntityType = original.EntityTypeMusicGroup
    71  	EntityTypeMusicRecording      EntityType = original.EntityTypeMusicRecording
    72  	EntityTypeNeighborhood        EntityType = original.EntityTypeNeighborhood
    73  	EntityTypeOrganization        EntityType = original.EntityTypeOrganization
    74  	EntityTypeOther               EntityType = original.EntityTypeOther
    75  	EntityTypePerson              EntityType = original.EntityTypePerson
    76  	EntityTypePlace               EntityType = original.EntityTypePlace
    77  	EntityTypePointOfInterest     EntityType = original.EntityTypePointOfInterest
    78  	EntityTypePostalCode          EntityType = original.EntityTypePostalCode
    79  	EntityTypeProduct             EntityType = original.EntityTypeProduct
    80  	EntityTypeRadioStation        EntityType = original.EntityTypeRadioStation
    81  	EntityTypeRegion              EntityType = original.EntityTypeRegion
    82  	EntityTypeRestaurant          EntityType = original.EntityTypeRestaurant
    83  	EntityTypeSchool              EntityType = original.EntityTypeSchool
    84  	EntityTypeSpeciality          EntityType = original.EntityTypeSpeciality
    85  	EntityTypeSportsTeam          EntityType = original.EntityTypeSportsTeam
    86  	EntityTypeState               EntityType = original.EntityTypeState
    87  	EntityTypeStreetAddress       EntityType = original.EntityTypeStreetAddress
    88  	EntityTypeSubRegion           EntityType = original.EntityTypeSubRegion
    89  	EntityTypeTelevisionSeason    EntityType = original.EntityTypeTelevisionSeason
    90  	EntityTypeTelevisionShow      EntityType = original.EntityTypeTelevisionShow
    91  	EntityTypeTheaterPlay         EntityType = original.EntityTypeTheaterPlay
    92  	EntityTypeTouristAttraction   EntityType = original.EntityTypeTouristAttraction
    93  	EntityTypeTravel              EntityType = original.EntityTypeTravel
    94  	EntityTypeVideoGame           EntityType = original.EntityTypeVideoGame
    95  )
    96  
    97  type ErrorCode = original.ErrorCode
    98  
    99  const (
   100  	InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
   101  	InvalidAuthorization      ErrorCode = original.InvalidAuthorization
   102  	InvalidRequest            ErrorCode = original.InvalidRequest
   103  	None                      ErrorCode = original.None
   104  	RateLimitExceeded         ErrorCode = original.RateLimitExceeded
   105  	ServerError               ErrorCode = original.ServerError
   106  )
   107  
   108  type ErrorSubCode = original.ErrorSubCode
   109  
   110  const (
   111  	AuthorizationDisabled   ErrorSubCode = original.AuthorizationDisabled
   112  	AuthorizationExpired    ErrorSubCode = original.AuthorizationExpired
   113  	AuthorizationMissing    ErrorSubCode = original.AuthorizationMissing
   114  	AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
   115  	Blocked                 ErrorSubCode = original.Blocked
   116  	HTTPNotAllowed          ErrorSubCode = original.HTTPNotAllowed
   117  	NotImplemented          ErrorSubCode = original.NotImplemented
   118  	ParameterInvalidValue   ErrorSubCode = original.ParameterInvalidValue
   119  	ParameterMissing        ErrorSubCode = original.ParameterMissing
   120  	ResourceError           ErrorSubCode = original.ResourceError
   121  	UnexpectedError         ErrorSubCode = original.UnexpectedError
   122  )
   123  
   124  type ResponseFormat = original.ResponseFormat
   125  
   126  const (
   127  	JSON   ResponseFormat = original.JSON
   128  	JSONLd ResponseFormat = original.JSONLd
   129  )
   130  
   131  type SafeSearch = original.SafeSearch
   132  
   133  const (
   134  	Moderate SafeSearch = original.Moderate
   135  	Off      SafeSearch = original.Off
   136  	Strict   SafeSearch = original.Strict
   137  )
   138  
   139  type Type = original.Type
   140  
   141  const (
   142  	TypeContractualRulesAttribution        Type = original.TypeContractualRulesAttribution
   143  	TypeContractualRulesContractualRule    Type = original.TypeContractualRulesContractualRule
   144  	TypeContractualRulesLicenseAttribution Type = original.TypeContractualRulesLicenseAttribution
   145  	TypeContractualRulesLinkAttribution    Type = original.TypeContractualRulesLinkAttribution
   146  	TypeContractualRulesMediaAttribution   Type = original.TypeContractualRulesMediaAttribution
   147  	TypeContractualRulesTextAttribution    Type = original.TypeContractualRulesTextAttribution
   148  )
   149  
   150  type TypeBasicResponseBase = original.TypeBasicResponseBase
   151  
   152  const (
   153  	TypeAirport               TypeBasicResponseBase = original.TypeAirport
   154  	TypeAnswer                TypeBasicResponseBase = original.TypeAnswer
   155  	TypeCivicStructure        TypeBasicResponseBase = original.TypeCivicStructure
   156  	TypeCreativeWork          TypeBasicResponseBase = original.TypeCreativeWork
   157  	TypeEntertainmentBusiness TypeBasicResponseBase = original.TypeEntertainmentBusiness
   158  	TypeEntities              TypeBasicResponseBase = original.TypeEntities
   159  	TypeErrorResponse         TypeBasicResponseBase = original.TypeErrorResponse
   160  	TypeFoodEstablishment     TypeBasicResponseBase = original.TypeFoodEstablishment
   161  	TypeHotel                 TypeBasicResponseBase = original.TypeHotel
   162  	TypeIdentifiable          TypeBasicResponseBase = original.TypeIdentifiable
   163  	TypeImageObject           TypeBasicResponseBase = original.TypeImageObject
   164  	TypeIntangible            TypeBasicResponseBase = original.TypeIntangible
   165  	TypeLicense               TypeBasicResponseBase = original.TypeLicense
   166  	TypeLocalBusiness         TypeBasicResponseBase = original.TypeLocalBusiness
   167  	TypeLodgingBusiness       TypeBasicResponseBase = original.TypeLodgingBusiness
   168  	TypeMediaObject           TypeBasicResponseBase = original.TypeMediaObject
   169  	TypeMovieTheater          TypeBasicResponseBase = original.TypeMovieTheater
   170  	TypeOrganization          TypeBasicResponseBase = original.TypeOrganization
   171  	TypePlace                 TypeBasicResponseBase = original.TypePlace
   172  	TypePlaces                TypeBasicResponseBase = original.TypePlaces
   173  	TypePostalAddress         TypeBasicResponseBase = original.TypePostalAddress
   174  	TypeResponse              TypeBasicResponseBase = original.TypeResponse
   175  	TypeResponseBase          TypeBasicResponseBase = original.TypeResponseBase
   176  	TypeRestaurant            TypeBasicResponseBase = original.TypeRestaurant
   177  	TypeSearchResponse        TypeBasicResponseBase = original.TypeSearchResponse
   178  	TypeSearchResultsAnswer   TypeBasicResponseBase = original.TypeSearchResultsAnswer
   179  	TypeStructuredValue       TypeBasicResponseBase = original.TypeStructuredValue
   180  	TypeThing                 TypeBasicResponseBase = original.TypeThing
   181  	TypeTouristAttraction     TypeBasicResponseBase = original.TypeTouristAttraction
   182  )
   183  
   184  type Airport = original.Airport
   185  type Answer = original.Answer
   186  type BaseClient = original.BaseClient
   187  type BasicAnswer = original.BasicAnswer
   188  type BasicCivicStructure = original.BasicCivicStructure
   189  type BasicContractualRulesAttribution = original.BasicContractualRulesAttribution
   190  type BasicContractualRulesContractualRule = original.BasicContractualRulesContractualRule
   191  type BasicCreativeWork = original.BasicCreativeWork
   192  type BasicEntertainmentBusiness = original.BasicEntertainmentBusiness
   193  type BasicFoodEstablishment = original.BasicFoodEstablishment
   194  type BasicIdentifiable = original.BasicIdentifiable
   195  type BasicIntangible = original.BasicIntangible
   196  type BasicLocalBusiness = original.BasicLocalBusiness
   197  type BasicLodgingBusiness = original.BasicLodgingBusiness
   198  type BasicMediaObject = original.BasicMediaObject
   199  type BasicPlace = original.BasicPlace
   200  type BasicResponse = original.BasicResponse
   201  type BasicResponseBase = original.BasicResponseBase
   202  type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
   203  type BasicStructuredValue = original.BasicStructuredValue
   204  type BasicThing = original.BasicThing
   205  type CivicStructure = original.CivicStructure
   206  type ContractualRulesAttribution = original.ContractualRulesAttribution
   207  type ContractualRulesContractualRule = original.ContractualRulesContractualRule
   208  type ContractualRulesLicenseAttribution = original.ContractualRulesLicenseAttribution
   209  type ContractualRulesLinkAttribution = original.ContractualRulesLinkAttribution
   210  type ContractualRulesMediaAttribution = original.ContractualRulesMediaAttribution
   211  type ContractualRulesTextAttribution = original.ContractualRulesTextAttribution
   212  type CreativeWork = original.CreativeWork
   213  type EntertainmentBusiness = original.EntertainmentBusiness
   214  type Entities = original.Entities
   215  type EntitiesClient = original.EntitiesClient
   216  type EntitiesEntityPresentationInfo = original.EntitiesEntityPresentationInfo
   217  type Error = original.Error
   218  type ErrorResponse = original.ErrorResponse
   219  type FoodEstablishment = original.FoodEstablishment
   220  type Hotel = original.Hotel
   221  type Identifiable = original.Identifiable
   222  type ImageObject = original.ImageObject
   223  type Intangible = original.Intangible
   224  type License = original.License
   225  type LocalBusiness = original.LocalBusiness
   226  type LodgingBusiness = original.LodgingBusiness
   227  type MediaObject = original.MediaObject
   228  type MovieTheater = original.MovieTheater
   229  type Organization = original.Organization
   230  type Place = original.Place
   231  type Places = original.Places
   232  type PostalAddress = original.PostalAddress
   233  type QueryContext = original.QueryContext
   234  type Response = original.Response
   235  type ResponseBase = original.ResponseBase
   236  type Restaurant = original.Restaurant
   237  type SearchResponse = original.SearchResponse
   238  type SearchResultsAnswer = original.SearchResultsAnswer
   239  type StructuredValue = original.StructuredValue
   240  type Thing = original.Thing
   241  type TouristAttraction = original.TouristAttraction
   242  
   243  func New() BaseClient {
   244  	return original.New()
   245  }
   246  func NewEntitiesClient() EntitiesClient {
   247  	return original.NewEntitiesClient()
   248  }
   249  func NewWithoutDefaults(endpoint string) BaseClient {
   250  	return original.NewWithoutDefaults(endpoint)
   251  }
   252  func PossibleAnswerTypeValues() []AnswerType {
   253  	return original.PossibleAnswerTypeValues()
   254  }
   255  func PossibleEntityQueryScenarioValues() []EntityQueryScenario {
   256  	return original.PossibleEntityQueryScenarioValues()
   257  }
   258  func PossibleEntityScenarioValues() []EntityScenario {
   259  	return original.PossibleEntityScenarioValues()
   260  }
   261  func PossibleEntityTypeValues() []EntityType {
   262  	return original.PossibleEntityTypeValues()
   263  }
   264  func PossibleErrorCodeValues() []ErrorCode {
   265  	return original.PossibleErrorCodeValues()
   266  }
   267  func PossibleErrorSubCodeValues() []ErrorSubCode {
   268  	return original.PossibleErrorSubCodeValues()
   269  }
   270  func PossibleResponseFormatValues() []ResponseFormat {
   271  	return original.PossibleResponseFormatValues()
   272  }
   273  func PossibleSafeSearchValues() []SafeSearch {
   274  	return original.PossibleSafeSearchValues()
   275  }
   276  func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
   277  	return original.PossibleTypeBasicResponseBaseValues()
   278  }
   279  func PossibleTypeValues() []Type {
   280  	return original.PossibleTypeValues()
   281  }
   282  func UserAgent() string {
   283  	return original.UserAgent() + " profiles/preview"
   284  }
   285  func Version() string {
   286  	return original.Version()
   287  }
   288  

View as plain text