package com.ttstd.controlled.network.model;

/** provision 请求体：SN + 随机 nonce + 时间戳 + HMAC 签名。 */
public class ProvisionRequest {

    private final String sn;
    private final String model;
    private final String nonce;
    private final long timestamp;
    private final String hmac;

    public ProvisionRequest(String sn, String model, String nonce, long timestamp, String hmac) {
        this.sn = sn;
        this.model = model;
        this.nonce = nonce;
        this.timestamp = timestamp;
        this.hmac = hmac;
    }

    public String getSn() {
        return sn;
    }

    public String getModel() {
        return model;
    }

    public String getNonce() {
        return nonce;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public String getHmac() {
        return hmac;
    }
}
