com.volcengine.model.live.v20230101.DescribeRefererResResultRefererListItemRefererInfoListItem 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;
/**
* DescribeRefererResResultRefererListItemRefererInfoListItem
*/
@lombok.Data
public final class DescribeRefererResResultRefererListItemRefererInfoListItem {
/**
* 用于标识 referer 防盗链的关键词,返回值为 `referer`。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Key")
private String key;
/**
* 优先级,当前默认返回值为 0。当多域名返回值一致时,按照域名输入顺序区分,越早加入列表的域名优先级越高。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Priority")
private Integer priority;
/**
* referer 防盗链黑白名单类型,取值即含义如下所示。
*
* - `deny`:黑名单;
*
* - `allow`:白名单。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Type")
private String type;
/**
* Referer 字段规则,即设置的黑名单或白名单的域名。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Value")
private String value;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy