@@ -75,12 +75,12 @@ def create(
7575 description : str | NotGiven = NOT_GIVEN ,
7676 device_posture : str | NotGiven = NOT_GIVEN ,
7777 enabled : bool | NotGiven = NOT_GIVEN ,
78- expiration : rule_create_params .Expiration | NotGiven = NOT_GIVEN ,
78+ expiration : Optional [ rule_create_params .Expiration ] | NotGiven = NOT_GIVEN ,
7979 filters : List [GatewayFilter ] | NotGiven = NOT_GIVEN ,
8080 identity : str | NotGiven = NOT_GIVEN ,
8181 precedence : int | NotGiven = NOT_GIVEN ,
8282 rule_settings : RuleSettingParam | NotGiven = NOT_GIVEN ,
83- schedule : ScheduleParam | NotGiven = NOT_GIVEN ,
83+ schedule : Optional [ ScheduleParam ] | NotGiven = NOT_GIVEN ,
8484 traffic : str | NotGiven = NOT_GIVEN ,
8585 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
8686 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -193,12 +193,12 @@ def update(
193193 description : str | NotGiven = NOT_GIVEN ,
194194 device_posture : str | NotGiven = NOT_GIVEN ,
195195 enabled : bool | NotGiven = NOT_GIVEN ,
196- expiration : rule_update_params .Expiration | NotGiven = NOT_GIVEN ,
196+ expiration : Optional [ rule_update_params .Expiration ] | NotGiven = NOT_GIVEN ,
197197 filters : List [GatewayFilter ] | NotGiven = NOT_GIVEN ,
198198 identity : str | NotGiven = NOT_GIVEN ,
199199 precedence : int | NotGiven = NOT_GIVEN ,
200200 rule_settings : RuleSettingParam | NotGiven = NOT_GIVEN ,
201- schedule : ScheduleParam | NotGiven = NOT_GIVEN ,
201+ schedule : Optional [ ScheduleParam ] | NotGiven = NOT_GIVEN ,
202202 traffic : str | NotGiven = NOT_GIVEN ,
203203 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
204204 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -499,12 +499,12 @@ async def create(
499499 description : str | NotGiven = NOT_GIVEN ,
500500 device_posture : str | NotGiven = NOT_GIVEN ,
501501 enabled : bool | NotGiven = NOT_GIVEN ,
502- expiration : rule_create_params .Expiration | NotGiven = NOT_GIVEN ,
502+ expiration : Optional [ rule_create_params .Expiration ] | NotGiven = NOT_GIVEN ,
503503 filters : List [GatewayFilter ] | NotGiven = NOT_GIVEN ,
504504 identity : str | NotGiven = NOT_GIVEN ,
505505 precedence : int | NotGiven = NOT_GIVEN ,
506506 rule_settings : RuleSettingParam | NotGiven = NOT_GIVEN ,
507- schedule : ScheduleParam | NotGiven = NOT_GIVEN ,
507+ schedule : Optional [ ScheduleParam ] | NotGiven = NOT_GIVEN ,
508508 traffic : str | NotGiven = NOT_GIVEN ,
509509 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
510510 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -617,12 +617,12 @@ async def update(
617617 description : str | NotGiven = NOT_GIVEN ,
618618 device_posture : str | NotGiven = NOT_GIVEN ,
619619 enabled : bool | NotGiven = NOT_GIVEN ,
620- expiration : rule_update_params .Expiration | NotGiven = NOT_GIVEN ,
620+ expiration : Optional [ rule_update_params .Expiration ] | NotGiven = NOT_GIVEN ,
621621 filters : List [GatewayFilter ] | NotGiven = NOT_GIVEN ,
622622 identity : str | NotGiven = NOT_GIVEN ,
623623 precedence : int | NotGiven = NOT_GIVEN ,
624624 rule_settings : RuleSettingParam | NotGiven = NOT_GIVEN ,
625- schedule : ScheduleParam | NotGiven = NOT_GIVEN ,
625+ schedule : Optional [ ScheduleParam ] | NotGiven = NOT_GIVEN ,
626626 traffic : str | NotGiven = NOT_GIVEN ,
627627 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
628628 # The extra values given here take precedence over values defined on the client or passed to this method.
0 commit comments