Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Thing class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</param>
 /// <param name="bingId">An ID that uniquely identifies this
 /// item.</param>
 public Thing(string id = default(string), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string bingId = default(string))
     : base(id, contractualRules, webSearchUrl)
 {
     Name                   = name;
     Url                    = url;
     Image                  = image;
     Description            = description;
     EntityPresentationInfo = entityPresentationInfo;
     BingId                 = bingId;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Organization class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</param>
 /// <param name="bingId">An ID that uniquely identifies this
 /// item.</param>
 public Organization(string id = default(string), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string bingId = default(string))
     : base(id, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId)
 {
     CustomInit();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the Restaurant class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</param>
 /// <param name="bingId">An ID that uniquely identifies this
 /// item.</param>
 /// <param name="address">The postal address of where the entity is
 /// located</param>
 /// <param name="telephone">The entity's telephone number</param>
 /// <param name="priceRange">$$.</param>
 public Restaurant(string id = default(string), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string bingId = default(string), PostalAddress address = default(PostalAddress), string telephone = default(string), string priceRange = default(string), IList <ImageObject> panoramas = default(IList <ImageObject>), bool?isPermanentlyClosed = default(bool?), string tagLine = default(string), bool?acceptsReservations = default(bool?), string reservationUrl = default(string), IList <string> servesCuisine = default(IList <string>), string menuUrl = default(string))
     : base(id, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId, address, telephone, priceRange, panoramas, isPermanentlyClosed, tagLine)
 {
     AcceptsReservations = acceptsReservations;
     ReservationUrl      = reservationUrl;
     ServesCuisine       = servesCuisine;
     MenuUrl             = menuUrl;
     CustomInit();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the FoodEstablishment class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</param>
 /// <param name="bingId">An ID that uniquely identifies this
 /// item.</param>
 /// <param name="address">The postal address of where the entity is
 /// located</param>
 /// <param name="telephone">The entity's telephone number</param>
 /// <param name="priceRange">$$.</param>
 public FoodEstablishment(string id = default(string), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string bingId = default(string), PostalAddress address = default(PostalAddress), string telephone = default(string), string priceRange = default(string), IList <ImageObject> panoramas = default(IList <ImageObject>), bool?isPermanentlyClosed = default(bool?), string tagLine = default(string))
     : base(id, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId, address, telephone, priceRange, panoramas, isPermanentlyClosed, tagLine)
 {
     CustomInit();
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the TouristAttraction class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</param>
 /// <param name="bingId">An ID that uniquely identifies this
 /// item.</param>
 /// <param name="address">The postal address of where the entity is
 /// located</param>
 /// <param name="telephone">The entity's telephone number</param>
 public TouristAttraction(string id = default(string), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string bingId = default(string), PostalAddress address = default(PostalAddress), string telephone = default(string))
     : base(id, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId, address, telephone)
 {
     CustomInit();
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the PostalAddress class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</param>
 /// <param name="bingId">An ID that uniquely identifies this
 /// item.</param>
 /// <param name="addressLocality">The city where the street address is
 /// located. For example, Seattle.</param>
 /// <param name="addressRegion">The state or province code where the
 /// street address is located. This could be the two-letter code. For
 /// example, WA, or the full name , Washington.</param>
 /// <param name="postalCode">The zip code or postal code where the
 /// street address is located. For example, 98052.</param>
 /// <param name="addressCountry">The country/region where the street
 /// address is located. This could be the two-letter ISO code. For
 /// example, US, or the full name, United States.</param>
 /// <param name="countryIso">The two letter ISO code of this countr.
 /// For example, US.</param>
 /// <param name="neighborhood">The neighborhood where the street
 /// address is located. For example, Westlake.</param>
 /// <param name="addressRegionAbbreviation">Region Abbreviation. For
 /// example, WA.</param>
 /// <param name="text">The complete address. For example, 2100 Westlake
 /// Ave N, Bellevue, WA 98052.</param>
 public PostalAddress(string id = default(string), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string bingId = default(string), string streetAddress = default(string), string addressLocality = default(string), string addressSubregion = default(string), string addressRegion = default(string), string postalCode = default(string), string postOfficeBoxNumber = default(string), string addressCountry = default(string), string countryIso = default(string), string neighborhood = default(string), string addressRegionAbbreviation = default(string), string text = default(string))
     : base(id, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId)
 {
     StreetAddress             = streetAddress;
     AddressLocality           = addressLocality;
     AddressSubregion          = addressSubregion;
     AddressRegion             = addressRegion;
     PostalCode                = postalCode;
     PostOfficeBoxNumber       = postOfficeBoxNumber;
     AddressCountry            = addressCountry;
     CountryIso                = countryIso;
     Neighborhood              = neighborhood;
     AddressRegionAbbreviation = addressRegionAbbreviation;
     Text = text;
     CustomInit();
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the MediaObject class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</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), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), 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, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId, thumbnailUrl, provider, text)
 {
     ContentUrl  = contentUrl;
     HostPageUrl = hostPageUrl;
     Width       = width;
     Height      = height;
     CustomInit();
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the License class.
 /// </summary>
 /// <param name="id">A String identifier.</param>
 /// <param name="contractualRules">A list of rules that you must adhere
 /// to if you display the item.</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="entityPresentationInfo">Additional information about
 /// the entity such as hints that you can use to determine the entity's
 /// type. To determine the entity's type, use the entityScenario and
 /// entityTypeHint fields.</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 License(string id = default(string), IList <ContractualRulesContractualRule> contractualRules = default(IList <ContractualRulesContractualRule>), string webSearchUrl = default(string), string name = default(string), string url = default(string), ImageObject image = default(ImageObject), string description = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string bingId = default(string), string thumbnailUrl = default(string), IList <Thing> provider = default(IList <Thing>), string text = default(string))
     : base(id, contractualRules, webSearchUrl, name, url, image, description, entityPresentationInfo, bingId, thumbnailUrl, provider, text)
 {
     CustomInit();
 }