Skip to content

Commit a801f74

Browse files
committed
chore(Assistant): update of models
1 parent 50217ad commit a801f74

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

watson_developer_cloud/assistant_v1.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6305,8 +6305,6 @@ class OutputData(object):
63056305
objects containing detailed diagnostic information about the nodes that were triggered
63066306
during processing of the input message. Included only if **nodes_visited_details** is
63076307
set to `true` in the message request.
6308-
:attr list[DialogNodeAction] actions: (optional) An array of objects describing any
6309-
actions requested by the dialog node.
63106308
"""
63116309

63126310
def __init__(self,
@@ -6315,7 +6313,6 @@ def __init__(self,
63156313
generic=None,
63166314
nodes_visited=None,
63176315
nodes_visited_details=None,
6318-
actions=None,
63196316
**kwargs):
63206317
"""
63216318
Initialize a OutputData object.
@@ -6334,16 +6331,13 @@ def __init__(self,
63346331
of objects containing detailed diagnostic information about the nodes that were
63356332
triggered during processing of the input message. Included only if
63366333
**nodes_visited_details** is set to `true` in the message request.
6337-
:param list[DialogNodeAction] actions: (optional) An array of objects describing
6338-
any actions requested by the dialog node.
63396334
:param **kwargs: (optional) Any additional properties.
63406335
"""
63416336
self.log_messages = log_messages
63426337
self.text = text
63436338
self.generic = generic
63446339
self.nodes_visited = nodes_visited
63456340
self.nodes_visited_details = nodes_visited_details
6346-
self.actions = actions
63476341
for _key, _value in kwargs.items():
63486342
setattr(self, _key, _value)
63496343

@@ -6382,11 +6376,6 @@ def _from_dict(cls, _dict):
63826376
for x in (_dict.get('nodes_visited_details'))
63836377
]
63846378
del xtra['nodes_visited_details']
6385-
if 'actions' in _dict:
6386-
args['actions'] = [
6387-
DialogNodeAction._from_dict(x) for x in (_dict.get('actions'))
6388-
]
6389-
del xtra['actions']
63906379
args.update(xtra)
63916380
return cls(**args)
63926381

@@ -6406,8 +6395,6 @@ def _to_dict(self):
64066395
_dict['nodes_visited_details'] = [
64076396
x._to_dict() for x in self.nodes_visited_details
64086397
]
6409-
if hasattr(self, 'actions') and self.actions is not None:
6410-
_dict['actions'] = [x._to_dict() for x in self.actions]
64116398
if hasattr(self, '_additionalProperties'):
64126399
for _key in self._additionalProperties:
64136400
_value = getattr(self, _key, None)
@@ -6418,7 +6405,7 @@ def _to_dict(self):
64186405
def __setattr__(self, name, value):
64196406
properties = {
64206407
'log_messages', 'text', 'generic', 'nodes_visited',
6421-
'nodes_visited_details', 'actions'
6408+
'nodes_visited_details'
64226409
}
64236410
if not hasattr(self, '_additionalProperties'):
64246411
super(OutputData, self).__setattr__('_additionalProperties', set())

0 commit comments

Comments
 (0)