package com.airlock.iam.admin.application.service.permission;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

public class UserDetailPermissions implements PagePermission {
   private boolean editProfile;
   private boolean cancelEditProfile;
   private boolean selectRoles;
   private boolean validity;
   private boolean lockUser;
   private boolean lockReason;
   private boolean unlockUser;
   private boolean activeAuthMethod;
   private boolean additionalActive;
   private boolean saveActiveAuthMethod;
   private boolean removeActiveAuthMethod;
   private boolean newAuthMethod;
   private boolean addNewAuthMethod;
   private boolean migrateToAuthMethod;
   private boolean migrateToAuthMethodUntil;
   private boolean saveAuthMethodMigration;
   private boolean removeAuthMethodMigration;
   private boolean showUserInLogs;
   private boolean viewUserLogs;
   private final boolean changeUserActivitiesPageSize = true;
   private boolean editUsername;
   private boolean deleteUser;
   private boolean reloadUser;
   private boolean viewToken;
   private boolean viewUser;
   private boolean deleteToken;
   private boolean unlinkAccount;

   @SuppressFBWarnings(justification = "generated code")
   public static UserDetailPermissions.UserDetailPermissionsBuilder builder() {
      return new UserDetailPermissions.UserDetailPermissionsBuilder();
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isEditProfile() {
      return this.editProfile;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isCancelEditProfile() {
      return this.cancelEditProfile;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isSelectRoles() {
      return this.selectRoles;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isValidity() {
      return this.validity;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isLockUser() {
      return this.lockUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isLockReason() {
      return this.lockReason;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isUnlockUser() {
      return this.unlockUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isActiveAuthMethod() {
      return this.activeAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isAdditionalActive() {
      return this.additionalActive;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isSaveActiveAuthMethod() {
      return this.saveActiveAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isRemoveActiveAuthMethod() {
      return this.removeActiveAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isNewAuthMethod() {
      return this.newAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isAddNewAuthMethod() {
      return this.addNewAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isMigrateToAuthMethod() {
      return this.migrateToAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isMigrateToAuthMethodUntil() {
      return this.migrateToAuthMethodUntil;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isSaveAuthMethodMigration() {
      return this.saveAuthMethodMigration;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isRemoveAuthMethodMigration() {
      return this.removeAuthMethodMigration;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isShowUserInLogs() {
      return this.showUserInLogs;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isViewUserLogs() {
      return this.viewUserLogs;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isChangeUserActivitiesPageSize() {
      return true;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isEditUsername() {
      return this.editUsername;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isDeleteUser() {
      return this.deleteUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isReloadUser() {
      return this.reloadUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isViewToken() {
      return this.viewToken;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isViewUser() {
      return this.viewUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isDeleteToken() {
      return this.deleteToken;
   }

   @SuppressFBWarnings(justification = "generated code")
   public boolean isUnlinkAccount() {
      return this.unlinkAccount;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setEditProfile(boolean editProfile) {
      this.editProfile = editProfile;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setCancelEditProfile(boolean cancelEditProfile) {
      this.cancelEditProfile = cancelEditProfile;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setSelectRoles(boolean selectRoles) {
      this.selectRoles = selectRoles;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setValidity(boolean validity) {
      this.validity = validity;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setLockUser(boolean lockUser) {
      this.lockUser = lockUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setLockReason(boolean lockReason) {
      this.lockReason = lockReason;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setUnlockUser(boolean unlockUser) {
      this.unlockUser = unlockUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setActiveAuthMethod(boolean activeAuthMethod) {
      this.activeAuthMethod = activeAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setAdditionalActive(boolean additionalActive) {
      this.additionalActive = additionalActive;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setSaveActiveAuthMethod(boolean saveActiveAuthMethod) {
      this.saveActiveAuthMethod = saveActiveAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setRemoveActiveAuthMethod(boolean removeActiveAuthMethod) {
      this.removeActiveAuthMethod = removeActiveAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setNewAuthMethod(boolean newAuthMethod) {
      this.newAuthMethod = newAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setAddNewAuthMethod(boolean addNewAuthMethod) {
      this.addNewAuthMethod = addNewAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setMigrateToAuthMethod(boolean migrateToAuthMethod) {
      this.migrateToAuthMethod = migrateToAuthMethod;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setMigrateToAuthMethodUntil(boolean migrateToAuthMethodUntil) {
      this.migrateToAuthMethodUntil = migrateToAuthMethodUntil;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setSaveAuthMethodMigration(boolean saveAuthMethodMigration) {
      this.saveAuthMethodMigration = saveAuthMethodMigration;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setRemoveAuthMethodMigration(boolean removeAuthMethodMigration) {
      this.removeAuthMethodMigration = removeAuthMethodMigration;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setShowUserInLogs(boolean showUserInLogs) {
      this.showUserInLogs = showUserInLogs;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setViewUserLogs(boolean viewUserLogs) {
      this.viewUserLogs = viewUserLogs;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setEditUsername(boolean editUsername) {
      this.editUsername = editUsername;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setDeleteUser(boolean deleteUser) {
      this.deleteUser = deleteUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setReloadUser(boolean reloadUser) {
      this.reloadUser = reloadUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setViewToken(boolean viewToken) {
      this.viewToken = viewToken;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setViewUser(boolean viewUser) {
      this.viewUser = viewUser;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setDeleteToken(boolean deleteToken) {
      this.deleteToken = deleteToken;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setUnlinkAccount(boolean unlinkAccount) {
      this.unlinkAccount = unlinkAccount;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof UserDetailPermissions other)) {
         return false;
      } else if (!other.canEqual(this)) {
         return false;
      } else if (this.editProfile != other.editProfile) {
         return false;
      } else if (this.cancelEditProfile != other.cancelEditProfile) {
         return false;
      } else if (this.selectRoles != other.selectRoles) {
         return false;
      } else if (this.validity != other.validity) {
         return false;
      } else if (this.lockUser != other.lockUser) {
         return false;
      } else if (this.lockReason != other.lockReason) {
         return false;
      } else if (this.unlockUser != other.unlockUser) {
         return false;
      } else if (this.activeAuthMethod != other.activeAuthMethod) {
         return false;
      } else if (this.additionalActive != other.additionalActive) {
         return false;
      } else if (this.saveActiveAuthMethod != other.saveActiveAuthMethod) {
         return false;
      } else if (this.removeActiveAuthMethod != other.removeActiveAuthMethod) {
         return false;
      } else if (this.newAuthMethod != other.newAuthMethod) {
         return false;
      } else if (this.addNewAuthMethod != other.addNewAuthMethod) {
         return false;
      } else if (this.migrateToAuthMethod != other.migrateToAuthMethod) {
         return false;
      } else if (this.migrateToAuthMethodUntil != other.migrateToAuthMethodUntil) {
         return false;
      } else if (this.saveAuthMethodMigration != other.saveAuthMethodMigration) {
         return false;
      } else if (this.removeAuthMethodMigration != other.removeAuthMethodMigration) {
         return false;
      } else if (this.showUserInLogs != other.showUserInLogs) {
         return false;
      } else if (this.viewUserLogs != other.viewUserLogs) {
         return false;
      } else if (false) {
         return false;
      } else if (this.editUsername != other.editUsername) {
         return false;
      } else if (this.deleteUser != other.deleteUser) {
         return false;
      } else if (this.reloadUser != other.reloadUser) {
         return false;
      } else if (this.viewToken != other.viewToken) {
         return false;
      } else if (this.viewUser != other.viewUser) {
         return false;
      } else {
         return this.deleteToken != other.deleteToken ? false : this.unlinkAccount == other.unlinkAccount;
      }
   }

   @SuppressFBWarnings(justification = "generated code")
   protected boolean canEqual(Object other) {
      return other instanceof UserDetailPermissions;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      result = result * 59 + (this.editProfile ? 79 : 97);
      result = result * 59 + (this.cancelEditProfile ? 79 : 97);
      result = result * 59 + (this.selectRoles ? 79 : 97);
      result = result * 59 + (this.validity ? 79 : 97);
      result = result * 59 + (this.lockUser ? 79 : 97);
      result = result * 59 + (this.lockReason ? 79 : 97);
      result = result * 59 + (this.unlockUser ? 79 : 97);
      result = result * 59 + (this.activeAuthMethod ? 79 : 97);
      result = result * 59 + (this.additionalActive ? 79 : 97);
      result = result * 59 + (this.saveActiveAuthMethod ? 79 : 97);
      result = result * 59 + (this.removeActiveAuthMethod ? 79 : 97);
      result = result * 59 + (this.newAuthMethod ? 79 : 97);
      result = result * 59 + (this.addNewAuthMethod ? 79 : 97);
      result = result * 59 + (this.migrateToAuthMethod ? 79 : 97);
      result = result * 59 + (this.migrateToAuthMethodUntil ? 79 : 97);
      result = result * 59 + (this.saveAuthMethodMigration ? 79 : 97);
      result = result * 59 + (this.removeAuthMethodMigration ? 79 : 97);
      result = result * 59 + (this.showUserInLogs ? 79 : 97);
      result = result * 59 + (this.viewUserLogs ? 79 : 97);
      result = result * 59 + 79;
      result = result * 59 + (this.editUsername ? 79 : 97);
      result = result * 59 + (this.deleteUser ? 79 : 97);
      result = result * 59 + (this.reloadUser ? 79 : 97);
      result = result * 59 + (this.viewToken ? 79 : 97);
      result = result * 59 + (this.viewUser ? 79 : 97);
      result = result * 59 + (this.deleteToken ? 79 : 97);
      return result * 59 + (this.unlinkAccount ? 79 : 97);
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "UserDetailPermissions(editProfile="
         + this.isEditProfile()
         + ", cancelEditProfile="
         + this.isCancelEditProfile()
         + ", selectRoles="
         + this.isSelectRoles()
         + ", validity="
         + this.isValidity()
         + ", lockUser="
         + this.isLockUser()
         + ", lockReason="
         + this.isLockReason()
         + ", unlockUser="
         + this.isUnlockUser()
         + ", activeAuthMethod="
         + this.isActiveAuthMethod()
         + ", additionalActive="
         + this.isAdditionalActive()
         + ", saveActiveAuthMethod="
         + this.isSaveActiveAuthMethod()
         + ", removeActiveAuthMethod="
         + this.isRemoveActiveAuthMethod()
         + ", newAuthMethod="
         + this.isNewAuthMethod()
         + ", addNewAuthMethod="
         + this.isAddNewAuthMethod()
         + ", migrateToAuthMethod="
         + this.isMigrateToAuthMethod()
         + ", migrateToAuthMethodUntil="
         + this.isMigrateToAuthMethodUntil()
         + ", saveAuthMethodMigration="
         + this.isSaveAuthMethodMigration()
         + ", removeAuthMethodMigration="
         + this.isRemoveAuthMethodMigration()
         + ", showUserInLogs="
         + this.isShowUserInLogs()
         + ", viewUserLogs="
         + this.isViewUserLogs()
         + ", changeUserActivitiesPageSize="
         + this.isChangeUserActivitiesPageSize()
         + ", editUsername="
         + this.isEditUsername()
         + ", deleteUser="
         + this.isDeleteUser()
         + ", reloadUser="
         + this.isReloadUser()
         + ", viewToken="
         + this.isViewToken()
         + ", viewUser="
         + this.isViewUser()
         + ", deleteToken="
         + this.isDeleteToken()
         + ", unlinkAccount="
         + this.isUnlinkAccount()
         + ")";
   }

   @SuppressFBWarnings(justification = "generated code")
   public UserDetailPermissions() {
   }

   @SuppressFBWarnings(justification = "generated code")
   public UserDetailPermissions(
      boolean editProfile,
      boolean cancelEditProfile,
      boolean selectRoles,
      boolean validity,
      boolean lockUser,
      boolean lockReason,
      boolean unlockUser,
      boolean activeAuthMethod,
      boolean additionalActive,
      boolean saveActiveAuthMethod,
      boolean removeActiveAuthMethod,
      boolean newAuthMethod,
      boolean addNewAuthMethod,
      boolean migrateToAuthMethod,
      boolean migrateToAuthMethodUntil,
      boolean saveAuthMethodMigration,
      boolean removeAuthMethodMigration,
      boolean showUserInLogs,
      boolean viewUserLogs,
      boolean editUsername,
      boolean deleteUser,
      boolean reloadUser,
      boolean viewToken,
      boolean viewUser,
      boolean deleteToken,
      boolean unlinkAccount
   ) {
      this.editProfile = editProfile;
      this.cancelEditProfile = cancelEditProfile;
      this.selectRoles = selectRoles;
      this.validity = validity;
      this.lockUser = lockUser;
      this.lockReason = lockReason;
      this.unlockUser = unlockUser;
      this.activeAuthMethod = activeAuthMethod;
      this.additionalActive = additionalActive;
      this.saveActiveAuthMethod = saveActiveAuthMethod;
      this.removeActiveAuthMethod = removeActiveAuthMethod;
      this.newAuthMethod = newAuthMethod;
      this.addNewAuthMethod = addNewAuthMethod;
      this.migrateToAuthMethod = migrateToAuthMethod;
      this.migrateToAuthMethodUntil = migrateToAuthMethodUntil;
      this.saveAuthMethodMigration = saveAuthMethodMigration;
      this.removeAuthMethodMigration = removeAuthMethodMigration;
      this.showUserInLogs = showUserInLogs;
      this.viewUserLogs = viewUserLogs;
      this.editUsername = editUsername;
      this.deleteUser = deleteUser;
      this.reloadUser = reloadUser;
      this.viewToken = viewToken;
      this.viewUser = viewUser;
      this.deleteToken = deleteToken;
      this.unlinkAccount = unlinkAccount;
   }

   @SuppressFBWarnings(justification = "generated code")
   public static class UserDetailPermissionsBuilder {
      @SuppressFBWarnings(justification = "generated code")
      private boolean editProfile;
      @SuppressFBWarnings(justification = "generated code")
      private boolean cancelEditProfile;
      @SuppressFBWarnings(justification = "generated code")
      private boolean selectRoles;
      @SuppressFBWarnings(justification = "generated code")
      private boolean validity;
      @SuppressFBWarnings(justification = "generated code")
      private boolean lockUser;
      @SuppressFBWarnings(justification = "generated code")
      private boolean lockReason;
      @SuppressFBWarnings(justification = "generated code")
      private boolean unlockUser;
      @SuppressFBWarnings(justification = "generated code")
      private boolean activeAuthMethod;
      @SuppressFBWarnings(justification = "generated code")
      private boolean additionalActive;
      @SuppressFBWarnings(justification = "generated code")
      private boolean saveActiveAuthMethod;
      @SuppressFBWarnings(justification = "generated code")
      private boolean removeActiveAuthMethod;
      @SuppressFBWarnings(justification = "generated code")
      private boolean newAuthMethod;
      @SuppressFBWarnings(justification = "generated code")
      private boolean addNewAuthMethod;
      @SuppressFBWarnings(justification = "generated code")
      private boolean migrateToAuthMethod;
      @SuppressFBWarnings(justification = "generated code")
      private boolean migrateToAuthMethodUntil;
      @SuppressFBWarnings(justification = "generated code")
      private boolean saveAuthMethodMigration;
      @SuppressFBWarnings(justification = "generated code")
      private boolean removeAuthMethodMigration;
      @SuppressFBWarnings(justification = "generated code")
      private boolean showUserInLogs;
      @SuppressFBWarnings(justification = "generated code")
      private boolean viewUserLogs;
      @SuppressFBWarnings(justification = "generated code")
      private boolean editUsername;
      @SuppressFBWarnings(justification = "generated code")
      private boolean deleteUser;
      @SuppressFBWarnings(justification = "generated code")
      private boolean reloadUser;
      @SuppressFBWarnings(justification = "generated code")
      private boolean viewToken;
      @SuppressFBWarnings(justification = "generated code")
      private boolean viewUser;
      @SuppressFBWarnings(justification = "generated code")
      private boolean deleteToken;
      @SuppressFBWarnings(justification = "generated code")
      private boolean unlinkAccount;

      @SuppressFBWarnings(justification = "generated code")
      UserDetailPermissionsBuilder() {
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder editProfile(boolean editProfile) {
         this.editProfile = editProfile;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder cancelEditProfile(boolean cancelEditProfile) {
         this.cancelEditProfile = cancelEditProfile;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder selectRoles(boolean selectRoles) {
         this.selectRoles = selectRoles;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder validity(boolean validity) {
         this.validity = validity;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder lockUser(boolean lockUser) {
         this.lockUser = lockUser;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder lockReason(boolean lockReason) {
         this.lockReason = lockReason;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder unlockUser(boolean unlockUser) {
         this.unlockUser = unlockUser;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder activeAuthMethod(boolean activeAuthMethod) {
         this.activeAuthMethod = activeAuthMethod;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder additionalActive(boolean additionalActive) {
         this.additionalActive = additionalActive;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder saveActiveAuthMethod(boolean saveActiveAuthMethod) {
         this.saveActiveAuthMethod = saveActiveAuthMethod;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder removeActiveAuthMethod(boolean removeActiveAuthMethod) {
         this.removeActiveAuthMethod = removeActiveAuthMethod;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder newAuthMethod(boolean newAuthMethod) {
         this.newAuthMethod = newAuthMethod;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder addNewAuthMethod(boolean addNewAuthMethod) {
         this.addNewAuthMethod = addNewAuthMethod;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder migrateToAuthMethod(boolean migrateToAuthMethod) {
         this.migrateToAuthMethod = migrateToAuthMethod;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder migrateToAuthMethodUntil(boolean migrateToAuthMethodUntil) {
         this.migrateToAuthMethodUntil = migrateToAuthMethodUntil;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder saveAuthMethodMigration(boolean saveAuthMethodMigration) {
         this.saveAuthMethodMigration = saveAuthMethodMigration;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder removeAuthMethodMigration(boolean removeAuthMethodMigration) {
         this.removeAuthMethodMigration = removeAuthMethodMigration;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder showUserInLogs(boolean showUserInLogs) {
         this.showUserInLogs = showUserInLogs;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder viewUserLogs(boolean viewUserLogs) {
         this.viewUserLogs = viewUserLogs;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder editUsername(boolean editUsername) {
         this.editUsername = editUsername;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder deleteUser(boolean deleteUser) {
         this.deleteUser = deleteUser;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder reloadUser(boolean reloadUser) {
         this.reloadUser = reloadUser;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder viewToken(boolean viewToken) {
         this.viewToken = viewToken;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder viewUser(boolean viewUser) {
         this.viewUser = viewUser;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder deleteToken(boolean deleteToken) {
         this.deleteToken = deleteToken;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions.UserDetailPermissionsBuilder unlinkAccount(boolean unlinkAccount) {
         this.unlinkAccount = unlinkAccount;
         return this;
      }

      @SuppressFBWarnings(justification = "generated code")
      public UserDetailPermissions build() {
         return new UserDetailPermissions(
            this.editProfile,
            this.cancelEditProfile,
            this.selectRoles,
            this.validity,
            this.lockUser,
            this.lockReason,
            this.unlockUser,
            this.activeAuthMethod,
            this.additionalActive,
            this.saveActiveAuthMethod,
            this.removeActiveAuthMethod,
            this.newAuthMethod,
            this.addNewAuthMethod,
            this.migrateToAuthMethod,
            this.migrateToAuthMethodUntil,
            this.saveAuthMethodMigration,
            this.removeAuthMethodMigration,
            this.showUserInLogs,
            this.viewUserLogs,
            this.editUsername,
            this.deleteUser,
            this.reloadUser,
            this.viewToken,
            this.viewUser,
            this.deleteToken,
            this.unlinkAccount
         );
      }

      @SuppressFBWarnings(justification = "generated code")
      @Override
      public String toString() {
         return "UserDetailPermissions.UserDetailPermissionsBuilder(editProfile="
            + this.editProfile
            + ", cancelEditProfile="
            + this.cancelEditProfile
            + ", selectRoles="
            + this.selectRoles
            + ", validity="
            + this.validity
            + ", lockUser="
            + this.lockUser
            + ", lockReason="
            + this.lockReason
            + ", unlockUser="
            + this.unlockUser
            + ", activeAuthMethod="
            + this.activeAuthMethod
            + ", additionalActive="
            + this.additionalActive
            + ", saveActiveAuthMethod="
            + this.saveActiveAuthMethod
            + ", removeActiveAuthMethod="
            + this.removeActiveAuthMethod
            + ", newAuthMethod="
            + this.newAuthMethod
            + ", addNewAuthMethod="
            + this.addNewAuthMethod
            + ", migrateToAuthMethod="
            + this.migrateToAuthMethod
            + ", migrateToAuthMethodUntil="
            + this.migrateToAuthMethodUntil
            + ", saveAuthMethodMigration="
            + this.saveAuthMethodMigration
            + ", removeAuthMethodMigration="
            + this.removeAuthMethodMigration
            + ", showUserInLogs="
            + this.showUserInLogs
            + ", viewUserLogs="
            + this.viewUserLogs
            + ", editUsername="
            + this.editUsername
            + ", deleteUser="
            + this.deleteUser
            + ", reloadUser="
            + this.reloadUser
            + ", viewToken="
            + this.viewToken
            + ", viewUser="
            + this.viewUser
            + ", deleteToken="
            + this.deleteToken
            + ", unlinkAccount="
            + this.unlinkAccount
            + ")";
      }
   }
}
