com.volcengine.model.imagex.v2.GetDomainConfigResResultAccessControlReferLink 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.imagex.v2;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* GetDomainConfigResResultAccessControlReferLink
*/
@lombok.Data
public final class GetDomainConfigResResultAccessControlReferLink {
/**
* 是否开启 Referer 访问限制,取值如下所示:
*
* * `true`:开启 Referer 访问限制
*
* * `false`:关闭 Referer 访问限制
*/
@com.alibaba.fastjson.annotation.JSONField(name = "enabled")
private Boolean enabled;
/**
* 是否是 Referer 白名单模式,取值如下所示:
*
* * `true`:白名单模式
*
* * `false`:黑名单模式
*
* :::tip
*
* 当`is_white_mode`为`false`时,即选用黑名单时,需确保`allow_empty_refer`为`true`。
*
* :::
*/
@com.alibaba.fastjson.annotation.JSONField(name = "is_white_mode")
private Boolean isWhiteMode;
/**
* 是否允许空 Referer,取值如下所示:
*
* * `true`:允许空 Referer
*
* * `false`:禁止空 Referer
*/
@com.alibaba.fastjson.annotation.JSONField(name = "allow_empty_refer")
private Boolean allowEmptyRefer;
/**
* Referer 列表
*/
@com.alibaba.fastjson.annotation.JSONField(name = "values")
private List values;
/**
* 正则规则列表
*/
@com.alibaba.fastjson.annotation.JSONField(name = "regex_values")
private List regexValues;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy