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

com.sinch.sdk.domains.numbers.models.v1.VoiceConfigurationEST 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;

/** EST VoiceConfiguration */
@JsonDeserialize(builder = VoiceConfigurationESTImpl.Builder.class)
public interface VoiceConfigurationEST
    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();

  /**
   * The trunk ID if the type is EST. The trunkId can be found in your Sinch Customer Dashboard.
   *
   * @return trunkId
   */
  String getTrunkId();

  /**
   * Getting builder
   *
   * @return New Builder instance
   */
  static Builder builder() {
    return new VoiceConfigurationESTImpl.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 trunkId see getter
     * @return Current builder
     * @see #getTrunkId
     */
    Builder setTrunkId(String trunkId);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy