com.sinch.sdk.domains.numbers.adapters.converters.CallbackConfigurationUpdateRequestParametersDtoConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.domains.numbers.adapters.converters;
import com.sinch.sdk.domains.numbers.models.dto.v1.CallbackConfigurationUpdateDto;
import com.sinch.sdk.domains.numbers.models.requests.CallbackConfigurationUpdateRequestParameters;
public class CallbackConfigurationUpdateRequestParametersDtoConverter {
public static CallbackConfigurationUpdateDto convert(
CallbackConfigurationUpdateRequestParameters parameters) {
if (null == parameters) {
return null;
}
CallbackConfigurationUpdateDto dto = new CallbackConfigurationUpdateDto();
parameters.getHMACSecret().ifPresent(dto::hmacSecret);
return dto;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy