/* 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 result of setting the notification preference for device updates or error details if the operation failed.
    /// </summary>
    [System.CodeDom.Compiler.GeneratedCode("Azure.Iot.Operations.ProtocolCompilerLib", "1.0.0.0")]
    public partial class SetNotificationPreferenceForDeviceUpdatesResponseSchema
    {
        /// <summary>
        /// The response payload indicating that the operation was successful.
        /// </summary>
        [JsonPropertyName("responsePayload")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public string? ResponsePayload { get; set; } = default;

        /// <summary>
        /// Error for the 'setNotificationPreferenceForDeviceUpdates' Action.
        /// </summary>
        [JsonPropertyName("setNotificationPreferenceForDeviceUpdatesError")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
        public AkriServiceError? SetNotificationPreferenceForDeviceUpdatesError { get; set; } = default;

    }
}
