PersistenceRetentionPolicy
Inherits from Asset
Summary
Constructors
| PersistenceRetentionPolicy() |
| PersistenceRetentionPolicy(guid: Guid) |
| PersistenceRetentionPolicy(other: Asset) |
| PersistenceRetentionPolicy(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| dailyHistoryCount | int |
| weeklyHistoryCount | int |
| monthlyHistoryCount | int |
Static members
| Name | Type |
|---|---|
| PersistenceRetentionPolicy.typeInfo | TypeInformation |
Constructors
PersistenceRetentionPolicy
PersistenceRetentionPolicy()
Creates a new PersistenceRetentionPolicy frostbite instance.
PersistenceRetentionPolicy
PersistenceRetentionPolicy(guid: Guid)
Creates a new PersistenceRetentionPolicy frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
PersistenceRetentionPolicy
PersistenceRetentionPolicy(other: Asset)
Casts an instance of type Asset to PersistenceRetentionPolicy. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | Asset | The instance to cast to PersistenceRetentionPolicy. |
PersistenceRetentionPolicy
PersistenceRetentionPolicy(other: DataContainer)
Casts an instance of type DataContainer to PersistenceRetentionPolicy. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to PersistenceRetentionPolicy. |
Properties
dailyHistoryCount
int
weeklyHistoryCount
int
monthlyHistoryCount
int
Static members
typeInfo
The type information for the PersistenceRetentionPolicy type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)