/*
 * 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 FollowUser200Response {
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    #[serde(rename = "targetUserId", skip_serializing_if = "Option::is_none")]
    pub target_user_id: Option<String>,
    #[serde(rename = "following", skip_serializing_if = "Option::is_none")]
    pub following: Option<bool>,
    /// True if the target account is protected and a follow request was sent
    #[serde(rename = "pending_follow", skip_serializing_if = "Option::is_none")]
    pub pending_follow: Option<bool>,
    #[serde(rename = "platform", skip_serializing_if = "Option::is_none")]
    pub platform: Option<String>,
}

impl FollowUser200Response {
    pub fn new() -> FollowUser200Response {
        FollowUser200Response {
            status: None,
            target_user_id: None,
            following: None,
            pending_follow: None,
            platform: None,
        }
    }
}
