#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct GetClient200Response {
#[serde(rename = "id")]
pub id: String,
#[serde(rename = "name")]
pub name: String,
#[serde(rename = "description")]
pub description: String,
#[serde(rename = "developerId")]
pub developer_id: uuid::Uuid,
#[serde(rename = "scopes")]
pub scopes: Vec<crate::models::OAuth2Scope>,
#[serde(rename = "confidential")]
pub confidential: bool,
#[serde(rename = "callbackUrl")]
pub callback_url: String,
#[serde(rename = "secret")]
pub secret: String,
}
impl GetClient200Response {
pub fn new(
id: String,
name: String,
description: String,
developer_id: uuid::Uuid,
scopes: Vec<crate::models::OAuth2Scope>,
confidential: bool,
callback_url: String,
secret: String,
) -> GetClient200Response {
GetClient200Response {
id,
name,
description,
developer_id,
scopes,
confidential,
callback_url,
secret,
}
}
}