mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
* Rename AcquireJobRequest::StreamID to AcquireJobRequest::JobMessageID to match corresponding server-side update. * appeased the linter * Added unit tests to prove AcquireJobRequest serialization/deserialization is as-expected. * Distinguish unit test variations. * Incorporated PR Feedback.
17 lines
554 B
C#
17 lines
554 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace GitHub.Actions.RunService.WebApi
|
|
{
|
|
[DataContract]
|
|
public class AcquireJobRequest
|
|
{
|
|
[DataMember(Name = "jobMessageId", EmitDefaultValue = false)]
|
|
public string JobMessageId { get; set; }
|
|
|
|
// This field will be removed in an upcoming Runner release.
|
|
// It's left here temporarily to facilitate the transition to the new field name, JobMessageId.
|
|
[DataMember(Name = "streamId", EmitDefaultValue = false)]
|
|
public string StreamId { get; set; }
|
|
}
|
|
}
|