public class UpsServiceClient extends com.amazon.ask.model.services.BaseServiceClient implements UpsService
Constructor and Description |
---|
UpsServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration) |
Modifier and Type | Method and Description |
---|---|
com.amazon.ask.model.services.ApiResponse<String> |
callGetPersonsProfileGivenName()
Gets the given name (first name) of the recognized speaker at person-level.
|
com.amazon.ask.model.services.ApiResponse<PhoneNumber> |
callGetPersonsProfileMobileNumber()
Gets the mobile phone number of the recognized speaker at person-level.
|
com.amazon.ask.model.services.ApiResponse<String> |
callGetPersonsProfileName()
Gets the full name of the recognized speaker at person-level.
|
com.amazon.ask.model.services.ApiResponse<String> |
callGetProfileEmail()
Gets the email address of the customer associated with the current enablement.
|
com.amazon.ask.model.services.ApiResponse<String> |
callGetProfileGivenName()
Gets the given name (first name) of the customer associated with the current enablement.
|
com.amazon.ask.model.services.ApiResponse<PhoneNumber> |
callGetProfileMobileNumber()
Gets the mobile phone number of the customer associated with the current enablement.
|
com.amazon.ask.model.services.ApiResponse<String> |
callGetProfileName()
Gets the full name of the customer associated with the current enablement.
|
com.amazon.ask.model.services.ApiResponse<DistanceUnits> |
callGetSystemDistanceUnits(String deviceId)
Gets the distance measurement unit of the device.
|
com.amazon.ask.model.services.ApiResponse<TemperatureUnit> |
callGetSystemTemperatureUnit(String deviceId)
Gets the temperature measurement units of the device.
|
com.amazon.ask.model.services.ApiResponse<String> |
callGetSystemTimeZone(String deviceId)
Gets the time zone of the device.
|
String |
getPersonsProfileGivenName()
Gets the given name (first name) of the recognized speaker at person-level.
|
PhoneNumber |
getPersonsProfileMobileNumber()
Gets the mobile phone number of the recognized speaker at person-level.
|
String |
getPersonsProfileName()
Gets the full name of the recognized speaker at person-level.
|
String |
getProfileEmail()
Gets the email address of the customer associated with the current enablement.
|
String |
getProfileGivenName()
Gets the given name (first name) of the customer associated with the current enablement.
|
PhoneNumber |
getProfileMobileNumber()
Gets the mobile phone number of the customer associated with the current enablement.
|
String |
getProfileName()
Gets the full name of the customer associated with the current enablement.
|
DistanceUnits |
getSystemDistanceUnits(String deviceId)
Gets the distance measurement unit of the device.
|
TemperatureUnit |
getSystemTemperatureUnit(String deviceId)
Gets the temperature measurement units of the device.
|
String |
getSystemTimeZone(String deviceId)
Gets the time zone of the device.
|
public UpsServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration)
public com.amazon.ask.model.services.ApiResponse<String> callGetProfileEmail() throws com.amazon.ask.model.services.ServiceException
callGetProfileEmail
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic String getProfileEmail() throws com.amazon.ask.model.services.ServiceException
getProfileEmail
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<String> callGetProfileGivenName() throws com.amazon.ask.model.services.ServiceException
callGetProfileGivenName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic String getProfileGivenName() throws com.amazon.ask.model.services.ServiceException
getProfileGivenName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<PhoneNumber> callGetProfileMobileNumber() throws com.amazon.ask.model.services.ServiceException
callGetProfileMobileNumber
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic PhoneNumber getProfileMobileNumber() throws com.amazon.ask.model.services.ServiceException
getProfileMobileNumber
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<String> callGetProfileName() throws com.amazon.ask.model.services.ServiceException
callGetProfileName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic String getProfileName() throws com.amazon.ask.model.services.ServiceException
getProfileName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<DistanceUnits> callGetSystemDistanceUnits(String deviceId) throws com.amazon.ask.model.services.ServiceException
callGetSystemDistanceUnits
in interface UpsService
deviceId
- The device Id (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic DistanceUnits getSystemDistanceUnits(String deviceId) throws com.amazon.ask.model.services.ServiceException
getSystemDistanceUnits
in interface UpsService
deviceId
- The device Id (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<TemperatureUnit> callGetSystemTemperatureUnit(String deviceId) throws com.amazon.ask.model.services.ServiceException
callGetSystemTemperatureUnit
in interface UpsService
deviceId
- The device Id (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic TemperatureUnit getSystemTemperatureUnit(String deviceId) throws com.amazon.ask.model.services.ServiceException
getSystemTemperatureUnit
in interface UpsService
deviceId
- The device Id (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<String> callGetSystemTimeZone(String deviceId) throws com.amazon.ask.model.services.ServiceException
callGetSystemTimeZone
in interface UpsService
deviceId
- The device Id (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic String getSystemTimeZone(String deviceId) throws com.amazon.ask.model.services.ServiceException
getSystemTimeZone
in interface UpsService
deviceId
- The device Id (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<String> callGetPersonsProfileGivenName() throws com.amazon.ask.model.services.ServiceException
callGetPersonsProfileGivenName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic String getPersonsProfileGivenName() throws com.amazon.ask.model.services.ServiceException
getPersonsProfileGivenName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<PhoneNumber> callGetPersonsProfileMobileNumber() throws com.amazon.ask.model.services.ServiceException
callGetPersonsProfileMobileNumber
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic PhoneNumber getPersonsProfileMobileNumber() throws com.amazon.ask.model.services.ServiceException
getPersonsProfileMobileNumber
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic com.amazon.ask.model.services.ApiResponse<String> callGetPersonsProfileName() throws com.amazon.ask.model.services.ServiceException
callGetPersonsProfileName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic String getPersonsProfileName() throws com.amazon.ask.model.services.ServiceException
getPersonsProfileName
in interface UpsService
com.amazon.ask.model.services.ServiceException
- if fails to make API callCopyright © 2023. All rights reserved.