com.sinch.sdk.domains.voice.models.svaml.InstructionSendDtfm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.domains.voice.models.svaml;
import com.sinch.sdk.core.models.OptionalValue;
import com.sinch.sdk.models.DualToneMultiFrequency;
public class InstructionSendDtfm extends Instruction {
private final OptionalValue dtfm;
private InstructionSendDtfm(OptionalValue dtfm) {
this.dtfm = dtfm;
}
public OptionalValue getTDtfm() {
return dtfm;
}
@Override
public String toString() {
return "InstructionSendDtfm{" + "dtfm=" + dtfm + "} " + super.toString();
}
public static Builder> builder() {
return new Builder<>();
}
public static class Builder> {
OptionalValue dtfm = OptionalValue.empty();
public Builder setDtfm(DualToneMultiFrequency dtfm) {
this.dtfm = OptionalValue.of(dtfm);
return this;
}
public InstructionSendDtfm build() {
return new InstructionSendDtfm(dtfm);
}
@SuppressWarnings("unchecked")
protected B self() {
return (B) this;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy