-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31f6c10
commit 758179c
Showing
4 changed files
with
1,989 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# CalculationRule | ||
|
||
Calculation rule to calculate asset attribute data | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**id** | **int** | The id of the rule | [optional] [readonly] | ||
**asset_id** | **int** | ID of the corresponding asset | | ||
**subtype** | [**DataSubtype**](DataSubtype.md) | | | ||
**attribute** | **str** | Name of the attribute of the asset type to be calculated | | ||
**virtual** | **bool** | Is the calculation attribute virtual or not | [optional] | ||
**formula** | **str** | calculation rule to calculate the value for the attribute | [optional] | ||
**unit** | **str** | Physical unit of calculated data | [optional] | ||
**filter** | **object** | Filter definition for calculation rule | [optional] | ||
|
||
## Example | ||
|
||
```python | ||
from eliona.api_client2.models.calculation_rule import CalculationRule | ||
|
||
# TODO update the JSON string below | ||
json = "{}" | ||
# create an instance of CalculationRule from a JSON string | ||
calculation_rule_instance = CalculationRule.from_json(json) | ||
# print the JSON string representation of the object | ||
print CalculationRule.to_json() | ||
|
||
# convert the object into a dict | ||
calculation_rule_dict = calculation_rule_instance.to_dict() | ||
# create an instance of CalculationRule from a dict | ||
calculation_rule_form_dict = calculation_rule.from_dict(calculation_rule_dict) | ||
``` | ||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.