Skip to content

Commit 9f9cd8b

Browse files
committed
update-clients
1 parent 4286cc6 commit 9f9cd8b

1 file changed

Lines changed: 142 additions & 0 deletions

File tree

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* Regula Document Reader Web API
3+
*
4+
* Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
5+
*
6+
* The version of the OpenAPI document: 7.2.0
7+
*
8+
* Generated by: https://github.com/openapitools/openapi-generator.git
9+
*/
10+
11+
using System;
12+
using System.Linq;
13+
using System.IO;
14+
using System.Text;
15+
using System.Text.RegularExpressions;
16+
using System.Collections;
17+
using System.Collections.Generic;
18+
using System.Collections.ObjectModel;
19+
using System.Runtime.Serialization;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using System.ComponentModel.DataAnnotations;
23+
using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
24+
25+
namespace Regula.DocumentReader.WebClient.Model
26+
{
27+
/// <summary>
28+
/// ListTransactionsByTagResponse
29+
/// </summary>
30+
[DataContract]
31+
public partial class ListTransactionsByTagResponse : IEquatable<ListTransactionsByTagResponse>, IValidatableObject
32+
{
33+
/// <summary>
34+
/// Initializes a new instance of the <see cref="ListTransactionsByTagResponse" /> class.
35+
/// </summary>
36+
/// <param name="items">items.</param>
37+
/// <param name="metadata">metadata.</param>
38+
public ListTransactionsByTagResponse(List<GetTransactionsByTagResponse> items = default(List<GetTransactionsByTagResponse>), Dictionary<string, Object> metadata = default(Dictionary<string, Object>))
39+
{
40+
this.Items = items;
41+
this.Metadata = metadata;
42+
}
43+
44+
/// <summary>
45+
/// Gets or Sets Items
46+
/// </summary>
47+
[DataMember(Name="items", EmitDefaultValue=false)]
48+
public List<GetTransactionsByTagResponse> Items { get; set; }
49+
50+
/// <summary>
51+
/// Gets or Sets Metadata
52+
/// </summary>
53+
[DataMember(Name="metadata", EmitDefaultValue=false)]
54+
public Dictionary<string, Object> Metadata { get; set; }
55+
56+
/// <summary>
57+
/// Returns the string presentation of the object
58+
/// </summary>
59+
/// <returns>String presentation of the object</returns>
60+
public override string ToString()
61+
{
62+
var sb = new StringBuilder();
63+
sb.Append("class ListTransactionsByTagResponse {\n");
64+
sb.Append(" Items: ").Append(Items).Append("\n");
65+
sb.Append(" Metadata: ").Append(Metadata).Append("\n");
66+
sb.Append("}\n");
67+
return sb.ToString();
68+
}
69+
70+
/// <summary>
71+
/// Returns the JSON string presentation of the object
72+
/// </summary>
73+
/// <returns>JSON string presentation of the object</returns>
74+
public virtual string ToJson()
75+
{
76+
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
77+
}
78+
79+
/// <summary>
80+
/// Returns true if objects are equal
81+
/// </summary>
82+
/// <param name="input">Object to be compared</param>
83+
/// <returns>Boolean</returns>
84+
public override bool Equals(object input)
85+
{
86+
return this.Equals(input as ListTransactionsByTagResponse);
87+
}
88+
89+
/// <summary>
90+
/// Returns true if ListTransactionsByTagResponse instances are equal
91+
/// </summary>
92+
/// <param name="input">Instance of ListTransactionsByTagResponse to be compared</param>
93+
/// <returns>Boolean</returns>
94+
public bool Equals(ListTransactionsByTagResponse input)
95+
{
96+
if (input == null)
97+
return false;
98+
99+
return
100+
(
101+
this.Items == input.Items ||
102+
this.Items != null &&
103+
input.Items != null &&
104+
this.Items.SequenceEqual(input.Items)
105+
) &&
106+
(
107+
this.Metadata == input.Metadata ||
108+
this.Metadata != null &&
109+
input.Metadata != null &&
110+
this.Metadata.SequenceEqual(input.Metadata)
111+
);
112+
}
113+
114+
/// <summary>
115+
/// Gets the hash code
116+
/// </summary>
117+
/// <returns>Hash code</returns>
118+
public override int GetHashCode()
119+
{
120+
unchecked // Overflow is fine, just wrap
121+
{
122+
int hashCode = 41;
123+
if (this.Items != null)
124+
hashCode = hashCode * 59 + this.Items.GetHashCode();
125+
if (this.Metadata != null)
126+
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
127+
return hashCode;
128+
}
129+
}
130+
131+
/// <summary>
132+
/// To validate all properties of the instance
133+
/// </summary>
134+
/// <param name="validationContext">Validation context</param>
135+
/// <returns>Validation Result</returns>
136+
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
137+
{
138+
yield break;
139+
}
140+
}
141+
142+
}

0 commit comments

Comments
 (0)