com.volcengine.model.acep.BanUserBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.acep;
import com.alibaba.fastjson.JSON;
/**
* BanUserBody
*/
@lombok.Data
public final class BanUserBody {
/**
* 业务 ID,可在「云手机控制台-业务管理-业务详情」中获取。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ProductId")
private String productId;
/**
* 实例 ID。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PodId")
private String podId;
/**
* 目标封禁用户的 ID。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "UserId")
private String userId;
/**
* 封禁时长,单位:秒,取值范围为 [60, 259290]:
*
*
*
* - 若传入值为空或 0 表示允许该用户重新连接云手机;
*
*
*
* - 若传入值大于 0,且小于 60,自动调整为 60;
*
*
*
* - 若传入值大于 259290,自动调整为 259290。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ForbiddenInterval")
private Integer forbiddenInterval;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy