late 0.0.895

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
Documentation
/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api  Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal.  Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
 *
 * The version of the OpenAPI document: 1.0.4
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

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

/// GooglePmaxAssetGroupInputImages : Public HTTP(S) image URLs. GIF, JPEG or PNG, at most 5120 KB per image. Google validates dimensions and aspect ratios.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GooglePmaxAssetGroupInputImages {
    /// Landscape marketing images. Aspect ratio 1.91:1, minimum 600 x 314 pixels.
    #[serde(rename = "landscape")]
    pub landscape: Vec<String>,
    /// Square marketing images. Aspect ratio 1:1, minimum 300 x 300 pixels.
    #[serde(rename = "square")]
    pub square: Vec<String>,
    /// Required square logos. Aspect ratio 1:1, minimum 128 x 128 pixels.
    #[serde(rename = "logo")]
    pub logo: Vec<String>,
}

impl GooglePmaxAssetGroupInputImages {
    /// Public HTTP(S) image URLs. GIF, JPEG or PNG, at most 5120 KB per image. Google validates dimensions and aspect ratios.
    pub fn new(
        landscape: Vec<String>,
        square: Vec<String>,
        logo: Vec<String>,
    ) -> GooglePmaxAssetGroupInputImages {
        GooglePmaxAssetGroupInputImages {
            landscape,
            square,
            logo,
        }
    }
}