[DATABASE][AUTOCODE] Autogenerated fields, setters and getters for each entity

This commit is contained in:
Hugo Sales 2020-03-30 15:13:51 +00:00 committed by Hugo Sales
parent 55bc66d7ed
commit 6193062590
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
57 changed files with 4006 additions and 0 deletions

View File

@ -37,6 +37,62 @@ class Attention
{
// {{{ Autocode
private int $notice_id;
private int $profile_id;
private ?string $reason;
private DateTime $created;
private DateTime $modified;
public function setNoticeId(int $notice_id): self
{
$this->notice_id = $notice_id;
return $this;
}
public function getNoticeId(): int
{
return $this->notice_id;
}
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setReason(?string $reason): self
{
$this->reason = $reason;
return $this;
}
public function getReason(): ?string
{
return $this->reason;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,95 @@ class Avatar
{
// {{{ Autocode
private int $profile_id;
private ?bool $original;
private int $width;
private int $height;
private string $mediatype;
private ?string $filename;
private DateTime $created;
private DateTime $modified;
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setOriginal(?bool $original): self
{
$this->original = $original;
return $this;
}
public function getOriginal(): ?bool
{
return $this->original;
}
public function setWidth(int $width): self
{
$this->width = $width;
return $this;
}
public function getWidth(): int
{
return $this->width;
}
public function setHeight(int $height): self
{
$this->height = $height;
return $this;
}
public function getHeight(): int
{
return $this->height;
}
public function setMediatype(string $mediatype): self
{
$this->mediatype = $mediatype;
return $this;
}
public function getMediatype(): string
{
return $this->mediatype;
}
public function setFilename(?string $filename): self
{
$this->filename = $filename;
return $this;
}
public function getFilename(): ?string
{
return $this->filename;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class Config
{
// {{{ Autocode
private string $section;
private string $setting;
private ?string $value;
public function setSection(string $section): self
{
$this->section = $section;
return $this;
}
public function getSection(): string
{
return $this->section;
}
public function setSetting(string $setting): self
{
$this->setting = $setting;
return $this;
}
public function getSetting(): string
{
return $this->setting;
}
public function setValue(?string $value): self
{
$this->value = $value;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,95 @@ class ConfirmAddress
{
// {{{ Autocode
private string $code;
private ?int $user_id;
private string $address;
private ?string $address_extra;
private string $address_type;
private ?DateTime $claimed;
private ?DateTime $sent;
private DateTime $modified;
public function setCode(string $code): self
{
$this->code = $code;
return $this;
}
public function getCode(): string
{
return $this->code;
}
public function setUserId(?int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): ?int
{
return $this->user_id;
}
public function setAddress(string $address): self
{
$this->address = $address;
return $this;
}
public function getAddress(): string
{
return $this->address;
}
public function setAddressExtra(?string $address_extra): self
{
$this->address_extra = $address_extra;
return $this;
}
public function getAddressExtra(): ?string
{
return $this->address_extra;
}
public function setAddressType(string $address_type): self
{
$this->address_type = $address_type;
return $this;
}
public function getAddressType(): string
{
return $this->address_type;
}
public function setClaimed(?DateTime $claimed): self
{
$this->claimed = $claimed;
return $this;
}
public function getClaimed(): ?DateTime
{
return $this->claimed;
}
public function setSent(?DateTime $sent): self
{
$this->sent = $sent;
return $this;
}
public function getSent(): ?DateTime
{
return $this->sent;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,62 @@ class Consumer
{
// {{{ Autocode
private string $consumer_key;
private string $consumer_secret;
private string $seed;
private DateTime $created;
private DateTime $modified;
public function setConsumerKey(string $consumer_key): self
{
$this->consumer_key = $consumer_key;
return $this;
}
public function getConsumerKey(): string
{
return $this->consumer_key;
}
public function setConsumerSecret(string $consumer_secret): self
{
$this->consumer_secret = $consumer_secret;
return $this;
}
public function getConsumerSecret(): string
{
return $this->consumer_secret;
}
public function setSeed(string $seed): self
{
$this->seed = $seed;
return $this;
}
public function getSeed(): string
{
return $this->seed;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -35,6 +35,62 @@ class Conversation
{
// {{{ Autocode
private int $id;
private string $uri;
private ?string $url;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setUri(string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): string
{
return $this->uri;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,150 @@ class File
{
// {{{ Autocode
private int $id;
private string $urlhash;
private ?string $url;
private ?string $filehash;
private ?string $mimetype;
private ?int $size;
private ?string $title;
private ?int $date;
private ?int $protected;
private ?string $filename;
private ?int $width;
private ?int $height;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setUrlhash(string $urlhash): self
{
$this->urlhash = $urlhash;
return $this;
}
public function getUrlhash(): string
{
return $this->urlhash;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setFilehash(?string $filehash): self
{
$this->filehash = $filehash;
return $this;
}
public function getFilehash(): ?string
{
return $this->filehash;
}
public function setMimetype(?string $mimetype): self
{
$this->mimetype = $mimetype;
return $this;
}
public function getMimetype(): ?string
{
return $this->mimetype;
}
public function setSize(?int $size): self
{
$this->size = $size;
return $this;
}
public function getSize(): ?int
{
return $this->size;
}
public function setTitle(?string $title): self
{
$this->title = $title;
return $this;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setDate(?int $date): self
{
$this->date = $date;
return $this;
}
public function getDate(): ?int
{
return $this->date;
}
public function setProtected(?int $protected): self
{
$this->protected = $protected;
return $this;
}
public function getProtected(): ?int
{
return $this->protected;
}
public function setFilename(?string $filename): self
{
$this->filename = $filename;
return $this;
}
public function getFilename(): ?string
{
return $this->filename;
}
public function setWidth(?int $width): self
{
$this->width = $width;
return $this;
}
public function getWidth(): ?int
{
return $this->width;
}
public function setHeight(?int $height): self
{
$this->height = $height;
return $this;
}
public function getHeight(): ?int
{
return $this->height;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class FileRedirection
{
// {{{ Autocode
private string $urlhash;
private ?string $url;
private ?int $file_id;
private ?int $redirections;
private ?int $httpcode;
private DateTime $modified;
public function setUrlhash(string $urlhash): self
{
$this->urlhash = $urlhash;
return $this;
}
public function getUrlhash(): string
{
return $this->urlhash;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setFileId(?int $file_id): self
{
$this->file_id = $file_id;
return $this;
}
public function getFileId(): ?int
{
return $this->file_id;
}
public function setRedirections(?int $redirections): self
{
$this->redirections = $redirections;
return $this;
}
public function getRedirections(): ?int
{
return $this->redirections;
}
public function setHttpcode(?int $httpcode): self
{
$this->httpcode = $httpcode;
return $this;
}
public function getHttpcode(): ?int
{
return $this->httpcode;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,84 @@ class FileThumbnail
{
// {{{ Autocode
private int $file_id;
private ?string $urlhash;
private ?string $url;
private ?string $filename;
private int $width;
private int $height;
private DateTime $modified;
public function setFileId(int $file_id): self
{
$this->file_id = $file_id;
return $this;
}
public function getFileId(): int
{
return $this->file_id;
}
public function setUrlhash(?string $urlhash): self
{
$this->urlhash = $urlhash;
return $this;
}
public function getUrlhash(): ?string
{
return $this->urlhash;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setFilename(?string $filename): self
{
$this->filename = $filename;
return $this;
}
public function getFilename(): ?string
{
return $this->filename;
}
public function setWidth(int $width): self
{
$this->width = $width;
return $this;
}
public function getWidth(): int
{
return $this->width;
}
public function setHeight(int $height): self
{
$this->height = $height;
return $this;
}
public function getHeight(): int
{
return $this->height;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class FileToPost
{
// {{{ Autocode
private int $file_id;
private int $post_id;
private DateTime $modified;
public function setFileId(int $file_id): self
{
$this->file_id = $file_id;
return $this;
}
public function getFileId(): int
{
return $this->file_id;
}
public function setPostId(int $post_id): self
{
$this->post_id = $post_id;
return $this;
}
public function getPostId(): int
{
return $this->post_id;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,128 @@ class ForeignLink
{
// {{{ Autocode
private int $user_id;
private int $foreign_id;
private int $service;
private ?string $credentials;
private int $noticesync;
private int $friendsync;
private int $profilesync;
private ?DateTime $last_noticesync;
private ?DateTime $last_friendsync;
private DateTime $created;
private DateTime $modified;
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setForeignId(int $foreign_id): self
{
$this->foreign_id = $foreign_id;
return $this;
}
public function getForeignId(): int
{
return $this->foreign_id;
}
public function setService(int $service): self
{
$this->service = $service;
return $this;
}
public function getService(): int
{
return $this->service;
}
public function setCredentials(?string $credentials): self
{
$this->credentials = $credentials;
return $this;
}
public function getCredentials(): ?string
{
return $this->credentials;
}
public function setNoticesync(int $noticesync): self
{
$this->noticesync = $noticesync;
return $this;
}
public function getNoticesync(): int
{
return $this->noticesync;
}
public function setFriendsync(int $friendsync): self
{
$this->friendsync = $friendsync;
return $this;
}
public function getFriendsync(): int
{
return $this->friendsync;
}
public function setProfilesync(int $profilesync): self
{
$this->profilesync = $profilesync;
return $this;
}
public function getProfilesync(): int
{
return $this->profilesync;
}
public function setLastNoticesync(?DateTime $last_noticesync): self
{
$this->last_noticesync = $last_noticesync;
return $this;
}
public function getLastNoticesync(): ?DateTime
{
return $this->last_noticesync;
}
public function setLastFriendsync(?DateTime $last_friendsync): self
{
$this->last_friendsync = $last_friendsync;
return $this;
}
public function getLastFriendsync(): ?DateTime
{
return $this->last_friendsync;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,62 @@ class ForeignService
{
// {{{ Autocode
private int $id;
private string $name;
private ?string $description;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): string
{
return $this->name;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class ForeignSubscription
{
// {{{ Autocode
private int $service;
private int $subscriber;
private int $subscribed;
private DateTime $created;
public function setService(int $service): self
{
$this->service = $service;
return $this;
}
public function getService(): int
{
return $this->service;
}
public function setSubscriber(int $subscriber): self
{
$this->subscriber = $subscriber;
return $this;
}
public function getSubscriber(): int
{
return $this->subscriber;
}
public function setSubscribed(int $subscribed): self
{
$this->subscribed = $subscribed;
return $this;
}
public function getSubscribed(): int
{
return $this->subscribed;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class ForeignUser
{
// {{{ Autocode
private int $id;
private int $service;
private string $uri;
private ?string $nickname;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setService(int $service): self
{
$this->service = $service;
return $this;
}
public function getService(): int
{
return $this->service;
}
public function setUri(string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): string
{
return $this->uri;
}
public function setNickname(?string $nickname): self
{
$this->nickname = $nickname;
return $this;
}
public function getNickname(): ?string
{
return $this->nickname;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class GroupAlias
{
// {{{ Autocode
private string $alias;
private int $group_id;
private DateTime $modified;
public function setAlias(string $alias): self
{
$this->alias = $alias;
return $this;
}
public function getAlias(): string
{
return $this->alias;
}
public function setGroupId(int $group_id): self
{
$this->group_id = $group_id;
return $this;
}
public function getGroupId(): int
{
return $this->group_id;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class GroupBlock
{
// {{{ Autocode
private int $group_id;
private int $blocked;
private int $blocker;
private DateTime $modified;
public function setGroupId(int $group_id): self
{
$this->group_id = $group_id;
return $this;
}
public function getGroupId(): int
{
return $this->group_id;
}
public function setBlocked(int $blocked): self
{
$this->blocked = $blocked;
return $this;
}
public function getBlocked(): int
{
return $this->blocked;
}
public function setBlocker(int $blocker): self
{
$this->blocker = $blocker;
return $this;
}
public function getBlocker(): int
{
return $this->blocker;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class GroupInbox
{
// {{{ Autocode
private int $group_id;
private int $notice_id;
private DateTime $created;
public function setGroupId(int $group_id): self
{
$this->group_id = $group_id;
return $this;
}
public function getGroupId(): int
{
return $this->group_id;
}
public function setNoticeId(int $notice_id): self
{
$this->notice_id = $notice_id;
return $this;
}
public function getNoticeId(): int
{
return $this->notice_id;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class GroupJoinQueue
{
// {{{ Autocode
private int $profile_id;
private int $group_id;
private DateTime $created;
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setGroupId(int $group_id): self
{
$this->group_id = $group_id;
return $this;
}
public function getGroupId(): int
{
return $this->group_id;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class GroupMember
{
// {{{ Autocode
private int $group_id;
private int $profile_id;
private ?bool $is_admin;
private ?string $uri;
private DateTime $created;
private DateTime $modified;
public function setGroupId(int $group_id): self
{
$this->group_id = $group_id;
return $this;
}
public function getGroupId(): int
{
return $this->group_id;
}
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setIsAdmin(?bool $is_admin): self
{
$this->is_admin = $is_admin;
return $this;
}
public function getIsAdmin(): ?bool
{
return $this->is_admin;
}
public function setUri(?string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): ?string
{
return $this->uri;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class Invitation
{
// {{{ Autocode
private string $code;
private int $user_id;
private string $address;
private string $address_type;
private DateTime $created;
private ?int $registered_user_id;
public function setCode(string $code): self
{
$this->code = $code;
return $this;
}
public function getCode(): string
{
return $this->code;
}
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setAddress(string $address): self
{
$this->address = $address;
return $this;
}
public function getAddress(): string
{
return $this->address;
}
public function setAddressType(string $address_type): self
{
$this->address_type = $address_type;
return $this;
}
public function getAddressType(): string
{
return $this->address_type;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setRegisteredUserId(?int $registered_user_id): self
{
$this->registered_user_id = $registered_user_id;
return $this;
}
public function getRegisteredUserId(): ?int
{
return $this->registered_user_id;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class LocalGroup
{
// {{{ Autocode
private int $group_id;
private ?string $nickname;
private DateTime $created;
private DateTime $modified;
public function setGroupId(int $group_id): self
{
$this->group_id = $group_id;
return $this;
}
public function getGroupId(): int
{
return $this->group_id;
}
public function setNickname(?string $nickname): self
{
$this->nickname = $nickname;
return $this;
}
public function getNickname(): ?string
{
return $this->nickname;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class LocationNamespace
{
// {{{ Autocode
private int $id;
private ?string $description;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class LoginToken
{
// {{{ Autocode
private int $user_id;
private string $token;
private DateTime $created;
private DateTime $modified;
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setToken(string $token): self
{
$this->token = $token;
return $this;
}
public function getToken(): string
{
return $this->token;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class Nonce
{
// {{{ Autocode
private string $consumer_key;
private ?string $tok;
private string $nonce;
private DateTime $ts;
private DateTime $created;
private DateTime $modified;
public function setConsumerKey(string $consumer_key): self
{
$this->consumer_key = $consumer_key;
return $this;
}
public function getConsumerKey(): string
{
return $this->consumer_key;
}
public function setTok(?string $tok): self
{
$this->tok = $tok;
return $this;
}
public function getTok(): ?string
{
return $this->tok;
}
public function setNonce(string $nonce): self
{
$this->nonce = $nonce;
return $this;
}
public function getNonce(): string
{
return $this->nonce;
}
public function setTs(DateTime $ts): self
{
$this->ts = $ts;
return $this;
}
public function getTs(): DateTime
{
return $this->ts;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,183 @@ class Notice
{
// {{{ Autocode
private int $id;
private int $profile_id;
private ?string $uri;
private ?string $content;
private ?string $rendered;
private ?string $url;
private DateTime $created;
private DateTime $modified;
private ?int $reply_to;
private ?int $is_local;
private ?string $source;
private ?int $conversation;
private ?int $repeat_of;
private ?string $object_type;
private ?string $verb;
private ?int $scope;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setUri(?string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): ?string
{
return $this->uri;
}
public function setContent(?string $content): self
{
$this->content = $content;
return $this;
}
public function getContent(): ?string
{
return $this->content;
}
public function setRendered(?string $rendered): self
{
$this->rendered = $rendered;
return $this;
}
public function getRendered(): ?string
{
return $this->rendered;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
public function setReplyTo(?int $reply_to): self
{
$this->reply_to = $reply_to;
return $this;
}
public function getReplyTo(): ?int
{
return $this->reply_to;
}
public function setIsLocal(?int $is_local): self
{
$this->is_local = $is_local;
return $this;
}
public function getIsLocal(): ?int
{
return $this->is_local;
}
public function setSource(?string $source): self
{
$this->source = $source;
return $this;
}
public function getSource(): ?string
{
return $this->source;
}
public function setConversation(?int $conversation): self
{
$this->conversation = $conversation;
return $this;
}
public function getConversation(): ?int
{
return $this->conversation;
}
public function setRepeatOf(?int $repeat_of): self
{
$this->repeat_of = $repeat_of;
return $this;
}
public function getRepeatOf(): ?int
{
return $this->repeat_of;
}
public function setObjectType(?string $object_type): self
{
$this->object_type = $object_type;
return $this;
}
public function getObjectType(): ?string
{
return $this->object_type;
}
public function setVerb(?string $verb): self
{
$this->verb = $verb;
return $this;
}
public function getVerb(): ?string
{
return $this->verb;
}
public function setScope(?int $scope): self
{
$this->scope = $scope;
return $this;
}
public function getScope(): ?int
{
return $this->scope;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class NoticeLocation
{
// {{{ Autocode
private int $notice_id;
private ?float $lat;
private ?float $lon;
private ?int $location_id;
private ?int $location_ns;
private DateTime $modified;
public function setNoticeId(int $notice_id): self
{
$this->notice_id = $notice_id;
return $this;
}
public function getNoticeId(): int
{
return $this->notice_id;
}
public function setLat(?float $lat): self
{
$this->lat = $lat;
return $this;
}
public function getLat(): ?float
{
return $this->lat;
}
public function setLon(?float $lon): self
{
$this->lon = $lon;
return $this;
}
public function getLon(): ?float
{
return $this->lon;
}
public function setLocationId(?int $location_id): self
{
$this->location_id = $location_id;
return $this;
}
public function getLocationId(): ?int
{
return $this->location_id;
}
public function setLocationNs(?int $location_ns): self
{
$this->location_ns = $location_ns;
return $this;
}
public function getLocationNs(): ?int
{
return $this->location_ns;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,73 @@ class NoticePrefs
{
// {{{ Autocode
private int $notice_id;
private string $namespace;
private string $topic;
private $data;
private DateTime $created;
private DateTime $modified;
public function setNoticeId(int $notice_id): self
{
$this->notice_id = $notice_id;
return $this;
}
public function getNoticeId(): int
{
return $this->notice_id;
}
public function setNamespace(string $namespace): self
{
$this->namespace = $namespace;
return $this;
}
public function getNamespace(): string
{
return $this->namespace;
}
public function setTopic(string $topic): self
{
$this->topic = $topic;
return $this;
}
public function getTopic(): string
{
return $this->topic;
}
public function setData($data): self
{
$this->data = $data;
return $this;
}
public function getData()
{
return $this->data;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class NoticeSource
{
// {{{ Autocode
private string $code;
private string $name;
private string $url;
private int $notice_id;
private DateTime $created;
private DateTime $modified;
public function setCode(string $code): self
{
$this->code = $code;
return $this;
}
public function getCode(): string
{
return $this->code;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): string
{
return $this->name;
}
public function setUrl(string $url): self
{
$this->url = $url;
return $this;
}
public function getUrl(): string
{
return $this->url;
}
public function setNoticeId(int $notice_id): self
{
$this->notice_id = $notice_id;
return $this;
}
public function getNoticeId(): int
{
return $this->notice_id;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class NoticeTag
{
// {{{ Autocode
private string $tag;
private int $notice_id;
private DateTime $created;
public function setTag(string $tag): self
{
$this->tag = $tag;
return $this;
}
public function getTag(): string
{
return $this->tag;
}
public function setNoticeId(int $notice_id): self
{
$this->notice_id = $notice_id;
return $this;
}
public function getNoticeId(): int
{
return $this->notice_id;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,161 @@ class OauthApplication
{
// {{{ Autocode
private int $id;
private int $owner;
private string $consumer_key;
private string $name;
private ?string $description;
private string $icon;
private ?string $source_url;
private ?string $organization;
private ?string $homepage;
private ?string $callback_url;
private ?int $type;
private ?int $access_type;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setOwner(int $owner): self
{
$this->owner = $owner;
return $this;
}
public function getOwner(): int
{
return $this->owner;
}
public function setConsumerKey(string $consumer_key): self
{
$this->consumer_key = $consumer_key;
return $this;
}
public function getConsumerKey(): string
{
return $this->consumer_key;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): string
{
return $this->name;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setIcon(string $icon): self
{
$this->icon = $icon;
return $this;
}
public function getIcon(): string
{
return $this->icon;
}
public function setSourceUrl(?string $source_url): self
{
$this->source_url = $source_url;
return $this;
}
public function getSourceUrl(): ?string
{
return $this->source_url;
}
public function setOrganization(?string $organization): self
{
$this->organization = $organization;
return $this;
}
public function getOrganization(): ?string
{
return $this->organization;
}
public function setHomepage(?string $homepage): self
{
$this->homepage = $homepage;
return $this;
}
public function getHomepage(): ?string
{
return $this->homepage;
}
public function setCallbackUrl(?string $callback_url): self
{
$this->callback_url = $callback_url;
return $this;
}
public function getCallbackUrl(): ?string
{
return $this->callback_url;
}
public function setType(?int $type): self
{
$this->type = $type;
return $this;
}
public function getType(): ?int
{
return $this->type;
}
public function setAccessType(?int $access_type): self
{
$this->access_type = $access_type;
return $this;
}
public function getAccessType(): ?int
{
return $this->access_type;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class OauthApplicationUser
{
// {{{ Autocode
private int $profile_id;
private int $application_id;
private ?int $access_type;
private ?string $token;
private DateTime $created;
private DateTime $modified;
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setApplicationId(int $application_id): self
{
$this->application_id = $application_id;
return $this;
}
public function getApplicationId(): int
{
return $this->application_id;
}
public function setAccessType(?int $access_type): self
{
$this->access_type = $access_type;
return $this;
}
public function getAccessType(): ?int
{
return $this->access_type;
}
public function setToken(?string $token): self
{
$this->token = $token;
return $this;
}
public function getToken(): ?string
{
return $this->token;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,62 @@ class OauthTokenAssociation
{
// {{{ Autocode
private int $profile_id;
private int $application_id;
private string $token;
private DateTime $created;
private DateTime $modified;
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setApplicationId(int $application_id): self
{
$this->application_id = $application_id;
return $this;
}
public function getApplicationId(): int
{
return $this->application_id;
}
public function setToken(string $token): self
{
$this->token = $token;
return $this;
}
public function getToken(): string
{
return $this->token;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class OldSchoolPrefs
{
// {{{ Autocode
private int $user_id;
private ?bool $stream_mode_only;
private ?bool $conversation_tree;
private ?bool $stream_nicknames;
private DateTime $created;
private DateTime $modified;
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setStreamModeOnly(?bool $stream_mode_only): self
{
$this->stream_mode_only = $stream_mode_only;
return $this;
}
public function getStreamModeOnly(): ?bool
{
return $this->stream_mode_only;
}
public function setConversationTree(?bool $conversation_tree): self
{
$this->conversation_tree = $conversation_tree;
return $this;
}
public function getConversationTree(): ?bool
{
return $this->conversation_tree;
}
public function setStreamNicknames(?bool $stream_nicknames): self
{
$this->stream_nicknames = $stream_nicknames;
return $this;
}
public function getStreamNicknames(): ?bool
{
return $this->stream_nicknames;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,150 @@ class Profile
{
// {{{ Autocode
private int $id;
private string $nickname;
private ?string $fullname;
private ?string $profileurl;
private ?string $homepage;
private ?string $bio;
private ?string $location;
private ?float $lat;
private ?float $lon;
private ?int $location_id;
private ?int $location_ns;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setNickname(string $nickname): self
{
$this->nickname = $nickname;
return $this;
}
public function getNickname(): string
{
return $this->nickname;
}
public function setFullname(?string $fullname): self
{
$this->fullname = $fullname;
return $this;
}
public function getFullname(): ?string
{
return $this->fullname;
}
public function setProfileurl(?string $profileurl): self
{
$this->profileurl = $profileurl;
return $this;
}
public function getProfileurl(): ?string
{
return $this->profileurl;
}
public function setHomepage(?string $homepage): self
{
$this->homepage = $homepage;
return $this;
}
public function getHomepage(): ?string
{
return $this->homepage;
}
public function setBio(?string $bio): self
{
$this->bio = $bio;
return $this;
}
public function getBio(): ?string
{
return $this->bio;
}
public function setLocation(?string $location): self
{
$this->location = $location;
return $this;
}
public function getLocation(): ?string
{
return $this->location;
}
public function setLat(?float $lat): self
{
$this->lat = $lat;
return $this;
}
public function getLat(): ?float
{
return $this->lat;
}
public function setLon(?float $lon): self
{
$this->lon = $lon;
return $this;
}
public function getLon(): ?float
{
return $this->lon;
}
public function setLocationId(?int $location_id): self
{
$this->location_id = $location_id;
return $this;
}
public function getLocationId(): ?int
{
return $this->location_id;
}
public function setLocationNs(?int $location_ns): self
{
$this->location_ns = $location_ns;
return $this;
}
public function getLocationNs(): ?int
{
return $this->location_ns;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class ProfileBlock
{
// {{{ Autocode
private int $blocker;
private int $blocked;
private DateTime $modified;
public function setBlocker(int $blocker): self
{
$this->blocker = $blocker;
return $this;
}
public function getBlocker(): int
{
return $this->blocker;
}
public function setBlocked(int $blocked): self
{
$this->blocked = $blocked;
return $this;
}
public function getBlocked(): int
{
return $this->blocked;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,128 @@ class ProfileList
{
// {{{ Autocode
private int $id;
private int $tagger;
private string $tag;
private ?string $description;
private ?bool $private;
private DateTime $created;
private DateTime $modified;
private ?string $uri;
private ?string $mainpage;
private ?int $tagged_count;
private ?int $subscriber_count;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setTagger(int $tagger): self
{
$this->tagger = $tagger;
return $this;
}
public function getTagger(): int
{
return $this->tagger;
}
public function setTag(string $tag): self
{
$this->tag = $tag;
return $this;
}
public function getTag(): string
{
return $this->tag;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setPrivate(?bool $private): self
{
$this->private = $private;
return $this;
}
public function getPrivate(): ?bool
{
return $this->private;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
public function setUri(?string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): ?string
{
return $this->uri;
}
public function setMainpage(?string $mainpage): self
{
$this->mainpage = $mainpage;
return $this;
}
public function getMainpage(): ?string
{
return $this->mainpage;
}
public function setTaggedCount(?int $tagged_count): self
{
$this->tagged_count = $tagged_count;
return $this;
}
public function getTaggedCount(): ?int
{
return $this->tagged_count;
}
public function setSubscriberCount(?int $subscriber_count): self
{
$this->subscriber_count = $subscriber_count;
return $this;
}
public function getSubscriberCount(): ?int
{
return $this->subscriber_count;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class ProfilePrefs
{
// {{{ Autocode
private int $profile_id;
private string $namespace;
private string $topic;
private $data;
private DateTime $created;
private DateTime $modified;
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setNamespace(string $namespace): self
{
$this->namespace = $namespace;
return $this;
}
public function getNamespace(): string
{
return $this->namespace;
}
public function setTopic(string $topic): self
{
$this->topic = $topic;
return $this;
}
public function getTopic(): string
{
return $this->topic;
}
public function setData($data): self
{
$this->data = $data;
return $this;
}
public function getData()
{
return $this->data;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class ProfileRole
{
// {{{ Autocode
private int $profile_id;
private string $role;
private DateTime $created;
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setRole(string $role): self
{
$this->role = $role;
return $this;
}
public function getRole(): string
{
return $this->role;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class ProfileTag
{
// {{{ Autocode
private int $tagger;
private int $tagged;
private string $tag;
private DateTime $modified;
public function setTagger(int $tagger): self
{
$this->tagger = $tagger;
return $this;
}
public function getTagger(): int
{
return $this->tagger;
}
public function setTagged(int $tagged): self
{
$this->tagged = $tagged;
return $this;
}
public function getTagged(): int
{
return $this->tagged;
}
public function setTag(string $tag): self
{
$this->tag = $tag;
return $this;
}
public function getTag(): string
{
return $this->tag;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class ProfileTagSubscription
{
// {{{ Autocode
private int $profile_tag_id;
private int $profile_id;
private DateTime $created;
private DateTime $modified;
public function setProfileTagId(int $profile_tag_id): self
{
$this->profile_tag_id = $profile_tag_id;
return $this;
}
public function getProfileTagId(): int
{
return $this->profile_tag_id;
}
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,62 @@ class QueueItem
{
// {{{ Autocode
private int $id;
private $frame;
private string $transport;
private DateTime $created;
private ?DateTime $claimed;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setFrame($frame): self
{
$this->frame = $frame;
return $this;
}
public function getFrame()
{
return $this->frame;
}
public function setTransport(string $transport): self
{
$this->transport = $transport;
return $this;
}
public function getTransport(): string
{
return $this->transport;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setClaimed(?DateTime $claimed): self
{
$this->claimed = $claimed;
return $this;
}
public function getClaimed(): ?DateTime
{
return $this->claimed;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class RelatedGroup
{
// {{{ Autocode
private int $group_id;
private int $related_group_id;
private DateTime $created;
public function setGroupId(int $group_id): self
{
$this->group_id = $group_id;
return $this;
}
public function getGroupId(): int
{
return $this->group_id;
}
public function setRelatedGroupId(int $related_group_id): self
{
$this->related_group_id = $related_group_id;
return $this;
}
public function getRelatedGroupId(): int
{
return $this->related_group_id;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class RememberMe
{
// {{{ Autocode
private string $code;
private int $user_id;
private DateTime $modified;
public function setCode(string $code): self
{
$this->code = $code;
return $this;
}
public function getCode(): string
{
return $this->code;
}
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,51 @@ class Reply
{
// {{{ Autocode
private int $notice_id;
private int $profile_id;
private DateTime $modified;
private ?int $replied_id;
public function setNoticeId(int $notice_id): self
{
$this->notice_id = $notice_id;
return $this;
}
public function getNoticeId(): int
{
return $this->notice_id;
}
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
public function setRepliedId(?int $replied_id): self
{
$this->replied_id = $replied_id;
return $this;
}
public function getRepliedId(): ?int
{
return $this->replied_id;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class SchemaVersion
{
// {{{ Autocode
private string $table_name;
private string $checksum;
private DateTime $modified;
public function setTableName(string $table_name): self
{
$this->table_name = $table_name;
return $this;
}
public function getTableName(): string
{
return $this->table_name;
}
public function setChecksum(string $checksum): self
{
$this->checksum = $checksum;
return $this;
}
public function getChecksum(): string
{
return $this->checksum;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,51 @@ class Session
{
// {{{ Autocode
private string $id;
private ?string $session_data;
private DateTime $created;
private DateTime $modified;
public function setId(string $id): self
{
$this->id = $id;
return $this;
}
public function getId(): string
{
return $this->id;
}
public function setSessionData(?string $session_data): self
{
$this->session_data = $session_data;
return $this;
}
public function getSessionData(): ?string
{
return $this->session_data;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,62 @@ class SmsCarrier
{
// {{{ Autocode
private int $id;
private ?string $name;
private string $email_pattern;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setEmailPattern(string $email_pattern): self
{
$this->email_pattern = $email_pattern;
return $this;
}
public function getEmailPattern(): string
{
return $this->email_pattern;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -38,6 +38,106 @@ class Subscription
// {{{ Autocode
>>>>>>> e63aa4d971 ([TOOLS] Change autocode tag to allow editor folding)
private int $subscriber;
private int $subscribed;
private ?bool $jabber;
private ?bool $sms;
private ?string $token;
private ?string $secret;
private ?string $uri;
private DateTime $created;
private DateTime $modified;
public function setSubscriber(int $subscriber): self
{
$this->subscriber = $subscriber;
return $this;
}
public function getSubscriber(): int
{
return $this->subscriber;
}
public function setSubscribed(int $subscribed): self
{
$this->subscribed = $subscribed;
return $this;
}
public function getSubscribed(): int
{
return $this->subscribed;
}
public function setJabber(?bool $jabber): self
{
$this->jabber = $jabber;
return $this;
}
public function getJabber(): ?bool
{
return $this->jabber;
}
public function setSms(?bool $sms): self
{
$this->sms = $sms;
return $this;
}
public function getSms(): ?bool
{
return $this->sms;
}
public function setToken(?string $token): self
{
$this->token = $token;
return $this;
}
public function getToken(): ?string
{
return $this->token;
}
public function setSecret(?string $secret): self
{
$this->secret = $secret;
return $this;
}
public function getSecret(): ?string
{
return $this->secret;
}
public function setUri(?string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): ?string
{
return $this->uri;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,40 @@ class SubscriptionQueue
{
// {{{ Autocode
private int $subscriber;
private int $subscribed;
private DateTime $created;
public function setSubscriber(int $subscriber): self
{
$this->subscriber = $subscriber;
return $this;
}
public function getSubscriber(): int
{
return $this->subscriber;
}
public function setSubscribed(int $subscribed): self
{
$this->subscribed = $subscribed;
return $this;
}
public function getSubscribed(): int
{
return $this->subscribed;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,106 @@ class Token
{
// {{{ Autocode
private string $consumer_key;
private string $tok;
private string $secret;
private int $type;
private ?int $state;
private ?string $verifier;
private ?string $verified_callback;
private DateTime $created;
private DateTime $modified;
public function setConsumerKey(string $consumer_key): self
{
$this->consumer_key = $consumer_key;
return $this;
}
public function getConsumerKey(): string
{
return $this->consumer_key;
}
public function setTok(string $tok): self
{
$this->tok = $tok;
return $this;
}
public function getTok(): string
{
return $this->tok;
}
public function setSecret(string $secret): self
{
$this->secret = $secret;
return $this;
}
public function getSecret(): string
{
return $this->secret;
}
public function setType(int $type): self
{
$this->type = $type;
return $this;
}
public function getType(): int
{
return $this->type;
}
public function setState(?int $state): self
{
$this->state = $state;
return $this;
}
public function getState(): ?int
{
return $this->state;
}
public function setVerifier(?string $verifier): self
{
$this->verifier = $verifier;
return $this;
}
public function getVerifier(): ?string
{
return $this->verifier;
}
public function setVerifiedCallback(?string $verified_callback): self
{
$this->verified_callback = $verified_callback;
return $this;
}
public function getVerifiedCallback(): ?string
{
return $this->verified_callback;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,29 @@ class UnavailableStatusNetwork
{
// {{{ Autocode
private string $nickname;
private DateTime $created;
public function setNickname(string $nickname): self
{
$this->nickname = $nickname;
return $this;
}
public function getNickname(): string
{
return $this->nickname;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,282 @@ class User
{
// {{{ Autocode
private int $id;
private ?string $nickname;
private ?string $password;
private ?string $email;
private ?string $incomingemail;
private ?bool $emailnotifysub;
private ?int $emailnotifyfav;
private ?bool $emailnotifynudge;
private ?bool $emailnotifymsg;
private ?bool $emailnotifyattn;
private ?string $language;
private ?string $timezone;
private ?bool $emailpost;
private ?string $sms;
private ?int $carrier;
private ?bool $smsnotify;
private ?bool $smsreplies;
private ?string $smsemail;
private ?string $uri;
private ?bool $autosubscribe;
private ?int $subscribe_policy;
private ?string $urlshorteningservice;
private ?bool $private_stream;
private DateTime $created;
private DateTime $modified;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setNickname(?string $nickname): self
{
$this->nickname = $nickname;
return $this;
}
public function getNickname(): ?string
{
return $this->nickname;
}
public function setPassword(?string $password): self
{
$this->password = $password;
return $this;
}
public function getPassword(): ?string
{
return $this->password;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setIncomingemail(?string $incomingemail): self
{
$this->incomingemail = $incomingemail;
return $this;
}
public function getIncomingemail(): ?string
{
return $this->incomingemail;
}
public function setEmailnotifysub(?bool $emailnotifysub): self
{
$this->emailnotifysub = $emailnotifysub;
return $this;
}
public function getEmailnotifysub(): ?bool
{
return $this->emailnotifysub;
}
public function setEmailnotifyfav(?int $emailnotifyfav): self
{
$this->emailnotifyfav = $emailnotifyfav;
return $this;
}
public function getEmailnotifyfav(): ?int
{
return $this->emailnotifyfav;
}
public function setEmailnotifynudge(?bool $emailnotifynudge): self
{
$this->emailnotifynudge = $emailnotifynudge;
return $this;
}
public function getEmailnotifynudge(): ?bool
{
return $this->emailnotifynudge;
}
public function setEmailnotifymsg(?bool $emailnotifymsg): self
{
$this->emailnotifymsg = $emailnotifymsg;
return $this;
}
public function getEmailnotifymsg(): ?bool
{
return $this->emailnotifymsg;
}
public function setEmailnotifyattn(?bool $emailnotifyattn): self
{
$this->emailnotifyattn = $emailnotifyattn;
return $this;
}
public function getEmailnotifyattn(): ?bool
{
return $this->emailnotifyattn;
}
public function setLanguage(?string $language): self
{
$this->language = $language;
return $this;
}
public function getLanguage(): ?string
{
return $this->language;
}
public function setTimezone(?string $timezone): self
{
$this->timezone = $timezone;
return $this;
}
public function getTimezone(): ?string
{
return $this->timezone;
}
public function setEmailpost(?bool $emailpost): self
{
$this->emailpost = $emailpost;
return $this;
}
public function getEmailpost(): ?bool
{
return $this->emailpost;
}
public function setSms(?string $sms): self
{
$this->sms = $sms;
return $this;
}
public function getSms(): ?string
{
return $this->sms;
}
public function setCarrier(?int $carrier): self
{
$this->carrier = $carrier;
return $this;
}
public function getCarrier(): ?int
{
return $this->carrier;
}
public function setSmsnotify(?bool $smsnotify): self
{
$this->smsnotify = $smsnotify;
return $this;
}
public function getSmsnotify(): ?bool
{
return $this->smsnotify;
}
public function setSmsreplies(?bool $smsreplies): self
{
$this->smsreplies = $smsreplies;
return $this;
}
public function getSmsreplies(): ?bool
{
return $this->smsreplies;
}
public function setSmsemail(?string $smsemail): self
{
$this->smsemail = $smsemail;
return $this;
}
public function getSmsemail(): ?string
{
return $this->smsemail;
}
public function setUri(?string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): ?string
{
return $this->uri;
}
public function setAutosubscribe(?bool $autosubscribe): self
{
$this->autosubscribe = $autosubscribe;
return $this;
}
public function getAutosubscribe(): ?bool
{
return $this->autosubscribe;
}
public function setSubscribePolicy(?int $subscribe_policy): self
{
$this->subscribe_policy = $subscribe_policy;
return $this;
}
public function getSubscribePolicy(): ?int
{
return $this->subscribe_policy;
}
public function setUrlshorteningservice(?string $urlshorteningservice): self
{
$this->urlshorteningservice = $urlshorteningservice;
return $this;
}
public function getUrlshorteningservice(): ?string
{
return $this->urlshorteningservice;
}
public function setPrivateStream(?bool $private_stream): self
{
$this->private_stream = $private_stream;
return $this;
}
public function getPrivateStream(): ?bool
{
return $this->private_stream;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,194 @@ class UserGroup
{
// {{{ Autocode
private int $id;
private int $profile_id;
private ?string $nickname;
private ?string $fullname;
private ?string $homepage;
private ?string $description;
private ?string $location;
private ?string $original_logo;
private ?string $homepage_logo;
private ?string $stream_logo;
private ?string $mini_logo;
private DateTime $created;
private DateTime $modified;
private ?string $uri;
private ?string $mainpage;
private ?int $join_policy;
private ?int $force_scope;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setProfileId(int $profile_id): self
{
$this->profile_id = $profile_id;
return $this;
}
public function getProfileId(): int
{
return $this->profile_id;
}
public function setNickname(?string $nickname): self
{
$this->nickname = $nickname;
return $this;
}
public function getNickname(): ?string
{
return $this->nickname;
}
public function setFullname(?string $fullname): self
{
$this->fullname = $fullname;
return $this;
}
public function getFullname(): ?string
{
return $this->fullname;
}
public function setHomepage(?string $homepage): self
{
$this->homepage = $homepage;
return $this;
}
public function getHomepage(): ?string
{
return $this->homepage;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setLocation(?string $location): self
{
$this->location = $location;
return $this;
}
public function getLocation(): ?string
{
return $this->location;
}
public function setOriginalLogo(?string $original_logo): self
{
$this->original_logo = $original_logo;
return $this;
}
public function getOriginalLogo(): ?string
{
return $this->original_logo;
}
public function setHomepageLogo(?string $homepage_logo): self
{
$this->homepage_logo = $homepage_logo;
return $this;
}
public function getHomepageLogo(): ?string
{
return $this->homepage_logo;
}
public function setStreamLogo(?string $stream_logo): self
{
$this->stream_logo = $stream_logo;
return $this;
}
public function getStreamLogo(): ?string
{
return $this->stream_logo;
}
public function setMiniLogo(?string $mini_logo): self
{
$this->mini_logo = $mini_logo;
return $this;
}
public function getMiniLogo(): ?string
{
return $this->mini_logo;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
public function setUri(?string $uri): self
{
$this->uri = $uri;
return $this;
}
public function getUri(): ?string
{
return $this->uri;
}
public function setMainpage(?string $mainpage): self
{
$this->mainpage = $mainpage;
return $this;
}
public function getMainpage(): ?string
{
return $this->mainpage;
}
public function setJoinPolicy(?int $join_policy): self
{
$this->join_policy = $join_policy;
return $this;
}
public function getJoinPolicy(): ?int
{
return $this->join_policy;
}
public function setForceScope(?int $force_scope): self
{
$this->force_scope = $force_scope;
return $this;
}
public function getForceScope(): ?int
{
return $this->force_scope;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -35,6 +35,95 @@ class UserImPrefs
{
// {{{ Autocode
private int $user_id;
private string $screenname;
private string $transport;
private bool $notify;
private bool $replies;
private bool $updatefrompresence;
private DateTime $created;
private DateTime $modified;
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setScreenname(string $screenname): self
{
$this->screenname = $screenname;
return $this;
}
public function getScreenname(): string
{
return $this->screenname;
}
public function setTransport(string $transport): self
{
$this->transport = $transport;
return $this;
}
public function getTransport(): string
{
return $this->transport;
}
public function setNotify(bool $notify): self
{
$this->notify = $notify;
return $this;
}
public function getNotify(): bool
{
return $this->notify;
}
public function setReplies(bool $replies): self
{
$this->replies = $replies;
return $this;
}
public function getReplies(): bool
{
return $this->replies;
}
public function setUpdatefrompresence(bool $updatefrompresence): self
{
$this->updatefrompresence = $updatefrompresence;
return $this;
}
public function getUpdatefrompresence(): bool
{
return $this->updatefrompresence;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -35,6 +35,51 @@ class UserLocationPrefs
{
// {{{ Autocode
private int $user_id;
private ?bool $share_location;
private DateTime $created;
private DateTime $modified;
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setShareLocation(?bool $share_location): self
{
$this->share_location = $share_location;
return $this;
}
public function getShareLocation(): ?bool
{
return $this->share_location;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,73 @@ class UserUrlshortenerPrefs
{
// {{{ Autocode
private int $user_id;
private ?string $urlshorteningservice;
private int $maxurllength;
private int $maxnoticelength;
private DateTime $created;
private DateTime $modified;
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setUrlshorteningservice(?string $urlshorteningservice): self
{
$this->urlshorteningservice = $urlshorteningservice;
return $this;
}
public function getUrlshorteningservice(): ?string
{
return $this->urlshorteningservice;
}
public function setMaxurllength(int $maxurllength): self
{
$this->maxurllength = $maxurllength;
return $this;
}
public function getMaxurllength(): int
{
return $this->maxurllength;
}
public function setMaxnoticelength(int $maxnoticelength): self
{
$this->maxnoticelength = $maxnoticelength;
return $this;
}
public function getMaxnoticelength(): int
{
return $this->maxnoticelength;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,62 @@ class UserUsername
{
// {{{ Autocode
private string $provider_name;
private string $username;
private int $user_id;
private DateTime $created;
private DateTime $modified;
public function setProviderName(string $provider_name): self
{
$this->provider_name = $provider_name;
return $this;
}
public function getProviderName(): string
{
return $this->provider_name;
}
public function setUsername(string $username): self
{
$this->username = $username;
return $this;
}
public function getUsername(): string
{
return $this->username;
}
public function setUserId(int $user_id): self
{
$this->user_id = $user_id;
return $this;
}
public function getUserId(): int
{
return $this->user_id;
}
public function setCreated(DateTime $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): DateTime
{
return $this->created;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array