mirror of
https://github.com/Tribufu/TribufuRust
synced 2026-08-08 20:31:07 +00:00
Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 41a9bde06a | |||
| 70bd839d41 | |||
| 732ad87783 | |||
| 9eb473d6d6 |
62 changed files with 338 additions and 1033 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
src/apis/configuration.rs
|
src/apis/configuration.rs
|
||||||
src/apis/mod.rs
|
src/apis/mod.rs
|
||||||
src/apis/tribufu_generated_api.rs
|
src/apis/tribufu_generated_api.rs
|
||||||
src/models/account.rs
|
|
||||||
src/models/application.rs
|
src/models/application.rs
|
||||||
src/models/application_type.rs
|
src/models/application_type.rs
|
||||||
src/models/authorize_request.rs
|
src/models/authorize_request.rs
|
||||||
|
|
@ -12,6 +11,7 @@ src/models/code_challenge_method.rs
|
||||||
src/models/code_response.rs
|
src/models/code_response.rs
|
||||||
src/models/create_user.rs
|
src/models/create_user.rs
|
||||||
src/models/crypto_view_model.rs
|
src/models/crypto_view_model.rs
|
||||||
|
src/models/external_account.rs
|
||||||
src/models/game.rs
|
src/models/game.rs
|
||||||
src/models/game_server.rs
|
src/models/game_server.rs
|
||||||
src/models/game_server_cluster.rs
|
src/models/game_server_cluster.rs
|
||||||
|
|
@ -23,12 +23,12 @@ src/models/group_application.rs
|
||||||
src/models/group_member.rs
|
src/models/group_member.rs
|
||||||
src/models/group_rank.rs
|
src/models/group_rank.rs
|
||||||
src/models/hash_view_model.rs
|
src/models/hash_view_model.rs
|
||||||
|
src/models/identity_provider_type.rs
|
||||||
src/models/introspect_request.rs
|
src/models/introspect_request.rs
|
||||||
src/models/introspect_response.rs
|
src/models/introspect_response.rs
|
||||||
src/models/ip_address.rs
|
src/models/ip_address.rs
|
||||||
src/models/leaderboard_item.rs
|
src/models/leaderboard_item.rs
|
||||||
src/models/leaderboard_order.rs
|
src/models/leaderboard_order.rs
|
||||||
src/models/login_provider.rs
|
|
||||||
src/models/mod.rs
|
src/models/mod.rs
|
||||||
src/models/package.rs
|
src/models/package.rs
|
||||||
src/models/package_release.rs
|
src/models/package_release.rs
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name = "tribufu"
|
name = "tribufu"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "REST API to access Tribufu services."
|
description = "REST API to access Tribufu services."
|
||||||
repository = "https://github.com/tribufu/tribufu-rust"
|
repository = "https://github.com/Tribufu/TribufuRust"
|
||||||
authors = ["Tribufu <contact@tribufu.com>"]
|
authors = ["Tribufu <contact@tribufu.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
@ -19,6 +19,7 @@ exclude = [
|
||||||
".vscode/",
|
".vscode/",
|
||||||
"examples/",
|
"examples/",
|
||||||
"scripts/",
|
"scripts/",
|
||||||
|
"vendor/",
|
||||||
]
|
]
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Rust SDK to access Tribufu APIs and services.
|
||||||
[crates-badge]: https://img.shields.io/crates/v/tribufu.svg
|
[crates-badge]: https://img.shields.io/crates/v/tribufu.svg
|
||||||
[crates-url]: https://crates.io/crates/tribufu
|
[crates-url]: https://crates.io/crates/tribufu
|
||||||
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||||
[mit-url]: https://github.com/tribufu/tribufu-rust/blob/main/LICENSE.txt
|
[mit-url]: https://github.com/Tribufu/TribufuRust/blob/main/LICENSE.txt
|
||||||
[discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square
|
[discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square
|
||||||
[discord-url]: https://www.tribufu.com/discord
|
[discord-url]: https://www.tribufu.com/discord
|
||||||
|
|
||||||
|
|
@ -20,4 +20,4 @@ Rust SDK to access Tribufu APIs and services.
|
||||||
|
|
||||||
This project is licensed under the [MIT License].
|
This project is licensed under the [MIT License].
|
||||||
|
|
||||||
[MIT License]: https://github.com/tribufu/tribufu-rust/blob/main/LICENSE.txt
|
[MIT License]: https://github.com/Tribufu/TribufuRust/blob/main/LICENSE.txt
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use dotenv::dotenv;
|
use dotenv::dotenv;
|
||||||
use tribufu::apis::tribufu_generated_api::TribufuGeneratedApi;
|
|
||||||
use tribufu::TribufuApi;
|
use tribufu::TribufuApi;
|
||||||
|
use tribufu::TribufuGeneratedApi;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -40,7 +40,7 @@ impl Default for Configuration {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Configuration {
|
Configuration {
|
||||||
base_path: "http://localhost".to_owned(),
|
base_path: "http://localhost".to_owned(),
|
||||||
user_agent: Some("OpenAPI-Generator/1.3.0/rust".to_owned()),
|
user_agent: Some("OpenAPI-Generator/1.4.3/rust".to_owned()),
|
||||||
client: reqwest::Client::new(),
|
client: reqwest::Client::new(),
|
||||||
basic_auth: None,
|
basic_auth: None,
|
||||||
oauth_access_token: None,
|
oauth_access_token: None,
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -2,7 +2,7 @@
|
||||||
name = "tribufu-constants"
|
name = "tribufu-constants"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "Tribufu Constants"
|
description = "Tribufu Constants"
|
||||||
repository = "https://github.com/tribufu/tribufu-rust"
|
repository = "https://github.com/Tribufu/TribufuRust"
|
||||||
authors = ["Tribufu <contact@tribufu.com>"]
|
authors = ["Tribufu <contact@tribufu.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name = "tribufu-error"
|
name = "tribufu-error"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "Tribufu Error"
|
description = "Tribufu Error"
|
||||||
repository = "https://github.com/tribufu/tribufu-rust"
|
repository = "https://github.com/Tribufu/TribufuRust"
|
||||||
authors = ["Tribufu <contact@tribufu.com>"]
|
authors = ["Tribufu <contact@tribufu.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name = "tribufu-json"
|
name = "tribufu-json"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "Tribufu Json"
|
description = "Tribufu Json"
|
||||||
repository = "https://github.com/tribufu/tribufu-rust"
|
repository = "https://github.com/Tribufu/TribufuRust"
|
||||||
authors = ["Tribufu <contact@tribufu.com>"]
|
authors = ["Tribufu <contact@tribufu.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,14 @@
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
#![allow(clippy::too_many_arguments)]
|
#![allow(clippy::too_many_arguments)]
|
||||||
|
|
||||||
|
pub use crate::apis::tribufu_generated_api::TribufuGeneratedApi;
|
||||||
|
|
||||||
use crate::apis::configuration::{ApiKey, Configuration};
|
use crate::apis::configuration::{ApiKey, Configuration};
|
||||||
use crate::apis::tribufu_generated_api::TribufuGeneratedApiClient;
|
use crate::apis::tribufu_generated_api::TribufuGeneratedApiClient;
|
||||||
use reqwest::Client;
|
use reqwest::Client;
|
||||||
use tribufu_constants::{RUSTC_VERSION, TARGET_TRIPLE};
|
|
||||||
use std::env::{self, consts};
|
use std::env::{self, consts};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
use tribufu_constants::{RUSTC_VERSION, TARGET_TRIPLE};
|
||||||
|
|
||||||
pub mod apis;
|
pub mod apis;
|
||||||
pub mod models;
|
pub mod models;
|
||||||
|
|
@ -69,7 +71,10 @@ impl TribufuApi {
|
||||||
/// Gets the user agent string for the Tribufu API client.
|
/// Gets the user agent string for the Tribufu API client.
|
||||||
pub fn get_user_agent() -> String {
|
pub fn get_user_agent() -> String {
|
||||||
let version = Self::get_version();
|
let version = Self::get_version();
|
||||||
format!("Tribufu/{} (Rust {}; {})", version, RUSTC_VERSION, TARGET_TRIPLE)
|
format!(
|
||||||
|
"Tribufu/{} (Rust {}; {})",
|
||||||
|
version, RUSTC_VERSION, TARGET_TRIPLE
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Checks if debug mode is enabled.
|
/// Checks if debug mode is enabled.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name = "tribufu-log"
|
name = "tribufu-log"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "Tribufu Log"
|
description = "Tribufu Log"
|
||||||
repository = "https://github.com/tribufu/tribufu-rust"
|
repository = "https://github.com/Tribufu/TribufuRust"
|
||||||
authors = ["Tribufu <contact@tribufu.com>"]
|
authors = ["Tribufu <contact@tribufu.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -21,8 +21,8 @@ pub struct Application {
|
||||||
pub description: Option<Option<String>>,
|
pub description: Option<Option<String>>,
|
||||||
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
||||||
pub r#type: Option<models::ApplicationType>,
|
pub r#type: Option<models::ApplicationType>,
|
||||||
#[serde(rename = "organization_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "organization_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub organization_id: Option<Option<String>>,
|
pub organization_id: Option<String>,
|
||||||
#[serde(rename = "icon_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "icon_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub icon_url: Option<Option<String>>,
|
pub icon_url: Option<Option<String>>,
|
||||||
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -33,10 +33,12 @@ pub struct Application {
|
||||||
pub library_image_url: Option<Option<String>>,
|
pub library_image_url: Option<Option<String>>,
|
||||||
#[serde(rename = "slug", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "slug", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub slug: Option<Option<String>>,
|
pub slug: Option<Option<String>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Application {
|
impl Application {
|
||||||
|
|
@ -52,8 +54,9 @@ impl Application {
|
||||||
capsule_image_url: None,
|
capsule_image_url: None,
|
||||||
library_image_url: None,
|
library_image_url: None,
|
||||||
slug: None,
|
slug: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -14,8 +14,8 @@ use serde::{Deserialize, Serialize};
|
||||||
///
|
///
|
||||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
|
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
|
||||||
pub enum ApplicationType {
|
pub enum ApplicationType {
|
||||||
#[serde(rename = "application")]
|
#[serde(rename = "software")]
|
||||||
Application,
|
Software,
|
||||||
#[serde(rename = "game")]
|
#[serde(rename = "game")]
|
||||||
Game,
|
Game,
|
||||||
|
|
||||||
|
|
@ -24,7 +24,7 @@ pub enum ApplicationType {
|
||||||
impl std::fmt::Display for ApplicationType {
|
impl std::fmt::Display for ApplicationType {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Self::Application => write!(f, "application"),
|
Self::Software => write!(f, "software"),
|
||||||
Self::Game => write!(f, "game"),
|
Self::Game => write!(f, "game"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -32,7 +32,7 @@ impl std::fmt::Display for ApplicationType {
|
||||||
|
|
||||||
impl Default for ApplicationType {
|
impl Default for ApplicationType {
|
||||||
fn default() -> ApplicationType {
|
fn default() -> ApplicationType {
|
||||||
Self::Application
|
Self::Software
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -35,10 +35,12 @@ pub struct Client {
|
||||||
pub scopes: Option<Option<String>>,
|
pub scopes: Option<Option<String>>,
|
||||||
#[serde(rename = "permissions", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "permissions", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub permissions: Option<Option<Vec<String>>>,
|
pub permissions: Option<Option<Vec<String>>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Client {
|
impl Client {
|
||||||
|
|
@ -55,8 +57,9 @@ impl Client {
|
||||||
redirects: None,
|
redirects: None,
|
||||||
scopes: None,
|
scopes: None,
|
||||||
permissions: None,
|
permissions: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -13,8 +13,8 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct CreateUser {
|
pub struct CreateUser {
|
||||||
#[serde(rename = "uuid", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
||||||
pub uuid: Option<Option<uuid::Uuid>>,
|
pub uuid: Option<String>,
|
||||||
#[serde(rename = "name")]
|
#[serde(rename = "name")]
|
||||||
pub name: String,
|
pub name: String,
|
||||||
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
51
src/models/external_account.rs
Normal file
51
src/models/external_account.rs
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
/*
|
||||||
|
* Tribufu API
|
||||||
|
*
|
||||||
|
* API to access Tribufu services.
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.4.3
|
||||||
|
* Contact: contact@tribufu.com
|
||||||
|
* Generated by: https://openapi-generator.tech
|
||||||
|
*/
|
||||||
|
|
||||||
|
use crate::models;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
||||||
|
pub struct ExternalAccount {
|
||||||
|
#[serde(rename = "user_id", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub user_id: Option<String>,
|
||||||
|
#[serde(rename = "provider")]
|
||||||
|
pub provider: models::IdentityProviderType,
|
||||||
|
#[serde(rename = "external_id", deserialize_with = "Option::deserialize")]
|
||||||
|
pub external_id: Option<String>,
|
||||||
|
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub name: Option<Option<String>>,
|
||||||
|
#[serde(rename = "authorized", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub authorized: Option<bool>,
|
||||||
|
#[serde(rename = "fields", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub fields: Option<Option<std::collections::HashMap<String, serde_json::Value>>>,
|
||||||
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub created_at: Option<String>,
|
||||||
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ExternalAccount {
|
||||||
|
pub fn new(provider: models::IdentityProviderType, external_id: Option<String>) -> ExternalAccount {
|
||||||
|
ExternalAccount {
|
||||||
|
user_id: None,
|
||||||
|
provider,
|
||||||
|
external_id,
|
||||||
|
name: None,
|
||||||
|
authorized: None,
|
||||||
|
fields: None,
|
||||||
|
created_at: None,
|
||||||
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -21,8 +21,8 @@ pub struct Game {
|
||||||
pub description: Option<Option<String>>,
|
pub description: Option<Option<String>>,
|
||||||
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
||||||
pub r#type: Option<models::ApplicationType>,
|
pub r#type: Option<models::ApplicationType>,
|
||||||
#[serde(rename = "organization_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "organization_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub organization_id: Option<Option<String>>,
|
pub organization_id: Option<String>,
|
||||||
#[serde(rename = "icon_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "icon_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub icon_url: Option<Option<String>>,
|
pub icon_url: Option<Option<String>>,
|
||||||
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -33,10 +33,12 @@ pub struct Game {
|
||||||
pub library_image_url: Option<Option<String>>,
|
pub library_image_url: Option<Option<String>>,
|
||||||
#[serde(rename = "slug", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "slug", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub slug: Option<Option<String>>,
|
pub slug: Option<Option<String>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
#[serde(rename = "enable_servers", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "enable_servers", skip_serializing_if = "Option::is_none")]
|
||||||
pub enable_servers: Option<bool>,
|
pub enable_servers: Option<bool>,
|
||||||
#[serde(rename = "game_port", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "game_port", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -66,8 +68,9 @@ impl Game {
|
||||||
capsule_image_url: None,
|
capsule_image_url: None,
|
||||||
library_image_url: None,
|
library_image_url: None,
|
||||||
slug: None,
|
slug: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
enable_servers: None,
|
enable_servers: None,
|
||||||
game_port: None,
|
game_port: None,
|
||||||
query_port: None,
|
query_port: None,
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -19,8 +19,8 @@ pub struct GameServer {
|
||||||
pub name: Option<String>,
|
pub name: Option<String>,
|
||||||
#[serde(rename = "description", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "description", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub description: Option<Option<String>>,
|
pub description: Option<Option<String>>,
|
||||||
#[serde(rename = "owner_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "owner_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub owner_id: Option<Option<String>>,
|
pub owner_id: Option<String>,
|
||||||
#[serde(rename = "address", deserialize_with = "Option::deserialize")]
|
#[serde(rename = "address", deserialize_with = "Option::deserialize")]
|
||||||
pub address: Option<String>,
|
pub address: Option<String>,
|
||||||
#[serde(rename = "query_port")]
|
#[serde(rename = "query_port")]
|
||||||
|
|
@ -35,8 +35,8 @@ pub struct GameServer {
|
||||||
pub game_id: Option<String>,
|
pub game_id: Option<String>,
|
||||||
#[serde(rename = "game_icon_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "game_icon_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub game_icon_url: Option<Option<String>>,
|
pub game_icon_url: Option<Option<String>>,
|
||||||
#[serde(rename = "cluster_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "cluster_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub cluster_id: Option<Option<String>>,
|
pub cluster_id: Option<String>,
|
||||||
#[serde(rename = "website_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "website_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub website_url: Option<Option<String>>,
|
pub website_url: Option<Option<String>>,
|
||||||
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -48,13 +48,15 @@ pub struct GameServer {
|
||||||
#[serde(rename = "steam", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "steam", skip_serializing_if = "Option::is_none")]
|
||||||
pub steam: Option<bool>,
|
pub steam: Option<bool>,
|
||||||
#[serde(rename = "discord_server_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "discord_server_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub discord_server_id: Option<Option<String>>,
|
pub discord_server_id: Option<Option<i64>>,
|
||||||
#[serde(rename = "youtube_video_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "youtube_video_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub youtube_video_url: Option<Option<String>>,
|
pub youtube_video_url: Option<Option<String>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl GameServer {
|
impl GameServer {
|
||||||
|
|
@ -79,8 +81,9 @@ impl GameServer {
|
||||||
steam: None,
|
steam: None,
|
||||||
discord_server_id: None,
|
discord_server_id: None,
|
||||||
youtube_video_url: None,
|
youtube_video_url: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -28,7 +28,7 @@ pub struct GameServerCluster {
|
||||||
#[serde(rename = "owner_id", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "owner_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub owner_id: Option<String>,
|
pub owner_id: Option<String>,
|
||||||
#[serde(rename = "discord_server_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "discord_server_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub discord_server_id: Option<Option<String>>,
|
pub discord_server_id: Option<Option<i64>>,
|
||||||
#[serde(rename = "youtube_video_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "youtube_video_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub youtube_video_url: Option<Option<String>>,
|
pub youtube_video_url: Option<Option<String>>,
|
||||||
#[serde(rename = "tags", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "tags", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -37,10 +37,12 @@ pub struct GameServerCluster {
|
||||||
pub comment_count: Option<i32>,
|
pub comment_count: Option<i32>,
|
||||||
#[serde(rename = "server_count", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "server_count", skip_serializing_if = "Option::is_none")]
|
||||||
pub server_count: Option<i32>,
|
pub server_count: Option<i32>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl GameServerCluster {
|
impl GameServerCluster {
|
||||||
|
|
@ -58,8 +60,9 @@ impl GameServerCluster {
|
||||||
tags: None,
|
tags: None,
|
||||||
comment_count: None,
|
comment_count: None,
|
||||||
server_count: None,
|
server_count: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -27,8 +27,8 @@ pub struct GameServerQuery {
|
||||||
pub max_players: Option<i32>,
|
pub max_players: Option<i32>,
|
||||||
#[serde(rename = "motd", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "motd", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub motd: Option<Option<String>>,
|
pub motd: Option<Option<String>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl GameServerQuery {
|
impl GameServerQuery {
|
||||||
|
|
@ -41,7 +41,7 @@ impl GameServerQuery {
|
||||||
current_players: None,
|
current_players: None,
|
||||||
max_players: None,
|
max_players: None,
|
||||||
motd: None,
|
motd: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -16,7 +16,7 @@ pub struct Group {
|
||||||
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
||||||
pub id: Option<String>,
|
pub id: Option<String>,
|
||||||
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
||||||
pub uuid: Option<uuid::Uuid>,
|
pub uuid: Option<String>,
|
||||||
#[serde(rename = "name", deserialize_with = "Option::deserialize")]
|
#[serde(rename = "name", deserialize_with = "Option::deserialize")]
|
||||||
pub name: Option<String>,
|
pub name: Option<String>,
|
||||||
#[serde(rename = "tag", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "tag", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -41,10 +41,12 @@ pub struct Group {
|
||||||
pub follower_count: Option<i32>,
|
pub follower_count: Option<i32>,
|
||||||
#[serde(rename = "view_count", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "view_count", skip_serializing_if = "Option::is_none")]
|
||||||
pub view_count: Option<i32>,
|
pub view_count: Option<i32>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Group {
|
impl Group {
|
||||||
|
|
@ -64,8 +66,9 @@ impl Group {
|
||||||
member_count: None,
|
member_count: None,
|
||||||
follower_count: None,
|
follower_count: None,
|
||||||
view_count: None,
|
view_count: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -15,18 +15,12 @@ use serde::{Deserialize, Serialize};
|
||||||
pub struct GroupMember {
|
pub struct GroupMember {
|
||||||
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
||||||
pub id: Option<String>,
|
pub id: Option<String>,
|
||||||
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub uuid: Option<uuid::Uuid>,
|
|
||||||
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub name: Option<Option<String>>,
|
pub name: Option<Option<String>>,
|
||||||
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub display_name: Option<Option<String>>,
|
pub display_name: Option<Option<String>>,
|
||||||
#[serde(rename = "verified", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub verified: Option<bool>,
|
|
||||||
#[serde(rename = "photo_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "photo_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub photo_url: Option<Option<String>>,
|
pub photo_url: Option<Option<String>>,
|
||||||
#[serde(rename = "last_online", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub last_online: Option<Option<String>>,
|
|
||||||
#[serde(rename = "rank", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "rank", skip_serializing_if = "Option::is_none")]
|
||||||
pub rank: Option<models::GroupRank>,
|
pub rank: Option<models::GroupRank>,
|
||||||
#[serde(rename = "since", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "since", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -37,12 +31,9 @@ impl GroupMember {
|
||||||
pub fn new() -> GroupMember {
|
pub fn new() -> GroupMember {
|
||||||
GroupMember {
|
GroupMember {
|
||||||
id: None,
|
id: None,
|
||||||
uuid: None,
|
|
||||||
name: None,
|
name: None,
|
||||||
display_name: None,
|
display_name: None,
|
||||||
verified: None,
|
|
||||||
photo_url: None,
|
photo_url: None,
|
||||||
last_online: None,
|
|
||||||
rank: None,
|
rank: None,
|
||||||
since: None,
|
since: None,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
53
src/models/identity_provider_type.rs
Normal file
53
src/models/identity_provider_type.rs
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
/*
|
||||||
|
* Tribufu API
|
||||||
|
*
|
||||||
|
* API to access Tribufu services.
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.4.3
|
||||||
|
* Contact: contact@tribufu.com
|
||||||
|
* Generated by: https://openapi-generator.tech
|
||||||
|
*/
|
||||||
|
|
||||||
|
use crate::models;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
///
|
||||||
|
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
|
||||||
|
pub enum IdentityProviderType {
|
||||||
|
#[serde(rename = "steam")]
|
||||||
|
Steam,
|
||||||
|
#[serde(rename = "epic")]
|
||||||
|
Epic,
|
||||||
|
#[serde(rename = "discord")]
|
||||||
|
Discord,
|
||||||
|
#[serde(rename = "microsoft")]
|
||||||
|
Microsoft,
|
||||||
|
#[serde(rename = "playstation")]
|
||||||
|
Playstation,
|
||||||
|
#[serde(rename = "google")]
|
||||||
|
Google,
|
||||||
|
#[serde(rename = "apple")]
|
||||||
|
Apple,
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
impl std::fmt::Display for IdentityProviderType {
|
||||||
|
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||||
|
match self {
|
||||||
|
Self::Steam => write!(f, "steam"),
|
||||||
|
Self::Epic => write!(f, "epic"),
|
||||||
|
Self::Discord => write!(f, "discord"),
|
||||||
|
Self::Microsoft => write!(f, "microsoft"),
|
||||||
|
Self::Playstation => write!(f, "playstation"),
|
||||||
|
Self::Google => write!(f, "google"),
|
||||||
|
Self::Apple => write!(f, "apple"),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl Default for IdentityProviderType {
|
||||||
|
fn default() -> IdentityProviderType {
|
||||||
|
Self::Steam
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
pub mod account;
|
|
||||||
pub use self::account::Account;
|
|
||||||
pub mod application;
|
pub mod application;
|
||||||
pub use self::application::Application;
|
pub use self::application::Application;
|
||||||
pub mod application_type;
|
pub mod application_type;
|
||||||
|
|
@ -20,6 +18,8 @@ pub mod create_user;
|
||||||
pub use self::create_user::CreateUser;
|
pub use self::create_user::CreateUser;
|
||||||
pub mod crypto_view_model;
|
pub mod crypto_view_model;
|
||||||
pub use self::crypto_view_model::CryptoViewModel;
|
pub use self::crypto_view_model::CryptoViewModel;
|
||||||
|
pub mod external_account;
|
||||||
|
pub use self::external_account::ExternalAccount;
|
||||||
pub mod game;
|
pub mod game;
|
||||||
pub use self::game::Game;
|
pub use self::game::Game;
|
||||||
pub mod game_server;
|
pub mod game_server;
|
||||||
|
|
@ -42,6 +42,8 @@ pub mod group_rank;
|
||||||
pub use self::group_rank::GroupRank;
|
pub use self::group_rank::GroupRank;
|
||||||
pub mod hash_view_model;
|
pub mod hash_view_model;
|
||||||
pub use self::hash_view_model::HashViewModel;
|
pub use self::hash_view_model::HashViewModel;
|
||||||
|
pub mod identity_provider_type;
|
||||||
|
pub use self::identity_provider_type::IdentityProviderType;
|
||||||
pub mod introspect_request;
|
pub mod introspect_request;
|
||||||
pub use self::introspect_request::IntrospectRequest;
|
pub use self::introspect_request::IntrospectRequest;
|
||||||
pub mod introspect_response;
|
pub mod introspect_response;
|
||||||
|
|
@ -52,8 +54,6 @@ pub mod leaderboard_item;
|
||||||
pub use self::leaderboard_item::LeaderboardItem;
|
pub use self::leaderboard_item::LeaderboardItem;
|
||||||
pub mod leaderboard_order;
|
pub mod leaderboard_order;
|
||||||
pub use self::leaderboard_order::LeaderboardOrder;
|
pub use self::leaderboard_order::LeaderboardOrder;
|
||||||
pub mod login_provider;
|
|
||||||
pub use self::login_provider::LoginProvider;
|
|
||||||
pub mod package;
|
pub mod package;
|
||||||
pub use self::package::Package;
|
pub use self::package::Package;
|
||||||
pub mod package_release;
|
pub mod package_release;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -23,20 +23,22 @@ pub struct Package {
|
||||||
pub author_id: Option<String>,
|
pub author_id: Option<String>,
|
||||||
#[serde(rename = "image_url", deserialize_with = "Option::deserialize")]
|
#[serde(rename = "image_url", deserialize_with = "Option::deserialize")]
|
||||||
pub image_url: Option<String>,
|
pub image_url: Option<String>,
|
||||||
#[serde(rename = "application_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "application_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub application_id: Option<Option<String>>,
|
pub application_id: Option<String>,
|
||||||
#[serde(rename = "category_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "category_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub category_id: Option<Option<String>>,
|
pub category_id: Option<String>,
|
||||||
#[serde(rename = "download_count", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "download_count", skip_serializing_if = "Option::is_none")]
|
||||||
pub download_count: Option<i32>,
|
pub download_count: Option<i32>,
|
||||||
#[serde(rename = "last_download", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "last_download", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub last_download: Option<Option<String>>,
|
pub last_download: Option<Option<String>>,
|
||||||
#[serde(rename = "releases", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "releases", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub releases: Option<Option<Vec<models::PackageRelease>>>,
|
pub releases: Option<Option<Vec<models::PackageRelease>>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Package {
|
impl Package {
|
||||||
|
|
@ -52,8 +54,9 @@ impl Package {
|
||||||
download_count: None,
|
download_count: None,
|
||||||
last_download: None,
|
last_download: None,
|
||||||
releases: None,
|
releases: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -23,10 +23,12 @@ pub struct PackageRelease {
|
||||||
pub notes: Option<Option<String>>,
|
pub notes: Option<Option<String>>,
|
||||||
#[serde(rename = "files", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "files", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub files: Option<Option<Vec<models::StorageFile>>>,
|
pub files: Option<Option<Vec<models::StorageFile>>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PackageRelease {
|
impl PackageRelease {
|
||||||
|
|
@ -37,8 +39,9 @@ impl PackageRelease {
|
||||||
package_id: None,
|
package_id: None,
|
||||||
notes: None,
|
notes: None,
|
||||||
files: None,
|
files: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -17,6 +17,8 @@ pub struct Product {
|
||||||
pub id: Option<String>,
|
pub id: Option<String>,
|
||||||
#[serde(rename = "name", deserialize_with = "Option::deserialize")]
|
#[serde(rename = "name", deserialize_with = "Option::deserialize")]
|
||||||
pub name: Option<String>,
|
pub name: Option<String>,
|
||||||
|
#[serde(rename = "sku", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub sku: Option<Option<String>>,
|
||||||
#[serde(rename = "description", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "description", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub description: Option<Option<String>>,
|
pub description: Option<Option<String>>,
|
||||||
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -25,14 +27,14 @@ pub struct Product {
|
||||||
pub slug: Option<Option<String>>,
|
pub slug: Option<Option<String>>,
|
||||||
#[serde(rename = "image_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "image_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub image_url: Option<Option<String>>,
|
pub image_url: Option<Option<String>>,
|
||||||
#[serde(rename = "is_physical", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub is_physical: Option<bool>,
|
|
||||||
#[serde(rename = "prices", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "prices", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub prices: Option<Option<Vec<models::ProductPrice>>>,
|
pub prices: Option<Option<Vec<models::ProductPrice>>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Product {
|
impl Product {
|
||||||
|
|
@ -40,14 +42,15 @@ impl Product {
|
||||||
Product {
|
Product {
|
||||||
id: None,
|
id: None,
|
||||||
name,
|
name,
|
||||||
|
sku: None,
|
||||||
description: None,
|
description: None,
|
||||||
r#type: None,
|
r#type: None,
|
||||||
slug: None,
|
slug: None,
|
||||||
image_url: None,
|
image_url: None,
|
||||||
is_physical: None,
|
|
||||||
prices: None,
|
prices: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -15,8 +15,8 @@ use serde::{Deserialize, Serialize};
|
||||||
pub struct ProductPrice {
|
pub struct ProductPrice {
|
||||||
#[serde(rename = "currency", deserialize_with = "Option::deserialize")]
|
#[serde(rename = "currency", deserialize_with = "Option::deserialize")]
|
||||||
pub currency: Option<String>,
|
pub currency: Option<String>,
|
||||||
#[serde(rename = "amount", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "price", skip_serializing_if = "Option::is_none")]
|
||||||
pub amount: Option<f64>,
|
pub price: Option<f64>,
|
||||||
#[serde(rename = "renewal", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "renewal", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub renewal: Option<Option<f64>>,
|
pub renewal: Option<Option<f64>>,
|
||||||
}
|
}
|
||||||
|
|
@ -25,7 +25,7 @@ impl ProductPrice {
|
||||||
pub fn new(currency: Option<String>) -> ProductPrice {
|
pub fn new(currency: Option<String>) -> ProductPrice {
|
||||||
ProductPrice {
|
ProductPrice {
|
||||||
currency,
|
currency,
|
||||||
amount: None,
|
price: None,
|
||||||
renewal: None,
|
renewal: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -15,26 +15,18 @@ use serde::{Deserialize, Serialize};
|
||||||
pub struct Profile {
|
pub struct Profile {
|
||||||
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
||||||
pub id: Option<String>,
|
pub id: Option<String>,
|
||||||
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub uuid: Option<uuid::Uuid>,
|
|
||||||
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub name: Option<Option<String>>,
|
pub name: Option<Option<String>>,
|
||||||
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub display_name: Option<Option<String>>,
|
pub display_name: Option<Option<String>>,
|
||||||
#[serde(rename = "verified", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub verified: Option<bool>,
|
|
||||||
#[serde(rename = "level", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "level", skip_serializing_if = "Option::is_none")]
|
||||||
pub level: Option<i32>,
|
pub level: Option<i32>,
|
||||||
#[serde(rename = "experience", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "experience", skip_serializing_if = "Option::is_none")]
|
||||||
pub experience: Option<f64>,
|
pub experience: Option<f64>,
|
||||||
#[serde(rename = "public_birthday", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub public_birthday: Option<bool>,
|
|
||||||
#[serde(rename = "birthday", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "birthday", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub birthday: Option<Option<String>>,
|
pub birthday: Option<Option<String>>,
|
||||||
#[serde(rename = "points", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "points", skip_serializing_if = "Option::is_none")]
|
||||||
pub points: Option<f64>,
|
pub points: Option<f64>,
|
||||||
#[serde(rename = "location", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub location: Option<Option<String>>,
|
|
||||||
#[serde(rename = "photo_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "photo_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub photo_url: Option<Option<String>>,
|
pub photo_url: Option<Option<String>>,
|
||||||
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "banner_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -43,35 +35,28 @@ pub struct Profile {
|
||||||
pub last_online: Option<Option<String>>,
|
pub last_online: Option<Option<String>>,
|
||||||
#[serde(rename = "biography", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "biography", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub biography: Option<Option<String>>,
|
pub biography: Option<Option<String>>,
|
||||||
#[serde(rename = "view_count", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub view_count: Option<i32>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub updated_at: Option<Option<String>>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub updated: Option<Option<String>>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Profile {
|
impl Profile {
|
||||||
pub fn new() -> Profile {
|
pub fn new() -> Profile {
|
||||||
Profile {
|
Profile {
|
||||||
id: None,
|
id: None,
|
||||||
uuid: None,
|
|
||||||
name: None,
|
name: None,
|
||||||
display_name: None,
|
display_name: None,
|
||||||
verified: None,
|
|
||||||
level: None,
|
level: None,
|
||||||
experience: None,
|
experience: None,
|
||||||
public_birthday: None,
|
|
||||||
birthday: None,
|
birthday: None,
|
||||||
points: None,
|
points: None,
|
||||||
location: None,
|
|
||||||
photo_url: None,
|
photo_url: None,
|
||||||
banner_url: None,
|
banner_url: None,
|
||||||
last_online: None,
|
last_online: None,
|
||||||
biography: None,
|
biography: None,
|
||||||
view_count: None,
|
created_at: None,
|
||||||
created: None,
|
updated_at: None,
|
||||||
updated: None,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -16,7 +16,7 @@ pub struct ProfileGroup {
|
||||||
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
||||||
pub id: Option<String>,
|
pub id: Option<String>,
|
||||||
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
||||||
pub uuid: Option<uuid::Uuid>,
|
pub uuid: Option<String>,
|
||||||
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub name: Option<Option<String>>,
|
pub name: Option<Option<String>>,
|
||||||
#[serde(rename = "tag", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "tag", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -19,8 +19,8 @@ pub struct Search {
|
||||||
pub query: Option<String>,
|
pub query: Option<String>,
|
||||||
#[serde(rename = "page", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "page", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub page: Option<Option<i32>>,
|
pub page: Option<Option<i32>>,
|
||||||
#[serde(rename = "game_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "game_id", skip_serializing_if = "Option::is_none")]
|
||||||
pub game_id: Option<Option<String>>,
|
pub game_id: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Search {
|
impl Search {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -27,10 +27,12 @@ pub struct StorageFile {
|
||||||
pub hash: Option<Option<String>>,
|
pub hash: Option<Option<String>>,
|
||||||
#[serde(rename = "etag", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "etag", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub etag: Option<Option<String>>,
|
pub etag: Option<Option<String>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
|
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
|
pub deleted_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl StorageFile {
|
impl StorageFile {
|
||||||
|
|
@ -43,8 +45,9 @@ impl StorageFile {
|
||||||
size: None,
|
size: None,
|
||||||
hash: None,
|
hash: None,
|
||||||
etag: None,
|
etag: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
|
deleted_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
@ -15,14 +15,12 @@ use serde::{Deserialize, Serialize};
|
||||||
pub struct UserInfo {
|
pub struct UserInfo {
|
||||||
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
||||||
pub id: Option<String>,
|
pub id: Option<String>,
|
||||||
#[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
|
|
||||||
pub uuid: Option<uuid::Uuid>,
|
|
||||||
#[serde(rename = "name", deserialize_with = "Option::deserialize")]
|
#[serde(rename = "name", deserialize_with = "Option::deserialize")]
|
||||||
pub name: Option<String>,
|
pub name: Option<String>,
|
||||||
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub display_name: Option<Option<String>>,
|
pub display_name: Option<Option<String>>,
|
||||||
#[serde(rename = "email", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "email_address", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub email: Option<Option<String>>,
|
pub email_address: Option<Option<String>>,
|
||||||
#[serde(rename = "email_verified", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "email_verified", skip_serializing_if = "Option::is_none")]
|
||||||
pub email_verified: Option<bool>,
|
pub email_verified: Option<bool>,
|
||||||
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
|
||||||
|
|
@ -37,20 +35,19 @@ pub struct UserInfo {
|
||||||
pub photo_url: Option<Option<String>>,
|
pub photo_url: Option<Option<String>>,
|
||||||
#[serde(rename = "permissions", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "permissions", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub permissions: Option<Option<Vec<String>>>,
|
pub permissions: Option<Option<Vec<String>>>,
|
||||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||||
pub created: Option<String>,
|
pub created_at: Option<String>,
|
||||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||||
pub updated: Option<Option<String>>,
|
pub updated_at: Option<Option<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl UserInfo {
|
impl UserInfo {
|
||||||
pub fn new(name: Option<String>) -> UserInfo {
|
pub fn new(name: Option<String>) -> UserInfo {
|
||||||
UserInfo {
|
UserInfo {
|
||||||
id: None,
|
id: None,
|
||||||
uuid: None,
|
|
||||||
name,
|
name,
|
||||||
display_name: None,
|
display_name: None,
|
||||||
email: None,
|
email_address: None,
|
||||||
email_verified: None,
|
email_verified: None,
|
||||||
r#type: None,
|
r#type: None,
|
||||||
language: None,
|
language: None,
|
||||||
|
|
@ -58,8 +55,8 @@ impl UserInfo {
|
||||||
currency: None,
|
currency: None,
|
||||||
photo_url: None,
|
photo_url: None,
|
||||||
permissions: None,
|
permissions: None,
|
||||||
created: None,
|
created_at: None,
|
||||||
updated: None,
|
updated_at: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name = "tribufu-platform"
|
name = "tribufu-platform"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "Tribufu Platform"
|
description = "Tribufu Platform"
|
||||||
repository = "https://github.com/tribufu/tribufu-rust"
|
repository = "https://github.com/Tribufu/TribufuRust"
|
||||||
authors = ["Tribufu <contact@tribufu.com>"]
|
authors = ["Tribufu <contact@tribufu.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue