NotificationsSource Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. NotificationsSource
- com.
Implements
public class NotificationsSource
implements JsonSerializable<NotificationsSource>
A valid notification source type.
Constructor Summary
| Constructor | Description |
|---|---|
| NotificationsSource() |
Creates an instance of Notifications |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Notifications |
fromJson(JsonReader jsonReader)
Reads an instance of Notifications |
|
Source |
sourceType()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
NotificationsSource
public NotificationsSource()
Creates an instance of NotificationsSource class.
Method Details
fromJson
public static NotificationsSource fromJson(JsonReader jsonReader)
Reads an instance of NotificationsSource from the JsonReader.
Parameters:
Returns:
Throws:
sourceType
public SourceType sourceType()
Get the sourceType property: The source type that will trigger the notification.
Returns:
toJson
validate
public void validate()
Validates the instance.