linkbreakers 1.137.1

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.137.1
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// ResolveQrcodeImagesRequest : ResolveQrcodeImagesRequest asks for signed QR code image URLs.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ResolveQrcodeImagesRequest {
    /// The links to resolve images for. Ids outside the caller's workspace, and links with no generated QR code yet, are simply absent from the response rather than failing the whole batch: a list draws the rows it can.
    #[serde(rename = "linkIds")]
    pub link_ids: Vec<String>,
}

impl ResolveQrcodeImagesRequest {
    /// ResolveQrcodeImagesRequest asks for signed QR code image URLs.
    pub fn new(link_ids: Vec<String>) -> ResolveQrcodeImagesRequest {
        ResolveQrcodeImagesRequest {
            link_ids,
        }
    }
}