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

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

/** ScheduledVoiceProvisioningFAX */
@JsonDeserialize(builder = ScheduledVoiceProvisioningFAXImpl.Builder.class)
public interface ScheduledVoiceProvisioningFAX
    extends com.sinch.sdk.domains.numbers.models.v1.ScheduledVoiceProvisioning {

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

  /**
   * Get status
   *
   * @return status
   */
  ProvisioningStatus getStatus();

  /**
   * The service ID if the type is FAX. The serviceId can be found in your Sinch Customer Dashboard.
   *
   * @return serviceId
   */
  String getServiceId();

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

  /** Dedicated Builder */
  interface Builder
      extends com.sinch.sdk.domains.numbers.models.v1.ScheduledVoiceProvisioning.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 status see getter
     * @return Current builder
     * @see #getStatus
     */
    Builder setStatus(ProvisioningStatus status);

    /**
     * see getter
     *
     * @param serviceId see getter
     * @return Current builder
     * @see #getServiceId
     */
    Builder setServiceId(String serviceId);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy