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

com.sinch.sdk.domains.numbers.models.v1.VoiceConfigurationRTC Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/*
 * 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;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.time.Instant;

/** RTC VoiceConfiguration */
@JsonDeserialize(builder = VoiceConfigurationRTCImpl.Builder.class)
public interface VoiceConfigurationRTC
    extends com.sinch.sdk.domains.numbers.models.v1.VoiceConfiguration {

  /**
   * Timestamp when the status was last updated.
   *
   * @return lastUpdatedTime
   * @readOnly This field is returned by the server and cannot be modified
   */
  Instant getLastUpdatedTime();

  /**
   * Get scheduledProvisioning
   *
   * @return scheduledProvisioning
   */
  ScheduledVoiceProvisioning getScheduledProvisioning();

  /**
   * Your app ID for the Voice API. The appId can be found in your Sinch Customer Dashboard.
   *
   * @return appId
   */
  String getAppId();

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

  /** Dedicated Builder */
  interface Builder {

    /**
     * see getter
     *
     * @param lastUpdatedTime see getter
     * @return Current builder
     * @see #getLastUpdatedTime
     * @readOnly This field is returned by the server and cannot be modified
     */
    Builder setLastUpdatedTime(Instant lastUpdatedTime);

    /**
     * see getter
     *
     * @param scheduledProvisioning see getter
     * @return Current builder
     * @see #getScheduledProvisioning
     */
    Builder setScheduledProvisioning(ScheduledVoiceProvisioning scheduledProvisioning);

    /**
     * see getter
     *
     * @param appId see getter
     * @return Current builder
     * @see #getAppId
     */
    Builder setAppId(String appId);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy