open_api_hydra/models/
reject_request.rs

1/*
2 * ORY Hydra
3 *
4 * Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5 *
6 * The version of the OpenAPI document: latest
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct RejectRequest {
16    #[serde(rename = "error", skip_serializing_if = "Option::is_none")]
17    pub error: Option<String>,
18    #[serde(rename = "error_debug", skip_serializing_if = "Option::is_none")]
19    pub error_debug: Option<String>,
20    #[serde(rename = "error_description", skip_serializing_if = "Option::is_none")]
21    pub error_description: Option<String>,
22    #[serde(rename = "error_hint", skip_serializing_if = "Option::is_none")]
23    pub error_hint: Option<String>,
24    #[serde(rename = "status_code", skip_serializing_if = "Option::is_none")]
25    pub status_code: Option<i64>,
26}
27
28impl RejectRequest {
29    pub fn new() -> RejectRequest {
30        RejectRequest {
31            error: None,
32            error_debug: None,
33            error_description: None,
34            error_hint: None,
35            status_code: None,
36        }
37    }
38}
39
40