@@ -59,7 +59,7 @@ class PartnerResponsePartnerAddressAttributes implements ModelInterface, ArrayAc
5959 * @var string[]
6060 */
6161 protected static $ openAPITypes = [
62- 'prefecture_codes ' => 'int ' ,
62+ 'prefecture_code ' => 'int ' ,
6363 'street_name1 ' => 'string ' ,
6464 'street_name2 ' => 'string ' ,
6565 'zipcode ' => 'string '
@@ -73,7 +73,7 @@ class PartnerResponsePartnerAddressAttributes implements ModelInterface, ArrayAc
7373 * @psalm-var array<string, string|null>
7474 */
7575 protected static $ openAPIFormats = [
76- 'prefecture_codes ' => null ,
76+ 'prefecture_code ' => null ,
7777 'street_name1 ' => null ,
7878 'street_name2 ' => null ,
7979 'zipcode ' => null
@@ -106,7 +106,7 @@ public static function openAPIFormats()
106106 * @var string[]
107107 */
108108 protected static $ attributeMap = [
109- 'prefecture_codes ' => 'prefecture_codes ' ,
109+ 'prefecture_code ' => 'prefecture_code ' ,
110110 'street_name1 ' => 'street_name1 ' ,
111111 'street_name2 ' => 'street_name2 ' ,
112112 'zipcode ' => 'zipcode '
@@ -118,7 +118,7 @@ public static function openAPIFormats()
118118 * @var string[]
119119 */
120120 protected static $ setters = [
121- 'prefecture_codes ' => 'setPrefectureCodes ' ,
121+ 'prefecture_code ' => 'setPrefectureCode ' ,
122122 'street_name1 ' => 'setStreetName1 ' ,
123123 'street_name2 ' => 'setStreetName2 ' ,
124124 'zipcode ' => 'setZipcode '
@@ -130,7 +130,7 @@ public static function openAPIFormats()
130130 * @var string[]
131131 */
132132 protected static $ getters = [
133- 'prefecture_codes ' => 'getPrefectureCodes ' ,
133+ 'prefecture_code ' => 'getPrefectureCode ' ,
134134 'street_name1 ' => 'getStreetName1 ' ,
135135 'street_name2 ' => 'getStreetName2 ' ,
136136 'zipcode ' => 'getZipcode '
@@ -193,7 +193,7 @@ public function getModelName()
193193 */
194194 public function __construct (array $ data = null )
195195 {
196- $ this ->container ['prefecture_codes ' ] = $ data ['prefecture_codes ' ] ?? null ;
196+ $ this ->container ['prefecture_code ' ] = $ data ['prefecture_code ' ] ?? null ;
197197 $ this ->container ['street_name1 ' ] = $ data ['street_name1 ' ] ?? null ;
198198 $ this ->container ['street_name2 ' ] = $ data ['street_name2 ' ] ?? null ;
199199 $ this ->container ['zipcode ' ] = $ data ['zipcode ' ] ?? null ;
@@ -208,12 +208,12 @@ public function listInvalidProperties()
208208 {
209209 $ invalidProperties = [];
210210
211- if (!is_null ($ this ->container ['prefecture_codes ' ]) && ($ this ->container ['prefecture_codes ' ] > 46 )) {
212- $ invalidProperties [] = "invalid value for 'prefecture_codes ', must be smaller than or equal to 46. " ;
211+ if (!is_null ($ this ->container ['prefecture_code ' ]) && ($ this ->container ['prefecture_code ' ] > 46 )) {
212+ $ invalidProperties [] = "invalid value for 'prefecture_code ', must be smaller than or equal to 46. " ;
213213 }
214214
215- if (!is_null ($ this ->container ['prefecture_codes ' ]) && ($ this ->container ['prefecture_codes ' ] < -1 )) {
216- $ invalidProperties [] = "invalid value for 'prefecture_codes ', must be bigger than or equal to -1. " ;
215+ if (!is_null ($ this ->container ['prefecture_code ' ]) && ($ this ->container ['prefecture_code ' ] < -1 )) {
216+ $ invalidProperties [] = "invalid value for 'prefecture_code ', must be bigger than or equal to -1. " ;
217217 }
218218
219219 return $ invalidProperties ;
@@ -232,33 +232,33 @@ public function valid()
232232
233233
234234 /**
235- * Gets prefecture_codes
235+ * Gets prefecture_code
236236 *
237237 * @return int|null
238238 */
239- public function getPrefectureCodes ()
239+ public function getPrefectureCode ()
240240 {
241- return $ this ->container ['prefecture_codes ' ];
241+ return $ this ->container ['prefecture_code ' ];
242242 }
243243
244244 /**
245- * Sets prefecture_codes
245+ * Sets prefecture_code
246246 *
247- * @param int|null $prefecture_codes 都道府県コード(-1: 設定しない、0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄
247+ * @param int|null $prefecture_code 都道府県コード(-1: 設定しない、0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄
248248 *
249249 * @return self
250250 */
251- public function setPrefectureCodes ( $ prefecture_codes )
251+ public function setPrefectureCode ( $ prefecture_code )
252252 {
253253
254- if (!is_null ($ prefecture_codes ) && ($ prefecture_codes > 46 )) {
255- throw new \InvalidArgumentException ('invalid value for $prefecture_codes when calling PartnerResponsePartnerAddressAttributes., must be smaller than or equal to 46. ' );
254+ if (!is_null ($ prefecture_code ) && ($ prefecture_code > 46 )) {
255+ throw new \InvalidArgumentException ('invalid value for $prefecture_code when calling PartnerResponsePartnerAddressAttributes., must be smaller than or equal to 46. ' );
256256 }
257- if (!is_null ($ prefecture_codes ) && ($ prefecture_codes < -1 )) {
258- throw new \InvalidArgumentException ('invalid value for $prefecture_codes when calling PartnerResponsePartnerAddressAttributes., must be bigger than or equal to -1. ' );
257+ if (!is_null ($ prefecture_code ) && ($ prefecture_code < -1 )) {
258+ throw new \InvalidArgumentException ('invalid value for $prefecture_code when calling PartnerResponsePartnerAddressAttributes., must be bigger than or equal to -1. ' );
259259 }
260260
261- $ this ->container ['prefecture_codes ' ] = $ prefecture_codes ;
261+ $ this ->container ['prefecture_code ' ] = $ prefecture_code ;
262262
263263 return $ this ;
264264 }
0 commit comments