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

com.sinch.sdk.domains.conversation.templates.models.v2.ChannelTemplateOverride Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/*
 * Template Management API
 *
 * OpenAPI document version: 457aacb5
 * 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.templates.models.v2;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.sinch.sdk.domains.conversation.models.v1.TemplateReference;
import java.util.Map;

/** ChannelTemplateOverride */
@JsonDeserialize(builder = ChannelTemplateOverrideImpl.Builder.class)
public interface ChannelTemplateOverride {

  /**
   * Get templateReference
   *
   * @return templateReference
   */
  TemplateReference getTemplateReference();

  /**
   * A mapping between omni-template variables and the channel specific parameters.
   *
   * @return parameterMappings
   */
  Map getParameterMappings();

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

  /** Dedicated Builder */
  interface Builder {

    /**
     * see getter
     *
     * @param templateReference see getter
     * @return Current builder
     * @see #getTemplateReference
     */
    Builder setTemplateReference(TemplateReference templateReference);

    /**
     * see getter
     *
     * @param parameterMappings see getter
     * @return Current builder
     * @see #getParameterMappings
     */
    Builder setParameterMappings(Map parameterMappings);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy