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

            return
                ((
                     CredentialType == input.CredentialType ||
                     (CredentialType != null && CredentialType.Equals(input.CredentialType))
                     ) &&
                 (
                     CredentialDisplayName == input.CredentialDisplayName ||
                     (CredentialDisplayName != null && CredentialDisplayName.Equals(input.CredentialDisplayName))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     CredentialAsString == input.CredentialAsString ||
                     (CredentialAsString != null && CredentialAsString.Equals(input.CredentialAsString))
                 ));
        }
Beispiel #2
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))
                 ));
        }
Beispiel #3
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))
                 ));
        }
        public bool Equals(GroupEditAction input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                     ) &&
                 (
                     About == input.About ||
                     (About != null && About.Equals(input.About))
                 ) &&
                 (
                     Motto == input.Motto ||
                     (Motto != null && Motto.Equals(input.Motto))
                 ) &&
                 (
                     Theme == input.Theme ||
                     (Theme != null && Theme.Equals(input.Theme))
                 ) &&
                 (
                     AvatarImageIndex == input.AvatarImageIndex ||
                     (AvatarImageIndex.Equals(input.AvatarImageIndex))
                 ) &&
                 (
                     Tags == input.Tags ||
                     (Tags != null && Tags.Equals(input.Tags))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     MembershipOption == input.MembershipOption ||
                     (MembershipOption.Equals(input.MembershipOption))
                 ) &&
                 (
                     IsPublicTopicAdminOnly == input.IsPublicTopicAdminOnly ||
                     (IsPublicTopicAdminOnly != null && IsPublicTopicAdminOnly.Equals(input.IsPublicTopicAdminOnly))
                 ) &&
                 (
                     AllowChat == input.AllowChat ||
                     (AllowChat != null && AllowChat.Equals(input.AllowChat))
                 ) &&
                 (
                     ChatSecurity == input.ChatSecurity ||
                     (ChatSecurity.Equals(input.ChatSecurity))
                 ) &&
                 (
                     Callsign == input.Callsign ||
                     (Callsign != null && Callsign.Equals(input.Callsign))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     Homepage == input.Homepage ||
                     (Homepage.Equals(input.Homepage))
                 ) &&
                 (
                     EnableInvitationMessagingForAdmins == input.EnableInvitationMessagingForAdmins ||
                     (EnableInvitationMessagingForAdmins != null && EnableInvitationMessagingForAdmins.Equals(input.EnableInvitationMessagingForAdmins))
                 ) &&
                 (
                     DefaultPublicity == input.DefaultPublicity ||
                     (DefaultPublicity.Equals(input.DefaultPublicity))
                 ));
        }
Beispiel #5
0
        public bool Equals(FireteamSummary input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     FireteamId == input.FireteamId ||
                     (FireteamId.Equals(input.FireteamId))
                     ) &&
                 (
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                 ) &&
                 (
                     Platform == input.Platform ||
                     (Platform != null && Platform.Equals(input.Platform))
                 ) &&
                 (
                     ActivityType == input.ActivityType ||
                     (ActivityType.Equals(input.ActivityType))
                 ) &&
                 (
                     IsImmediate == input.IsImmediate ||
                     (IsImmediate != null && IsImmediate.Equals(input.IsImmediate))
                 ) &&
                 (
                     ScheduledTime == input.ScheduledTime ||
                     (ScheduledTime != null && ScheduledTime.Equals(input.ScheduledTime))
                 ) &&
                 (
                     OwnerMembershipId == input.OwnerMembershipId ||
                     (OwnerMembershipId.Equals(input.OwnerMembershipId))
                 ) &&
                 (
                     PlayerSlotCount == input.PlayerSlotCount ||
                     (PlayerSlotCount.Equals(input.PlayerSlotCount))
                 ) &&
                 (
                     AlternateSlotCount == input.AlternateSlotCount ||
                     (AlternateSlotCount.Equals(input.AlternateSlotCount))
                 ) &&
                 (
                     AvailablePlayerSlotCount == input.AvailablePlayerSlotCount ||
                     (AvailablePlayerSlotCount.Equals(input.AvailablePlayerSlotCount))
                 ) &&
                 (
                     AvailableAlternateSlotCount == input.AvailableAlternateSlotCount ||
                     (AvailableAlternateSlotCount.Equals(input.AvailableAlternateSlotCount))
                 ) &&
                 (
                     Title == input.Title ||
                     (Title != null && Title.Equals(input.Title))
                 ) &&
                 (
                     DateCreated == input.DateCreated ||
                     (DateCreated != null && DateCreated.Equals(input.DateCreated))
                 ) &&
                 (
                     DateModified == input.DateModified ||
                     (DateModified != null && DateModified.Equals(input.DateModified))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     IsValid == input.IsValid ||
                     (IsValid != null && IsValid.Equals(input.IsValid))
                 ) &&
                 (
                     DatePlayerModified == input.DatePlayerModified ||
                     (DatePlayerModified != null && DatePlayerModified.Equals(input.DatePlayerModified))
                 ) &&
                 (
                     TitleBeforeModeration == input.TitleBeforeModeration ||
                     (TitleBeforeModeration != null && TitleBeforeModeration.Equals(input.TitleBeforeModeration))
                 ));
        }
