Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserUserMembershipData" /> class.
 /// </summary>
 /// <param name="destinyMemberships">this allows you to see destiny memberships that are visible and linked to this account (regardless of whether or not they have characters on the world server).</param>
 /// <param name="primaryMembershipId">If this property is populated, it will have the membership ID of the account considered to be \&quot;primary\&quot; in this user&#39;s cross save relationship.   If null, this user has no cross save relationship, nor primary account..</param>
 /// <param name="bungieNetUser">bungieNetUser.</param>
 public UserUserMembershipData(List <GroupsV2GroupUserInfoCard> destinyMemberships = default(List <GroupsV2GroupUserInfoCard>), long primaryMembershipId = default(long), UserGeneralUser bungieNetUser = default(UserGeneralUser))
 {
     this.DestinyMemberships  = destinyMemberships;
     this.PrimaryMembershipId = primaryMembershipId;
     this.BungieNetUser       = bungieNetUser;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentContentItemPublicContract" /> class.
 /// </summary>
 /// <param name="contentId">contentId.</param>
 /// <param name="cType">cType.</param>
 /// <param name="cmsPath">cmsPath.</param>
 /// <param name="creationDate">creationDate.</param>
 /// <param name="modifyDate">modifyDate.</param>
 /// <param name="allowComments">allowComments.</param>
 /// <param name="hasAgeGate">hasAgeGate.</param>
 /// <param name="minimumAge">minimumAge.</param>
 /// <param name="ratingImagePath">ratingImagePath.</param>
 /// <param name="author">author.</param>
 /// <param name="autoEnglishPropertyFallback">autoEnglishPropertyFallback.</param>
 /// <param name="properties">Firehose content is really a collection of metadata and \&quot;properties\&quot;, which are the potentially-but-not-strictly localizable data that comprises the meat of whatever content is being shown.  As Cole Porter would have crooned, \&quot;Anything Goes\&quot; with Firehose properties. They are most often strings, but they can theoretically be anything. They are JSON encoded, and could be JSON structures, simple strings, numbers etc... The Content Type of the item (cType) will describe the properties, and thus how they ought to be deserialized..</param>
 /// <param name="representations">representations.</param>
 /// <param name="tags">NOTE: Tags will always be lower case..</param>
 /// <param name="commentSummary">commentSummary.</param>
 public ContentContentItemPublicContract(long contentId = default(long), string cType = default(string), string cmsPath = default(string), DateTime creationDate = default(DateTime), DateTime modifyDate = default(DateTime), bool allowComments = default(bool), bool hasAgeGate = default(bool), int minimumAge = default(int), string ratingImagePath = default(string), UserGeneralUser author = default(UserGeneralUser), bool autoEnglishPropertyFallback = default(bool), Dictionary <string, Object> properties = default(Dictionary <string, Object>), List <ContentContentRepresentation> representations = default(List <ContentContentRepresentation>), List <string> tags = default(List <string>), ContentCommentSummary commentSummary = default(ContentCommentSummary))
 {
     this.ContentId                   = contentId;
     this.CType                       = cType;
     this.CmsPath                     = cmsPath;
     this.CreationDate                = creationDate;
     this.ModifyDate                  = modifyDate;
     this.AllowComments               = allowComments;
     this.HasAgeGate                  = hasAgeGate;
     this.MinimumAge                  = minimumAge;
     this.RatingImagePath             = ratingImagePath;
     this.Author                      = author;
     this.AutoEnglishPropertyFallback = autoEnglishPropertyFallback;
     this.Properties                  = properties;
     this.Representations             = representations;
     this.Tags           = tags;
     this.CommentSummary = commentSummary;
 }