Index: Src/GoogleApis/Apis/Discovery/IParameter.cs
===================================================================
--- a/Src/GoogleApis/Apis/Discovery/IParameter.cs
+++ b/Src/GoogleApis/Apis/Discovery/IParameter.cs
@@ -18,77 +18,22 @@
namespace Google.Apis.Discovery
{
- ///
- /// Represents a parameter for a method.
- /// This interface is used by both Discovery and Runtime compoenents.
- ///
+ /// Represents a parameter for a method.
public interface IParameter
{
- ///
- /// Name of the parameter.
- ///
+ /// Gets the name of the parameter.
string Name { get; }
- ///
- /// The pattern in which this parameter has to be defined.
- ///
+ /// Gets the pattern that this parameter must follow.
string Pattern { get; }
- ///
- /// Defines whether this parameter is optional or required.
- ///
+ /// Gets an indication whether this parameter is optional or required.
bool IsRequired { get; }
- ///
- /// The default value of this parameter.
- ///
+ /// Gets the default value of this parameter.
string DefaultValue { get; }
- ///
- /// A list of valid enum values. (Only for enum values)
- ///
- IEnumerable EnumValues { get; }
-
- ///
- /// The type of the parameter.
- ///
+ /// Gets the type of the parameter.
string ParameterType { get; }
}
-
- ///
- /// Represents a parameter for a method and includes all the meta data of a parameter, including properties
- /// which the runtime component doesn't need to be aware of (e.g. Description).
- ///
- public interface IDiscoveryParameter : IParameter
- {
- ///
- /// Defines whether this parameter can be repeated multiple times.
- ///
- bool IsRepeatable { get; }
-
- ///
- /// The type of the value.
- ///
- string ValueType { get; }
-
- ///
- /// Description of this parameter.
- ///
- string Description { get; }
-
- ///
- /// The maximum valid value. (Only for numeric values)
- ///
- string Maximum { get; }
-
- ///
- /// The minimum valid value. (Only for numeric values)
- ///
- string Minimum { get; }
-
- ///
- /// A list of valid enum value descriptions. (Only for enum values)
- ///
- IEnumerable EnumValueDescriptions { get; }
- }
}
\ No newline at end of file