/*
* 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};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClassDetail {
/// The provider's ID in its catalog; empty for an unattributed range, and on Tor.
#[serde(rename = "provider", skip_serializing_if = "Option::is_none")]
pub provider: Option<String>,
/// The name the catalog gives the provider, empty where it names none.
#[serde(rename = "provider_name", skip_serializing_if = "Option::is_none")]
pub provider_name: Option<String>,
/// `high`, `medium` or `low`: how sure we are the range is what the flag says.
#[serde(rename = "confidence", skip_serializing_if = "Option::is_none")]
pub confidence: Option<String>,
/// The last day the range was seen as such.
#[serde(rename = "last_seen", skip_serializing_if = "Option::is_none")]
pub last_seen: Option<String>,
}
impl ClassDetail {
pub fn new() -> ClassDetail {
ClassDetail { provider: None, provider_name: None, confidence: None, last_seen: None }
}
}