Base¶
- class icometrix_sdk.models.base.BackendEntity(*, id, uri=None, update_timestamp, creation_timestamp)¶
- Parameters:
id (str)
uri (str | None)
update_timestamp (Annotated[datetime | None, BeforeValidator(func=~icometrix_sdk.models.base.utc_datetime_parser)])
creation_timestamp (Annotated[datetime | None, BeforeValidator(func=~icometrix_sdk.models.base.utc_datetime_parser)])
- creation_timestamp: Annotated[datetime | None, BeforeValidator(func=utc_datetime_parser)]¶
- id: str¶
- update_timestamp: Annotated[datetime | None, BeforeValidator(func=utc_datetime_parser)]¶
- uri: str | None¶
- class icometrix_sdk.models.base.PaginatedMetaData(*, result_set)¶
- Parameters:
result_set (PaginatedResultSet)
- result_set: PaginatedResultSet¶
- class icometrix_sdk.models.base.PaginatedResponse(*, meta_data, results)¶
- Parameters:
meta_data (PaginatedMetaData)
results (List[T])
- has_next()¶
Returns True if there is a next page in the backend
- Returns:
bool
- Return type:
bool
- meta_data: PaginatedMetaData¶
- results: List[T]¶
- class icometrix_sdk.models.base.PaginatedResultSet(*, count, offset, limit)¶
- Parameters:
count (int)
offset (int)
limit (int)
- count: int¶
- limit: int¶
- offset: int¶
- icometrix_sdk.models.base.utc_datetime_parser(v)¶
- Parameters:
v (str | datetime | None)
- Return type:
datetime | None