SwaggerCustomDynamicTreeParameterInfo Class

Definition

The swagger custom dynamic tree parameter.

public class SwaggerCustomDynamicTreeParameterInfo
public class SwaggerCustomDynamicTreeParameterInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Logic.Models.SwaggerCustomDynamicTreeParameterInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Logic.Models.SwaggerCustomDynamicTreeParameterInfo>
type SwaggerCustomDynamicTreeParameterInfo = class
type SwaggerCustomDynamicTreeParameterInfo = class
    interface IJsonModel<SwaggerCustomDynamicTreeParameterInfo>
    interface IPersistableModel<SwaggerCustomDynamicTreeParameterInfo>
Public Class SwaggerCustomDynamicTreeParameterInfo
Public Class SwaggerCustomDynamicTreeParameterInfo
Implements IJsonModel(Of SwaggerCustomDynamicTreeParameterInfo), IPersistableModel(Of SwaggerCustomDynamicTreeParameterInfo)
Inheritance
SwaggerCustomDynamicTreeParameterInfo
Implements

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" }.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SwaggerCustomDynamicTreeParameterInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SwaggerCustomDynamicTreeParameterInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SwaggerCustomDynamicTreeParameterInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SwaggerCustomDynamicTreeParameterInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SwaggerCustomDynamicTreeParameterInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to