@@ -60,6 +60,8 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
6060 'link_title ' => 'string ' ,
6161 'link_permalink ' => 'string ' ,
6262 'body ' => 'string ' ,
63+ 'is_self ' => 'bool ' ,
64+ 'selftext ' => 'string ' ,
6365 ];
6466
6567 /**
@@ -88,6 +90,8 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
8890 'link_title ' => null ,
8991 'link_permalink ' => null ,
9092 'body ' => null ,
93+ 'is_self ' => null ,
94+ 'selftext ' => null ,
9195 ];
9296
9397 /**
@@ -115,6 +119,8 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
115119 'link_title ' => 'link_title ' ,
116120 'link_permalink ' => 'link_permalink ' ,
117121 'body ' => 'body ' ,
122+ 'is_self ' => 'is_self ' ,
123+ 'selftext ' => 'selftext ' ,
118124 ];
119125
120126 /**
@@ -141,6 +147,8 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
141147 'link_title ' => 'setLinkTitle ' ,
142148 'link_permalink ' => 'setLinkPermalink ' ,
143149 'body ' => 'setBody ' ,
150+ 'is_self ' => 'setIsSelf ' ,
151+ 'selftext ' => 'setSelftext ' ,
144152 ];
145153
146154 /**
@@ -167,6 +175,8 @@ class ThingData implements \JsonSerializable, ArrayAccess, ModelInterface
167175 'link_title ' => 'getLinkTitle ' ,
168176 'link_permalink ' => 'getLinkPermalink ' ,
169177 'body ' => 'getBody ' ,
178+ 'is_self ' => 'getIsSelf ' ,
179+ 'selftext ' => 'getSelftext ' ,
170180 ];
171181
172182 /**
@@ -202,6 +212,8 @@ public function __construct(array $data = null)
202212 $ this ->container ['link_title ' ] = $ data ['link_title ' ] ?? null ;
203213 $ this ->container ['link_permalink ' ] = $ data ['link_permalink ' ] ?? null ;
204214 $ this ->container ['body ' ] = $ data ['body ' ] ?? null ;
215+ $ this ->container ['is_self ' ] = $ data ['is_self ' ] ?? null ;
216+ $ this ->container ['selftext ' ] = $ data ['selftext ' ] ?? null ;
205217 }
206218
207219 /**
@@ -698,6 +710,46 @@ public function setBody($body): self
698710 return $ this ;
699711 }
700712
713+ /**
714+ * Gets is_self.
715+ */
716+ public function getIsSelf (): ?bool
717+ {
718+ return $ this ->container ['is_self ' ];
719+ }
720+
721+ /**
722+ * Sets is_self.
723+ *
724+ * @param null|bool $is_self is_self
725+ */
726+ public function setIsSelf ($ is_self ): self
727+ {
728+ $ this ->container ['is_self ' ] = $ is_self ;
729+
730+ return $ this ;
731+ }
732+
733+ /**
734+ * Gets selftext.
735+ */
736+ public function getSelftext (): ?string
737+ {
738+ return $ this ->container ['selftext ' ];
739+ }
740+
741+ /**
742+ * Sets selftext.
743+ *
744+ * @param null|string $selftext selftext
745+ */
746+ public function setSelftext ($ selftext ): self
747+ {
748+ $ this ->container ['selftext ' ] = $ selftext ;
749+
750+ return $ this ;
751+ }
752+
701753 /**
702754 * Returns true if offset exists. False otherwise.
703755 *
0 commit comments