示例#1
0
 /// <summary>
 /// Initializes a new instance of the Intangible class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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 Intangible(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();
 }
示例#2
0
 /// <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. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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();
 }
示例#3
0
 /// <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. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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 MediaObject class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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., png, gif, jpeg,
 /// etc).</param>
 /// <param name="hostPageDisplayUrl">Display URL of the page that hosts
 /// the media object.</param>
 /// <param name="width">The width of the media object, in
 /// pixels.</param>
 /// <param name="height">The height of the 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();
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the ImageKnowledge class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</param>
 /// <param name="webSearchUrl">The URL to Bing's search result for this
 /// item.</param>
 /// <param name="tags">A list of visual search tags.</param>
 /// <param name="image">Image object containing metadata about the
 /// requested image.</param>
 public ImageKnowledge(string id = default(string), string readLink = default(string), string webSearchUrl = default(string), IList <ImageTag> tags = default(IList <ImageTag>), ImageObject image = default(ImageObject))
     : base(id, readLink, webSearchUrl)
 {
     Tags  = tags;
     Image = image;
     CustomInit();
 }
示例#6
0
 /// <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. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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 ImageRelatedSearchesAction class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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="result">The result produced in the action.</param>
 /// <param name="displayName">A display name for the action.</param>
 /// <param name="isTopAction">A Boolean representing whether this
 /// result is the top action.</param>
 /// <param name="serviceUrl">Use this URL to get additional data to
 /// determine how to take the appropriate action. For example, the
 /// serviceUrl might return JSON along with an image URL.</param>
 /// <param name="actionType">A string representing the type of
 /// action.</param>
 /// <param name="data">A list of queries related to the image.</param>
 public ImageRelatedSearchesAction(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), IList <Thing> result = default(IList <Thing>), string displayName = default(string), bool?isTopAction = default(bool?), string serviceUrl = default(string), string actionType = default(string), RelatedSearchesModule data = default(RelatedSearchesModule))
     : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, text, result, displayName, isTopAction, serviceUrl, actionType)
 {
     Data = data;
     CustomInit();
 }
示例#8
0
 /// <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.</param>
 /// <param name="webSearchUrl">The URL that takes the user to the Bing
 /// search results page for the query.</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();
 }
示例#9
0
 /// <summary>
 /// Initializes a new instance of the NormalizedQuadrilateral class.
 /// </summary>
 /// <param name="topLeft">The top left corner coordinate.</param>
 /// <param name="topRight">The top right corner coordinate.</param>
 /// <param name="bottomRight">The bottom right corner
 /// coordinate.</param>
 /// <param name="bottomLeft">The bottom left corner coordinate.</param>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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 NormalizedQuadrilateral(Point2D topLeft, Point2D topRight, Point2D bottomRight, Point2D bottomLeft, 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)
 {
     TopLeft     = topLeft;
     TopRight    = topRight;
     BottomRight = bottomRight;
     BottomLeft  = bottomLeft;
     CustomInit();
 }
示例#10
0
 /// <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. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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();
 }
示例#11
0
 /// <summary>
 /// Initializes a new instance of the ImageTag class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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="displayName">Display name for this tag. For the
 /// default tag, the display name is empty.</param>
 /// <param name="boundingBox">The bounding box for this tag. For the
 /// default tag, there is no bounding box.</param>
 /// <param name="actions">Actions within this tag. The order of the
 /// items denotes the default ranking order of these actions, with the
 /// first action being the most likely user intent.</param>
 public ImageTag(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 displayName = default(string), ImageTagRegion boundingBox = default(ImageTagRegion), IList <ImageAction> actions = default(IList <ImageAction>))
     : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId)
 {
     DisplayName = displayName;
     BoundingBox = boundingBox;
     Actions     = actions;
     CustomInit();
 }
示例#12
0
 /// <summary>
 /// Initializes a new instance of the Action class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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="result">The result produced in the action.</param>
 /// <param name="displayName">A display name for the action.</param>
 /// <param name="isTopAction">A Boolean representing whether this
 /// result is the top action.</param>
 /// <param name="serviceUrl">Use this URL to get additional data to
 /// determine how to take the appropriate action. For example, the
 /// serviceUrl might return JSON along with an image URL.</param>
 public Action(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), IList <Thing> result = default(IList <Thing>), string displayName = default(string), bool?isTopAction = default(bool?), string serviceUrl = default(string))
     : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId, thumbnailUrl, provider, datePublished, text)
 {
     Result      = result;
     DisplayName = displayName;
     IsTopAction = isTopAction;
     ServiceUrl  = serviceUrl;
     CustomInit();
 }
示例#13
0
 /// <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. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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();
 }
示例#14
0
 /// <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. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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., png, gif, jpeg,
 /// etc).</param>
 /// <param name="hostPageDisplayUrl">Display URL of the page that hosts
 /// the media object.</param>
 /// <param name="width">The width of the media object, in
 /// pixels.</param>
 /// <param name="height">The height of the 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 Visual Search API to get additional information
 /// about the image. For information about using this token, see the
 /// imageInsightsToken field inside the knowledgeRequest request
 /// 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 in a subsequent Visual
 /// Search API call to get the list of shopping 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">For interal use only.</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();
 }
示例#15
0
 /// <summary>
 /// Initializes a new instance of the Point2D class.
 /// </summary>
 /// <param name="x">The x-coordinate of the point.</param>
 /// <param name="y">The y-coordinate of the point.</param>
 /// <param name="id">A String identifier.</param>
 /// <param name="readLink">The URL that returns this resource. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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 Point2D(double x, double y, 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)
 {
     X = x;
     Y = y;
     CustomInit();
 }
示例#16
0
 /// <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. To use
 /// the URL, append query parameters as appropriate and include the
 /// Ocp-Apim-Subscription-Key header.</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();
 }