openapi_github/models/
actions_cache_list.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ActionsCacheList {
17 #[serde(rename = "total_count")]
19 pub total_count: i32,
20 #[serde(rename = "actions_caches")]
22 pub actions_caches: Vec<models::ActionsCacheListActionsCachesInner>,
23}
24
25impl ActionsCacheList {
26 pub fn new(total_count: i32, actions_caches: Vec<models::ActionsCacheListActionsCachesInner>) -> ActionsCacheList {
28 ActionsCacheList {
29 total_count,
30 actions_caches,
31 }
32 }
33}
34