com.volcengine.model.live.v20230101.UpdateIPAccessRuleBodyIPAccessRule 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.live.v20230101;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* UpdateIPAccessRuleBodyIPAccessRule
*/
@lombok.Data
public final class UpdateIPAccessRuleBodyIPAccessRule {
/**
* IP 访问限制的类型,取值及含义如下所示。
*
* - `allow`: 白名单;
*
* - `deny`: 黑名单。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Type")
private String type;
/**
* 是否开启当前限制,取值及含义如下所示。
*
* - `true`: 开启;
*
* - `false`: 关闭。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Enable")
private Boolean enable;
/**
* 名单中的 IP 信息。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "IPList")
private List iPList;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy