Deprecating Tizen.Maps APIs (#5108)
[platform/core/csapi/tizenfx.git] / src / Tizen.Maps / Tizen.Maps / PlaceLink.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 using System;
19
20 namespace Tizen.Maps
21 {
22     /// <summary>
23     /// Place link object information, used in place discovery and search requests.
24     /// </summary>
25     /// <since_tizen> 3 </since_tizen>
26     [Obsolete("Deprecated since API11. Might be removed in API13.")]
27     public class PlaceLink
28     {
29         private string _id;
30         private string _name;
31         private string _link;
32         private string _type;
33
34         internal PlaceLink(Interop.PlaceLinkObjectHandle handle)
35         {
36             _id = handle.Id;
37             _name = handle.Name;
38             _link = handle.Link;
39             _type = handle.Type;
40         }
41
42         /// <summary>
43         /// Gets a string representing the ID for this place link.
44         /// </summary>
45         /// <since_tizen> 3 </since_tizen>
46         [Obsolete("Deprecated since API11. Might be removed in API13.")]
47         public string Id { get { return _id; } }
48
49         /// <summary>
50         /// Gets a string representing the name for this place link.
51         /// </summary>
52         /// <since_tizen> 3 </since_tizen>
53         [Obsolete("Deprecated since API11. Might be removed in API13.")]
54         public string Name { get { return _name; } }
55
56         /// <summary>
57         /// Gets a string representing the link for this place link.
58         /// </summary>
59         /// <since_tizen> 3 </since_tizen>
60         [Obsolete("Deprecated since API11. Might be removed in API13.")]
61         public string Link { get { return _link; } }
62
63         /// <summary>
64         /// Gets a string representing the type for this place link.
65         /// </summary>
66         /// <since_tizen> 3 </since_tizen>
67         [Obsolete("Deprecated since API11. Might be removed in API13.")]
68         public string Type { get { return _type; } }
69     }
70 }