AdQuery constructor
AdQuery({
- ContinuationToken? continuation,
- AccountId? accountId,
- Iterable<
Ad_AdState> ? states, - Iterable<
Tag> ? tags, - String? titleContains,
- Iterable<
UserId> ? scannedBy, - Iterable<
AdQuery_AdOrdering> ? orderBy, - bool? estimateTotalCount,
- Iterable<
AccountId> ? exclude, - Barcode? barcode,
- Timestamp? expiresBefore,
- Timestamp? lastPriceChangeBefore,
- Timestamp? nextPriceChangeBefore,
- BoolValue? hasAutomaticPricing,
- BoolValue? hasVATOnProduct,
- Timestamp? lastUpdatedBefore,
- Int32Value? minCondition,
- BoolValue? hasGroupKey,
Implementation
factory AdQuery({
$3.ContinuationToken? continuation,
$0.AccountId? accountId,
$core.Iterable<Ad_AdState>? states,
$core.Iterable<$3.Tag>? tags,
$core.String? titleContains,
$core.Iterable<$0.UserId>? scannedBy,
$core.Iterable<AdQuery_AdOrdering>? orderBy,
$core.bool? estimateTotalCount,
$core.Iterable<$0.AccountId>? exclude,
$3.Barcode? barcode,
$5.Timestamp? expiresBefore,
$5.Timestamp? lastPriceChangeBefore,
$5.Timestamp? nextPriceChangeBefore,
$1.BoolValue? hasAutomaticPricing,
$1.BoolValue? hasVATOnProduct,
$5.Timestamp? lastUpdatedBefore,
$1.Int32Value? minCondition,
$1.BoolValue? hasGroupKey,
}) {
final result = create();
if (continuation != null) result.continuation = continuation;
if (accountId != null) result.accountId = accountId;
if (states != null) result.states.addAll(states);
if (tags != null) result.tags.addAll(tags);
if (titleContains != null) result.titleContains = titleContains;
if (scannedBy != null) result.scannedBy.addAll(scannedBy);
if (orderBy != null) result.orderBy.addAll(orderBy);
if (estimateTotalCount != null)
result.estimateTotalCount = estimateTotalCount;
if (exclude != null) result.exclude.addAll(exclude);
if (barcode != null) result.barcode = barcode;
if (expiresBefore != null) result.expiresBefore = expiresBefore;
if (lastPriceChangeBefore != null)
result.lastPriceChangeBefore = lastPriceChangeBefore;
if (nextPriceChangeBefore != null)
result.nextPriceChangeBefore = nextPriceChangeBefore;
if (hasAutomaticPricing != null)
result.hasAutomaticPricing = hasAutomaticPricing;
if (hasVATOnProduct != null) result.hasVATOnProduct = hasVATOnProduct;
if (lastUpdatedBefore != null) result.lastUpdatedBefore = lastUpdatedBefore;
if (minCondition != null) result.minCondition = minCondition;
if (hasGroupKey != null) result.hasGroupKey = hasGroupKey;
return result;
}