/// <summary> /// Initializes a new instance of the VideoObject class. /// </summary> /// <param name="id">A String identifier.</param> /// <param name="webSearchUrl">The URL To Bing's search result for this /// item.</param> /// <param name="name">The name of the thing represented by this /// object.</param> /// <param name="url">The URL to get more information about the thing /// represented by this object.</param> /// <param name="description">A short description of the item.</param> /// <param name="bingId">An ID that uniquely identifies this /// item.</param> /// <param name="thumbnailUrl">The URL to a thumbnail of the /// item.</param> /// <param name="provider">The source of the creative work.</param> /// <param name="contentUrl">Original URL to retrieve the source (file) /// for the media object (e.g the source URL for the image).</param> /// <param name="hostPageUrl">URL of the page that hosts the media /// object.</param> /// <param name="width">The width of the source media object, in /// pixels.</param> /// <param name="height">The height of the source media object, in /// pixels.</param> public VideoObject(string id = default(string), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), string alternateName = default(string), string bingId = default(string), string thumbnailUrl = default(string), IList <Thing> provider = default(IList <Thing>), string text = default(string), string contentUrl = default(string), string hostPageUrl = default(string), int?width = default(int?), int?height = default(int?), string motionThumbnailUrl = default(string), string motionThumbnailId = default(string), string embedHtml = default(string), bool?allowHttpsEmbed = default(bool?), int?viewCount = default(int?), ImageObject thumbnail = default(ImageObject), string videoId = default(string), bool?allowMobileEmbed = default(bool?), bool?isSuperfresh = default(bool?)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, text, contentUrl, hostPageUrl, width, height) { MotionThumbnailUrl = motionThumbnailUrl; MotionThumbnailId = motionThumbnailId; EmbedHtml = embedHtml; AllowHttpsEmbed = allowHttpsEmbed; ViewCount = viewCount; Thumbnail = thumbnail; VideoId = videoId; AllowMobileEmbed = allowMobileEmbed; IsSuperfresh = isSuperfresh; CustomInit(); }
/// <summary> /// Initializes a new instance of the TrendingVideosTile class. /// </summary> public TrendingVideosTile(Query query, ImageObject image) { Query = query; Image = image; CustomInit(); }
/// <summary> /// Initializes a new instance of the MediaObject class. /// </summary> /// <param name="id">A String identifier.</param> /// <param name="webSearchUrl">The URL To Bing's search result for this /// item.</param> /// <param name="name">The name of the thing represented by this /// object.</param> /// <param name="url">The URL to get more information about the thing /// represented by this object.</param> /// <param name="description">A short description of the item.</param> /// <param name="bingId">An ID that uniquely identifies this /// item.</param> /// <param name="thumbnailUrl">The URL to a thumbnail of the /// item.</param> /// <param name="provider">The source of the creative work.</param> /// <param name="contentUrl">Original URL to retrieve the source (file) /// for the media object (e.g the source URL for the image).</param> /// <param name="hostPageUrl">URL of the page that hosts the media /// object.</param> /// <param name="width">The width of the source media object, in /// pixels.</param> /// <param name="height">The height of the source media object, in /// pixels.</param> public MediaObject(string id = default(string), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), string alternateName = default(string), string bingId = default(string), string thumbnailUrl = default(string), IList <Thing> provider = default(IList <Thing>), string text = default(string), string contentUrl = default(string), string hostPageUrl = default(string), int?width = default(int?), int?height = default(int?)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, text) { ContentUrl = contentUrl; HostPageUrl = hostPageUrl; Width = width; Height = height; CustomInit(); }
/// <summary> /// Initializes a new instance of the ImageObject class. /// </summary> /// <param name="id">A String identifier.</param> /// <param name="webSearchUrl">The URL To Bing's search result for this /// item.</param> /// <param name="name">The name of the thing represented by this /// object.</param> /// <param name="url">The URL to get more information about the thing /// represented by this object.</param> /// <param name="description">A short description of the item.</param> /// <param name="bingId">An ID that uniquely identifies this /// item.</param> /// <param name="thumbnailUrl">The URL to a thumbnail of the /// item.</param> /// <param name="provider">The source of the creative work.</param> /// <param name="contentUrl">Original URL to retrieve the source (file) /// for the media object (e.g the source URL for the image).</param> /// <param name="hostPageUrl">URL of the page that hosts the media /// object.</param> /// <param name="width">The width of the source media object, in /// pixels.</param> /// <param name="height">The height of the source media object, in /// pixels.</param> /// <param name="thumbnail">The URL to a thumbnail of the image</param> public ImageObject(string id = default(string), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), string alternateName = default(string), string bingId = default(string), string thumbnailUrl = default(string), IList <Thing> provider = default(IList <Thing>), string text = default(string), string contentUrl = default(string), string hostPageUrl = default(string), int?width = default(int?), int?height = default(int?), ImageObject thumbnail = default(ImageObject)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, text, contentUrl, hostPageUrl, width, height) { Thumbnail = thumbnail; CustomInit(); }
/// <summary> /// Initializes a new instance of the CreativeWork class. /// </summary> /// <param name="id">A String identifier.</param> /// <param name="webSearchUrl">The URL To Bing's search result for this /// item.</param> /// <param name="name">The name of the thing represented by this /// object.</param> /// <param name="url">The URL to get more information about the thing /// represented by this object.</param> /// <param name="description">A short description of the item.</param> /// <param name="bingId">An ID that uniquely identifies this /// item.</param> /// <param name="thumbnailUrl">The URL to a thumbnail of the /// item.</param> /// <param name="provider">The source of the creative work.</param> public CreativeWork(string id = default(string), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), string alternateName = default(string), string bingId = default(string), string thumbnailUrl = default(string), IList <Thing> provider = default(IList <Thing>), string text = default(string)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId) { ThumbnailUrl = thumbnailUrl; Provider = provider; Text = text; CustomInit(); }
/// <summary> /// Initializes a new instance of the Query class. /// </summary> /// <param name="text">The query string. Use this string as the query /// term in a new search request.</param> /// <param name="displayText">The display version of the query term. /// This version of the query term may contain special characters that /// highlight the search term found in the query string. The string /// contains the highlighting characters only if the query enabled hit /// highlighting</param> /// <param name="webSearchUrl">The URL that takes the user to the Bing /// search results page for the query.Only related search results /// include this field.</param> public Query(string text, string displayText = default(string), string webSearchUrl = default(string), string searchLink = default(string), ImageObject thumbnail = default(ImageObject)) { Text = text; DisplayText = displayText; WebSearchUrl = webSearchUrl; SearchLink = searchLink; Thumbnail = thumbnail; CustomInit(); }
/// <summary> /// Initializes a new instance of the Thing class. /// </summary> /// <param name="id">A String identifier.</param> /// <param name="webSearchUrl">The URL To Bing's search result for this /// item.</param> /// <param name="name">The name of the thing represented by this /// object.</param> /// <param name="url">The URL to get more information about the thing /// represented by this object.</param> /// <param name="description">A short description of the item.</param> /// <param name="bingId">An ID that uniquely identifies this /// item.</param> public Thing(string id = default(string), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), string alternateName = default(string), string bingId = default(string)) : base(id, webSearchUrl) { Name = name; Url = url; Image = image; Description = description; AlternateName = alternateName; BingId = bingId; CustomInit(); }