Table of Contents

Class FileStatePoco

Namespace
Cognite.Simulator.Utils
Assembly
Cognite.Simulator.Utils.dll

Data object that contains the state properties to be persisted by the state store. These properties are restored to the state on initialization

public class FileStatePoco : BaseStorableState
Inheritance
BaseStorableState
FileStatePoco
Derived
Inherited Members
BaseStorableState.Id

Properties

CdfId

CDF internal id of the file

[StateStoreProperty("cdf-id")]
public long CdfId { get; set; }

Property Value

long

CreatedTime

Time the file was created in CDF

[StateStoreProperty("created-time")]
public long CreatedTime { get; set; }

Property Value

long

DataSetId

Dataset id in CDF

[StateStoreProperty("data-set-id")]
public long? DataSetId { get; set; }

Property Value

long?

ExternalId

External Id of the entity represented by this object

[StateStoreProperty("external-id")]
public string ExternalId { get; set; }

Property Value

string

FileExtension

Model File extension

[StateStoreProperty("fileext")]
public string FileExtension { get; set; }

Property Value

string

FilePath

Path to the file in the local disk

[StateStoreProperty("file-path")]
public string FilePath { get; set; }

Property Value

string

IsInDirectory

Storage directory for the file

[StateStoreProperty("is-stored-in-directory")]
public bool IsInDirectory { get; set; }

Property Value

bool

LogId

Model revision logId

[StateStoreProperty("log-id")]
public long LogId { get; set; }

Property Value

long

ModelExternalId

External ID of the model associated with the file

[StateStoreProperty("model-external-id")]
public string ModelExternalId { get; set; }

Property Value

string

Source

Source of the file (simulator)

[StateStoreProperty("source")]
public string Source { get; set; }

Property Value

string

UpdatedTime

Last time the file was updated in CDF

[StateStoreProperty("updated-time")]
public long UpdatedTime { get; set; }

Property Value

long

Version

Model version

[StateStoreProperty("version")]
public int Version { get; set; }

Property Value

int