forked from loafle/openapi-generator-original
minor fix to docstring in csharp
This commit is contained in:
@@ -25,6 +25,7 @@ namespace IO.Swagger.Client
|
||||
/// <param name="tempFolderPath">Temp folder path</param>
|
||||
/// <param name="dateTimeFormat">DateTime format string</param>
|
||||
/// <param name="timeout">HTTP connection timeout (in milliseconds)</param>
|
||||
/// <param name="userAgent">HTTP user agent</param>
|
||||
public Configuration(ApiClient apiClient = null,
|
||||
Dictionary<String, String> defaultHeader = null,
|
||||
string username = null,
|
||||
|
||||
@@ -18,6 +18,10 @@ namespace IO.Swagger.Model
|
||||
public partial class InlineResponse200 : IEquatable<InlineResponse200>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// pet status in the store
|
||||
/// </summary>
|
||||
/// <value>pet status in the store</value>
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enum StatusEnum {
|
||||
|
||||
@@ -30,6 +34,7 @@ namespace IO.Swagger.Model
|
||||
[EnumMember(Value = "sold")]
|
||||
Sold
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// pet status in the store
|
||||
|
||||
@@ -23,10 +23,12 @@ namespace IO.Swagger.Model
|
||||
/// Initializes a new instance of the <see cref="Name" />class.
|
||||
/// </summary>
|
||||
/// <param name="_Name">_Name.</param>
|
||||
/// <param name="SnakeCase">SnakeCase.</param>
|
||||
|
||||
public Name(int? _Name = null)
|
||||
public Name(int? _Name = null, int? SnakeCase = null)
|
||||
{
|
||||
this._Name = _Name;
|
||||
this.SnakeCase = SnakeCase;
|
||||
|
||||
}
|
||||
|
||||
@@ -37,6 +39,12 @@ namespace IO.Swagger.Model
|
||||
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||
public int? _Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets SnakeCase
|
||||
/// </summary>
|
||||
[DataMember(Name="snake_case", EmitDefaultValue=false)]
|
||||
public int? SnakeCase { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns the string presentation of the object
|
||||
/// </summary>
|
||||
@@ -46,6 +54,7 @@ namespace IO.Swagger.Model
|
||||
var sb = new StringBuilder();
|
||||
sb.Append("class Name {\n");
|
||||
sb.Append(" _Name: ").Append(_Name).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@@ -87,6 +96,11 @@ namespace IO.Swagger.Model
|
||||
this._Name == other._Name ||
|
||||
this._Name != null &&
|
||||
this._Name.Equals(other._Name)
|
||||
) &&
|
||||
(
|
||||
this.SnakeCase == other.SnakeCase ||
|
||||
this.SnakeCase != null &&
|
||||
this.SnakeCase.Equals(other.SnakeCase)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -105,6 +119,9 @@ namespace IO.Swagger.Model
|
||||
if (this._Name != null)
|
||||
hash = hash * 59 + this._Name.GetHashCode();
|
||||
|
||||
if (this.SnakeCase != null)
|
||||
hash = hash * 59 + this.SnakeCase.GetHashCode();
|
||||
|
||||
return hash;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,10 @@ namespace IO.Swagger.Model
|
||||
public partial class Order : IEquatable<Order>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Order Status
|
||||
/// </summary>
|
||||
/// <value>Order Status</value>
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enum StatusEnum {
|
||||
|
||||
@@ -30,6 +34,7 @@ namespace IO.Swagger.Model
|
||||
[EnumMember(Value = "delivered")]
|
||||
Delivered
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Order Status
|
||||
|
||||
@@ -18,6 +18,10 @@ namespace IO.Swagger.Model
|
||||
public partial class Pet : IEquatable<Pet>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// pet status in the store
|
||||
/// </summary>
|
||||
/// <value>pet status in the store</value>
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enum StatusEnum {
|
||||
|
||||
@@ -30,6 +34,7 @@ namespace IO.Swagger.Model
|
||||
[EnumMember(Value = "sold")]
|
||||
Sold
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// pet status in the store
|
||||
|
||||
Reference in New Issue
Block a user