Explorar el Código

CDN SDK Auto Released By xiaoyao,Version:1.53.5

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao hace 6 años
padre
commit
2ec44ded3d
Se han modificado 2 ficheros con 10 adiciones y 7 borrados
  1. 3 0
      ChangeLog.txt
  2. 7 7
      services/cdn/set_path_cache_expired_config.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-02-27 Version: 1.53.5
+1, Update Config API.
+
 2019-02-26 Version: 1.53.4
 1, Industry brain v1.3.7 release
 2, Add asynchronous APIs

+ 7 - 7
services/cdn/set_path_cache_expired_config.go

@@ -76,12 +76,12 @@ func (client *Client) SetPathCacheExpiredConfigWithCallback(request *SetPathCach
 // SetPathCacheExpiredConfigRequest is the request struct for api SetPathCacheExpiredConfig
 type SetPathCacheExpiredConfigRequest struct {
 	*requests.RpcRequest
-	DomainName   string           `position:"Query" name:"DomainName"`
-	Weight       string           `position:"Query" name:"Weight"`
-	CacheContent string           `position:"Query" name:"CacheContent"`
-	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
-	TTL          string           `position:"Query" name:"TTL"`
-	ConfigId     requests.Integer `position:"Query" name:"ConfigId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	Weight        string           `position:"Query" name:"Weight"`
+	CacheContent  string           `position:"Query" name:"CacheContent"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	TTL           string           `position:"Query" name:"TTL"`
 }
 
 // SetPathCacheExpiredConfigResponse is the response struct for api SetPathCacheExpiredConfig
@@ -95,7 +95,7 @@ func CreateSetPathCacheExpiredConfigRequest() (request *SetPathCacheExpiredConfi
 	request = &SetPathCacheExpiredConfigRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cdn", "2018-05-10", "SetPathCacheExpiredConfig", "", "")
+	request.InitWithApiInfo("Cdn", "2014-11-11", "SetPathCacheExpiredConfig", "", "")
 	return
 }