AppLink constructor

AppLink({
  1. String? oauthAppLinkId,
  2. String? viamUser,
  3. String? externalUser,
  4. Iterable<String>? orgIdOrNs,
})

Implementation

factory AppLink({
  $core.String? oauthAppLinkId,
  $core.String? viamUser,
  $core.String? externalUser,
  $core.Iterable<$core.String>? orgIdOrNs,
}) {
  final $result = create();
  if (oauthAppLinkId != null) {
    $result.oauthAppLinkId = oauthAppLinkId;
  }
  if (viamUser != null) {
    $result.viamUser = viamUser;
  }
  if (externalUser != null) {
    $result.externalUser = externalUser;
  }
  if (orgIdOrNs != null) {
    $result.orgIdOrNs.addAll(orgIdOrNs);
  }
  return $result;
}