/// <summary> /// Initializes a new instance of the AggregateOffer 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="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="seller">Seller for this offer</param> /// <param name="price">The item's price.</param> /// <param name="priceCurrency">The monetary currency. For example, /// USD. Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', /// 'JPY', 'CNY', 'AUD', 'INR', 'AED', 'AFN', 'ALL', 'AMD', 'ANG', /// 'AOA', 'ARS', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', /// 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP', /// 'BYR', 'BZD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', 'COU', /// 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', /// 'EGP', 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', /// 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', /// 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'KES', 'KGS', 'KHR', /// 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', /// 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', /// 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', /// 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', /// 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', /// 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', /// 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', /// 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', /// 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', /// 'YER', 'ZAR', 'ZMW'</param> /// <param name="availability">The item's availability. The following /// are the possible values: Discontinued, InStock, InStoreOnly, /// LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut. /// Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', /// 'LimitedAvailability', 'OnlineOnly', 'OutOfStock', 'PreOrder', /// 'SoldOut'</param> /// <param name="aggregateRating">An aggregated rating that indicates /// how well the product has been rated by others.</param> /// <param name="lastUpdated">The last date that the offer was updated. /// The date is in the form YYYY-MM-DD.</param> /// <param name="offers">A list of offers from merchants that have /// offerings related to the image.</param> public AggregateOffer(string id = default(string), string readLink = 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), Organization seller = default(Organization), double?price = default(double?), string priceCurrency = default(string), string availability = default(string), AggregateRating aggregateRating = default(AggregateRating), string lastUpdated = default(string), IList <Offer> offers = default(IList <Offer>)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, seller, price, priceCurrency, availability, aggregateRating, lastUpdated) { Offers = offers; CustomInit(); }
/// <summary> /// Initializes a new instance of the Thing 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="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> public Thing(string id = default(string), string readLink = 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, readLink, webSearchUrl) { Name = name; Url = url; Image = image; Description = description; AlternateName = alternateName; BingId = bingId; CustomInit(); }
/// <summary> /// Initializes a new instance of the Person 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="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="jobTitle">The person's job title.</param> /// <param name="twitterProfile">The URL of the person's twitter /// profile.</param> public Person(string id = default(string), string readLink = 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 jobTitle = default(string), string twitterProfile = default(string)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId) { JobTitle = jobTitle; TwitterProfile = twitterProfile; CustomInit(); }
/// <summary> /// Initializes a new instance of the StructuredValue 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="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> public StructuredValue(string id = default(string), string readLink = 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, readLink, webSearchUrl, name, url, image, description, alternateName, bingId) { CustomInit(); }
/// <summary> /// Initializes a new instance of the Offer 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="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="seller">Seller for this offer</param> /// <param name="price">The item's price.</param> /// <param name="priceCurrency">The monetary currency. For example, /// USD. Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', /// 'JPY', 'CNY', 'AUD', 'INR', 'AED', 'AFN', 'ALL', 'AMD', 'ANG', /// 'AOA', 'ARS', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', /// 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP', /// 'BYR', 'BZD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', 'COU', /// 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', /// 'EGP', 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', /// 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', /// 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'KES', 'KGS', 'KHR', /// 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', /// 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', /// 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', /// 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', /// 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', /// 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', /// 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', /// 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', /// 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', /// 'YER', 'ZAR', 'ZMW'</param> /// <param name="availability">The item's availability. The following /// are the possible values: Discontinued, InStock, InStoreOnly, /// LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut. /// Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', /// 'LimitedAvailability', 'OnlineOnly', 'OutOfStock', 'PreOrder', /// 'SoldOut'</param> /// <param name="aggregateRating">An aggregated rating that indicates /// how well the product has been rated by others.</param> /// <param name="lastUpdated">The last date that the offer was updated. /// The date is in the form YYYY-MM-DD.</param> public Offer(string id = default(string), string readLink = 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), Organization seller = default(Organization), double?price = default(double?), string priceCurrency = default(string), string availability = default(string), AggregateRating aggregateRating = default(AggregateRating), string lastUpdated = default(string)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId) { Seller = seller; Price = price; PriceCurrency = priceCurrency; Availability = availability; AggregateRating = aggregateRating; LastUpdated = lastUpdated; CustomInit(); }
/// <summary> /// Initializes a new instance of the CollectionPage 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="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="text">Text content of this creative work</param> public CollectionPage(string id = default(string), string readLink = 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), string text = default(string)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, text) { CustomInit(); }
/// <summary> /// Initializes a new instance of the CreativeWork 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="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="text">Text content of this creative work</param> public CreativeWork(string id = default(string), string readLink = 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), string text = default(string)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId) { ThumbnailUrl = thumbnailUrl; Provider = provider; DatePublished = datePublished; Text = text; CustomInit(); }
/// <summary> /// Initializes a new instance of the NormalizedRectangle class. /// </summary> /// <param name="left">The left coordinate.</param> /// <param name="top">The top coordinate</param> /// <param name="right">The right coordinate</param> /// <param name="bottom">The bottom coordinate</param> /// <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="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> public NormalizedRectangle(double left, double top, double right, double bottom, string id = default(string), string readLink = 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, readLink, webSearchUrl, name, url, image, description, alternateName, bingId) { Left = left; Top = top; Right = right; Bottom = bottom; CustomInit(); }
/// <summary> /// Initializes a new instance of the Recipe 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="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="text">Text content of this creative work</param> /// <param name="cookTime">The amount of time the food takes to cook. /// For example, PT25M. For information about the time format, see /// http://en.wikipedia.org/wiki/ISO_8601#Durations.</param> /// <param name="prepTime">The amount of time required to prepare the /// ingredients. For example, PT15M. For information about the time /// format, see /// http://en.wikipedia.org/wiki/ISO_8601#Durations.</param> /// <param name="totalTime">The total amount of time it takes to /// prepare and cook the recipe. For example, PT45M. For information /// about the time format, see /// http://en.wikipedia.org/wiki/ISO_8601#Durations.</param> public Recipe(string id = default(string), string readLink = 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), string text = default(string), string cookTime = default(string), string prepTime = default(string), string totalTime = default(string)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, text) { CookTime = cookTime; PrepTime = prepTime; TotalTime = totalTime; 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> /// <param name="searchLink">The URL that you use to get the results of /// the related search. Before using the URL, you must append query /// parameters as appropriate and include the Ocp-Apim-Subscription-Key /// header. Use this URL if you're displaying the results in your own /// user interface. Otherwise, use the webSearchUrl URL.</param> /// <param name="thumbnail">The URL to a thumbnail of a related /// image.</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 ImageObject 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="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="text">Text content of this 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="contentSize">Size of the media object content (use /// format "value unit" e.g "1024 B").</param> /// <param name="encodingFormat">Encoding format (e.g mp3, mp4, jpeg, /// etc).</param> /// <param name="hostPageDisplayUrl">Display 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> /// <param name="imageInsightsToken">The token that you use in a /// subsequent call to the Image Search API to get additional /// information about the image. For information about using this /// token, see the insightsToken query parameter.</param> /// <param name="insightsMetadata">A count of the number of websites /// where you can shop or perform other actions related to the image. /// For example, if the image is of an apple pie, this object includes /// a count of the number of websites where you can buy an apple pie. /// To indicate the number of offers in your UX, include badging such /// as a shopping cart icon that contains the count. When the user /// clicks on the icon, use imageInisghtsToken to get the list of /// websites.</param> /// <param name="imageId">Unique Id for the image</param> /// <param name="accentColor">A three-byte hexadecimal number that /// represents the color that dominates the image. Use the color as the /// temporary background in your client until the image is /// loaded.</param> /// <param name="visualWords">Visual representation of the image. Used /// for getting more sizes</param> public ImageObject(string id = default(string), string readLink = 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), string text = default(string), string contentUrl = default(string), string hostPageUrl = default(string), string contentSize = default(string), string encodingFormat = default(string), string hostPageDisplayUrl = default(string), int?width = default(int?), int?height = default(int?), ImageObject thumbnail = default(ImageObject), string imageInsightsToken = default(string), ImagesImageMetadata insightsMetadata = default(ImagesImageMetadata), string imageId = default(string), string accentColor = default(string), string visualWords = default(string)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, text, contentUrl, hostPageUrl, contentSize, encodingFormat, hostPageDisplayUrl, width, height) { Thumbnail = thumbnail; ImageInsightsToken = imageInsightsToken; InsightsMetadata = insightsMetadata; ImageId = imageId; AccentColor = accentColor; VisualWords = visualWords; CustomInit(); }
/// <summary> /// Initializes a new instance of the TrendingImagesTile class. /// </summary> /// <param name="query">A query that returns a Bing search results page /// with more images of the subject. For example, if the category is /// Popular People Searches, then the thumbnail is of a popular person. /// The query would return a Bing search results page with more images /// of that person.</param> /// <param name="image">The image's thumbnail.</param> public TrendingImagesTile(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="readLink">The URL that returns this resource.</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="text">Text content of this 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="contentSize">Size of the media object content (use /// format "value unit" e.g "1024 B").</param> /// <param name="encodingFormat">Encoding format (e.g mp3, mp4, jpeg, /// etc).</param> /// <param name="hostPageDisplayUrl">Display 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 readLink = 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), string text = default(string), string contentUrl = default(string), string hostPageUrl = default(string), string contentSize = default(string), string encodingFormat = default(string), string hostPageDisplayUrl = default(string), int?width = default(int?), int?height = default(int?)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, text) { ContentUrl = contentUrl; HostPageUrl = hostPageUrl; ContentSize = contentSize; EncodingFormat = encodingFormat; HostPageDisplayUrl = hostPageDisplayUrl; Width = width; Height = height; CustomInit(); }
/// <summary> /// Initializes a new instance of the ImageGallery 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="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="text">Text content of this creative work</param> /// <param name="source">The publisher or social network where the /// images were found. You must attribute the publisher as the source /// where the collection was found.</param> /// <param name="imagesCount">The number of related images found in the /// collection.</param> /// <param name="followersCount">The number of users on the social /// network that follow the creator.</param> public ImageGallery(string id = default(string), string readLink = 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), string text = default(string), string source = default(string), long?imagesCount = default(long?), long?followersCount = default(long?)) : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, text) { Source = source; ImagesCount = imagesCount; FollowersCount = followersCount; CustomInit(); }