ServiceAccountDelegationInfo constructor

ServiceAccountDelegationInfo({
  1. ServiceAccountDelegationInfo_FirstPartyPrincipal? firstPartyPrincipal,
  2. ServiceAccountDelegationInfo_ThirdPartyPrincipal? thirdPartyPrincipal,
})

Implementation

factory ServiceAccountDelegationInfo({
  ServiceAccountDelegationInfo_FirstPartyPrincipal? firstPartyPrincipal,
  ServiceAccountDelegationInfo_ThirdPartyPrincipal? thirdPartyPrincipal,
}) {
  final $result = create();
  if (firstPartyPrincipal != null) {
    $result.firstPartyPrincipal = firstPartyPrincipal;
  }
  if (thirdPartyPrincipal != null) {
    $result.thirdPartyPrincipal = thirdPartyPrincipal;
  }
  return $result;
}