SetSessionRequest constructor
SetSessionRequest({})
Implementation
factory SetSessionRequest({
$core.String? sessionId,
$core.String? sessionToken,
Checks? checks,
$core.Map<$core.String, $core.List<$core.int>>? metadata,
$6.RequestChallenges? challenges,
$7.Duration? lifetime,
}) {
final $result = create();
if (sessionId != null) {
$result.sessionId = sessionId;
}
if (sessionToken != null) {
$result.sessionToken = sessionToken;
}
if (checks != null) {
$result.checks = checks;
}
if (metadata != null) {
$result.metadata.addAll(metadata);
}
if (challenges != null) {
$result.challenges = challenges;
}
if (lifetime != null) {
$result.lifetime = lifetime;
}
return $result;
}