open_api_hydra/models/flush_inactive_o_auth2_tokens_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 FlushInactiveOAuth2TokensRequest {
16 /// NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing.
17 #[serde(rename = "notAfter", skip_serializing_if = "Option::is_none")]
18 pub not_after: Option<String>,
19}
20
21impl FlushInactiveOAuth2TokensRequest {
22 pub fn new() -> FlushInactiveOAuth2TokensRequest {
23 FlushInactiveOAuth2TokensRequest {
24 not_after: None,
25 }
26 }
27}
28
29