/*
* Stedi Enrollment
*
* The Stedi Enrollment Service manages provider enrollments with healthcare payers. It tracks enrollment status, provider details, and supports batch enrollment processing to ensure providers have the necessary credentials before processing healthcare transactions.
*
* The version of the OpenAPI document: 2024-09-01
* Contact: healthcare@stedi.com
* Generated by: https://openapi-generator.tech
*/
use crate::enrollment::models;
use serde::{Deserialize, Serialize};
/// AccessDeniedExceptionResponseContent : The server response for authorization failure.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccessDeniedExceptionResponseContent {
/// Error classification code
#[serde(rename = "code", skip_serializing_if = "Option::is_none")]
pub code: Option<String>,
/// Human-readable error message
#[serde(rename = "message")]
pub message: String,
}
impl AccessDeniedExceptionResponseContent {
/// The server response for authorization failure.
pub fn new(message: String) -> AccessDeniedExceptionResponseContent {
AccessDeniedExceptionResponseContent {
code: None,
message,
}
}
}