com.baidubce.services.bvw.model.notification
Class NotificationModel

java.lang.Object
  extended by com.baidubce.services.bvw.model.notification.NotificationModel

public class NotificationModel
extends Object

The class of Notification model.


Constructor Summary
NotificationModel()
           
 
Method Summary
 Date getCreateTime()
           
 String getEndpoint()
           
 String getName()
           
 String getNotificationId()
           
 NotificationStatus getStatus()
           
 Date getUpdateTime()
           
static NotificationModel of(NotificationGetResponse response)
          Construct a notification model with specified parameters.
 void setCreateTime(Date createTime)
           
 void setEndpoint(String endpoint)
           
 void setName(String name)
           
 void setNotificationId(String notificationId)
           
 void setStatus(NotificationStatus status)
           
 void setUpdateTime(Date updateTime)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationModel

public NotificationModel()
Method Detail

of

public static NotificationModel of(NotificationGetResponse response)
Construct a notification model with specified parameters.

Parameters:
response - The getting notification response
Returns:
A notification model

getNotificationId

public String getNotificationId()

setNotificationId

public void setNotificationId(String notificationId)

getName

public String getName()

setName

public void setName(String name)

getEndpoint

public String getEndpoint()

setEndpoint

public void setEndpoint(String endpoint)

getStatus

public NotificationStatus getStatus()

setStatus

public void setStatus(NotificationStatus status)

getCreateTime

public Date getCreateTime()

setCreateTime

public void setCreateTime(Date createTime)

getUpdateTime

public Date getUpdateTime()

setUpdateTime

public void setUpdateTime(Date updateTime)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2020. All rights reserved.