Class AlertingSetting
- java.lang.Object
-
- io.openems.backend.common.metadata.AlertingSetting
-
public class AlertingSetting extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlertingSetting(int id, java.lang.String userId, Role userRole, java.time.ZonedDateTime lastNotification, int delayTime)
AlertingSetting(java.lang.String userId, int delayTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getDelayTime()
int
getId()
java.time.ZonedDateTime
getLastNotification()
java.lang.String
getUserId()
Role
getUserRole()
int
hashCode()
-
-
-
Constructor Detail
-
AlertingSetting
public AlertingSetting(java.lang.String userId, int delayTime)
-
AlertingSetting
public AlertingSetting(int id, java.lang.String userId, Role userRole, java.time.ZonedDateTime lastNotification, int delayTime)
-
-
Method Detail
-
getId
public int getId()
-
getUserId
public java.lang.String getUserId()
-
getUserRole
public Role getUserRole()
-
getLastNotification
public java.time.ZonedDateTime getLastNotification()
-
getDelayTime
public int getDelayTime()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-