CreateActionRequest constructor

CreateActionRequest({
  1. String? name,
  2. String? script,
  3. Duration? timeout,
  4. bool? allowedToFail,
})

Implementation

factory CreateActionRequest({
  $core.String? name,
  $core.String? script,
  $7.Duration? timeout,
  $core.bool? allowedToFail,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (script != null) {
    $result.script = script;
  }
  if (timeout != null) {
    $result.timeout = timeout;
  }
  if (allowedToFail != null) {
    $result.allowedToFail = allowedToFail;
  }
  return $result;
}