iclientpy.rest.api.onlinemapsservice 源代码

from typing import List
from ..decorator import get, post, put, delete
from iclientpy.rest.api.model import GetMapsResult, PostMapsItem, MethodResult, ViewerMap, MapShareSetting, \
    OnlineMapShareSetting


[文档]class OnlineMapsService:
[文档] @get('/maps', queryKWs=['userNames', 'tags', 'suggest', 'sourceTypes', 'keywords', 'epsgCode', 'orderBy', 'currentPage', 'pageSize', 'dirIds', 'isNotInDir', 'updateStart', 'updateEnd', 'visitStart', 'visitEnd', 'filterFields', 'checkStatus', 'createStart', 'createEnd']) def get_maps(self, userNames: List[str], tags: List[str], suggest: bool, sourceTypes: List[str], keywords: List[str], epsgCode: int, orderBy: List[str], currentPage: int, pageSize: int, dirIds: List[int], isNotInDir: bool, updateStart: int, updateEnd: int, visitStart: int, visitEnd: int, filterFields: List[str], checkStatus: str, createStart: int, createEnd: int) -> GetMapsResult: pass
[文档] @post('/maps', entityKW='entity') def post_maps(self, entity: PostMapsItem) -> MethodResult: pass
[文档] @delete('/maps', queryKWs=['ids']) def delete_maps(self, ids: List[str]) -> MethodResult: pass
[文档] @get('/maps/{map_id}') def get_map(self, map_id: str) -> ViewerMap: pass
[文档] @put('/maps/sharesetting', entityKW='entity') def put_map_sharesetting(self, entity: OnlineMapShareSetting) -> MethodResult: pass