flywheel.models.data_view_column_alias
DataViewColumnAlias
Bases: object
description property writable
Gets the description of this DataViewColumnAlias.
A description of this field
Returns:
| Type | Description |
|---|---|
str | The description of this DataViewColumnAlias |
expr property writable
Gets the expr of this DataViewColumnAlias.
An optional expression, allowing simple calculations
Returns:
| Type | Description |
|---|---|
str | The expr of this DataViewColumnAlias |
group property writable
Gets the group of this DataViewColumnAlias.
The list of columns that belong to this group
Returns:
| Type | Description |
|---|---|
list[str] | The group of this DataViewColumnAlias |
hidden property writable
Gets the hidden of this DataViewColumnAlias.
Returns:
| Type | Description |
|---|---|
bool | The hidden of this DataViewColumnAlias |
name property writable
Gets the name of this DataViewColumnAlias.
The column alias name
Returns:
| Type | Description |
|---|---|
str | The name of this DataViewColumnAlias |
src property writable
Gets the src of this DataViewColumnAlias.
The source for this column's data
Returns:
| Type | Description |
|---|---|
str | The src of this DataViewColumnAlias |
type property writable
Gets the type of this DataViewColumnAlias.
Returns:
| Type | Description |
|---|---|
ColumnType | The type of this DataViewColumnAlias |
__contains__(key)
Checks if the given value is a key in this object
__eq__(other)
Returns true if both objects are equal
__getitem__(key)
Returns the value of key
__init__(name=None, src=None, group=None, description=None, type=None, expr=None, hidden=None)
DataViewColumnAlias - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name | (str, optional) | The column alias name, defaults to None | None |
src | (str, optional) | The source for this column's data, defaults to None | None |
group | (list[str], optional) | The list of columns that belong to this group, defaults to None | None |
description | (str, optional) | A description of this field, defaults to None | None |
type | (ColumnType, optional) | , defaults to None | None |
expr | (str, optional) | An optional expression, allowing simple calculations, defaults to None | None |
hidden | (bool, optional) | , defaults to None | None |
__ne__(other)
Returns true if both objects are not equal
__repr__()
For print and pprint
__setitem__(key, value)
Sets the value of key
get(key, default=None)
Get the value of the provided json property, or default
items()
Returns the list of json property to value mapping
keys()
Returns the list of json properties in the object
positional_to_model(value) staticmethod
Converts a positional argument to a model value
return_value()
Unwraps return value from model
to_dict()
Returns the model properties as a dict
to_str()
Returns the string representation of the model
values()
Returns the list of values in the object