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

io.sphere.sdk.projects.MessagesConfigurationImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.projects;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;

final class MessagesConfigurationImpl extends Base implements MessagesConfiguration {
    private Boolean enabled;
    private Long deleteDaysAfterCreation;

    @JsonCreator
    public MessagesConfigurationImpl(final Boolean enabled, final Long deleteDaysAfterCreation) {
        this.enabled = enabled;
        this.deleteDaysAfterCreation = deleteDaysAfterCreation;
    }

    @Override
    public Boolean isEnabled() {
        return enabled;
    }

    @Override
    public Long getDeleteDaysAfterCreation() {
        return deleteDaysAfterCreation;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy