autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Healthcare
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2024-04-01
 * Contact: healthcare@stedi.com
 * Generated by: https://openapi-generator.tech
 */

use crate::healthcare::models;
use serde::{Deserialize, Serialize};

/// ConflictExceptionResponseContent : The request conflicts with the current state of the resource.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ConflictExceptionResponseContent {
    /// Why the request failed. The wording can change, so branch on the exception type, not this text.
    #[serde(rename = "message")]
    pub message: String,
}

impl ConflictExceptionResponseContent {
    /// The request conflicts with the current state of the resource.
    pub fn new(message: String) -> ConflictExceptionResponseContent {
        ConflictExceptionResponseContent {
            message,
        }
    }
}