package com.emailclue.api.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;


public class Clue {

    private final Status status;
    private final ErrorType errorType;
    private final List<String> didYouMean;
    private final EmailProvider emailProvider;
    private final boolean disposable;

    @JsonCreator
    public Clue(
            @JsonProperty("status") final Status status,
            @JsonProperty("errorType") final ErrorType errorType,
            @JsonProperty("didYouMean") final List<String> didYouMean,
            @JsonProperty("emailProvider") final EmailProvider emailProvider,
            @JsonProperty("disposable") boolean disposable
    ) {
        this.status = status;
        this.errorType = errorType;
        this.didYouMean = didYouMean;
        this.emailProvider = emailProvider;
        this.disposable = disposable;
    }

    @JsonProperty("status")
    public Status getStatus() {
        return status;
    }

    @JsonProperty("errorType")
    public ErrorType getErrorType() {
        return errorType;
    }

    @JsonProperty("didYouMean")
    public List<String> getDidYouMean() {
        return didYouMean;
    }

    public EmailProvider getEmailProvider() {
        return emailProvider;
    }

    @JsonProperty("disposable")
    public boolean isDisposable() {
        return disposable;
    }

    @Override
    public String toString() {
        return "Clue{" +
                "status=" + status +
                ", errorType=" + errorType +
                ", didYouMean=" + didYouMean +
                ", emailProvider=" + emailProvider +
                '}';
    }
}

@@ -380,16 +380,53 @@
 posable;
+%0A    private final String normalised;
 %0A%0A    @J
@@ -783,16 +783,81 @@
 sposable
+,%0A            @JsonProperty(%22normalised%22) final String normalised
 %0A    ) %7B
@@ -1035,32 +1035,70 @@
 e = disposable;%0A
+        this.normalised = normalised;%0A
     %7D%0A%0A    @Json
@@ -1535,24 +1535,24 @@
 posable() %7B%0A
-
         retu
@@ -1569,24 +1569,126 @@
 ble;%0A    %7D%0A%0A
+    @JsonProperty(%22normalised%22)%0A    public String getNormalised() %7B%0A        return normalised;%0A    %7D%0A%0A
     @Overrid

Add normalised address to response