Skip to content

Commit 9292433

Browse files
author
fengyikai
committed
日志服务(klog):解决GetLogs字段名称冲突的问题、完善ListProjests参数
1 parent db76cbf commit 9292433

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

ksyun/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515

1616

17-
__version__ = '1.5.8.22'
17+
__version__ = '1.5.8.23'

ksyun/client/klog/v20200731/models.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,25 @@ class ListProjectsRequest(AbstractModel):
9090

9191
def __init__(self):
9292
r"""查看工程列表
93+
:param ProjectName: 工程名称
94+
:type PathPrefix: String
95+
:param Description: 工程描述
96+
:type PathPrefix: String
9397
:param Page: 返回记录的页码,从0开始
9498
:type PathPrefix: Int
9599
:param Size: 每页返回最大条目,最大值500
96100
:type PathPrefix: Int
97101
"""
102+
self.ProjectName = None
103+
self.Description = None
98104
self.Page = None
99105
self.Size = None
100106

101107
def _deserialize(self, params):
108+
if params.get("ProjectName"):
109+
self.ProjectName = params.get("ProjectName")
110+
if params.get("Description"):
111+
self.Description = params.get("Description")
102112
if params.get("Page"):
103113
self.Page = params.get("Page")
104114
if params.get("Size"):

0 commit comments

Comments
 (0)