use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ContentModule {
#[serde(rename = "contentModuleType")]
pub content_module_type: models::aplus_content_2020_11_01::ContentModuleType,
#[serde(rename = "standardCompanyLogo", skip_serializing_if = "Option::is_none")]
pub standard_company_logo: Option<Box<models::aplus_content_2020_11_01::StandardCompanyLogoModule>>,
#[serde(rename = "standardComparisonTable", skip_serializing_if = "Option::is_none")]
pub standard_comparison_table: Option<Box<models::aplus_content_2020_11_01::StandardComparisonTableModule>>,
#[serde(rename = "standardFourImageText", skip_serializing_if = "Option::is_none")]
pub standard_four_image_text: Option<Box<models::aplus_content_2020_11_01::StandardFourImageTextModule>>,
#[serde(rename = "standardFourImageTextQuadrant", skip_serializing_if = "Option::is_none")]
pub standard_four_image_text_quadrant: Option<Box<models::aplus_content_2020_11_01::StandardFourImageTextQuadrantModule>>,
#[serde(rename = "standardHeaderImageText", skip_serializing_if = "Option::is_none")]
pub standard_header_image_text: Option<Box<models::aplus_content_2020_11_01::StandardHeaderImageTextModule>>,
#[serde(rename = "standardImageSidebar", skip_serializing_if = "Option::is_none")]
pub standard_image_sidebar: Option<Box<models::aplus_content_2020_11_01::StandardImageSidebarModule>>,
#[serde(rename = "standardImageTextOverlay", skip_serializing_if = "Option::is_none")]
pub standard_image_text_overlay: Option<Box<models::aplus_content_2020_11_01::StandardImageTextOverlayModule>>,
#[serde(rename = "standardMultipleImageText", skip_serializing_if = "Option::is_none")]
pub standard_multiple_image_text: Option<Box<models::aplus_content_2020_11_01::StandardMultipleImageTextModule>>,
#[serde(rename = "standardProductDescription", skip_serializing_if = "Option::is_none")]
pub standard_product_description: Option<Box<models::aplus_content_2020_11_01::StandardProductDescriptionModule>>,
#[serde(rename = "standardSingleImageHighlights", skip_serializing_if = "Option::is_none")]
pub standard_single_image_highlights: Option<Box<models::aplus_content_2020_11_01::StandardSingleImageHighlightsModule>>,
#[serde(rename = "standardSingleImageSpecsDetail", skip_serializing_if = "Option::is_none")]
pub standard_single_image_specs_detail: Option<Box<models::aplus_content_2020_11_01::StandardSingleImageSpecsDetailModule>>,
#[serde(rename = "standardSingleSideImage", skip_serializing_if = "Option::is_none")]
pub standard_single_side_image: Option<Box<models::aplus_content_2020_11_01::StandardSingleSideImageModule>>,
#[serde(rename = "standardTechSpecs", skip_serializing_if = "Option::is_none")]
pub standard_tech_specs: Option<Box<models::aplus_content_2020_11_01::StandardTechSpecsModule>>,
#[serde(rename = "standardText", skip_serializing_if = "Option::is_none")]
pub standard_text: Option<Box<models::aplus_content_2020_11_01::StandardTextModule>>,
#[serde(rename = "standardThreeImageText", skip_serializing_if = "Option::is_none")]
pub standard_three_image_text: Option<Box<models::aplus_content_2020_11_01::StandardThreeImageTextModule>>,
}
impl ContentModule {
pub fn new(content_module_type: models::aplus_content_2020_11_01::ContentModuleType) -> ContentModule {
ContentModule {
content_module_type,
standard_company_logo: None,
standard_comparison_table: None,
standard_four_image_text: None,
standard_four_image_text_quadrant: None,
standard_header_image_text: None,
standard_image_sidebar: None,
standard_image_text_overlay: None,
standard_multiple_image_text: None,
standard_product_description: None,
standard_single_image_highlights: None,
standard_single_image_specs_detail: None,
standard_single_side_image: None,
standard_tech_specs: None,
standard_text: None,
standard_three_image_text: None,
}
}
}