예제 #1
0
    def __init__(self, attrs={}):
        RangerBaseModelObject.__init__(self, attrs)

        self.name = attrs.get('name')
        self.services = attrs.get('services')
        self.tagServices = attrs.get('tagServices')
        self.adminUsers = attrs.get('adminUsers')
        self.adminUserGroups = attrs.get('adminUserGroups')
        self.auditUsers = attrs.get('auditUsers')
        self.auditUserGroups = attrs.get('auditUserGroups')
        self.description = attrs.get('description')
예제 #2
0
    def __init__(self, attrs=None):
        if attrs is None:
            attrs = {}

        RangerBaseModelObject.__init__(self, attrs)

        self.name = attrs.get('name')
        self.description = attrs.get('description')
        self.options = attrs.get('options')
        self.users = attrs.get('users')
        self.groups = attrs.get('groups')
        self.roles = attrs.get('roles')
        self.createdByUser = attrs.get('createdByUser')
예제 #3
0
    def __init__(self, attrs={}):
        RangerBaseModelObject.__init__(self, attrs)

        self.type = attrs.get('type')
        self.name = attrs.get('name')
        self.displayName = attrs.get('displayName')
        self.description = attrs.get('description')
        self.tagService = attrs.get('tagService')
        self.configs = attrs.get('configs')
        self.policyVersion = attrs.get('policyVersion')
        self.policyUpdateTime = attrs.get('policyUpdateTime')
        self.tagVersion = attrs.get('tagVersion')
        self.tagUpdateTime = attrs.get('tagUpdateTime')
예제 #4
0
    def __init__(self, attrs={}):
        RangerBaseModelObject.__init__(self, attrs)

        self.name             = attrs.get('name')
        self.displayName      = attrs.get('displayName')
        self.implClass        = attrs.get('implClass')
        self.label            = attrs.get('label')
        self.description      = attrs.get('description')
        self.rbKeyLabel       = attrs.get('rbKeyLabel')
        self.rbKeyDescription = attrs.get('rbKeyDescription')
        self.options          = attrs.get('options')
        self.configs          = attrs.get('configs')
        self.resources        = attrs.get('resources')
        self.accessTypes      = attrs.get('accessTypes')
        self.policyConditions = attrs.get('policyConditions')
        self.contextEnrichers = attrs.get('contextEnrichers')
        self.enums            = attrs.get('enums')
        self.dataMaskDef      = attrs.get('dataMaskDef')
        self.rowFilterDef     = attrs.get('rowFilterDef')