Skip to main content

tapis_authenticator/models/
update_client.rs

1/*
2 * Authenticator
3 *
4 * REST API and web server providing authentication for a Tapis v3 instance.
5 *
6 * The version of the OpenAPI document: 1
7 * Contact: cicsupport@tacc.utexas.edu
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UpdateClient {
16    /// URL for application to receive OAuth callbacks for executing flows such as authorization_code.
17    #[serde(rename = "callback_url", skip_serializing_if = "Option::is_none")]
18    pub callback_url: Option<String>,
19    /// The display name that will represent this client.
20    #[serde(rename = "display_name", skip_serializing_if = "Option::is_none")]
21    pub display_name: Option<String>,
22}
23
24impl UpdateClient {
25    pub fn new() -> UpdateClient {
26        UpdateClient {
27            callback_url: None,
28            display_name: None,
29        }
30    }
31}