Skip to main content

akeyless_api/models/
target_name_with_hosts.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 TargetNameWithHosts {
16    #[serde(rename = "hosts", skip_serializing_if = "Option::is_none")]
17    pub hosts: Option<Vec<String>>,
18    #[serde(rename = "target_name", skip_serializing_if = "Option::is_none")]
19    pub target_name: Option<String>,
20}
21
22impl TargetNameWithHosts {
23    pub fn new() -> TargetNameWithHosts {
24        TargetNameWithHosts {
25            hosts: None,
26            target_name: None,
27        }
28    }
29}
30