22 lines
459 B
C#
22 lines
459 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NetDaemonInterface;
|
|
|
|
public record CallServiceDataElement
|
|
{
|
|
[JsonPropertyName("domain")]
|
|
public string? Domain { get; init; }
|
|
|
|
[JsonPropertyName("service")]
|
|
public string? Service { get; init; }
|
|
|
|
[JsonPropertyName("entity_id")]
|
|
public string? Entity { get; set; }
|
|
|
|
|
|
} |