From 998bb017939e9991b67f766213004e9c657c63d8 Mon Sep 17 00:00:00 2001 From: sbansla Date: Fri, 27 Oct 2023 10:51:57 +0530 Subject: [PATCH] added constructor --- src/main/java/com/twilio/rest/content/v1/Content.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/twilio/rest/content/v1/Content.java b/src/main/java/com/twilio/rest/content/v1/Content.java index 84f995159b..9318fa291b 100644 --- a/src/main/java/com/twilio/rest/content/v1/Content.java +++ b/src/main/java/com/twilio/rest/content/v1/Content.java @@ -390,6 +390,10 @@ public String getVariables() { @JsonProperty("types") @Getter @Setter private Types types; + public ContentCreateRequest(final String language, final Types types ) { + this.language = language; + this.types = types; + } public static ContentCreateRequest fromJson(String jsonString, ObjectMapper mapper) throws IOException { return mapper.readValue(jsonString, ContentCreateRequest.class);