Interface RatingsReviewsModelMapper
public interface RatingsReviewsModelMapper
The Interface ListAllModelMapper
An interface to define the list related models mapping.- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptiongetAllAnswersResponseTransformation
(RatingReviewAnswerForQuestionServiceAPIResponse ratingsReviewsGetAllQuestionsServiceResponse) getAllQuestionResponseTransformation
(RatingsReviewsGetAllQuestionsServiceResponse ratingsReviewsGetAllQuestionsServiceResponse) questionRequestTransformation
(RatingsReviewsQuestionsAnswersRequest ratingsReviewsQuestionsAnswersRequest) questionResponseTransformation
(RatingsReviewsServiceQuestionsAndAnswersResponse ratingsReviewsServiceQuestionsAndAnswersResponse) This method is used to transform the list model into list orchestration model
-
Method Details
-
questionResponseTransformation
RatingsReviewsQuestionsAndAnswersResponse questionResponseTransformation(RatingsReviewsServiceQuestionsAndAnswersResponse ratingsReviewsServiceQuestionsAndAnswersResponse) This method is used to transform the list model into list orchestration model- Parameters:
ratingsReviewsServiceQuestionsAndAnswersResponse
- Indicates aRatingsReviewsServiceQuestionsAndAnswersResponse
, contains list information for converting.- Returns:
- Returns a
RatingsReviewsQuestionsAndAnswersResponse
, contains the list details.
-
questionRequestTransformation
RatingsReviewsServiceQuestionsAnswersRequest questionRequestTransformation(RatingsReviewsQuestionsAnswersRequest ratingsReviewsQuestionsAnswersRequest) -
getAllQuestionResponseTransformation
RatingsReviewsGetAllQuestionsResponse getAllQuestionResponseTransformation(RatingsReviewsGetAllQuestionsServiceResponse ratingsReviewsGetAllQuestionsServiceResponse) -
getAllAnswersResponseTransformation
RatingReviewAnswerForQuestionAPIResponse getAllAnswersResponseTransformation(RatingReviewAnswerForQuestionServiceAPIResponse ratingsReviewsGetAllQuestionsServiceResponse)
-