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

com.sinch.sdk.domains.conversation.models.v1.messages.ReplyTo 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.messages;

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

/**
 * If the contact message was a response to a previous App message then this field contains
 * information about that.
 */
@JsonDeserialize(builder = ReplyToImpl.Builder.class)
public interface ReplyTo {

  /**
   * Required. The Id of the message that this is a response to
   *
   * @return messageId
   */
  String getMessageId();

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

  /** Dedicated Builder */
  interface Builder {

    /**
     * see getter
     *
     * @param messageId see getter
     * @return Current builder
     * @see #getMessageId
     */
    Builder setMessageId(String messageId);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy