AppConnection constructor
AppConnection({
- String? name,
- Timestamp? createTime,
- Timestamp? updateTime,
- Map<
String, String> ? labels, - String? displayName,
- String? uid,
- AppConnection_Type? type,
- AppConnection_ApplicationEndpoint? applicationEndpoint,
- Iterable<
String> ? connectors, - AppConnection_State? state,
- AppConnection_Gateway? gateway,
Implementation
factory AppConnection({
$core.String? name,
$2.Timestamp? createTime,
$2.Timestamp? updateTime,
$core.Map<$core.String, $core.String>? labels,
$core.String? displayName,
$core.String? uid,
AppConnection_Type? type,
AppConnection_ApplicationEndpoint? applicationEndpoint,
$core.Iterable<$core.String>? connectors,
AppConnection_State? state,
AppConnection_Gateway? gateway,
}) {
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 (applicationEndpoint != null) {
$result.applicationEndpoint = applicationEndpoint;
}
if (connectors != null) {
$result.connectors.addAll(connectors);
}
if (state != null) {
$result.state = state;
}
if (gateway != null) {
$result.gateway = gateway;
}
return $result;
}