@@ -359,6 +359,7 @@ def _create_allotment_block_notes_post_serialize(
359359 def create_allotment_block_post (
360360 self ,
361361 group_code : Annotated [Optional [StrictStr ], Field (description = "The unique identifier of the group profile the allotment block should be created" )] = None ,
362+ event_code : Annotated [Optional [StrictStr ], Field (description = "The unique identifier of the event the allotment block should be created" )] = None ,
362363 allotment_block_name : Annotated [Optional [StrictStr ], Field (description = "The name for the allotment block" )] = None ,
363364 rate_type : Annotated [Optional [StrictStr ], Field (description = "The rate type for the associated intervals" )] = None ,
364365 rate_plan_id : Annotated [Optional [StrictStr ], Field (description = "The rate plan ID. Required if rateType is \\ \" rate_plan\\ \" ." )] = None ,
@@ -386,6 +387,8 @@ def create_allotment_block_post(
386387
387388 :param group_code: The unique identifier of the group profile the allotment block should be created
388389 :type group_code: str
390+ :param event_code: The unique identifier of the event the allotment block should be created
391+ :type event_code: str
389392 :param allotment_block_name: The name for the allotment block
390393 :type allotment_block_name: str
391394 :param rate_type: The rate type for the associated intervals
@@ -426,6 +429,7 @@ def create_allotment_block_post(
426429
427430 _param = self ._create_allotment_block_post_serialize (
428431 group_code = group_code ,
432+ event_code = event_code ,
429433 allotment_block_name = allotment_block_name ,
430434 rate_type = rate_type ,
431435 rate_plan_id = rate_plan_id ,
@@ -458,6 +462,7 @@ def create_allotment_block_post(
458462 def create_allotment_block_post_with_http_info (
459463 self ,
460464 group_code : Annotated [Optional [StrictStr ], Field (description = "The unique identifier of the group profile the allotment block should be created" )] = None ,
465+ event_code : Annotated [Optional [StrictStr ], Field (description = "The unique identifier of the event the allotment block should be created" )] = None ,
461466 allotment_block_name : Annotated [Optional [StrictStr ], Field (description = "The name for the allotment block" )] = None ,
462467 rate_type : Annotated [Optional [StrictStr ], Field (description = "The rate type for the associated intervals" )] = None ,
463468 rate_plan_id : Annotated [Optional [StrictStr ], Field (description = "The rate plan ID. Required if rateType is \\ \" rate_plan\\ \" ." )] = None ,
@@ -485,6 +490,8 @@ def create_allotment_block_post_with_http_info(
485490
486491 :param group_code: The unique identifier of the group profile the allotment block should be created
487492 :type group_code: str
493+ :param event_code: The unique identifier of the event the allotment block should be created
494+ :type event_code: str
488495 :param allotment_block_name: The name for the allotment block
489496 :type allotment_block_name: str
490497 :param rate_type: The rate type for the associated intervals
@@ -525,6 +532,7 @@ def create_allotment_block_post_with_http_info(
525532
526533 _param = self ._create_allotment_block_post_serialize (
527534 group_code = group_code ,
535+ event_code = event_code ,
528536 allotment_block_name = allotment_block_name ,
529537 rate_type = rate_type ,
530538 rate_plan_id = rate_plan_id ,
@@ -557,6 +565,7 @@ def create_allotment_block_post_with_http_info(
557565 def create_allotment_block_post_without_preload_content (
558566 self ,
559567 group_code : Annotated [Optional [StrictStr ], Field (description = "The unique identifier of the group profile the allotment block should be created" )] = None ,
568+ event_code : Annotated [Optional [StrictStr ], Field (description = "The unique identifier of the event the allotment block should be created" )] = None ,
560569 allotment_block_name : Annotated [Optional [StrictStr ], Field (description = "The name for the allotment block" )] = None ,
561570 rate_type : Annotated [Optional [StrictStr ], Field (description = "The rate type for the associated intervals" )] = None ,
562571 rate_plan_id : Annotated [Optional [StrictStr ], Field (description = "The rate plan ID. Required if rateType is \\ \" rate_plan\\ \" ." )] = None ,
@@ -584,6 +593,8 @@ def create_allotment_block_post_without_preload_content(
584593
585594 :param group_code: The unique identifier of the group profile the allotment block should be created
586595 :type group_code: str
596+ :param event_code: The unique identifier of the event the allotment block should be created
597+ :type event_code: str
587598 :param allotment_block_name: The name for the allotment block
588599 :type allotment_block_name: str
589600 :param rate_type: The rate type for the associated intervals
@@ -624,6 +635,7 @@ def create_allotment_block_post_without_preload_content(
624635
625636 _param = self ._create_allotment_block_post_serialize (
626637 group_code = group_code ,
638+ event_code = event_code ,
627639 allotment_block_name = allotment_block_name ,
628640 rate_type = rate_type ,
629641 rate_plan_id = rate_plan_id ,
@@ -651,6 +663,7 @@ def create_allotment_block_post_without_preload_content(
651663 def _create_allotment_block_post_serialize (
652664 self ,
653665 group_code ,
666+ event_code ,
654667 allotment_block_name ,
655668 rate_type ,
656669 rate_plan_id ,
@@ -686,6 +699,8 @@ def _create_allotment_block_post_serialize(
686699 # process the form parameters
687700 if group_code is not None :
688701 _form_params .append (('groupCode' , group_code ))
702+ if event_code is not None :
703+ _form_params .append (('eventCode' , event_code ))
689704 if allotment_block_name is not None :
690705 _form_params .append (('allotmentBlockName' , allotment_block_name ))
691706 if rate_type is not None :
@@ -1033,6 +1048,7 @@ def get_allotment_blocks_get(
10331048 allotment_block_code : Annotated [Optional [StrictStr ], Field (description = "Allotment block code" )] = None ,
10341049 allotment_block_name : Annotated [Optional [StrictStr ], Field (description = "Allotment block name" )] = None ,
10351050 group_code : Annotated [Optional [StrictStr ], Field (description = "A group profile code" )] = None ,
1051+ event_code : Annotated [Optional [StrictStr ], Field (description = "An event code" )] = None ,
10361052 allotment_block_status : Annotated [Optional [StrictStr ], Field (description = "Allotment block status(es)" )] = None ,
10371053 allotment_block_type : Annotated [Optional [StrictStr ], Field (description = "The type of allotment block" )] = None ,
10381054 room_type_id : Annotated [Optional [StrictStr ], Field (description = "Filters allotment blocks with the supplied Room Type ID." )] = None ,
@@ -1066,6 +1082,8 @@ def get_allotment_blocks_get(
10661082 :type allotment_block_name: str
10671083 :param group_code: A group profile code
10681084 :type group_code: str
1085+ :param event_code: An event code
1086+ :type event_code: str
10691087 :param allotment_block_status: Allotment block status(es)
10701088 :type allotment_block_status: str
10711089 :param allotment_block_type: The type of allotment block
@@ -1109,6 +1127,7 @@ def get_allotment_blocks_get(
11091127 allotment_block_code = allotment_block_code ,
11101128 allotment_block_name = allotment_block_name ,
11111129 group_code = group_code ,
1130+ event_code = event_code ,
11121131 allotment_block_status = allotment_block_status ,
11131132 allotment_block_type = allotment_block_type ,
11141133 room_type_id = room_type_id ,
@@ -1144,6 +1163,7 @@ def get_allotment_blocks_get_with_http_info(
11441163 allotment_block_code : Annotated [Optional [StrictStr ], Field (description = "Allotment block code" )] = None ,
11451164 allotment_block_name : Annotated [Optional [StrictStr ], Field (description = "Allotment block name" )] = None ,
11461165 group_code : Annotated [Optional [StrictStr ], Field (description = "A group profile code" )] = None ,
1166+ event_code : Annotated [Optional [StrictStr ], Field (description = "An event code" )] = None ,
11471167 allotment_block_status : Annotated [Optional [StrictStr ], Field (description = "Allotment block status(es)" )] = None ,
11481168 allotment_block_type : Annotated [Optional [StrictStr ], Field (description = "The type of allotment block" )] = None ,
11491169 room_type_id : Annotated [Optional [StrictStr ], Field (description = "Filters allotment blocks with the supplied Room Type ID." )] = None ,
@@ -1177,6 +1197,8 @@ def get_allotment_blocks_get_with_http_info(
11771197 :type allotment_block_name: str
11781198 :param group_code: A group profile code
11791199 :type group_code: str
1200+ :param event_code: An event code
1201+ :type event_code: str
11801202 :param allotment_block_status: Allotment block status(es)
11811203 :type allotment_block_status: str
11821204 :param allotment_block_type: The type of allotment block
@@ -1220,6 +1242,7 @@ def get_allotment_blocks_get_with_http_info(
12201242 allotment_block_code = allotment_block_code ,
12211243 allotment_block_name = allotment_block_name ,
12221244 group_code = group_code ,
1245+ event_code = event_code ,
12231246 allotment_block_status = allotment_block_status ,
12241247 allotment_block_type = allotment_block_type ,
12251248 room_type_id = room_type_id ,
@@ -1255,6 +1278,7 @@ def get_allotment_blocks_get_without_preload_content(
12551278 allotment_block_code : Annotated [Optional [StrictStr ], Field (description = "Allotment block code" )] = None ,
12561279 allotment_block_name : Annotated [Optional [StrictStr ], Field (description = "Allotment block name" )] = None ,
12571280 group_code : Annotated [Optional [StrictStr ], Field (description = "A group profile code" )] = None ,
1281+ event_code : Annotated [Optional [StrictStr ], Field (description = "An event code" )] = None ,
12581282 allotment_block_status : Annotated [Optional [StrictStr ], Field (description = "Allotment block status(es)" )] = None ,
12591283 allotment_block_type : Annotated [Optional [StrictStr ], Field (description = "The type of allotment block" )] = None ,
12601284 room_type_id : Annotated [Optional [StrictStr ], Field (description = "Filters allotment blocks with the supplied Room Type ID." )] = None ,
@@ -1288,6 +1312,8 @@ def get_allotment_blocks_get_without_preload_content(
12881312 :type allotment_block_name: str
12891313 :param group_code: A group profile code
12901314 :type group_code: str
1315+ :param event_code: An event code
1316+ :type event_code: str
12911317 :param allotment_block_status: Allotment block status(es)
12921318 :type allotment_block_status: str
12931319 :param allotment_block_type: The type of allotment block
@@ -1331,6 +1357,7 @@ def get_allotment_blocks_get_without_preload_content(
13311357 allotment_block_code = allotment_block_code ,
13321358 allotment_block_name = allotment_block_name ,
13331359 group_code = group_code ,
1360+ event_code = event_code ,
13341361 allotment_block_status = allotment_block_status ,
13351362 allotment_block_type = allotment_block_type ,
13361363 room_type_id = room_type_id ,
@@ -1361,6 +1388,7 @@ def _get_allotment_blocks_get_serialize(
13611388 allotment_block_code ,
13621389 allotment_block_name ,
13631390 group_code ,
1391+ event_code ,
13641392 allotment_block_status ,
13651393 allotment_block_type ,
13661394 room_type_id ,
@@ -1407,6 +1435,10 @@ def _get_allotment_blocks_get_serialize(
14071435
14081436 _query_params .append (('groupCode' , group_code ))
14091437
1438+ if event_code is not None :
1439+
1440+ _query_params .append (('eventCode' , event_code ))
1441+
14101442 if allotment_block_status is not None :
14111443
14121444 _query_params .append (('allotmentBlockStatus' , allotment_block_status ))
0 commit comments