Beispiel #6
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))
                 ));
        }
Beispiel #7
0
        public bool Equals(GroupV2 input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     GroupId == input.GroupId ||
                     (GroupId.Equals(input.GroupId))
                     ) &&
                 (
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                 ) &&
                 (
                     GroupType == input.GroupType ||
                     (GroupType != null && GroupType.Equals(input.GroupType))
                 ) &&
                 (
                     MembershipIdCreated == input.MembershipIdCreated ||
                     (MembershipIdCreated.Equals(input.MembershipIdCreated))
                 ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ) &&
                 (
                     ModificationDate == input.ModificationDate ||
                     (ModificationDate != null && ModificationDate.Equals(input.ModificationDate))
                 ) &&
                 (
                     About == input.About ||
                     (About != null && About.Equals(input.About))
                 ) &&
                 (
                     Tags == input.Tags ||
                     (Tags != null && Tags.SequenceEqual(input.Tags))
                 ) &&
                 (
                     MemberCount == input.MemberCount ||
                     (MemberCount.Equals(input.MemberCount))
                 ) &&
                 (
                     IsPublic == input.IsPublic ||
                     (IsPublic != null && IsPublic.Equals(input.IsPublic))
                 ) &&
                 (
                     IsPublicTopicAdminOnly == input.IsPublicTopicAdminOnly ||
                     (IsPublicTopicAdminOnly != null && IsPublicTopicAdminOnly.Equals(input.IsPublicTopicAdminOnly))
                 ) &&
                 (
                     Motto == input.Motto ||
                     (Motto != null && Motto.Equals(input.Motto))
                 ) &&
                 (
                     AllowChat == input.AllowChat ||
                     (AllowChat != null && AllowChat.Equals(input.AllowChat))
                 ) &&
                 (
                     IsDefaultPostPublic == input.IsDefaultPostPublic ||
                     (IsDefaultPostPublic != null && IsDefaultPostPublic.Equals(input.IsDefaultPostPublic))
                 ) &&
                 (
                     ChatSecurity == input.ChatSecurity ||
                     (ChatSecurity != null && ChatSecurity.Equals(input.ChatSecurity))
                 ) &&
                 (
                     Locale == input.Locale ||
                     (Locale != null && Locale.Equals(input.Locale))
                 ) &&
                 (
                     AvatarImageIndex == input.AvatarImageIndex ||
                     (AvatarImageIndex.Equals(input.AvatarImageIndex))
                 ) &&
                 (
                     Homepage == input.Homepage ||
                     (Homepage != null && Homepage.Equals(input.Homepage))
                 ) &&
                 (
                     MembershipOption == input.MembershipOption ||
                     (MembershipOption != null && MembershipOption.Equals(input.MembershipOption))
                 ) &&
                 (
                     DefaultPublicity == input.DefaultPublicity ||
                     (DefaultPublicity != null && DefaultPublicity.Equals(input.DefaultPublicity))
                 ) &&
                 (
                     Theme == input.Theme ||
                     (Theme != null && Theme.Equals(input.Theme))
                 ) &&
                 (
                     BannerPath == input.BannerPath ||
                     (BannerPath != null && BannerPath.Equals(input.BannerPath))
                 ) &&
                 (
                     AvatarPath == input.AvatarPath ||
                     (AvatarPath != null && AvatarPath.Equals(input.AvatarPath))
                 ) &&
                 (
                     ConversationId == input.ConversationId ||
                     (ConversationId.Equals(input.ConversationId))
                 ) &&
                 (
                     EnableInvitationMessagingForAdmins == input.EnableInvitationMessagingForAdmins ||
                     (EnableInvitationMessagingForAdmins != null && EnableInvitationMessagingForAdmins.Equals(input.EnableInvitationMessagingForAdmins))
                 ) &&
                 (
                     BanExpireDate == input.BanExpireDate ||
                     (BanExpireDate != null && BanExpireDate.Equals(input.BanExpireDate))
                 ) &&
                 (
                     Features == input.Features ||
                     (Features != null && Features.Equals(input.Features))
                 ) &&
                 (
                     ClanInfo == input.ClanInfo ||
                     (ClanInfo != null && ClanInfo.Equals(input.ClanInfo))
                 ));
        }