< Summary

Information
Class: ClutterStock.Contracts.Rooms.RoomResponse
Assembly: Contracts
File(s): /home/runner/work/ClutterStock/ClutterStock/backend/public/Contracts/Rooms/RoomResponse.cs
Tag: 58_25416222083
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 16
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/ClutterStock/ClutterStock/backend/public/Contracts/Rooms/RoomResponse.cs

#LineLine coverage
 1namespace ClutterStock.Contracts.Rooms;
 2
 3/// <summary>Response payload for a room.</summary>
 4/// <param name="Id" example="1">Unique identifier of the room.</param>
 5/// <param name="LocationId" example="1">Id of the parent location.</param>
 6/// <param name="Name" example="Living Room">Display name of the room (e.g. Living Room, Garage).</param>
 7/// <param name="Description" example="Main gathering space">Optional description of the room.</param>
 8/// <param name="CreatedAtUtc" example="2024-01-15T10:30:00Z">UTC timestamp when the room was created.</param>
 9/// <param name="UpdatedAtUtc" example="2024-02-01T14:00:00Z">UTC timestamp when the room was last updated.</param>
 1110public record RoomResponse(
 1111    int Id,
 1112    int LocationId,
 1113    string Name,
 1114    string? Description,
 1115    DateTimeOffset CreatedAtUtc,
 1116    DateTimeOffset? UpdatedAtUtc);