/* * 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}; /// FilesResponse : FilesResponse contains information about multiple files from a repo #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct FilesResponse { #[serde(rename = "commit", skip_serializing_if = "Option::is_none")] pub commit: Option>, #[serde(rename = "files", skip_serializing_if = "Option::is_none")] pub files: Option>, #[serde(rename = "verification", skip_serializing_if = "Option::is_none")] pub verification: Option>, } impl FilesResponse { /// FilesResponse contains information about multiple files from a repo pub fn new() -> FilesResponse { FilesResponse { commit: None, files: None, verification: None, } } }