/* 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>
    /// Response containing the updated asset status or error details if the update failed.
    /// </summary>
    [System.CodeDom.Compiler.GeneratedCode("Azure.Iot.Operations.ProtocolCompilerLib", "1.0.0.0")]
    public partial class UpdateAssetStatusResponseSchema
    {
        /// <summary>
        /// Error for the 'updateAssetStatus' Action.
        /// </summary>
        [JsonPropertyName("updateAssetStatusError")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public AkriServiceError? UpdateAssetStatusError { get; set; } = default;

        /// <summary>
        /// The updated asset status.
        /// </summary>
        [JsonPropertyName("updatedAssetStatus")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public AssetStatus? UpdatedAssetStatus { get; set; } = default;

    }
}
