Skip to main content

akeyless_api/models/
gitlab_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/// GitlabTargetDetails : GitlabTargetDetails
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GitlabTargetDetails {
17    #[serde(rename = "gitlab_access_token", skip_serializing_if = "Option::is_none")]
18    pub gitlab_access_token: Option<String>,
19    #[serde(rename = "gitlab_certificate", skip_serializing_if = "Option::is_none")]
20    pub gitlab_certificate: Option<String>,
21    #[serde(rename = "gitlab_url", skip_serializing_if = "Option::is_none")]
22    pub gitlab_url: Option<String>,
23}
24
25impl GitlabTargetDetails {
26    /// GitlabTargetDetails
27    pub fn new() -> GitlabTargetDetails {
28        GitlabTargetDetails {
29            gitlab_access_token: None,
30            gitlab_certificate: None,
31            gitlab_url: None,
32        }
33    }
34}
35