NotificationInfo Class

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

public class NotificationInfo

Specifies if a notification is to be sent for the mentions.

Constructor Summary

Constructor Description
NotificationInfo()

A new instance of NotificationInfo.

NotificationInfo(boolean withAlertInMeeting, String withExternalResourceUrl)

A new instance of a meeting alert.

NotificationInfo(Boolean withAlert)

A new instance of NotificationInfo.

Method Summary

Modifier and Type Method and Description
java.lang.Boolean getAlert()

Getter for alert.

java.lang.Boolean getAlertInMeeting()

Indicates if this is a meeting alert.

java.lang.String getExternalResourceUrl()

Gets the resource Url of a meeting alert.

void setAlert(Boolean withAlert)

Setter for alert.

void setAlertInMeeting(Boolean withAlertInMeeting)

Indicates if this is a meeting alert.

void setExternalResourceUrl(String withExternalResourceUrl)

The resource Url of a meeting alert.

Methods inherited from 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

Constructor Details

NotificationInfo

public NotificationInfo()

A new instance of NotificationInfo.

NotificationInfo

public NotificationInfo(boolean withAlertInMeeting, String withExternalResourceUrl)

A new instance of a meeting alert.

Parameters:

withAlertInMeeting - True if this is a meeting alert.
withExternalResourceUrl - The external resource Url.

NotificationInfo

public NotificationInfo(Boolean withAlert)

A new instance of NotificationInfo.

Parameters:

withAlert - alert value to set.

Method Details

getAlert

public Boolean getAlert()

Getter for alert.

Returns:

return the alter value.

getAlertInMeeting

public Boolean getAlertInMeeting()

Indicates if this is a meeting alert.

Returns:

True if this is a meeting alert.

getExternalResourceUrl

public String getExternalResourceUrl()

Gets the resource Url of a meeting alert.

Returns:

The external resource url.

setAlert

public void setAlert(Boolean withAlert)

Setter for alert.

Parameters:

withAlert - the value to set.

setAlertInMeeting

public void setAlertInMeeting(Boolean withAlertInMeeting)

Indicates if this is a meeting alert.

Parameters:

withAlertInMeeting - True if this is a meeting alert.

setExternalResourceUrl

public void setExternalResourceUrl(String withExternalResourceUrl)

The resource Url of a meeting alert.

Parameters:

withExternalResourceUrl - The external resource Url.

Applies to