Constructor and Description |
---|
WatchlistEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCreatedBy()
Get created by value
|
org.joda.time.DateTime |
getExpiresAt()
Get expires at
|
String |
getObject()
Get object string
|
Alert.AlertSeverity |
getSeverity()
Get severity
|
String |
getType()
Get type string
|
int |
hashCode() |
void |
setCreatedBy(String createdBy)
Set created by value
|
void |
setExpiresAt(org.joda.time.DateTime expiresAt)
Set expires at
|
void |
setObject(String obj)
Set object string
|
void |
setSeverity(Alert.AlertSeverity severity)
Set severity
|
void |
setType(String type)
Set type string
|
String |
toJSON()
Return JSON string representation.
|
public String getObject()
public void setObject(String obj)
obj
- object stringpublic String getType()
public void setType(String type)
type
- type stringpublic void setSeverity(Alert.AlertSeverity severity)
severity
- Severitypublic Alert.AlertSeverity getSeverity()
public org.joda.time.DateTime getExpiresAt()
public void setExpiresAt(org.joda.time.DateTime expiresAt)
expiresAt
- DateTimepublic String getCreatedBy()
public void setCreatedBy(String createdBy)
createdBy
- Created bypublic String toJSON()
Copyright © 2022. All rights reserved.