Skip to content

Commit

Permalink
Merge pull request #129 from MagakiReimu/v2_main
Browse files Browse the repository at this point in the history
feat: MessageCardTemplateData Add field template_version_name
  • Loading branch information
maemual authored Jul 24, 2024
2 parents 9474e77 + f909838 commit aa44432
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ public class MessageTemplateData {
@SerializedName("template_id")
private String templateId;

@SerializedName("template_version_name")
private String templateVersionName;

@SerializedName("template_variable")
private Map<String, Object> templateVariable;

public MessageTemplateData(Builder builder) {
this.templateId = builder.templateId;
this.templateVersionName = builder.templateVersionName;
this.templateVariable = builder.templateVariable;
}

Expand All @@ -25,13 +29,20 @@ public static final class Builder {

private String templateId;

private String templateVersionName;

private Map<String, Object> templateVariable;

public Builder templateId(String templateId) {
this.templateId = templateId;
return this;
}

public Builder templateVersionName(String templateVersionName) {
this.templateVersionName = templateVersionName;
return this;
}

public Builder templateVariable(Map<String, Object> templateVariable) {
this.templateVariable = templateVariable;
return this;
Expand Down

0 comments on commit aa44432

Please sign in to comment.