30
crates/gitea-client/src/models/team_search_200_response.rs
Normal file
30
crates/gitea-client/src/models/team_search_200_response.rs
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Gitea API
|
||||
*
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.22.1
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
use crate::models;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct TeamSearch200Response {
|
||||
#[serde(rename = "data", skip_serializing_if = "Option::is_none")]
|
||||
pub data: Option<Vec<models::Team>>,
|
||||
#[serde(rename = "ok", skip_serializing_if = "Option::is_none")]
|
||||
pub ok: Option<bool>,
|
||||
}
|
||||
|
||||
impl TeamSearch200Response {
|
||||
pub fn new() -> TeamSearch200Response {
|
||||
TeamSearch200Response {
|
||||
data: None,
|
||||
ok: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user