QCSampleParameter constructor
QCSampleParameter({
- String? entityUuid,
- EmployeeMetadata? metadata,
- String? userComment,
- String? checkedBy,
- Int64? checkedAt,
- Int64? qcSampleId,
- Int64? qcParamId,
- Int64? uomId,
- Int64? numberObservedValue,
- String? textObservedValue,
- bool? isInternal,
- QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE? acceptableValueType,
- Int64? numberAcceptableValue,
- Int64? numberRelativeLowerBound,
- Int64? numberRelativeUpperBound,
- Iterable<
String> ? textAcceptableValues, - Iterable<
String> ? textAcceptableValuesWithDeviation, - Iterable<
String> ? textUnacceptableValues, - String? description,
Implementation
factory QCSampleParameter({
$core.String? entityUuid,
$1.EmployeeMetadata? metadata,
$core.String? userComment,
$core.String? checkedBy,
$fixnum.Int64? checkedAt,
$fixnum.Int64? qcSampleId,
$fixnum.Int64? qcParamId,
$fixnum.Int64? uomId,
$fixnum.Int64? numberObservedValue,
$core.String? textObservedValue,
$core.bool? isInternal,
$4.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE? acceptableValueType,
$fixnum.Int64? numberAcceptableValue,
$fixnum.Int64? numberRelativeLowerBound,
$fixnum.Int64? numberRelativeUpperBound,
$core.Iterable<$core.String>? textAcceptableValues,
$core.Iterable<$core.String>? textAcceptableValuesWithDeviation,
$core.Iterable<$core.String>? textUnacceptableValues,
$core.String? description,
}) {
final result = create();
if (entityUuid != null) result.entityUuid = entityUuid;
if (metadata != null) result.metadata = metadata;
if (userComment != null) result.userComment = userComment;
if (checkedBy != null) result.checkedBy = checkedBy;
if (checkedAt != null) result.checkedAt = checkedAt;
if (qcSampleId != null) result.qcSampleId = qcSampleId;
if (qcParamId != null) result.qcParamId = qcParamId;
if (uomId != null) result.uomId = uomId;
if (numberObservedValue != null)
result.numberObservedValue = numberObservedValue;
if (textObservedValue != null) result.textObservedValue = textObservedValue;
if (isInternal != null) result.isInternal = isInternal;
if (acceptableValueType != null)
result.acceptableValueType = acceptableValueType;
if (numberAcceptableValue != null)
result.numberAcceptableValue = numberAcceptableValue;
if (numberRelativeLowerBound != null)
result.numberRelativeLowerBound = numberRelativeLowerBound;
if (numberRelativeUpperBound != null)
result.numberRelativeUpperBound = numberRelativeUpperBound;
if (textAcceptableValues != null)
result.textAcceptableValues.addAll(textAcceptableValues);
if (textAcceptableValuesWithDeviation != null)
result.textAcceptableValuesWithDeviation
.addAll(textAcceptableValuesWithDeviation);
if (textUnacceptableValues != null)
result.textUnacceptableValues.addAll(textUnacceptableValues);
if (description != null) result.description = description;
return result;
}