Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\DomainObjects\Generated;
/**
* THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
* @package HiEvents\DomainObjects\Generated
*/
abstract class AccountSsoConnectionDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
final public const SINGULAR_NAME = 'account_sso_connection';
final public const PLURAL_NAME = 'account_sso_connections';
final public const ID = 'id';
final public const ACCOUNT_ID = 'account_id';
final public const TYPE = 'type';
final public const ISSUER = 'issuer';
final public const CLIENT_ID = 'client_id';
final public const CLIENT_SECRET = 'client_secret';
final public const TENANT_ID = 'tenant_id';
final public const HOSTED_DOMAIN = 'hosted_domain';
final public const STATUS = 'status';
final public const SESSION_TTL_MINUTES = 'session_ttl_minutes';
final public const ENFORCE_SSO = 'enforce_sso';
final public const JIT_PROVISIONING_ENABLED = 'jit_provisioning_enabled';
final public const JIT_DEFAULT_ROLE = 'jit_default_role';
final public const LAST_TESTED_AT = 'last_tested_at';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
protected int $id;
protected int $account_id;
protected string $type;
protected string $issuer;
protected string $client_id;
protected string $client_secret;
protected ?string $tenant_id = null;
protected ?string $hosted_domain = null;
protected string $status = 'INACTIVE';
protected int $session_ttl_minutes = 720;
protected bool $enforce_sso = false;
protected bool $jit_provisioning_enabled = false;
protected string $jit_default_role = 'ORGANIZER';
protected ?string $last_tested_at = null;
protected ?string $created_at = null;
protected ?string $updated_at = null;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'account_id' => $this->account_id ?? null,
'type' => $this->type ?? null,
'issuer' => $this->issuer ?? null,
'client_id' => $this->client_id ?? null,
'client_secret' => $this->client_secret ?? null,
'tenant_id' => $this->tenant_id ?? null,
'hosted_domain' => $this->hosted_domain ?? null,
'status' => $this->status ?? null,
'session_ttl_minutes' => $this->session_ttl_minutes ?? null,
'enforce_sso' => $this->enforce_sso ?? null,
'jit_provisioning_enabled' => $this->jit_provisioning_enabled ?? null,
'jit_default_role' => $this->jit_default_role ?? null,
'last_tested_at' => $this->last_tested_at ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
];
}
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setAccountId(int $account_id): self
{
$this->account_id = $account_id;
return $this;
}
public function getAccountId(): int
{
return $this->account_id;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
public function getType(): string
{
return $this->type;
}
public function setIssuer(string $issuer): self
{
$this->issuer = $issuer;
return $this;
}
public function getIssuer(): string
{
return $this->issuer;
}
public function setClientId(string $client_id): self
{
$this->client_id = $client_id;
return $this;
}
public function getClientId(): string
{
return $this->client_id;
}
public function setClientSecret(string $client_secret): self
{
$this->client_secret = $client_secret;
return $this;
}
public function getClientSecret(): string
{
return $this->client_secret;
}
public function setTenantId(?string $tenant_id): self
{
$this->tenant_id = $tenant_id;
return $this;
}
public function getTenantId(): ?string
{
return $this->tenant_id;
}
public function setHostedDomain(?string $hosted_domain): self
{
$this->hosted_domain = $hosted_domain;
return $this;
}
public function getHostedDomain(): ?string
{
return $this->hosted_domain;
}
public function setStatus(string $status): self
{
$this->status = $status;
return $this;
}
public function getStatus(): string
{
return $this->status;
}
public function setSessionTtlMinutes(int $session_ttl_minutes): self
{
$this->session_ttl_minutes = $session_ttl_minutes;
return $this;
}
public function getSessionTtlMinutes(): int
{
return $this->session_ttl_minutes;
}
public function setEnforceSso(bool $enforce_sso): self
{
$this->enforce_sso = $enforce_sso;
return $this;
}
public function getEnforceSso(): bool
{
return $this->enforce_sso;
}
public function setJitProvisioningEnabled(bool $jit_provisioning_enabled): self
{
$this->jit_provisioning_enabled = $jit_provisioning_enabled;
return $this;
}
public function getJitProvisioningEnabled(): bool
{
return $this->jit_provisioning_enabled;
}
public function setJitDefaultRole(string $jit_default_role): self
{
$this->jit_default_role = $jit_default_role;
return $this;
}
public function getJitDefaultRole(): string
{
return $this->jit_default_role;
}
public function setLastTestedAt(?string $last_tested_at): self
{
$this->last_tested_at = $last_tested_at;
return $this;
}
public function getLastTestedAt(): ?string
{
return $this->last_tested_at;
}
public function setCreatedAt(?string $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getCreatedAt(): ?string
{
return $this->created_at;
}
public function setUpdatedAt(?string $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
public function getUpdatedAt(): ?string
{
return $this->updated_at;
}
}