2c72a9aa92b697df94ea4351693959f285470369
[platform/core/csapi/tizenfx.git] / src / Tizen.Network.IoTConnectivity / Tizen.Network.IoTConnectivity / ResponseCode.cs
1  /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 namespace Tizen.Network.IoTConnectivity
19 {
20     /// <summary>
21     /// Enumeration for result of response
22     /// </summary>
23     public enum ResponseCode
24     {
25         /// <summary>
26         /// Indicates result of response for success
27         /// </summary>
28         Ok = 0,
29         /// <summary>
30         /// Indicates result of response for some error
31         /// </summary>
32         Error,
33         /// <summary>
34         /// Indicates result of response for created resource
35         /// </summary>
36         Created,
37         /// <summary>
38         ///  Indicates result of response for deleted resource
39         /// </summary>
40         Deleted,
41         /// <summary>
42         ///  Indicates result of response for changed resource
43         /// </summary>
44         Changed,
45         /// <summary>
46         /// Indicates result of response for slow resource
47         /// </summary>
48         Slow,
49         /// <summary>
50         /// Indicates result of response for accessing unauthorized resource
51         /// </summary>
52         Forbidden
53     }
54 }