/*
 * 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};

/// InboxWebhookMessageSenderInstagramProfile : Instagram profile data. Only present for Instagram conversations.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InboxWebhookMessageSenderInstagramProfile {
    #[serde(rename = "isFollower", skip_serializing_if = "Option::is_none")]
    pub is_follower: Option<bool>,
    #[serde(rename = "isFollowing", skip_serializing_if = "Option::is_none")]
    pub is_following: Option<bool>,
    #[serde(rename = "followerCount", skip_serializing_if = "Option::is_none")]
    pub follower_count: Option<i32>,
    #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")]
    pub is_verified: Option<bool>,
}

impl InboxWebhookMessageSenderInstagramProfile {
    /// Instagram profile data. Only present for Instagram conversations.
    pub fn new() -> InboxWebhookMessageSenderInstagramProfile {
        InboxWebhookMessageSenderInstagramProfile {
            is_follower: None,
            is_following: None,
            follower_count: None,
            is_verified: None,
        }
    }
}
