-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from regulaforensics/f49c8ae3
update-clients
- Loading branch information
Showing
5 changed files
with
167 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
125 changes: 125 additions & 0 deletions
125
...in/generated/com/regula/documentreader/webclient/model/ListTransactionsByTagResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
/* | ||
* 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.2.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.ArrayList; | ||
import java.util.HashMap; | ||
import java.util.List; | ||
import java.util.Map; | ||
import java.util.Objects; | ||
|
||
/** ListTransactionsByTagResponse */ | ||
public class ListTransactionsByTagResponse { | ||
public static final String SERIALIZED_NAME_ITEMS = "items"; | ||
|
||
@SerializedName(SERIALIZED_NAME_ITEMS) | ||
private List<GetTransactionsByTagResponse> items = null; | ||
|
||
public static final String SERIALIZED_NAME_METADATA = "metadata"; | ||
|
||
@SerializedName(SERIALIZED_NAME_METADATA) | ||
private Map<String, Object> metadata = null; | ||
|
||
public ListTransactionsByTagResponse withItems(List<GetTransactionsByTagResponse> items) { | ||
this.items = items; | ||
return this; | ||
} | ||
|
||
public ListTransactionsByTagResponse addItemsItem(GetTransactionsByTagResponse itemsItem) { | ||
if (this.items == null) { | ||
this.items = new ArrayList<GetTransactionsByTagResponse>(); | ||
} | ||
this.items.add(itemsItem); | ||
return this; | ||
} | ||
|
||
/** | ||
* Get items | ||
* | ||
* @return items | ||
*/ | ||
@javax.annotation.Nullable | ||
public List<GetTransactionsByTagResponse> getItems() { | ||
return items; | ||
} | ||
|
||
public void setItems(List<GetTransactionsByTagResponse> items) { | ||
this.items = items; | ||
} | ||
|
||
public ListTransactionsByTagResponse withMetadata(Map<String, Object> metadata) { | ||
this.metadata = metadata; | ||
return this; | ||
} | ||
|
||
public ListTransactionsByTagResponse putMetadataItem(String key, Object metadataItem) { | ||
if (this.metadata == null) { | ||
this.metadata = new HashMap<String, Object>(); | ||
} | ||
this.metadata.put(key, metadataItem); | ||
return this; | ||
} | ||
|
||
/** | ||
* Get metadata | ||
* | ||
* @return metadata | ||
*/ | ||
@javax.annotation.Nullable | ||
public Map<String, Object> getMetadata() { | ||
return metadata; | ||
} | ||
|
||
public void setMetadata(Map<String, Object> metadata) { | ||
this.metadata = metadata; | ||
} | ||
|
||
@Override | ||
public boolean equals(java.lang.Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
ListTransactionsByTagResponse listTransactionsByTagResponse = (ListTransactionsByTagResponse) o; | ||
return Objects.equals(this.items, listTransactionsByTagResponse.items) | ||
&& Objects.equals(this.metadata, listTransactionsByTagResponse.metadata); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(items, metadata); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class ListTransactionsByTagResponse {\n"); | ||
sb.append(" items: ").append(toIndentedString(items)).append("\n"); | ||
sb.append(" metadata: ").append(toIndentedString(metadata)).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 "); | ||
} | ||
} |