@@ -43,12 +43,11 @@ class DatumForListAllowRuleOutput(object):
4343 'host' : 'str' ,
4444 'id' : 'int' ,
4545 'ip_add_type' : 'int' ,
46- 'ip_group_id ' : 'int ' ,
46+ 'ip_groups ' : 'list[IpGroupForListAllowRuleOutput] ' ,
4747 'ip_type' : 'int' ,
4848 'isolation_id' : 'str' ,
4949 'js_conf_id' : 'int' ,
5050 'name' : 'str' ,
51- 'policy' : 'int' ,
5251 'rule_tag' : 'str' ,
5352 'update_time' : 'str' ,
5453 'url' : 'str'
@@ -65,18 +64,17 @@ class DatumForListAllowRuleOutput(object):
6564 'host' : 'Host' ,
6665 'id' : 'Id' ,
6766 'ip_add_type' : 'IpAddType' ,
68- 'ip_group_id ' : 'IpGroupId ' ,
67+ 'ip_groups ' : 'IpGroups ' ,
6968 'ip_type' : 'IpType' ,
7069 'isolation_id' : 'IsolationId' ,
7170 'js_conf_id' : 'JsConfId' ,
7271 'name' : 'Name' ,
73- 'policy' : 'Policy' ,
7472 'rule_tag' : 'RuleTag' ,
7573 'update_time' : 'UpdateTime' ,
7674 'url' : 'Url'
7775 }
7876
79- def __init__ (self , action = None , add_src = None , advanced = None , client_ip = None , description = None , enable = None , group_id = None , host = None , id = None , ip_add_type = None , ip_group_id = None , ip_type = None , isolation_id = None , js_conf_id = None , name = None , policy = None , rule_tag = None , update_time = None , url = None , _configuration = None ): # noqa: E501
77+ def __init__ (self , action = None , add_src = None , advanced = None , client_ip = None , description = None , enable = None , group_id = None , host = None , id = None , ip_add_type = None , ip_groups = None , ip_type = None , isolation_id = None , js_conf_id = None , name = None , rule_tag = None , update_time = None , url = None , _configuration = None ): # noqa: E501
8078 """DatumForListAllowRuleOutput - a model defined in Swagger""" # noqa: E501
8179 if _configuration is None :
8280 _configuration = Configuration ()
@@ -92,12 +90,11 @@ def __init__(self, action=None, add_src=None, advanced=None, client_ip=None, des
9290 self ._host = None
9391 self ._id = None
9492 self ._ip_add_type = None
95- self ._ip_group_id = None
93+ self ._ip_groups = None
9694 self ._ip_type = None
9795 self ._isolation_id = None
9896 self ._js_conf_id = None
9997 self ._name = None
100- self ._policy = None
10198 self ._rule_tag = None
10299 self ._update_time = None
103100 self ._url = None
@@ -123,8 +120,8 @@ def __init__(self, action=None, add_src=None, advanced=None, client_ip=None, des
123120 self .id = id
124121 if ip_add_type is not None :
125122 self .ip_add_type = ip_add_type
126- if ip_group_id is not None :
127- self .ip_group_id = ip_group_id
123+ if ip_groups is not None :
124+ self .ip_groups = ip_groups
128125 if ip_type is not None :
129126 self .ip_type = ip_type
130127 if isolation_id is not None :
@@ -133,8 +130,6 @@ def __init__(self, action=None, add_src=None, advanced=None, client_ip=None, des
133130 self .js_conf_id = js_conf_id
134131 if name is not None :
135132 self .name = name
136- if policy is not None :
137- self .policy = policy
138133 if rule_tag is not None :
139134 self .rule_tag = rule_tag
140135 if update_time is not None :
@@ -353,25 +348,25 @@ def ip_add_type(self, ip_add_type):
353348 self ._ip_add_type = ip_add_type
354349
355350 @property
356- def ip_group_id (self ):
357- """Gets the ip_group_id of this DatumForListAllowRuleOutput. # noqa: E501
351+ def ip_groups (self ):
352+ """Gets the ip_groups of this DatumForListAllowRuleOutput. # noqa: E501
358353
359354
360- :return: The ip_group_id of this DatumForListAllowRuleOutput. # noqa: E501
361- :rtype: int
355+ :return: The ip_groups of this DatumForListAllowRuleOutput. # noqa: E501
356+ :rtype: list[IpGroupForListAllowRuleOutput]
362357 """
363- return self ._ip_group_id
358+ return self ._ip_groups
364359
365- @ip_group_id .setter
366- def ip_group_id (self , ip_group_id ):
367- """Sets the ip_group_id of this DatumForListAllowRuleOutput.
360+ @ip_groups .setter
361+ def ip_groups (self , ip_groups ):
362+ """Sets the ip_groups of this DatumForListAllowRuleOutput.
368363
369364
370- :param ip_group_id : The ip_group_id of this DatumForListAllowRuleOutput. # noqa: E501
371- :type: int
365+ :param ip_groups : The ip_groups of this DatumForListAllowRuleOutput. # noqa: E501
366+ :type: list[IpGroupForListAllowRuleOutput]
372367 """
373368
374- self ._ip_group_id = ip_group_id
369+ self ._ip_groups = ip_groups
375370
376371 @property
377372 def ip_type (self ):
@@ -457,27 +452,6 @@ def name(self, name):
457452
458453 self ._name = name
459454
460- @property
461- def policy (self ):
462- """Gets the policy of this DatumForListAllowRuleOutput. # noqa: E501
463-
464-
465- :return: The policy of this DatumForListAllowRuleOutput. # noqa: E501
466- :rtype: int
467- """
468- return self ._policy
469-
470- @policy .setter
471- def policy (self , policy ):
472- """Sets the policy of this DatumForListAllowRuleOutput.
473-
474-
475- :param policy: The policy of this DatumForListAllowRuleOutput. # noqa: E501
476- :type: int
477- """
478-
479- self ._policy = policy
480-
481455 @property
482456 def rule_tag (self ):
483457 """Gets the rule_tag of this DatumForListAllowRuleOutput. # noqa: E501
0 commit comments