Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the ImagesImageMetadata class.
 /// </summary>
 /// <param name="shoppingSourcesCount">The number of websites that
 /// offer goods of the products seen in the image.</param>
 /// <param name="recipeSourcesCount">The number of websites that offer
 /// recipes of the food seen in the image.</param>
 /// <param name="aggregateOffer">A summary of the online offers of
 /// products found in the image. For example, if the image is of a
 /// dress, the offer might identify the lowest price and the number of
 /// offers found. Only visually similar products insights include this
 /// field. The offer includes the following fields: Name,
 /// AggregateRating, OfferCount, and LowPrice.</param>
 public ImagesImageMetadata(int?shoppingSourcesCount = default(int?), int?recipeSourcesCount = default(int?), AggregateOffer aggregateOffer = default(AggregateOffer))
 {
     ShoppingSourcesCount = shoppingSourcesCount;
     RecipeSourcesCount   = recipeSourcesCount;
     AggregateOffer       = aggregateOffer;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the ImageInsights class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource.</param>
 /// <param name="webSearchUrl">The URL To Bing's search result for this
 /// item.</param>
 /// <param name="imageInsightsToken">A token that you use in a
 /// subsequent call to the Image Search API to get more information
 /// about the image. For information about using this token, see the
 /// insightsToken query parameter. This token has the same usage as the
 /// token in the Image object.</param>
 /// <param name="bestRepresentativeQuery">The query term that best
 /// represents the image. Clicking the link in the Query object, takes
 /// the user to a webpage with more pictures of the image.</param>
 /// <param name="imageCaption">The caption to use for the
 /// image.</param>
 /// <param name="relatedCollections">A list of links to webpages that
 /// contain related images.</param>
 /// <param name="pagesIncluding">A list of webpages that contain the
 /// image. To access the webpage, use the URL in the image's
 /// hostPageUrl field.</param>
 /// <param name="shoppingSources">A list of merchants that offer items
 /// related to the image. For example, if the image is of an apple pie,
 /// the list contains merchants that are selling apple pies.</param>
 /// <param name="relatedSearches">A list of related queries made by
 /// others.</param>
 /// <param name="recipes">A list of recipes related to the image. For
 /// example, if the image is of an apple pie, the list contains recipes
 /// for making an apple pie.</param>
 /// <param name="visuallySimilarImages">A list of images that are
 /// visually similar to the original image. For example, if the
 /// specified image is of a sunset over a body of water, the list of
 /// similar images are of a sunset over a body of water. If the
 /// specified image is of a person, similar images might be of the same
 /// person or they might be of persons dressed similarly or in a
 /// similar setting. The criteria for similarity continues to
 /// evolve.</param>
 /// <param name="visuallySimilarProducts">A list of images that contain
 /// products that are visually similar to products found in the
 /// original image. For example, if the specified image contains a
 /// dress, the list of similar images contain a dress. The image
 /// provides summary information about offers that Bing found online
 /// for the product.</param>
 /// <param name="recognizedEntityGroups">A list of groups that contain
 /// images of entities that match the entity found in the specified
 /// image. For example, the response might include images from the
 /// general celebrity group if the entity was recognized in that
 /// group.</param>
 /// <param name="imageTags">A list of characteristics of the content
 /// found in the image. For example, if the image is of a person, the
 /// tags might indicate the person's gender and the type of clothes
 /// they're wearing.</param>
 public ImageInsights(string id = default(string), string readLink = default(string), string webSearchUrl = default(string), string imageInsightsToken = default(string), Query bestRepresentativeQuery = default(Query), ImageInsightsImageCaption imageCaption = default(ImageInsightsImageCaption), RelatedCollectionsModule relatedCollections = default(RelatedCollectionsModule), ImagesModule pagesIncluding = default(ImagesModule), AggregateOffer shoppingSources = default(AggregateOffer), RelatedSearchesModule relatedSearches = default(RelatedSearchesModule), RecipesModule recipes = default(RecipesModule), ImagesModule visuallySimilarImages = default(ImagesModule), ImagesModule visuallySimilarProducts = default(ImagesModule), RecognizedEntitiesModule recognizedEntityGroups = default(RecognizedEntitiesModule), ImageTagsModule imageTags = default(ImageTagsModule))
     : base(id, readLink, webSearchUrl)
 {
     ImageInsightsToken      = imageInsightsToken;
     BestRepresentativeQuery = bestRepresentativeQuery;
     ImageCaption            = imageCaption;
     RelatedCollections      = relatedCollections;
     PagesIncluding          = pagesIncluding;
     ShoppingSources         = shoppingSources;
     RelatedSearches         = relatedSearches;
     Recipes = recipes;
     VisuallySimilarImages   = visuallySimilarImages;
     VisuallySimilarProducts = visuallySimilarProducts;
     RecognizedEntityGroups  = recognizedEntityGroups;
     ImageTags = imageTags;
     CustomInit();
 }