Skip to content

Commit

Permalink
Merge pull request #21 from watson-developer-cloud/5969-move-disabled…
Browse files Browse the repository at this point in the history
…-to-dialognode

Moved the disabled field from CreateDialogNode to DialogNode
  • Loading branch information
mediumTaj authored Jan 10, 2019
2 parents 6865fd3 + 36f5ac4 commit 7cfc5c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assistantv1/assistant_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -2644,9 +2644,6 @@ type CreateDialogNode struct {
// The context for the dialog node.
Context interface{} `json:"context,omitempty"`

// Whether to consider the dialog node during runtime evaluation. Set to `true` to ignore the dialog node.
Disabled *bool `json:"disabled,omitempty"`

// The metadata for the dialog node.
Metadata interface{} `json:"metadata,omitempty"`

Expand Down Expand Up @@ -3966,6 +3963,9 @@ type DialogNode struct {
// The alias used to identify the dialog node.
Title *string `json:"title,omitempty"`

// For internal use only.
Disabled *bool `json:"disabled,omitempty"`

// How the dialog node is processed.
NodeType *string `json:"type,omitempty"`

Expand Down

0 comments on commit 7cfc5c9

Please sign in to comment.