From 1e5cad6f9338f4a8187744bba31f77638d3813b2 Mon Sep 17 00:00:00 2001 From: sbansla Date: Tue, 14 Nov 2023 23:22:48 +0530 Subject: [PATCH] c1 --- src/main/resources/twilio-java/models.mustache | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/twilio-java/models.mustache b/src/main/resources/twilio-java/models.mustache index 701f91430..f34c9bbeb 100644 --- a/src/main/resources/twilio-java/models.mustache +++ b/src/main/resources/twilio-java/models.mustache @@ -6,10 +6,12 @@ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonProperty("{{{baseName}}}") @Getter @Setter private {{{dataType}}} {{name}}; - {{#vendorExtensions.x-serialize}} + {{^isMap}} + {{#vendorExtensions.x-serialize}} public String get{{#lambda.titlecase}}{{name}}{{/lambda.titlecase}}() { return {{vendorExtensions.x-serialize}}; }{{/vendorExtensions.x-serialize}} + {{/isMap}} {{/vars}} {{#vendorExtensions.x-constructor-required}} {{#modelParameters}}