windmill_api/models/test_amqp_connection_request.rs
1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.765.0
7 * Contact: contact@windmill.dev
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 TestAmqpConnectionRequest {
16 /// Path to the AMQP resource containing broker connection configuration
17 #[serde(rename = "amqp_resource_path")]
18 pub amqp_resource_path: String,
19}
20
21impl TestAmqpConnectionRequest {
22 pub fn new(amqp_resource_path: String) -> TestAmqpConnectionRequest {
23 TestAmqpConnectionRequest {
24 amqp_resource_path,
25 }
26 }
27}
28