Gateway constructor

Gateway({
  1. String? name,
  2. Timestamp? createTime,
  3. Timestamp? updateTime,
  4. Map<String, String>? labels,
  5. String? displayName,
  6. String? apiConfig,
  7. Gateway_State? state,
  8. String? defaultHostname,
})

Implementation

factory Gateway({
  $core.String? name,
  $2.Timestamp? createTime,
  $2.Timestamp? updateTime,
  $core.Map<$core.String, $core.String>? labels,
  $core.String? displayName,
  $core.String? apiConfig,
  Gateway_State? state,
  $core.String? defaultHostname,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (createTime != null) {
    $result.createTime = createTime;
  }
  if (updateTime != null) {
    $result.updateTime = updateTime;
  }
  if (labels != null) {
    $result.labels.addAll(labels);
  }
  if (displayName != null) {
    $result.displayName = displayName;
  }
  if (apiConfig != null) {
    $result.apiConfig = apiConfig;
  }
  if (state != null) {
    $result.state = state;
  }
  if (defaultHostname != null) {
    $result.defaultHostname = defaultHostname;
  }
  return $result;
}