com.sinch.sdk.domains.numbers.models.v1.request.ActiveNumberUpdateRequest 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.
/*
* Numbers | Sinch
*
* OpenAPI document version: 1.0.2
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*/
package com.sinch.sdk.domains.numbers.models.v1.request;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.sinch.sdk.domains.numbers.models.v1.SmsConfiguration;
import com.sinch.sdk.domains.numbers.models.v1.VoiceConfiguration;
/** The phone number that has been rented by a customer and assigned to a project. */
@JsonDeserialize(builder = ActiveNumberUpdateRequestImpl.Builder.class)
public interface ActiveNumberUpdateRequest {
/**
* User supplied name for the phone number.
*
* @return displayName
*/
String getDisplayName();
/**
* Get smsConfiguration
*
* @return smsConfiguration
*/
SmsConfiguration getSmsConfiguration();
/**
* Get voiceConfiguration
*
* @return voiceConfiguration
*/
VoiceConfiguration getVoiceConfiguration();
/**
* The active number's callback URL to be called for provisioning / deprovisioning updates
*
* @return callbackUrl
*/
String getCallbackUrl();
/**
* Getting builder
*
* @return New Builder instance
*/
static Builder builder() {
return new ActiveNumberUpdateRequestImpl.Builder();
}
/** Dedicated Builder */
interface Builder {
/**
* see getter
*
* @param displayName see getter
* @return Current builder
* @see #getDisplayName
*/
Builder setDisplayName(String displayName);
/**
* see getter
*
* @param smsConfiguration see getter
* @return Current builder
* @see #getSmsConfiguration
*/
Builder setSmsConfiguration(SmsConfiguration smsConfiguration);
/**
* see getter
*
* @param voiceConfiguration see getter
* @return Current builder
* @see #getVoiceConfiguration
*/
Builder setVoiceConfiguration(VoiceConfiguration voiceConfiguration);
/**
* see getter
*
* @param callbackUrl see getter
* @return Current builder
* @see #getCallbackUrl
*/
Builder setCallbackUrl(String callbackUrl);
/**
* Create instance
*
* @return The instance build with current builder values
*/
ActiveNumberUpdateRequest build();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy