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

com.threatconnect.sdk.server.entity.DnsResolution Maven / Gradle / Ivy

Go to download

The ThreatConnect Java SDK. Used to communicate with teh ThreatConnect Threat Intelligence Platform

The newest version!
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.threatconnect.sdk.server.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.threatconnect.sdk.server.entity.format.DateSerializer;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import java.util.Date;
import java.util.List;

/**
 *
 * @author James
 */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlSeeAlso({Address.class})
public class DnsResolution
{
    @JsonSerialize(using = DateSerializer.class)
    @XmlElement(name = "ResolutionDate", required = false)
    private Date resolutionDate;
    @XmlElement(name = "Addresses", required = false)
    private List
addresses; protected DnsResolution() { } public DnsResolution(Date resolutionDate, List
addresses) { this.resolutionDate = resolutionDate; this.addresses = addresses; } public Date getResolutionDate() { return resolutionDate; } public void setResolutionDate(Date resolutionDate) { this.resolutionDate = resolutionDate; } public List
getAddresses() { return addresses; } public void setAddresses(List
addresses) { this.addresses = addresses; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy