| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Iot.Hub.Service.Models |
| | 9 | | { |
| | 10 | | /// <summary> Represents the Device Method Invocation Results. </summary> |
| | 11 | | public partial class CloudToDeviceMethodResponse |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of CloudToDeviceMethodResponse. </summary> |
| 0 | 14 | | internal CloudToDeviceMethodResponse() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of CloudToDeviceMethodResponse. </summary> |
| | 19 | | /// <param name="status"> Method invocation result status. </param> |
| | 20 | | /// <param name="payload"> Method invocation result payload. </param> |
| 0 | 21 | | internal CloudToDeviceMethodResponse(int? status, object payload) |
| | 22 | | { |
| 0 | 23 | | Status = status; |
| 0 | 24 | | Payload = payload; |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> Method invocation result status. </summary> |
| 0 | 28 | | public int? Status { get; } |
| | 29 | | /// <summary> Method invocation result payload. </summary> |
| 0 | 30 | | public object Payload { get; } |
| | 31 | | } |
| | 32 | | } |