com.sinch.sdk.domains.numbers.models.requests.ActiveNumberUpdateVoiceConfigurationRequestParameters 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.numbers.models.requests;
import com.sinch.sdk.core.models.OptionalValue;
/***
* SMS configuration parameters request to update an active number for a project
* @since 1.0
*/
public class ActiveNumberUpdateVoiceConfigurationRequestParameters {
private final OptionalValue appId;
private ActiveNumberUpdateVoiceConfigurationRequestParameters(OptionalValue appId) {
this.appId = appId;
}
public OptionalValue getAppId() {
return appId;
}
@Override
public String toString() {
return "ActiveNumberUpdateVoiceConfigurationRequestParameters{"
+ "appId='"
+ appId
+ '\''
+ '}';
}
public static Builder builder() {
return new Builder();
}
public static class Builder {
OptionalValue appId = OptionalValue.empty();
private Builder() {}
/**
* @param appId Your app ID for the Voice API. The appId can be found in your Sinch Customer
* Dashboard under Voice, then apps.
* @return current builder
*/
public Builder setAppId(String appId) {
this.appId = OptionalValue.of(appId);
return this;
}
public ActiveNumberUpdateVoiceConfigurationRequestParameters build() {
return new ActiveNumberUpdateVoiceConfigurationRequestParameters(appId);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy