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

com.threatconnect.sdk.server.entity.VictimNetworkAccount 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author James
 */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "VictimNetworkAccount")
public class VictimNetworkAccount extends VictimAsset
{
    @XmlElement(name = "Account", required = true)
    private String account;
    @XmlElement(name = "Network", required = true)
    private String network;
    
    public VictimNetworkAccount()
    {
    }

    public VictimNetworkAccount(Integer id, String name, String type, String webLink, String account, String network)
    {
        super(id, name, type, webLink);
        this.account = account;
        this.network = network;
    }

    public String getAccount()
    {
        return account;
    }

    public void setAccount(String account)
    {
        this.account = account;
    }

    public String getNetwork()
    {
        return network;
    }

    public void setNetwork(String network)
    {
        this.network = network;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy