[AUTOGENERATED] Update auto generated code in entities
This commit is contained in:
parent
b27bda6a7c
commit
e2e53d9a2a
|
@ -35,7 +35,6 @@ namespace Plugin\ActivityPub\Entity;
|
|||
class ActivityPubActor
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $uri;
|
||||
private int $profile_id;
|
||||
private string $inboxuri;
|
||||
|
|
|
@ -35,20 +35,19 @@ namespace Plugin\ActivityPub\Entity;
|
|||
class ActivityPubCryptKey
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $gsactor_id;
|
||||
private ?string $private_key;
|
||||
private string $public_key;
|
||||
private ?DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -35,29 +35,28 @@ namespace Plugin\ActivityPub\Entity;
|
|||
class ActivityPubFollowRequests
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $local_gsactor_id;
|
||||
private int $remote_gsactor_id;
|
||||
private int $relation_id;
|
||||
|
||||
public function setLocalGsactorId(int $local_gsactor_id): self
|
||||
public function setLocalGSActorId(int $local_gsactor_id): self
|
||||
{
|
||||
$this->local_gsactor_id = $local_gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getLocalGsactorId(): int
|
||||
public function getLocalGSActorId(): int
|
||||
{
|
||||
return $this->local_gsactor_id;
|
||||
}
|
||||
|
||||
public function setRemoteGsactorId(int $remote_gsactor_id): self
|
||||
public function setRemoteGSActorId(int $remote_gsactor_id): self
|
||||
{
|
||||
$this->remote_gsactor_id = $remote_gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getRemoteGsactorId(): int
|
||||
public function getRemoteGSActorId(): int
|
||||
{
|
||||
return $this->remote_gsactor_id;
|
||||
}
|
||||
|
|
|
@ -38,7 +38,6 @@ use DateTimeInterface;
|
|||
class Activity extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private int $gsactor_id;
|
||||
private string $verb;
|
||||
|
@ -59,13 +58,13 @@ class Activity extends Entity
|
|||
return $this->id;
|
||||
}
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -44,19 +44,18 @@ use DateTimeInterface;
|
|||
class Avatar extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $gsactor_id;
|
||||
private int $file_id;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class ConfirmAddress extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $code;
|
||||
private ?int $user_id;
|
||||
private string $address;
|
||||
|
|
|
@ -37,7 +37,6 @@ use DateTimeInterface;
|
|||
class Conversation extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private int $note_id;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -25,7 +25,6 @@ use DateTimeInterface;
|
|||
class Favourite extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $note_id;
|
||||
private int $gsactor_id;
|
||||
private DateTimeInterface $created;
|
||||
|
@ -42,13 +41,13 @@ class Favourite extends Entity
|
|||
return $this->note_id;
|
||||
}
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
@ -74,6 +73,7 @@ class Favourite extends Entity
|
|||
{
|
||||
return $this->modified;
|
||||
}
|
||||
|
||||
// }}} Autocode
|
||||
|
||||
public static function schemaDef()
|
||||
|
|
|
@ -40,7 +40,6 @@ use DateTimeInterface;
|
|||
class File extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private ?string $url;
|
||||
private ?string $url_hash;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class FileThumbnail extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $file_id;
|
||||
private int $width;
|
||||
private int $height;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class FileToNote extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $file_id;
|
||||
private int $note_id;
|
||||
private DateTimeInterface $modified;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class Follow extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
>>>>>>> e63aa4d971 ([TOOLS] Change autocode tag to allow editor folding)
|
||||
|
||||
private int $follower;
|
||||
private int $followed;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class FollowQueue extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $follower;
|
||||
private int $followed;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -45,7 +45,6 @@ use Functional as F;
|
|||
class GSActor extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private string $nickname;
|
||||
private ?string $fullname;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class GSActorBlock extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $blocker;
|
||||
private int $blocked;
|
||||
private DateTimeInterface $modified;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class GSActorCircle extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private int $tagger;
|
||||
private string $tag;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class GSActorTag extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $tagger;
|
||||
private int $tagged;
|
||||
private string $tag;
|
||||
|
|
|
@ -39,30 +39,29 @@ use DateTimeInterface;
|
|||
class GSActorTagFollow extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $gsactor_tag_id;
|
||||
private int $gsactor_id;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
|
||||
public function setGsactorTagId(int $gsactor_tag_id): self
|
||||
public function setGSActorTagId(int $gsactor_tag_id): self
|
||||
{
|
||||
$this->gsactor_tag_id = $gsactor_tag_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorTagId(): int
|
||||
public function getGSActorTagId(): int
|
||||
{
|
||||
return $this->gsactor_tag_id;
|
||||
}
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class Group extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private int $gsactor_id;
|
||||
private ?string $nickname;
|
||||
|
@ -70,13 +69,13 @@ class Group extends Entity
|
|||
return $this->id;
|
||||
}
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class GroupAlias extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $alias;
|
||||
private int $group_id;
|
||||
private DateTimeInterface $modified;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class GroupBlock extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $group_id;
|
||||
private int $blocked_gsactor;
|
||||
private int $blocker_user;
|
||||
|
@ -56,13 +55,13 @@ class GroupBlock extends Entity
|
|||
return $this->group_id;
|
||||
}
|
||||
|
||||
public function setBlockedGsactor(int $blocked_gsactor): self
|
||||
public function setBlockedGSActor(int $blocked_gsactor): self
|
||||
{
|
||||
$this->blocked_gsactor = $blocked_gsactor;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getBlockedGsactor(): int
|
||||
public function getBlockedGSActor(): int
|
||||
{
|
||||
return $this->blocked_gsactor;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class GroupInbox extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $group_id;
|
||||
private int $activity_id;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -39,18 +39,17 @@ use DateTimeInterface;
|
|||
class GroupJoinQueue extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $gsactor_id;
|
||||
private int $group_id;
|
||||
private DateTimeInterface $created;
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class GroupMember extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $group_id;
|
||||
private int $gsactor_id;
|
||||
private ?bool $is_admin;
|
||||
|
@ -58,13 +57,13 @@ class GroupMember extends Entity
|
|||
return $this->group_id;
|
||||
}
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class Invitation extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $code;
|
||||
private int $user_id;
|
||||
private string $address;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class LocalGroup extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $group_id;
|
||||
private ?string $nickname;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -47,7 +47,6 @@ use Symfony\Component\Security\Core\User\UserInterface;
|
|||
class LocalUser extends Entity implements UserInterface
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private string $nickname;
|
||||
private ?string $password;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class LocationService extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private ?string $description;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -41,7 +41,6 @@ use DateTimeInterface;
|
|||
class Note extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private int $gsactor_id;
|
||||
private ?string $content;
|
||||
|
@ -66,13 +65,13 @@ class Note extends Entity
|
|||
return $this->id;
|
||||
}
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class NoteHashtag extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $tag;
|
||||
private int $note_id;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class NoteLocation extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $note_id;
|
||||
private ?float $lat;
|
||||
private ?float $lon;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class NoteSource extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $code;
|
||||
private string $name;
|
||||
private string $url;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class Notification extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $activity_id;
|
||||
private int $gsactor_id;
|
||||
private ?string $reason;
|
||||
|
@ -57,13 +56,13 @@ class Notification extends Entity
|
|||
return $this->activity_id;
|
||||
}
|
||||
|
||||
public function setGsactorId(int $gsactor_id): self
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
$this->gsactor_id = $gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getGsactorId(): int
|
||||
public function getGSActorId(): int
|
||||
{
|
||||
return $this->gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class RelatedGroup extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $group_id;
|
||||
private int $related_group_id;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -37,7 +37,6 @@ use DateTimeInterface;
|
|||
class RememberMeToken extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $series;
|
||||
private string $value;
|
||||
private DateTimeInterface $lastUsed;
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class ReservedNickname extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $nickname;
|
||||
private DateTimeInterface $created;
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class SmsCarrier extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $id;
|
||||
private ?string $name;
|
||||
private string $email_pattern;
|
||||
|
|
|
@ -37,7 +37,6 @@ use DateTimeInterface;
|
|||
class UserLocationPrefs extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $user_id;
|
||||
private ?bool $share_location;
|
||||
private DateTimeInterface $created;
|
||||
|
|
|
@ -35,7 +35,6 @@ use DateTimeInterface;
|
|||
class UserNotificationPrefs extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $user_id;
|
||||
private string $transport;
|
||||
private ?int $target_gsactor_id;
|
||||
|
@ -73,13 +72,13 @@ class UserNotificationPrefs extends Entity
|
|||
return $this->transport;
|
||||
}
|
||||
|
||||
public function setTargetGsactorId(?int $target_gsactor_id): self
|
||||
public function setTargetGSActorId(?int $target_gsactor_id): self
|
||||
{
|
||||
$this->target_gsactor_id = $target_gsactor_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTargetGsactorId(): ?int
|
||||
public function getTargetGSActorId(): ?int
|
||||
{
|
||||
return $this->target_gsactor_id;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||
class UserUrlShortenerPrefs extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $user_id;
|
||||
private ?string $url_shortening_service;
|
||||
private int $max_url_length;
|
||||
|
|
Loading…
Reference in New Issue
Block a user