clerk_rs/models/merge_organization_metadata_request.rs
1/*
2 * Clerk Backend API
3 *
4 * The Clerk REST Backend API, meant to be accessed by backend servers. Please see https://clerk.com/docs for more information.
5 *
6 * The version of the OpenAPI document: v1
7 * Contact: support@clerk.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct MergeOrganizationMetadataRequest {
13 /// Metadata saved on the organization, that is visible to both your frontend and backend. The new object will be merged with the existing value.
14 #[serde(rename = "public_metadata", skip_serializing_if = "Option::is_none")]
15 pub public_metadata: Option<serde_json::Value>,
16 /// Metadata saved on the organization that is only visible to your backend. The new object will be merged with the existing value.
17 #[serde(rename = "private_metadata", skip_serializing_if = "Option::is_none")]
18 pub private_metadata: Option<serde_json::Value>,
19}
20
21impl MergeOrganizationMetadataRequest {
22 pub fn new() -> MergeOrganizationMetadataRequest {
23 MergeOrganizationMetadataRequest {
24 public_metadata: None,
25 private_metadata: None,
26 }
27 }
28}