foxclient 6.1.0

Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
Documentation
/*
 * Fox API
 *
 * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement.  To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit.  The requests may be logged for analytics and development purposes. 
 *
 * The version of the OpenAPI document: 6.1.0
 * Contact: admin@orangefox.tech
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListResponseReleaseResponse {
    /// Number of items in *this page*, not the size of the collection.
    #[serde(rename = "count")]
    pub count: i32,
    #[serde(rename = "data")]
    pub data: Vec<models::ListResponseReleaseResponseDataInner>,
    /// Whether further items exist beyond this page.  List endpoints now apply a default page size, so `count` alone cannot tell a caller whether it has seen everything; without this a client would silently process a truncated result set.
    #[serde(rename = "has_more")]
    pub has_more: bool,
}

impl ListResponseReleaseResponse {
    pub fn new(count: i32, data: Vec<models::ListResponseReleaseResponseDataInner>, has_more: bool) -> ListResponseReleaseResponse {
        ListResponseReleaseResponse {
            count,
            data,
            has_more,
        }
    }
}