fix(Assistantv1): Apply manual changes for CreateDialogNode
@@ -3102,6 +3102,8 @@ class CreateDialogNode(object):
information about how to specify dialog node output, see the
[documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
:attr object context: (optional) The context for the dialog node.
+ :attr bool disabled: (optional) Whether to consider the dialog node during runtime
+ evaluation. Set to `true` to ignore the dialog node.
:attr object metadata: (optional) The metadata for the dialog node.
:attr DialogNodeNextStep next_step: (optional) The next step to execute following this
dialog node.
@@ -3134,6 +3136,7 @@ class CreateDialogNode(object):
previous_sibling=None,
output=None,
context=None,
+ disabled=None,
metadata=None,
next_step=None,
actions=None,
@@ -3165,6 +3168,8 @@ class CreateDialogNode(object):
information about how to specify dialog node output, see the
[documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
:param object context: (optional) The context for the dialog node.
+ :param bool disabled: (optional) Whether to consider the dialog node during
+ runtime evaluation. Set to `true` to ignore the dialog node.
:param object metadata: (optional) The metadata for the dialog node.
:param DialogNodeNextStep next_step: (optional) The next step to execute following
this dialog node.
@@ -3196,6 +3201,7 @@ class CreateDialogNode(object):
self.previous_sibling = previous_sibling
self.output = output
self.context = context
+ self.disabled = disabled
self.metadata = metadata
self.next_step = next_step
self.actions = actions
@@ -3230,6 +3236,8 @@ class CreateDialogNode(object):
args['output'] = DialogNodeOutput._from_dict(_dict.get('output'))
if 'context' in _dict:
args['context'] = _dict.get('context')
+ if 'disabled' in _dict:
+ args['disabled'] = _dict.get('disabled')
if 'metadata' in _dict:
args['metadata'] = _dict.get('metadata')
if 'next_step' in _dict:
@@ -3275,6 +3283,8 @@ class CreateDialogNode(object):
_dict['output'] = self.output._to_dict()
if hasattr(self, 'context') and self.context is not None:
_dict['context'] = self.context
+ if hasattr(self, 'disabled') and self.disabled is not None:
+ _dict['disabled'] = self.disabled
if hasattr(self, 'metadata') and self.metadata is not None:
_dict['metadata'] = self.metadata
if hasattr(self, 'next_step') and self.next_step is not None:
