HTTPConfig constructor

HTTPConfig({
  1. String? runId,
  2. String? domain,
  3. String? remoteIP,
  4. int? remotePort,
  5. String? userName,
  6. String? password,
  7. bool? ifHttps,
  8. String? description,
  9. bool? remotePortStatus,
})

Implementation

factory HTTPConfig({
  $core.String? runId,
  $core.String? domain,
  $core.String? remoteIP,
  $core.int? remotePort,
  $core.String? userName,
  $core.String? password,
  $core.bool? ifHttps,
  $core.String? description,
  $core.bool? remotePortStatus,
}) {
  final _result = create();
  if (runId != null) {
    _result.runId = runId;
  }
  if (domain != null) {
    _result.domain = domain;
  }
  if (remoteIP != null) {
    _result.remoteIP = remoteIP;
  }
  if (remotePort != null) {
    _result.remotePort = remotePort;
  }
  if (userName != null) {
    _result.userName = userName;
  }
  if (password != null) {
    _result.password = password;
  }
  if (ifHttps != null) {
    _result.ifHttps = ifHttps;
  }
  if (description != null) {
    _result.description = description;
  }
  if (remotePortStatus != null) {
    _result.remotePortStatus = remotePortStatus;
  }
  return _result;
}