Table of Contents

Class ModelViews_data_metadata

Namespace
Autodesk.ModelDerivative.Models
Assembly
Autodesk.ModelDerivative.dll

An array of flat JSON objects representing metadata.

public class ModelViews_data_metadata : IParsable
Inheritance
ModelViews_data_metadata
Implements
IParsable
Inherited Members

Properties

Guid

Unique identifier for the model view

public string? Guid { get; set; }

Property Value

string

IsMasterView

Indicates whether the model view is a Master View. This attribute is present only if the model view is a Master View. Possible values:true: Model View is a Master View derived from a Revit file.

public bool? IsMasterView { get; set; }

Property Value

bool?

Name

Name of the model view

public string? Name { get; set; }

Property Value

string

Role

Type of model viewPossible values: 2d, 3d

public ModelViews_data_metadata_role? Role { get; set; }

Property Value

ModelViews_data_metadata_role?

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static ModelViews_data_metadata CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

ModelViews_data_metadata

A ModelViews_data_metadata

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 ISerializationWriter

Serialization writer to use to serialize this model