New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring ToolCallMessagesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ToolCallMessagesSettingsBuilder

Inheritance: objectToolCallMessagesSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ToolCallMessagesSettingsBuilder class.

C#
public ToolCallMessagesSettingsBuilder(ToolCallMessagesSettings container)
Parameters:containerToolCallMessagesSettings

Properties

Gets the settings being configured.

C#
protected ToolCallMessagesSettings Container { get; }

Methods

The label for the approve button shown when state is "awaitingApproval".

C#
public ToolCallMessagesSettingsBuilder Approve(string value)
Parameters:valuestring

The value for Approve

Returns:

ToolCallMessagesSettingsBuilder

Returns the current ToolCallMessagesSettingsBuilder instance.

The heading label rendered above the parameters JSON block in the step body.

C#
public ToolCallMessagesSettingsBuilder ParametersLabel(string value)
Parameters:valuestring

The value for ParametersLabel

Returns:

ToolCallMessagesSettingsBuilder

Returns the current ToolCallMessagesSettingsBuilder instance.

The label for the reject button shown when state is "awaitingApproval".

C#
public ToolCallMessagesSettingsBuilder Reject(string value)
Parameters:valuestring

The value for Reject

Returns:

ToolCallMessagesSettingsBuilder

Returns the current ToolCallMessagesSettingsBuilder instance.

The heading label rendered above the result JSON block in the step body.

C#
public ToolCallMessagesSettingsBuilder ResultLabel(string value)
Parameters:valuestring

The value for ResultLabel

Returns:

ToolCallMessagesSettingsBuilder

Returns the current ToolCallMessagesSettingsBuilder instance.

Contains the display names for each state value shown in the step header badge.

C#
public ToolCallMessagesSettingsBuilder States(Action<ToolCallMessagesStatesSettingsBuilder> configurator)
Parameters:configuratorAction<ToolCallMessagesStatesSettingsBuilder>

The ToolCallMessagesStatesSettingsBuilder for the states setting.

Returns:

ToolCallMessagesSettingsBuilder

Returns the current instance of ToolCallMessagesSettingsBuilder .