GoalsServiceItemCreateRequest constructor
GoalsServiceItemCreateRequest({})
Implementation
factory GoalsServiceItemCreateRequest({
$core.String? userComment,
$fixnum.Int64? goalId,
$core.String? name,
$fixnum.Int64? labelId,
$core.String? specifications,
GOAL_ITEM_INPUT_VALUE_TYPE? inputValueType,
$fixnum.Int64? numberMinValue,
$fixnum.Int64? numberMaxValue,
$fixnum.Int64? numberAcceptableValue,
$core.Iterable<$core.String>? textValues,
$core.String? textAcceptableValue,
}) {
final result = create();
if (userComment != null) result.userComment = userComment;
if (goalId != null) result.goalId = goalId;
if (name != null) result.name = name;
if (labelId != null) result.labelId = labelId;
if (specifications != null) result.specifications = specifications;
if (inputValueType != null) result.inputValueType = inputValueType;
if (numberMinValue != null) result.numberMinValue = numberMinValue;
if (numberMaxValue != null) result.numberMaxValue = numberMaxValue;
if (numberAcceptableValue != null)
result.numberAcceptableValue = numberAcceptableValue;
if (textValues != null) result.textValues.addAll(textValues);
if (textAcceptableValue != null)
result.textAcceptableValue = textAcceptableValue;
return result;
}