...

Package localsearch

import "github.com/Azure/azure-sdk-for-go/profiles/preview/cognitiveservices/localsearch"
Overview
Index
Subdirectories

Overview ▾

Index ▾

Constants
func UserAgent() string
func Version() string
type Action
type Answer
type BaseClient
    func New() BaseClient
    func NewWithBaseURI(baseURI string) BaseClient
type BasicAction
type BasicAnswer
type BasicCreativeWork
type BasicEntitiesEntityPresentationInfo
type BasicError
type BasicGeoCoordinates
type BasicIdentifiable
type BasicIntangible
type BasicQueryContext
type BasicResponse
type BasicResponseBase
type BasicSearchResultsAnswer
type BasicStructuredValue
type BasicThing
type CreativeWork
type EntitiesEntityPresentationInfo
type EntityScenario
    func PossibleEntityScenarioValues() []EntityScenario
type EntityType
    func PossibleEntityTypeValues() []EntityType
type Error
type ErrorCode
    func PossibleErrorCodeValues() []ErrorCode
type ErrorResponse
type ErrorSubCode
    func PossibleErrorSubCodeValues() []ErrorSubCode
type GeoCoordinates
type Identifiable
type Intangible
type LocalClient
    func NewLocalClient() LocalClient
    func NewLocalClientWithBaseURI(baseURI string) LocalClient
type Place
type Places
type PostalAddress
type QueryContext
type Response
type ResponseBase
type ResponseFormat
    func PossibleResponseFormatValues() []ResponseFormat
type SafeSearch
    func PossibleSafeSearchValues() []SafeSearch
type SearchAction
type SearchResponse
type SearchResultsAnswer
type StructuredValue
type Thing
type Type
    func PossibleTypeValues() []Type
type TypeBasicEntitiesEntityPresentationInfo
    func PossibleTypeBasicEntitiesEntityPresentationInfoValues() []TypeBasicEntitiesEntityPresentationInfo
type TypeBasicError
    func PossibleTypeBasicErrorValues() []TypeBasicError
type TypeBasicGeoCoordinates
    func PossibleTypeBasicGeoCoordinatesValues() []TypeBasicGeoCoordinates
type TypeBasicResponseBase
    func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase

Package files

models.go

Constants

const (
    DefaultBaseURI = original.DefaultBaseURI
)

func UserAgent

func UserAgent() string

func Version

func Version() string

type Action

type Action = original.Action

type Answer

type Answer = original.Answer

type BaseClient

type BaseClient = original.BaseClient

func New

func New() BaseClient

func NewWithBaseURI

func NewWithBaseURI(baseURI string) BaseClient

type BasicAction

type BasicAction = original.BasicAction

type BasicAnswer

type BasicAnswer = original.BasicAnswer

type BasicCreativeWork

type BasicCreativeWork = original.BasicCreativeWork

type BasicEntitiesEntityPresentationInfo

type BasicEntitiesEntityPresentationInfo = original.BasicEntitiesEntityPresentationInfo

type BasicError

type BasicError = original.BasicError

type BasicGeoCoordinates

type BasicGeoCoordinates = original.BasicGeoCoordinates

type BasicIdentifiable

type BasicIdentifiable = original.BasicIdentifiable

type BasicIntangible

type BasicIntangible = original.BasicIntangible

type BasicQueryContext

type BasicQueryContext = original.BasicQueryContext

type BasicResponse

type BasicResponse = original.BasicResponse

type BasicResponseBase

type BasicResponseBase = original.BasicResponseBase

type BasicSearchResultsAnswer

type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer

type BasicStructuredValue

type BasicStructuredValue = original.BasicStructuredValue

type BasicThing

type BasicThing = original.BasicThing

type CreativeWork

type CreativeWork = original.CreativeWork

type EntitiesEntityPresentationInfo

type EntitiesEntityPresentationInfo = original.EntitiesEntityPresentationInfo

type EntityScenario

type EntityScenario = original.EntityScenario
const (
    DisambiguationItem EntityScenario = original.DisambiguationItem
    DominantEntity     EntityScenario = original.DominantEntity
    ListItem           EntityScenario = original.ListItem
)

func PossibleEntityScenarioValues

func PossibleEntityScenarioValues() []EntityScenario

type EntityType

type EntityType = original.EntityType
const (
    EntityTypeHotel         EntityType = original.EntityTypeHotel
    EntityTypeLocalBusiness EntityType = original.EntityTypeLocalBusiness
    EntityTypePlace         EntityType = original.EntityTypePlace
    EntityTypeRestaurant    EntityType = original.EntityTypeRestaurant
)

func PossibleEntityTypeValues

func PossibleEntityTypeValues() []EntityType

type Error

