All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sparkpost.model.responses.DomainListResponse Maven / Gradle / Ivy

There is a newer version: 0.27
Show newest version

package com.sparkpost.model.responses;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class DomainListResponse extends Response {

    Map> results;

    public List getDomainList() {
        if (this.results == null) {
            return new ArrayList();
        }
        return this.results.get("domains");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy