Class UserVdcAlertSubscriptionResponse
java.lang.Object
com.iland.core.web.rest.response.notification.UserVdcAlertSubscriptionResponse
- All Implemented Interfaces:
Serializable
User Vdc Alert Subscription Response.
- Author:
- Nick Kasprzak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserVdcAlertSubscriptionResponse(String username, AllocationModelResponse allocationModel, boolean active, int threshold) -
Method Summary
-
Constructor Details
-
UserVdcAlertSubscriptionResponse
public UserVdcAlertSubscriptionResponse(String username, AllocationModelResponse allocationModel, boolean active, int threshold)
-
-
Method Details
-
isActive
public boolean isActive()Whether subscription is active.- Returns:
- is active
-
getUsername
Get the username.- Returns:
Stringusername
-
getThreshold
public int getThreshold()Get the threshold.- Returns:
- the threshold
-
getAllocationModel
Get the allocation model.- Returns:
AllocationModelResponseallocation model
-
equals
-
hashCode
public int hashCode() -
toString
-