Package eu.europeana.apikey.domain
Class ApiKeyRequest
java.lang.Object
eu.europeana.apikey.domain.ApiKeyRequest
API-key object as it is defined for incoming requests (e.g. register new key, update a key)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets app name.Gets company.getEmail()Gets email.Gets first name.Gets last name.Gets sector.Gets website.
-
Constructor Details
-
ApiKeyRequest
public ApiKeyRequest()Instantiates a new Api key request. -
ApiKeyRequest
public ApiKeyRequest(String firstName, String lastName, String email, String appName, String company) Constructor with all required fields- Parameters:
firstName- the first namelastName- the last nameemail- the emailappName- the app namecompany- the company
-
ApiKeyRequest
public ApiKeyRequest(String firstName, String lastName, String email, String appName, String company, String sector, String website) Constructor with all supported fields- Parameters:
firstName- the first namelastName- the last nameemail- the emailappName- the app namecompany- the companysector- the sectorwebsite- the website
-
-
Method Details
-
getFirstName
Gets first name.- Returns:
- the first name
-
getLastName
Gets last name.- Returns:
- the last name
-
getEmail
Gets email.- Returns:
- the email
-
getAppName
Gets app name.- Returns:
- the app name
-
getCompany
Gets company.- Returns:
- the company
-
getSector
Gets sector.- Returns:
- the sector
-
getWebsite
Gets website.- Returns:
- the website
-