File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
scaleway-async/scaleway_async/lb/v1 Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -1112,6 +1112,10 @@ def unmarshal_RouteMatch(data: Any) -> RouteMatch:
11121112
11131113 args : Dict [str , Any ] = {}
11141114
1115+ field = data .get ("match_subdomains" , None )
1116+ if field is not None :
1117+ args ["match_subdomains" ] = field
1118+
11151119 field = data .get ("sni" , None )
11161120 if field is not None :
11171121 args ["sni" ] = field
@@ -2036,6 +2040,9 @@ def marshal_RouteMatch(
20362040 ),
20372041 )
20382042
2043+ if request .match_subdomains is not None :
2044+ output ["match_subdomains" ] = request .match_subdomains
2045+
20392046 return output
20402047
20412048
Original file line number Diff line number Diff line change @@ -970,6 +970,11 @@ class PrivateNetworkStaticConfig:
970970
971971@dataclass
972972class RouteMatch :
973+ match_subdomains : bool
974+ """
975+ If true, all subdomains will match.
976+ """
977+
973978 sni : Optional [str ]
974979
975980 host_header : Optional [str ]
Original file line number Diff line number Diff line change @@ -1112,6 +1112,10 @@ def unmarshal_RouteMatch(data: Any) -> RouteMatch:
11121112
11131113 args : Dict [str , Any ] = {}
11141114
1115+ field = data .get ("match_subdomains" , None )
1116+ if field is not None :
1117+ args ["match_subdomains" ] = field
1118+
11151119 field = data .get ("sni" , None )
11161120 if field is not None :
11171121 args ["sni" ] = field
@@ -2036,6 +2040,9 @@ def marshal_RouteMatch(
20362040 ),
20372041 )
20382042
2043+ if request .match_subdomains is not None :
2044+ output ["match_subdomains" ] = request .match_subdomains
2045+
20392046 return output
20402047
20412048
Original file line number Diff line number Diff line change @@ -970,6 +970,11 @@ class PrivateNetworkStaticConfig:
970970
971971@dataclass
972972class RouteMatch :
973+ match_subdomains : bool
974+ """
975+ If true, all subdomains will match.
976+ """
977+
973978 sni : Optional [str ]
974979
975980 host_header : Optional [str ]
You can’t perform that action at this time.
0 commit comments