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

com.sinch.sdk.domains.conversation.models.v1.app.CallbackSettings Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/*
 * Conversation API | Sinch
 *
 * OpenAPI document version: 1.0
 * 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.conversation.models.v1.app;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/** This object contains additional settings related to callback processing. */
@JsonDeserialize(builder = CallbackSettingsImpl.Builder.class)
public interface CallbackSettings {

  /**
   * Optional. Secret can be used to sign contents of delivery receipts for a message that was sent
   * with the default callback_url overridden. You can then use the secret to verify
   * the signature.
   *
   * @return secretForOverriddenCallbackUrls
   */
  String getSecretForOverriddenCallbackUrls();

  /**
   * Getting builder
   *
   * @return New Builder instance
   */
  static Builder builder() {
    return new CallbackSettingsImpl.Builder();
  }

  /** Dedicated Builder */
  interface Builder {

    /**
     * see getter
     *
     * @param secretForOverriddenCallbackUrls see getter
     * @return Current builder
     * @see #getSecretForOverriddenCallbackUrls
     */
    Builder setSecretForOverriddenCallbackUrls(String secretForOverriddenCallbackUrls);

    /**
     * Create instance
     *
     * @return The instance build with current builder values
     */
    CallbackSettings build();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy