pulsar_admin_sdk/models/
functions_v2.rs

1/*
2 * Pulsar Admin REST API
3 *
4 * This provides the REST API for admin operations
5 *
6 * The version of the OpenAPI document: v2
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct FunctionsV2 {
15    #[serde(rename = "listOfConnectors", skip_serializing_if = "Option::is_none")]
16    pub list_of_connectors: Option<Vec<models::ConnectorDefinition>>,
17}
18
19impl FunctionsV2 {
20    pub fn new() -> FunctionsV2 {
21        FunctionsV2 {
22            list_of_connectors: None,
23        }
24    }
25}
26