-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
CloudToDeviceFeedbackQueueProperties.cs
38 lines (32 loc) · 2.4 KB
/
CloudToDeviceFeedbackQueueProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.IotHub.Models
{
/// <summary> The properties of the feedback queue for cloud-to-device messages. </summary>
public partial class CloudToDeviceFeedbackQueueProperties
{
/// <summary> Initializes a new instance of <see cref="CloudToDeviceFeedbackQueueProperties"/>. </summary>
public CloudToDeviceFeedbackQueueProperties()
{
}
/// <summary> Initializes a new instance of <see cref="CloudToDeviceFeedbackQueueProperties"/>. </summary>
/// <param name="lockDurationAsIso8601"> The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. </param>
/// <param name="ttlAsIso8601"> The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. </param>
/// <param name="maxDeliveryCount"> The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. </param>
internal CloudToDeviceFeedbackQueueProperties(TimeSpan? lockDurationAsIso8601, TimeSpan? ttlAsIso8601, int? maxDeliveryCount)
{
LockDurationAsIso8601 = lockDurationAsIso8601;
TtlAsIso8601 = ttlAsIso8601;
MaxDeliveryCount = maxDeliveryCount;
}
/// <summary> The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. </summary>
public TimeSpan? LockDurationAsIso8601 { get; set; }
/// <summary> The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. </summary>
public TimeSpan? TtlAsIso8601 { get; set; }
/// <summary> The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. </summary>
public int? MaxDeliveryCount { get; set; }
}
}