2022-05-11 23:44:22 -06:00
|
|
|
<?php
|
|
|
|
|
|
2024-03-09 03:19:55 -08:00
|
|
|
class IntegrationUserData
|
|
|
|
|
{
|
2022-05-11 23:44:22 -06:00
|
|
|
public int $id;
|
|
|
|
|
public int $integration_id;
|
|
|
|
|
public string $user_id;
|
2022-05-12 22:35:22 +02:00
|
|
|
public ?string $identifier;
|
|
|
|
|
public ?string $username;
|
2022-05-11 23:44:22 -06:00
|
|
|
public bool $verified;
|
|
|
|
|
public int $date;
|
2022-05-11 23:45:56 -06:00
|
|
|
public ?string $code;
|
2022-05-11 23:44:22 -06:00
|
|
|
public bool $show_publicly;
|
|
|
|
|
public int $last_sync;
|
|
|
|
|
|
2024-03-09 03:19:55 -08:00
|
|
|
public function __construct(object $row)
|
|
|
|
|
{
|
2022-05-11 23:44:22 -06:00
|
|
|
$this->id = $row->id;
|
|
|
|
|
$this->integration_id = $row->integration_id;
|
|
|
|
|
$this->user_id = $row->user_id;
|
|
|
|
|
$this->identifier = $row->identifier;
|
2022-05-11 23:45:56 -06:00
|
|
|
$this->username = $row->username;
|
2022-05-11 23:44:22 -06:00
|
|
|
$this->verified = $row->verified;
|
|
|
|
|
$this->date = $row->date;
|
|
|
|
|
$this->code = $row->code;
|
|
|
|
|
$this->show_publicly = $row->show_publicly;
|
|
|
|
|
$this->last_sync = $row->last_sync;
|
|
|
|
|
}
|
|
|
|
|
}
|