/*
 * Copyright (c) 2016 LINE Corporation. All rights reserved.
 * LINE Corporation PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.linecorp.bot.model.message.template;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;

@JsonSubTypes({
                      @JsonSubTypes.Type(ButtonsTemplate.class),
                      @JsonSubTypes.Type(CarouselTemplate.class),
              })
@JsonTypeInfo(
        use = JsonTypeInfo.Id.NAME,
        include = As.PROPERTY,
        property = "type",
        visible = true
)
public abstract class Template {
}

@@ -666,22 +666,17 @@
 lic 
-abstract class
+interface
  Tem

use interface