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)) )); }