/// <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="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> public Thing(string id = default(string), string readLink = default(string), string webSearchUrl = default(string), IList <Action> potentialAction = default(IList <Action>), IList <Action> immediateAction = default(IList <Action>), string preferredClickthroughUrl = default(string), string adaptiveCard = default(string), string name = default(string), string url = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo)) : base(id, readLink, webSearchUrl, potentialAction, immediateAction, preferredClickthroughUrl, adaptiveCard) { Name = name; Url = url; EntityPresentationInfo = entityPresentationInfo; CustomInit(); }
/// <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.</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="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="thumbnailUrl">The URL to a thumbnail of the /// item.</param> /// <param name="about">For internal use only.</param> /// <param name="mentions">For internal use only.</param> /// <param name="provider">The source of the creative work.</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), IList <Action> potentialAction = default(IList <Action>), IList <Action> immediateAction = default(IList <Action>), string preferredClickthroughUrl = default(string), string adaptiveCard = default(string), string name = default(string), string url = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string thumbnailUrl = default(string), IList <Thing> about = default(IList <Thing>), IList <Thing> mentions = default(IList <Thing>), IList <Thing> provider = default(IList <Thing>), Thing creator = default(Thing), string text = default(string), string discussionUrl = default(string), int?commentCount = default(int?), Thing mainEntity = default(Thing), string headLine = default(string), Thing copyrightHolder = default(Thing), int?copyrightYear = default(int?), string disclaimer = default(string), bool?isAccessibleForFree = default(bool?), IList <string> genre = default(IList <string>), bool?isFamilyFriendly = default(bool?), IList <Place> location = default(IList <Place>), IList <Thing> result = default(IList <Thing>), string displayName = default(string), bool?isTopAction = default(bool?), string serviceUrl = default(string)) : base(id, readLink, webSearchUrl, potentialAction, immediateAction, preferredClickthroughUrl, adaptiveCard, name, url, entityPresentationInfo, thumbnailUrl, about, mentions, provider, creator, text, discussionUrl, commentCount, mainEntity, headLine, copyrightHolder, copyrightYear, disclaimer, isAccessibleForFree, genre, isFamilyFriendly) { Location = location; Result = result; DisplayName = displayName; IsTopAction = isTopAction; ServiceUrl = serviceUrl; CustomInit(); }
/// <summary> /// Initializes a new instance of the PostalAddress 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="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="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), string readLink = default(string), string webSearchUrl = default(string), IList <Action> potentialAction = default(IList <Action>), IList <Action> immediateAction = default(IList <Action>), string preferredClickthroughUrl = default(string), string adaptiveCard = default(string), string name = default(string), string url = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), 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), string houseNumber = default(string), string streetName = default(string), string formattingRuleId = default(string)) : base(id, readLink, webSearchUrl, potentialAction, immediateAction, preferredClickthroughUrl, adaptiveCard, name, url, entityPresentationInfo) { StreetAddress = streetAddress; AddressLocality = addressLocality; AddressSubregion = addressSubregion; AddressRegion = addressRegion; PostalCode = postalCode; PostOfficeBoxNumber = postOfficeBoxNumber; AddressCountry = addressCountry; CountryIso = countryIso; Neighborhood = neighborhood; AddressRegionAbbreviation = addressRegionAbbreviation; Text = text; HouseNumber = houseNumber; StreetName = streetName; FormattingRuleId = formattingRuleId; 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="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> public StructuredValue(string id = default(string), string readLink = default(string), string webSearchUrl = default(string), IList <Action> potentialAction = default(IList <Action>), IList <Action> immediateAction = default(IList <Action>), string preferredClickthroughUrl = default(string), string adaptiveCard = default(string), string name = default(string), string url = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo)) : base(id, readLink, webSearchUrl, potentialAction, immediateAction, preferredClickthroughUrl, adaptiveCard, name, url, entityPresentationInfo) { 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="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="thumbnailUrl">The URL to a thumbnail of the /// item.</param> /// <param name="about">For internal use only.</param> /// <param name="mentions">For internal use only.</param> /// <param name="provider">The source of the creative work.</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), IList <Action> potentialAction = default(IList <Action>), IList <Action> immediateAction = default(IList <Action>), string preferredClickthroughUrl = default(string), string adaptiveCard = default(string), string name = default(string), string url = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), string thumbnailUrl = default(string), IList <Thing> about = default(IList <Thing>), IList <Thing> mentions = default(IList <Thing>), IList <Thing> provider = default(IList <Thing>), Thing creator = default(Thing), string text = default(string), string discussionUrl = default(string), int?commentCount = default(int?), Thing mainEntity = default(Thing), string headLine = default(string), Thing copyrightHolder = default(Thing), int?copyrightYear = default(int?), string disclaimer = default(string), bool?isAccessibleForFree = default(bool?), IList <string> genre = default(IList <string>), bool?isFamilyFriendly = default(bool?)) : base(id, readLink, webSearchUrl, potentialAction, immediateAction, preferredClickthroughUrl, adaptiveCard, name, url, entityPresentationInfo) { ThumbnailUrl = thumbnailUrl; About = about; Mentions = mentions; Provider = provider; Creator = creator; Text = text; DiscussionUrl = discussionUrl; CommentCount = commentCount; MainEntity = mainEntity; HeadLine = headLine; CopyrightHolder = copyrightHolder; CopyrightYear = copyrightYear; Disclaimer = disclaimer; IsAccessibleForFree = isAccessibleForFree; Genre = genre; IsFamilyFriendly = isFamilyFriendly; CustomInit(); }
/// <summary> /// Initializes a new instance of the Place 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="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="address">The postal address of where the entity is /// located</param> /// <param name="telephone">The entity's telephone number</param> public Place(string id = default(string), string readLink = default(string), string webSearchUrl = default(string), IList <Action> potentialAction = default(IList <Action>), IList <Action> immediateAction = default(IList <Action>), string preferredClickthroughUrl = default(string), string adaptiveCard = default(string), string name = default(string), string url = default(string), EntitiesEntityPresentationInfo entityPresentationInfo = default(EntitiesEntityPresentationInfo), GeoCoordinates geo = default(GeoCoordinates), GeoCoordinates routablePoint = default(GeoCoordinates), PostalAddress address = default(PostalAddress), string telephone = default(string)) : base(id, readLink, webSearchUrl, potentialAction, immediateAction, preferredClickthroughUrl, adaptiveCard, name, url, entityPresentationInfo) { Geo = geo; RoutablePoint = routablePoint; Address = address; Telephone = telephone; CustomInit(); }