@@ -51,6 +51,7 @@ def __init__(
5151 actions : list [object ],
5252 fallback : object = None ,
5353 height : OPTIONS .BlockElementHeight = None ,
54+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
5455 separator : bool = None ,
5556 spacing : OPTIONS .Spacing = None ,
5657 id : str = None ,
@@ -77,6 +78,13 @@ def __init__(
7778 height (BlockElementHeight, Optional): Specifies the height of the
7879 element. **_Defaults to None._** Allowed value(s):
7980 BlockElementHeight.AUTO or BlockElementHeight.STRETCH
81+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
82+ horizontal alignment of the ColumnSet. When not specified, the
83+ value of horizontalAlignment is inherited from the parent
84+ container. If no parent container has horizontalAlignment set,
85+ it defaults to Left. Allowed value(s):
86+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
87+ HorizontalAlignment.RIGHT
8088 separator (bool, Optional): When true, draw a separating line at
8189 the top of the element. **_Defaults to None._**
8290 spacing (Spacing, Optional): Controls the amount of spacing
@@ -142,6 +150,12 @@ def __init__(
142150 optional = True ,
143151 )
144152
153+ validate_input (
154+ horizontalAlignment ,
155+ OPTIONS .HorizontalAlignment ,
156+ optional = True ,
157+ )
158+
145159 check_type (
146160 separator ,
147161 bool ,
@@ -177,6 +191,7 @@ def __init__(
177191 self .actions = actions
178192 self .fallback = fallback
179193 self .height = height
194+ self .horizontalAlignment = horizontalAlignment
180195 self .separator = separator
181196 self .spacing = spacing
182197 self .id = id
@@ -192,6 +207,7 @@ def __init__(
192207 "type" ,
193208 * ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
194209 "height" ,
210+ "horizontalAlignment" ,
195211 "separator" ,
196212 "spacing" ,
197213 "id" ,
@@ -221,6 +237,7 @@ def __init__(
221237 minHeight : str = None ,
222238 fallback : object = None ,
223239 height : OPTIONS .BlockElementHeight = None ,
240+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
224241 separator : bool = None ,
225242 spacing : OPTIONS .Spacing = None ,
226243 id : str = None ,
@@ -275,6 +292,13 @@ def __init__(
275292 height (BlockElementHeight, Optional): Specifies the height of the
276293 element. **_Defaults to None._** Allowed value(s):
277294 BlockElementHeight.AUTO or BlockElementHeight.STRETCH
295+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
296+ horizontal alignment of the ColumnSet. When not specified, the
297+ value of horizontalAlignment is inherited from the parent
298+ container. If no parent container has horizontalAlignment set,
299+ it defaults to Left. Allowed value(s):
300+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
301+ HorizontalAlignment.RIGHT
278302 separator (bool, Optional): When true, draw a separating line at
279303 the top of the element. **_Defaults to None._**
280304 spacing (Spacing, Optional): Controls the amount of spacing
@@ -399,6 +423,12 @@ def __init__(
399423 optional = True ,
400424 )
401425
426+ validate_input (
427+ horizontalAlignment ,
428+ OPTIONS .HorizontalAlignment ,
429+ optional = True ,
430+ )
431+
402432 check_type (
403433 separator ,
404434 bool ,
@@ -440,6 +470,7 @@ def __init__(
440470 self .minHeight = minHeight
441471 self .fallback = fallback
442472 self .height = height
473+ self .horizontalAlignment = horizontalAlignment
443474 self .separator = separator
444475 self .spacing = spacing
445476 self .id = id
@@ -547,6 +578,13 @@ def __init__(
547578 height (BlockElementHeight, Optional): Specifies the height of the
548579 element. **_Defaults to None._** Allowed value(s):
549580 BlockElementHeight.AUTO or BlockElementHeight.STRETCH
581+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
582+ horizontal alignment of the ColumnSet. When not specified, the
583+ value of horizontalAlignment is inherited from the parent
584+ container. If no parent container has horizontalAlignment set,
585+ it defaults to Left. Allowed value(s):
586+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
587+ HorizontalAlignment.RIGHT
550588 separator (bool, Optional): When true, draw a separating line at
551589 the top of the element. **_Defaults to None._**
552590 spacing (Spacing, Optional): Controls the amount of spacing
@@ -702,6 +740,7 @@ def __init__(
702740 "horizontalAlignment" ,
703741 * ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
704742 "height" ,
743+ "horizontalAlignment" ,
705744 "separator" ,
706745 "spacing" ,
707746 "id" ,
@@ -726,6 +765,7 @@ def __init__(
726765 backgroundImage : object = None ,
727766 bleed : bool = None ,
728767 fallback : object = None ,
768+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
729769 minHeight : str = None ,
730770 separator : bool = None ,
731771 spacing : OPTIONS .Spacing = None ,
@@ -761,6 +801,13 @@ def __init__(
761801 Note: "drop" causes this element to be dropped immediately
762802 when unknown elements are encountered. The unknown element
763803 doesn't bubble up any higher.
804+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
805+ horizontal alignment of the ColumnSet. When not specified, the
806+ value of horizontalAlignment is inherited from the parent
807+ container. If no parent container has horizontalAlignment set,
808+ it defaults to Left. Allowed value(s):
809+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
810+ HorizontalAlignment.RIGHT
764811 minHeight (str, Optional): Specifies the minimum height of the
765812 container in pixels, like "80px". **_Defaults to None._**
766813 separator (bool, Optional): When true, draw a separating line at
@@ -861,6 +908,12 @@ def __init__(
861908 optional = True ,
862909 )
863910
911+ validate_input (
912+ horizontalAlignment ,
913+ OPTIONS .HorizontalAlignment ,
914+ optional = True ,
915+ )
916+
864917 check_type (
865918 minHeight ,
866919 str ,
@@ -934,6 +987,7 @@ def __init__(
934987 self .backgroundImage = backgroundImage
935988 self .bleed = bleed
936989 self .fallback = fallback
990+ self .horizontalAlignment = horizontalAlignment
937991 self .minHeight = minHeight
938992 self .separator = separator
939993 self .spacing = spacing
@@ -965,6 +1019,7 @@ def __init__(
9651019 ),
9661020 "bleed" ,
9671021 * ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
1022+ "horizontalAlignment" ,
9681023 "minHeight" ,
9691024 "separator" ,
9701025 "spacing" ,
@@ -1197,6 +1252,7 @@ def __init__(
11971252 imageSize : OPTIONS .ImageSize = OPTIONS .ImageSize .MEDIUM ,
11981253 fallback : object = None ,
11991254 height : OPTIONS .BlockElementHeight = None ,
1255+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
12001256 separator : bool = None ,
12011257 spacing : OPTIONS .Spacing = None ,
12021258 id : str = None ,
@@ -1230,6 +1286,13 @@ def __init__(
12301286 height (BlockElementHeight, Optional): Specifies the height of the
12311287 element. **_Defaults to None._** Allowed value(s):
12321288 BlockElementHeight.AUTO or BlockElementHeight.STRETCH
1289+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
1290+ horizontal alignment of the ColumnSet. When not specified, the
1291+ value of horizontalAlignment is inherited from the parent
1292+ container. If no parent container has horizontalAlignment set,
1293+ it defaults to Left. Allowed value(s):
1294+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
1295+ HorizontalAlignment.RIGHT
12331296 separator (bool, Optional): When true, draw a separating line at
12341297 the top of the element. **_Defaults to None._**
12351298 spacing (Spacing, Optional): Controls the amount of spacing
@@ -1296,6 +1359,12 @@ def __init__(
12961359 optional = True ,
12971360 )
12981361
1362+ validate_input (
1363+ horizontalAlignment ,
1364+ OPTIONS .HorizontalAlignment ,
1365+ optional = True ,
1366+ )
1367+
12991368 check_type (
13001369 separator ,
13011370 bool ,
@@ -1332,6 +1401,7 @@ def __init__(
13321401 self .imageSize = imageSize
13331402 self .fallback = fallback
13341403 self .height = height
1404+ self .horizontalAlignment = horizontalAlignment
13351405 self .separator = separator
13361406 self .spacing = spacing
13371407 self .id = id
@@ -1348,6 +1418,7 @@ def __init__(
13481418 "imageSize" ,
13491419 * ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
13501420 "height" ,
1421+ "horizontalAlignment" ,
13511422 "separator" ,
13521423 "spacing" ,
13531424 "id" ,
0 commit comments