Skip to main content

akeyless_api/models/
github_target_details.rs

1/*
2 * Akeyless API
3 *
4 * The purpose of this application is to provide access to Akeyless API.
5 *
6 * The version of the OpenAPI document: 3.0
7 * Contact: support@akeyless.io
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 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