/*
 * 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 AddressQueueIndex {
    /// A Solana public key represented as a base58 string.
    #[serde(rename = "address")]
    pub address: String,
    #[serde(rename = "queueIndex")]
    pub queue_index: u64,
}

impl AddressQueueIndex {
    pub fn new(address: String, queue_index: u64) -> AddressQueueIndex {
        AddressQueueIndex {
            address,
            queue_index,
        }
    }
}
