/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.811.1
* Contact: contact@windmill.dev
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListHubIntegrations200ResponseInner {
#[serde(rename = "name")]
pub name: String,
/// how often the integration has been picked, absent on a hub that does not count picks
#[serde(rename = "picks", skip_serializing_if = "Option::is_none")]
pub picks: Option<i32>,
}
impl ListHubIntegrations200ResponseInner {
pub fn new(name: String) -> ListHubIntegrations200ResponseInner {
ListHubIntegrations200ResponseInner {
name,
picks: None,
}
}
}