/*
 * rivet-api-public
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.0-rc.11
 * Contact: developer@rivet.gg
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ActorsListNamesResponse {
    #[serde(rename = "names")]
    pub names: std::collections::HashMap<String, models::ActorName>,
    #[serde(rename = "pagination")]
    pub pagination: Box<models::Pagination>,
}

impl ActorsListNamesResponse {
    pub fn new(names: std::collections::HashMap<String, models::ActorName>, pagination: models::Pagination) -> ActorsListNamesResponse {
        ActorsListNamesResponse {
            names,
            pagination: Box::new(pagination),
        }
    }
}

