@@ -71,7 +71,8 @@ class OrganizationRequestBody implements ModelInterface, ArrayAccess, JsonSerial
7171 'add_time ' => 'string ' ,
7272 'update_time ' => 'string ' ,
7373 'visible_to ' => 'int ' ,
74- 'label_ids ' => 'int[] '
74+ 'label_ids ' => 'int[] ' ,
75+ 'address ' => '\Pipedrive\versions\v2\Model\OrganizationItemAddress '
7576 ];
7677
7778 /**
@@ -87,7 +88,8 @@ class OrganizationRequestBody implements ModelInterface, ArrayAccess, JsonSerial
8788 'add_time ' => null ,
8889 'update_time ' => null ,
8990 'visible_to ' => null ,
90- 'label_ids ' => null
91+ 'label_ids ' => null ,
92+ 'address ' => null
9193 ];
9294
9395 /**
@@ -126,7 +128,8 @@ public static function openAPIFormats(): array
126128 'add_time ' => 'add_time ' ,
127129 'update_time ' => 'update_time ' ,
128130 'visible_to ' => 'visible_to ' ,
129- 'label_ids ' => 'label_ids '
131+ 'label_ids ' => 'label_ids ' ,
132+ 'address ' => 'address '
130133 ];
131134
132135 /**
@@ -140,7 +143,8 @@ public static function openAPIFormats(): array
140143 'add_time ' => 'setAddTime ' ,
141144 'update_time ' => 'setUpdateTime ' ,
142145 'visible_to ' => 'setVisibleTo ' ,
143- 'label_ids ' => 'setLabelIds '
146+ 'label_ids ' => 'setLabelIds ' ,
147+ 'address ' => 'setAddress '
144148 ];
145149
146150 /**
@@ -154,7 +158,8 @@ public static function openAPIFormats(): array
154158 'add_time ' => 'getAddTime ' ,
155159 'update_time ' => 'getUpdateTime ' ,
156160 'visible_to ' => 'getVisibleTo ' ,
157- 'label_ids ' => 'getLabelIds '
161+ 'label_ids ' => 'getLabelIds ' ,
162+ 'address ' => 'getAddress '
158163 ];
159164
160165 /**
@@ -230,6 +235,7 @@ public function __construct(array $data = null)
230235 $ this ->container ['update_time ' ] = $ data ['update_time ' ] ?? null ;
231236 $ this ->container ['visible_to ' ] = $ data ['visible_to ' ] ?? null ;
232237 $ this ->container ['label_ids ' ] = $ data ['label_ids ' ] ?? null ;
238+ $ this ->container ['address ' ] = $ data ['address ' ] ?? null ;
233239 }
234240
235241 /**
@@ -401,6 +407,30 @@ public function setLabelIds($label_ids): self
401407
402408 return $ this ;
403409 }
410+
411+ /**
412+ * Gets address
413+ *
414+ * @return \Pipedrive\versions\v2\Model\OrganizationItemAddress|null
415+ */
416+ public function getAddress ()
417+ {
418+ return $ this ->container ['address ' ];
419+ }
420+
421+ /**
422+ * Sets address
423+ *
424+ * @param \Pipedrive\versions\v2\Model\OrganizationItemAddress|null $address address
425+ *
426+ * @return self
427+ */
428+ public function setAddress ($ address ): self
429+ {
430+ $ this ->container ['address ' ] = $ address ;
431+
432+ return $ this ;
433+ }
404434 /**
405435 * Returns true if offset exists. False otherwise.
406436 *
0 commit comments