/// <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="image">An image of the item.</param> /// <param name="description">A short description of the item.</param> /// <param name="alternateName">An alias for 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="datePublished">The date on which the CreativeWork was /// published.</param> /// <param name="video">A video of the item.</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 datePublished = default(string), VideoObject video = default(VideoObject)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId) { ThumbnailUrl = thumbnailUrl; Provider = provider; DatePublished = datePublished; Video = video; CustomInit(); }
/// <summary> /// Initializes a new instance of the NewsArticle 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="image">An image of the item.</param> /// <param name="description">A short description of the item.</param> /// <param name="alternateName">An alias for 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="datePublished">The date on which the CreativeWork was /// published.</param> /// <param name="video">A video of the item.</param> /// <param name="wordCount">The number of words in the text of the /// Article.</param> /// <param name="category">The news category that the article belongs /// to. For example, Sports. If the news category cannot be determined, /// the article does not include this field.</param> /// <param name="headline">A Boolean value that indicates whether the /// news article is a headline. If true, the article is a headline. The /// article includes this field only for news categories requests that /// do not specify the category query parameter.</param> /// <param name="clusteredArticles">A list of related news /// articles.</param> public NewsArticle(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 datePublished = default(string), VideoObject video = default(VideoObject), int?wordCount = default(int?), string category = default(string), bool?headline = default(bool?), IList <NewsArticle> clusteredArticles = default(IList <NewsArticle>)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, video, wordCount) { Category = category; Headline = headline; ClusteredArticles = clusteredArticles; CustomInit(); }
/// <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="image">An image of the item.</param> /// <param name="description">A short description of the item.</param> /// <param name="alternateName">An alias for 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="datePublished">The date on which the CreativeWork was /// published.</param> /// <param name="video">A video of the item.</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="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 datePublished = default(string), VideoObject video = default(VideoObject), string contentUrl = 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, datePublished, video, contentUrl, 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 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="image">An image of the item.</param> /// <param name="description">A short description of the item.</param> /// <param name="alternateName">An alias for 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="datePublished">The date on which the CreativeWork was /// published.</param> /// <param name="video">A video of the item.</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="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 datePublished = default(string), VideoObject video = default(VideoObject), string contentUrl = default(string), int?width = default(int?), int?height = default(int?)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, video) { ContentUrl = contentUrl; Width = width; Height = height; CustomInit(); }
/// <summary> /// Initializes a new instance of the Article 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="image">An image of the item.</param> /// <param name="description">A short description of the item.</param> /// <param name="alternateName">An alias for 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="datePublished">The date on which the CreativeWork was /// published.</param> /// <param name="video">A video of the item.</param> /// <param name="wordCount">The number of words in the text of the /// Article.</param> public Article(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 datePublished = default(string), VideoObject video = default(VideoObject), int?wordCount = default(int?)) : base(id, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, video) { WordCount = wordCount; CustomInit(); }