openapi_github/models/
actions_cache_list_actions_caches_inner.rs

1/*
2 * GitHub's official OpenAPI spec + Octokit extension
3 *
4 * OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs
5 *
6 * The version of the OpenAPI document: 16.6.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ActionsCacheListActionsCachesInner {
16    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
17    pub id: Option<i32>,
18    #[serde(rename = "ref", skip_serializing_if = "Option::is_none")]
19    pub r#ref: Option<String>,
20    #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
21    pub key: Option<String>,
22    #[serde(rename = "version", skip_serializing_if = "Option::is_none")]
23    pub version: Option<String>,
24    #[serde(rename = "last_accessed_at", skip_serializing_if = "Option::is_none")]
25    pub last_accessed_at: Option<String>,
26    #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
27    pub created_at: Option<String>,
28    #[serde(rename = "size_in_bytes", skip_serializing_if = "Option::is_none")]
29    pub size_in_bytes: Option<i32>,
30}
31
32impl ActionsCacheListActionsCachesInner {
33    pub fn new() -> ActionsCacheListActionsCachesInner {
34        ActionsCacheListActionsCachesInner {
35            id: None,
36            r#ref: None,
37            key: None,
38            version: None,
39            last_accessed_at: None,
40            created_at: None,
41            size_in_bytes: None,
42        }
43    }
44}
45