Package model
Class MerchantsListEmbedded
- java.lang.Object
-
- model.MerchantsListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MerchantsListEmbedded extends Object
List of `Merchant` objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantsListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_MERCHANTS
-
Constructor Summary
Constructors Constructor Description MerchantsListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantsListEmbeddedaddMerchantsItem(Merchant merchantsItem)booleanequals(Object o)static MerchantsListEmbeddedfromJson(String jsonString)Create an instance of MerchantsListEmbedded given an JSON stringSet<Merchant>getMerchants()`Merchant` objects.inthashCode()MerchantsListEmbeddedmerchants(Set<Merchant> merchants)voidsetMerchants(Set<Merchant> merchants)StringtoJson()Convert an instance of MerchantsListEmbedded to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
merchants
public MerchantsListEmbedded merchants(Set<Merchant> merchants)
-
addMerchantsItem
public MerchantsListEmbedded addMerchantsItem(Merchant merchantsItem)
-
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 MerchantsListEmbedded
-
fromJson
public static MerchantsListEmbedded fromJson(String jsonString) throws IOException
Create an instance of MerchantsListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantsListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to MerchantsListEmbedded
-
toJson
public String toJson()
Convert an instance of MerchantsListEmbedded to an JSON string- Returns:
- JSON string
-
-