forked from loafle/openapi-generator-original
fixed casing (#15748)
This commit is contained in:
parent
e06e2cce69
commit
4604bf016f
@ -80,6 +80,7 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
|
||||
protected String enumValueSuffix = "Enum";
|
||||
|
||||
protected String sourceFolder = "src";
|
||||
protected String invalidNamePrefix = "var";
|
||||
|
||||
// TODO: Add option for test folder output location. Nice to allow e.g. ./test instead of ./src.
|
||||
// This would require updating relative paths (e.g. path to main project file in test project file)
|
||||
@ -584,7 +585,7 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
|
||||
property.vendorExtensions.put("x-is-value-type", isValueType(property));
|
||||
|
||||
String tmpPropertyName = escapeReservedWord(model, property.name);
|
||||
if (!property.name.equals(tmpPropertyName)) {
|
||||
if (!property.name.equals(tmpPropertyName) || property.name.startsWith(this.invalidNamePrefix)) {
|
||||
// the casing will be wrong if we just set the name to escapeReservedWord
|
||||
// if we try to fix it with camelize, underscores get stripped out
|
||||
// so test if the name was escaped and then replace var with Var
|
||||
@ -961,7 +962,7 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
|
||||
name = this.escapeReservedWord(name);
|
||||
|
||||
return name.equalsIgnoreCase(model.getClassname())
|
||||
? "var" + camelize(name)
|
||||
? this.invalidNamePrefix + camelize(name)
|
||||
: name;
|
||||
}
|
||||
|
||||
@ -972,7 +973,7 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
|
||||
reservedWords().contains(camelize(sanitizeName(name))) ||
|
||||
isReservedWord(name) ||
|
||||
name.matches("^\\d.*")) {
|
||||
name = "var" + camelize(name);
|
||||
name = this.invalidNamePrefix + camelize(name);
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -38,37 +38,37 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this._var123List = var123List;
|
||||
if (this.var123List != null)
|
||||
this._Var123List = var123List;
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
this._flagvar123List = true;
|
||||
this._flagVar123List = true;
|
||||
}
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List
|
||||
public string Var123List
|
||||
{
|
||||
get{ return _var123List;}
|
||||
get{ return _Var123List;}
|
||||
set
|
||||
{
|
||||
_var123List = value;
|
||||
_flagvar123List = true;
|
||||
_Var123List = value;
|
||||
_flagVar123List = true;
|
||||
}
|
||||
}
|
||||
private string _var123List;
|
||||
private bool _flagvar123List;
|
||||
private string _Var123List;
|
||||
private bool _flagVar123List;
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123List should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123List should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123List()
|
||||
public bool ShouldSerializeVar123List()
|
||||
{
|
||||
return _flagvar123List;
|
||||
return _flagVar123List;
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -84,7 +84,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -128,9 +128,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -38,37 +38,37 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this._varClient = varClient;
|
||||
if (this.varClient != null)
|
||||
this._VarClient = varClient;
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
this._flagvarClient = true;
|
||||
this._flagVarClient = true;
|
||||
}
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient
|
||||
public string VarClient
|
||||
{
|
||||
get{ return _varClient;}
|
||||
get{ return _VarClient;}
|
||||
set
|
||||
{
|
||||
_varClient = value;
|
||||
_flagvarClient = true;
|
||||
_VarClient = value;
|
||||
_flagVarClient = true;
|
||||
}
|
||||
}
|
||||
private string _varClient;
|
||||
private bool _flagvarClient;
|
||||
private string _VarClient;
|
||||
private bool _flagVarClient;
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as varClient should not be serialized given that it's read-only.
|
||||
/// Returns false as VarClient should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevarClient()
|
||||
public bool ShouldSerializeVarClient()
|
||||
{
|
||||
return _flagvarClient;
|
||||
return _flagVarClient;
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -84,7 +84,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -128,9 +128,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -119,16 +119,16 @@ namespace Org.OpenAPITools.Model
|
||||
return _flagProperty;
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -149,7 +149,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -199,7 +199,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**Property** | **string** | | [optional]
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -55,12 +55,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'var123List'
|
||||
/// Test the property 'Var123List'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void var123ListTest()
|
||||
public void Var123ListTest()
|
||||
{
|
||||
// TODO unit test for the property 'var123List'
|
||||
// TODO unit test for the property 'Var123List'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -55,12 +55,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'varClient'
|
||||
/// Test the property 'VarClient'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void varClientTest()
|
||||
public void VarClientTest()
|
||||
{
|
||||
// TODO unit test for the property 'varClient'
|
||||
// TODO unit test for the property 'VarClient'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -79,12 +79,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
// TODO unit test for the property 'SnakeCase'
|
||||
}
|
||||
/// <summary>
|
||||
/// Test the property 'var123Number'
|
||||
/// Test the property 'Var123Number'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void var123NumberTest()
|
||||
public void Var123NumberTest()
|
||||
{
|
||||
// TODO unit test for the property 'var123Number'
|
||||
// TODO unit test for the property 'Var123Number'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -37,17 +37,17 @@ namespace Org.OpenAPITools.Model
|
||||
[JsonConstructor]
|
||||
public List(string var123List)
|
||||
{
|
||||
var123List = var123List;
|
||||
Var123List = var123List;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
partial void OnCreated();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[JsonPropertyName("123-list")]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
writer.WriteStartObject();
|
||||
|
||||
writer.WriteString("123-list", list.var123List);
|
||||
writer.WriteString("123-list", list.Var123List);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -37,17 +37,17 @@ namespace Org.OpenAPITools.Model
|
||||
[JsonConstructor]
|
||||
public ModelClient(string varClient)
|
||||
{
|
||||
varClient = varClient;
|
||||
VarClient = varClient;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
partial void OnCreated();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[JsonPropertyName("client")]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
writer.WriteStartObject();
|
||||
|
||||
writer.WriteString("client", modelClient.varClient);
|
||||
writer.WriteString("client", modelClient.VarClient);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model
|
||||
VarName = varName;
|
||||
Property = property;
|
||||
SnakeCase = snakeCase;
|
||||
var123Number = var123Number;
|
||||
Var123Number = var123Number;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@ -68,10 +68,10 @@ namespace Org.OpenAPITools.Model
|
||||
public int SnakeCase { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[JsonPropertyName("123Number")]
|
||||
public int var123Number { get; }
|
||||
public int Var123Number { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -126,7 +126,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
int hashCode = 41;
|
||||
hashCode = (hashCode * 59) + SnakeCase.GetHashCode();
|
||||
hashCode = (hashCode * 59) + var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + Var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + AdditionalProperties.GetHashCode();
|
||||
|
||||
return hashCode;
|
||||
@ -236,7 +236,7 @@ namespace Org.OpenAPITools.Model
|
||||
writer.WriteNumber("name", name.VarName);
|
||||
writer.WriteString("property", name.Property);
|
||||
writer.WriteNumber("snake_case", name.SnakeCase);
|
||||
writer.WriteNumber("123Number", name.var123Number);
|
||||
writer.WriteNumber("123Number", name.Var123Number);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**Property** | **string** | | [optional]
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -55,12 +55,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'var123List'
|
||||
/// Test the property 'Var123List'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void var123ListTest()
|
||||
public void Var123ListTest()
|
||||
{
|
||||
// TODO unit test for the property 'var123List'
|
||||
// TODO unit test for the property 'Var123List'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -55,12 +55,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'varClient'
|
||||
/// Test the property 'VarClient'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void varClientTest()
|
||||
public void VarClientTest()
|
||||
{
|
||||
// TODO unit test for the property 'varClient'
|
||||
// TODO unit test for the property 'VarClient'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -79,12 +79,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
// TODO unit test for the property 'SnakeCase'
|
||||
}
|
||||
/// <summary>
|
||||
/// Test the property 'var123Number'
|
||||
/// Test the property 'Var123Number'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void var123NumberTest()
|
||||
public void Var123NumberTest()
|
||||
{
|
||||
// TODO unit test for the property 'var123Number'
|
||||
// TODO unit test for the property 'Var123Number'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -35,17 +35,17 @@ namespace Org.OpenAPITools.Model
|
||||
[JsonConstructor]
|
||||
public List(string var123List)
|
||||
{
|
||||
var123List = var123List;
|
||||
Var123List = var123List;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
partial void OnCreated();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[JsonPropertyName("123-list")]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -61,7 +61,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -143,7 +143,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
writer.WriteStartObject();
|
||||
|
||||
writer.WriteString("123-list", list.var123List);
|
||||
writer.WriteString("123-list", list.Var123List);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -35,17 +35,17 @@ namespace Org.OpenAPITools.Model
|
||||
[JsonConstructor]
|
||||
public ModelClient(string varClient)
|
||||
{
|
||||
varClient = varClient;
|
||||
VarClient = varClient;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
partial void OnCreated();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[JsonPropertyName("client")]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -61,7 +61,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -143,7 +143,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
writer.WriteStartObject();
|
||||
|
||||
writer.WriteString("client", modelClient.varClient);
|
||||
writer.WriteString("client", modelClient.VarClient);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ namespace Org.OpenAPITools.Model
|
||||
VarName = varName;
|
||||
Property = property;
|
||||
SnakeCase = snakeCase;
|
||||
var123Number = var123Number;
|
||||
Var123Number = var123Number;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@ -66,10 +66,10 @@ namespace Org.OpenAPITools.Model
|
||||
public int SnakeCase { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[JsonPropertyName("123Number")]
|
||||
public int var123Number { get; }
|
||||
public int Var123Number { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -124,7 +124,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
int hashCode = 41;
|
||||
hashCode = (hashCode * 59) + SnakeCase.GetHashCode();
|
||||
hashCode = (hashCode * 59) + var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + Var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + AdditionalProperties.GetHashCode();
|
||||
|
||||
return hashCode;
|
||||
@ -234,7 +234,7 @@ namespace Org.OpenAPITools.Model
|
||||
writer.WriteNumber("name", name.VarName);
|
||||
writer.WriteString("property", name.Property);
|
||||
writer.WriteNumber("snake_case", name.SnakeCase);
|
||||
writer.WriteNumber("123Number", name.var123Number);
|
||||
writer.WriteNumber("123Number", name.Var123Number);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**Property** | **string** | | [optional]
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
|
@ -55,12 +55,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'var123List'
|
||||
/// Test the property 'Var123List'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void var123ListTest()
|
||||
public void Var123ListTest()
|
||||
{
|
||||
// TODO unit test for the property 'var123List'
|
||||
// TODO unit test for the property 'Var123List'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -55,12 +55,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'varClient'
|
||||
/// Test the property 'VarClient'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void varClientTest()
|
||||
public void VarClientTest()
|
||||
{
|
||||
// TODO unit test for the property 'varClient'
|
||||
// TODO unit test for the property 'VarClient'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -79,12 +79,12 @@ namespace Org.OpenAPITools.Test.Model
|
||||
// TODO unit test for the property 'SnakeCase'
|
||||
}
|
||||
/// <summary>
|
||||
/// Test the property 'var123Number'
|
||||
/// Test the property 'Var123Number'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void var123NumberTest()
|
||||
public void Var123NumberTest()
|
||||
{
|
||||
// TODO unit test for the property 'var123Number'
|
||||
// TODO unit test for the property 'Var123Number'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -35,17 +35,17 @@ namespace Org.OpenAPITools.Model
|
||||
[JsonConstructor]
|
||||
public List(string var123List)
|
||||
{
|
||||
var123List = var123List;
|
||||
Var123List = var123List;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
partial void OnCreated();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[JsonPropertyName("123-list")]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -61,7 +61,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -143,7 +143,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
writer.WriteStartObject();
|
||||
|
||||
writer.WriteString("123-list", list.var123List);
|
||||
writer.WriteString("123-list", list.Var123List);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -35,17 +35,17 @@ namespace Org.OpenAPITools.Model
|
||||
[JsonConstructor]
|
||||
public ModelClient(string varClient)
|
||||
{
|
||||
varClient = varClient;
|
||||
VarClient = varClient;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
partial void OnCreated();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[JsonPropertyName("client")]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -61,7 +61,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -143,7 +143,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
writer.WriteStartObject();
|
||||
|
||||
writer.WriteString("client", modelClient.varClient);
|
||||
writer.WriteString("client", modelClient.VarClient);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ namespace Org.OpenAPITools.Model
|
||||
VarName = varName;
|
||||
Property = property;
|
||||
SnakeCase = snakeCase;
|
||||
var123Number = var123Number;
|
||||
Var123Number = var123Number;
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@ -66,10 +66,10 @@ namespace Org.OpenAPITools.Model
|
||||
public int SnakeCase { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[JsonPropertyName("123Number")]
|
||||
public int var123Number { get; }
|
||||
public int Var123Number { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -88,7 +88,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -124,7 +124,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
int hashCode = 41;
|
||||
hashCode = (hashCode * 59) + SnakeCase.GetHashCode();
|
||||
hashCode = (hashCode * 59) + var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + Var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + AdditionalProperties.GetHashCode();
|
||||
|
||||
return hashCode;
|
||||
@ -234,7 +234,7 @@ namespace Org.OpenAPITools.Model
|
||||
writer.WriteNumber("name", name.VarName);
|
||||
writer.WriteString("property", name.Property);
|
||||
writer.WriteNumber("snake_case", name.SnakeCase);
|
||||
writer.WriteNumber("123Number", name.var123Number);
|
||||
writer.WriteNumber("123Number", name.Var123Number);
|
||||
|
||||
writer.WriteEndObject();
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -39,15 +39,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this.var123List = var123List;
|
||||
this.Var123List = var123List;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -107,9 +107,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -39,15 +39,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this.varClient = varClient;
|
||||
this.VarClient = varClient;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -107,9 +107,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -80,16 +80,16 @@ namespace Org.OpenAPITools.Model
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -110,7 +110,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -160,7 +160,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this.var123List = var123List;
|
||||
this.Var123List = var123List;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this.varClient = varClient;
|
||||
this.VarClient = varClient;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -79,16 +79,16 @@ namespace Org.OpenAPITools.Model
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -109,7 +109,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this.var123List = var123List;
|
||||
this.Var123List = var123List;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this.varClient = varClient;
|
||||
this.VarClient = varClient;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -79,16 +79,16 @@ namespace Org.OpenAPITools.Model
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -109,7 +109,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this.var123List = var123List;
|
||||
this.Var123List = var123List;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this.varClient = varClient;
|
||||
this.VarClient = varClient;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -79,16 +79,16 @@ namespace Org.OpenAPITools.Model
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -109,7 +109,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -36,14 +36,14 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this.var123List = var123List;
|
||||
this.Var123List = var123List;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns the string presentation of the object
|
||||
@ -53,7 +53,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
}
|
||||
@ -90,9 +90,9 @@ namespace Org.OpenAPITools.Model
|
||||
}
|
||||
return
|
||||
(
|
||||
this.var123List == input.var123List ||
|
||||
(this.var123List != null &&
|
||||
this.var123List.Equals(input.var123List))
|
||||
this.Var123List == input.Var123List ||
|
||||
(this.Var123List != null &&
|
||||
this.Var123List.Equals(input.Var123List))
|
||||
);
|
||||
}
|
||||
|
||||
@ -105,9 +105,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
return hashCode;
|
||||
}
|
||||
|
@ -36,14 +36,14 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this.varClient = varClient;
|
||||
this.VarClient = varClient;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns the string presentation of the object
|
||||
@ -53,7 +53,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
}
|
||||
@ -90,9 +90,9 @@ namespace Org.OpenAPITools.Model
|
||||
}
|
||||
return
|
||||
(
|
||||
this.varClient == input.varClient ||
|
||||
(this.varClient != null &&
|
||||
this.varClient.Equals(input.varClient))
|
||||
this.VarClient == input.VarClient ||
|
||||
(this.VarClient != null &&
|
||||
this.VarClient.Equals(input.VarClient))
|
||||
);
|
||||
}
|
||||
|
||||
@ -105,9 +105,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
return hashCode;
|
||||
}
|
||||
|
@ -73,16 +73,16 @@ namespace Org.OpenAPITools.Model
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -97,7 +97,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
}
|
||||
@ -147,8 +147,8 @@ namespace Org.OpenAPITools.Model
|
||||
this.Property.Equals(input.Property))
|
||||
) &&
|
||||
(
|
||||
this.var123Number == input.var123Number ||
|
||||
this.var123Number.Equals(input.var123Number)
|
||||
this.Var123Number == input.Var123Number ||
|
||||
this.Var123Number.Equals(input.Var123Number)
|
||||
);
|
||||
}
|
||||
|
||||
@ -167,7 +167,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
return hashCode;
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this.var123List = var123List;
|
||||
this.Var123List = var123List;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -38,15 +38,15 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this.varClient = varClient;
|
||||
this.VarClient = varClient;
|
||||
this.AdditionalProperties = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets additional properties
|
||||
@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -106,9 +106,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
|
@ -79,16 +79,16 @@ namespace Org.OpenAPITools.Model
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -109,7 +109,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**var123List** | **string** | | [optional]
|
||||
**Var123List** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**varClient** | **string** | | [optional]
|
||||
**VarClient** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
||||
**VarName** | **int** | |
|
||||
**SnakeCase** | **int** | | [optional] [readonly]
|
||||
**Property** | **string** | | [optional]
|
||||
**var123Number** | **int** | | [optional] [readonly]
|
||||
**Var123Number** | **int** | | [optional] [readonly]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -38,14 +38,14 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="var123List">var123List.</param>
|
||||
public List(string var123List = default(string))
|
||||
{
|
||||
this.var123List = var123List;
|
||||
this.Var123List = var123List;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123List
|
||||
/// Gets or Sets Var123List
|
||||
/// </summary>
|
||||
[DataMember(Name = "123-list", EmitDefaultValue = false)]
|
||||
public string var123List { get; set; }
|
||||
public string Var123List { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns the string presentation of the object
|
||||
@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class List {\n");
|
||||
sb.Append(" var123List: ").Append(var123List).Append("\n");
|
||||
sb.Append(" Var123List: ").Append(Var123List).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
}
|
||||
@ -98,9 +98,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.var123List != null)
|
||||
if (this.Var123List != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.var123List.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123List.GetHashCode();
|
||||
}
|
||||
return hashCode;
|
||||
}
|
||||
|
@ -38,14 +38,14 @@ namespace Org.OpenAPITools.Model
|
||||
/// <param name="varClient">varClient.</param>
|
||||
public ModelClient(string varClient = default(string))
|
||||
{
|
||||
this.varClient = varClient;
|
||||
this.VarClient = varClient;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets varClient
|
||||
/// Gets or Sets VarClient
|
||||
/// </summary>
|
||||
[DataMember(Name = "client", EmitDefaultValue = false)]
|
||||
public string varClient { get; set; }
|
||||
public string VarClient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns the string presentation of the object
|
||||
@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("class ModelClient {\n");
|
||||
sb.Append(" varClient: ").Append(varClient).Append("\n");
|
||||
sb.Append(" VarClient: ").Append(VarClient).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
}
|
||||
@ -98,9 +98,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.varClient != null)
|
||||
if (this.VarClient != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.varClient.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.VarClient.GetHashCode();
|
||||
}
|
||||
return hashCode;
|
||||
}
|
||||
|
@ -75,16 +75,16 @@ namespace Org.OpenAPITools.Model
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets var123Number
|
||||
/// Gets or Sets Var123Number
|
||||
/// </summary>
|
||||
[DataMember(Name = "123Number", EmitDefaultValue = false)]
|
||||
public int var123Number { get; private set; }
|
||||
public int Var123Number { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns false as var123Number should not be serialized given that it's read-only.
|
||||
/// Returns false as Var123Number should not be serialized given that it's read-only.
|
||||
/// </summary>
|
||||
/// <returns>false (boolean)</returns>
|
||||
public bool ShouldSerializevar123Number()
|
||||
public bool ShouldSerializeVar123Number()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -99,7 +99,7 @@ namespace Org.OpenAPITools.Model
|
||||
sb.Append(" VarName: ").Append(VarName).Append("\n");
|
||||
sb.Append(" SnakeCase: ").Append(SnakeCase).Append("\n");
|
||||
sb.Append(" Property: ").Append(Property).Append("\n");
|
||||
sb.Append(" var123Number: ").Append(var123Number).Append("\n");
|
||||
sb.Append(" Var123Number: ").Append(Var123Number).Append("\n");
|
||||
sb.Append("}\n");
|
||||
return sb.ToString();
|
||||
}
|
||||
@ -148,7 +148,7 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Property.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.var123Number.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Var123Number.GetHashCode();
|
||||
return hashCode;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user