1.2 KiB
1.2 KiB
ActivityResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| asset_id | str | ||
| comment | str | [optional] | |
| created_at | datetime | ||
| id | str | ||
| type | ReactionType | ||
| user | UserResponseDto |
Example
from generated.immich.openapi_client.models.activity_response_dto import ActivityResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of ActivityResponseDto from a JSON string
activity_response_dto_instance = ActivityResponseDto.from_json(json)
# print the JSON string representation of the object
print(ActivityResponseDto.to_json())
# convert the object into a dict
activity_response_dto_dict = activity_response_dto_instance.to_dict()
# create an instance of ActivityResponseDto from a dict
activity_response_dto_from_dict = ActivityResponseDto.from_dict(activity_response_dto_dict)