Skip to content

Commit e6d77d1

Browse files
committed
chore: rebuilt with latest spec 1.0.4
1 parent 51cc95a commit e6d77d1

File tree

4 files changed

+110
-2
lines changed

4 files changed

+110
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ [email protected]
116116

117117
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
118118

119-
- API version: `1.0.3`
119+
- API version: `1.0.4`
120120
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

docs/Model/ThingData.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Name | Type | Description | Notes
1717
**title** | **string** | | [optional]
1818
**url** | **string** | | [optional]
1919
**url_overridden_by_dest** | **string** | | [optional]
20+
**link_id** | **string** | | [optional]
21+
**link_author** | **string** | | [optional]
22+
**link_title** | **string** | | [optional]
23+
**link_permalink** | **string** | | [optional]
2024
**body** | **string** | | [optional]
2125

2226
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

src/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public static function toDebugReport(): string
376376
$report = 'PHP SDK (Sigwin\RedditClient) Debug Report:'.\PHP_EOL;
377377
$report .= ' OS: '.php_uname().\PHP_EOL;
378378
$report .= ' PHP Version: '.\PHP_VERSION.\PHP_EOL;
379-
$report .= ' The version of the OpenAPI document: 1.0.3'.\PHP_EOL;
379+
$report .= ' The version of the OpenAPI document: 1.0.4'.\PHP_EOL;
380380
$report .= ' Temp Folder Path: '.self::getDefaultConfiguration()->getTempFolderPath().\PHP_EOL;
381381

382382
return $report;

src/Model/ThingData.php

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
5555
'title' => 'string',
5656
'url' => 'string',
5757
'url_overridden_by_dest' => 'string',
58+
'link_id' => 'string',
59+
'link_author' => 'string',
60+
'link_title' => 'string',
61+
'link_permalink' => 'string',
5862
'body' => 'string',
5963
];
6064

@@ -79,6 +83,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
7983
'title' => null,
8084
'url' => null,
8185
'url_overridden_by_dest' => null,
86+
'link_id' => null,
87+
'link_author' => null,
88+
'link_title' => null,
89+
'link_permalink' => null,
8290
'body' => null,
8391
];
8492

@@ -102,6 +110,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
102110
'title' => 'title',
103111
'url' => 'url',
104112
'url_overridden_by_dest' => 'url_overridden_by_dest',
113+
'link_id' => 'link_id',
114+
'link_author' => 'link_author',
115+
'link_title' => 'link_title',
116+
'link_permalink' => 'link_permalink',
105117
'body' => 'body',
106118
];
107119

@@ -124,6 +136,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
124136
'title' => 'setTitle',
125137
'url' => 'setUrl',
126138
'url_overridden_by_dest' => 'setUrlOverriddenByDest',
139+
'link_id' => 'setLinkId',
140+
'link_author' => 'setLinkAuthor',
141+
'link_title' => 'setLinkTitle',
142+
'link_permalink' => 'setLinkPermalink',
127143
'body' => 'setBody',
128144
];
129145

@@ -146,6 +162,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
146162
'title' => 'getTitle',
147163
'url' => 'getUrl',
148164
'url_overridden_by_dest' => 'getUrlOverriddenByDest',
165+
'link_id' => 'getLinkId',
166+
'link_author' => 'getLinkAuthor',
167+
'link_title' => 'getLinkTitle',
168+
'link_permalink' => 'getLinkPermalink',
149169
'body' => 'getBody',
150170
];
151171

@@ -177,6 +197,10 @@ public function __construct(array $data = null)
177197
$this->container['title'] = $data['title'] ?? null;
178198
$this->container['url'] = $data['url'] ?? null;
179199
$this->container['url_overridden_by_dest'] = $data['url_overridden_by_dest'] ?? null;
200+
$this->container['link_id'] = $data['link_id'] ?? null;
201+
$this->container['link_author'] = $data['link_author'] ?? null;
202+
$this->container['link_title'] = $data['link_title'] ?? null;
203+
$this->container['link_permalink'] = $data['link_permalink'] ?? null;
180204
$this->container['body'] = $data['body'] ?? null;
181205
}
182206

@@ -574,6 +598,86 @@ public function setUrlOverriddenByDest($url_overridden_by_dest): self
574598
return $this;
575599
}
576600

601+
/**
602+
* Gets link_id.
603+
*/
604+
public function getLinkId(): ?string
605+
{
606+
return $this->container['link_id'];
607+
}
608+
609+
/**
610+
* Sets link_id.
611+
*
612+
* @param null|string $link_id link_id
613+
*/
614+
public function setLinkId($link_id): self
615+
{
616+
$this->container['link_id'] = $link_id;
617+
618+
return $this;
619+
}
620+
621+
/**
622+
* Gets link_author.
623+
*/
624+
public function getLinkAuthor(): ?string
625+
{
626+
return $this->container['link_author'];
627+
}
628+
629+
/**
630+
* Sets link_author.
631+
*
632+
* @param null|string $link_author link_author
633+
*/
634+
public function setLinkAuthor($link_author): self
635+
{
636+
$this->container['link_author'] = $link_author;
637+
638+
return $this;
639+
}
640+
641+
/**
642+
* Gets link_title.
643+
*/
644+
public function getLinkTitle(): ?string
645+
{
646+
return $this->container['link_title'];
647+
}
648+
649+
/**
650+
* Sets link_title.
651+
*
652+
* @param null|string $link_title link_title
653+
*/
654+
public function setLinkTitle($link_title): self
655+
{
656+
$this->container['link_title'] = $link_title;
657+
658+
return $this;
659+
}
660+
661+
/**
662+
* Gets link_permalink.
663+
*/
664+
public function getLinkPermalink(): ?string
665+
{
666+
return $this->container['link_permalink'];
667+
}
668+
669+
/**
670+
* Sets link_permalink.
671+
*
672+
* @param null|string $link_permalink link_permalink
673+
*/
674+
public function setLinkPermalink($link_permalink): self
675+
{
676+
$this->container['link_permalink'] = $link_permalink;
677+
678+
return $this;
679+
}
680+
577681
/**
578682
* Gets body.
579683
*/

0 commit comments

Comments
 (0)