Skip to content

GeneralResponse

seyyed edited this page Jul 31, 2021 · 1 revision

This class Used For Generate Response in BaseDTO structure

BaseDTO< T >

Methode

static BaseDTO successCustomResponse(G o)

o the Input Object that you can input to methode

< G > the Type Of Return BaseDTO Object

static BaseDTO<List> successCustomListResponse(List o)

o the Input Object that you can input to methode

< G > the Type Of Return BaseDTO Object

BaseDTO successResponse(R o)

R the type of Response that you can put in applicationResponse class

BaseDTO<List> successListResponse(List o)

R the type of Response that you can put in applicationResponse class return the List of R

Clone this wiki locally