Class WebData
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.WebData
-
public class WebData extends Object
WebData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_WEB_ADDRESSstatic StringSERIALIZED_NAME_WEB_ADDRESS_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static WebDatafromJson(String jsonString)Create an instance of WebData given an JSON stringStringgetWebAddress()The URL of the website or the app store URL.StringgetWebAddressId()The unique identifier of the web address.inthashCode()voidsetWebAddress(String webAddress)StringtoJson()Convert an instance of WebData to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundWebDatawebAddress(String webAddress)
-
-
-
Field Detail
-
SERIALIZED_NAME_WEB_ADDRESS
public static final String SERIALIZED_NAME_WEB_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEB_ADDRESS_ID
public static final String SERIALIZED_NAME_WEB_ADDRESS_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebData
public WebData()
-
WebData
public WebData(String webAddressId)
-
-
Method Detail
-
getWebAddress
public String getWebAddress()
The URL of the website or the app store URL.- Returns:
- webAddress
-
setWebAddress
public void setWebAddress(String webAddress)
-
getWebAddressId
public String getWebAddressId()
The unique identifier of the web address.- Returns:
- webAddressId
-
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 WebData
-
fromJson
public static WebData fromJson(String jsonString) throws IOException
Create an instance of WebData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebData
- Throws:
IOException- if the JSON string is invalid with respect to WebData
-
toJson
public String toJson()
Convert an instance of WebData to an JSON string- Returns:
- JSON string
-
-