type Error = original.Error

type ErrorCode

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
)

func PossibleErrorCodeValues

func PossibleErrorCodeValues() []ErrorCode

type ErrorResponse

type ErrorResponse = original.ErrorResponse

type ErrorSubCode

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
)

func PossibleErrorSubCodeValues

func PossibleErrorSubCodeValues() []ErrorSubCode

type GeoCoordinates

type GeoCoordinates = original.GeoCoordinates

type Identifiable

type Identifiable = original.Identifiable

type Intangible

type Intangible = original.Intangible

type LocalClient

type LocalClient = original.LocalClient

func NewLocalClient

func NewLocalClient() LocalClient

func NewLocalClientWithBaseURI

func NewLocalClientWithBaseURI(baseURI string) LocalClient

type Place

type Place = original.Place

type Places

type Places = original.Places

type PostalAddress

type PostalAddress = original.PostalAddress

type QueryContext

type QueryContext = original.QueryContext

type Response

type Response = original.Response

type ResponseBase

type ResponseBase = original.ResponseBase

type ResponseFormat

type ResponseFormat = original.ResponseFormat
const (
    JSON   ResponseFormat = original.JSON
    JSONLd ResponseFormat = original.JSONLd
)

func PossibleResponseFormatValues

func PossibleResponseFormatValues() []ResponseFormat

type SafeSearch

type SafeSearch = original.SafeSearch
const (
    Moderate SafeSearch = original.Moderate
    Off      SafeSearch = original.Off
    Strict   SafeSearch = original.Strict
)

func PossibleSafeSearchValues

func PossibleSafeSearchValues() []SafeSearch

type SearchAction

type SearchAction = original.SearchAction

type SearchResponse

type SearchResponse = original.SearchResponse

type SearchResultsAnswer

type SearchResultsAnswer = original.SearchResultsAnswer

type StructuredValue

type StructuredValue = original.StructuredValue

type Thing

type Thing = original.Thing

type Type

type Type = original.Type
const (
    TypeQueryContext Type = original.TypeQueryContext
)

func PossibleTypeValues

func PossibleTypeValues() []Type

type TypeBasicEntitiesEntityPresentationInfo

type TypeBasicEntitiesEntityPresentationInfo = original.TypeBasicEntitiesEntityPresentationInfo
const (
    TypeEntitiesEntityPresentationInfo TypeBasicEntitiesEntityPresentationInfo = original.TypeEntitiesEntityPresentationInfo
)

func PossibleTypeBasicEntitiesEntityPresentationInfoValues

func PossibleTypeBasicEntitiesEntityPresentationInfoValues() []TypeBasicEntitiesEntityPresentationInfo

type TypeBasicError

type TypeBasicError = original.TypeBasicError
const (
    TypeError TypeBasicError = original.TypeError
)

func PossibleTypeBasicErrorValues

func PossibleTypeBasicErrorValues() []TypeBasicError

type TypeBasicGeoCoordinates

type TypeBasicGeoCoordinates = original.TypeBasicGeoCoordinates
const (
    TypeGeoCoordinates TypeBasicGeoCoordinates = original.TypeGeoCoordinates
)

func PossibleTypeBasicGeoCoordinatesValues

func PossibleTypeBasicGeoCoordinatesValues() []TypeBasicGeoCoordinates

type TypeBasicResponseBase

type TypeBasicResponseBase = original.TypeBasicResponseBase
const (
    TypeAction              TypeBasicResponseBase = original.TypeAction
    TypeAnswer              TypeBasicResponseBase = original.TypeAnswer
    TypeCreativeWork        TypeBasicResponseBase = original.TypeCreativeWork
    TypeErrorResponse       TypeBasicResponseBase = original.TypeErrorResponse
    TypeIdentifiable        TypeBasicResponseBase = original.TypeIdentifiable
    TypeIntangible          TypeBasicResponseBase = original.TypeIntangible
    TypePlace               TypeBasicResponseBase = original.TypePlace
    TypePlaces              TypeBasicResponseBase = original.TypePlaces
    TypePostalAddress       TypeBasicResponseBase = original.TypePostalAddress
    TypeResponse            TypeBasicResponseBase = original.TypeResponse
    TypeResponseBase        TypeBasicResponseBase = original.TypeResponseBase
    TypeSearchAction        TypeBasicResponseBase = original.TypeSearchAction
    TypeSearchResponse      TypeBasicResponseBase = original.TypeSearchResponse
    TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
    TypeStructuredValue     TypeBasicResponseBase = original.TypeStructuredValue
    TypeThing               TypeBasicResponseBase = original.TypeThing
)

func PossibleTypeBasicResponseBaseValues

func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase

Subdirectories

Name Synopsis
..
localsearchapi