akeyless_api/models/
github_target_details.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GithubTargetDetails {
16 #[serde(rename = "github_app_id", skip_serializing_if = "Option::is_none")]
17 pub github_app_id: Option<i64>,
18 #[serde(rename = "github_app_private_key", skip_serializing_if = "Option::is_none")]
19 pub github_app_private_key: Option<String>,
20 #[serde(rename = "github_base_url", skip_serializing_if = "Option::is_none")]
21 pub github_base_url: Option<String>,
22}
23
24impl GithubTargetDetails {
25 pub fn new() -> GithubTargetDetails {
26 GithubTargetDetails {
27 github_app_id: None,
28 github_app_private_key: None,
29 github_base_url: None,
30 }
31 }
32}
33