Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit f1d5a40

Browse files
committed
Fix property casing
1 parent d891a02 commit f1d5a40

File tree

1 file changed

+11
-11
lines changed
  • src/ApiService/ApiService/OneFuzzTypes

1 file changed

+11
-11
lines changed

src/ApiService/ApiService/OneFuzzTypes/Model.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ public enum HeartbeatType
2525
TaskAlive,
2626
}
2727

28-
public record HeartbeatData(HeartbeatType type);
28+
public record HeartbeatData(HeartbeatType Type);
2929

3030
public record TaskHeartbeatEntry(
3131
Guid TaskId,
3232
Guid? JobId,
3333
Guid MachineId,
34-
HeartbeatData[] data
34+
HeartbeatData[] Data
3535
);
36-
public record NodeHeartbeatEntry(Guid NodeId, HeartbeatData[] data);
36+
public record NodeHeartbeatEntry(Guid NodeId, HeartbeatData[] Data);
3737

3838
public record NodeCommandStopIfFree();
3939

@@ -167,8 +167,8 @@ PoolName PoolName
167167
);
168168

169169
public record TaskContainers(
170-
ContainerType type,
171-
Container name
170+
ContainerType Type,
171+
Container Name
172172
);
173173
public record TaskConfig(
174174
Guid JobId,
@@ -179,7 +179,7 @@ public record TaskConfig(
179179
List<TaskContainers> Containers,
180180
Dictionary<string, string> Tags,
181181
List<TaskDebugFlag> Debug,
182-
bool? colocate
182+
bool? Colocate
183183
);
184184

185185
public record Authentication(
@@ -192,12 +192,12 @@ string PrivateKey
192192
public record TaskEventSummary(
193193
DateTimeOffset? Timestamp,
194194
string EventData,
195-
string eventType
195+
string EventType
196196
);
197197

198198

199199
public record NodeAssignment(
200-
Guid nodeId,
200+
Guid NodeId,
201201
Guid? ScalesetId,
202202
NodeTaskState State
203203
);
@@ -214,9 +214,9 @@ public record Task(
214214
Authentication? Auth,
215215
DateTimeOffset? Heartbeat,
216216
DateTimeOffset? EndTime,
217-
UserInfo? user_info) : EntityBase()
217+
UserInfo? UserInfo) : EntityBase()
218218
{
219-
List<TaskEventSummary> events { get; set; } = new List<TaskEventSummary>();
220-
List<NodeAssignment> nodes { get; set; } = new List<NodeAssignment>();
219+
List<TaskEventSummary> Events { get; set; } = new List<TaskEventSummary>();
220+
List<NodeAssignment> Nodes { get; set; } = new List<NodeAssignment>();
221221

222222
}

0 commit comments

Comments
 (0)