AllProjectGrantQuery constructor

AllProjectGrantQuery({
  1. GrantProjectNameQuery? projectNameQuery,
  2. GrantRoleKeyQuery? roleKeyQuery,
  3. ProjectIDQuery? projectIdQuery,
  4. GrantedOrgIDQuery? grantedOrgIdQuery,
})

Implementation

factory AllProjectGrantQuery({
  GrantProjectNameQuery? projectNameQuery,
  GrantRoleKeyQuery? roleKeyQuery,
  ProjectIDQuery? projectIdQuery,
  GrantedOrgIDQuery? grantedOrgIdQuery,
}) {
  final $result = create();
  if (projectNameQuery != null) {
    $result.projectNameQuery = projectNameQuery;
  }
  if (roleKeyQuery != null) {
    $result.roleKeyQuery = roleKeyQuery;
  }
  if (projectIdQuery != null) {
    $result.projectIdQuery = projectIdQuery;
  }
  if (grantedOrgIdQuery != null) {
    $result.grantedOrgIdQuery = grantedOrgIdQuery;
  }
  return $result;
}