Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(467)

Side by Side Diff: Src/GoogleApis.Tests.Utility/MockParameter.cs

Issue 12020043: Issue 325 - Remove discovery and codegen (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: Sir miceli comment Created 10 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Src/GoogleApis.Tests.Utility/MockMethod.cs ('k') | Src/GoogleApis.Tests.Utility/MockServer.cs » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Copyright 2010 Google Inc 2 Copyright 2010 Google Inc
3 3
4 Licensed under the Apache License, Version 2.0 (the "License"); 4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with 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 6 You may obtain a copy of the License at
7 7
8 http://www.apache.org/licenses/LICENSE-2.0 8 http://www.apache.org/licenses/LICENSE-2.0
9 9
10 Unless required by applicable law or agreed to in writing, software 10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS, 11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and 13 See the License for the specific language governing permissions and
14 limitations under the License. 14 limitations under the License.
15 */ 15 */
16 16
17 using System.Collections.Generic; 17 using System.Collections.Generic;
18 using Google.Apis.Discovery; 18 using Google.Apis.Discovery;
19 19
20 namespace Google.Apis.Testing 20 namespace Google.Apis.Testing
21 { 21 {
22 /// <summary> A mock class for testing purposes </summary> 22 /// <summary> A mock class for testing purposes </summary>
23 public class MockParameter : IDiscoveryParameter 23 public class MockParameter : IParameter
24 { 24 {
25 #region IParameter Members 25 #region IParameter Members
26 26
27 public string Name { get; set; } 27 public string Name { get; set; }
28 public string ParameterType { get; set; }
29 public string Pattern { get; set; } 28 public string Pattern { get; set; }
30 public bool IsRequired { get; set; } 29 public bool IsRequired { get; set; }
31 public bool IsRepeatable { get; set; }
32 public bool Required { get; set; }
33 public string DefaultValue { get; set; } 30 public string DefaultValue { get; set; }
34 public string ValueType { get; set; } 31 public string ParameterType { get; set; }
35 public string Description { get; set; }
36 public string Maximum { get; set; }
37 public string Minimum { get; set; }
38 public IEnumerable<string> EnumValues { get; set; }
39 public IEnumerable<string> EnumValueDescriptions { get; set; }
40 public IEnumerable<string> Enum { get; set; }
41 32
42 #endregion 33 #endregion
43 } 34 }
44 } 35 }
OLDNEW
« no previous file with comments | « Src/GoogleApis.Tests.Utility/MockMethod.cs ('k') | Src/GoogleApis.Tests.Utility/MockServer.cs » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b