make regen-apis

This commit is contained in:
OMGeeky
2023-10-23 12:55:17 +02:00
parent a4b0f56b8c
commit 4a258a57a6
1025 changed files with 29943 additions and 28980 deletions

View File

@@ -70,7 +70,7 @@ where
}
let mut params = Params::with_capacity(3 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
params.extend(self._additional_params.iter());
@@ -348,7 +348,7 @@ where
}
let mut params = Params::with_capacity(11 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._start_date_year.as_ref() {
params.push("startDate.year", value.to_string());
}
@@ -690,7 +690,7 @@ where
}
let mut params = Params::with_capacity(3 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
params.extend(self._additional_params.iter());

View File

@@ -30,3 +30,6 @@ pub use method_builders::*;
mod call_builders;
pub use call_builders::*;
mod enums;
pub use enums::*;

View File

@@ -9,7 +9,7 @@ pub struct DeliveryError {
/// The class of delivery error.
#[serde(rename="errorClass")]
pub error_class: Option<String>,
pub error_class: Option<DeliveryErrorErrorClassEnum>,
/// The ratio of messages where the error occurred vs all authenticated traffic.
#[serde(rename="errorRatio")]
@@ -17,7 +17,7 @@ pub struct DeliveryError {
/// The type of delivery error.
#[serde(rename="errorType")]
pub error_type: Option<String>,
pub error_type: Option<DeliveryErrorErrorTypeEnum>,
}
impl client::Part for DeliveryError {}
@@ -46,7 +46,7 @@ pub struct Domain {
pub name: Option<String>,
/// Users permission for this domain. Assigned by the server.
pub permission: Option<String>,
pub permission: Option<DomainPermissionEnum>,
}
impl client::Resource for Domain {}
@@ -86,7 +86,7 @@ pub struct IpReputation {
pub ip_count: Option<i64>,
/// The reputation category this IP reputation represents.
pub reputation: Option<String>,
pub reputation: Option<IpReputationReputationEnum>,
/// A sample of IPs in this reputation category.
#[serde(rename="sampleIps")]
@@ -169,7 +169,7 @@ pub struct TrafficStats {
/// Reputation of the domain.
#[serde(rename="domainReputation")]
pub domain_reputation: Option<String>,
pub domain_reputation: Option<TrafficStatDomainReputationEnum>,
/// The ratio of incoming mail (to Gmail), that passed secure transport (TLS) vs all mail received from that domain. This metric only pertains to traffic that passed [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/).
#[serde(rename="inboundEncryptionRatio")]