Release 4.0.0-preview1-00051
[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     public class PlaceLink
27     {
28         private string _id;
29         private string _name;
30         private string _link;
31         private string _type;
32
33         internal PlaceLink(Interop.PlaceLinkObjectHandle handle)
34         {
35             _id = handle.Id;
36             _name = handle.Name;
37             _link = handle.Link;
38             _type = handle.Type;
39         }
40
41         /// <summary>
42         /// Gets a string which representing ID for this place link.
43         /// </summary>
44         /// <since_tizen>3</since_tizen>
45         public string Id { get { return _id; } }
46
47         /// <summary>
48         /// Gets a string which representing name for this place link.
49         /// </summary>
50         /// <since_tizen>3</since_tizen>
51         public string Name { get { return _name; } }
52
53         /// <summary>
54         /// Gets a string which representing link for this place link.
55         /// </summary>
56         /// <since_tizen>3</since_tizen>
57         public string Link { get { return _link; } }
58
59         /// <summary>
60         /// Gets a string which representing type for this place link.
61         /// </summary>
62         /// <since_tizen>3</since_tizen>
63         public string Type { get { return _type; } }
64     }
65 }