-
Notifications
You must be signed in to change notification settings - Fork 5
/
TransactionInfo.java
executable file
·157 lines (131 loc) · 4.34 KB
/
TransactionInfo.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/*
* Regula Document Reader Web API
* 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
*
* The version of the OpenAPI document: 7.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.regula.documentreader.webclient.model;
import com.google.gson.annotations.SerializedName;
import java.util.Objects;
/** TransactionInfo */
public class TransactionInfo {
public static final String SERIALIZED_NAME_COMPUTER_NAME = "ComputerName";
@SerializedName(SERIALIZED_NAME_COMPUTER_NAME)
private String computerName;
public static final String SERIALIZED_NAME_DATE_TIME = "DateTime";
@SerializedName(SERIALIZED_NAME_DATE_TIME)
private String dateTime;
public static final String SERIALIZED_NAME_TRANSACTION_I_D = "TransactionID";
@SerializedName(SERIALIZED_NAME_TRANSACTION_I_D)
private String transactionID;
public static final String SERIALIZED_NAME_USER_NAME = "UserName";
@SerializedName(SERIALIZED_NAME_USER_NAME)
private String userName;
public TransactionInfo withComputerName(String computerName) {
this.computerName = computerName;
return this;
}
/**
* Get computerName
*
* @return computerName
*/
@javax.annotation.Nullable
public String getComputerName() {
return computerName;
}
public void setComputerName(String computerName) {
this.computerName = computerName;
}
public TransactionInfo withDateTime(String dateTime) {
this.dateTime = dateTime;
return this;
}
/**
* Get dateTime
*
* @return dateTime
*/
@javax.annotation.Nullable
public String getDateTime() {
return dateTime;
}
public void setDateTime(String dateTime) {
this.dateTime = dateTime;
}
public TransactionInfo withTransactionID(String transactionID) {
this.transactionID = transactionID;
return this;
}
/**
* Get transactionID
*
* @return transactionID
*/
@javax.annotation.Nullable
public String getTransactionID() {
return transactionID;
}
public void setTransactionID(String transactionID) {
this.transactionID = transactionID;
}
public TransactionInfo withUserName(String userName) {
this.userName = userName;
return this;
}
/**
* Get userName
*
* @return userName
*/
@javax.annotation.Nullable
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionInfo transactionInfo = (TransactionInfo) o;
return Objects.equals(this.computerName, transactionInfo.computerName)
&& Objects.equals(this.dateTime, transactionInfo.dateTime)
&& Objects.equals(this.transactionID, transactionInfo.transactionID)
&& Objects.equals(this.userName, transactionInfo.userName);
}
@Override
public int hashCode() {
return Objects.hash(computerName, dateTime, transactionID, userName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionInfo {\n");
sb.append(" computerName: ").append(toIndentedString(computerName)).append("\n");
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
sb.append(" transactionID: ").append(toIndentedString(transactionID)).append("\n");
sb.append(" userName: ").append(toIndentedString(userName)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}