File tree Expand file tree Collapse file tree 6 files changed +22
-0
lines changed
scaleway-async/scaleway_async/webhosting/v1
scaleway/scaleway/webhosting/v1 Expand file tree Collapse file tree 6 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -833,6 +833,7 @@ async def create_hosting(
833833 offer_options : Optional [List [OfferOptionRequest ]] = None ,
834834 language : Optional [StdLanguageCode ] = None ,
835835 domain_configuration : Optional [CreateHostingRequestDomainConfiguration ] = None ,
836+ skip_welcome_email : Optional [bool ] = None ,
836837 ) -> Hosting :
837838 """
838839 Order a Web Hosting plan.
@@ -846,6 +847,7 @@ async def create_hosting(
846847 :param offer_options: List of the Web Hosting plan options IDs with their quantities.
847848 :param language: Default language for the control panel interface.
848849 :param domain_configuration: Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
850+ :param skip_welcome_email: Indicates whether to skip a welcome email to the contact email containing hosting info.
849851 :return: :class:`Hosting <Hosting>`
850852
851853 Usage:
@@ -876,6 +878,7 @@ async def create_hosting(
876878 offer_options = offer_options ,
877879 language = language ,
878880 domain_configuration = domain_configuration ,
881+ skip_welcome_email = skip_welcome_email ,
879882 ),
880883 self .client ,
881884 ),
Original file line number Diff line number Diff line change @@ -822,6 +822,9 @@ def marshal_HostingApiCreateHostingRequest(
822822 )
823823 )
824824
825+ if request .skip_welcome_email is not None :
826+ output ["skip_welcome_email" ] = request .skip_welcome_email
827+
825828 return output
826829
827830
Original file line number Diff line number Diff line change @@ -918,6 +918,11 @@ class HostingApiCreateHostingRequest:
918918 Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
919919 """
920920
921+ skip_welcome_email : Optional [bool ]
922+ """
923+ Indicates whether to skip a welcome email to the contact email containing hosting info.
924+ """
925+
921926
922927@dataclass
923928class HostingApiCreateSessionRequest :
Original file line number Diff line number Diff line change @@ -833,6 +833,7 @@ def create_hosting(
833833 offer_options : Optional [List [OfferOptionRequest ]] = None ,
834834 language : Optional [StdLanguageCode ] = None ,
835835 domain_configuration : Optional [CreateHostingRequestDomainConfiguration ] = None ,
836+ skip_welcome_email : Optional [bool ] = None ,
836837 ) -> Hosting :
837838 """
838839 Order a Web Hosting plan.
@@ -846,6 +847,7 @@ def create_hosting(
846847 :param offer_options: List of the Web Hosting plan options IDs with their quantities.
847848 :param language: Default language for the control panel interface.
848849 :param domain_configuration: Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
850+ :param skip_welcome_email: Indicates whether to skip a welcome email to the contact email containing hosting info.
849851 :return: :class:`Hosting <Hosting>`
850852
851853 Usage:
@@ -876,6 +878,7 @@ def create_hosting(
876878 offer_options = offer_options ,
877879 language = language ,
878880 domain_configuration = domain_configuration ,
881+ skip_welcome_email = skip_welcome_email ,
879882 ),
880883 self .client ,
881884 ),
Original file line number Diff line number Diff line change @@ -822,6 +822,9 @@ def marshal_HostingApiCreateHostingRequest(
822822 )
823823 )
824824
825+ if request .skip_welcome_email is not None :
826+ output ["skip_welcome_email" ] = request .skip_welcome_email
827+
825828 return output
826829
827830
Original file line number Diff line number Diff line change @@ -918,6 +918,11 @@ class HostingApiCreateHostingRequest:
918918 Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
919919 """
920920
921+ skip_welcome_email : Optional [bool ]
922+ """
923+ Indicates whether to skip a welcome email to the contact email containing hosting info.
924+ """
925+
921926
922927@dataclass
923928class HostingApiCreateSessionRequest :
You can’t perform that action at this time.
0 commit comments