Class UserVdcAlertSubscriptionResponse

java.lang.Object
com.iland.core.web.rest.response.notification.UserVdcAlertSubscriptionResponse
All Implemented Interfaces:
Serializable

public class UserVdcAlertSubscriptionResponse extends Object implements Serializable
User Vdc Alert Subscription Response.
Author:
Nick Kasprzak
See Also:
  • 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

      public String getUsername()
      Get the username.
      Returns:
      String username
    • getThreshold

      public int getThreshold()
      Get the threshold.
      Returns:
      the threshold
    • getAllocationModel

      public AllocationModelResponse getAllocationModel()
      Get the allocation model.
      Returns:
      AllocationModelResponse allocation model
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object