/// <summary> /// Initializes a new instance of the <see cref="SingleComponentResponseOfDestinyPlatformSilverComponent" /> class. /// </summary> /// <param name="data">data.</param> /// <param name="privacy">privacy.</param> /// <param name="disabled">If true, this component is disabled..</param> public SingleComponentResponseOfDestinyPlatformSilverComponent(DestinyComponentsInventoryDestinyPlatformSilverComponent data = default(DestinyComponentsInventoryDestinyPlatformSilverComponent), int privacy = default(int), bool disabled = default(bool)) { this.Data = data; this.Privacy = privacy; this.Disabled = disabled; }
/// <summary> /// Initializes a new instance of the <see cref="DestinyResponsesDestinyProfileUserInfoCard" /> class. /// </summary> /// <param name="dateLastPlayed">dateLastPlayed.</param> /// <param name="isOverridden">If this profile is being overridden/obscured by Cross Save, this will be set to true. We will still return the profile for display purposes where users need to know the info: it is up to any given area of the app/site to determine if this profile should still be shown..</param> /// <param name="isCrossSavePrimary">If true, this account is hooked up as the \"Primary\" cross save account for one or more platforms..</param> /// <param name="platformSilver">This is the silver available on this Profile across any platforms on which they have purchased silver. This is only available if you are requesting yourself..</param> /// <param name="unpairedGameVersions">If this profile is not in a cross save pairing, this will return the game versions that we believe this profile has access to. For the time being, we will not return this information for any membership that is in a cross save pairing. The gist is that, once the pairing occurs, we do not currently have a consistent way to get that information for the profile's original Platform, and thus gameVersions would be too inconsistent (based on the last platform they happened to play on) for the info to be useful. If we ever can get this data, this field will be deprecated and replaced with data on the DestinyLinkedProfileResponse itself, with game versions per linked Platform. But since we can't get that, we have this as a stop-gap measure for getting the data in the only situation that we currently need it..</param> /// <param name="supplementalDisplayName">A platform specific additional display name - ex: psn Real Name, bnet Unique Name, etc..</param> /// <param name="iconPath">URL the Icon if available..</param> /// <param name="crossSaveOverride">If there is a cross save override in effect, this value will tell you the type that is overridding this one..</param> /// <param name="applicableMembershipTypes">The list of Membership Types indicating the platforms on which this Membership can be used. Not in Cross Save = its original membership type. Cross Save Primary = Any membership types it is overridding, and its original membership type Cross Save Overridden = Empty list.</param> /// <param name="isPublic">If True, this is a public user membership..</param> /// <param name="membershipType">Type of the membership. Not necessarily the native type..</param> /// <param name="membershipId">Membership ID as they user is known in the Accounts service.</param> /// <param name="displayName">Display Name the player has chosen for themselves. The display name is optional when the data type is used as input to a platform API..</param> public DestinyResponsesDestinyProfileUserInfoCard(DateTime dateLastPlayed = default(DateTime), bool isOverridden = default(bool), bool isCrossSavePrimary = default(bool), DestinyComponentsInventoryDestinyPlatformSilverComponent platformSilver = default(DestinyComponentsInventoryDestinyPlatformSilverComponent), UnpairedGameVersionsEnum?unpairedGameVersions = default(UnpairedGameVersionsEnum?), string supplementalDisplayName = default(string), string iconPath = default(string), int crossSaveOverride = default(int), List <int> applicableMembershipTypes = default(List <int>), bool isPublic = default(bool), int membershipType = default(int), long membershipId = default(long), string displayName = default(string)) { this.DateLastPlayed = dateLastPlayed; this.IsOverridden = isOverridden; this.IsCrossSavePrimary = isCrossSavePrimary; this.PlatformSilver = platformSilver; this.UnpairedGameVersions = unpairedGameVersions; this.SupplementalDisplayName = supplementalDisplayName; this.IconPath = iconPath; this.CrossSaveOverride = crossSaveOverride; this.ApplicableMembershipTypes = applicableMembershipTypes; this.IsPublic = isPublic; this.MembershipType = membershipType; this.MembershipId = membershipId; this.DisplayName = displayName; }