GameServer_Spec_Health constructor

GameServer_Spec_Health({
  1. bool? disabled,
  2. int? periodSeconds,
  3. int? failureThreshold,
  4. int? initialDelaySeconds,
})

Implementation

factory GameServer_Spec_Health({
  $core.bool? disabled,
  $core.int? periodSeconds,
  $core.int? failureThreshold,
  $core.int? initialDelaySeconds,
}) {
  final _result = create();
  if (disabled != null) {
    _result.disabled = disabled;
  }
  if (periodSeconds != null) {
    _result.periodSeconds = periodSeconds;
  }
  if (failureThreshold != null) {
    _result.failureThreshold = failureThreshold;
  }
  if (initialDelaySeconds != null) {
    _result.initialDelaySeconds = initialDelaySeconds;
  }
  return _result;
}