com.byteplus.model.live.v20230101.UpdateRelaySourceV3BodyGroupDetailsItem Maven / Gradle / Ivy
package com.byteplus.model.live.v20230101;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* UpdateRelaySourceV3BodyGroupDetailsItem
*/
@lombok.Data
public final class UpdateRelaySourceV3BodyGroupDetailsItem {
/**
* 回源组名称。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Group")
private String group;
/**
* 主还是备
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Backup")
private Boolean backup;
/**
* 是否禁用
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Disable")
private Boolean disable;
/**
* 权重
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Weight")
private String weight;
/**
* CDN类型
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CDN")
private String cDN;
/**
* Group 超时时间/s
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Timeout")
private String timeout;
/**
* 应用层超时时间/s
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ConnTimeout")
private String connTimeout;
/**
* 传输层超时时间/s (不配置的话使用应用层时间)
*/
@com.alibaba.fastjson.annotation.JSONField(name = "DialTimeout")
private String dialTimeout;
/**
* server重试间隔/s
*/
@com.alibaba.fastjson.annotation.JSONField(name = "RetryInterval")
private String retryInterval;
/**
* server重试次数
*/
@com.alibaba.fastjson.annotation.JSONField(name = "RetryTimes")
private String retryTimes;
/**
* server生效类型(order/rand/hot)
*/
@com.alibaba.fastjson.annotation.JSONField(name = "LBType")
private String lBType;
/**
* 是否鉴权
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PullAuth")
private Boolean pullAuth;
/**
* 主secret key
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PrimarySK")
private String primarySK;
/**
* 副secret key
*/
@com.alibaba.fastjson.annotation.JSONField(name = "SecondSK")
private String secondSK;
/**
* 鉴权有效时长
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ValidDuration")
private String validDuration;
/**
* TODO
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AuthParams")
private UpdateRelaySourceV3BodyGroupDetailsItemAuthParams authParams;
/**
* 回源规则
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Rule")
private String rule;
/**
* 回源服务器配置列表。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Servers")
private List servers;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}