Filters
- class optimeering_beta.EnumParameters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
- AREA = 'area'
- PRODUCT = 'product'
- STATISTIC = 'statistic'
- UNIT_TYPE = 'unit_type'
- classmethod from_json(json_str)
Create an instance of EnumParameters from a JSON string
- class optimeering_beta.Start(*args, anyof_schema_1_validator=None, anyof_schema_2_validator=None, actual_instance=None, any_of_schemas={'datetime', 'str'})
The first datetime to fetch (inclusive). Defaults to 1970-01-01 00:00:00+0000. Should be specified in ISO 8601 datetime or duration format (eg - ‘2024-05-15T06:00:00+00:00’, ‘P1H’, ‘-P1W1D’, etc.)
- anyof_schema_1_validator
- anyof_schema_2_validator
- actual_instance
- any_of_schemas
- model_config = {'protected_namespaces': (), 'validate_assignment': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- classmethod actual_instance_must_validate_anyof(v)
- classmethod from_dict(obj)
- classmethod from_json(json_str)
Returns the object represented by the json string
- to_json()
Returns the JSON representation of the actual instance
- to_dict()
Returns the dict representation of the actual instance
- to_str()
Returns the string representation of the actual instance
- model_computed_fields = {}
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_fields = {'actual_instance': FieldInfo(annotation=Any, required=False, default=None), 'any_of_schemas': FieldInfo(annotation=Set[str], required=False, default={'str', 'datetime'}), 'anyof_schema_1_validator': FieldInfo(annotation=Union[timedelta, NoneType], required=False, default=None), 'anyof_schema_2_validator': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None)}
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class optimeering_beta.End(*args, anyof_schema_1_validator=None, anyof_schema_2_validator=None, actual_instance=None, any_of_schemas={'datetime', 'str'})
The last datetime to fetch (exclusive). Defaults to ‘2999-12-30 00:00:00+0000’. Should be specified in ISO 8601 datetime or duration format (eg - ‘2024-05-15T06:00:00+00:00’, ‘P1H’, ‘-P1W1D’, etc.)
- anyof_schema_1_validator
- anyof_schema_2_validator
- actual_instance
- any_of_schemas
- model_config = {'protected_namespaces': (), 'validate_assignment': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- classmethod actual_instance_must_validate_anyof(v)
- classmethod from_dict(obj)
- classmethod from_json(json_str)
Returns the object represented by the json string
- to_json()
Returns the JSON representation of the actual instance
- to_dict()
Returns the dict representation of the actual instance
- to_str()
Returns the string representation of the actual instance
- model_computed_fields = {}
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_fields = {'actual_instance': FieldInfo(annotation=Any, required=False, default=None), 'any_of_schemas': FieldInfo(annotation=Set[str], required=False, default={'str', 'datetime'}), 'anyof_schema_1_validator': FieldInfo(annotation=Union[timedelta, NoneType], required=False, default=None), 'anyof_schema_2_validator': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None)}
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.