Class ApiKeyRequest

java.lang.Object
eu.europeana.apikey.domain.ApiKeyRequest

public class ApiKeyRequest extends Object
API-key object as it is defined for incoming requests (e.g. register new key, update a key)
  • 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 name
      lastName - the last name
      email - the email
      appName - the app name
      company - 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 name
      lastName - the last name
      email - the email
      appName - the app name
      company - the company
      sector - the sector
      website - the website
  • Method Details

    • getFirstName

      public String getFirstName()
      Gets first name.
      Returns:
      the first name
    • getLastName

      public String getLastName()
      Gets last name.
      Returns:
      the last name
    • getEmail

      public String getEmail()
      Gets email.
      Returns:
      the email
    • getAppName

      public String getAppName()
      Gets app name.
      Returns:
      the app name
    • getCompany

      public String getCompany()
      Gets company.
      Returns:
      the company
    • getSector

      public String getSector()
      Gets sector.
      Returns:
      the sector
    • getWebsite

      public String getWebsite()
      Gets website.
      Returns:
      the website