SwaggerCustomDynamicTreeParameterInfo Class

Definition

The swagger custom dynamic tree parameter.

public class SwaggerCustomDynamicTreeParameterInfo
type SwaggerCustomDynamicTreeParameterInfo = class
Public Class SwaggerCustomDynamicTreeParameterInfo
Inheritance
SwaggerCustomDynamicTreeParameterInfo

Constructors

SwaggerCustomDynamicTreeParameterInfo()

Initializes a new instance of SwaggerCustomDynamicTreeParameterInfo.

Properties

IsRequired

Indicates whether the parameter is required.

ParameterReference

The parameter reference.

SelectedItemValuePath

Gets or sets a path to a property in the currently selected item to pass as a value to a parameter for the given operation.

Value

The parameter value.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Applies to