Skip to content

Commit d62df6e

Browse files
committed
chore: rebuilt with latest spec 1.1.0
1 parent d294308 commit d62df6e

File tree

4 files changed

+83
-2
lines changed

4 files changed

+83
-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.5`
119+
- API version: `1.1.0`
120120
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

docs/Model/ThingData.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ Name | Type | Description | Notes
2222
**link_title** | **string** | | [optional]
2323
**link_permalink** | **string** | | [optional]
2424
**body** | **string** | | [optional]
25+
**is_gallery** | **bool** | | [optional]
26+
**is_meta** | **bool** | | [optional]
2527
**is_self** | **bool** | | [optional]
28+
**is_video** | **bool** | | [optional]
2629
**selftext** | **string** | | [optional]
2730

2831
[[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.5'.\PHP_EOL;
379+
$report .= ' The version of the OpenAPI document: 1.1.0'.\PHP_EOL;
380380
$report .= ' Temp Folder Path: '.self::getDefaultConfiguration()->getTempFolderPath().\PHP_EOL;
381381

382382
return $report;

src/Model/ThingData.php

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
6060
'link_title' => 'string',
6161
'link_permalink' => 'string',
6262
'body' => 'string',
63+
'is_gallery' => 'bool',
64+
'is_meta' => 'bool',
6365
'is_self' => 'bool',
66+
'is_video' => 'bool',
6467
'selftext' => 'string',
6568
];
6669

@@ -90,7 +93,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
9093
'link_title' => null,
9194
'link_permalink' => null,
9295
'body' => null,
96+
'is_gallery' => null,
97+
'is_meta' => null,
9398
'is_self' => null,
99+
'is_video' => null,
94100
'selftext' => null,
95101
];
96102

@@ -119,7 +125,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
119125
'link_title' => 'link_title',
120126
'link_permalink' => 'link_permalink',
121127
'body' => 'body',
128+
'is_gallery' => 'is_gallery',
129+
'is_meta' => 'is_meta',
122130
'is_self' => 'is_self',
131+
'is_video' => 'is_video',
123132
'selftext' => 'selftext',
124133
];
125134

@@ -147,7 +156,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
147156
'link_title' => 'setLinkTitle',
148157
'link_permalink' => 'setLinkPermalink',
149158
'body' => 'setBody',
159+
'is_gallery' => 'setIsGallery',
160+
'is_meta' => 'setIsMeta',
150161
'is_self' => 'setIsSelf',
162+
'is_video' => 'setIsVideo',
151163
'selftext' => 'setSelftext',
152164
];
153165

@@ -175,7 +187,10 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
175187
'link_title' => 'getLinkTitle',
176188
'link_permalink' => 'getLinkPermalink',
177189
'body' => 'getBody',
190+
'is_gallery' => 'getIsGallery',
191+
'is_meta' => 'getIsMeta',
178192
'is_self' => 'getIsSelf',
193+
'is_video' => 'getIsVideo',
179194
'selftext' => 'getSelftext',
180195
];
181196

@@ -212,7 +227,10 @@ public function __construct(array $data = null)
212227
$this->container['link_title'] = $data['link_title'] ?? null;
213228
$this->container['link_permalink'] = $data['link_permalink'] ?? null;
214229
$this->container['body'] = $data['body'] ?? null;
230+
$this->container['is_gallery'] = $data['is_gallery'] ?? null;
231+
$this->container['is_meta'] = $data['is_meta'] ?? null;
215232
$this->container['is_self'] = $data['is_self'] ?? null;
233+
$this->container['is_video'] = $data['is_video'] ?? null;
216234
$this->container['selftext'] = $data['selftext'] ?? null;
217235
}
218236

@@ -710,6 +728,46 @@ public function setBody($body): self
710728
return $this;
711729
}
712730

731+
/**
732+
* Gets is_gallery.
733+
*/
734+
public function getIsGallery(): ?bool
735+
{
736+
return $this->container['is_gallery'];
737+
}
738+
739+
/**
740+
* Sets is_gallery.
741+
*
742+
* @param null|bool $is_gallery is_gallery
743+
*/
744+
public function setIsGallery($is_gallery): self
745+
{
746+
$this->container['is_gallery'] = $is_gallery;
747+
748+
return $this;
749+
}
750+
751+
/**
752+
* Gets is_meta.
753+
*/
754+
public function getIsMeta(): ?bool
755+
{
756+
return $this->container['is_meta'];
757+
}
758+
759+
/**
760+
* Sets is_meta.
761+
*
762+
* @param null|bool $is_meta is_meta
763+
*/
764+
public function setIsMeta($is_meta): self
765+
{
766+
$this->container['is_meta'] = $is_meta;
767+
768+
return $this;
769+
}
770+
713771
/**
714772
* Gets is_self.
715773
*/
@@ -730,6 +788,26 @@ public function setIsSelf($is_self): self
730788
return $this;
731789
}
732790

791+
/**
792+
* Gets is_video.
793+
*/
794+
public function getIsVideo(): ?bool
795+
{
796+
return $this->container['is_video'];
797+
}
798+
799+
/**
800+
* Sets is_video.
801+
*
802+
* @param null|bool $is_video is_video
803+
*/
804+
public function setIsVideo($is_video): self
805+
{
806+
$this->container['is_video'] = $is_video;
807+
808+
return $this;
809+
}
810+
733811
/**
734812
* Gets selftext.
735813
*/

0 commit comments

Comments
 (0)