/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.816.0
* 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 GoCloudTrialOffer200Response {
#[serde(rename = "location")]
pub location: String,
/// present when the portal refused (e.g. the account already has a subscription); the offer is then spent
#[serde(rename = "reason", skip_serializing_if = "Option::is_none")]
pub reason: Option<String>,
}
impl GoCloudTrialOffer200Response {
pub fn new(location: String) -> GoCloudTrialOffer200Response {
GoCloudTrialOffer200Response {
location,
reason: None,
}
}
}