-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from Tanc009/master
jdcloud-sdk-java
- Loading branch information
Showing
18 changed files
with
1,743 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
cdn/src/main/java/com/jdcloud/sdk/service/cdn/client/QueryAreaIspListV2Executor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright 2018 JDCLOUD.COM | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http:#www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* 统计查询类接口 | ||
* Openapi For JCLOUD cdn | ||
* | ||
* OpenAPI spec version: v1 | ||
* Contact: pid-cdn@jd.com | ||
* | ||
* NOTE: This class is auto generated by the jdcloud code generator program. | ||
*/ | ||
|
||
package com.jdcloud.sdk.service.cdn.client; | ||
|
||
import com.jdcloud.sdk.client.JdcloudExecutor; | ||
import com.jdcloud.sdk.service.JdcloudResponse; | ||
import com.jdcloud.sdk.service.cdn.model.QueryAreaIspListV2Response; | ||
|
||
/** | ||
* 查找地域运营商列表 | ||
*/ | ||
class QueryAreaIspListV2Executor extends JdcloudExecutor { | ||
|
||
@Override | ||
public String method() { | ||
return "GET"; | ||
} | ||
|
||
@Override | ||
public String url() { | ||
return "/console:areaIspListV2"; | ||
} | ||
|
||
@Override | ||
public Class<? extends JdcloudResponse> returnType() { | ||
return QueryAreaIspListV2Response.class; | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...src/main/java/com/jdcloud/sdk/service/cdn/client/QueryCustomizedDirBandWidthExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright 2018 JDCLOUD.COM | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http:#www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* 统计查询类接口 | ||
* Openapi For JCLOUD cdn | ||
* | ||
* OpenAPI spec version: v1 | ||
* Contact: pid-cdn@jd.com | ||
* | ||
* NOTE: This class is auto generated by the jdcloud code generator program. | ||
*/ | ||
|
||
package com.jdcloud.sdk.service.cdn.client; | ||
|
||
import com.jdcloud.sdk.client.JdcloudExecutor; | ||
import com.jdcloud.sdk.service.JdcloudResponse; | ||
import com.jdcloud.sdk.service.cdn.model.QueryCustomizedDirBandWidthResponse; | ||
|
||
/** | ||
* 查询定制的目录带宽,仅有部分用户支持该功能 | ||
*/ | ||
class QueryCustomizedDirBandWidthExecutor extends JdcloudExecutor { | ||
|
||
@Override | ||
public String method() { | ||
return "POST"; | ||
} | ||
|
||
@Override | ||
public String url() { | ||
return "/statistics:queryCustomizedDirBandWidth"; | ||
} | ||
|
||
@Override | ||
public Class<? extends JdcloudResponse> returnType() { | ||
return QueryCustomizedDirBandWidthResponse.class; | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
cdn/src/main/java/com/jdcloud/sdk/service/cdn/client/QueryJBoxAvgBandwidthExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright 2018 JDCLOUD.COM | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http:#www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* PCdn统计查询接口 | ||
* Openapi For JCLOUD cdn | ||
* | ||
* OpenAPI spec version: v1 | ||
* Contact: pid-cdn@jd.com | ||
* | ||
* NOTE: This class is auto generated by the jdcloud code generator program. | ||
*/ | ||
|
||
package com.jdcloud.sdk.service.cdn.client; | ||
|
||
import com.jdcloud.sdk.client.JdcloudExecutor; | ||
import com.jdcloud.sdk.service.JdcloudResponse; | ||
import com.jdcloud.sdk.service.cdn.model.QueryJBoxAvgBandwidthResponse; | ||
|
||
/** | ||
* 查询平均带宽 | ||
*/ | ||
class QueryJBoxAvgBandwidthExecutor extends JdcloudExecutor { | ||
|
||
@Override | ||
public String method() { | ||
return "GET"; | ||
} | ||
|
||
@Override | ||
public String url() { | ||
return "/jdbox:queryAvgBandwidth"; | ||
} | ||
|
||
@Override | ||
public Class<? extends JdcloudResponse> returnType() { | ||
return QueryJBoxAvgBandwidthResponse.class; | ||
} | ||
} |
Oops, something went wrong.