public sealed class Fulfillment.Types.ConditionalCases.Types.Case : IMessage<Fulfillment.Types.ConditionalCases.Types.Case>, IEquatable<Fulfillment.Types.ConditionalCases.Types.Case>, IDeepCloneable<Fulfillment.Types.ConditionalCases.Types.Case>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class Fulfillment.Types.ConditionalCases.Types.Case.
Each case has a Boolean condition. When it is evaluated to be True, the
corresponding messages will be selected and evaluated recursively.
The condition to activate and select this case. Empty means the
condition is always true. The condition is evaluated against [form
parameters][Form.parameters] or [session
parameters][SessionInfo.parameters].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Dialogflow v3 API class \u003ccode\u003eFulfillment.Types.ConditionalCases.Types.Case\u003c/code\u003e is 2.23.0, with numerous previous versions ranging from 2.22.0 down to 1.0.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFulfillment.Types.ConditionalCases.Types.Case\u003c/code\u003e class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents a case in conditional logic, which is evaluated based on a Boolean condition, and if true, the corresponding messages are selected and recursively evaluated.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: \u003ccode\u003eCase()\u003c/code\u003e and \u003ccode\u003eCase(Fulfillment.Types.ConditionalCases.Types.Case other)\u003c/code\u003e, with the latter allowing for the creation of a new case based on an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCondition\u003c/code\u003e property determines whether the case is activated, and \u003ccode\u003eCaseContent\u003c/code\u003e holds the list of content to be used if a \u003ccode\u003eCondition\u003c/code\u003e is met.\u003c/p\u003e\n"]]],[],null,[]]