Show / Hide Table of Contents

Class JsonSchema.VariantData

In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of descriminant values to schema names.

Inheritance
object
JsonSchema.VariantData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Discovery.v1.Data
Assembly: Google.Apis.Discovery.v1.dll
Syntax
public class JsonSchema.VariantData

Properties

Discriminant

The name of the type discriminant property.

Declaration
[JsonProperty("discriminant")]
public virtual string Discriminant { get; set; }
Property Value
Type Description
string

Map

The map of discriminant value to schema to use for parsing..

Declaration
[JsonProperty("map")]
public virtual IList<JsonSchema.VariantData.MapData> Map { get; set; }
Property Value
Type Description
IList<JsonSchema.VariantData.MapData>
In this article
Back to top Generated by DocFX