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

com.sinch.sdk.domains.voice.models.svaml.AnsweringMachineDetection Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.sinch.sdk.domains.voice.models.svaml;

import com.sinch.sdk.core.models.OptionalValue;

public class AnsweringMachineDetection {

  private final OptionalValue enabled;

  private AnsweringMachineDetection(OptionalValue enabled) {
    this.enabled = enabled;
  }

  public OptionalValue getEnabled() {
    return enabled;
  }

  public static Builder builder() {
    return new Builder();
  }

  public static class Builder {

    OptionalValue enabled = OptionalValue.empty();

    public Builder setEnabled(Boolean enabled) {
      this.enabled = OptionalValue.of(enabled);
      return this;
    }

    public AnsweringMachineDetection build() {
      return new AnsweringMachineDetection(enabled);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy