[AUTOGENERATED] Update autogenerated code
This commit is contained in:
parent
483ac38888
commit
c44443b52c
@ -38,7 +38,6 @@ use DateTimeInterface;
|
|||||||
class ForeignLink
|
class ForeignLink
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $user_id;
|
private int $user_id;
|
||||||
private int $foreign_id;
|
private int $foreign_id;
|
||||||
private int $service;
|
private int $service;
|
||||||
|
@ -43,16 +43,15 @@ class Attachment extends Entity
|
|||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
private int $id;
|
private int $id;
|
||||||
private ?string $url;
|
private ?string $remote_url;
|
||||||
private ?string $url_hash;
|
private ?string $remote_url_hash;
|
||||||
private ?string $file_hash;
|
private ?string $file_hash;
|
||||||
private ?int $gsactor_id;
|
private ?int $gsactor_id;
|
||||||
private ?string $mimetype;
|
private ?string $mimetype;
|
||||||
private ?string $title;
|
private ?string $title;
|
||||||
private ?string $filename;
|
private ?string $filename;
|
||||||
private ?bool $is_local;
|
private ?bool $is_local;
|
||||||
private ?bool $is_nsfw;
|
private ?int $source;
|
||||||
private ?bool $is_url_protected;
|
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setId(int $id): self
|
public function setId(int $id): self
|
||||||
@ -66,26 +65,26 @@ class Attachment extends Entity
|
|||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUrl(?string $url): self
|
public function setRemoteUrl(?string $remote_url): self
|
||||||
{
|
{
|
||||||
$this->url = $url;
|
$this->remote_url = $remote_url;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUrl(): ?string
|
public function getRemoteUrl(): ?string
|
||||||
{
|
{
|
||||||
return $this->url;
|
return $this->remote_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUrlHash(?string $url_hash): self
|
public function setRemoteUrlHash(?string $remote_url_hash): self
|
||||||
{
|
{
|
||||||
$this->url_hash = $url_hash;
|
$this->remote_url_hash = $remote_url_hash;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUrlHash(): ?string
|
public function getRemoteUrlHash(): ?string
|
||||||
{
|
{
|
||||||
return $this->url_hash;
|
return $this->remote_url_hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFileHash(?string $file_hash): self
|
public function setFileHash(?string $file_hash): self
|
||||||
@ -154,15 +153,15 @@ class Attachment extends Entity
|
|||||||
return $this->is_local;
|
return $this->is_local;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIsUrlProtected(?bool $is_url_protected): self
|
public function setSource(?int $source): self
|
||||||
{
|
{
|
||||||
$this->is_url_protected = $is_url_protected;
|
$this->source = $source;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsUrlProtected(): ?bool
|
public function getSource(): ?int
|
||||||
{
|
{
|
||||||
return $this->is_url_protected;
|
return $this->source;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setModified(DateTimeInterface $modified): self
|
public function setModified(DateTimeInterface $modified): self
|
||||||
|
@ -39,19 +39,18 @@ use DateTimeInterface;
|
|||||||
class Cover extends Entity
|
class Cover extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private int $file_id;
|
private int $file_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||||||
class Follow extends Entity
|
class Follow extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $follower;
|
private int $follower;
|
||||||
private int $followed;
|
private int $followed;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
|||||||
class GSActorCircle extends Entity
|
class GSActorCircle extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
private int $id;
|
|
||||||
private int $tagger;
|
private int $tagger;
|
||||||
private string $tag;
|
private string $tag;
|
||||||
private ?string $description;
|
private ?string $description;
|
||||||
@ -47,17 +46,6 @@ class GSActorCircle extends Entity
|
|||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setId(int $id): self
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getId(): int
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setTagger(int $tagger): self
|
public function setTagger(int $tagger): self
|
||||||
{
|
{
|
||||||
$this->tagger = $tagger;
|
$this->tagger = $tagger;
|
||||||
|
@ -39,22 +39,11 @@ use DateTimeInterface;
|
|||||||
class GSActorTagFollow extends Entity
|
class GSActorTagFollow extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
private int $gsactor_tag;
|
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
|
private int $gsactor_tag;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setGSActorTag(int $gsactor_tag): self
|
|
||||||
{
|
|
||||||
$this->gsactor_tag = $gsactor_tag;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getGSActorTag(): int
|
|
||||||
{
|
|
||||||
return $this->gsactor_tag;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setGSActorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
@ -66,6 +55,17 @@ class GSActorTagFollow extends Entity
|
|||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setGSActorTag(int $gsactor_tag): self
|
||||||
|
{
|
||||||
|
$this->gsactor_tag = $gsactor_tag;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getGSActorTag(): int
|
||||||
|
{
|
||||||
|
return $this->gsactor_tag;
|
||||||
|
}
|
||||||
|
|
||||||
public function setCreated(DateTimeInterface $created): self
|
public function setCreated(DateTimeInterface $created): self
|
||||||
{
|
{
|
||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
|
@ -41,7 +41,6 @@ use DateTimeInterface;
|
|||||||
class Note extends Entity
|
class Note extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private ?string $content;
|
private ?string $content;
|
||||||
|
@ -38,7 +38,6 @@ use DateTimeInterface;
|
|||||||
class Poll extends Entity
|
class Poll extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private ?string $uri;
|
private ?string $uri;
|
||||||
private ?int $gsactor_id;
|
private ?int $gsactor_id;
|
||||||
@ -70,13 +69,13 @@ class Poll extends Entity
|
|||||||
return $this->uri;
|
return $this->uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(?int $gsactor_id): self
|
public function setGSActorId(?int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): ?int
|
public function getGSActorId(): ?int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,6 @@ use DateTimeInterface;
|
|||||||
class PollResponse extends Entity
|
class PollResponse extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private ?string $uri;
|
private ?string $uri;
|
||||||
private int $poll_id;
|
private int $poll_id;
|
||||||
@ -80,13 +79,13 @@ class PollResponse extends Entity
|
|||||||
return $this->poll_id;
|
return $this->poll_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(?int $gsactor_id): self
|
public function setGSActorId(?int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): ?int
|
public function getGSActorId(): ?int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
@ -37,19 +37,18 @@ use DateTimeInterface;
|
|||||||
class ProfileColor extends Entity
|
class ProfileColor extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private string $color;
|
private string $color;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
@ -65,13 +65,13 @@ class RememberMeToken extends Entity
|
|||||||
return $this->value;
|
return $this->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLastUsed(DateTimeInterface $lastused): self
|
public function setLastused(DateTimeInterface $lastused): self
|
||||||
{
|
{
|
||||||
$this->lastused = $lastused;
|
$this->lastused = $lastused;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLastUsed(): DateTimeInterface
|
public function getLastused(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->lastused;
|
return $this->lastused;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user