value; private ?PrincipalTypeEnum $principalType = null; /** * Id d'une Person existante ou requête de création d'un nouvel access qui aura le * rôle de président(e) de la nouvelle structure. * @var int|OrganizationMemberCreationRequest|null */ private int|OrganizationMemberCreationRequest|null $president = null; /** * Id d'une Person existante ou requête de création d'un nouvel access qui aura le * rôle de directeur / directrice de la nouvelle structure. * @var int|OrganizationMemberCreationRequest|null */ private int|OrganizationMemberCreationRequest|null $director = null; /** * Faut-il créer un site typo3 pour la nouvelle structure * @var bool */ private bool $createWebsite = true; /** * La structure est-elle cliente de Opentalent * @var bool */ private bool $client = false; /** * For testing purposes only * @var bool */ private bool $async = true; public function getId(): int { return $this->id; } public function setId(int $id): self { $this->id = $id; return $this; } public function getSendConfirmationEmailAt(): ?string { return $this->sendConfirmationEmailAt; } public function setSendConfirmationEmailAt(?string $sendConfirmationEmailAt): self { $this->sendConfirmationEmailAt = $sendConfirmationEmailAt; return $this; } public function getName(): string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getLegalStatus(): LegalEnum { return $this->legalStatus; } public function setLegalStatus(LegalEnum $legalStatus): self { $this->legalStatus = $legalStatus; return $this; } public function getProduct(): SettingsProductEnum { return $this->product; } public function setProduct(SettingsProductEnum $product): self { $this->product = $product; return $this; } public function getStreetAddress1(): string { return $this->streetAddress1; } public function setStreetAddress1(string $streetAddress1): self { $this->streetAddress1 = $streetAddress1; return $this; } public function getStreetAddress2(): ?string { return $this->streetAddress2; } public function setStreetAddress2(?string $streetAddress2): self { $this->streetAddress2 = $streetAddress2; return $this; } public function getStreetAddress3(): ?string { return $this->streetAddress3; } public function setStreetAddress3(?string $streetAddress3): self { $this->streetAddress3 = $streetAddress3; return $this; } public function getPostalCode(): string { return $this->postalCode; } public function setPostalCode(string $postalCode): self { $this->postalCode = $postalCode; return $this; } public function getCity(): string { return $this->city; } public function setCity(string $city): self { $this->city = $city; return $this; } public function getCountryId(): int { return $this->countryId; } public function setCountryId(int $countryId): self { $this->countryId = $countryId; return $this; } public function getPhoneNumber(): string { return $this->phoneNumber; } public function setPhoneNumber(string $phoneNumber): self { $this->phoneNumber = $phoneNumber; return $this; } public function getEmail(): string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getSubdomain(): string { return $this->subdomain; } public function setSubdomain(string $subdomain): self { $this->subdomain = $subdomain; return $this; } public function getParentId(): int { return $this->parentId; } public function setParentId(int $parentId): self { $this->parentId = $parentId; return $this; } public function getPrincipalType(): PrincipalTypeEnum { return $this->principalType; } public function setPrincipalType(PrincipalTypeEnum $principalType): self { $this->principalType = $principalType; return $this; } public function getPresident(): ?OrganizationMemberCreationRequest { return $this->president; } public function setPresident(?OrganizationMemberCreationRequest $president): self { $this->president = $president; return $this; } public function getDirector(): ?OrganizationMemberCreationRequest { return $this->director; } public function setDirector(?OrganizationMemberCreationRequest $director): self { $this->director = $director; return $this; } public function getCreateWebsite(): bool { return $this->createWebsite; } public function setCreateWebsite(bool $createWebsite): self { $this->createWebsite = $createWebsite; return $this; } public function isClient(): bool { return $this->client; } public function setClient(bool $client): self { $this->client = $client; return $this; } public function isAsync(): bool { return $this->async; } public function setAsync(bool $async): self { $this->async = $async; return $this; } }