package com.example.model; import java.util.HashMap; import java.util.List; public class SampleResponseModel { private String id; private String content; private List> mqcih; public SampleResponseModel(String id, String content, List> mqcih) { this.id = id; this.content = content; this.mqcih = mqcih; } // デフォルトコンストラクタ public SampleResponseModel() { } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public List> getMqcih() { return mqcih; } public void setMqcih(List> mqcih) { this.mqcih = mqcih; } @Override public String toString() { return String.format("{id=%s,content=%s}", getId(), getContent()); } }