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

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

            return
                ((
                     UserSelection == input.UserSelection ||
                     (UserSelection != null && UserSelection.Equals(input.UserSelection))
                     ) &&
                 (
                     ResponseReason == input.ResponseReason ||
                     (ResponseReason != null && ResponseReason.Equals(input.ResponseReason))
                 ) &&
                 (
                     DeveloperNote == input.DeveloperNote ||
                     (DeveloperNote != null && DeveloperNote.Equals(input.DeveloperNote))
                 ) &&
                 (
                     ActionToken == input.ActionToken ||
                     (ActionToken != null && ActionToken.Equals(input.ActionToken))
                 ) &&
                 (
                     MaximumNumberOfUses == input.MaximumNumberOfUses ||
                     (MaximumNumberOfUses.Equals(input.MaximumNumberOfUses))
                 ) &&
                 (
                     ValidUntil == input.ValidUntil ||
                     (ValidUntil != null && ValidUntil.Equals(input.ValidUntil))
                 ) &&
                 (
                     Type == input.Type ||
                     (Type != null && Type.Equals(input.Type))
                 ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                 ));
        }