All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.siftscience.model.SecurityNotificationFieldSet Maven / Gradle / Ivy

There is a newer version: 3.16.0
Show newest version
package com.siftscience.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class SecurityNotificationFieldSet extends
    BaseAppBrowserSiteBrandFieldSet {
    public static SecurityNotificationFieldSet fromJson(String json) {
        return gson.fromJson(json, SecurityNotificationFieldSet.class);
    }

    @Expose @SerializedName("$notification_status") private String notificationStatus;
    @Expose @SerializedName("$notification_type") private String notificationType;
    @Expose @SerializedName("$notified_value") private String notifiedValue;

    @Override
    public String getEventType() {
        return "$security_notification";
    }

    public String getNotificationStatus() {
        return notificationStatus;
    }

    public SecurityNotificationFieldSet setNotificationStatus(String notificationStatus) {
        this.notificationStatus = notificationStatus;
        return this;
    }

    public String getNotificationType() {
        return notificationType;
    }

    public SecurityNotificationFieldSet setNotificationType(String notificationType) {
        this.notificationType = notificationType;
        return this;
    }

    public String getNotifiedValue() {
        return notifiedValue;
    }

    public SecurityNotificationFieldSet setNotifiedValue(String notifiedValue) {
        this.notifiedValue = notifiedValue;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy