Source code for jdcloud_sdk.services.iam.models.Permission

# coding=utf8

# 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.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


[docs]class Permission(object): def __init__(self, id=None, account=None, name=None, description=None, permissionType=None, version=None, content=None, permissionDetailList=None): """ :param id: (Optional) 权限id :param account: (Optional) 主账号pin :param name: (Optional) 权限名称 :param description: (Optional) 描述 :param permissionType: (Optional) 权限类型 :param version: (Optional) 权限版本号 :param content: (Optional) 权限内容 :param permissionDetailList: (Optional) 权限详细信息 """ self.id = id self.account = account self.name = name self.description = description self.permissionType = permissionType self.version = version self.content = content self.permissionDetailList = permissionDetailList