LEFT | RIGHT |
(no file at all) | |
| 1 /* |
| 2 Copyright 2013 Google Inc |
| 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 namespace Google.Apis.NuGet.Publisher.Discovery |
| 18 { |
| 19 /// <summary>A single API representation that contains name and version</sum
mary> |
| 20 public class DiscoveryItem |
| 21 { |
| 22 /// <summary>Gets or sets the name of the Item.</summary> |
| 23 [Newtonsoft.Json.JsonPropertyAttribute("name")] |
| 24 public string Name { get; set; } |
| 25 |
| 26 /// <summary>Gets or sets the version of the Item.</summary> |
| 27 [Newtonsoft.Json.JsonPropertyAttribute("version")] |
| 28 public string Version { get; set; } |
| 29 |
| 30 public override string ToString() |
| 31 { |
| 32 return Name + "." + Version; |
| 33 } |
| 34 } |
| 35 } |
LEFT | RIGHT |