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

com.mparticle.sdk.model.registration.BooleanSetting Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.mparticle.sdk.model.registration;

import com.fasterxml.jackson.annotation.JsonProperty;

public final class BooleanSetting extends Setting {

    @JsonProperty("checked")
    private boolean isChecked;

    /**
     *
     * @return true if set by default
     */
    public boolean isChecked() {
        return isChecked;
    }

    /**
     *
     * @param checked true if set by default
     * @return this
     */
    public BooleanSetting setIsChecked(boolean checked) {
        this.isChecked = checked;
        return this;
    }

    public BooleanSetting(String id, String name) {
        super(Type.BOOLEAN, id, name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy