Package com.adyen.model.management
Class CompanyLinks
- java.lang.Object
-
- com.adyen.model.management.CompanyLinks
-
public class CompanyLinks extends Object
CompanyLinks
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompanyLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_API_CREDENTIALSstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_USERSstatic StringSERIALIZED_NAME_WEBHOOKS
-
Constructor Summary
Constructors Constructor Description CompanyLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanyLinksapiCredentials(LinksElement apiCredentials)booleanequals(Object o)static CompanyLinksfromJson(String jsonString)Create an instance of CompanyLinks given an JSON stringLinksElementgetApiCredentials()Get apiCredentialsLinksElementgetSelf()Get selfLinksElementgetUsers()Get usersLinksElementgetWebhooks()Get webhooksinthashCode()CompanyLinksself(LinksElement self)voidsetApiCredentials(LinksElement apiCredentials)voidsetSelf(LinksElement self)voidsetUsers(LinksElement users)voidsetWebhooks(LinksElement webhooks)StringtoJson()Convert an instance of CompanyLinks to an JSON stringStringtoString()CompanyLinksusers(LinksElement users)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundCompanyLinkswebhooks(LinksElement webhooks)
-
-
-
Field Detail
-
SERIALIZED_NAME_API_CREDENTIALS
public static final String SERIALIZED_NAME_API_CREDENTIALS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USERS
public static final String SERIALIZED_NAME_USERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBHOOKS
public static final String SERIALIZED_NAME_WEBHOOKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiCredentials
public CompanyLinks apiCredentials(LinksElement apiCredentials)
-
getApiCredentials
public LinksElement getApiCredentials()
Get apiCredentials- Returns:
- apiCredentials
-
setApiCredentials
public void setApiCredentials(LinksElement apiCredentials)
-
self
public CompanyLinks self(LinksElement self)
-
getSelf
public LinksElement getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
-
users
public CompanyLinks users(LinksElement users)
-
getUsers
public LinksElement getUsers()
Get users- Returns:
- users
-
setUsers
public void setUsers(LinksElement users)
-
webhooks
public CompanyLinks webhooks(LinksElement webhooks)
-
getWebhooks
public LinksElement getWebhooks()
Get webhooks- Returns:
- webhooks
-
setWebhooks
public void setWebhooks(LinksElement webhooks)
-
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 CompanyLinks
-
fromJson
public static CompanyLinks fromJson(String jsonString) throws IOException
Create an instance of CompanyLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CompanyLinks
- Throws:
IOException- if the JSON string is invalid with respect to CompanyLinks
-
toJson
public String toJson()
Convert an instance of CompanyLinks to an JSON string- Returns:
- JSON string
-
-