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