Interface ImageQueryParameter
-
- All Known Implementing Classes:
ImageQueryParameterDTO
public interface ImageQueryParameterInterface representing an Image query parameter data transfer object.
The methods of this class provide easy access to all image query parameter related data which was returned by the remote service in JSON format. Please note that, as the remote service declares all of the properties to be optional, most of the methods are marked asNullable. Methods returning collection-based values however will return an empty collection in case no corresponding data was received.
The sole purpose of these DTO objects is to encapsulate the exact raw JSON data as received from the remote service in order to facilitate API integration by working with simple Java POJO's instead of nested JSON nodes. Although there will be no intense post-processing of the actual JSON values a type-casting may be applied to some of them to improve the usability and relieve the API user of this task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKeyType()Get the value of the {data.keyType} JSON propertyStringgetLanguageId()Get the value of the {data.languageId} JSON propertyList<String>getResolution()Get all values of the {data.resolution} JSON property in a listList<String>getSubKey()Get all values of the {data.subKey} JSON property in a list
-
-
-
Method Detail
-
getKeyType
@Nullable String getKeyType()
Get the value of the {data.keyType} JSON property- Returns:
- The
keyTypeproperty from the received JSON
-
getLanguageId
@Nullable String getLanguageId()
Get the value of the {data.languageId} JSON property- Returns:
- The
languageIdproperty from the received JSON
-
getResolution
List<String> getResolution()
Get all values of the {data.resolution} JSON property in a list- Returns:
- The
resolutionproperty from the received JSON as list
-
-