fusionauth_rust_client/models/
apple_identity_provider.rs

1/*
2 * FusionAuth API
3 *
4 * This is a FusionAuth server. Find out more at [https://fusionauth.io](https://fusionauth.io). You need to [set up an API key](https://fusionauth.io/docs/v1/tech/apis/authentication#managing-api-keys) in the FusionAuth instance you are using to test out the API calls.
5 *
6 * The version of the OpenAPI document: 1.60.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// AppleIdentityProvider : 
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AppleIdentityProvider {
17    #[serde(rename = "bundleId", skip_serializing_if = "Option::is_none")]
18    pub bundle_id: Option<String>,
19    #[serde(rename = "buttonText", skip_serializing_if = "Option::is_none")]
20    pub button_text: Option<String>,
21    #[serde(rename = "keyId", skip_serializing_if = "Option::is_none")]
22    pub key_id: Option<uuid::Uuid>,
23    #[serde(rename = "scope", skip_serializing_if = "Option::is_none")]
24    pub scope: Option<String>,
25    #[serde(rename = "servicesId", skip_serializing_if = "Option::is_none")]
26    pub services_id: Option<String>,
27    #[serde(rename = "teamId", skip_serializing_if = "Option::is_none")]
28    pub team_id: Option<String>,
29    #[serde(rename = "data", skip_serializing_if = "Option::is_none")]
30    pub data: Option<std::collections::HashMap<String, serde_json::Value>>,
31    #[serde(rename = "applicationConfiguration", skip_serializing_if = "Option::is_none")]
32    pub application_configuration: Option<std::collections::HashMap<String, models::AppleApplicationConfiguration>>,
33    #[serde(rename = "debug", skip_serializing_if = "Option::is_none")]
34    pub debug: Option<bool>,
35    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
36    pub id: Option<uuid::Uuid>,
37    /// The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
38    #[serde(rename = "insertInstant", skip_serializing_if = "Option::is_none")]
39    pub insert_instant: Option<i64>,
40    #[serde(rename = "lambdaConfiguration", skip_serializing_if = "Option::is_none")]
41    pub lambda_configuration: Option<Box<models::ProviderLambdaConfiguration>>,
42    /// The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
43    #[serde(rename = "lastUpdateInstant", skip_serializing_if = "Option::is_none")]
44    pub last_update_instant: Option<i64>,
45    #[serde(rename = "linkingStrategy", skip_serializing_if = "Option::is_none")]
46    pub linking_strategy: Option<models::IdentityProviderLinkingStrategy>,
47    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
48    pub name: Option<String>,
49    #[serde(rename = "tenantConfiguration", skip_serializing_if = "Option::is_none")]
50    pub tenant_configuration: Option<std::collections::HashMap<String, models::IdentityProviderTenantConfiguration>>,
51    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
52    pub r#type: Option<models::IdentityProviderType>,
53}
54
55impl AppleIdentityProvider {
56    /// 
57    pub fn new() -> AppleIdentityProvider {
58        AppleIdentityProvider {
59            bundle_id: None,
60            button_text: None,
61            key_id: None,
62            scope: None,
63            services_id: None,
64            team_id: None,
65            data: None,
66            application_configuration: None,
67            debug: None,
68            id: None,
69            insert_instant: None,
70            lambda_configuration: None,
71            last_update_instant: None,
72            linking_strategy: None,
73            name: None,
74            tenant_configuration: None,
75            r#type: None,
76        }
77    }
78}
79