mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
24 lines
517 B
C#
24 lines
517 B
C#
using MessagePack;
|
|
using System.Runtime.Serialization;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Remotely.Shared.Models;
|
|
|
|
[DataContract]
|
|
public class EmbeddedServerData
|
|
{
|
|
[SerializationConstructor]
|
|
[JsonConstructor]
|
|
public EmbeddedServerData(Uri serverUrl, string? organizationId)
|
|
{
|
|
ServerUrl = serverUrl;
|
|
OrganizationId = organizationId ?? string.Empty;
|
|
}
|
|
|
|
[DataMember]
|
|
public string OrganizationId { get; }
|
|
|
|
[DataMember]
|
|
public Uri ServerUrl { get; }
|
|
}
|