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

/// ListInboxConversations200ResponseDataInnerInstagramProfile : Instagram profile data for the participant. Only present for Instagram conversations.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListInboxConversations200ResponseDataInnerInstagramProfile {
    /// Whether the participant follows your Instagram business account
    #[serde(rename = "isFollower", skip_serializing_if = "Option::is_none")]
    pub is_follower: Option<bool>,
    /// Whether your Instagram business account follows the participant
    #[serde(rename = "isFollowing", skip_serializing_if = "Option::is_none")]
    pub is_following: Option<bool>,
    /// The participant's follower count on Instagram
    #[serde(rename = "followerCount", skip_serializing_if = "Option::is_none")]
    pub follower_count: Option<i32>,
    /// Whether the participant is a verified Instagram user
    #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")]
    pub is_verified: Option<bool>,
    /// When this profile data was last fetched from Instagram
    #[serde(rename = "fetchedAt", skip_serializing_if = "Option::is_none")]
    pub fetched_at: Option<String>,
}

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