package com.example.model; import java.util.HashMap; import java.util.List; public class SampleRequestModel { private String id; private String content; private List> mqcih; public SampleRequestModel(String id, String content, List> mqcih) { this.id = id; this.content = content; this.mqcih = mqcih; } // デフォルトコンストラクタ public SampleRequestModel() { } 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,content=%s}", getId(), getContent()); } }