Package model
Class TransfersListEmbedded
- java.lang.Object
-
- model.TransfersListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class TransfersListEmbedded extends Object
List of `Transfer` objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransfersListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TRANSFERS
-
Constructor Summary
Constructors Constructor Description TransfersListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransfersListEmbeddedaddTransfersItem(Transfer transfersItem)booleanequals(Object o)static TransfersListEmbeddedfromJson(String jsonString)Create an instance of TransfersListEmbedded given an JSON stringSet<Transfer>getTransfers()`Transfer` objects.inthashCode()voidsetTransfers(Set<Transfer> transfers)StringtoJson()Convert an instance of TransfersListEmbedded to an JSON stringStringtoString()TransfersListEmbeddedtransfers(Set<Transfer> transfers)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
transfers
public TransfersListEmbedded transfers(Set<Transfer> transfers)
-
addTransfersItem
public TransfersListEmbedded addTransfersItem(Transfer transfersItem)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to TransfersListEmbedded
-
fromJson
public static TransfersListEmbedded fromJson(String jsonString) throws IOException
Create an instance of TransfersListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransfersListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to TransfersListEmbedded
-
toJson
public String toJson()
Convert an instance of TransfersListEmbedded to an JSON string- Returns:
- JSON string
-
-