@@ -34,43 +34,63 @@ class AlterTableRequest(object):
3434 """
3535 swagger_types = {
3636 'enable_read' : 'bool' ,
37+ 'enable_rw_seperate_schedule' : 'bool' ,
3738 'enable_write' : 'bool' ,
3839 'io_qos_options' : 'IOQosOptionsForAlterTableInput' ,
40+ 'idc_replica_nums' : 'list[IdcReplicaNumForAlterTableInput]' ,
41+ 'idc_ro_nums' : 'list[IdcRoNumForAlterTableInput]' ,
3942 'instance_id' : 'str' ,
40- 'state' : 'int' ,
43+ 'rw_schedulable_idcs' : 'list[str]' ,
44+ 'state' : 'str' ,
4145 'table_name' : 'str'
4246 }
4347
4448 attribute_map = {
4549 'enable_read' : 'EnableRead' ,
50+ 'enable_rw_seperate_schedule' : 'EnableRwSeperateSchedule' ,
4651 'enable_write' : 'EnableWrite' ,
4752 'io_qos_options' : 'IOQosOptions' ,
53+ 'idc_replica_nums' : 'IdcReplicaNums' ,
54+ 'idc_ro_nums' : 'IdcRoNums' ,
4855 'instance_id' : 'InstanceId' ,
56+ 'rw_schedulable_idcs' : 'RwSchedulableIdcs' ,
4957 'state' : 'State' ,
5058 'table_name' : 'TableName'
5159 }
5260
53- def __init__ (self , enable_read = None , enable_write = None , io_qos_options = None , instance_id = None , state = None , table_name = None , _configuration = None ): # noqa: E501
61+ def __init__ (self , enable_read = None , enable_rw_seperate_schedule = None , enable_write = None , io_qos_options = None , idc_replica_nums = None , idc_ro_nums = None , instance_id = None , rw_schedulable_idcs = None , state = None , table_name = None , _configuration = None ): # noqa: E501
5462 """AlterTableRequest - a model defined in Swagger""" # noqa: E501
5563 if _configuration is None :
5664 _configuration = Configuration ()
5765 self ._configuration = _configuration
5866
5967 self ._enable_read = None
68+ self ._enable_rw_seperate_schedule = None
6069 self ._enable_write = None
6170 self ._io_qos_options = None
71+ self ._idc_replica_nums = None
72+ self ._idc_ro_nums = None
6273 self ._instance_id = None
74+ self ._rw_schedulable_idcs = None
6375 self ._state = None
6476 self ._table_name = None
6577 self .discriminator = None
6678
6779 if enable_read is not None :
6880 self .enable_read = enable_read
81+ if enable_rw_seperate_schedule is not None :
82+ self .enable_rw_seperate_schedule = enable_rw_seperate_schedule
6983 if enable_write is not None :
7084 self .enable_write = enable_write
7185 if io_qos_options is not None :
7286 self .io_qos_options = io_qos_options
87+ if idc_replica_nums is not None :
88+ self .idc_replica_nums = idc_replica_nums
89+ if idc_ro_nums is not None :
90+ self .idc_ro_nums = idc_ro_nums
7391 self .instance_id = instance_id
92+ if rw_schedulable_idcs is not None :
93+ self .rw_schedulable_idcs = rw_schedulable_idcs
7494 if state is not None :
7595 self .state = state
7696 self .table_name = table_name
@@ -96,6 +116,27 @@ def enable_read(self, enable_read):
96116
97117 self ._enable_read = enable_read
98118
119+ @property
120+ def enable_rw_seperate_schedule (self ):
121+ """Gets the enable_rw_seperate_schedule of this AlterTableRequest. # noqa: E501
122+
123+
124+ :return: The enable_rw_seperate_schedule of this AlterTableRequest. # noqa: E501
125+ :rtype: bool
126+ """
127+ return self ._enable_rw_seperate_schedule
128+
129+ @enable_rw_seperate_schedule .setter
130+ def enable_rw_seperate_schedule (self , enable_rw_seperate_schedule ):
131+ """Sets the enable_rw_seperate_schedule of this AlterTableRequest.
132+
133+
134+ :param enable_rw_seperate_schedule: The enable_rw_seperate_schedule of this AlterTableRequest. # noqa: E501
135+ :type: bool
136+ """
137+
138+ self ._enable_rw_seperate_schedule = enable_rw_seperate_schedule
139+
99140 @property
100141 def enable_write (self ):
101142 """Gets the enable_write of this AlterTableRequest. # noqa: E501
@@ -138,6 +179,48 @@ def io_qos_options(self, io_qos_options):
138179
139180 self ._io_qos_options = io_qos_options
140181
182+ @property
183+ def idc_replica_nums (self ):
184+ """Gets the idc_replica_nums of this AlterTableRequest. # noqa: E501
185+
186+
187+ :return: The idc_replica_nums of this AlterTableRequest. # noqa: E501
188+ :rtype: list[IdcReplicaNumForAlterTableInput]
189+ """
190+ return self ._idc_replica_nums
191+
192+ @idc_replica_nums .setter
193+ def idc_replica_nums (self , idc_replica_nums ):
194+ """Sets the idc_replica_nums of this AlterTableRequest.
195+
196+
197+ :param idc_replica_nums: The idc_replica_nums of this AlterTableRequest. # noqa: E501
198+ :type: list[IdcReplicaNumForAlterTableInput]
199+ """
200+
201+ self ._idc_replica_nums = idc_replica_nums
202+
203+ @property
204+ def idc_ro_nums (self ):
205+ """Gets the idc_ro_nums of this AlterTableRequest. # noqa: E501
206+
207+
208+ :return: The idc_ro_nums of this AlterTableRequest. # noqa: E501
209+ :rtype: list[IdcRoNumForAlterTableInput]
210+ """
211+ return self ._idc_ro_nums
212+
213+ @idc_ro_nums .setter
214+ def idc_ro_nums (self , idc_ro_nums ):
215+ """Sets the idc_ro_nums of this AlterTableRequest.
216+
217+
218+ :param idc_ro_nums: The idc_ro_nums of this AlterTableRequest. # noqa: E501
219+ :type: list[IdcRoNumForAlterTableInput]
220+ """
221+
222+ self ._idc_ro_nums = idc_ro_nums
223+
141224 @property
142225 def instance_id (self ):
143226 """Gets the instance_id of this AlterTableRequest. # noqa: E501
@@ -161,13 +244,34 @@ def instance_id(self, instance_id):
161244
162245 self ._instance_id = instance_id
163246
247+ @property
248+ def rw_schedulable_idcs (self ):
249+ """Gets the rw_schedulable_idcs of this AlterTableRequest. # noqa: E501
250+
251+
252+ :return: The rw_schedulable_idcs of this AlterTableRequest. # noqa: E501
253+ :rtype: list[str]
254+ """
255+ return self ._rw_schedulable_idcs
256+
257+ @rw_schedulable_idcs .setter
258+ def rw_schedulable_idcs (self , rw_schedulable_idcs ):
259+ """Sets the rw_schedulable_idcs of this AlterTableRequest.
260+
261+
262+ :param rw_schedulable_idcs: The rw_schedulable_idcs of this AlterTableRequest. # noqa: E501
263+ :type: list[str]
264+ """
265+
266+ self ._rw_schedulable_idcs = rw_schedulable_idcs
267+
164268 @property
165269 def state (self ):
166270 """Gets the state of this AlterTableRequest. # noqa: E501
167271
168272
169273 :return: The state of this AlterTableRequest. # noqa: E501
170- :rtype: int
274+ :rtype: str
171275 """
172276 return self ._state
173277
@@ -177,7 +281,7 @@ def state(self, state):
177281
178282
179283 :param state: The state of this AlterTableRequest. # noqa: E501
180- :type: int
284+ :type: str
181285 """
182286
183287 self ._state = state
0 commit comments