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

com.sinch.sdk.domains.numbers.CallbackConfigurationService Maven / Gradle / Ivy

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

import com.sinch.sdk.core.exceptions.ApiException;
import com.sinch.sdk.domains.numbers.models.CallbackConfiguration;
import com.sinch.sdk.domains.numbers.models.requests.CallbackConfigurationUpdateRequestParameters;

/**
 * Callback Configuration Service
 *
 * @see https://developers.sinch.com/docs/numbers/api-reference/numbers/tag/Callbacks/
 */
public interface CallbackConfigurationService {

  /**
   * Get callbacks configuration
   *
   * @return callbacks configuration for the project
   * @since 1.0
   */
  CallbackConfiguration get() throws ApiException;

  /**
   * Update callbacks configuration
   *
   * @param parameters Parameters to be updated
   * @return Updated callbacks configuration
   * @since 1.0
   */
  CallbackConfiguration update(CallbackConfigurationUpdateRequestParameters parameters)
      throws ApiException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy