com.volcengine.model.im.UpdateBlackListBodyBlackListInfosItem 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.im;
import com.alibaba.fastjson.JSON;
import java.util.Map;
/**
* UpdateBlackListBodyBlackListInfosItem
*/
@lombok.Data
public final class UpdateBlackListBodyBlackListInfosItem {
/**
* 黑名单用户 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "BlackListUserId")
private Long blackListUserId;
/**
* 黑名单用户的扩展字段,支持新增 key 和更新已有 key。更新已有 key 时,新 value 会覆盖旧 value。
*
*
*
* 假设 ID 为 10002 的黑名单用户原 ext 为 {"key1":"value1"},
*
*
*
* - 若调用本接口通过 BlackListUserExt 传入 {"key1":"value2"},此时 10002 用户的 ext 将更新为 {"key1":"value2"};
*
* - 若调用本接口通过 BlackListUserExt 传入 {"key2":"value2"},此时 10002 用户的 ext 将更新为 {"key1":"value1", "key2":"value2"}。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "BlackListUserExt")
private Map blackListUserExt;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy