public bool Equals(AwaPermissionRequested input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Type == input.Type ||
                     (Type != null && Type.Equals(input.Type))
                     ) &&
                 (
                     AffectedItemId == input.AffectedItemId ||
                     (AffectedItemId.Equals(input.AffectedItemId))
                 ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                 ) &&
                 (
                     CharacterId == input.CharacterId ||
                     (CharacterId.Equals(input.CharacterId))
                 ));
        }
Пример #2
0
        public bool Equals(UserMembership input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                     ) &&
                 (
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                 ) &&
                 (
                     DisplayName == input.DisplayName ||
                     (DisplayName != null && DisplayName.Equals(input.DisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayName == input.BungieGlobalDisplayName ||
                     (BungieGlobalDisplayName != null && BungieGlobalDisplayName.Equals(input.BungieGlobalDisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayNameCode == input.BungieGlobalDisplayNameCode ||
                     (BungieGlobalDisplayNameCode.Equals(input.BungieGlobalDisplayNameCode))
                 ));
        }
Пример #3
0
        public bool Equals(HardLinkedUserMembership input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                     ) &&
                 (
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                 ) &&
                 (
                     CrossSaveOverriddenType == input.CrossSaveOverriddenType ||
                     (CrossSaveOverriddenType != null && CrossSaveOverriddenType.Equals(input.CrossSaveOverriddenType))
                 ) &&
                 (
                     CrossSaveOverriddenMembershipId == input.CrossSaveOverriddenMembershipId ||
                     (CrossSaveOverriddenMembershipId.Equals(input.CrossSaveOverriddenMembershipId))
                 ));
        }
Пример #4
0
        public bool Equals(FireteamUserInfoCard input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     FireteamDisplayName == input.FireteamDisplayName ||
                     (FireteamDisplayName != null && FireteamDisplayName.Equals(input.FireteamDisplayName))
                     ) &&
                 (
                     FireteamMembershipType == input.FireteamMembershipType ||
                     (FireteamMembershipType != null && FireteamMembershipType.Equals(input.FireteamMembershipType))
                 ) &&
                 (
                     SupplementalDisplayName == input.SupplementalDisplayName ||
                     (SupplementalDisplayName != null && SupplementalDisplayName.Equals(input.SupplementalDisplayName))
                 ) &&
                 (
                     IconPath == input.IconPath ||
                     (IconPath != null && IconPath.Equals(input.IconPath))
                 ) &&
                 (
                     CrossSaveOverride == input.CrossSaveOverride ||
                     (CrossSaveOverride != null && CrossSaveOverride.Equals(input.CrossSaveOverride))
                 ) &&
                 (
                     ApplicableMembershipTypes == input.ApplicableMembershipTypes ||
                     (ApplicableMembershipTypes != null && ApplicableMembershipTypes.SequenceEqual(input.ApplicableMembershipTypes))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                 ) &&
                 (
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                 ) &&
                 (
                     DisplayName == input.DisplayName ||
                     (DisplayName != null && DisplayName.Equals(input.DisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayName == input.BungieGlobalDisplayName ||
                     (BungieGlobalDisplayName != null && BungieGlobalDisplayName.Equals(input.BungieGlobalDisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayNameCode == input.BungieGlobalDisplayNameCode ||
                     (BungieGlobalDisplayNameCode.Equals(input.BungieGlobalDisplayNameCode))
                 ));
        }
Пример #5
0
        public bool Equals(CrossSaveUserMembership input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     CrossSaveOverride == input.CrossSaveOverride ||
                     (CrossSaveOverride != null && CrossSaveOverride.Equals(input.CrossSaveOverride))
                     ) &&
                 (
                     ApplicableMembershipTypes == input.ApplicableMembershipTypes ||
                     (ApplicableMembershipTypes != null && ApplicableMembershipTypes.SequenceEqual(input.ApplicableMembershipTypes))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                 ) &&
                 (
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                 ) &&
                 (
                     DisplayName == input.DisplayName ||
                     (DisplayName != null && DisplayName.Equals(input.DisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayName == input.BungieGlobalDisplayName ||
                     (BungieGlobalDisplayName != null && BungieGlobalDisplayName.Equals(input.BungieGlobalDisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayNameCode == input.BungieGlobalDisplayNameCode ||
                     (BungieGlobalDisplayNameCode.Equals(input.BungieGlobalDisplayNameCode))
                 ));
        }
Пример #6
0
        public bool Equals(PartnerOfferHistoryResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     PartnerOfferKey == input.PartnerOfferKey ||
                     (PartnerOfferKey != null && PartnerOfferKey.Equals(input.PartnerOfferKey))
                     ) &&
                 (
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                 ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType.Equals(input.MembershipType))
                 ) &&
                 (
                     LocalizedName == input.LocalizedName ||
                     (LocalizedName != null && LocalizedName.Equals(input.LocalizedName))
                 ) &&
                 (
                     LocalizedDescription == input.LocalizedDescription ||
                     (LocalizedDescription != null && LocalizedDescription.Equals(input.LocalizedDescription))
                 ) &&
                 (
                     IsConsumable == input.IsConsumable ||
                     (IsConsumable != null && IsConsumable.Equals(input.IsConsumable))
                 ) &&
                 (
                     QuantityApplied == input.QuantityApplied ||
                     (QuantityApplied.Equals(input.QuantityApplied))
                 ) &&
                 (
                     ApplyDate == input.ApplyDate ||
                     (ApplyDate != null && ApplyDate.Equals(input.ApplyDate))
                 ));
        }
Пример #7
0
        public bool Equals(DestinyProfileUserInfoCard input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DateLastPlayed == input.DateLastPlayed ||
                     (DateLastPlayed != null && DateLastPlayed.Equals(input.DateLastPlayed))
                     ) &&
                 (
                     IsOverridden == input.IsOverridden ||
                     (IsOverridden != null && IsOverridden.Equals(input.IsOverridden))
                 ) &&
                 (
                     IsCrossSavePrimary == input.IsCrossSavePrimary ||
                     (IsCrossSavePrimary != null && IsCrossSavePrimary.Equals(input.IsCrossSavePrimary))
                 ) &&
                 (
                     PlatformSilver == input.PlatformSilver ||
                     (PlatformSilver != null && PlatformSilver.Equals(input.PlatformSilver))
                 ) &&
                 (
                     UnpairedGameVersions == input.UnpairedGameVersions ||
                     (UnpairedGameVersions.Equals(input.UnpairedGameVersions))
                 ) &&
                 (
                     SupplementalDisplayName == input.SupplementalDisplayName ||
                     (SupplementalDisplayName != null && SupplementalDisplayName.Equals(input.SupplementalDisplayName))
                 ) &&
                 (
                     IconPath == input.IconPath ||
                     (IconPath != null && IconPath.Equals(input.IconPath))
                 ) &&
                 (
                     CrossSaveOverride == input.CrossSaveOverride ||
                     (CrossSaveOverride != null && CrossSaveOverride.Equals(input.CrossSaveOverride))
                 ) &&
                 (
                     ApplicableMembershipTypes == input.ApplicableMembershipTypes ||
                     (ApplicableMembershipTypes != null && ApplicableMembershipTypes.SequenceEqual(input.ApplicableMembershipTypes))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                 ) &&
                 (
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                 ) &&
                 (
                     DisplayName == input.DisplayName ||
                     (DisplayName != null && DisplayName.Equals(input.DisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayName == input.BungieGlobalDisplayName ||
                     (BungieGlobalDisplayName != null && BungieGlobalDisplayName.Equals(input.BungieGlobalDisplayName))
                 ) &&
                 (
                     BungieGlobalDisplayNameCode == input.BungieGlobalDisplayNameCode ||
                     (BungieGlobalDisplayNameCode.Equals(input.BungieGlobalDisplayNameCode))
                 ));
        }
Пример #8
0
        public bool Equals(DestinyCharacterComponent input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     MembershipId == input.MembershipId ||
                     (MembershipId.Equals(input.MembershipId))
                     ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                 ) &&
                 (
                     CharacterId == input.CharacterId ||
                     (CharacterId.Equals(input.CharacterId))
                 ) &&
                 (
                     DateLastPlayed == input.DateLastPlayed ||
                     (DateLastPlayed != null && DateLastPlayed.Equals(input.DateLastPlayed))
                 ) &&
                 (
                     MinutesPlayedThisSession == input.MinutesPlayedThisSession ||
                     (MinutesPlayedThisSession.Equals(input.MinutesPlayedThisSession))
                 ) &&
                 (
                     MinutesPlayedTotal == input.MinutesPlayedTotal ||
                     (MinutesPlayedTotal.Equals(input.MinutesPlayedTotal))
                 ) &&
                 (
                     Light == input.Light ||
                     (Light.Equals(input.Light))
                 ) &&
                 (
                     Stats == input.Stats ||
                     (Stats != null && Stats.SequenceEqual(input.Stats))
                 ) &&
                 (
                     RaceHash == input.RaceHash ||
                     (RaceHash.Equals(input.RaceHash))
                 ) &&
                 (
                     GenderHash == input.GenderHash ||
                     (GenderHash.Equals(input.GenderHash))
                 ) &&
                 (
                     ClassHash == input.ClassHash ||
                     (ClassHash.Equals(input.ClassHash))
                 ) &&
                 (
                     RaceType == input.RaceType ||
                     (RaceType != null && RaceType.Equals(input.RaceType))
                 ) &&
                 (
                     ClassType == input.ClassType ||
                     (ClassType != null && ClassType.Equals(input.ClassType))
                 ) &&
                 (
                     GenderType == input.GenderType ||
                     (GenderType != null && GenderType.Equals(input.GenderType))
                 ) &&
                 (
                     EmblemPath == input.EmblemPath ||
                     (EmblemPath != null && EmblemPath.Equals(input.EmblemPath))
                 ) &&
                 (
                     EmblemBackgroundPath == input.EmblemBackgroundPath ||
                     (EmblemBackgroundPath != null && EmblemBackgroundPath.Equals(input.EmblemBackgroundPath))
                 ) &&
                 (
                     EmblemHash == input.EmblemHash ||
                     (EmblemHash.Equals(input.EmblemHash))
                 ) &&
                 (
                     EmblemColor == input.EmblemColor ||
                     (EmblemColor != null && EmblemColor.Equals(input.EmblemColor))
                 ) &&
                 (
                     LevelProgression == input.LevelProgression ||
                     (LevelProgression != null && LevelProgression.Equals(input.LevelProgression))
                 ) &&
                 (
                     BaseCharacterLevel == input.BaseCharacterLevel ||
                     (BaseCharacterLevel.Equals(input.BaseCharacterLevel))
                 ) &&
                 (
                     PercentToNextLevel == input.PercentToNextLevel ||
                     (PercentToNextLevel.Equals(input.PercentToNextLevel))
                 ) &&
                 (
                     TitleRecordHash == input.TitleRecordHash ||
                     (TitleRecordHash.Equals(input.TitleRecordHash))
                 ));
        }