Skip to content

Commit 7c220fc

Browse files
committed
regenerate samples
1 parent c5b4e48 commit 7c220fc

File tree

8,921 files changed

+157711
-182505
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,921 files changed

+157711
-182505
lines changed

samples/client/echo_api/csharp/restsharp/net8/EchoApi/Org.OpenAPITools.sln

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{322C8CAF-0156-40C1-AE42-D59761FB9B6C}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{6476C671-F1D7-4B32-AD90-EF21601E33CF}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools.Test", "src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{322C8CAF-0156-40C1-AE42-D59761FB9B6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{322C8CAF-0156-40C1-AE42-D59761FB9B6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{322C8CAF-0156-40C1-AE42-D59761FB9B6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{322C8CAF-0156-40C1-AE42-D59761FB9B6C}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{6476C671-F1D7-4B32-AD90-EF21601E33CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{6476C671-F1D7-4B32-AD90-EF21601E33CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{6476C671-F1D7-4B32-AD90-EF21601E33CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{6476C671-F1D7-4B32-AD90-EF21601E33CF}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>Org.OpenAPITools.Test</AssemblyName>
55
<RootNamespace>Org.OpenAPITools.Test</RootNamespace>
6-
<TargetFramework>net8.0</TargetFramework>
6+
<TargetFramework>net9.0</TargetFramework>
77
<IsPackable>false</IsPackable>
88
<Nullable>annotations</Nullable>
99
</PropertyGroup>

samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/Bird.cs

+1-56
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Model
3030
/// Bird
3131
/// </summary>
3232
[DataContract(Name = "Bird")]
33-
public partial class Bird : IEquatable<Bird>, IValidatableObject
33+
public partial class Bird : IValidatableObject
3434
{
3535
/// <summary>
3636
/// Initializes a new instance of the <see cref="Bird" /> class.
@@ -78,61 +78,6 @@ public virtual string ToJson()
7878
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
7979
}
8080

81-
/// <summary>
82-
/// Returns true if objects are equal
83-
/// </summary>
84-
/// <param name="input">Object to be compared</param>
85-
/// <returns>Boolean</returns>
86-
public override bool Equals(object input)
87-
{
88-
return this.Equals(input as Bird);
89-
}
90-
91-
/// <summary>
92-
/// Returns true if Bird instances are equal
93-
/// </summary>
94-
/// <param name="input">Instance of Bird to be compared</param>
95-
/// <returns>Boolean</returns>
96-
public bool Equals(Bird input)
97-
{
98-
if (input == null)
99-
{
100-
return false;
101-
}
102-
return
103-
(
104-
this.Size == input.Size ||
105-
(this.Size != null &&
106-
this.Size.Equals(input.Size))
107-
) &&
108-
(
109-
this.Color == input.Color ||
110-
(this.Color != null &&
111-
this.Color.Equals(input.Color))
112-
);
113-
}
114-
115-
/// <summary>
116-
/// Gets the hash code
117-
/// </summary>
118-
/// <returns>Hash code</returns>
119-
public override int GetHashCode()
120-
{
121-
unchecked // Overflow is fine, just wrap
122-
{
123-
int hashCode = 41;
124-
if (this.Size != null)
125-
{
126-
hashCode = (hashCode * 59) + this.Size.GetHashCode();
127-
}
128-
if (this.Color != null)
129-
{
130-
hashCode = (hashCode * 59) + this.Color.GetHashCode();
131-
}
132-
return hashCode;
133-
}
134-
}
135-
13681
/// <summary>
13782
/// To validate all properties of the instance
13883
/// </summary>

samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/Category.cs

+1-52
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Model
3030
/// Category
3131
/// </summary>
3232
[DataContract(Name = "Category")]
33-
public partial class Category : IEquatable<Category>, IValidatableObject
33+
public partial class Category : IValidatableObject
3434
{
3535
/// <summary>
3636
/// Initializes a new instance of the <see cref="Category" /> class.
@@ -84,57 +84,6 @@ public virtual string ToJson()
8484
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
8585
}
8686

87-
/// <summary>
88-
/// Returns true if objects are equal
89-
/// </summary>
90-
/// <param name="input">Object to be compared</param>
91-
/// <returns>Boolean</returns>
92-
public override bool Equals(object input)
93-
{
94-
return this.Equals(input as Category);
95-
}
96-
97-
/// <summary>
98-
/// Returns true if Category instances are equal
99-
/// </summary>
100-
/// <param name="input">Instance of Category to be compared</param>
101-
/// <returns>Boolean</returns>
102-
public bool Equals(Category input)
103-
{
104-
if (input == null)
105-
{
106-
return false;
107-
}
108-
return
109-
(
110-
this.Id == input.Id ||
111-
this.Id.Equals(input.Id)
112-
) &&
113-
(
114-
this.Name == input.Name ||
115-
(this.Name != null &&
116-
this.Name.Equals(input.Name))
117-
);
118-
}
119-
120-
/// <summary>
121-
/// Gets the hash code
122-
/// </summary>
123-
/// <returns>Hash code</returns>
124-
public override int GetHashCode()
125-
{
126-
unchecked // Overflow is fine, just wrap
127-
{
128-
int hashCode = 41;
129-
hashCode = (hashCode * 59) + this.Id.GetHashCode();
130-
if (this.Name != null)
131-
{
132-
hashCode = (hashCode * 59) + this.Name.GetHashCode();
133-
}
134-
return hashCode;
135-
}
136-
}
137-
13887
/// <summary>
13988
/// To validate all properties of the instance
14089
/// </summary>

samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/DataQuery.cs

+1-65
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Model
3030
/// DataQuery
3131
/// </summary>
3232
[DataContract(Name = "DataQuery")]
33-
public partial class DataQuery : Query, IEquatable<DataQuery>, IValidatableObject
33+
public partial class DataQuery : Query, IValidatableObject
3434
{
3535
/// <summary>
3636
/// Initializes a new instance of the <see cref="DataQuery" /> class.
@@ -96,70 +96,6 @@ public override string ToJson()
9696
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
9797
}
9898

99-
/// <summary>
100-
/// Returns true if objects are equal
101-
/// </summary>
102-
/// <param name="input">Object to be compared</param>
103-
/// <returns>Boolean</returns>
104-
public override bool Equals(object input)
105-
{
106-
return this.Equals(input as DataQuery);
107-
}
108-
109-
/// <summary>
110-
/// Returns true if DataQuery instances are equal
111-
/// </summary>
112-
/// <param name="input">Instance of DataQuery to be compared</param>
113-
/// <returns>Boolean</returns>
114-
public bool Equals(DataQuery input)
115-
{
116-
if (input == null)
117-
{
118-
return false;
119-
}
120-
return base.Equals(input) &&
121-
(
122-
this.Suffix == input.Suffix ||
123-
(this.Suffix != null &&
124-
this.Suffix.Equals(input.Suffix))
125-
) && base.Equals(input) &&
126-
(
127-
this.Text == input.Text ||
128-
(this.Text != null &&
129-
this.Text.Equals(input.Text))
130-
) && base.Equals(input) &&
131-
(
132-
this.Date == input.Date ||
133-
(this.Date != null &&
134-
this.Date.Equals(input.Date))
135-
);
136-
}
137-
138-
/// <summary>
139-
/// Gets the hash code
140-
/// </summary>
141-
/// <returns>Hash code</returns>
142-
public override int GetHashCode()
143-
{
144-
unchecked // Overflow is fine, just wrap
145-
{
146-
int hashCode = base.GetHashCode();
147-
if (this.Suffix != null)
148-
{
149-
hashCode = (hashCode * 59) + this.Suffix.GetHashCode();
150-
}
151-
if (this.Text != null)
152-
{
153-
hashCode = (hashCode * 59) + this.Text.GetHashCode();
154-
}
155-
if (this.Date != null)
156-
{
157-
hashCode = (hashCode * 59) + this.Date.GetHashCode();
158-
}
159-
return hashCode;
160-
}
161-
}
162-
16399
/// <summary>
164100
/// To validate all properties of the instance
165101
/// </summary>

samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/DefaultValue.cs

+1-117
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Org.OpenAPITools.Model
3030
/// to test the default value of properties
3131
/// </summary>
3232
[DataContract(Name = "DefaultValue")]
33-
public partial class DefaultValue : IEquatable<DefaultValue>, IValidatableObject
33+
public partial class DefaultValue : IValidatableObject
3434
{
3535
/// <summary>
3636
/// Defines ArrayStringEnumDefault
@@ -157,122 +157,6 @@ public virtual string ToJson()
157157
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
158158
}
159159

160-
/// <summary>
161-
/// Returns true if objects are equal
162-
/// </summary>
163-
/// <param name="input">Object to be compared</param>
164-
/// <returns>Boolean</returns>
165-
public override bool Equals(object input)
166-
{
167-
return this.Equals(input as DefaultValue);
168-
}
169-
170-
/// <summary>
171-
/// Returns true if DefaultValue instances are equal
172-
/// </summary>
173-
/// <param name="input">Instance of DefaultValue to be compared</param>
174-
/// <returns>Boolean</returns>
175-
public bool Equals(DefaultValue input)
176-
{
177-
if (input == null)
178-
{
179-
return false;
180-
}
181-
return
182-
(
183-
this.ArrayStringEnumRefDefault == input.ArrayStringEnumRefDefault ||
184-
this.ArrayStringEnumRefDefault != null &&
185-
input.ArrayStringEnumRefDefault != null &&
186-
this.ArrayStringEnumRefDefault.SequenceEqual(input.ArrayStringEnumRefDefault)
187-
) &&
188-
(
189-
this.ArrayStringEnumDefault == input.ArrayStringEnumDefault ||
190-
this.ArrayStringEnumDefault != null &&
191-
input.ArrayStringEnumDefault != null &&
192-
this.ArrayStringEnumDefault.SequenceEqual(input.ArrayStringEnumDefault)
193-
) &&
194-
(
195-
this.ArrayStringDefault == input.ArrayStringDefault ||
196-
this.ArrayStringDefault != null &&
197-
input.ArrayStringDefault != null &&
198-
this.ArrayStringDefault.SequenceEqual(input.ArrayStringDefault)
199-
) &&
200-
(
201-
this.ArrayIntegerDefault == input.ArrayIntegerDefault ||
202-
this.ArrayIntegerDefault != null &&
203-
input.ArrayIntegerDefault != null &&
204-
this.ArrayIntegerDefault.SequenceEqual(input.ArrayIntegerDefault)
205-
) &&
206-
(
207-
this.ArrayString == input.ArrayString ||
208-
this.ArrayString != null &&
209-
input.ArrayString != null &&
210-
this.ArrayString.SequenceEqual(input.ArrayString)
211-
) &&
212-
(
213-
this.ArrayStringNullable == input.ArrayStringNullable ||
214-
this.ArrayStringNullable != null &&
215-
input.ArrayStringNullable != null &&
216-
this.ArrayStringNullable.SequenceEqual(input.ArrayStringNullable)
217-
) &&
218-
(
219-
this.ArrayStringExtensionNullable == input.ArrayStringExtensionNullable ||
220-
this.ArrayStringExtensionNullable != null &&
221-
input.ArrayStringExtensionNullable != null &&
222-
this.ArrayStringExtensionNullable.SequenceEqual(input.ArrayStringExtensionNullable)
223-
) &&
224-
(
225-
this.StringNullable == input.StringNullable ||
226-
(this.StringNullable != null &&
227-
this.StringNullable.Equals(input.StringNullable))
228-
);
229-
}
230-
231-
/// <summary>
232-
/// Gets the hash code
233-
/// </summary>
234-
/// <returns>Hash code</returns>
235-
public override int GetHashCode()
236-
{
237-
unchecked // Overflow is fine, just wrap
238-
{
239-
int hashCode = 41;
240-
if (this.ArrayStringEnumRefDefault != null)
241-
{
242-
hashCode = (hashCode * 59) + this.ArrayStringEnumRefDefault.GetHashCode();
243-
}
244-
if (this.ArrayStringEnumDefault != null)
245-
{
246-
hashCode = (hashCode * 59) + this.ArrayStringEnumDefault.GetHashCode();
247-
}
248-
if (this.ArrayStringDefault != null)
249-
{
250-
hashCode = (hashCode * 59) + this.ArrayStringDefault.GetHashCode();
251-
}
252-
if (this.ArrayIntegerDefault != null)
253-
{
254-
hashCode = (hashCode * 59) + this.ArrayIntegerDefault.GetHashCode();
255-
}
256-
if (this.ArrayString != null)
257-
{
258-
hashCode = (hashCode * 59) + this.ArrayString.GetHashCode();
259-
}
260-
if (this.ArrayStringNullable != null)
261-
{
262-
hashCode = (hashCode * 59) + this.ArrayStringNullable.GetHashCode();
263-
}
264-
if (this.ArrayStringExtensionNullable != null)
265-
{
266-
hashCode = (hashCode * 59) + this.ArrayStringExtensionNullable.GetHashCode();
267-
}
268-
if (this.StringNullable != null)
269-
{
270-
hashCode = (hashCode * 59) + this.StringNullable.GetHashCode();
271-
}
272-
return hashCode;
273-
}
274-
}
275-
276160
/// <summary>
277161
/// To validate all properties of the instance
278162
/// </summary>

0 commit comments

Comments
 (0)