ComponentsServiceFilterReq constructor

ComponentsServiceFilterReq({
  1. BOOL_FILTER? isActive,
  2. Int64? count,
  3. Int64? offset,
  4. SORT_ORDER? sortOrder,
  5. INVENTORY_SORT_KEY? sortKey,
  6. String? entityUuid,
  7. INVENTORY_LIFECYCLE? status,
  8. Int64? storeIntakeAtStart,
  9. Int64? storeIntakeAtEnd,
  10. Int64? discardedAtStart,
  11. Int64? discardedAtEnd,
  12. Int64? parentRefId,
  13. COMPONENT_REF_FROM? refFrom,
  14. Int64? refId,
  15. Int64? familyId,
  16. String? code,
  17. String? internalItemCode,
  18. String? hash,
  19. Int64? quantityRemainingMin,
  20. Int64? quantityRemainingMax,
  21. Int64? secondaryUomId,
  22. Int64? shelfLifeTimestampStart,
  23. Int64? shelfLifeTimestampEnd,
  24. Int64? warrantyTimestampStart,
  25. Int64? warrantyTimestampEnd,
  26. Int64? storeId,
  27. Int64? storageId,
  28. BOOL_FILTER? isQcReportPublic,
  29. Int64? locationId,
  30. Int64? vendorId,
  31. Int64? creationTimestampStart,
  32. Int64? creationTimestampEnd,
  33. Int64? modificationTimestampStart,
  34. Int64? modificationTimestampEnd,
  35. Iterable<FormFieldDatumFilterRequest>? formData,
})

Implementation

factory ComponentsServiceFilterReq({
  $1.BOOL_FILTER? isActive,
  $fixnum.Int64? count,
  $fixnum.Int64? offset,
  $1.SORT_ORDER? sortOrder,
  $1.INVENTORY_SORT_KEY? sortKey,
  $core.String? entityUuid,
  $1.INVENTORY_LIFECYCLE? status,
  $fixnum.Int64? storeIntakeAtStart,
  $fixnum.Int64? storeIntakeAtEnd,
  $fixnum.Int64? discardedAtStart,
  $fixnum.Int64? discardedAtEnd,
  $fixnum.Int64? parentRefId,
  COMPONENT_REF_FROM? refFrom,
  $fixnum.Int64? refId,
  $fixnum.Int64? familyId,
  $core.String? code,
  $core.String? internalItemCode,
  $core.String? hash,
  $fixnum.Int64? quantityRemainingMin,
  $fixnum.Int64? quantityRemainingMax,
  $fixnum.Int64? secondaryUomId,
  $fixnum.Int64? shelfLifeTimestampStart,
  $fixnum.Int64? shelfLifeTimestampEnd,
  $fixnum.Int64? warrantyTimestampStart,
  $fixnum.Int64? warrantyTimestampEnd,
  $fixnum.Int64? storeId,
  $fixnum.Int64? storageId,
  $1.BOOL_FILTER? isQcReportPublic,
  $fixnum.Int64? locationId,
  $fixnum.Int64? vendorId,
  $fixnum.Int64? creationTimestampStart,
  $fixnum.Int64? creationTimestampEnd,
  $fixnum.Int64? modificationTimestampStart,
  $fixnum.Int64? modificationTimestampEnd,
  $core.Iterable<$4.FormFieldDatumFilterRequest>? formData,
}) {
  final result = create();
  if (isActive != null) result.isActive = isActive;
  if (count != null) result.count = count;
  if (offset != null) result.offset = offset;
  if (sortOrder != null) result.sortOrder = sortOrder;
  if (sortKey != null) result.sortKey = sortKey;
  if (entityUuid != null) result.entityUuid = entityUuid;
  if (status != null) result.status = status;
  if (storeIntakeAtStart != null)
    result.storeIntakeAtStart = storeIntakeAtStart;
  if (storeIntakeAtEnd != null) result.storeIntakeAtEnd = storeIntakeAtEnd;
  if (discardedAtStart != null) result.discardedAtStart = discardedAtStart;
  if (discardedAtEnd != null) result.discardedAtEnd = discardedAtEnd;
  if (parentRefId != null) result.parentRefId = parentRefId;
  if (refFrom != null) result.refFrom = refFrom;
  if (refId != null) result.refId = refId;
  if (familyId != null) result.familyId = familyId;
  if (code != null) result.code = code;
  if (internalItemCode != null) result.internalItemCode = internalItemCode;
  if (hash != null) result.hash = hash;
  if (quantityRemainingMin != null)
    result.quantityRemainingMin = quantityRemainingMin;
  if (quantityRemainingMax != null)
    result.quantityRemainingMax = quantityRemainingMax;
  if (secondaryUomId != null) result.secondaryUomId = secondaryUomId;
  if (shelfLifeTimestampStart != null)
    result.shelfLifeTimestampStart = shelfLifeTimestampStart;
  if (shelfLifeTimestampEnd != null)
    result.shelfLifeTimestampEnd = shelfLifeTimestampEnd;
  if (warrantyTimestampStart != null)
    result.warrantyTimestampStart = warrantyTimestampStart;
  if (warrantyTimestampEnd != null)
    result.warrantyTimestampEnd = warrantyTimestampEnd;
  if (storeId != null) result.storeId = storeId;
  if (storageId != null) result.storageId = storageId;
  if (isQcReportPublic != null) result.isQcReportPublic = isQcReportPublic;
  if (locationId != null) result.locationId = locationId;
  if (vendorId != null) result.vendorId = vendorId;
  if (creationTimestampStart != null)
    result.creationTimestampStart = creationTimestampStart;
  if (creationTimestampEnd != null)
    result.creationTimestampEnd = creationTimestampEnd;
  if (modificationTimestampStart != null)
    result.modificationTimestampStart = modificationTimestampStart;
  if (modificationTimestampEnd != null)
    result.modificationTimestampEnd = modificationTimestampEnd;
  if (formData != null) result.formData.addAll(formData);
  return result;
}