use serde::{Deserialize, Serialize};
#[allow(unused_imports)]
use super::*;
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SoftwarePackageCollection {
pub items: Vec<SoftwarePackageSummary>,
}
pub struct SoftwarePackageCollectionRequired {
pub items: Vec<SoftwarePackageSummary>,
}
impl SoftwarePackageCollection {
pub fn new(required: SoftwarePackageCollectionRequired) -> Self {
Self {
items: required.items,
}
}
pub fn set_items(mut self, value: Vec<SoftwarePackageSummary>) -> Self {
self.items = value;
self
}
}