/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.1
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetTikTokCreatorInfo200ResponsePostingLimits {
    /// Maximum video duration in seconds
    #[serde(
        rename = "maxVideoDurationSec",
        skip_serializing_if = "Option::is_none"
    )]
    pub max_video_duration_sec: Option<i32>,
    /// Available interaction toggles (comment, duet, stitch) and their defaults
    #[serde(
        rename = "interactionSettings",
        skip_serializing_if = "Option::is_none"
    )]
    pub interaction_settings: Option<serde_json::Value>,
}

impl GetTikTokCreatorInfo200ResponsePostingLimits {
    pub fn new() -> GetTikTokCreatorInfo200ResponsePostingLimits {
        GetTikTokCreatorInfo200ResponsePostingLimits {
            max_video_duration_sec: None,
            interaction_settings: None,
        }
    }
}
