make regen-apis

This commit is contained in:
OMGeeky
2023-10-23 12:55:17 +02:00
parent 8fc78fe0ae
commit c356d5fd0e
887 changed files with 9716 additions and 8753 deletions

View File

@@ -31,14 +31,14 @@ use super::*;
/// // You can configure optional parameters by calling the respective setters at will, and
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.orders().list(97)
/// .add_statuses("ea")
/// .placed_date_start("ipsum")
/// .placed_date_end("invidunt")
/// .page_token("amet")
/// .order_by("duo")
/// .max_results(51)
/// .acknowledged(false)
/// let result = hub.orders().list(89)
/// .add_statuses(&Default::default())
/// .placed_date_start("eos")
/// .placed_date_end("dolor")
/// .page_token("ea")
/// .order_by("ipsum")
/// .max_results(13)
/// .acknowledged(true)
/// .doit().await;
///
/// match result {

View File

@@ -1525,11 +1525,11 @@ impl<'a, S> OrderMethods<'a, S> {
///
/// * `merchantId` - The ID of the account that should manage the order. This cannot be a multi-client account.
/// * `templateName` - The name of the template to retrieve.
pub fn gettestordertemplate(&self, merchant_id: u64, template_name: &str) -> OrderGettestordertemplateCall<'a, S> {
pub fn gettestordertemplate(&self, merchant_id: u64, template_name: &OrderTemplateNameEnum) -> OrderGettestordertemplateCall<'a, S> {
OrderGettestordertemplateCall {
hub: self.hub,
_merchant_id: merchant_id,
_template_name: template_name.to_string(),
_template_name: template_name.clone(),
_country: Default::default(),
_delegate: Default::default(),
_additional_params: Default::default(),

View File

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

View File

@@ -145,13 +145,13 @@
//! // execute the final call using `doit()`.
//! // Values shown here are possibly random and not representative !
//! let result = hub.orders().list(99)
//! .add_statuses("takimata")
//! .placed_date_start("amet.")
//! .placed_date_end("duo")
//! .page_token("ipsum")
//! .order_by("gubergren")
//! .max_results(50)
//! .acknowledged(false)
//! .add_statuses(&Default::default())
//! .placed_date_start("takimata")
//! .placed_date_end("amet.")
//! .page_token("duo")
//! .order_by("ipsum")
//! .max_results(39)
//! .acknowledged(true)
//! .doit().await;
//!
//! match result {