Template constructor
Template({
- TemplateId? id,
- String? name,
- Ad_AdState? state,
- Scanner_ScannerType? scannerType,
- CategoryId? baseCategoryId,
- CategoryId? brandCategoryId,
- int? targetScanTimeInSeconds,
- ConfigurationId? configurationId,
- bool? inferMetadataOnCreation,
Implementation
factory Template({
$0.TemplateId? id,
$core.String? name,
$2.Ad_AdState? state,
$3.Scanner_ScannerType? scannerType,
$0.CategoryId? baseCategoryId,
$0.CategoryId? brandCategoryId,
$core.bool? hidden,
$core.int? targetScanTimeInSeconds,
$0.ConfigurationId? configurationId,
$core.bool? inferMetadataOnCreation,
}) {
final result = create();
if (id != null) result.id = id;
if (name != null) result.name = name;
if (state != null) result.state = state;
if (scannerType != null) result.scannerType = scannerType;
if (baseCategoryId != null) result.baseCategoryId = baseCategoryId;
if (brandCategoryId != null) result.brandCategoryId = brandCategoryId;
if (hidden != null) result.hidden = hidden;
if (targetScanTimeInSeconds != null)
result.targetScanTimeInSeconds = targetScanTimeInSeconds;
if (configurationId != null) result.configurationId = configurationId;
if (inferMetadataOnCreation != null)
result.inferMetadataOnCreation = inferMetadataOnCreation;
return result;
}