Giải pháp chuyển đổi số trọn gói cho doanh nghiệp Việt
Tên file: ApiResponseGetCarList.java
Nơi lưu file: java/com/vantinviet/adayroionline/ApiResponse/ApiResponseGetCarList.java
Nội dung file:
package com.vantinviet.adayroionline.ApiResponse;
import com.google.gson.annotations.SerializedName;
import com.vantinviet.adayroionline.viewobject.Car;
import java.util.List;
public class ApiResponseGetCarList {
@SerializedName("result")
public String result;
@SerializedName("code")
public String code;
@SerializedName("errorMessage")
public String errorMessage;
@SerializedName("data")
public List<Car> carList;
public ApiResponseGetCarList(String result, String code, String errorMessage, List<Car> carList) {
this.result = result;
this.code = code;
this.errorMessage = errorMessage;
this.carList = carList;
}
@Override
public String toString() {
return "ApiResponseGetCarList{" +
"result='" + result + '\'' +
", code='" + code + '\'' +
", errorMessage='" + errorMessage + '\'' +
", carList=" + carList +
'}';
}
}
Chưa có câu hỏi nào cho bài này.