From b3453d352c7dabdcd5df471846b5f4351b775301 Mon Sep 17 00:00:00 2001 From: Mahesh Panchaksharaiah Date: Thu, 7 Nov 2019 16:18:19 +0530 Subject: [PATCH] Added SecretConfig default constructor for de-serialization --- .../gocd/secretmanager/aws/models/SecretConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java b/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java index bfbdb75..207442d 100644 --- a/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java +++ b/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java @@ -57,6 +57,11 @@ public class SecretConfig { @Property(name = "SecretCacheTTL", required = false) private String secretCacheTTL; +// Required for GSON de-serialization from JSON + public SecretConfig() { + + } + public SecretConfig(String awsEndpoint, String awsAccessKey, String awsSecretAccessKey) { this.awsEndpoint = awsEndpoint; this.awsAccessKey = awsAccessKey;