Spoke constructor
Spoke({
- String? name,
- Timestamp? createTime,
- Timestamp? updateTime,
- Map<
String, String> ? labels, - String? description,
- String? hub,
- String? uniqueId,
- State? state,
- LinkedVpnTunnels? linkedVpnTunnels,
- LinkedInterconnectAttachments? linkedInterconnectAttachments,
- LinkedRouterApplianceInstances? linkedRouterApplianceInstances,
Implementation
factory Spoke({
$core.String? name,
$2.Timestamp? createTime,
$2.Timestamp? updateTime,
$core.Map<$core.String, $core.String>? labels,
$core.String? description,
$core.String? hub,
$core.String? uniqueId,
State? state,
LinkedVpnTunnels? linkedVpnTunnels,
LinkedInterconnectAttachments? linkedInterconnectAttachments,
LinkedRouterApplianceInstances? linkedRouterApplianceInstances,
}) {
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 (description != null) {
$result.description = description;
}
if (hub != null) {
$result.hub = hub;
}
if (uniqueId != null) {
$result.uniqueId = uniqueId;
}
if (state != null) {
$result.state = state;
}
if (linkedVpnTunnels != null) {
$result.linkedVpnTunnels = linkedVpnTunnels;
}
if (linkedInterconnectAttachments != null) {
$result.linkedInterconnectAttachments = linkedInterconnectAttachments;
}
if (linkedRouterApplianceInstances != null) {
$result.linkedRouterApplianceInstances = linkedRouterApplianceInstances;
}
return $result;
}