/*
* InternetData API
*
* The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
*
* The version of the OpenAPI document: 2026.11.15
* Contact: support@internetdata.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// BatchLookupRequest : Up to 1000 items across the three arrays, each optional.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BatchLookupRequest {
/// Addresses.
#[serde(rename = "ips", skip_serializing_if = "Option::is_none")]
pub ips: Option<Vec<String>>,
/// AS numbers, `AS15169` or `15169`; a JSON number reads too.
#[serde(rename = "asns", skip_serializing_if = "Option::is_none")]
pub asns: Option<Vec<String>>,
/// Domains.
#[serde(rename = "domains", skip_serializing_if = "Option::is_none")]
pub domains: Option<Vec<String>>,
}
impl BatchLookupRequest {
/// Up to 1000 items across the three arrays, each optional.
pub fn new() -> BatchLookupRequest {
BatchLookupRequest { ips: None, asns: None, domains: None }
}
}