package com.ttstd.controller.network.model;

import com.google.gson.annotations.SerializedName;

import java.util.Collections;
import java.util.List;

/** 已绑定设备列表响应，对应 {@code GET /api/client/bindings}。 */
public class BindingsResponse {

    @SerializedName("bindings")
    private List<BindingItem> bindings;

    public List<BindingItem> getBindings() {
        return bindings == null ? Collections.emptyList() : bindings;
    }
}
