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

com.threatconnect.sdk.server.response.entity.data.BatchResponseData Maven / Gradle / Ivy

Go to download

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

The newest version!
package com.threatconnect.sdk.server.response.entity.data;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

/**
 * Created by cblades on 6/10/2015.
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class BatchResponseData extends ApiEntitySingleResponseData
{

    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    @XmlElement(name = "batchId", required = false)
    private Integer batchId;

    public void setBatchId(Integer batchId)
    {
        this.batchId = batchId;
    }

    public Integer getBatchId()
    {
        return this.batchId;
    }


    @Override
    @JsonIgnore
    public Integer getData()
    {
        return getBatchId();
    }

    @Override
    public void setData(Integer data)
    {
        setBatchId(data);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy