/*
* Linkbreakers API
*
* This is a documentation of all the APIs of Linkbreakers
*
* The version of the OpenAPI document: 1.46.1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CreateBulkLinksRequest : Request to create links in bulk.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateBulkLinksRequest {
/// Links to create in one batch. Every item supports the same customization fields as CreateLinkRequest.
#[serde(rename = "links")]
pub links: Vec<models::CreateLinkRequest>,
}
impl CreateBulkLinksRequest {
/// Request to create links in bulk.
pub fn new(links: Vec<models::CreateLinkRequest>) -> CreateBulkLinksRequest {
CreateBulkLinksRequest {
links,
}
}
}