Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TrendingTrendingDetail" /> class.
 /// </summary>
 /// <param name="Identifier">Identifier.</param>
 /// <param name="EntityType">EntityType.</param>
 /// <param name="News">News.</param>
 /// <param name="Support">Support.</param>
 /// <param name="DestinyItem">DestinyItem.</param>
 /// <param name="DestinyActivity">DestinyActivity.</param>
 /// <param name="DestinyRitual">DestinyRitual.</param>
 /// <param name="Creation">Creation.</param>
 /// <param name="Stream">Stream.</param>
 public TrendingTrendingDetail(string Identifier = default(string), TrendingTrendingEntryType EntityType = default(TrendingTrendingEntryType), TrendingTrendingEntryNews News = default(TrendingTrendingEntryNews), TrendingTrendingEntrySupportArticle Support = default(TrendingTrendingEntrySupportArticle), TrendingTrendingEntryDestinyItem DestinyItem = default(TrendingTrendingEntryDestinyItem), TrendingTrendingEntryDestinyActivity DestinyActivity = default(TrendingTrendingEntryDestinyActivity), TrendingTrendingEntryDestinyRitual DestinyRitual = default(TrendingTrendingEntryDestinyRitual), TrendingTrendingEntryCommunityCreation Creation = default(TrendingTrendingEntryCommunityCreation), TrendingTrendingEntryCommunityStream Stream = default(TrendingTrendingEntryCommunityStream))
 {
     this.Identifier      = Identifier;
     this.EntityType      = EntityType;
     this.News            = News;
     this.Support         = Support;
     this.DestinyItem     = DestinyItem;
     this.DestinyActivity = DestinyActivity;
     this.DestinyRitual   = DestinyRitual;
     this.Creation        = Creation;
     this.Stream          = Stream;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TrendingTrendingEntry" /> class.
 /// </summary>
 /// <param name="Weight">The weighted score of this trending item..</param>
 /// <param name="IsFeatured">IsFeatured.</param>
 /// <param name="Identifier">We don&#39;t know whether the identifier will be a string, a uint, or a long... so we&#39;re going to cast it all to a string. But either way, we need any trending item created to have a single unique identifier for its type..</param>
 /// <param name="EntityType">An enum - unfortunately - dictating all of the possible kinds of trending items that you might get in your result set, in case you want to do custom rendering or call to get the details of the item..</param>
 /// <param name="DisplayName">The localized \&quot;display name/article title/&#39;primary localized identifier&#39;\&quot; of the entity..</param>
 /// <param name="Tagline">If the entity has a localized tagline/subtitle/motto/whatever, that is found here..</param>
 /// <param name="Image">Image.</param>
 /// <param name="StartDate">StartDate.</param>
 /// <param name="EndDate">EndDate.</param>
 /// <param name="Link">Link.</param>
 /// <param name="WebmVideo">If this is populated, the entry has a related WebM video to show. I am 100% certain I am going to regret putting this directly on TrendingEntry, but it will work so yolo.</param>
 /// <param name="Mp4Video">If this is populated, the entry has a related MP4 video to show. I am 100% certain I am going to regret putting this directly on TrendingEntry, but it will work so yolo.</param>
 /// <param name="FeatureImage">If isFeatured, this image will be populated with whatever the featured image is. Note that this will likely be a very large image, so don&#39;t use it all the time..</param>
 public TrendingTrendingEntry(double?Weight = default(double?), bool?IsFeatured = default(bool?), string Identifier = default(string), TrendingTrendingEntryType EntityType = default(TrendingTrendingEntryType), string DisplayName = default(string), string Tagline = default(string), string Image = default(string), DateTime?StartDate = default(DateTime?), DateTime?EndDate = default(DateTime?), string Link = default(string), string WebmVideo = default(string), string Mp4Video = default(string), string FeatureImage = default(string))
 {
     this.Weight       = Weight;
     this.IsFeatured   = IsFeatured;
     this.Identifier   = Identifier;
     this.EntityType   = EntityType;
     this.DisplayName  = DisplayName;
     this.Tagline      = Tagline;
     this.Image        = Image;
     this.StartDate    = StartDate;
     this.EndDate      = EndDate;
     this.Link         = Link;
     this.WebmVideo    = WebmVideo;
     this.Mp4Video     = Mp4Video;
     this.FeatureImage = FeatureImage;
 }