Class ConfigPropertyRepresentation
public class ConfigPropertyRepresentation : IAdditionalDataHolder, IParsable
- Inheritance
-
ConfigPropertyRepresentation
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
ConfigPropertyRepresentation()
Instantiates a new ConfigPropertyRepresentation and sets the default values.
public ConfigPropertyRepresentation()
Properties
AdditionalData
Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
DefaultValue
The defaultValue property
public UntypedNode? DefaultValue { get; set; }
Property Value
- UntypedNode
HelpText
The helpText property
public string? HelpText { get; set; }
Property Value
Label
The label property
public string? Label { get; set; }
Property Value
Name
The name property
public string? Name { get; set; }
Property Value
Options
The options property
public List<string>? Options { get; set; }
Property Value
ReadOnly
The readOnly property
public bool? ReadOnly { get; set; }
Property Value
- bool?
Required
The required property
public bool? Required { get; set; }
Property Value
- bool?
Secret
The secret property
public bool? Secret { get; set; }
Property Value
- bool?
Type
The type property
public string? Type { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static ConfigPropertyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNode
IParseNodeThe parse node to use to read the discriminator value and create the object
Returns
GetFieldDeserializers()
The deserialization information for the current model
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
- IDictionary<string, Action<IParseNode>>
A IDictionary<string, Action<IParseNode>>
Serialize(ISerializationWriter)
Serializes information the current object
public virtual void Serialize(ISerializationWriter writer)
Parameters
writer
ISerializationWriterSerialization writer to use to serialize this model