diff --git a/live/ChangeLog.md b/live/ChangeLog.md
index 65f7d302d..fc5868057 100644
--- a/live/ChangeLog.md
+++ b/live/ChangeLog.md
@@ -1,8 +1,9 @@
# 更新历史 #
-API 版本:1.0.18
+API 版本:1.0.19
|发布时间|版本号|更新|说明|
|------------|-------|------|-------|
+|2020-12-31|1.0.19| 添加接口| 添加查询推流、播放信息分页接口|
|2020-10-12|1.0.18| 添加接口| 添加oss录制文件删除接口|
|2020-02-23|1.0.17| 接口更新| 查询流分组统计数据接口更新查询条件为非必填|
|2020-01-14|1.0.16| 添加接口| 添加直播账单管理相关接口|
diff --git a/live/pom.xml b/live/pom.xml
index baf9b9a7e..cbdb4df9a 100644
--- a/live/pom.xml
+++ b/live/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.jdcloud.sdk
live
- 1.0.18
+ 1.0.19
jar
live
http://www.jdcloud.com
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/client/DescribeLiveStreamPlayInfoByPageExecutor.java b/live/src/main/java/com/jdcloud/sdk/service/live/client/DescribeLiveStreamPlayInfoByPageExecutor.java
new file mode 100644
index 000000000..e755b7a4a
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/client/DescribeLiveStreamPlayInfoByPageExecutor.java
@@ -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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.client;
+
+import com.jdcloud.sdk.client.JdcloudExecutor;
+import com.jdcloud.sdk.service.JdcloudResponse;
+import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPlayInfoByPageResponse;
+
+/**
+ * 查询观看人数
+ */
+class DescribeLiveStreamPlayInfoByPageExecutor extends JdcloudExecutor {
+
+ @Override
+ public String method() {
+ return "GET";
+ }
+
+ @Override
+ public String url() {
+ return "/describeLiveStreamPlayInfoByPage";
+ }
+
+ @Override
+ public Class extends JdcloudResponse> returnType() {
+ return DescribeLiveStreamPlayInfoByPageResponse.class;
+ }
+}
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/client/DescribeLiveStreamPublishInfoByPageExecutor.java b/live/src/main/java/com/jdcloud/sdk/service/live/client/DescribeLiveStreamPublishInfoByPageExecutor.java
new file mode 100644
index 000000000..960c45358
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/client/DescribeLiveStreamPublishInfoByPageExecutor.java
@@ -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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.client;
+
+import com.jdcloud.sdk.client.JdcloudExecutor;
+import com.jdcloud.sdk.service.JdcloudResponse;
+import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPublishInfoByPageResponse;
+
+/**
+ * 查询推流码率、帧率
+ */
+class DescribeLiveStreamPublishInfoByPageExecutor extends JdcloudExecutor {
+
+ @Override
+ public String method() {
+ return "GET";
+ }
+
+ @Override
+ public String url() {
+ return "/describeLiveStreamPublishInfoByPage";
+ }
+
+ @Override
+ public Class extends JdcloudResponse> returnType() {
+ return DescribeLiveStreamPublishInfoByPageResponse.class;
+ }
+}
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/client/LiveClient.java b/live/src/main/java/com/jdcloud/sdk/service/live/client/LiveClient.java
index 505c608f1..83e3de2c1 100644
--- a/live/src/main/java/com/jdcloud/sdk/service/live/client/LiveClient.java
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/client/LiveClient.java
@@ -94,6 +94,9 @@
import com.jdcloud.sdk.service.live.model.StartLiveDomainRequest;
import com.jdcloud.sdk.service.live.model.StartLiveDomainResponse;
import com.jdcloud.sdk.service.live.client.StartLiveDomainExecutor;
+import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPublishInfoByPageRequest;
+import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPublishInfoByPageResponse;
+import com.jdcloud.sdk.service.live.client.DescribeLiveStreamPublishInfoByPageExecutor;
import com.jdcloud.sdk.service.live.model.DescribeCustomLiveStreamWatermarkTemplatesRequest;
import com.jdcloud.sdk.service.live.model.DescribeCustomLiveStreamWatermarkTemplatesResponse;
import com.jdcloud.sdk.service.live.client.DescribeCustomLiveStreamWatermarkTemplatesExecutor;
@@ -259,6 +262,9 @@
import com.jdcloud.sdk.service.live.model.DescribeLiveTranscodeStreamNumRequest;
import com.jdcloud.sdk.service.live.model.DescribeLiveTranscodeStreamNumResponse;
import com.jdcloud.sdk.service.live.client.DescribeLiveTranscodeStreamNumExecutor;
+import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPlayInfoByPageRequest;
+import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPlayInfoByPageResponse;
+import com.jdcloud.sdk.service.live.client.DescribeLiveStreamPlayInfoByPageExecutor;
import com.jdcloud.sdk.service.live.model.DescribeLiveDomainDetailRequest;
import com.jdcloud.sdk.service.live.model.DescribeLiveDomainDetailResponse;
import com.jdcloud.sdk.service.live.client.DescribeLiveDomainDetailExecutor;
@@ -692,6 +698,17 @@ public StartLiveDomainResponse startLiveDomain(StartLiveDomainRequest request) t
return new StartLiveDomainExecutor().client(this).execute(request);
}
+ /**
+ * 查询推流码率、帧率
+ *
+ * @param request
+ * @return
+ * @throws JdcloudSdkException
+ */
+ public DescribeLiveStreamPublishInfoByPageResponse describeLiveStreamPublishInfoByPage(DescribeLiveStreamPublishInfoByPageRequest request) throws JdcloudSdkException {
+ return new DescribeLiveStreamPublishInfoByPageExecutor().client(this).execute(request);
+ }
+
/**
* 查询用户定义水印模板列表
@@ -1362,6 +1379,17 @@ public DescribeLiveTranscodeStreamNumResponse describeLiveTranscodeStreamNum(Des
return new DescribeLiveTranscodeStreamNumExecutor().client(this).execute(request);
}
+ /**
+ * 查询观看人数
+ *
+ * @param request
+ * @return
+ * @throws JdcloudSdkException
+ */
+ public DescribeLiveStreamPlayInfoByPageResponse describeLiveStreamPlayInfoByPage(DescribeLiveStreamPlayInfoByPageRequest request) throws JdcloudSdkException {
+ return new DescribeLiveStreamPlayInfoByPageExecutor().client(this).execute(request);
+ }
+
/**
* 查询指定域名相关信息
*
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveSnapshotDataRequest.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveSnapshotDataRequest.java
index 52ca1acc4..83fa78acf 100644
--- a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveSnapshotDataRequest.java
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveSnapshotDataRequest.java
@@ -49,6 +49,11 @@ public class DescribeLiveSnapshotDataRequest extends JdcloudRequest implements j
*/
private String streamName;
+ /**
+ * 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
+ */
+ private Integer shotMode;
+
/**
* 起始时间:
- UTC时间
@@ -126,6 +131,24 @@ public void setStreamName(String streamName) {
this.streamName = streamName;
}
+ /**
+ * get 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
+ *
+ * @return
+ */
+ public Integer getShotMode() {
+ return shotMode;
+ }
+
+ /**
+ * set 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
+ *
+ * @param shotMode
+ */
+ public void setShotMode(Integer shotMode) {
+ this.shotMode = shotMode;
+ }
+
/**
* get 起始时间:
- UTC时间
@@ -213,6 +236,16 @@ public DescribeLiveSnapshotDataRequest streamName(String streamName) {
return this;
}
+ /**
+ * set 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
+ *
+ * @param shotMode
+ */
+ public DescribeLiveSnapshotDataRequest shotMode(Integer shotMode) {
+ this.shotMode = shotMode;
+ return this;
+ }
+
/**
* set 起始时间:
- UTC时间
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageRequest.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageRequest.java
new file mode 100644
index 000000000..103caf318
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageRequest.java
@@ -0,0 +1,319 @@
+/*
+ * 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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.model;
+
+import com.jdcloud.sdk.annotation.Required;
+import com.jdcloud.sdk.service.JdcloudRequest;
+
+/**
+ * 查询观看人数
+ */
+public class DescribeLiveStreamPlayInfoByPageRequest extends JdcloudRequest implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 推流域名
+ * Required:true
+ */
+ @Required
+ private String domainName;
+
+ /**
+ * 应用名称
+ */
+ private String appName;
+
+ /**
+ * 流名称
+ */
+ private String streamName;
+
+ /**
+ * 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ * Required:true
+ */
+ @Required
+ private String startTime;
+
+ /**
+ * 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ */
+ private String endTime;
+
+ /**
+ * 页码,起始页码1
+
+ */
+ private Integer pageNumber;
+
+ /**
+ * 每页最大记录数,取值:[10,1000],默认:100
+
+ */
+ private Integer pageSize;
+
+
+ /**
+ * get 推流域名
+ *
+ * @return
+ */
+ public String getDomainName() {
+ return domainName;
+ }
+
+ /**
+ * set 推流域名
+ *
+ * @param domainName
+ */
+ public void setDomainName(String domainName) {
+ this.domainName = domainName;
+ }
+
+ /**
+ * get 应用名称
+ *
+ * @return
+ */
+ public String getAppName() {
+ return appName;
+ }
+
+ /**
+ * set 应用名称
+ *
+ * @param appName
+ */
+ public void setAppName(String appName) {
+ this.appName = appName;
+ }
+
+ /**
+ * get 流名称
+ *
+ * @return
+ */
+ public String getStreamName() {
+ return streamName;
+ }
+
+ /**
+ * set 流名称
+ *
+ * @param streamName
+ */
+ public void setStreamName(String streamName) {
+ this.streamName = streamName;
+ }
+
+ /**
+ * get 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ *
+ * @return
+ */
+ public String getStartTime() {
+ return startTime;
+ }
+
+ /**
+ * set 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ *
+ * @param startTime
+ */
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ }
+
+ /**
+ * get 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ *
+ * @return
+ */
+ public String getEndTime() {
+ return endTime;
+ }
+
+ /**
+ * set 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ *
+ * @param endTime
+ */
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ }
+
+ /**
+ * get 页码,起始页码1
+
+ *
+ * @return
+ */
+ public Integer getPageNumber() {
+ return pageNumber;
+ }
+
+ /**
+ * set 页码,起始页码1
+
+ *
+ * @param pageNumber
+ */
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ }
+
+ /**
+ * get 每页最大记录数,取值:[10,1000],默认:100
+
+ *
+ * @return
+ */
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * set 每页最大记录数,取值:[10,1000],默认:100
+
+ *
+ * @param pageSize
+ */
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+
+ /**
+ * set 推流域名
+ *
+ * @param domainName
+ */
+ public DescribeLiveStreamPlayInfoByPageRequest domainName(String domainName) {
+ this.domainName = domainName;
+ return this;
+ }
+
+ /**
+ * set 应用名称
+ *
+ * @param appName
+ */
+ public DescribeLiveStreamPlayInfoByPageRequest appName(String appName) {
+ this.appName = appName;
+ return this;
+ }
+
+ /**
+ * set 流名称
+ *
+ * @param streamName
+ */
+ public DescribeLiveStreamPlayInfoByPageRequest streamName(String streamName) {
+ this.streamName = streamName;
+ return this;
+ }
+
+ /**
+ * set 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ *
+ * @param startTime
+ */
+ public DescribeLiveStreamPlayInfoByPageRequest startTime(String startTime) {
+ this.startTime = startTime;
+ return this;
+ }
+
+ /**
+ * set 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ *
+ * @param endTime
+ */
+ public DescribeLiveStreamPlayInfoByPageRequest endTime(String endTime) {
+ this.endTime = endTime;
+ return this;
+ }
+
+ /**
+ * set 页码,起始页码1
+
+ *
+ * @param pageNumber
+ */
+ public DescribeLiveStreamPlayInfoByPageRequest pageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ return this;
+ }
+
+ /**
+ * set 每页最大记录数,取值:[10,1000],默认:100
+
+ *
+ * @param pageSize
+ */
+ public DescribeLiveStreamPlayInfoByPageRequest pageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+
+}
\ No newline at end of file
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageResponse.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageResponse.java
new file mode 100644
index 000000000..ffe1b516d
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageResponse.java
@@ -0,0 +1,39 @@
+/*
+ * 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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.model;
+
+import com.jdcloud.sdk.service.JdcloudResponse;
+
+/**
+ * 查询观看人数
+ */
+public class DescribeLiveStreamPlayInfoByPageResponse extends JdcloudResponse implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+
+
+
+}
\ No newline at end of file
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageResult.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageResult.java
new file mode 100644
index 000000000..f33336d94
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPlayInfoByPageResult.java
@@ -0,0 +1,186 @@
+/*
+ * 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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.model;
+
+import java.util.List;
+import java.util.ArrayList;
+import com.jdcloud.sdk.service.live.model.LiveStreamPlayInfo;
+import com.jdcloud.sdk.service.JdcloudResult;
+
+/**
+ * 查询观看人数
+ */
+public class DescribeLiveStreamPlayInfoByPageResult extends JdcloudResult implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 当前页码
+ */
+ private Integer pageNumber;
+
+ /**
+ * 每页数量
+ */
+ private Integer pageSize;
+
+ /**
+ * 查询总数
+ */
+ private Integer totalCount;
+
+ /**
+ * playInfoList
+ */
+ private List playInfoList;
+
+
+ /**
+ * get 当前页码
+ *
+ * @return
+ */
+ public Integer getPageNumber() {
+ return pageNumber;
+ }
+
+ /**
+ * set 当前页码
+ *
+ * @param pageNumber
+ */
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ }
+
+ /**
+ * get 每页数量
+ *
+ * @return
+ */
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * set 每页数量
+ *
+ * @param pageSize
+ */
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ /**
+ * get 查询总数
+ *
+ * @return
+ */
+ public Integer getTotalCount() {
+ return totalCount;
+ }
+
+ /**
+ * set 查询总数
+ *
+ * @param totalCount
+ */
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ /**
+ * get playInfoList
+ *
+ * @return
+ */
+ public List getPlayInfoList() {
+ return playInfoList;
+ }
+
+ /**
+ * set playInfoList
+ *
+ * @param playInfoList
+ */
+ public void setPlayInfoList(List playInfoList) {
+ this.playInfoList = playInfoList;
+ }
+
+
+ /**
+ * set 当前页码
+ *
+ * @param pageNumber
+ */
+ public DescribeLiveStreamPlayInfoByPageResult pageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ return this;
+ }
+
+ /**
+ * set 每页数量
+ *
+ * @param pageSize
+ */
+ public DescribeLiveStreamPlayInfoByPageResult pageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * set 查询总数
+ *
+ * @param totalCount
+ */
+ public DescribeLiveStreamPlayInfoByPageResult totalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ return this;
+ }
+
+ /**
+ * set playInfoList
+ *
+ * @param playInfoList
+ */
+ public DescribeLiveStreamPlayInfoByPageResult playInfoList(List playInfoList) {
+ this.playInfoList = playInfoList;
+ return this;
+ }
+
+
+ /**
+ * add item to playInfoList
+ *
+ * @param playInfoList
+ */
+ public void addPlayInfoList(LiveStreamPlayInfo playInfoList) {
+ if (this.playInfoList == null) {
+ this.playInfoList = new ArrayList<>();
+ }
+ this.playInfoList.add(playInfoList);
+ }
+
+}
\ No newline at end of file
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageRequest.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageRequest.java
new file mode 100644
index 000000000..810ba81b2
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageRequest.java
@@ -0,0 +1,319 @@
+/*
+ * 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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.model;
+
+import com.jdcloud.sdk.annotation.Required;
+import com.jdcloud.sdk.service.JdcloudRequest;
+
+/**
+ * 查询推流码率、帧率
+ */
+public class DescribeLiveStreamPublishInfoByPageRequest extends JdcloudRequest implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 推流域名
+ * Required:true
+ */
+ @Required
+ private String domainName;
+
+ /**
+ * 应用名称
+ */
+ private String appName;
+
+ /**
+ * 流名称
+ */
+ private String streamName;
+
+ /**
+ * 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ * Required:true
+ */
+ @Required
+ private String startTime;
+
+ /**
+ * 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ */
+ private String endTime;
+
+ /**
+ * 页码,起始页码1
+
+ */
+ private Integer pageNumber;
+
+ /**
+ * 每页最大记录数,取值:[10,1000],默认:100
+
+ */
+ private Integer pageSize;
+
+
+ /**
+ * get 推流域名
+ *
+ * @return
+ */
+ public String getDomainName() {
+ return domainName;
+ }
+
+ /**
+ * set 推流域名
+ *
+ * @param domainName
+ */
+ public void setDomainName(String domainName) {
+ this.domainName = domainName;
+ }
+
+ /**
+ * get 应用名称
+ *
+ * @return
+ */
+ public String getAppName() {
+ return appName;
+ }
+
+ /**
+ * set 应用名称
+ *
+ * @param appName
+ */
+ public void setAppName(String appName) {
+ this.appName = appName;
+ }
+
+ /**
+ * get 流名称
+ *
+ * @return
+ */
+ public String getStreamName() {
+ return streamName;
+ }
+
+ /**
+ * set 流名称
+ *
+ * @param streamName
+ */
+ public void setStreamName(String streamName) {
+ this.streamName = streamName;
+ }
+
+ /**
+ * get 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ *
+ * @return
+ */
+ public String getStartTime() {
+ return startTime;
+ }
+
+ /**
+ * set 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ *
+ * @param startTime
+ */
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ }
+
+ /**
+ * get 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ *
+ * @return
+ */
+ public String getEndTime() {
+ return endTime;
+ }
+
+ /**
+ * set 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ *
+ * @param endTime
+ */
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ }
+
+ /**
+ * get 页码,起始页码1
+
+ *
+ * @return
+ */
+ public Integer getPageNumber() {
+ return pageNumber;
+ }
+
+ /**
+ * set 页码,起始页码1
+
+ *
+ * @param pageNumber
+ */
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ }
+
+ /**
+ * get 每页最大记录数,取值:[10,1000],默认:100
+
+ *
+ * @return
+ */
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * set 每页最大记录数,取值:[10,1000],默认:100
+
+ *
+ * @param pageSize
+ */
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+
+ /**
+ * set 推流域名
+ *
+ * @param domainName
+ */
+ public DescribeLiveStreamPublishInfoByPageRequest domainName(String domainName) {
+ this.domainName = domainName;
+ return this;
+ }
+
+ /**
+ * set 应用名称
+ *
+ * @param appName
+ */
+ public DescribeLiveStreamPublishInfoByPageRequest appName(String appName) {
+ this.appName = appName;
+ return this;
+ }
+
+ /**
+ * set 流名称
+ *
+ * @param streamName
+ */
+ public DescribeLiveStreamPublishInfoByPageRequest streamName(String streamName) {
+ this.streamName = streamName;
+ return this;
+ }
+
+ /**
+ * set 起始时间
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+
+ *
+ * @param startTime
+ */
+ public DescribeLiveStreamPublishInfoByPageRequest startTime(String startTime) {
+ this.startTime = startTime;
+ return this;
+ }
+
+ /**
+ * set 结束时间:
+- UTC时间
+ 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
+ 示例:2018-10-21T10:00:00Z
+- 为空,默认为当前时间
+
+ *
+ * @param endTime
+ */
+ public DescribeLiveStreamPublishInfoByPageRequest endTime(String endTime) {
+ this.endTime = endTime;
+ return this;
+ }
+
+ /**
+ * set 页码,起始页码1
+
+ *
+ * @param pageNumber
+ */
+ public DescribeLiveStreamPublishInfoByPageRequest pageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ return this;
+ }
+
+ /**
+ * set 每页最大记录数,取值:[10,1000],默认:100
+
+ *
+ * @param pageSize
+ */
+ public DescribeLiveStreamPublishInfoByPageRequest pageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+
+}
\ No newline at end of file
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageResponse.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageResponse.java
new file mode 100644
index 000000000..a7d99c669
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageResponse.java
@@ -0,0 +1,39 @@
+/*
+ * 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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.model;
+
+import com.jdcloud.sdk.service.JdcloudResponse;
+
+/**
+ * 查询推流码率、帧率
+ */
+public class DescribeLiveStreamPublishInfoByPageResponse extends JdcloudResponse implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+
+
+
+}
\ No newline at end of file
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageResult.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageResult.java
new file mode 100644
index 000000000..cb2ad4f17
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/DescribeLiveStreamPublishInfoByPageResult.java
@@ -0,0 +1,186 @@
+/*
+ * 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.
+ *
+ * Live-Video
+ * 直播管理API
+ *
+ * OpenAPI spec version: v1
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.model;
+
+import java.util.List;
+import java.util.ArrayList;
+import com.jdcloud.sdk.service.live.model.LiveStreamPublishInfo;
+import com.jdcloud.sdk.service.JdcloudResult;
+
+/**
+ * 查询推流码率、帧率
+ */
+public class DescribeLiveStreamPublishInfoByPageResult extends JdcloudResult implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 当前页码
+ */
+ private Integer pageNumber;
+
+ /**
+ * 每页数量
+ */
+ private Integer pageSize;
+
+ /**
+ * 查询总数
+ */
+ private Integer totalCount;
+
+ /**
+ * publishInfoList
+ */
+ private List publishInfoList;
+
+
+ /**
+ * get 当前页码
+ *
+ * @return
+ */
+ public Integer getPageNumber() {
+ return pageNumber;
+ }
+
+ /**
+ * set 当前页码
+ *
+ * @param pageNumber
+ */
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ }
+
+ /**
+ * get 每页数量
+ *
+ * @return
+ */
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * set 每页数量
+ *
+ * @param pageSize
+ */
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ /**
+ * get 查询总数
+ *
+ * @return
+ */
+ public Integer getTotalCount() {
+ return totalCount;
+ }
+
+ /**
+ * set 查询总数
+ *
+ * @param totalCount
+ */
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ /**
+ * get publishInfoList
+ *
+ * @return
+ */
+ public List getPublishInfoList() {
+ return publishInfoList;
+ }
+
+ /**
+ * set publishInfoList
+ *
+ * @param publishInfoList
+ */
+ public void setPublishInfoList(List publishInfoList) {
+ this.publishInfoList = publishInfoList;
+ }
+
+
+ /**
+ * set 当前页码
+ *
+ * @param pageNumber
+ */
+ public DescribeLiveStreamPublishInfoByPageResult pageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ return this;
+ }
+
+ /**
+ * set 每页数量
+ *
+ * @param pageSize
+ */
+ public DescribeLiveStreamPublishInfoByPageResult pageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * set 查询总数
+ *
+ * @param totalCount
+ */
+ public DescribeLiveStreamPublishInfoByPageResult totalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ return this;
+ }
+
+ /**
+ * set publishInfoList
+ *
+ * @param publishInfoList
+ */
+ public DescribeLiveStreamPublishInfoByPageResult publishInfoList(List publishInfoList) {
+ this.publishInfoList = publishInfoList;
+ return this;
+ }
+
+
+ /**
+ * add item to publishInfoList
+ *
+ * @param publishInfoList
+ */
+ public void addPublishInfoList(LiveStreamPublishInfo publishInfoList) {
+ if (this.publishInfoList == null) {
+ this.publishInfoList = new ArrayList<>();
+ }
+ this.publishInfoList.add(publishInfoList);
+ }
+
+}
\ No newline at end of file
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/LiveStreamPlayInfo.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/LiveStreamPlayInfo.java
new file mode 100644
index 000000000..e8a6bd288
--- /dev/null
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/LiveStreamPlayInfo.java
@@ -0,0 +1,170 @@
+/*
+ * 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.
+ *
+ *
+ *
+ *
+ *
+ * Contact:
+ *
+ * NOTE: This class is auto generated by the jdcloud code generator program.
+ */
+
+package com.jdcloud.sdk.service.live.model;
+
+
+/**
+ * liveStreamPlayInfo
+ */
+public class LiveStreamPlayInfo implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 流起始时间
+ */
+ private String startTime;
+
+ /**
+ * 应用名称
+ */
+ private String appName;
+
+ /**
+ * 流名称
+ */
+ private String streamName;
+
+ /**
+ * 观看人数
+ */
+ private Long playerCount;
+
+
+ /**
+ * get 流起始时间
+ *
+ * @return
+ */
+ public String getStartTime() {
+ return startTime;
+ }
+
+ /**
+ * set 流起始时间
+ *
+ * @param startTime
+ */
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ }
+
+ /**
+ * get 应用名称
+ *
+ * @return
+ */
+ public String getAppName() {
+ return appName;
+ }
+
+ /**
+ * set 应用名称
+ *
+ * @param appName
+ */
+ public void setAppName(String appName) {
+ this.appName = appName;
+ }
+
+ /**
+ * get 流名称
+ *
+ * @return
+ */
+ public String getStreamName() {
+ return streamName;
+ }
+
+ /**
+ * set 流名称
+ *
+ * @param streamName
+ */
+ public void setStreamName(String streamName) {
+ this.streamName = streamName;
+ }
+
+ /**
+ * get 观看人数
+ *
+ * @return
+ */
+ public Long getPlayerCount() {
+ return playerCount;
+ }
+
+ /**
+ * set 观看人数
+ *
+ * @param playerCount
+ */
+ public void setPlayerCount(Long playerCount) {
+ this.playerCount = playerCount;
+ }
+
+
+ /**
+ * set 流起始时间
+ *
+ * @param startTime
+ */
+ public LiveStreamPlayInfo startTime(String startTime) {
+ this.startTime = startTime;
+ return this;
+ }
+
+ /**
+ * set 应用名称
+ *
+ * @param appName
+ */
+ public LiveStreamPlayInfo appName(String appName) {
+ this.appName = appName;
+ return this;
+ }
+
+ /**
+ * set 流名称
+ *
+ * @param streamName
+ */
+ public LiveStreamPlayInfo streamName(String streamName) {
+ this.streamName = streamName;
+ return this;
+ }
+
+ /**
+ * set 观看人数
+ *
+ * @param playerCount
+ */
+ public LiveStreamPlayInfo playerCount(Long playerCount) {
+ this.playerCount = playerCount;
+ return this;
+ }
+
+
+}
\ No newline at end of file
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/LiveStreamPublishInfo.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/LiveStreamPublishInfo.java
index 42ff34f27..1b4a3eef9 100644
--- a/live/src/main/java/com/jdcloud/sdk/service/live/model/LiveStreamPublishInfo.java
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/LiveStreamPublishInfo.java
@@ -33,9 +33,9 @@ public class LiveStreamPublishInfo implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
- * 推流域名
+ * 流起始时间
*/
- private String publishDomain;
+ private String startTime;
/**
* 应用名称
@@ -48,38 +48,32 @@ public class LiveStreamPublishInfo implements java.io.Serializable {
private String streamName;
/**
- * 推流开始时间
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * 码率
*/
- private String publishUpTime;
+ private Double bitrate;
/**
- * 推流结束时刻
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * 帧率
*/
- private String publishDownTime;
+ private Double framerate;
/**
- * get 推流域名
+ * get 流起始时间
*
* @return
*/
- public String getPublishDomain() {
- return publishDomain;
+ public String getStartTime() {
+ return startTime;
}
/**
- * set 推流域名
+ * set 流起始时间
*
- * @param publishDomain
+ * @param startTime
*/
- public void setPublishDomain(String publishDomain) {
- this.publishDomain = publishDomain;
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
}
/**
@@ -119,61 +113,49 @@ public void setStreamName(String streamName) {
}
/**
- * get 推流开始时间
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * get 码率
*
* @return
*/
- public String getPublishUpTime() {
- return publishUpTime;
+ public Double getBitrate() {
+ return bitrate;
}
/**
- * set 推流开始时间
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * set 码率
*
- * @param publishUpTime
+ * @param bitrate
*/
- public void setPublishUpTime(String publishUpTime) {
- this.publishUpTime = publishUpTime;
+ public void setBitrate(Double bitrate) {
+ this.bitrate = bitrate;
}
/**
- * get 推流结束时刻
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * get 帧率
*
* @return
*/
- public String getPublishDownTime() {
- return publishDownTime;
+ public Double getFramerate() {
+ return framerate;
}
/**
- * set 推流结束时刻
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * set 帧率
*
- * @param publishDownTime
+ * @param framerate
*/
- public void setPublishDownTime(String publishDownTime) {
- this.publishDownTime = publishDownTime;
+ public void setFramerate(Double framerate) {
+ this.framerate = framerate;
}
/**
- * set 推流域名
+ * set 流起始时间
*
- * @param publishDomain
+ * @param startTime
*/
- public LiveStreamPublishInfo publishDomain(String publishDomain) {
- this.publishDomain = publishDomain;
+ public LiveStreamPublishInfo startTime(String startTime) {
+ this.startTime = startTime;
return this;
}
@@ -198,28 +180,22 @@ public LiveStreamPublishInfo streamName(String streamName) {
}
/**
- * set 推流开始时间
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * set 码率
*
- * @param publishUpTime
+ * @param bitrate
*/
- public LiveStreamPublishInfo publishUpTime(String publishUpTime) {
- this.publishUpTime = publishUpTime;
+ public LiveStreamPublishInfo bitrate(Double bitrate) {
+ this.bitrate = bitrate;
return this;
}
/**
- * set 推流结束时刻
-- UTC时间
- 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
-
+ * set 帧率
*
- * @param publishDownTime
+ * @param framerate
*/
- public LiveStreamPublishInfo publishDownTime(String publishDownTime) {
- this.publishDownTime = publishDownTime;
+ public LiveStreamPublishInfo framerate(Double framerate) {
+ this.framerate = framerate;
return this;
}
diff --git a/live/src/main/java/com/jdcloud/sdk/service/live/model/RankingUrlResultRankData.java b/live/src/main/java/com/jdcloud/sdk/service/live/model/RankingUrlResultRankData.java
index 7125b702b..0373aac04 100644
--- a/live/src/main/java/com/jdcloud/sdk/service/live/model/RankingUrlResultRankData.java
+++ b/live/src/main/java/com/jdcloud/sdk/service/live/model/RankingUrlResultRankData.java
@@ -52,6 +52,7 @@ public class RankingUrlResultRankData implements java.io.Serializable {
/**
* 流量,单位:Byte
+
*/
private Long flow;
@@ -118,6 +119,7 @@ public void setPv(Long pv) {
/**
* get 流量,单位:Byte
+
*
* @return
*/
@@ -127,6 +129,7 @@ public Long getFlow() {
/**
* set 流量,单位:Byte
+
*
* @param flow
*/
@@ -170,6 +173,7 @@ public RankingUrlResultRankData pv(Long pv) {
/**
* set 流量,单位:Byte
+
*
* @param flow
*/