public SynapseSparkJobReference(SparkJobReferenceType type, string referenceName)
        {
            if (referenceName == null)
            {
                throw new ArgumentNullException(nameof(referenceName));
            }

            Type          = type;
            ReferenceName = referenceName;
        }
        internal static SynapseSparkJobReference DeserializeSynapseSparkJobReference(JsonElement element)
        {
            SparkJobReferenceType type = default;
            string referenceName       = default;

            foreach (var property in element.EnumerateObject())
            {
                if (property.NameEquals("type"))
                {
                    type = new SparkJobReferenceType(property.Value.GetString());
                    continue;
                }
                if (property.NameEquals("referenceName"))
                {
                    referenceName = property.Value.GetString();
                    continue;
                }
            }
            return(new SynapseSparkJobReference(type, referenceName));
        }