public IntegrationRuntimeResource(IntegrationRuntime properties)
        {
            if (properties == null)
            {
                throw new ArgumentNullException(nameof(properties));
            }

            Properties = properties;
        }
        internal static IntegrationRuntimeDebugResource DeserializeIntegrationRuntimeDebugResource(JsonElement element)
        {
            IntegrationRuntime properties = default;
            Optional <string>  name       = default;

            foreach (var property in element.EnumerateObject())
            {
                if (property.NameEquals("properties"))
                {
                    properties = IntegrationRuntime.DeserializeIntegrationRuntime(property.Value);
                    continue;
                }
                if (property.NameEquals("name"))
                {
                    name = property.Value.GetString();
                    continue;
                }
            }
            return(new IntegrationRuntimeDebugResource(name.Value, properties));
        }
 internal IntegrationRuntimeResource(string id, string name, string type, string etag, IntegrationRuntime properties) : base(id, name, type, etag)
 {
     Properties = properties;
 }
 internal IntegrationRuntimeDebugResource(string name, IntegrationRuntime properties) : base(name)
 {
     Properties = properties;
 }