/* Code generated by Azure.Iot.Operations.ProtocolCompilerLib v1.0.0.0; DO NOT EDIT. */

#nullable enable

using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Azure.Iot.Operations.Services.AssetAndDeviceRegistry.Generated.Common;

namespace Azure.Iot.Operations.Services.AssetAndDeviceRegistry.Generated.AdrBaseService
{
    /// <summary>
    /// The asset status
    /// </summary>
    [System.CodeDom.Compiler.GeneratedCode("Azure.Iot.Operations.ProtocolCompilerLib", "1.0.0.0")]
    public partial class AssetStatus
    {
        /// <summary>
        /// The configuration status of the asset.
        /// </summary>
        [JsonPropertyName("config")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public ConfigStatus? Config { get; set; } = default;

        /// <summary>
        /// Array of dataset statuses that describe the status of each dataset.
        /// </summary>
        [JsonPropertyName("datasets")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public List<AssetDatasetEventStreamStatus>? Datasets { get; set; } = default;

        /// <summary>
        /// Array of event group statuses that describe the status of each event group.
        /// </summary>
        [JsonPropertyName("eventGroups")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public List<AssetEventGroupStatusSchemaElementSchema>? EventGroups { get; set; } = default;

        /// <summary>
        /// Array of management group statuses that describe the status of each management group.
        /// </summary>
        [JsonPropertyName("managementGroups")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public List<AssetManagementGroupStatusSchemaElementSchema>? ManagementGroups { get; set; } = default;

        /// <summary>
        /// Array of stream statuses that describe the status of each stream.
        /// </summary>
        [JsonPropertyName("streams")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public List<AssetDatasetEventStreamStatus>? Streams { get; set; } = default;

    }
}
