@@ -71,7 +71,8 @@ class OrganizationRequestBody implements ModelInterface, ArrayAccess, JsonSerial
71
71
'add_time ' => 'string ' ,
72
72
'update_time ' => 'string ' ,
73
73
'visible_to ' => 'int ' ,
74
- 'label_ids ' => 'int[] '
74
+ 'label_ids ' => 'int[] ' ,
75
+ 'address ' => '\Pipedrive\versions\v2\Model\OrganizationItemAddress '
75
76
];
76
77
77
78
/**
@@ -87,7 +88,8 @@ class OrganizationRequestBody implements ModelInterface, ArrayAccess, JsonSerial
87
88
'add_time ' => null ,
88
89
'update_time ' => null ,
89
90
'visible_to ' => null ,
90
- 'label_ids ' => null
91
+ 'label_ids ' => null ,
92
+ 'address ' => null
91
93
];
92
94
93
95
/**
@@ -126,7 +128,8 @@ public static function openAPIFormats(): array
126
128
'add_time ' => 'add_time ' ,
127
129
'update_time ' => 'update_time ' ,
128
130
'visible_to ' => 'visible_to ' ,
129
- 'label_ids ' => 'label_ids '
131
+ 'label_ids ' => 'label_ids ' ,
132
+ 'address ' => 'address '
130
133
];
131
134
132
135
/**
@@ -140,7 +143,8 @@ public static function openAPIFormats(): array
140
143
'add_time ' => 'setAddTime ' ,
141
144
'update_time ' => 'setUpdateTime ' ,
142
145
'visible_to ' => 'setVisibleTo ' ,
143
- 'label_ids ' => 'setLabelIds '
146
+ 'label_ids ' => 'setLabelIds ' ,
147
+ 'address ' => 'setAddress '
144
148
];
145
149
146
150
/**
@@ -154,7 +158,8 @@ public static function openAPIFormats(): array
154
158
'add_time ' => 'getAddTime ' ,
155
159
'update_time ' => 'getUpdateTime ' ,
156
160
'visible_to ' => 'getVisibleTo ' ,
157
- 'label_ids ' => 'getLabelIds '
161
+ 'label_ids ' => 'getLabelIds ' ,
162
+ 'address ' => 'getAddress '
158
163
];
159
164
160
165
/**
@@ -230,6 +235,7 @@ public function __construct(array $data = null)
230
235
$ this ->container ['update_time ' ] = $ data ['update_time ' ] ?? null ;
231
236
$ this ->container ['visible_to ' ] = $ data ['visible_to ' ] ?? null ;
232
237
$ this ->container ['label_ids ' ] = $ data ['label_ids ' ] ?? null ;
238
+ $ this ->container ['address ' ] = $ data ['address ' ] ?? null ;
233
239
}
234
240
235
241
/**
@@ -401,6 +407,30 @@ public function setLabelIds($label_ids): self
401
407
402
408
return $ this ;
403
409
}
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
+ }
404
434
/**
405
435
* Returns true if offset exists. False otherwise.
406
436
*
0 commit comments