NotificationInfo 类

  • java.lang.Object
    • com.microsoft.bot.schema.teams.NotificationInfo

public class NotificationInfo

指定是否要为提及发送通知。

构造函数摘要

构造函数 说明
NotificationInfo()

通知信息的新实例。

NotificationInfo(boolean withAlertInMeeting, String withExternalResourceUrl)

会议警报的新实例。

NotificationInfo(Boolean withAlert)

通知信息的新实例。

方法摘要

修饰符和类型 方法和描述
java.lang.Boolean getAlert()

Getter 以获取警报。

java.lang.Boolean getAlertInMeeting()

指示这是会议警报。

java.lang.String getExternalResourceUrl()

获取会议警报的资源 URL。

void setAlert(Boolean withAlert)

警报的 Setter。

void setAlertInMeeting(Boolean withAlertInMeeting)

指示这是会议警报。

void setExternalResourceUrl(String withExternalResourceUrl)

会议警报的资源 URL。

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

构造函数详细信息

NotificationInfo

public NotificationInfo()

NotificationInfo 的新实例。

NotificationInfo

public NotificationInfo(boolean withAlertInMeeting, String withExternalResourceUrl)

会议警报的新实例。

参数:

withAlertInMeeting - 如此 如果这是会议警报。
withExternalResourceUrl - 外部资源 URL。

NotificationInfo

public NotificationInfo(Boolean withAlert)

NotificationInfo 的新实例。

参数:

withAlert - 要设置的警报值。

方法详细信息

getAlert

public Boolean getAlert()

Getter 以获取警报。

返回:

返回 alter 值。

getAlertInMeeting

public Boolean getAlertInMeeting()

指示这是会议警报。

返回:

如此 如果这是会议警报。

getExternalResourceUrl

public String getExternalResourceUrl()

获取会议警报的资源 URL。

返回:

外部资源 URL。

setAlert

public void setAlert(Boolean withAlert)

警报的 Setter。

参数:

withAlert - 要设置的值。

setAlertInMeeting

public void setAlertInMeeting(Boolean withAlertInMeeting)

指示这是会议警报。

参数:

withAlertInMeeting - 如此 如果这是会议警报。

setExternalResourceUrl

public void setExternalResourceUrl(String withExternalResourceUrl)

会议警报的资源 URL。

参数:

withExternalResourceUrl - 外部资源 URL。

适用于