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

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

The newest version!
package com.siftscience.model;

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

import java.util.List;

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

    @Expose @SerializedName("$account_types") private List accountTypes;
    @Expose @SerializedName("$changed_password") private Boolean changedPassword;

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

    public Boolean getChangedPassword() {
        return changedPassword;
    }

    public UpdateAccountFieldSet setChangedPassword(Boolean changedPassword) {
        this.changedPassword = changedPassword;
        return this;
    }

    public List getAccountTypes() { return accountTypes; }

    public UpdateAccountFieldSet setAccountTypes(List accountTypes) {
        this.accountTypes = accountTypes;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy