Source code for aliyun.log.logrequest
#!/usr/bin/env python
#encoding: utf-8
# Copyright (C) Alibaba Cloud Computing
# All rights reserved.
[docs]class LogRequest:
""" The base request of all log request.
:type project: string
:param project: project name
"""
def __init__(self, project):
self.project = project
[docs] def get_project(self):
""" Get project name
:return: string, project name.
"""
return self.project if self.project else ''
[docs] def set_project(self, project):
""" Set project name
:type project: string
:param project: project name
"""
self.project = project