AppGateway constructor

AppGateway({
  1. String? name,
  2. Timestamp? createTime,
  3. Timestamp? updateTime,
  4. Map<String, String>? labels,
  5. String? displayName,
  6. String? uid,
  7. AppGateway_Type? type,
  8. AppGateway_State? state,
  9. String? uri,
  10. Iterable<AppGateway_AllocatedConnection>? allocatedConnections,
  11. AppGateway_HostType? hostType,
})

Implementation

factory AppGateway({
  $core.String? name,
  $2.Timestamp? createTime,
  $2.Timestamp? updateTime,
  $core.Map<$core.String, $core.String>? labels,
  $core.String? displayName,
  $core.String? uid,
  AppGateway_Type? type,
  AppGateway_State? state,
  $core.String? uri,
  $core.Iterable<AppGateway_AllocatedConnection>? allocatedConnections,
  AppGateway_HostType? hostType,
}) {
  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 (uid != null) {
    $result.uid = uid;
  }
  if (type != null) {
    $result.type = type;
  }
  if (state != null) {
    $result.state = state;
  }
  if (uri != null) {
    $result.uri = uri;
  }
  if (allocatedConnections != null) {
    $result.allocatedConnections.addAll(allocatedConnections);
  }
  if (hostType != null) {
    $result.hostType = hostType;
  }
  return $result;
}