mirror of
https://github.com/Tribufu/TribufuRust
synced 2026-08-09 21:01:07 +00:00
Release v1.3.0
This commit is contained in:
parent
33d76d7a4e
commit
dfa1dfb1c8
64 changed files with 3285 additions and 1329 deletions
|
|
@ -1,9 +1,9 @@
|
|||
/*
|
||||
* Tribufu API
|
||||
*
|
||||
* REST API to access Tribufu services.
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.1.0
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* Contact: contact@tribufu.com
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
|
@ -21,6 +21,8 @@ pub struct IpAddress {
|
|||
pub network: Option<Option<String>>,
|
||||
#[serde(rename = "reserved", skip_serializing_if = "Option::is_none")]
|
||||
pub reserved: Option<bool>,
|
||||
#[serde(rename = "banned", skip_serializing_if = "Option::is_none")]
|
||||
pub banned: Option<bool>,
|
||||
#[serde(rename = "asn", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub asn: Option<Option<String>>,
|
||||
#[serde(rename = "isp", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
|
|
@ -29,8 +31,8 @@ pub struct IpAddress {
|
|||
pub continent: Option<Option<String>>,
|
||||
#[serde(rename = "country", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub country: Option<Option<String>>,
|
||||
#[serde(rename = "region", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub region: Option<Option<String>>,
|
||||
#[serde(rename = "province", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub province: Option<Option<String>>,
|
||||
#[serde(rename = "city", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub city: Option<Option<String>>,
|
||||
#[serde(rename = "postal_code", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
|
|
@ -58,11 +60,12 @@ impl IpAddress {
|
|||
version: None,
|
||||
network: None,
|
||||
reserved: None,
|
||||
banned: None,
|
||||
asn: None,
|
||||
isp: None,
|
||||
continent: None,
|
||||
country: None,
|
||||
region: None,
|
||||
province: None,
|
||||
city: None,
|
||||
postal_code: None,
|
||||
calling_code: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue