com.alipay.api.domain.CorsSetting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk-java Show documentation
Show all versions of alipay-sdk-java Show documentation
Alipay openapi SDK for Java
Copyright © 2018 杭州蚂蚁金服
All rights reserved.
版权所有 (C)杭州蚂蚁金服
http://open.alipay.com
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 跨域配置
*
* @author auto create
* @since 1.0, 2023-08-02 14:18:04
*/
public class CorsSetting extends AlipayObject {
private static final long serialVersionUID = 4795939874765336284L;
/**
* 允许跨域域名列表
*/
@ApiListField("access_control_allow_origins")
@ApiField("string")
private List accessControlAllowOrigins;
/**
* 预检请求有效期,单位秒
*/
@ApiField("access_control_max_age")
private Long accessControlMaxAge;
/**
* 是否开启跨域配置
*/
@ApiField("enabled")
private Boolean enabled;
public List getAccessControlAllowOrigins() {
return this.accessControlAllowOrigins;
}
public void setAccessControlAllowOrigins(List accessControlAllowOrigins) {
this.accessControlAllowOrigins = accessControlAllowOrigins;
}
public Long getAccessControlMaxAge() {
return this.accessControlMaxAge;
}
public void setAccessControlMaxAge(Long accessControlMaxAge) {
this.accessControlMaxAge = accessControlMaxAge;
}
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy