11<?php
22/**
3- * CreatedResponseLabelsBetweenObjectPair
3+ * ForwardPaging
44 *
55 * PHP version 8.1
66 *
3232use \HubSpot \Client \Crm \Associations \V4 \ObjectSerializer ;
3333
3434/**
35- * CreatedResponseLabelsBetweenObjectPair Class Doc Comment
35+ * ForwardPaging Class Doc Comment
3636 *
3737 * @category Class
38- * @description Contains the details of the labels that were created to define associations between a specific pair of objects.
3938 * @package HubSpot\Client\Crm\Associations\V4
4039 * @author OpenAPI Generator team
4140 * @link https://openapi-generator.tech
4241 * @implements \ArrayAccess<string, mixed>
4342 */
44- class CreatedResponseLabelsBetweenObjectPair implements ModelInterface, ArrayAccess, \JsonSerializable
43+ class ForwardPaging implements ModelInterface, ArrayAccess, \JsonSerializable
4544{
4645 public const DISCRIMINATOR = null ;
4746
@@ -50,17 +49,15 @@ class CreatedResponseLabelsBetweenObjectPair implements ModelInterface, ArrayAcc
5049 *
5150 * @var string
5251 */
53- protected static $ openAPIModelName = 'CreatedResponseLabelsBetweenObjectPair ' ;
52+ protected static $ openAPIModelName = 'ForwardPaging ' ;
5453
5554 /**
5655 * Array of property to type mappings. Used for (de)serialization
5756 *
5857 * @var string[]
5958 */
6059 protected static $ openAPITypes = [
61- 'created_resource_id ' => 'string ' ,
62- 'entity ' => '\HubSpot\Client\Crm\Associations\V4\Model\LabelsBetweenObjectPair ' ,
63- 'location ' => 'string '
60+ 'next ' => '\HubSpot\Client\Crm\Associations\V4\Model\NextPage '
6461 ];
6562
6663 /**
@@ -71,9 +68,7 @@ class CreatedResponseLabelsBetweenObjectPair implements ModelInterface, ArrayAcc
7168 * @psalm-var array<string, string|null>
7269 */
7370 protected static $ openAPIFormats = [
74- 'created_resource_id ' => null ,
75- 'entity ' => null ,
76- 'location ' => null
71+ 'next ' => null
7772 ];
7873
7974 /**
@@ -82,9 +77,7 @@ class CreatedResponseLabelsBetweenObjectPair implements ModelInterface, ArrayAcc
8277 * @var boolean[]
8378 */
8479 protected static array $ openAPINullables = [
85- 'created_resource_id ' => false ,
86- 'entity ' => false ,
87- 'location ' => false
80+ 'next ' => false
8881 ];
8982
9083 /**
@@ -173,9 +166,7 @@ public function isNullableSetToNull(string $property): bool
173166 * @var string[]
174167 */
175168 protected static $ attributeMap = [
176- 'created_resource_id ' => 'createdResourceId ' ,
177- 'entity ' => 'entity ' ,
178- 'location ' => 'location '
169+ 'next ' => 'next '
179170 ];
180171
181172 /**
@@ -184,9 +175,7 @@ public function isNullableSetToNull(string $property): bool
184175 * @var string[]
185176 */
186177 protected static $ setters = [
187- 'created_resource_id ' => 'setCreatedResourceId ' ,
188- 'entity ' => 'setEntity ' ,
189- 'location ' => 'setLocation '
178+ 'next ' => 'setNext '
190179 ];
191180
192181 /**
@@ -195,9 +184,7 @@ public function isNullableSetToNull(string $property): bool
195184 * @var string[]
196185 */
197186 protected static $ getters = [
198- 'created_resource_id ' => 'getCreatedResourceId ' ,
199- 'entity ' => 'getEntity ' ,
200- 'location ' => 'getLocation '
187+ 'next ' => 'getNext '
201188 ];
202189
203190 /**
@@ -257,9 +244,7 @@ public function getModelName()
257244 */
258245 public function __construct (?array $ data = null )
259246 {
260- $ this ->setIfExists ('created_resource_id ' , $ data ?? [], null );
261- $ this ->setIfExists ('entity ' , $ data ?? [], null );
262- $ this ->setIfExists ('location ' , $ data ?? [], null );
247+ $ this ->setIfExists ('next ' , $ data ?? [], null );
263248 }
264249
265250 /**
@@ -289,12 +274,6 @@ public function listInvalidProperties()
289274 {
290275 $ invalidProperties = [];
291276
292- if ($ this ->container ['created_resource_id ' ] === null ) {
293- $ invalidProperties [] = "'created_resource_id' can't be null " ;
294- }
295- if ($ this ->container ['entity ' ] === null ) {
296- $ invalidProperties [] = "'entity' can't be null " ;
297- }
298277 return $ invalidProperties ;
299278 }
300279
@@ -311,82 +290,28 @@ public function valid()
311290
312291
313292 /**
314- * Gets created_resource_id
315- *
316- * @return string
317- */
318- public function getCreatedResourceId ()
319- {
320- return $ this ->container ['created_resource_id ' ];
321- }
322-
323- /**
324- * Sets created_resource_id
325- *
326- * @param string $created_resource_id The unique identifier of the newly created resource.
327- *
328- * @return self
329- */
330- public function setCreatedResourceId ($ created_resource_id )
331- {
332- if (is_null ($ created_resource_id )) {
333- throw new \InvalidArgumentException ('non-nullable created_resource_id cannot be null ' );
334- }
335- $ this ->container ['created_resource_id ' ] = $ created_resource_id ;
336-
337- return $ this ;
338- }
339-
340- /**
341- * Gets entity
342- *
343- * @return \HubSpot\Client\Crm\Associations\V4\Model\LabelsBetweenObjectPair
344- */
345- public function getEntity ()
346- {
347- return $ this ->container ['entity ' ];
348- }
349-
350- /**
351- * Sets entity
352- *
353- * @param \HubSpot\Client\Crm\Associations\V4\Model\LabelsBetweenObjectPair $entity entity
354- *
355- * @return self
356- */
357- public function setEntity ($ entity )
358- {
359- if (is_null ($ entity )) {
360- throw new \InvalidArgumentException ('non-nullable entity cannot be null ' );
361- }
362- $ this ->container ['entity ' ] = $ entity ;
363-
364- return $ this ;
365- }
366-
367- /**
368- * Gets location
293+ * Gets next
369294 *
370- * @return string |null
295+ * @return \HubSpot\Client\Crm\Associations\V4\Model\NextPage |null
371296 */
372- public function getLocation ()
297+ public function getNext ()
373298 {
374- return $ this ->container ['location ' ];
299+ return $ this ->container ['next ' ];
375300 }
376301
377302 /**
378- * Sets location
303+ * Sets next
379304 *
380- * @param string |null $location The URL location of the newly created resource.
305+ * @param \HubSpot\Client\Crm\Associations\V4\Model\NextPage |null $next next
381306 *
382307 * @return self
383308 */
384- public function setLocation ( $ location )
309+ public function setNext ( $ next )
385310 {
386- if (is_null ($ location )) {
387- throw new \InvalidArgumentException ('non-nullable location cannot be null ' );
311+ if (is_null ($ next )) {
312+ throw new \InvalidArgumentException ('non-nullable next cannot be null ' );
388313 }
389- $ this ->container ['location ' ] = $ location ;
314+ $ this ->container ['next ' ] = $ next ;
390315
391316 return $ this ;
392317 }
0 commit comments