in python/alibabacloud_tea_openapi/utils_models/_params.py [0:0]
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.action is not None:
result['action'] = self.action
if self.version is not None:
result['version'] = self.version
if self.protocol is not None:
result['protocol'] = self.protocol
if self.pathname is not None:
result['pathname'] = self.pathname
if self.method is not None:
result['method'] = self.method
if self.auth_type is not None:
result['authType'] = self.auth_type
if self.body_type is not None:
result['bodyType'] = self.body_type
if self.req_body_type is not None:
result['reqBodyType'] = self.req_body_type
if self.style is not None:
result['style'] = self.style
return result