/*
 * photon-indexer
 *
 * Solana indexer for general compression
 *
 * The version of the OpenAPI document: 0.50.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetQueueElementsV2Post200ResponseResult {
    #[serde(rename = "context")]
    pub context: Box<models::Context>,
    #[serde(rename = "stateQueue", skip_serializing_if = "Option::is_none")]
    pub state_queue: Option<Box<models::StateQueueDataV2>>,
    #[serde(rename = "addressQueue", skip_serializing_if = "Option::is_none")]
    pub address_queue: Option<Box<models::AddressQueueDataV2>>,
}

impl GetQueueElementsV2Post200ResponseResult {
    pub fn new(context: models::Context) -> GetQueueElementsV2Post200ResponseResult {
        GetQueueElementsV2Post200ResponseResult {
            context: Box::new(context),
            state_queue: None,
            address_queue: None,
        }
    }
}
