@@ -37,7 +37,7 @@ class ModifyAllowListRequest(object):
3737 'allow_list_desc' : 'str' ,
3838 'allow_list_id' : 'str' ,
3939 'allow_list_name' : 'str' ,
40- 'apply_db_instance_num ' : 'int' ,
40+ 'apply_instance_num ' : 'int' ,
4141 'modify_mode' : 'str'
4242 }
4343
@@ -46,11 +46,11 @@ class ModifyAllowListRequest(object):
4646 'allow_list_desc' : 'AllowListDesc' ,
4747 'allow_list_id' : 'AllowListId' ,
4848 'allow_list_name' : 'AllowListName' ,
49- 'apply_db_instance_num ' : 'ApplyDBInstanceNum ' ,
49+ 'apply_instance_num ' : 'ApplyInstanceNum ' ,
5050 'modify_mode' : 'ModifyMode'
5151 }
5252
53- def __init__ (self , allow_list = None , allow_list_desc = None , allow_list_id = None , allow_list_name = None , apply_db_instance_num = None , modify_mode = None , _configuration = None ): # noqa: E501
53+ def __init__ (self , allow_list = None , allow_list_desc = None , allow_list_id = None , allow_list_name = None , apply_instance_num = None , modify_mode = None , _configuration = None ): # noqa: E501
5454 """ModifyAllowListRequest - a model defined in Swagger""" # noqa: E501
5555 if _configuration is None :
5656 _configuration = Configuration ()
@@ -60,7 +60,7 @@ def __init__(self, allow_list=None, allow_list_desc=None, allow_list_id=None, al
6060 self ._allow_list_desc = None
6161 self ._allow_list_id = None
6262 self ._allow_list_name = None
63- self ._apply_db_instance_num = None
63+ self ._apply_instance_num = None
6464 self ._modify_mode = None
6565 self .discriminator = None
6666
@@ -70,7 +70,8 @@ def __init__(self, allow_list=None, allow_list_desc=None, allow_list_id=None, al
7070 self .allow_list_desc = allow_list_desc
7171 self .allow_list_id = allow_list_id
7272 self .allow_list_name = allow_list_name
73- self .apply_db_instance_num = apply_db_instance_num
73+ if apply_instance_num is not None :
74+ self .apply_instance_num = apply_instance_num
7475 if modify_mode is not None :
7576 self .modify_mode = modify_mode
7677
@@ -163,27 +164,25 @@ def allow_list_name(self, allow_list_name):
163164 self ._allow_list_name = allow_list_name
164165
165166 @property
166- def apply_db_instance_num (self ):
167- """Gets the apply_db_instance_num of this ModifyAllowListRequest. # noqa: E501
167+ def apply_instance_num (self ):
168+ """Gets the apply_instance_num of this ModifyAllowListRequest. # noqa: E501
168169
169170
170- :return: The apply_db_instance_num of this ModifyAllowListRequest. # noqa: E501
171+ :return: The apply_instance_num of this ModifyAllowListRequest. # noqa: E501
171172 :rtype: int
172173 """
173- return self ._apply_db_instance_num
174+ return self ._apply_instance_num
174175
175- @apply_db_instance_num .setter
176- def apply_db_instance_num (self , apply_db_instance_num ):
177- """Sets the apply_db_instance_num of this ModifyAllowListRequest.
176+ @apply_instance_num .setter
177+ def apply_instance_num (self , apply_instance_num ):
178+ """Sets the apply_instance_num of this ModifyAllowListRequest.
178179
179180
180- :param apply_db_instance_num : The apply_db_instance_num of this ModifyAllowListRequest. # noqa: E501
181+ :param apply_instance_num : The apply_instance_num of this ModifyAllowListRequest. # noqa: E501
181182 :type: int
182183 """
183- if self ._configuration .client_side_validation and apply_db_instance_num is None :
184- raise ValueError ("Invalid value for `apply_db_instance_num`, must not be `None`" ) # noqa: E501
185184
186- self ._apply_db_instance_num = apply_db_instance_num
185+ self ._apply_instance_num = apply_instance_num
187186
188187 @property
189188 def modify_mode (self ):
0 commit comments