internetdata 2.9.0

The official Rust client library for the InternetData API: look up IP addresses, AS numbers and domains, and download the IP intelligence databases.
Documentation
/*
 * 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.13
 * 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 SatelliteDetail {
    /// The operator's ID in Satellite IP Provider.
    #[serde(rename = "provider", skip_serializing_if = "Option::is_none")]
    pub provider: Option<String>,
    /// The operator's name.
    #[serde(rename = "provider_name", skip_serializing_if = "Option::is_none")]
    pub provider_name: Option<String>,
    /// The orbit: `leo`, `meo` or `geo`.
    #[serde(rename = "orbit", skip_serializing_if = "Option::is_none")]
    pub orbit: Option<String>,
    /// Who the space serves, such as consumer or maritime.
    #[serde(rename = "segment", skip_serializing_if = "Option::is_none")]
    pub segment: Option<String>,
    /// ISO 3166 country code.
    #[serde(rename = "country", skip_serializing_if = "Option::is_none")]
    pub country: Option<String>,
    /// The AS the operator announces it from.
    #[serde(rename = "asn", skip_serializing_if = "Option::is_none")]
    pub asn: Option<i32>,
    /// `high`, `medium` or `low`.
    #[serde(rename = "confidence", skip_serializing_if = "Option::is_none")]
    pub confidence: Option<String>,
}

impl SatelliteDetail {
    pub fn new() -> SatelliteDetail {
        SatelliteDetail {
            provider: None,
            provider_name: None,
            orbit: None,
            segment: None,
            country: None,
            asn: None,
            confidence: None,
        }
    }
}