@@ -171,6 +171,12 @@ def bfd_detect_interval(self, bfd_detect_interval):
171171 :param bfd_detect_interval: The bfd_detect_interval of this CreateDirectConnectVirtualInterfaceRequest. # noqa: E501
172172 :type: int
173173 """
174+ if (self ._configuration .client_side_validation and
175+ bfd_detect_interval is not None and bfd_detect_interval > 1000 ): # noqa: E501
176+ raise ValueError ("Invalid value for `bfd_detect_interval`, must be a value less than or equal to `1000`" ) # noqa: E501
177+ if (self ._configuration .client_side_validation and
178+ bfd_detect_interval is not None and bfd_detect_interval < 200 ): # noqa: E501
179+ raise ValueError ("Invalid value for `bfd_detect_interval`, must be a value greater than or equal to `200`" ) # noqa: E501
174180
175181 self ._bfd_detect_interval = bfd_detect_interval
176182
@@ -192,6 +198,12 @@ def bfd_detect_multiplier(self, bfd_detect_multiplier):
192198 :param bfd_detect_multiplier: The bfd_detect_multiplier of this CreateDirectConnectVirtualInterfaceRequest. # noqa: E501
193199 :type: int
194200 """
201+ if (self ._configuration .client_side_validation and
202+ bfd_detect_multiplier is not None and bfd_detect_multiplier > 10 ): # noqa: E501
203+ raise ValueError ("Invalid value for `bfd_detect_multiplier`, must be a value less than or equal to `10`" ) # noqa: E501
204+ if (self ._configuration .client_side_validation and
205+ bfd_detect_multiplier is not None and bfd_detect_multiplier < 3 ): # noqa: E501
206+ raise ValueError ("Invalid value for `bfd_detect_multiplier`, must be a value greater than or equal to `3`" ) # noqa: E501
195207
196208 self ._bfd_detect_multiplier = bfd_detect_multiplier
197209
@@ -213,6 +225,12 @@ def description(self, description):
213225 :param description: The description of this CreateDirectConnectVirtualInterfaceRequest. # noqa: E501
214226 :type: str
215227 """
228+ if (self ._configuration .client_side_validation and
229+ description is not None and len (description ) > 255 ):
230+ raise ValueError ("Invalid value for `description`, length must be less than or equal to `255`" ) # noqa: E501
231+ if (self ._configuration .client_side_validation and
232+ description is not None and len (description ) < 1 ):
233+ raise ValueError ("Invalid value for `description`, length must be greater than or equal to `1`" ) # noqa: E501
216234
217235 self ._description = description
218236
@@ -366,6 +384,12 @@ def nqa_detect_interval(self, nqa_detect_interval):
366384 :param nqa_detect_interval: The nqa_detect_interval of this CreateDirectConnectVirtualInterfaceRequest. # noqa: E501
367385 :type: int
368386 """
387+ if (self ._configuration .client_side_validation and
388+ nqa_detect_interval is not None and nqa_detect_interval > 5000 ): # noqa: E501
389+ raise ValueError ("Invalid value for `nqa_detect_interval`, must be a value less than or equal to `5000`" ) # noqa: E501
390+ if (self ._configuration .client_side_validation and
391+ nqa_detect_interval is not None and nqa_detect_interval < 1000 ): # noqa: E501
392+ raise ValueError ("Invalid value for `nqa_detect_interval`, must be a value greater than or equal to `1000`" ) # noqa: E501
369393
370394 self ._nqa_detect_interval = nqa_detect_interval
371395
@@ -387,6 +411,12 @@ def nqa_detect_multiplier(self, nqa_detect_multiplier):
387411 :param nqa_detect_multiplier: The nqa_detect_multiplier of this CreateDirectConnectVirtualInterfaceRequest. # noqa: E501
388412 :type: int
389413 """
414+ if (self ._configuration .client_side_validation and
415+ nqa_detect_multiplier is not None and nqa_detect_multiplier > 8 ): # noqa: E501
416+ raise ValueError ("Invalid value for `nqa_detect_multiplier`, must be a value less than or equal to `8`" ) # noqa: E501
417+ if (self ._configuration .client_side_validation and
418+ nqa_detect_multiplier is not None and nqa_detect_multiplier < 3 ): # noqa: E501
419+ raise ValueError ("Invalid value for `nqa_detect_multiplier`, must be a value greater than or equal to `3`" ) # noqa: E501
390420
391421 self ._nqa_detect_multiplier = nqa_detect_multiplier
392422
@@ -452,7 +482,7 @@ def route_type(self, route_type):
452482 :param route_type: The route_type of this CreateDirectConnectVirtualInterfaceRequest. # noqa: E501
453483 :type: str
454484 """
455- allowed_values = ["BGP " , "Static " ] # noqa: E501
485+ allowed_values = ["Static " , "BGP " ] # noqa: E501
456486 if (self ._configuration .client_side_validation and
457487 route_type not in allowed_values ):
458488 raise ValueError (
@@ -501,6 +531,12 @@ def virtual_interface_name(self, virtual_interface_name):
501531 :param virtual_interface_name: The virtual_interface_name of this CreateDirectConnectVirtualInterfaceRequest. # noqa: E501
502532 :type: str
503533 """
534+ if (self ._configuration .client_side_validation and
535+ virtual_interface_name is not None and len (virtual_interface_name ) > 128 ):
536+ raise ValueError ("Invalid value for `virtual_interface_name`, length must be less than or equal to `128`" ) # noqa: E501
537+ if (self ._configuration .client_side_validation and
538+ virtual_interface_name is not None and len (virtual_interface_name ) < 1 ):
539+ raise ValueError ("Invalid value for `virtual_interface_name`, length must be greater than or equal to `1`" ) # noqa: E501
504540
505541 self ._virtual_interface_name = virtual_interface_name
506542
0 commit comments