java.lang.Object
nl.sbdeveloper.vehiclesplus.api.garages.permissions.GarageRole

public class GarageRole extends Object
  • Constructor Details

    • GarageRole

      public GarageRole(@NotNull @NotNull String roleName)
      Constructor for the GarageRole
      Parameters:
      roleName - The name of the garage role
    • GarageRole

      public GarageRole(@NotNull @NotNull String roleName, @NotNull @NotNull GaragePermissions permissions)
  • Method Details

    • getRoleName

      @NotNull public @NotNull String getRoleName()
      The name of the garage role
    • getPermissions

      @NotNull public @NotNull GaragePermissions getPermissions()
      The name of the garage role
    • setRoleName

      public void setRoleName(@NotNull @NotNull String roleName)
      The name of the garage role
    • setPermissions

      public void setPermissions(@NotNull @NotNull GaragePermissions permissions)
      The name of the garage role